• 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: OS X Finder windows and column settings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OS X Finder windows and column settings


  • Subject: Re: OS X Finder windows and column settings
  • From: Andrew Oliver <email@hidden>
  • Date: Fri, 23 May 2003 11:21:46 -0700

This beast is a little tricy to find.

The column list is part of the 'list view options' property of a window so
you have to dig down a little deeper:

tell application "Finder"
set visible of ((column id modification date column) of list view
options of Finder window 1) to true -- or false as appropriate
end tell

Or, in a slightly more long-winded, but legible version:

tell application "Finder"
tell window 1
tell its list view options
set visible of (column id modification date column) to true
end tell
end tell
end tell


Adjust the 'column id' as appropriate.

Andrew
:)

On 5/23/03 10:57 AM, "Easthope, John R" <email@hidden> wrote:

> Does anyone know how to script the check boxes for Date Modified, Size,
> Kind, etc. in the view options for an OS X Finder window? (In list view)
>
> The Applescript page at Apple has a few example scripts for Finder windows
> but none of them explain how to do this.
> Here is a sample snippet from their site: (This came from the script "Set
> View Options" at http://www.apple.com/applescript/toolbar/ )
> *******
> -- LIST VIEW OPTIONSusing terms from application "Finder" property
sort_column
> : name column -- name column/modification date
> column/creation date column/size column/kind column/label column/version
> column/comment column property calc_indicator : true -- true/false
property
> icon_type : large icon -- small icon/large icon property dates_indicator :
> true -- true/false property sort_direction : normal --
> normal/reversed property list_options : {sort column:sort_column,
calculates
> folder
> sizes:calc_indicator, icon size:icon_type, uses relative
> dates:dates_indicator}end using terms from
>
> *******
>
> It seems that we can script most of the other parameters of the View
> settings except the columns and text size. You will notice that the
> "sort_column" property has scripting parameters for the various columns ...
> it seems that we just can't enable/disable them with a script.
>
> *******
> In OS 9 it looked like this:
> set shows modification date of the first container window to falseset shows
> size of the first container window to false
> set shows kind of the first container window to false
>
> *******
> These no longer work.
>
> Any ideas?
>
> Thanks
>
>
>
> _________________________________________
>
> John Easthope
> School Technology Support Analyst
> Calgary Board of Education
> Help Desk: 294-8111 Fax: 294-8689
> Email: email@hidden
> _________________________________________
> _______________________________________________
> 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.
_______________________________________________
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.

References: 
 >Re: OS X Finder windows and column settings (From: "Easthope, John R" <email@hidden>)

  • Prev by Date: Re: OS X Finder windows and column settings
  • Next by Date: OSA Error as Applet but not in Script Editor
  • Previous by thread: Re: OS X Finder windows and column settings
  • Next by thread: Re: OS X Finder windows and column settings
  • Index(es):
    • Date
    • Thread