• 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: is delay broken in JSA
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is delay broken in JSA


  • Subject: Re: is delay broken in JSA
  • From: Deivy Petrescu <email@hidden>
  • Date: Tue, 16 Dec 2014 09:52:35 -0500

> On Dec 15, 2014, at 22:46 , Shane Stanley <email@hidden> wrote:
>
> On 16 Dec 2014, at 11:02 am, Deivy Petrescu <email@hidden> wrote:
>>
>> But apparently only on applets
>
> No -- anywhere a script runs on the main thread, by the look of it. Hold the control key and choose Script -> Run in Foreground in Script Editor, and you'll see the same problem. And in scripts run from app menus and panels.
>
> --
> Shane Stanley <email@hidden>
> <www.macosxautomation.com/applescript/apps/>
>

And interestingly enough, this can not be used as a workaround since apparently AS can not run the first script in JS.

<script>
set c to current date
run script "delay 3" in "Javascript"
set k to run script "new Date" in "Javascript"
{k, c}
</script>


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


  • Follow-Ups:
    • Re: is delay broken in JSA
      • From: Shane Stanley <email@hidden>
References: 
 >is delay broken in JSA (From: Deivy Petrescu <email@hidden>)
 >Re: is delay broken in JSA (From: David Steinberg <email@hidden>)
 >Re: is delay broken in JSA (From: Deivy Petrescu <email@hidden>)
 >Re: is delay broken in JSA (From: Shane Stanley <email@hidden>)
 >Re: is delay broken in JSA (From: Deivy Petrescu <email@hidden>)
 >Re: is delay broken in JSA (From: Shane Stanley <email@hidden>)
 >Re: is delay broken in JSA (From: Deivy Petrescu <email@hidden>)
 >Re: is delay broken in JSA (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: is delay broken in JSA
  • Next by Date: [related] iOS enters the automation game
  • Previous by thread: Re: is delay broken in JSA
  • Next by thread: Re: is delay broken in JSA
  • Index(es):
    • Date
    • Thread