Page 1 of 1

Other Scripting Languages?

Posted: Wed Jul 27, 2005 10:16 am
by Reikon
Will Adium support other scripting languages on the Mac platform, such as Perl, Python or Ruby? Just wondering.

Posted: Wed Jul 27, 2005 12:46 pm
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.)

Posted: Wed Jul 27, 2005 3:31 pm
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"

Posted: Wed Jul 27, 2005 5:05 pm
by Reikon
True, but I've had iffy results doing this. Sometimes it doesn't return anything, etc.

Posted: Wed Jul 27, 2005 5:13 pm
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?

Posted: Wed Jul 27, 2005 5:46 pm
by The_Tick
Not unless someone codes it. Locking this because it's basically reached the limits of usefulness