Re: Exiting an app with an infinite loop?
Re: Exiting an app with an infinite loop?
- Subject: Re: Exiting an app with an infinite loop?
- From: Ray Robertson <email@hidden>
- Date: Mon, 29 Aug 2016 13:17:09 -0400
> On Aug 29, 2016, at 12:30 PM, @lbutlr <email@hidden> wrote:
>
> Sadly, no. With on idle the script run once.
You need to save the script as a Stay Open application and then run it by launching the application. Then the idle handler will work as described.
> I will give that a shot, but will that only run when the computer isn’t otherwise being used?
No. The “idle” term has nothing to do with the computer being idle. It refers to the script application itself being idle. It will not run for however many seconds specified in the last line of the idle handler.
Ray
_______________________________________________
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