Show / Hide Table of Contents

Method TriggerScopes.Windows


Overload

Sets scope "only these windows". Hotkey, autotext and mouse triggers added afterwards will work only when one of the specified windows is active.

public TriggerScope Windows(params wndFinder[] any)
Parameters
any  (wndFinder[])

Specifies windows, like new("Window1"), new("Window2").

Returns
TriggerScope

Returns an object that can be later passed to TriggerScopes.Again to reuse this scope.