The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniOutliner 3 for Mac (http://forums.omnigroup.com/forumdisplay.php?f=9)
-   -   Automator script from toolbar not working (http://forums.omnigroup.com/showthread.php?t=7685)

hardcoreUFO 2008-04-02 07:23 PM

Automator script from toolbar not working
 
Its nice to have access to scripts placed in your scripts folder available as toolbar buttons. Indeed, all my OO scripts do appear in the palette of icons when I go to customise the toolbar. However, when I add a particular script to the toolbar and try to run it, nothing happens. This script functions perfectly when called from the scripts menu. Any idea what the problem may be?

RobTrew 2008-04-02 10:13 PM

[QUOTE=hardcoreUFO;35304]when I add a particular script to the toolbar and try to run it, nothing happens.[/QUOTE]

Running a script from the toolbar does impose some constraints. Static variables cease to be static, and, for those that enjoy this sort of thing, the quickest way to actually crash OO3 is to run the following one-liner from the toolbar.

[CODE]tell application "OmniOutliner Professional" to close every window[/CODE]

(I don't recommend trying this from the toolbar, incidentally. The same code works fine if run from a [URL="http://blacktree.com"]Quicksilver[/URL] trigger)

It would be interesting to know exactly what is happening in your script, but pragmatically the solution may be to assign a [URL="http://docs.blacktree.com/quicksilver/triggers"]Quicksilver keyboard trigger[/URL] to it.

hardcoreUFO 2008-04-03 07:13 PM

Thanks for the explanation. I'm more of a LaunchBar user, so perhaps I can explore a similar solution there.


All times are GMT -8. The time now is 03:12 AM.

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