I am trying to make a custom trigger for my shell/apple script file to run so I can just launch my dev environment at the push of a button. So basically:
I have a shell script(and some apple script included) in ~ named start_server.sh which does 3 things:
- start up solr server
- start up memcached
- start up script/server
I have a saved quicksilver command(.qs) that opens up start_server.sh(so start_server.sh, then the action is "Run in Terminal")
I created a custom trigger that calls this saved qs command.
I did that then tested it and it works. I then tried to double check it so I quit quicksilver and when I checked the triggers it just said: "Open (null)" as the action. I set the trigger again and when i restarted QS the same thing happened again. I don't know why but my old custom trigger to open terminal has worked since forever so why doesn't this one work?
Here's a screenie of the triggers after I restart QS: http://grab.by/4XWW
If you have any other suggestion on how to make a "push button" start for my server then please do so :) Thanks!
As an added note, I have already tried the steps on this thread but to no avail: http://groups.google.com/group/blacktree-quicksilver/browse_thread/thread/7b65ecf6625f8989
Here's a snippet of the supposed custom trigger in the Triggers.plist file:
<dict>
<key>ID</key>
<string>2903BB6B-94CB-4DE8-B00D-23973FA54F3D</string>
<key>command</key>
<dict>
<key>actionID</key>
<string>FileOpenAction</string>
<key>directID</key>
<string>/Users/eumir/Documents/QScripts/start-dx-command.qscommand</string>
</dict>
<key>enabled</key>
<true/>
<key>keyCode</key>
<integer>39</integer>
<key>modifiers</key>
<integer>1573160</integer>
<key>onPress</key>
<true/>
<key>type</key>
<string>QSHotKeyTrigger</string>
</dict>
Took out spaces in the folder and filename and it still returns null upon restarting.