Other Scripting Languages?
-
Reikon
Other Scripting Languages?
Will Adium support other scripting languages on the Mac platform, such as Perl, Python or Ruby? Just wondering.
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.)
(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.)
- zaudragon
- Growl Team
- Posts: 1852
- Joined: Sat Dec 04, 2004 5:05 am
- Location: Kensington, CA, USA
- Contact:
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"