• 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: Scripting Finder window column widths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Finder window column widths


  • Subject: Re: Scripting Finder window column widths
  • From: Errol Sayre <email@hidden>
  • Date: Wed, 21 Jun 2006 11:16:07 -0500

I didn't make this totally clear, but I meant specifically the width of column view columns, not list view columns.

Thanks for the input though.

Errol

On Jun 21, 2006, at 11:09 AM, Luther Fuller wrote:

On Jun 21, 2006, at 10:11 AM, Errol Sayre wrote:
I got tired of fixing Finder windows after every time it crashes and built a script to fix the
...
I can not figure out, however, how to script the width setting of the columns themselves. The sidebar width is simply "sidebar width of window..." but there's no listing for column width in the Finder dictionary.
Does anyone have any hints on this subject?

First, get a reference to a window using ...

	set winRef to window of aliasToAFolder

Then, set the column width using ...

	set width of column name column of list view options of winRef to 264

The name of the column in this example is 'name column'. The name of a column in list view always ends with 'column', for example, 'modification date column'. Looks funny, but it's what you need.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Scripting Finder window column widths (From: Errol Sayre <email@hidden>)
 >Re: Scripting Finder window column widths (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: catching errors on "with administrator privileges"
  • Next by Date: [ANN] June Boston AppleScript Users Group Meeting
  • Previous by thread: Re: Scripting Finder window column widths
  • Next by thread: Re: Scripting Finder window column widths
  • Index(es):
    • Date
    • Thread