I had some problems with the AudioHijack plugins that start AH and cause external apps like iTunes to quit. I worked around my problems by using crontab, the open command and a shell script so that I could time-shift a radio news program from an MP3 stream.
Here are my crontab entries that quit out of iTunes (necessary for AH to hijack it), and start AH:
cron runs these commands every weekday at 4:57 PM and 4:58 PM, respectively. I put these entries into a file called .crontab in my home directory, and ran:
crontab .crontab
to install them.
appquit is a little shell/Applescript:
#!/bin/csh -f
foreach i ($argv)
osascript <
tell application "$i"
activate
quit
end tell
SCHLUSS
end
(SCHLUSS means "end" in German :-)). The only failure points with this setup have been if iTunes cannot play the stream I am hijacking, or if I have set iTunes to stream to an Airtunes speaker that does not exist on the network (I am running this from my Powerbook).
I hope this is helpful--Audio Hijack really is a great program.
tell application "$i"
activate
quit
end tell
enclosed in a shell here document. The double angle brackets in the here document are being eaten by this messager.