Re: container window
Re: container window
- Subject: Re: container window
- From: Rob Jorgensen <email@hidden>
- Date: Wed, 1 Oct 2003 16:07:17 -0400
At 12:17 PM -0700 10/1/03, Walter Ian Kaye wrote:
At 08:49a -0600 10/01/2003, david didst inscribe upon an electronic papyrus:
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.
If the window is not open, then it doesn't exist.
You cannot set properties of an item that doesn't exist.
The only *theoretical* alternative would be to modify the data on
disk, but Finder keeps all that hidden. I don't know, maybe it's in
a .plist somewhere, like com.apple.finder.preferences?
This works for me on OS X 10.2.8 even when the window isn't open.
set container_ to "path:to:container:"
tell application "Finder"
set position of container window of alias container_ to {100, 200}
end tell
-- Rob
_______________________________________________
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.