Trigger with 3rd pane become empty after QS restart

12 views
Skip to first unread message

Beery Holstein

unread,
May 25, 2013, 4:11:26 AM5/25/13
to blacktree-...@googlegroups.com
Some of my triggers become empty when I restart QS - no object, no action, no 3rd pane
The common thing to all of them is usage of an action that requires 3rd pane e.g. Finder -> Menu Bar Items ....
In all cases I do not leave 3rd pane empty but rather choose something explicit.
Btw, it happens not only during restarts, but at some point they disappear. But QS restart is consistent.
Thanks ....

Rob McBroom

unread,
May 28, 2013, 9:45:45 AM5/28/13
to blacktree-...@googlegroups.com
On May 25, 2013, at 4:11 AM, Beery Holstein <beeryh...@gmail.com> wrote:

Some of my triggers become empty when I restart QS - no object, no action, no 3rd pane
The common thing to all of them is usage of an action that requires 3rd pane e.g. Finder -> Menu Bar Items ....
In all cases I do not leave 3rd pane empty but rather choose something explicit.

As a general rule, triggers involving things that aren’t in the catalog won’t be initialized correctly when Quicksilver launches.

The exceptions to this are things that can be figured out from a string (like URLs and filesystem paths), and things that literally are strings.

-- 
Rob McBroom
<http://www.skurfer.com/>

Jon Stovell

unread,
May 30, 2013, 5:07:50 PM5/30/13
to blacktree-...@googlegroups.com, mailin...@skurfer.com
Just to clarify, the list of items in the third pane when using the Menu Bar Items... action is not stored in the catalogue. It is generated on the fly when the action is used. So that's why Rob pointed this out to you, Berry.

If you want to make a permanent trigger for a menu bar item, paste the following line of text (with the necessary changes so that it refers to the menu item you want) into the first pane of your trigger, and then select the Run as AppleScript action in the second pane.

tell application "System Events" to tell application process "Finder" to click menu item "New Finder Window" of menu 1 of menu bar item "File" of menu bar 1

The above will get you to the menu items in the first level of the menu. If you want to click a nested menu item (e.g. View > Sort By > Snap to Grid), use this form:

tell application "System Events" to tell application process "Finder" to click menu item "Snap to Grid" of menu 1 of menu item "Sort By" of menu 1 of menu bar item "View" of menu bar 1

Jon Stovell

unread,
May 30, 2013, 5:19:11 PM5/30/13
to blacktree-...@googlegroups.com, mailin...@skurfer.com
Alternatively, you could also use OS X's built in method for assigning keyboard shortcuts to menu items. See http://support.apple.com/kb/ph3957.
Reply all
Reply to author
Forward
0 new messages