AnsweredAssumed Answered

Calculated Applescript Formula Not Working

Question asked by rwilley66 on Mar 28, 2014
Latest reply on Mar 28, 2014 by rwilley66

Title

Calculated Applescript Formula Not Working

Post

     I have the following AppleScript calculation:

     "tell application \"Reminders\" set mylist to list \"Reminders\" tell mylist make new reminder with properties {name:" & Engagement:ToDo::ToDo & "due date:(date " & Engagement:ToDo::Due Date & " " & Engagement:ToDo::Due Time & "), remind me date:(date " & Engagement:ToDo::Due Date & " " & Engagement:ToDo::Due Time & ")} end tell"

     When I run the script, I get two errors. The first says "Expected end of line but found "set"." When I click OK to that error, I then get the error "Unknown Error: -2741".

     Can anyone see what the problem is with my formula that would generate these errors? Thanks.

Outcomes