• 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
POSIX file question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

POSIX file question


  • Subject: POSIX file question
  • From: Donald Liu <email@hidden>
  • Date: Wed, 22 Oct 2003 16:07:22 -0700

Hi all,

I have a bad feeling that this has been discussed before, but I'm
currently blanking out and can't figure out what I'm doing wrong. I
searched and found few on the Apple/AppleScript web-site, they didn't
provide the solution I'm looking for. If anyone can help me, I'd
really appreciate it.

If I have the following POSIX path,

set foo to "~/Documents/QuickLooks/"

and want to convert it to the AppleScript file object, I do this...

set goo to POSIX file foo

but this returns ":~:Documents:QuickLooks:". How do I make it so that
it returns "Macintosh HD:Users:dliu:Documents:QuickLooks:"


TIA,
-donald
_______________________________________________
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.

  • Follow-Ups:
    • Re: POSIX file question
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: RE: minimize the terminal
  • Next by Date: Re: minimize the terminal.
  • Previous by thread: RE: minimize the terminal
  • Next by thread: Re: POSIX file question
  • Index(es):
    • Date
    • Thread