Description
The #UseExact system variable specifies if an exact match or a fuzzy match is used for window recognition.
Usage
Used to force an exact recognition of windows.
Syntax
#UseExact=0
#UseExact=1
Parameters
0: Uses fuzzy matching for window recognition (default).
1: Forces exact matching for window recognition.
Remarks
A window name can change between the time when the script was recorded and when the script is run. If #UseExact=1, WinTask will only find a window with exactly the same name and class as recorded. If it cannot find an exact match, an error message is displayed.
If #UseExact=0, WinTask looks for a window with nearly the same name and class before generating an error.
See also
UseWindow- Window not found error
Example
#UseExact=1
