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

Re: Strange path


  • Subject: Re: Strange path
  • From: John Stewart <email@hidden>
  • Date: Wed, 21 Jul 2004 12:59:19 -0400

On 7/21/04 at 10:59, the entity John Azevedo spoke thusly

>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"
>


I get a normal path here using your code, OS 10.3.4 and AS 1.9.3

That said, when I'm doing what you've done I usually do it like this -

set y to ((path to preferences as unicode text) & "foo")

JBS
_______________________________________________
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: 
 >Strange path (From: John Azevedo <email@hidden>)

  • Prev by Date: Re: Anyone got the time?
  • Next by Date: Re: Problem getting position of desktop items
  • Previous by thread: Re: Strange path
  • Next by thread: Re: Strange path
  • Index(es):
    • Date
    • Thread