• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: JavaScript for automation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: JavaScript for automation
      • From: Deivy Petrescu <email@hidden>
References: 
 >JavaScript for automation (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: Script Editor in Mac OS X 10.0.1
  • Next by Date: Re: JavaScript for automation
  • Previous by thread: Re: JavaScript for automation
  • Next by thread: Re: JavaScript for automation
  • Index(es):
    • Date
    • Thread