Re: Adjusting properties of container window
Re: Adjusting properties of container window
- Subject: Re: Adjusting properties of container window
- From: Roger_Jolly <email@hidden>
- Date: Tue, 23 Jul 2002 15:50:50 +0200
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
on 23-07-2002 12:03, Michiel (werk) at email@hidden wrote:
>
When I open a folder I use:
>
Set view of container window of folder "test" to name
>
set size of container window of folder "test" to {211,556}
>
set position of container window of folder "test" to {582,45}
>
to adjust the folder.
>
>
>
The question:
>
Can I do this in one line?? Something like:
>
set properties of container window to {view:name}
>
>
This line won't work. But can someone give me a hint??
>
>
Michiel de Leeuw van Weenen
>
The Netherlands
>
_______________________________________________
>
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.
_______________________________________________
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.