Sometimes it is necessary to deactivate the window of the game or browser in which the bot works for its correct operation.
You can place some other window on top of this window by giving it focus, but it's not convenient ..
enabledeactive turns on the tracking of the desired window and as soon as it becomes active it deactivates it. operates until you call disabledeactive . In this case, the mouse clicks into this window, after which the window again becomes inactive.
syntax
Цитата: enabledeactive (w);
takes a pointer not a window.
returns 1 for luck
0 with no luck.
Цитата: disabledeactive (w);
disabledeactive ();
takes a pointer to a window, which should be disabled, or does not accept parameters. then all tracking will be disabled.
returns 1 for luck
0 with no luck.
the pointer to the main window ..
----- The Visual Code Editor is Kibor. Creating bots without knowledge of programming.
Learning function for recognizing text.
----- |