Re: JavaScript for automation
Re: JavaScript for automation
- Subject: Re: JavaScript for automation
- From: Deivy Petrescu <email@hidden>
- Date: Thu, 04 Dec 2014 19:49:57 -0500
On Dec 4, 2014, at 5:20 PM, David Steinberg < email@hidden> wrote:
Hi Deivy,Make sure you have "Stay open after run handler" checked when saving the applet. If you don't, the applet will quit after running the script, and your window will go with it.- DavidOn Dec 4, 2014, at 05:39, Deivy Petrescu <email@hidden> wrote:
I am trying to learn JS for automation. I copied the script shown in the video presentation where a cocoa app was created.
When I run the script, it works, albeit once, but, if saved as an application the window displays for a very brief moment (or none at all) and the only thing I see in console is :
12/4/14 08:30:25.630 sandboxd[274]: ([233]) deleted(233) deny mach-lookup com.apple.desktoppicture
In every single instance of running this app I have the “sandbox” word showing up in console. Is an app that I created myself prevented to run in my own computer? Isn’t that taking a very stringent approach to security?
Deivy Petrescu email@hidden
David, Thank you so much! Now that you said it .. "how come I did not think of it…duh”. Actually thank you for the video presentation, I have it for breakfast every morning. It is a great show.
By the way, it fixed my stupidity> I wish, however, I would understand why does console points to sandboxing.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden