setting window bounds/position of folder
setting window bounds/position of folder
- Subject: setting window bounds/position of folder
- From: "Bhanja, Sanjeeb" <email@hidden>
- Date: Thu, 19 Jun 2003 21:48:33 +0530
I'm trying to set the size/positon of a given folder
following is my code which records the position of window of a folder
and tries to set that location to another folder window so that both have
same window position/bounds.
But it does not set the height of both the windows equally.
Please run this script to understand my problem.
Any solution or suggestion is most welcome.
**************************************************************
tell application "Finder"
set F1 to "10.2.1:Users:ibook:Desktop:TestFolder:F:F1"
set F2 to "10.2.1:Users:ibook:Desktop:TestFolder:F:F2"
set {l, t, r, b} to (get bounds of window of folder F1)
set bounds of window of folder F2 to {l, t, r, b}
open container window of folder F1
open container window of folder F2
end tell
**************************************************************
Regds,
Sanjeeb.
_______________________________________________
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.