Re: Yosemite and activate failures
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