Nain57 / Smart-AutoClicker

An open-source auto clicker on images for Android
GNU General Public License v3.0
2.06k stars 362 forks source link

Adding formulas in variable and counter value dialogs #523

Open SlavaPVR opened 1 month ago

SlavaPVR commented 1 month ago

Describe the feature

Add the ability to use named variables in actions. And add two predefined variables, the found image by X and Y coordinates. This will close the gap in capabilities that many people need who need more complex automation actions. 1) working with long lists 2) using variables in formulas when describing actions, which will allow you to change the description of one variable in the script, rather than redoing the entire script that has a lot of actions.

This will allow us to process long lists that do not fit on the screen, viewed by scrolling the list, for example, when searching on the left side of the list (Screen), and all the buttons have the same appearance and are located on the right side of the list (Screen).

Describe the usage

We set the button press (click action), we write the formula, the found position by X and the offset plus or minus our value, which can be specified as a number or a variable (FoundX-50 or FoundX+MyOffsX), similarly along the Y axis.

Is it a duplicate?