Applescript Question

Kalcium

Registered
Anybody has tried to write a script with Applescript to minimize/maxmize any application window? The application I am using doesn't have shortcut key for minimizing or maximizing the window.

Thanx.
 
Try this;

tell application "Finder"
_ _ _ set collapsed of window "windowname" to true
end tell
=================


or this

tell application "QuickTime Player"
_ _activate
end tell
tell application "System Events"
_ _tell process "QuickTime Player"
_ __ _tell menu bar 1
_ __ __ _click menu item "Minimize Window" of menu "Window"
_ __ _end tell
_ _end tell
end tell
=======================

Substituting QuickTime
 
Back
Top