container window
container window
- Subject: container window
- From: david <email@hidden>
- Date: Wed, 01 Oct 2003 08:49:04 -0600
Is there a way to set the container window position and size without opening
it first?
I read that there is a folder window property, but can't seem to get at it.
Here's what I have working in os9 (I need to keep this one in 9).
--
set foldername to "jibberish"
if not (exists folder foldername of desktop) then
make folder at desktop with properties {name:foldername}
set preflightpath to (path to desktop as text) & foldername & ":" as alias
make folder at folder preflightpath with properties {name:"Customer"}
make folder at folder preflightpath with properties {name:"Working"}
else
display dialog "A folder by that name already exists." buttons {"Sorry"}
end if
--the following is the part I want to change--
open preflightpath
set view of container window 1 to name
set position of container window 1 to {711, 187}
close container window 1
open ((preflightpath as text) & "Working" & ":") as alias
set view of container window 1 to name
set position of container window 1 to {711, 187}
close container window 1
open ((preflightpath as text) & "Customer" & ":") as alias
set view of container window 1 to name
set position of container window 1 to {711, 187}
--
Any help would be appreciated.
_______________________________________________
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.