Re: JavaScript for automation
Re: JavaScript for automation
- Subject: Re: JavaScript for automation
- From: David Steinberg <email@hidden>
- Date: Thu, 04 Dec 2014 14:20:46 -0800
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.
- David
> On 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
>
>
> _______________________________________________
> 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
_______________________________________________
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