Re: Adjusting properties of container window
Re: Adjusting properties of container window
- Subject: Re: Adjusting properties of container window
- From: Nigel Garvey <email@hidden>
- Date: Thu, 25 Jul 2002 17:57:28 +0100
"Michiel (werk)" wrote on Thu, 25 Jul 2002 12:52:24 +0200:
>
This really works!
>
Also thanks for you explenation......
>
>
Only one thing......
>
I hoped that it also get faster but that isn't true.
>
Nigel wrote:
>
tell application "Finder"
>
tell container window of folder "test" to set {view, bounds,
>
position} to {1, {20, 100, 200, 300}, {100, 100}}
>
end tell
Sorry the speed's a disappointment. ;-) Where this sort of 'tell'
construction really pays off is when, say, you need to adjust the
properties of *several* windows to similar settings. Instead of looping
through them individually, you can write something like this:
tell application "Finder"
tell container window of every folder of the selection
open
set {view, bounds, position} to {1, {20, 100, 200, 300}, {100, 100}}
close
end tell
end tell
NG
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.