• 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: "John C. Welch" <email@hidden>
  • Date: Tue, 21 Aug 2012 16:13:07 -0400
  • Thread-topic: Is there a way to access the Arrange By:

Sorry, my mistake. Right arrange by "none" you can't actually directly script sans GUI scripting from what I can see.
--

Q: How was your first marriage terminated?
A: By death.
Q: And by whose death was it terminated?

On 8/21/12 3: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


_______________________________________________ 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


 _______________________________________________
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: 
 >Re: Is there a way to access the Arrange By: (From: "koenig.yvan" <email@hidden>)

  • Prev by Date: Re: Is there a way to access the Arrange By:
  • Next by Date: Re: OS X 10.8 Security & Applescripts - "unidentified developer"
  • 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