AnsweredAssumed Answered

Calculated Applescript error

Question asked by jess_ob on Jun 5, 2018
Latest reply on Jun 14, 2018 by jess_ob

Hello,

 

I recently started using Filemaker and AppleScripts (sorry if this a dummy question!) and have come across an issue in creating a CalculatedScript. The script works fine as a Native AppleScript but I get the error message “The specified table cannot be found” when I make it a CalculatedScript. I get this error message whatever CalculatedScript I try so it may be that I have misunderstood something basic about CalculatedScripts.

 

I added the following script into the CalculatedScripts window:


Perform AppleScript ["

 

tell application "Mail"
    set newMessage to make new outgoing message with properties {subject:"Field Link 1", content:"" & return & return}
    tell newMessage
        set visible to true
        make new to recipient at end of to recipients with properties {name:"Field Link 2", address:"Field Link 3"}
    end tell
    activate
end tell
“]

 

Would be really helpful to get your guidance around this. Thanks so much!

Outcomes