• 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
Strange path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange path


  • Subject: Strange path
  • From: John Azevedo <email@hidden>
  • Date: Wed, 21 Jul 2004 10:59:41 -0400

Why am I getting the following result?

set x to path to preferences
set y to x & "foo" as text

Result: "OS X:Users:zoff:Library:Preferences:/foo"


My current workaround is This:

set x to POSIX path of (path to preferences)
set y to x & "foo" as text

Result: "/Users/zoff/Library/Preferences/foo"
_______________________________________________
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: Strange path
      • From: John Stewart <email@hidden>
    • Re: Strange path
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Newbie with very simple question
  • Next by Date: Re: Strange path
  • Previous by thread: Re: OT - What is File IO (or I/O)?
  • Next by thread: Re: Strange path
  • Index(es):
    • Date
    • Thread