Re: No more "delay" in AS-Yosemite?
Re: No more "delay" in AS-Yosemite?
- Subject: Re: No more "delay" in AS-Yosemite?
- From: Takaaki Naganoya <email@hidden>
- Date: Thu, 13 Nov 2014 09:42:46 +0900
Add “on delay” handler to your script.
<AppleScript>
delay 3
--add & override "delay" command
on delay delayNum as real
do shell script "sleep " & (delayNum as string) & "s"
end delay
</AppleScript>
--
Takaaki Naganoya
email@hidden
http://piyocast.com/as/
> 2014/11/11 19:06、Jan-Bultereys <email@hidden> のメール:
>
>
>
> do shell script "sleep 30s"
>
> /Jan
>
>
>
> On 11 Nov 2014, at 10:51, Jörgen Stahle <email@hidden> wrote:
>
>> There is a shell command that you can use instead. And SHOULD use if you ar working with Xcode.
>> Jus can’t remember it...
>>
>>> 11 nov 2014 kl. 09:41 skrev Maik Waschfeld <email@hidden>:
>>>
>>> Hi List,
>>>
>>> Since Yosemite, all my AppleScripts using „delay“, as in
>>>> delay 30
>>>
>>> stopped working.
>>>
>>> Instead of waiting for 30 seconds, it executes the next step when I simply touch the trackpad.
>>>
>>> The same AppleScripts work as expected in Mavericks.
>>>
>>> Any hints, especially for an alternative to „delay"?
>>>
>>>
>>> With kindest regards…
>>> …Maik Waschfeld
>>>
>>> (sent from my MBAir11)
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>>
>>
>> <image001.png>
>>
>> JÖRGEN STAHLE
>> Sidproduktionsansvarig
>> IT
>>
>> Gjörwellsgatan 30
>> 112 88 Stockholm
>> 070-372 44 46
>> tt.se
>>
>> _______________________________________________
>> 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
_______________________________________________
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