Re: temporary items
Re: temporary items
- Subject: Re: temporary items
- From: Deivy Marck Petrescu <email@hidden>
- Date: Fri, 12 Aug 2011 12:37:55 -0400
On Aug 12, 2011, at 11:32 AM, Deivy Marck Petrescu wrote:
>
> On Aug 11, 2011, at 6:35 PM, Luther Fuller wrote:
>
>> I have a script, "Script Bundle Tool", that I've been using for years without any problem.
>> It contains this line ...
>>
>> set tempRef to (path to temporary items)
>>
>> Today, while working in Lion, I encountered a problem that took way too long to identify.
>> Finally, I discovered a hint and changed the line to ...
>>
>> set tempRef to (path to temporary items from user domain)
>>
>> This seemed to fix the problem. (This could have been a big problem, since Script Bundle Tool compiles itself!)
>>
>> The first line returns
>>
>> alias "OS_X:private:var:folders:eJ:eJwmSk7uFauWoGY2A+8Sok+++TI:-Tmp-:TemporaryItems:"
>>
>> Does Lion have a problem with this?
>
> Actually Luther, rereading your message I noticed that the temp folder you get is at root level.
> Why would it need from user domain strikes me.
> I believe that "from user domain" is the bug.
>
>
> Deivy Petrescu
> email@hidden
>
Wow, I misread your message more than once!
Really bad on my part!
Now I understand your question.
The first alias: alias "OS_X:private:var:folders:eJ:eJwmSk7uFauWoGY2A+8Sok+++TI:-Tmp-:TemporaryItems:"
is the temporary items at the root level. Nothing wrong with using it.
The second alias: alias "OS_X:Users:lutherfuller:Library:Caches:TemporaryItems:"
is indeed the temporary item at the user level.
So everything is fine. You can use either one in your script.
Both are going to be gone once the computer is restarted.
Deivy Petrescu
email@hidden
_______________________________________________
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