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

Re: set width of column id name column to widthNameColumn


  • Subject: Re: set width of column id name column to widthNameColumn
  • From: Robert Poland <email@hidden>
  • Date: Mon, 13 Jan 2014 07:23:59 -0700

On Jan 13, 2014, at 2:12 AM, koenig.yvan <email@hidden> wrote:

>
> Le 13/01/2014 à 02:00, Robert Poland <email@hidden> a écrit :
>
>> 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
>
>
>
>
> I made tests with this one :
>
> 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"
> 	activate
> 	delay delayTime
> 	set my_chosen_folder to get folder of window 1 as alias
> 	delay delayTime
>
> 	delay delayTime
> 	tell window 1
> 		tell its list view options # set list widths
> 			delay delayTime
> 			set width of column name column to widthNameColumn
> 			delay delayTime
> 			set width of column modification date column to widthDateColumn
> 			delay delayTime
> 			set width of column 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
> 	tell window 1
> 		tell its list view options
> 			get width of column name column
> 			get width of column modification date column
> 			get width of column size column
> 		end tell # list view options
> 	end tell
> end tell # Finder
> beep
>
> and it behaved flawlessly.

Doesn’t affect "width of column name column” with any settings.

Why are you inserting "id" in your instructions supposed to trigger a property ?
> I never did that.

Have used it for years. Works both ways.

> Yvan KOENIG (VALLAURIS, France) lundi 13 janvier 2014 10:11:04

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


  • Follow-Ups:
    • Re: set width of column id name column to widthNameColumn
      • From: "koenig.yvan" <email@hidden>
References: 
 >set width of column id name column to widthNameColumn (From: Robert Poland <email@hidden>)
 >Re: set width of column id name column to widthNameColumn (From: "koenig.yvan" <email@hidden>)

  • Prev by Date: Re: set width of column id name column to widthNameColumn
  • Next by Date: Re: set width of column id name column to widthNameColumn
  • Previous by thread: Re: set width of column id name column to widthNameColumn
  • Next by thread: Re: set width of column id name column to widthNameColumn
  • Index(es):
    • Date
    • Thread