• 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: Exiting an app with an infinite loop?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Exiting an app with an infinite loop? (From: "@lbutlr" <email@hidden>)
 >Re: Exiting an app with an infinite loop? (From: Barry Wainwright <email@hidden>)
 >Re: Exiting an app with an infinite loop? (From: Shane Stanley <email@hidden>)
 >Re: Exiting an app with an infinite loop? (From: "@lbutlr" <email@hidden>)

  • Prev by Date: Re: Anyone use Macterm
  • Next by Date: Re: Anyone use Macterm
  • Previous by thread: Re: Exiting an app with an infinite loop?
  • Next by thread: Re: Exiting an app with an infinite loop?
  • Index(es):
    • Date
    • Thread