• 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: Setting Finder Column width
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting Finder Column width


  • Subject: Re: Setting Finder Column width
  • From: Robert Poland <email@hidden>
  • Date: Sat, 04 Oct 2014 11:47:02 -0600

On Oct 4, 2014, at 11:37:AM, Luther Fuller <email@hidden> wrote:

> On Oct 4, 2014, at 10:46 AM, Robert Poland wrote:
>
>> Is there any way to control width of, for example, the name column?
>
> I took a look at one of my scripts that does that sort of thing
> and found a handler containing these lines of code ...
>
> 	tell application "Finder"
> 		set winRef to (window of folderAlias)
> 		set current view of winRef to list view
> 		ignoring application responses
> 			. . .
> 				set width of column name column of list view options of winRef to 300
> 			. . .
> 		end ignoring
> 	end tell
>
> I am currently using this in Lion (10.7.5), but I have used it in 10.8 and 10.9
> without error.

Luther,

Yes that works in Mavericks BUT I want a command that does the same as double clicking the divider bar. Sets the width to the width of the longest text item in the name column.

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


References: 
 >Setting Finder Column width (From: Robert Poland <email@hidden>)
 >Re: Setting Finder Column width (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Yosemite impact
  • Next by Date: Re: Yosemite impact
  • Previous by thread: Re: Setting Finder Column width
  • Next by thread: Re: Setting Finder Column width
  • Index(es):
    • Date
    • Thread