Re: running script get name of itself?
Re: running script get name of itself?
- Subject: Re: running script get name of itself?
- From: nellA hciR <email@hidden>
- Date: Tue, 26 Dec 2000 13:22:46 -0900
-- one solution
set myPath to (path to me as string)
set od to AppleScript's text item delimiters
set AppleScript's text item delimiters to ":"
set myName to text item -1 of myPath
display dialog myName
set AppleScript's text item delimiters to od
-- hcir
>
How can a running script get the name of itself as text (set myName to
>
...)?
>
Thanks,
>
Bill Tandy
>
Austin, TX