• 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
set width of column id name column to widthNameColumn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set width of column id name column to widthNameColumn


  • Subject: set width of column id name column to widthNameColumn
  • From: Robert Poland <email@hidden>
  • Date: Sun, 12 Jan 2014 18:00:59 -0700

Hi,

Anyone have a clue on how to set the “column id name column” Width in Mavericks?

Here’s my try.

No value works for widthNameColumn. set column id modification date column  and set width of column id size column work fine.

Excuse the many “delay delayTime”.

set delayTime to 0.1
set widthNameColumn to 100
set widthDateColumn to 223 # size for month, day, year, time
delay delayTime
set widthSizeColumn to 97 # size for delayTimexx.x MB
delay delayTime

tell application "Finder"
	delay delayTime
	set my_chosen_folder to get folder of window 1 as alias
	delay delayTime
	activate
	delay delayTime
	tell window 1
		tell its list view options # set list widths
			delay delayTime
			set width of column id name column to widthNameColumn
			delay delayTime
			set width of column id modification date column to widthDateColumn
			delay delayTime
			set width of column id size column to widthSizeColumn
			delay delayTime
		end tell # list view options
		close # be sure that window view is updated
	end tell # window 1
	delay delayTime
	open folder my_chosen_folder
end tell # Finder
beep


Robert Poland
iMac,  Late 2013, 14,2
 3.2 GHz Intel Core i5 27"
 16 GB Ram
 1TB Fusion HD
 OS X 10.9.1

 _______________________________________________
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


  • Follow-Ups:
    • Re: set width of column id name column to widthNameColumn
      • From: "koenig.yvan" <email@hidden>
    • Re: set width of column id name column to widthNameColumn
      • From: Christopher Stone <email@hidden>
  • Prev by Date: Re: mounting Network (NAS) drive
  • Next by Date: Re: set width of column id name column to widthNameColumn
  • Previous by thread: Re: mounting Network (NAS) drive
  • Next by thread: Re: set width of column id name column to widthNameColumn
  • Index(es):
    • Date
    • Thread