• 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: Yosemite and activate failures
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Yosemite and activate failures


  • Subject: Re: Yosemite and activate failures
  • From: Deivy Petrescu <email@hidden>
  • Date: Fri, 16 Jan 2015 18:18:45 -0500
  • Sun-java-system-smtp-warning: Lines longer than SMTP allows found and truncated.

> On Jan 16, 2015, at 17:31 , Shane Stanley <email@hidden> wrote:
>
> On 17 Jan 2015, at 9:21 am, Deivy Petrescu <email@hidden> wrote:
>>
>> May be I am missing something, but why should the script wait for the app to activate to continue running.
>
> Because that's how 99% of commands in AppleScript work: you issue a command, what you ask for is done, and then the command returns. Asynchronous commands are rare.

However, I would expect such behavior only inside a tell block.
That is, if I tell Finder to do some stuff then why is it that System Events have to wait?

By the way, even inside a tell block, there are some instances that the script have to be told to hold (delay ).
When telling Safari to open an URL that is always the delay command.
Inside a tell block.

To my point of view is it working as expected.

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: Yosemite and activate failures
      • From: Shane Stanley <email@hidden>
    • Re: Yosemite and activate failures
      • From: Ray Robertson <email@hidden>
References: 
 >Script that "Tells" Finder just Focuses on Finder instead of running (From: Alex Hall <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Deivy Petrescu <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: 2551 <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Alex Hall <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Deivy Petrescu <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Shane Stanley <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Deivy Petrescu <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Shane Stanley <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Deivy Petrescu <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Shane Stanley <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Shane Stanley <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Yvan KOENIG <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Shane Stanley <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Yvan KOENIG <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Shane Stanley <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Alex Hall <email@hidden>)
 >Re: Yosemite and activate failures (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Yosemite and activate failures
  • Next by Date: illustrator Chart data
  • Previous by thread: Re: Yosemite and activate failures
  • Next by thread: Re: Yosemite and activate failures
  • Index(es):
    • Date
    • Thread