Worth noting that, for a _trigger,_ you don't need to dip into AppleScript if all you want to do is run a shell script. You can just type `open -g /Applications/Safari.app/ /Applications/Mail.app/ /Applications/iTunes.app/` in pane 1 and use the "Run Command in Shell" action. This ought to be a lot faster.
Also, if you want to open an application by name only, like you can in AppleScript, `open` can do that too: `open -a "Name-of-App"`, i.e. `open -a "Safari"`. On Wednesday, July 4, 2012 6:31:24 PM UTC-4, su wrote: > > On Wednesday, July 4, 2012 7:51:15 PM UTC+2, Dave wrote: >> >> I'm trying to create a trigger to launch several apps with just one hot >> key: Sublime Text, Firefox, Terminal... >> I create the trigger typing name of one app then comma, name of app... >> and save. >> It's work fine, until I restart Quicksilver, why? >> > > As pointed by Patrick, this is a known issue. > Try the following > > *do shell script* "open -g /Applications/Safari.app/ > /Applications/Mail.app/ /Applications/iTunes.app/" > > -g doesn't bring the application to the foreground > > or, if you need a combination of launch/delay and want to end up with an > app as the frontmost > > *tell* *application* "Safari" *to* *launch* > > *delay* 1 --in seconds > > *activate* *application* "Mail" --bring app to front > > You can copy the lines directly in the first pane or write the script and > recall it there. > > hth > -- You received this message because you are subscribed to the Google Groups Quicksilver group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at https://groups.google.com/d/forum/blacktree-quicksilver?hl=en
