Re: quit command
Re: quit command
- Subject: Re: quit command
- From: Chris Page <email@hidden>
- Date: Tue, 10 May 2011 12:24:49 -0700
On May 10, 2011, at 12:10 PM, Alex Zavatone wrote: It's not a good idea to use Delay, since sometimes when it's compiled into an AS app or an OSX app ala xCode, it ends up monopolizing a processor.
If it does, that's a bug that should be fixed. Please report it if you haven't already. In any case, whether you use delay or idle, why have idle called every 0.5 seconds, but use x to throttle it to only perform work every 2.5? Why not simply:
tell application "TextEdit" to activate
on idle if application "TextEdit" is running then say "working" return 2.5 else quit end if end idle
-- Chris Page
The other, other AppleScript Chris
|
_______________________________________________
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