Re: Scripting Finder window column widths
Re: Scripting Finder window column widths
- Subject: Re: Scripting Finder window column widths
- From: Yvan KOENIG <email@hidden>
- Date: Wed, 21 Jun 2006 21:22:55 +0200
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:
This email sent to email@hidden