Other Scripting Languages?
Posted: Wed Jul 27, 2005 10:16 am
Will Adium support other scripting languages on the Mac platform, such as Perl, Python or Ruby? Just wondering.
Yup. That should work. If you have a .py, you can always donoleli 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.)
Code: Select all
do shell script "./foo.py foo bar arg bla"Well then, it might be fun to make a plugin for other scripting languages, eh?Reikon wrote:True, but I've had iffy results doing this. Sometimes it doesn't return anything, etc.