• 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: Applescript equivalent of $0 in shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript equivalent of $0 in shell script


  • Subject: Re: Applescript equivalent of $0 in shell script
  • From: Doug McNutt <email@hidden>
  • Date: Sat, 7 Oct 2006 11:05:30 -0600

At 13:11 +0900 10/7/06, Hiroshi T. wrote:
>Could someone kindly tell me how to obtain the file name of the script itself?
>I'm thinking of making a symbolic link to the script file and implement slightly
> different functions in one script as one can do for shell script.

Have a look at <ftp://ftp.macnauchtan.com/Software/LineEnds/FixEndsFolder.sit>

It does what you want, using the same code for four different drag and drop operations onto differently named aliases. Frankly, I forget how it works but the source is there.
--

-->  Halloween  == Oct 31 == Dec 25 == Christmas  <--
 _______________________________________________
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

References: 
 >Applescript equivalent of $0 in shell script (From: "Hiroshi T." <email@hidden>)

  • Prev by Date: Re: AppleWorks fields on a layout
  • Next by Date: Re: AppleWorks fields on a layout
  • Previous by thread: Re: Applescript equivalent of $0 in shell script
  • Next by thread: Backlight using GUI scripting doesn't work...
  • Index(es):
    • Date
    • Thread