Re: Changing the name of a file in the temporary items folder
Re: Changing the name of a file in the temporary items folder
- Subject: Re: Changing the name of a file in the temporary items folder
- From: "Gary (Lists)" <email@hidden>
- Date: Fri, 07 Dec 2007 18:23:28 -0500
- Thread-topic: Changing the name of a file in the temporary items folder
"Michelle Steiner" wrote:
> On Dec 7, 2007, at 1:13 PM, Luther Fuller wrote:
>
>>>>> tell application "Finder" to update item itemName of itemCont
>>>>> I added this line due to a similar problem. My guess is that
>>>>> using 'update' after the name change will fix the problem.
>>>>
>>>> Thanks. That did it.
>>>
>>> Whoops, no it didn't. Either it did it only once or I thought it
>>> did that once. Regardless, now it isn't doing it.
>>
>> What happens if you close, then open the folder window after running
>> the script?
>
> The temporary items folder is an invisible folder.
But it can still be seen/opened/closed...
tell application "Finder" to open ¬
(path to temporary items folder from user domain)
and
tell application "Finder" to open (path to "temp")
...both will open the folder in the finder, if you want to inspect to see if
that will solve the problem.
--
Gary
_______________________________________________
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