Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement