Re: Timeout Not Working As Expected
Re: Timeout Not Working As Expected
- Subject: Re: Timeout Not Working As Expected
- From: "S. J. Cunningham" <email@hidden>
- Date: Wed, 18 Mar 2015 14:49:14 -0400
On Mar 18, 2015, at 1:16 PM, Axel Luttgens wrote:
>
> Le 18 mars 2015 à 04:01, S. J. Cunningham a écrit :
>
>> This never times out:
>>
>> with timeout of 5 seconds
>> do shell script "/Applications/Firefox.app/Contents/MacOS/firefox-bin imacros://run/?m=Current.iim"
>> end timeout
>
> Hello,
>
> The with timeout statement controls how long AppleScript waits a reply for a command that has been sent to an application.
>
> In the above, there is just a command ('do shell script'), no command sent to an application (as it would have been the case with 'tell application "Firefox" to ...').
>
> It is a bit as if you had tried:
>
> with timeout of 1 second
> delay 10
> end timeout
Isn't the shell an application?
_______________________________________________
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