The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   Add quick entry task with project using AppleScript (http://forums.omnigroup.com/showthread.php?t=22029)

iNik 2011-08-30 11:32 AM

Add quick entry task with project using AppleScript
 
Is it possible to create an inbox task in the Quick Entry window but have a project assigned to it?

I use the clipping service a lot to create new tasks, and typically assign a project and context to it. But I'm currently making a LOT of tasks with the same project (and often same context) for something I'm working on. But I like the quick-entry panel's ability to easily edit stuff before committing it to OF.

I think I'm getting stuck because an "inbox task" is, by definition, attached to the "inbox" project. But is there some way around this?

Thanks,
Nik

RobTrew 2011-08-30 12:36 PM

[QUOTE=iNik;101199]Is it possible to create an inbox task in the Quick Entry window but have a project assigned to it?[/QUOTE]

It looks to me as if one might have to start with something like:

[CODE]tell application id "OFOC"
activate
tell quick entry
open
set oTask to make new inbox task with properties {name:"experiment"}
end tell
end tell

tell application id "sevs"
keystroke tab
keystroke tab
-- etc ...
end tell[/CODE]

iNik 2011-08-30 12:40 PM

Yes, that's as far as I got. I'm currently using Keyboard Maestro to handle this in roughly the same way you're suggesting. But AppleScript would be so much more elegant!


All times are GMT -8. The time now is 02:05 AM.

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