• 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: Posix file (path to user folder) -->> file ":.:Vortex/Users/tim/"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Posix file (path to user folder) -->> file ":.:Vortex/Users/tim/"


  • Subject: Re: Posix file (path to user folder) -->> file ":.:Vortex/Users/tim/"
  • From: Timothy Bates <email@hidden>
  • Date: Thu, 01 May 2003 14:55:11 +1000

>> I need to go from
>> "Vortex:Users:tim:Desktop:reading data/data.html"
>> to
>> "file:///Users/tim/Desktop/reading/reading data/data.html"
>> why does Posix file (path to user folder) -->> file ":.:Vortex/Users/tim/"

> You've got 'Posix file' instead of 'POSIX path of' (you're trying to get the
> colon-style path on a path that already has colons, hence the extra colons).
> It's pretty clear in Standard Additions. Or check Release Notes for
> AppleScript 1.6.

Thanks, I couldn't see "Posix path" in the standard additions as it is a
property of "Posix file"

So, for the benefit of others
return POSIX path of POSIX file macFilePath
--> slashed file path

Thanks,

tim
_______________________________________________
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.

  • Prev by Date: Posix file (path to user folder) -->> file ":.:Vortex/Users/tim/"
  • Next by Date: Sorting files, making folders
  • Previous by thread: Posix file (path to user folder) -->> file ":.:Vortex/Users/tim/"
  • Next by thread: Sorting files, making folders
  • Index(es):
    • Date
    • Thread