sajad torkamani

Assuming you have two instances of an application open, you can press Cmd + ~ to switch between them.

This is especially useful for scenarios like: