• 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: App and droplet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App and droplet


  • Subject: Re: App and droplet
  • From: kai <email@hidden>
  • Date: Fri, 13 Oct 2006 18:37:05 +0100


On 13 Oct 2006, at 11:51, Axel Luttgens wrote:

On 13/10/06 11:26, kai wrote:

[...]

However, one possible refinement might be (still from a pre- launch drag and drop):

[...]


Indeed... I noticed that behavior during my (very quick) testings, but then neglected to investigate further.
A bit as if the execution of a handler's first statement and the handling of pending events were in close relationship (sorry, I am unable to express this in a better way).
Is this somehow documented?

Yes, Axel. Check out the discussion section for "awake from nib" from the AppleScript Studio Terminology Reference:


ADC Home > Reference Library > Reference > AppleScript > Tools > AppleScript Studio Terminology Reference:
Application Suite > Events > awake from nib


This should take you there:
http://tinyurl.com/yyppvd

The section indicates that the order in which event handlers are called, on application start up, is:

1. will finish launching
2. awake from nib
3. launched
4. will become active
5. activated
6. idle

This is borne out by tests here on, focusing on application and nib event handlers (including open and quit), which suggests the following, slightly more detailed sequence:

1: will finish launching
2: awake from nib
3: launched
4: open
5: will become active
6: activated
7: idle
8: quit
9: should quit
10: will quit

Now, who said "OT"?

Um...

---
kai


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: App and droplet
      • From: Axel Luttgens <email@hidden>
References: 
 >App and droplet (From: Craig Stanton <email@hidden>)
 >Re: App and droplet (From: Axel Luttgens <email@hidden>)
 >Re: App and droplet (From: Philip Aker <email@hidden>)
 >Re: App and droplet (From: Axel Luttgens <email@hidden>)
 >Re: App and droplet (From: kai <email@hidden>)
 >Re: App and droplet (From: kai <email@hidden>)
 >Re: App and droplet (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: App and droplet
  • Next by Date: Indesign Spread confusion
  • Previous by thread: Re: App and droplet
  • Next by thread: Re: App and droplet
  • Index(es):
    • Date
    • Thread