Minimize all windows of an application?
Minimize all windows of an application?
- Subject: Minimize all windows of an application?
- From: Kevin Smith <email@hidden>
- Date: Mon, 14 Feb 2005 18:54:12 -0500
I can't seem to figure out how to minimize all the windows of an
application. I thought that the following command would work, but I
just get an error.
tell application "System Events"
set myapp to the name of the first process whose frontmost is true
set mywindows to every window of application process myapp
repeat with i in mywindows
set collapsed of i to true
end repeat
end tell
Kevin Smith
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden