• 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: Pleas help with AppleScript's text item delimiter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pleas help with AppleScript's text item delimiter


  • Subject: Re: Pleas help with AppleScript's text item delimiter
  • From: Paul Berkowitz <email@hidden>
  • Date: Sat, 13 Sep 2003 23:53:50 -0700

On 9/13/03 11:28 PM, I wrote:

> set myFolder to quoted form of (POSIX path of (path to desktop as Unicode
> text))

Actually, it doesn't need the 'as Unicode text'

set myFolder to quoted form of (POSIX path of (path to desktop))

works just as well.

I think maybe we could do with a boolean parameter for removing the final
"/" slash of directories when doing POSIX path from colon format for
folders. It would save that rather contorted second line:

set myFolder to text 1 thru -3 of myFolder & "'" --drop final "/"

--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Pleas help with AppleScript's text item delimiter (From: Richard Rönnbäck <email@hidden>)

  • Prev by Date: Re: Pleas help with AppleScript's text item delimiter
  • Next by Date: Re: Pleas help with AppleScript's text item delimiter
  • Previous by thread: Re: Pleas help with AppleScript's text item delimiter
  • Next by thread: Re: Pleas help with AppleScript's text item delimiter
  • Index(es):
    • Date
    • Thread