Thanks for your help. Unfortunately though, the issue persists.
- I moved growlnotify to /usr/local/bin as you suggested (though I'm
unclear on exactly why this would be the problem?)
- There was no space between "/usr/bin/" and "growlnotify".
- I've replaced that pipe with a semicolon.
Also, weirdly enough, I've noticed that whereas using the trigger
successfully executes the command but fails to call up a notification,
I get the opposite result if I manually enter the text into the first
pane and then perform the "Run command in shell" action-- the growl
notification comes up fine, but nothing else actually happens in terms
of changing audio output.

On Jan 29, 1:00 pm, Jon Stovell <[email protected]> wrote:
> First, normally growlnotify is installed in /usr/local/bin, not /usr/
> bin, so you might want to verify that or fix it if necessary
>
> Second, do you have a space between "/usr/bin/" and "growlnotify"? If
> so, the command might still execute in Terminal but throw you an error
> along the way, but not work in Quicksilver.
>
> Third, you do not actualy want to pipe the result of the previous
> command into growlnotify, so replace the | character before /usr/bin/
> growlnotify with a ; character.
>
> On Jan 29, 12:39 pm, Sarah <[email protected]> wrote:
>
>
>
>
>
>
>
> > I've been trying to use a QS trigger to launch the following shell
> > script. When run directly from the terminal everything works as
> > intended, but for some reason under QS it fails to call up a growl
> > notification. The trigger does activate the script's main task (which
> > is to toggle the active audio output device), however. Here's the
> > script, which I've paired with the "run command in shell" action:
> > audio=$HOME/bin/SwitchAudioSource; $audio -s "$(basename "$($audio -a -
> > t output | egrep -v "$($audio -c)")" " (output)")" | /usr/bin/
> > growlnotify -a "System Preferences" -m "Output device has been
> > switched." -t "Audio"
>
> > I'm not that great at the command line, so I'm probably missing
> > something obvious. Any ideas?

Reply via email to