• 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
Found a use for 'reopen'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Found a use for 'reopen'


  • Subject: Found a use for 'reopen'
  • From: Mr Tea <email@hidden>
  • Date: Thu, 12 Sep 2002 01:07:24 +0100

I was looking for an economical way to quit some stay-open droplets that sit
in a DragThing dock on my OS X desktop - ideally with just the one click.

on reopen
tell me to quit
end reopen

...does the job very nicely. I seem to remember this use of 'reopen' coming
up in the list a while back. It doesn't get a mention in the ASLG, though.

I've also taken to putting run handlers in my droplets that open the script
in a script editor:

set theFile to path to me
tell application "Finder"
open theFile using theEditor
end tell
tell me to quit

...the obvious advantage being that I don't have to use contextual menu
widgets or drag the droplet anywhere when I want to edit it. I can just
double click it (or single click if it's a DragThing button), and away I go.

Makes sense to me.


Nick
_______________________________________________
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.

  • Follow-Ups:
    • Re: Found a use for 'reopen'
      • From: Paul Berkowitz <email@hidden>
References: 
 >Translating Quoted Printable (From: Nigel Smith <email@hidden>)

  • Prev by Date: Re: Translating Quoted Printable
  • Next by Date: Re: Droplet to Rename Breaks Under Jaguar
  • Previous by thread: Re: Translating Quoted Printable
  • Next by thread: Re: Found a use for 'reopen'
  • Index(es):
    • Date
    • Thread