Forums » General

(MacOS X) remotely controlling iTunes from Vendetta

Jul 13, 2003 Buckaroo link
Hi, I wrote a small skript (primarly based on BusMaster's skript) to remotely control iTunes - play, pause, play next, play previous.

To install ist, you should have at least some experience with the shell (Terminal.app)...

Anyway, this is my first attempt at PERL and AppleScript, feel free to change it, do whatever you like :-)

I've put in into the download section of www.neutral-territories.de

Regards,
Mark (Commander Jameson)
Jul 13, 2003 Wombatula link
I installed wget and perl but i still have no idea how to install the scripts. Is there any way you could provide some short instructions how to install and use them?
Jul 14, 2003 Wombatula link
Mabye people didn't notice it the first time, But there really needs to be a better instructions manual for mac users. I tried the script that shows the online users. One of the steps says to run the '/run_aplist' file, that won't work on a mac.
Jul 14, 2003 roguelazer link
PS: Script is spelled with a c, not a k.
Jul 14, 2003 alienb1212 link
that was intentional there lazer...:p
Jul 15, 2003 Buckaroo link
Wombatola: be my guest to improve it, add a manual, etc. :-)
Jul 15, 2003 Eldrad link
ty buckaroo, both scripts are nice. /me goes off and learns perl.
Jul 15, 2003 Buckaroo link
Eldrad: BusMaster deserves the credits - I just modified BusMaster's main skript, read a PERL manpage and used google to find out how to control iTunes using AppleScript. I myself haven't learned PERL or AppleScript, so I suck at both - I could program you something like this using bison, flex and C :-)

Anyway, anyone who likes this and improves it / redesign it/write a decent manual please contact me - I'm going to put t into the download section and of course, you'll have full credits for your work :-)

Regards,
Mark (Commander Jameson)
Jul 16, 2003 Eldrad link
I know how to control iTunes with applescript. I've got some pretty crazy scripts to play my music how I like it, and to function as an alarm clock when I'm at school... and I've been reading perl's man when I've been bored at over the past week and a half.

EDIT: Wait... can you use C to do applescritp commands, the same way you used perl? /me goes to try it.
Jul 16, 2003 Buckaroo link
Eldrad: I think it's possible to do applescript commands using C - but it's not as easy as using the shell. Well, in the worst case you can use fork() and exec() to execute osascript.

Regards,
Mark (Commander Jameson)