How can you toggle between two windows of an application without cycling?

I actually like that command-tab cycles through apps, and command-` cycles through open windows of an application HOWEVER, what I don't like about command-` is that it does not follow the same behavior that command-tab does...

That is I don't want to start out always cycling on each hit of ` - I'd like it to start out by first toggling back to the last open window then start cycling if need be.

For example, if you have 5 TextMate (or any editor windows open). You are on editor window 3 and then you command-` to editor window 5. You release from command-`. The next press of command-` should not cycle you to the next window! It should cycle you first back to window 3. command-tab does not behave this way. How can I get command-` to behave (in my opinion) 'correctly'

Mac Book Pro 17'', Mac OS X (10.4.8)

Posted on Jun 3, 2009 1:20 PM

Reply
16 replies

Jun 3, 2009 4:33 PM in response to bdmarsha

Ok, unless I'm missing something the behavior you are describing 'sort of' works - I say sort of because for it to work you seem to have first manually select the other file by clicking on it and then you can toggle back and forth using command` and command-shift-`

But what about the typical way I'd be using it, which is what one does when cycling through apps with command-tab... Say you are working on File 4 (of 5) you then cycle through with command-` to File 2. You do some work on File 2. I'd 'expect' a way to just toggle back to File 4 since that was the last one I was working on, yet command-shift-` doesn't seem to work in this case.

Again, maybe I'm missing something. Make five text files and name them file 1, file2, etc. and try it. Hopefully it's just something I'm not doing correctly. In the meantime, I guess I'll use expose to pick my second file I want to toggle between and then use the aforementioned suggestion.

Jun 3, 2009 7:01 PM in response to rickcr

You are correct. The file windows that you can toggle between using the command key sequences must be adjacent to each other in the stacking order. If you make five files in sequence, you will need to position the windows that you wish to toggle between so that one is directly on top of the other in the stacking sequence. But it does work.

bd

Jun 4, 2009 8:06 AM in response to Barney-15E

Think how inefficient that is to use exposé for toggling between two files? You wouldn't even be toggling you'd be 'viewing and clicking' That's horribly inefficient imo.

I want a fast way to simply toggle between two files like you can on linux and (uggh) windows.

Right now the best options seem to be:

1) My favorite so far is to move the two files I want to toggle between to a new space and then I can toggle between them since only two are opened on the new space and command-` seems to respect only the windows in the active space.

2) Do what the previous poster mentioned about stacking the files that I need to toggle between so that one is right after the other. (This is a pretty good option as well, but I find it easier to just toggle with once key stroke instead of having to remember which is back and which is forward to toggle - in fact at that point is not really a toggle but simple movement.)

3) Install "witch" which is 'ok', but as far as I can tell you give up the use of command-` and everything becomes a toggle using only command-tab. (I sort of like command-` I just wish it behaved like command-tab within windows of an application.)

Jun 5, 2009 5:08 PM in response to rickcr

F10, arrow keys, spacebar. There's a few keystrokes.
If you're selecting with the mouse, you've already got that in your hand. Click, hold, drag to hot-corner or F10, hover over window, drop. I guess I don't see how that is any slower, especially if you are selecting with the mouse. If you're selecting with the keyboard, that is most likely slower than using the mouse.

Jun 5, 2009 8:46 PM in response to Barney-15E

I'm not using the mouse. I want to 'toggle' between two files using the keyboard. (Think of the concept of toggling between two apps - you would use command-tab to switch over to one app - then press control-tab again and you are back to the other app you were on. You can keep doing this. However, you can't do this within files using command-` The behavior is different.)

I don't want to press F10 and use arrow keys that's not toggling and way too slow. (Again I do have a somewhat adequate solution as provided by moving the two files over to a new space then I can toggle with command-`)

Expose is SLOW for toggling.. .remember I'm TOGGLING - that means going back and forth between two files. In Expose I'd have to keep arrowing over to the file I want... way too slow.

Jun 12, 2009 5:50 PM in response to rickcr

alright as a pc user who has recently switched to mac i understand your frustration but you are being a little bit rude to the people who are just trying to help you.

to solve you're problem you need to use:
command tab (which you know) to switch between programs

to "quickly" switch between open windows of the same application you need to use command + `

i know you probably want an even faster way, but this is as good as it gets so suck it up, you don't have to use the mouse or anything and after a bit of time you're fingers will just know what combo of commands to use when

Jun 12, 2009 8:59 PM in response to dance_247_dance

I'm not trying to be rude, seriously I'm not. It just seems like bdmarsha and a couple others are the only one that understood what I was concerned with. And again, I have a solution (as provided by bdmarsha I believe), that seems to be ok for the situation (move the two files I want to toggle between to a separate space then command-` will act as expected.)

I'm not trying to be rude to you either, but either A) I obviously am not explaining the behavior I'm expecting well enough or B) you yourself did not even read the original post, since if you read the post you wouldn't need to mention about using command-` since I'm well aware of what it does. But command-` ONLY cycles and does not toggle.

All I'm saying is it would be nice if command-` behaved like command-tab does in regard to HOW it switches. "Cycling" is not toggling. When you press command-tab once the first application that is brought up is the LAST one you were just using. Command-` does not work this way within the files that are open - it ONLY cycles.

Sounds like you're the one being rude when you say "suck it up." I was very thankful to the people that have helped and I've marked their responses as "helpful." The person who keeps mentioning use Expose and then point and click with the mouse or use arrows was suggesting something, that if they read the post, had nothing to do with what I wanted - which was a fast way to toggle between two open files.

Again, this isn't that big a deal and I'm trying to drop this conversation (unless someone knows of some hacker app that can change it - in which case please let me know.) Would I like the behavior of command-` to be different.. sure.. am I going to give up my Mac... NEVER:) I love this thing. Best OS I've ever used. Is it perfect.. no, but nothing is. (My bigger beef is with a dual monitor display I think the main app tool bar should at least be copied to the other monitor display. I hate having to go over to the other monitor display to get to an application's menu.)

I apologize for any rudeness that came across. It's difficult often in text messages to convey certain things, and I didn't want to seem ungrateful.

Group hug:)?

Jun 12, 2009 10:31 PM in response to rickcr

There are actually 3 separate methods being intermingled here (or should I say inter-mangled): expose, spaces, and hot corners. You have the ability to personalize these features and assign short cuts that make sense to +your way of thinking+ and that works well for how +your fingers type.+ You just have to +wrap your mind+ around a different way of doing things that ultimately takes just as few keystrokes as anything else you have used. After all if it meets your needs and accomplishes your goal it doesn't really matter what we call it.

1. Spaces - You can set up any number of virtual desktops, that can be accessed by a short cut you assign. So if I have 4 text documents open, I can put each in a virtual desktop. I can cut and paste to my hearts delight between any of these documents by using the control key along with the arrow key (or whatever +you assign+) to go to any of the 4 documents. It's as easy as walking, step to the side, step back; step forward, step back. Toggle Up or Down or Side, Toggle,Toggle,Toggle.
2. Expose - Although System Preferences says "Instantly Access any open window in a single keystroke", I don't find it to be true and it doesn't really work so well for your request (in my opinion)
3. Hot Corners - On a MacBook Pro, this is slick. Slide your thumb/finger to any corner of your screen (you decide), see just your app windows, slide to one. Once you get used to this, it's just as quick as a keystroke short cut (and in my opinion way more useful overall).

Also - I am certain I've seen a window mgmt program that does what you want, I'll see if I can find it. If you like I could let you know. Bear in mind, I'm new here, so I'm not really sure how to do that.

Good Luck.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can you toggle between two windows of an application without cycling?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.