• 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: R é p: duplicate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: R é p: duplicate


  • Subject: Re: R é p: duplicate
  • From: Yvan KOENIG <email@hidden>
  • Date: Tue, 10 Oct 2006 20:39:35 +0200


Le 10 oct. 2006 à 19:18, Paul Berkowitz a écrit :

On 10/10/06 6:44 AM, "ishmael" <email@hidden> wrote:

I didn't know you could retrieve the path of the
system temp with (path to
"temp" from user domain),


Actually, using that 4-character text version dates from a time when there
was no officially documented way to get at many special folders. It still
works, and I suppose it will continue to do so for the foreseeable future,
but most of these special folders are now documented in the 'path to'
command in Standard Additions dictionary.



Hello

I used "temp" since many months and didn't take care that there is now a "more official" way to access it.
I write "more official" because, as far as I know, the contents of the file "Folders.h" is always valid ;-)


    path to temporary items from user domain

In fact , I'm not sure 'from user domain' is correct here, although the
Cache file it finds probably points to or mirrors the actual location. Temp
folders are in fact not within the user folder but on the root disk:


path to temporary items from user domain
--> alias "PB G5 HD Tiger:Users:berkowit:Library:Caches:TemporaryItems:"


path to temporary items
--> alias "PB G5 HD Tiger:private:var:tmp:folders. 501:TemporaryItems:"


The latter is the real location - a hidden (private) folder. I'm not sure
how far back (which OS) the ~/Library/Caches/ location goes back to - I
don't think I've seen it before. It must be a sort of mirror of the real
location.

I'm not a professional developper, just a retired potter playing with a fine tool.
When I saw that the alias returned with or without the sequence "from user domain" were different I choosed to play what seems to be the safe way.


When I discover that I made a mistake, I try to take care to no longer reproduce it.

So, I will use the "official" syntax but, for the "from user domain" sequence, don't worry but I will wait for Chris Nebel comments.


Yvan KOENIG


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: R é p: duplicate (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: R é p: duplicate
  • Next by Date: Re: R é p: duplicate
  • Previous by thread: Re: R é p: duplicate
  • Next by thread: Re: R é p: duplicate
  • Index(es):
    • Date
    • Thread