• 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: Axel Luttgens <email@hidden>
  • Date: Fri, 13 Oct 2006 10:04:19 +0200

On 12/10/06 22:41, Philip Aker wrote:

On 2006-10-12, at 06:20:24, Axel Luttgens wrote:

[...]

Seems to work here, as a stay-open applet.


The problem was (as I discovered from a post Craig sent me off-list) is that he was in an AppleScript Studio droplet…


Yes, that's why I made a reference to AS Studio in my code (which in fact, because of a bad reading of mine, was rather similar to Kai's one...).
But I forgot other peculiarities of an AS Studio app...
Perhaps could something like this do the trick:


   property GotActivated : false

   on open names
       (* Add your script to process the names here. *)
       if not GotActivated then quit
   end open

   on activated theObject
       set GotActivated to true
   end activated

Quick tests tend to show that it is indeed the case.
But is that ordering of events firing reliable?
And anyway, I may have forgotten something else...

HTH,
Axel
_______________________________________________
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: kai <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>)

  • Prev by Date: Re: Human Readable Time snipit
  • Next by Date: Re: App and droplet
  • Previous by thread: Re: App and droplet
  • Next by thread: Re: App and droplet
  • Index(es):
    • Date
    • Thread