• 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: finding out the name of the script file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: finding out the name of the script file


  • Subject: Re: finding out the name of the script file
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 25 Aug 2005 06:55:03 -0700


On Aug 25, 2005, at 6:30 AM, patrick machielse wrote:

Is there a way to find out the script's file name?

Here is one way. It won't work from script editor, but will work from the script menu. I offer it as proof of concept; it will most likely need to be modified for your specific use.


tell application "Finder" to display dialog (name of (path to me) as text)

-- Michelle

--
I've noticed lately that the paranoid fear of computers becoming intelligent and taking over the world has almost entirely disappeared from the common culture. Near as I can tell, this coincides with the release of MS-DOS.
-- Larry DeLuca


_______________________________________________
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: finding out the name of the script file
      • From: Christopher Nebel <email@hidden>
References: 
 >finding out the name of the script file (From: patrick machielse <email@hidden>)

  • Prev by Date: finding out the name of the script file
  • Next by Date: RE: lauch script via keyboard shortcut
  • Previous by thread: finding out the name of the script file
  • Next by thread: Re: finding out the name of the script file
  • Index(es):
    • Date
    • Thread