Currently Being ModeratedJul 26, 2012 3:26 PM (in response to smkd)
I ran into the same problem with an AppleScript I set up for use as an alarm clock. The script editor opens, and the script never executes. I ran a Google search, and it seems that a lot of other people are reporting the same issue....but nobody has posted a solution yet (at least I haven't found any solutions posted). I hope the folks in Cupertino are looking into this, but I don't expect it to be high on their priority list. It appears that some folks are having even worse issues with the upgrade to ML.
Currently Being ModeratedJul 26, 2012 4:21 PM (in response to smkd)
Apple's only explanation during beta testing was that it had to do with security and the "sandboxing" of applications (to prevent malware, etc).
Feel free to post objections here: http://www.apple.com/feedback/macosx.html
Currently Being ModeratedJul 26, 2012 5:11 PM (in response to Pondini)
I'll never understand how it become possible to plan to remove a feature...
We should be able to bypass this security measure if we want. For more security, they could just let us add "exception rule" to our beloved script.
Currently Being ModeratedJul 26, 2012 5:22 PM (in response to smkd)
Yeah, I agree. I haven't gotten around to finding an alternative yet, just set up a message reminding me to run it manually.
And, it's always possible they'll put it back if they can figure out how to make it reasonably secure.
Currently Being ModeratedJul 26, 2012 5:33 PM (in response to Pondini)
I'm working on an Automator that will execute the script. Actually, I'm setting up two automators. The first one allows you to input your reminder, with the option to execute an automator. The second automator looks for entries on the Automator calendar, then executes the script. My script displays a pop-up message that must be acknowledged to shut off the alarm, which consists of a system sound played 3 times, and a voice message.
Once I have the bugs worked out, I will put more info up.
Currently Being ModeratedJul 26, 2012 7:03 PM (in response to Pondini)
I got the answer, and it was simpler than I thought. Here's a solution that works for me:
In Automator, create a Calendar Alarm
Select Utilities from the library pane
Select & drag Run AppleScript into the workflow area
Copy/paste the AppleScript into the Run AppleScript box
Save the newly created Calendar Alarm
Open Calendar.app, create a new event
Select the Automator calendar as your reference calendar
Select Open File for the alert, and select the file you created in Automator. By default, iCal is the file that comes up when you select Open File. Change that to the name of the Automator app you created. Select Other if the file name isn't shown.
I've attached screen shots, just in case the instructions are a bit vague. Let me know if this works for you.
Currently Being ModeratedJul 26, 2012 7:08 PM (in response to LinuxGeek3447)
But I'm a bit burned out, so won't mess with this until tomorrow.
Currently Being ModeratedJul 27, 2012 7:19 AM (in response to Pondini)
Having to "acknowledge" is a non starter. I have eight scripts that run at various times including 5:00 AM. I can't acknowledge any of them. I just want them to run.
Looking for some other solution not involving Calendar.
Currently Being ModeratedJul 27, 2012 7:42 AM (in response to RobertJ)
I just tested LinuxGeek3447's solution and it seems to work with no need to "ackknowledge". Will need a bit more testing but this could save me a world of work.
Currently Being ModeratedJul 27, 2012 8:04 AM (in response to RobertJ)
After further testing this is a WINNER
Thank you LinuxGeek3447
Currently Being ModeratedJul 27, 2012 8:37 AM (in response to RobertJ)
Currently Being ModeratedJul 27, 2012 5:32 PM (in response to RobertJ)
You made my night LinuxGeek3447
+ Notification of the execution of the script is a killer use of notification center ;D.
Currently Being ModeratedJul 28, 2012 10:02 AM (in response to smkd)
there is similar issue having setting a URL of a cgi to run the script in the server. URL is no lger supported. May be a similar solution is possible with automator.