Hello,
These are my first steps with scripts and I tried to change the script for Omnifocus.
I would like to pass several inputAttributes to Omnifocus. Unfortunately, there are always error messages.
How can I solve this?
I selected two Attributes.
Here is the script:
set theDate to current date
set theTask to inputAttributes
tell application "OmniFocus"
tell front document
set theContext to first flattened context where its name = "Internet Bestellungen"
set theProject to first flattened project where its name = "Erledigen"
tell theProject to make new task with properties {name:theTask, note:inputAttributes, context:theContext}
end tell
end tell
Thanks for any help!!!
Greetings
Kay