Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bigandy

macrumors G3
Original poster
Apr 30, 2004
8,852
7
Murka
So I'm wanting to write an AppleScript - however, I'm thinking of an AppleScript with a difference.

I have some users who need to connect to a server via VPN, and they're all about as technically minded as roadkill. So my idea was to create a PHP script that asks for their username and password, and then automatically generates the AppleScript.

I've no issue with creating the PHP, but I've got a question regarding the AppleScript - is there any way, at all, to create a script and have it run on double click without compiling it?

Methinks that's where the whole idea falls down.... Unless anyone has any ideas :eek:
 
You can run AppleScripts directly on the command line with osascript. See "man osascript"
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.