This app. is a lot of work.....not for the faint-hearted!;)
Would like to use it but encounter difficulty after difficulty - am
using the newest version and Snow Leopard if that gives you any
clues.....
A thought just occurred for a possible work around, you can check
~/Library/Application Support/Quicksilver/Triggers.plist
it is in an XML format so open it with a good editor. Find the <dict>
entry for your trigger, and make sure the enabled key is set to true -
here's an example of the Get IP script done as a ctrl A trigger from
that file. See the <key>enabled</key><true/> section? Make sure yours
has that set. Let us know if that helps.
Thanks,
Paul
<dict>
<key>ID</key>
<string>ED929E0B-8941-4EB6-8F08-68720B818102</string>
<key>command</key>
<dict>
<key>actionID</key>
<string>AppleScriptRunAction</string>
<key>directID</key>
<string>~/Library/Application Support/Quicksilver/PlugIns/Extra
Scripts.qsplugin/Contents/Resources/ExtraScripts/Networking/Get
IP.scpt</string>
</dict>
<key>enabled</key>
<true/>
<key>keyCode</key>
<integer>0</integer>
<key>modifiers</key>
<integer>262401</integer>
<key>onPress</key>
<true/>
<key>type</key>
<string>QSHotKeyTrigger</string>
</dict>
This is the trigger I'm using, but the "Get IP" trigger you posted has
the same issue (if I paste that XML into my Triggers.plist, it shows
up enabled but with "Run Script: (null)" and nonfunctional.
<dict>
<key>ID</key>
<string>A4885393-359A-49C3-8A43-F82A3646AEF2</string>
<key>command</key>
<dict>
<key>actionID</key>
<string>QSShellScriptRunAction</string>
<key>directID</key>
<string>/Users/aw/Projects/rectalogic/window-manager/
window_manager.rb</string>
<key>indirectID</key>
<string>/Users/aw/Projects/rectalogic/window-manager/layout.yaml</
string>
</dict>
<key>enabled</key>
<true/>
<key>keyCode</key>
<integer>83</integer>
<key>modifiers</key>
<integer>2490627</integer>
<key>onPress</key>
<true/>
<key>type</key>
<string>QSHotKeyTrigger</string>
</dict>
If I set a breakpoint in QSCommand-dObject and bring up the Triggers
preferences, when my custom trigger hits the breakpoint both QSObject-
objectWithIdentifier: and QSAction-actionWithIdentifier: return nil
because the identifier being used is the "directID" in the commandDict
and that's the path to my script. So dObject (and also iObject) never
get set. It's using the pathnames as identifiers and trying to look
them up in the objectDictionary or actionIdentifiers.
(gdb) po [self commandDict]
{
actionID = QSShellScriptRunAction;
directID = "/Users/aw/Projects/rectalogic/window-manager/
window_manager.rb";
indirectID = "/Users/aw/Projects/rectalogic/window-manager/
layout.yaml";
}
When I manually reset the trigger in preferences, it is calling
QSCommand-initWithDirectObject:actionObject:indirectObject: and
QSCommand-setIndirectObject: etc. which is why it works then.
So maybe QSCommand-dObject etc. need to handle the case where
"directID" exists in the commandDict, but is not a valid QSObject or
QSAction identifier, and in that case do
[self setDirectObject:[QSObject objectWithName:[[self commandDict]
objectForKey:@"directID"]]]
Andrew
Or have any of you established triggers (with staying power <LOL>) for
a web site discussion group or forum? specifically I've tried to add
a trigger for my blackberry from "crackberry" using the link shown at
that site and one also for my favorite discussion boards on The Motley
Fool.
wondering - thanks for any input.
tuni
Maybe its related to the websearch plugin?
Paul said there have been some fixes since this year.
I have vers. 104 (09/02/06)
> --
> To unsubscribe, reply using "remove me" as the subject.
BTW, Does the qss- web searches work as expected when not used as
triggers?
Marcel, the web search fixes mentioned were related to the displayed
icons
http://github.com/pkohut/blacktree-alchemy/commit/8112c8d9ff625688c3071e84ee188f16be242e85
and here some more info you might find useful
http://github.com/tiennou/blacktree-elements/commit/9b2955f1f292c550e56d8275dfc54a9769cfe282
Yes.
> Marcel, the web search fixes mentioned were related to the displayed
> icons
> http://github.com/pkohut/blacktree-alchemy/commit/8112c8d9ff625688c3071e84ee188f16be242e85
Yes, thought so, but it seemed the version number of the web search module was bumped (mine was 104 and now I have 128) so I thought I give it a try.
I'll see if my websearch triggers still disappear from time to time.
> and here some more info you might find useful
> http://github.com/tiennou/blacktree-elements/commit/9b2955f1f292c550e56d8275dfc54a9769cfe282
Good to know ;)
<dict>
<key>ID</key>
<string>A4885393-359A-49C3-8A43-F82A3646AEF2</string>
<key>command</key>
<dict>
<key>actionID</key>
<string>QSShellScriptRunAction</string>
<key>directArchive</key>
<dict>
<key>class</key>
<string>QSObject</string>
<key>data</key>
<dict>
<key>NSFilenamesPboardType</key>
<array>
<string>/Users/aw/Projects/rectalogic/window-manager/
window_manager.rb</string>
</array>
<key>NSStringPboardType</key>
<string>/Users/aw/Projects/rectalogic/window-manager/
window_manager.rb</string>
</dict>
<key>properties</key>
<dict>
<key>QSObjectName</key>
<string>/Users/aw/Projects/rectalogic/window-manager/
window_manager.rb</string>
<key>QSObjectType</key>
<string>NSFilenamesPboardType</string>
</dict>
</dict>
<key>directID</key>
<string>/Users/aw/Projects/rectalogic/window-manager/
window_manager.rb</string>
<key>indirectArchive</key>
<dict>
<key>class</key>
<string>QSObject</string>
<key>data</key>
<dict>
<key>QSTextProxyType</key>
<string></string>
</dict>
<key>properties</key>
<dict>
<key>QSObjectName</key>
<string></string>
<key>QSObjectType</key>
<string>QSTextProxyType</string>
</dict>
</dict>
</dict>
<key>enabled</key>
<true/>
<key>keyCode</key>
<integer>83</integer>
<key>modifiers</key>
<integer>2490627</integer>
<key>onPress</key>
<true/>
<key>type</key>
<string>QSHotKeyTrigger</string>
</dict>