"Press Run to run this script..." confirmation started appearing...why?

I've got a set of AppleScripts I run from Spotlight, and all of a sudden they run with a confirmation alert that I've never seen before. Upon launch, each of these scripts puts up an alert that says "Press Run to run this script, or Quit to quit." So I gotta hit a button before the script will continue running.

I did a web search on it, and they all said the same thing: You saved your script with the Startup Screen option on. But I didn't! They've been running headless for months, some for years, and none of them started displaying the confirm dialog until now. I even opened and resaved them with the Startup Screen option off (it wasn't even checked when I went to resave them) and they still do this.

I guess I'll try fixing permissions unless somebody has a better idea. As far as I can tell, I've done everything right.

Mac Pro, MacBook Pro, iPhone 3GS, Mac OS X (10.6.5), PowerBook G4 15" Al, PowerBook G3 FireWire, PowerCenter Pro, PowerBook 160

Posted on Nov 26, 2010 11:23 PM

Reply
Question marked as Top-ranking reply

Posted on Jul 30, 2013 5:37 AM

I had this problem today with a script which had previously "just worked." Strangely, if AppleScript Editor were open, it worked fine. Close ASE, it doesn't.


I looked at the permissions on the applet.rsrc file and noticed that it wasn't marked as executable, so I added the "x" permission to it for everybody, and that solved the problem.


In terminal, change directories to the applet's Resources folder and then do:


chmod +x applet.rsrc


Hope this fixes the problem for somebody else, too.

23 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

"Press Run to run this script..." confirmation started appearing...why?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.