Page 1 of 1

Convert complex Applecript to PHP

Posted: Fri Feb 20, 2009 10:43 am
by handell
I have an complex applecript that I am converting to PHP.
Some of the cool features my applescript has the ability to control
applications on my computer.

Is there a way to tell php to run an applecript?

Re: Convert complex Applecript to PHP

Posted: Fri Feb 20, 2009 1:53 pm
by pickle
PHP can execute command line commands - so if you can execute an Applescript from the command line, then yes. A note though that PHP runs as the web server use (apache, www, wwwrun, etc), so you might run into a permissions problem.