• 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: Is it possible to set up an 'instant' idle handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to set up an 'instant' idle handler


  • Subject: Re: Is it possible to set up an 'instant' idle handler
  • From: John Delacour <email@hidden>
  • Date: Wed, 9 Oct 2002 10:11:13 +0100
  • Mac-eudora-version: 5.3 alpha

At 4:26 pm -0700 8/10/02, Paul Berkowitz wrote:

On 10/8/02 3:35 PM, "John Delacour" <email@hidden> wrote:


By definition once an stay-open application has launched it goes into
idle mode. If there is an idle routine, this will execute.

Not quite. If there is a main, top-level script, that will execute first.
When that completes, then the applet goes into idle mode.

Errm... you mean like the run handler in the script I posted?

on run
set launching to true
end run

Its pretty obvious the run handler routine executes when the script runs, otherwise what would be the point. When I write an applet I always write an explicit run handler. You apparently don't, but nevertheless it's implicit.

JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Is it possible to set up an 'instant' idle handler (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: How do I create and name duplicates in the same path as the originals?
  • Next by Date: Re: How do I create and name duplicates in the same path as the originals?
  • Previous by thread: Re: Is it possible to set up an 'instant' idle handler
  • Next by thread: Re: Is it possible to set up an 'instant' idle handler
  • Index(es):
    • Date
    • Thread