Re: Adjusting properties of container window
Re: Adjusting properties of container window
- Subject: Re: Adjusting properties of container window
- From: "Michiel (werk)" <email@hidden>
- Date: Tue, 23 Jul 2002 16:21:14 +0200
Roger,
This works in OS 9 (when I change current view to view )
tell application "Finder"
set view of container window of folder "test" to name
set bounds of container window of folder "test" to {20, 100, 200, 300}
set position of container window of folder "test" to {100, 100}
end tell
But this gives an error -----({view:name, bounds.....etc.......,100}} cant
be ?? to properties of container window of folder "test".---- (The ?? are
displayed in dutch and I don't know the English word for it)
tell application "Finder"
set properties of container window of folder "test" to {view:name,
bounds:{20, 100, 200, 300}, position:{100, 100}}
end tell
???
Michiel
Roger wrote:
Hi Michiel,
Shouldn't you just include of folder "test" in your lines?
set properties of container window of folder "test" to {view:name}
I couldn't check in OS 9 but in OS X, this is equivalent:
tell application "Finder"
set current view of container window of folder "test" to icon view
set bounds of container window of folder "test" to {20, 100, 200, 300}
set position of container window of folder "test" to {100, 100}
end tell
tell application "Finder"
set properties of container window of folder "test" to {current
view:icon view, bounds:{20, 100, 200, 300}, position:{100, 100}}
End
Hope this helps,
Groeten :-)
Roger
_______________________________________________
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.