This Simple finder window sort worked in mountain lion but not in Mavericks
______________________________________________________________________
Hey Dave,
This has been covered several times on the list.
------------------------------------------------------------------------------------------- set otherFolder to alias ((path to library folder as text) & "Documentation:") tell application "Finder" activate set frontWindowTarget to target of front window as alias set sort column of list view options of Finder window 1 to modification date column set sort direction of column id modification date column of list view options of Finder window 1 to reversed tell front window set its target to otherFolder set its target to frontWindowTarget end tell end tell -------------------------------------------------------------------------------------------
You can close and reopen the window to force the new settings to display, but it's a bit smoother if you just change and restore the target of the front window.
-- Best Regards, Chris
----------------------------------------------------------- Tags: @Finder, @Window, @List, @View, @Column, @Sort, @Bug -----------------------------------------------------------
|