• 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: Sorting finder windows by name, date etc.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting finder windows by name, date etc.


  • Subject: Re: Sorting finder windows by name, date etc.
  • From: "Marc K. Myers" <email@hidden>
  • Date: Fri, 26 Jul 2002 00:02:39 -0400
  • Organization: [very little]

> Date: Thu, 25 Jul 2002 16:17:35 -0600
> To: email@hidden
> From: David Crowe <email@hidden>
> Subject: Sorting finder windows by name, date etc.
>
> I thought I should be able to:
>
> tell application "Finder"
> tell window of folder "Applications" of startup disk
> open
> set current view to list view
> -- Next line gets an error
> set sort column of list view options to modification
> date column
> end tell
> end tell
>
> But, I get an error when trying to set the sort column. This may be
> because list view options are r/o. So, I'm assuming there must be
> another way to control this, but I just can't find it.
>
> Applescript in a nutshell implies that:
>
> sort files of folder "Applications" of startup disk by modification date
>
> should work. On OS 9 it just produces a sorted list (i.e. doesn't
> sort the window). And on Mac OS X I just get an error.

tell window 1 of application "Finder"
set {view, sort direction} to {3, normal}
end tell

Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074

[7/26/02 12:02:18 AM]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Saving "traceroute" results into a variable
  • Next by Date: Re: List sorting dilemma
  • Previous by thread: Re: Sorting finder windows by name, date etc.
  • Index(es):
    • Date
    • Thread