AnsweredAssumed Answered

Calculated Applescript

Question asked by deathrobot on Oct 6, 2013
Latest reply on Oct 6, 2013 by deathrobot


Calculated Applescript


     Hi. I need to copy a variable to the clipboard and have turned to Applescript. This script works fine from within the Applescript Editor:

tellapplication "Finder"
     set the clipboard to "test" as string
end tell

     However, the same script from within Filemaker gives me "unexpected end of line" errors. I am trying to use a calculated applescript:

     "tell application \"Finder\"
     set the clipboard to \"" & $emailAddress & "\" as string
     end tell"
     I've tried EVERY tweak I can think of. Anything I'm obviously doing wrong?