I have a KM and applescript combination that creates a task in OF from email in mail.
I have the Task ID and I want to create a script to switch from mail to OF and select the task from its task id.
I can’t seem to find a way to have the specific task selected.
or use an applescript to go directly to the task from the taskID?
something along the lines of:
tell application “OmniFocus”
tell default document
set MyTask to task id “[your task id here]” – or whatever you’ve done to get MyTask
set MyTaskURL to (“omnifocus:///task/” & (id of MyTask))
tell (make new document window)
GetURL MyTaskURL
end tell
end tell
end tell