The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   Scripting project, context in Quick Entry (http://forums.omnigroup.com/showthread.php?t=8250)

iNik 2008-06-20 10:14 AM

Scripting project, context in Quick Entry
 
I cannot seem to script context or project in quick entry.

I've tried a number of ways of doing it, but it appears that Quick Entry contains neither element by default, and once you assign them manually, they have different IDs than those in the parent document.

Here's an example:

[CODE]Tell application "OmniFocus" to tell default document
set aContext to context 1
tell quick entry
activate
make new inbox task with properties {name:"foo", context:aContext}
end tell
end tell[/CODE]

This doesn't work at all.

Could just be that those fields are un-scriptable in Quick Entry. But I'd think it ought to work. QE should just inherit the parent's contexts, no?


All times are GMT -8. The time now is 12:17 PM.

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