Re: Simple finder window sort worked in mountain lion but not in Mavericks
Re: Simple finder window sort worked in mountain lion but not in Mavericks
- Subject: Re: Simple finder window sort worked in mountain lion but not in Mavericks
- From: Robert Poland <email@hidden>
- Date: Fri, 26 Sep 2014 15:04:57 -0600
On Sep 26, 2014, at 1:54:PM, dealTek <email@hidden> wrote:
> Hi all,
>
> This Simple finder window sort worked in mountain lion but not in Mavericks
>
>
> tell application "Finder"
> activate
> 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
> end tell
>
> no errors - just does not update the sort column or direction. I even tried new manual recording in applescript editor - and it came up the same as this old one - but doesn't work...
>
> Q: any way to fix this for Mavericks 10.9.4?
This works for me;
tell application "Finder"
tell list view options of window 1
set sort column to name column
tell column name column
if sort direction is normal then
set sort direction to reversed
else
set sort direction to normal
end if #
end tell # column name column
end tell # window 1
end tell # Finder
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