• 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: More newbie queries: paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More newbie queries: paths


  • Subject: Re: More newbie queries: paths
  • From: Christopher Nebel <email@hidden>
  • Date: Fri, 3 May 2002 00:31:43 -0700

On Thursday, May 2, 2002, at 02:52 PM, garbanzito wrote:

at 2002 04 29, 12:15 -0700, they whom i call Christopher Nebel wrote:
[much clarity on path conversion snipped]

POSIX file "/Users/me/thing.txt" --> file "HD:Users:me:thing.txt"

one thing that doesn't seem to work, though is

POSIX file "~/foo" --> file ":~:foo"

which is not valid, or at least causes an error (AS 1.8.1 here).

what am i missing?

"~" to mean a home directory is actually a shell-ism. Yes, I know the Finder supports it too, but "POSIX file" doesn't.


--Chris Nebel
AppleScript Engineering
_______________________________________________
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: 
 >Re: More newbie queries: paths (From: garbanzito <email@hidden>)

  • Prev by Date: Photoshop 7 scripting
  • Next by Date: initializing loaded scripts
  • Previous by thread: Re: More newbie queries: paths
  • Next by thread: Re: More newbie queries: paths
  • Index(es):
    • Date
    • Thread