I'm wondering whether there is a way to write code for Mac OS 10.5 which will minimize and restore a window. What language would it be in? Could someone please give me an example or direct me to documentation on Apple's developer site I should look at?
Thanks!
Minimize a window: Click the yellow minimize button in the top-left corner of the window, or press Command-M.
Hold down the "Shift" key while you click on a document's minimize button or the Dock icon for a minimized document. The window vanishes and appears in animated slow motion.
Try this applescript:
tell application "Safari"
set miniaturized of window 1 to true
end tell
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With