#WinActivateForce

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

#WinActivateForce

 

Parameters

None

 

Remarks

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.

Windows 95 and NT will probably never need this setting since they are more permissive about allowing windows to be activated.

 

Related

WinActivate, WinActivateBottom, GroupActivate

 

Example

#WinActivateForce