• 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: About path to temporary items.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About path to temporary items.


  • Subject: Re: About path to temporary items.
  • From: 2551phil <email@hidden>
  • Date: Tue, 18 Oct 2016 17:18:08 +0700


On 16 Oct 2016, at 22:51, 2551phil <email@hidden> wrote:

So how does that work? I don’t see “vtmp” defined in File Commands enumerations (or “temp”, for that matter), only the ‘temporary items’ constant.

Once I started looking through that Folders.h file, I knew I’d seen this list before. Applescript seems to have a detrimental effect on one’s memory…or maybe it’s just me. 

Later this afternoon it came back to me. I knew about these when I first learned AppleScript from Bill Cheeseman’s book ‘AppleScript 1-2-3’. Bill lists most of them in Chapter 5, ‘Special Folders List’. I’m sure Bill won’t mind me quoting the opening paragraph to that section:

“Each special folder is tagged by the operating system with its own unique four-character code and often with its own enumeration constant. The code or the constant is used by the path to command to locate a specific folder.” 

I remember now using these quite a bit when I was first experimenting with AS, yet when Deivy brought this up the other day - whoosh, not even a faint ping of recognition. 

‘Bout the only thing worse than not knowing something is not remembering something you once knew.
Glad this discussion came up, not least as it reminded me to review some of the basics. 


Best


Phil
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >About path to temporary items. (From: Yvan KOENIG <email@hidden>)
 >Re: About path to temporary items. (From: Deivy Petrescu <email@hidden>)
 >Re: About path to temporary items. (From: Yvan KOENIG <email@hidden>)
 >Re: About path to temporary items. (From: 2551phil <email@hidden>)

  • Prev by Date: ASOC warning messages
  • Next by Date: Re: ASOC warning messages
  • Previous by thread: Re: About path to temporary items.
  • Next by thread: Re: About path to temporary items.
  • Index(es):
    • Date
    • Thread