
After this the program stops till I press OK, but continues to work after pressing. This is no problem for me if sometimes this happens, but problem, if the program stops.
Can I check if the variable is number? I can check if the variable is assigned by "Assigned", but if my mouseclick take text data, the Assigned function give TRUE, and the script continues and stops on IF condition when comparing the variable with number.
Also, maybe there is some way to prevent from these messages to appearing and the script from stopping? There is no problem if one iteration of my script is bad, the next one will surely take good data, and the program will run correctly.