Re: Applescript equivalent of $0 in shell script
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