• 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
applescript's text item delimiters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

applescript's text item delimiters


  • Subject: applescript's text item delimiters
  • From: donald liu <email@hidden>
  • Date: Tue, 26 Oct 2004 20:34:26 -0700

Hi all,

The following script script returnns "nib" instead of "foo~.nib". Is "~" a special character in AppleScript?


Thanks, -donald


set foo to "Macintosh HD:Users:dliu:Desktop:10_25:foo.app:Contents:Resources:English.lproj: foo~.nib"
set AppleScript's text item delimiters to ":"
set boo to get last word of quoted form of (foo as text)
set AppleScript's text item delimiters to ""
return boo


_______________________________________________
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: applescript's text item delimiters
      • From: John Stewart <email@hidden>
    • Re: applescript's text item delimiters
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: Dice
  • Next by Date: Re: Setting the default signature in Entourage
  • Previous by thread: Re: Pretty nice mistake ...
  • Next by thread: Re: applescript's text item delimiters
  • Index(es):
    • Date
    • Thread