• 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 size column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set width of column id size column


  • Subject: Re: set width of column id size column
  • From: rpoland <email@hidden>
  • Date: Tue, 03 May 2016 11:32:52 -0600
  • Z-usanet-msgid: XID485uecRG22256X33

> On May 2, 2016, at 3:22:PM, Yvan KOENIG <email@hidden> wrote:
>
>
>> Le 2 mai 2016 à 23:04, rpoland <email@hidden> a écrit :
>>
>>
>>> On May 2, 2016, at 2:51:PM, Yvan KOENIG <email@hidden> wrote:
>>>
>>>
>>>> Le 2 mai 2016 à 19:40, rpoland <email@hidden> a écrit :
>>>>
>>>>
>>>>> …
>>>>
>>>> Thanks Yvan,
>>>>
>>>> I noticed that you changed 180 to 80.
>>>>
>>>> When I run the script the width changes to 80 regardless what the width is set to AND regardless whether I use or don't use ID.
>>>>
>>>
>>> I used different values to check that it worked.
>>>
>>> Here is the full script which I used :
>>>
>>> tell application "Finder"
>>> 	set theFolder to target of window 1 as alias
>>> 	tell list view options of window 1
>>> 		get width of column size column # for test only
>>> 		set width of column size column to 280
>>> 	end tell
>>> 	close window 1
>>> 	open theFolder
>>> 	tell list view options of window 1 # for test only
>>> 		get width of column size column # for test only
>>> 	end tell # for test only
>>> end tell
>>>
>>> and here is the events log.
>>>
>>> tell application "Finder"
>>> 	get target of window 1
>>> 		--> alias "SSD 500:Users:userName:Desktop:Import:"
>>> 	get width of column size column of list view options of window 1
>>> 		--> 80
>>> 	set width of column size column of list view options of window 1 to 280
>>> 		--> 280
>>> 	close window 1
>>> 		--> {}
>>> 	open alias "SSD 500:Users:userName:Desktop:Import:"
>>> 	get width of column size column of list view options of window 1
>>> 		--> 280
>>> end tell
>>>
>>>
>>> In your original message you wrote that your script failed with an error message.
>>> As I saw an anomalie in the main instruction, I directly ran the script without « id » and it worked.
>>> So I thought that the extraneous « id » was the wrongdoer.
>>>
>>> After reading your late message, I added « id » for see.
>>> The script worked flawlessly so, this extraneous « id » wasn’t the wrongdoer and I have no idea of what what the real one.
>>>
>>>
>>> Yvan KOENIG running El Capitan 10.11.4 in French (VALLAURIS, France) rundi 2 mai 2016 22:50:01
>>
>> Regardless of what the events log says the size column MEASURES 85, not 280.
>>
>> Robert Poland
>> Fort Collins, CO
>>
>
> Right - but wrong.
>
> On my machine, the script continue to state 280 but the width is 110 which is the greater value which I can set by hand too.
> To be precise, here, the width is constrained between 75 and 110.
> A date column is constrained in the range 100 thru 350.
> A Type column is constrained in the range 60 thru 200.
> As a collateral effect, running the script changes the width of the column Name so that the entire width of the window is used by the different columns.
>
>
> Yvan KOENIG running El Capitan 10.11.4 in French (VALLAURIS, France) lundi 2 mai 2016 23:22:42

I trashed the com.apple.finder.plist and the scripts seem to behave for now.


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: 
 >set width of column id size column (From: Robert Poland <email@hidden>)
 >Re: set width of column id size column (From: Yvan KOENIG <email@hidden>)
 >Re: set width of column id size column (From: rpoland <email@hidden>)
 >Re: set width of column id size column (From: Yvan KOENIG <email@hidden>)
 >Re: set width of column id size column (From: rpoland <email@hidden>)
 >Re: set width of column id size column (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: set width of column id size column
  • Next by Date: Photos: apply keyword to multiple selection
  • Previous by thread: Re: set width of column id size column
  • Next by thread: Photos: apply keyword to multiple selection
  • Index(es):
    • Date
    • Thread