Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Finder window column widths



Hello

with this short script you will get the needed infos.

set monDossier to "Macintosh HD:Users:yvankoenig:Desktop:AbandonWares:"
(* of course change it to an existing folder open in list view *)
tell application "Finder"
	set la_fenetre to window of (monDossier as alias)
	get properties of la_fenetre
	get name of every column of list view options of la_fenetre
end tell


The history displays:

tell application "Finder"
get window of alias "Macintosh HD:Users:yvankoenig:Desktop:AbandonWares:"
Finder window id 45
get properties of Finder window id 45
{class:Finder window, id:45, name:"AbandonWares", position:{265, 430}, bounds:{265, 430, 1040, 815}, index:1, zoomed:false, closeable:true, titled:true, floating:false, modal:false, resizable:true, zoomable:true, visible:true, collapsed:false, target:folder "AbandonWares" of folder "Desktop" of folder "yvankoenig" of folder "Users" of startup disk, current view:list view, icon view options:icon view options of Finder window id 45, list view options:list view options of Finder window id 45, toolbar visible:true}
get name of every column of list view options of Finder window id 45
{name column, modification date column, creation date column, size column, kind column, label column, version column, comment column}
end tell



Yvan KOENIG

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden
References: 
 >Scripting Finder window column widths (From: Errol Sayre <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.