gkra
By: a guest | Aug 16th, 2007 | Syntax:
AppleScript | Size: 0.30 KB | Hits: 465 | Expires: Never
tell application "System Events"
set currentapp to item 1 of (get name of processes whose frontmost is true)
end tell
tell application currentapp
tell front window
if zoomable then
if zoomed then
set zoomed to false
else
set zoomed to true
end if
end if
end tell
end tell