• 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: Refresh Finder view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Refresh Finder view?


  • Subject: Re: Refresh Finder view?
  • From: Alex Zavatone <email@hidden>
  • Date: Wed, 03 Apr 2013 12:01:31 -0400

From what I sent, it appears that "update" does not apply to Finder windows, if I interpret the doc correctly.

On Apr 3, 2013, at 11:55 AM, Robert Poland wrote:

> 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


References: 
 >Refresh Finder view? (From: Robert Poland <email@hidden>)
 >Re: Refresh Finder view? (From: "koenig.yvan" <email@hidden>)
 >Re: Refresh Finder view? (From: Robert Poland <email@hidden>)
 >Re: Refresh Finder view? (From: Alex Zavatone <email@hidden>)
 >Re: Refresh Finder view? (From: Robert Poland <email@hidden>)

  • Prev by Date: Safari
  • Next by Date: Re: Safari
  • Previous by thread: Re: Refresh Finder view?
  • Next by thread: Re: Refresh Finder view?
  • Index(es):
    • Date
    • Thread