• 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: Repeat until ...the user chooses to stop?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@



 _______________________________________________
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: Repeat until ...the user chooses to stop?
      • From: deivy petrescu <email@hidden>
References: 
 >Re: Repeat until ...the user chooses to stop? (From: Ron <email@hidden>)
 >Re: Repeat until ...the user chooses to stop? (From: Dane Springmeyer <email@hidden>)

  • Prev by Date: Ranges and Variables in Excel
  • Next by Date: Re: Ranges and Variables in Excel
  • Previous by thread: Re: Repeat until ...the user chooses to stop?
  • Next by thread: Re: Repeat until ...the user chooses to stop?
  • Index(es):
    • Date
    • Thread