• 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: Is there a way to access the Arrange By:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Is there a way to access the Arrange By: (From: Robert Poland <email@hidden>)
 >Re: Is there a way to access the Arrange By: (From: "koenig.yvan" <email@hidden>)

  • Prev by Date: Re: question regarding IP address from ipconfig
  • Next by Date: Re: Is there a way to access the Arrange By:
  • Previous by thread: Re: Is there a way to access the Arrange By:
  • Next by thread: Re: Is there a way to access the Arrange By:
  • Index(es):
    • Date
    • Thread