Re: Finder inconsistency (Was: What makes AppleScript difficult)
Re: Finder inconsistency (Was: What makes AppleScript difficult)
- Subject: Re: Finder inconsistency (Was: What makes AppleScript difficult)
- From: Christopher Nebel <email@hidden>
- Date: Thu, 6 Dec 2007 19:21:04 -0800
On Dec 6, 2007, at 5:43 PM, deivy petrescu wrote:
The temporary folder I was referring to is already part of the
system.
It's full path name is:
/private/var/tmp/folders.501/TemporaryItems/
and in AppleScript its referred to as simply:
path to temporary items
(its in the StandardAdditions dictionary)
Indded, use path to temporary items or path to "temp".
But as of Leopard it is no longer "/private/var/tmp/folders.501/
TemporaryItems/"
It is a different beast altogether.
I believe Apple was not happy with people playing there...
If by "people" you mean "attackers", then yes. The problem with the
old name was that it was easy to guess -- the "501" is really your
user ID, and most people's is 501 -- so an attacker could muck around
with files in there. No issues with using it yourself, though.
--Chris Nebel
AppleScript Engineering
_______________________________________________
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