How to manually change window focus?

As marQs said.

Try this simple macro:

Devices - Mixer
Mixer - Link Channels
Project - Bring to front

Peter