Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

iTunes zoom behavior and keyboard shortcuts Apps
iTunes' behavior when you click the green zoom button is unlike that of other Mac OS X applications. in iTunes, this control toggles between the big main window and the smaller control-only (or control-and-text) window. The same thing happens when you choose "Zoom" from the Window menu. However, if you hold down the option key when clicking the button or choosing the menu item, iTunes will zoom like other apps.

I wanted to be able to toggle from big to small window using the keyboard, so I assigned a keystroke (Command-Option-M in this case) to the Zoom menu item (through Panther's Keyboard & Mouse preference pane). However, when I went to try it out, to my surprise iTunes actually zoomed the window like normal apps. It took me a while to realize it was due to the Option key that was part of the shortcut. I reassigned the shortcut to Command-Shift-M, and now the window toggles correctly. However, Command-Option-Shift-M does not zoom the window, which is annoying.

So when you're assigning keyboard shortcuts to applications, watch out for behavior that changes with modifier keys.
    •    
  • Currently 1.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[11,843 views]  

iTunes zoom behavior and keyboard shortcuts | 5 comments | Create New Account
Click here to return to the 'iTunes zoom behavior and keyboard shortcuts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
iTunes zoom behavior and keyboard shortcuts
Authored by: rockman2023 on Feb 16, '04 01:09:06PM

I first tried using Option+1 for Zoom and it didnt work. I then tried F1, but that didnt work either. Finally, I tried your set and that works. Thanks.



[ Reply to This | # ]
iTunes zoom behavior and keyboard shortcuts
Authored by: jrcarroll on Feb 22, '04 03:11:06AM

This hint got me thinking about how I might Zoom the iTunes window with only a keystroke. The following script will toggle the window between the big main window and the smaller control-only (or control-and-text) window:

property BROWSER_WINDOW_LEFT : 2
property BROWSER_WINDOW_TOP : 22
property BROWSER_WINDOW_BOTTOM : 704

---------------------------------------

property okflag : false

-- check if iTunes is running
tell application "Finder"
if (get name of every process) contains "iTunes" then set okflag to true
end tell
if okflag then

tell application "iTunes"

if get minimized of browser window 1 is true then
set minimized of browser window 1 to false
set position of browser window 1 to {BROWSER_WINDOW_LEFT, BROWSER_WINDOW_TOP}

else if get minimized of browser window 1 is false then
set minimized of browser window 1 to true
set position of browser window 1 to {BROWSER_WINDOW_LEFT, BROWSER_WINDOW_BOTTOM}

end if

end tell

end if

I make it executable from anywhere in the system by assigning it a keystoke in Youpi Key.



[ Reply to This | # ]
iTunes zoom behavior and keyboard shortcuts
Authored by: dave1212 on May 16, '04 12:01:51AM

This works great. thanks a ton.

---
______
http://www.68kmla.ca/



[ Reply to This | # ]
iTunes zoom behavior and keyboard shortcuts
Authored by: maiklust on Feb 17, '04 08:37:50AM

Off topic: I was quite astonished when I read your hint. Because I had exactly the experiences that same day you found out about it. Ain't it funny?

Hehe, well, don't think that this is of general interest...



[ Reply to This | # ]
iTunes zoom behavior and keyboard shortcuts
Authored by: osxpounder on Feb 19, '04 05:17:26PM

I'm glad you mentioned this, because I keep surprising myself when I click on the green "+" button, expecting iTunes to resize like other windows do, only to find myself scanning the monitor, wondering where iTunes has gone.

On a side note, I tried modifier keys with the Windows version of iTunes 4.1, and I find that clicking the Maximize/Restore Size button with the SHIFT key held down will cause iTunes to behave just a typical Mac app's Zoom button works.

---
--
osxpounder



[ Reply to This | # ]