• 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: Given a POSIX Path...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Given a POSIX Path...


  • Subject: Re: Given a POSIX Path...
  • From: Luther Fuller <email@hidden>
  • Date: Sun, 05 Dec 2010 13:12:24 -0600

On Dec 5, 2010, at 11:49 AM, Marconi wrote:

> Given the quoted form of a posix path to a file, how do I get that item's Finder info structure so I can rename that file?

Since your dealing only with the Finder, I would recommend not using the posix path. (posix path should only be used in 'do shell script ...' where it's required.)

Use file aliases. If you need to construct a new file name, it's easy to convert between colon-delimited text and file aliases.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Given a POSIX Path...
      • From: Doug McNutt <email@hidden>
References: 
 >Given a POSIX Path... (From: Marconi <email@hidden>)

  • Prev by Date: Re: Given a POSIX Path...
  • Next by Date: Re: Given a POSIX Path...
  • Previous by thread: Re: Given a POSIX Path...
  • Next by thread: Re: Given a POSIX Path...
  • Index(es):
    • Date
    • Thread