The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus 1 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Omnifocus/applescript issue when setting context Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
I'm trying to change the context of an existing task using applescript.

I've got the following code:
set context of theSelectedTask to "Phone"

I have a phone context at the root level

When I try to run through the code, I get the following error:

OmniFocus got an error: Canít make "Phone" into type context, missing value.

I've spent hours on google trying to figure it out, but all examples I find seem to be doing things the same way I am, but without the error.

I've tried changing the context and other stuff, but no luck yet.

I'm sure I'm doing something dumb, any thoughts?


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting diagram style through Applescript ? RobTrew OmniGraffle General 2 2011-03-08 05:19 AM
Context issue brihi OmniFocus 1 for Mac 11 2010-01-08 07:13 AM
OOpro setting Styles with Applescript Simon Knight OmniOutliner 3 for Mac 1 2007-11-30 12:34 AM
Applescript - Activate Issue geoffbarrall OmniFocus Extras 2 2007-11-02 11:19 AM
Setting Task Custom Data using Applescript jubo OmniPlan General 6 2007-08-22 10:05 AM

All times are GMT -8. The time now is 11:19 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2023, vBulletin Solutions, Inc.