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 Extras
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Trouble with scripts that require selected trees of content Thread Tools Search this Thread Display Modes
This cropped up a few revs back. I'm trying to run some of the popular scripts from Curt, etc. which require that the user select a task (e.g., open linked item). Even though a project or task is selected, OmniFocus reports an error: "You must first select a project or action"

Thanks for your help in solving this one.

-Alex
 
Can you name a specific script? I haven't had any trouble recently, but I don't use all of my scripts on a daily basis.
__________________
Cheers,

Curt
 
Thanks for responding Curt. Any script that requires the user to select a project or action before executing the script. Best example is "Open Linked Item"

Thanks again,
Alex
 
Hmm, it works fine for me. (OS X 10.4.11, OF rev 95760) Note that you have to select the item in the main content pane, not in the sidebar.

Also, make sure you have the most recent versions of the scripts. A couple weeks back I had to rev. almost all of the scripts in response to an OF change.
__________________
Cheers,

Curt
 
Thanks Curt. I solved it by closing multiple OmniFocus windows and keeping just one window open at a time. I haven't looked into the problem/symptoms any further.

-Alex
 
Ah. There's a known bug with the OF applescript dictionary for selecting between open windows. There used to be a work-around, but it is also broken now.
__________________
Cheers,

Curt
 
Is this the problem where 'document window 1' returns the first created window instead of the front one?

I've fixed that just now in 95985 (most of the work was done earlier to make the page setup sheet come up on the front window instead of some random window).
__________________
CTO, The Omni Group
 
Yep. That's the one. Thanks, Tim!
__________________
Cheers,

Curt
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble installing scripts mwarner OmniFocus 1 for Mac 1 2013-02-27 07:12 AM
Values of 'item' nodes in sidebar/content trees have no properties RobTrew OmniFocus Extras 1 2011-06-27 02:39 AM
Sync Server doesn't require password? gyuen OmniFocus Syncing 5 2010-11-29 12:28 AM
New Script - Selected Entourage EMail to Selected OF Task davidsomeone OmniFocus Extras 1 2009-03-06 12:22 PM
Sidebar or content selected? Bug in Applescript support? davidamis OmniFocus Extras 0 2008-05-29 09:29 AM


All times are GMT -8. The time now is 09:17 AM.


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