Convert complex Applecript to PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
handell
Forum Newbie
Posts: 7
Joined: Sat Feb 14, 2009 9:18 pm

Convert complex Applecript to PHP

Post 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?
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Convert complex Applecript to PHP

Post 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.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply