Re: Is there a way to access the Arrange By:
Re: Is there a way to access the Arrange By:
- Subject: Re: Is there a way to access the Arrange By:
- From: Robert Poland <email@hidden>
- Date: Tue, 21 Aug 2012 14:09:28 -0600
On Aug 21, 2012, at 1:15 PM, "koenig.yvan" < email@hidden> wrote: Hello Robert
This piece of GUIscripting does the job.
activate application "Finder" tell application "System Events" to tell application process "Finder" tell (first window whose subrole is "AXSystemFloatingWindow")
set currentSetting to get value of first pop up button click pop up button 1 if currentSetting is not last item of (get name of every menu item of menu 1 of first pop up button) then click menu item -1 of menu 1 of first pop up button end if end tell end tell
Yvan KOENIG (VALLAURIS, France) mardi 21 août 2012 21:15:03 Thanks Yvan,
This also works;
tell application "System Events" to keystroke "0" using {command down, control down} -- Arrange by None
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