• 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: running script get name of itself?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >running script get name of itself? (From: Bill Tandy <email@hidden>)

  • Prev by Date: running script get name of itself?
  • Next by Date: Re: applescript-users digest, Vol 2 #164 - 18 msgs
  • Previous by thread: running script get name of itself?
  • Next by thread: Re: running script get name of itself?
  • Index(es):
    • Date
    • Thread