Re: Refresh Finder view?
Re: Refresh Finder view?
- Subject: Re: Refresh Finder view?
- From: Robert Poland <email@hidden>
- Date: Wed, 03 Apr 2013 09:55:11 -0600
Thanks Alex,
tell application "Finder" -- script end cleanup
tell window 1
set update to true
end tell
Also errors,
Command "Script Zoom" has generated error "Applescript error number -10006: Can’t set «event fndrfupd» of true to application "Finder"..".
On Apr 3, 2013, at 9:41 AM, Alex Zavatone <email@hidden> wrote:
> update
> update (verb)Update the display of the specified object(s) to match their on-disk representation (from the Finder items suite)
> command syntax
> update reference ¬
> necessity boolean ¬
> registering applications boolean
> parameters
> Parameter
> Required
> Type
> Description
> direct parameter required reference the item to update
> necessity optional boolean only update if necessary (i.e. a finder window is open). default is false
> registering applications optional boolean register applications. default is true
>
>
> On Apr 3, 2013, at 11:18 AM, Robert Poland wrote:
>
>> Thanks Yvan,
>>
>> As usual I'm having decoding the dictionary. The following errors "Applescript error number -1708: Finder got an error: Finder window id 29637 doesn’t understand the update message..".
>>
>> tell application "Finder" -- script end cleanup
>> tell window 1
>> update
>> end tell
>>
>> On Apr 3, 2013, at 8:52 AM, "koenig.yvan" <email@hidden> wrote:
>>
>>>
>>> Le 03/04/2013 à 16:03, Robert Poland <email@hidden> a écrit :
>>>
>>>> Hi,
>>>>
>>>> I have a script that processes a finder window, List view.
>>>>
>>>> At the end of the process I set the Sort on the Name ID to normal.
>>>>
>>>> That works fine but the window often stays in the reverse sort although the sort arrow shows it is in the normal mode.
>>>>
>>>> Is there a command that will force the finder window to update?
>>>>
>>>> TIA,
>>>
>>>
>>> Isn't it : update ?
>>>
>>> Yvan KOENIG (VALLAURIS, France) mercredi 3 avril 2013 16:52:07
>>
>> Robert Poland - Fort Collins, CO
>>
>>
>>
>>
>> _______________________________________________
>> 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
>
Robert Poland - Fort Collins, CO
_______________________________________________
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