Re: Repeat until ...the user chooses to stop?
Re: Repeat until ...the user chooses to stop?
- Subject: Re: Repeat until ...the user chooses to stop?
- From: Philip Aker <email@hidden>
- Date: Tue, 27 Nov 2007 11:48:03 -0800
On 2007-11-27, at 09:15, Dane Springmeyer wrote:
… applescript does not support sub-second timeouts, so it seems that this approach won't quite work.
That's no longer the case. You can return a fraction of a second. This should illustrate:
on run set isot to ((current date) as «class isot») as text do shell script "echo '" & isot & "' > ~/Desktop/isot.txt" end run
on idle set isot to ((current date) as «class isot») as text do shell script "echo '" & isot & "' >> ~/Desktop/isot.txt" return 0.4 end idle
|
_______________________________________________
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