Hi all, I have a php page that, when loaded, executes an applescript like this: PHP: exec('osascript "/bs2.scpt"'); It executes fine, but ones the script has started, and is actually running, I'm prompted for my password, just before the applescript is supposed to do a keystroke via "system events". So the first part of the applescript, which loads a web page, is not affected by this. Any ideas how I can avoid this? The webserver is on my own computer, so there's nothing fishy going on! Edit: Oh, and the password prompt details says that it's "osascript" that needs the rights to "com.apple.OpenScripting.additions.se"