Other Scripting Languages?

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Locked
Reikon

Other Scripting Languages?

Post by Reikon »

Will Adium support other scripting languages on the Mac platform, such as Perl, Python or Ruby? Just wondering.
User avatar
noleli
Latté
Posts: 80
Joined: Sun Dec 19, 2004 7:14 pm
Location: UMich

Post by noleli »

I highly doubt Adium will ever support other scripting languages directly, but you could write a script in anything you want as use the AppleScript command "do shell script" to execute it.

(I have a script that is a c++ program I wrote that runs on a remote web server and dumps the results to an HTML file; I simply use a " do shell script "curl URL" " to get it back into Adium.)
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

noleli wrote:I highly doubt Adium will ever support other scripting languages directly, but you could write a script in anything you want as use the AppleScript command "do shell script" to execute it.

(I have a script that is a c++ program I wrote that runs on a remote web server and dumps the results to an HTML file; I simply use a " do shell script "curl URL" " to get it back into Adium.)
Yup. That should work. If you have a .py, you can always do

Code: Select all

do shell script "./foo.py foo bar arg bla"
Blog | X(tras)
Communists code without classes.
Reikon

Post by Reikon »

True, but I've had iffy results doing this. Sometimes it doesn't return anything, etc.
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

Reikon wrote:True, but I've had iffy results doing this. Sometimes it doesn't return anything, etc.
Well then, it might be fun to make a plugin for other scripting languages, eh?
Blog | X(tras)
Communists code without classes.
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

Not unless someone codes it. Locking this because it's basically reached the limits of usefulness
Locked