This posting is older than 6 months and can contain outdated information.
I'd like to add a command onto my remote buddy menu called something like
"Wake media server"
which essentially will use this perl script
http://gsd.di.uminho.pt/jpo/software/wakeonlan/
with my media server's MAC address as parameter to send the magic packet that will wake the server. A command of the form like this
wakeonlan 03:5e:df:5c:34:29
I've never added a behaviour before but the more i read into it the more i don't actually think this is what i want to do. Isn't a behaviour typically mapped to a long running program like say quicktime, and then it has extra actions possible whilst its running. I only want to call a script in a one off fashion.
If anyone could point out what it actually is that i'm trying to do if its not a behaviour and perhaps have some tips on how to do it. Is it an action perhaps? I can't see a way to execute a script or program that's not an apple script.
Cheers
Jim