Ok,

So I've got this Ruby script I wrote that puts iTunes into seek mode,
like on a car radio, it will move to the next song every 10 seconds
until you run the script again and tell it to stop.

I've tested it out from Terminal.app and it works fine there. In order
for it to not freeze Quicksilver, I enabled Extras and turned on the
run processes in background option. Now, the script functions OK when
launched from QS, but the growlnotify calls either never happen or are
not being shown for some reason. So, once again, the actual script
being launched from QS is functioning properly, and seeking through
iTunes songs 10 seconds at a time, but I'm not getting any growl
alerts.

Anyone got any tips? Or, if there's a good way to do a QS large type
action from the commandline, I'd be up for that too. Just trying to
flash the new song title/artist.

Here's the script.

http://pastie.textmate.org/private/y5puxftlexebmvpzvsk09w

It uses http://rubyosa.rubyforge.org/ so that has to be installed.
This creates a textfile in your home dir to keep track of the ruby
process that is moving forward in the playlist, so when run for a
second time, it kills that process.

Some ruby info for those unfamiliar.

 `echo blah` will execute a shell command.
$$ holds the pid of the currently running process

Any help would be much appreciated! Especially non applescript related
solutions.

Reply via email to