#WinActivateForce - Syntax & Usage | AutoHotkey

AutoHotkey

#WinActivateForce

Skips the gentle method of activating a window and goes straight to the forceful method.

#WinActivateForce

Specifying this anywhere in a script will cause commands that activate a window -- such as WinActivate, WinActivateBottom, and GroupActivate -- to skip the "gentle" method of activating a window and go straight to the more forceful methods.

Although this directive will usually not change how quickly or reliably a window is activated, it might prevent task bar buttons from flashing when different windows are activated quickly one after the other.

Related

WinActivate, WinActivateBottom, GroupActivate

Example

#WinActivateForce