I get the run command to come up when I select the shell script
getLocalIP and can run it. If I redirect the output to qs as in:
ipconfig getifaddr en1 | qs

It will come up fine in qs. But if I use the pbcopy the clipboard
doesn't have it. Also if I activate the script and use Run In Terminal
it will work fine too so I am guessing it has to do with an actual
shell being active. I think you can use an amersand when you call a
script to have it execute in the background but I wouldn't know how to
get that to work from quicksilver

I am sure Get IP will work but I have some ideas for other shell
scripts I would like to have triggered by qs that will use pasteboard
stuff so I kinda want to figure out what is going on.

On May 7, 10:07 am, Howard Melman <[EMAIL PROTECTED]> wrote:
> I tried this an it seemed to work (though I don't have growlnotify).
> I did chmod +x and had to name the script with a .sh extension for the  
> Run action to be available.
> FYI, the Run action had a terminal icon.
> Since I don't have growlnotify I didn't see the notification but I did  
> check that the clipboard history was modified correctly.
>
> FYI, the Extra Scripts plugin has two related scripts, Get IP and Get  
> External IP. Both are apple scripts and display the ip using Large Type.
>
> Howard
>
> On May 7, 2008, at 9:46 AM, Ryan S wrote:
>
>
>
> > I just want to execute this simple script from qs: (copies current
> > local IP to clipboard)
>
> > #!/usr/bin/env bash
>
> > ipconfig getifaddr en1 | pbcopy
> > growlnotify -m "Local IP copied to clipboard"
>
> > While it will work fine if I just double click on it to run when it is
> > executed from quicksilver it doesn't work. If I pipe the ip to the qs
> > command however it will bring the local ip into quicksilver. Also if I
> > choose Run In Terminal from qs rather than just Run than it works as
> > well.
>
> > Any thoughts?

Reply via email to