Search the Community
Showing results for tags 'many'.
-
I'm writing a script that uses a lot of specific mouse clicks to automate tasks on my browser, server system, and email software for work. Sometimes the system gets updated or someone drags a handle to the left or right and I have to put in new mouse click coordinates. It would be a lot more easy to label them and put them in some sort of ini file, but then i have to load every X and Y (and sometimes mouse speed) into a variable when loading the script. How would you guys go about such a script, any ideas on how to store and load lot's of click coordinates from a file? There are some pixel color checks, sleeps and other code between the mouse clicks too.. Ideas i had so far: - string replace new coordinates in the main script with another autoit script that uses a crosshair to show every mouse position. - manually write an ini file and load every X, Y, Speed into a huge number of variables: $Searchinput_X = iniread...., $Searchinput_Yiniread...., $Searchinput_Speed = iniread.... - split a textfile line by line into an array and ignore labels that begin with ";" for example (a bit like a custom ini file) These all seem somewhat tedious i guess..