[Rép] Tiger sometimes fully expand a window: how do I resize it to be smaller ?
[Rép] Tiger sometimes fully expand a window: how do I resize it to be smaller ?
- Subject: [Rép] Tiger sometimes fully expand a window: how do I resize it to be smaller ?
- From: Yvan KOENIG <email@hidden>
- Date: Sun, 10 Sep 2006 15:39:32 +0200
Le 3 juil. 2006 à 08:47, Emile Schwarz a écrit :
…
The view is by Icons, 128 pixels, snap to grid, display infos and
preview file (instead of default application icon)...
Yes, you read correctly: "bounds:{0, 44, 1088, 2053}"; 1088 is OK
for a 1280 x 854 PowerBook 15" screen, but 2053 pixels tall is a
bit too much: nearly three times the available monitor height.
Since the 10.4 original bug on position and bounds have not been
corrected (even on Tiger 10.4.7!) more than 14 month after the
original release (original bug...), I have to ask here:
did you know how I can resize "to the original hardware screen" ?
Hello Emile
Thanks to Kai, I may pass what I found to be the easiest way to fit
your needs:
tell application "Finder"
set fenetre to window 1
set {bounds of fenetre, v} to {{0, 44,1088,800}, fenetre's toolbar
visible}
set {fenetre's toolbar visible, fenetre's toolbar visible} to {not
v, v}
end tell
With this trick, the window will get a normal size and the bounds
would be "registered" by the Finder.
Of course, it assumes that the odd window is at Front.
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