Click event with custom coordinates

sousben

New member
I am trying to perform a click using variables for X and Y but the interface tells me I dont have integers variables to choose from when I clearly do...Screenshot_20221230-154353_MacroDroid.jpg
 

Snurre

Well-known member
You need some input in x and y, you could write a number or use a var
Some sort of data is needed
 

sousben

New member
Sure of cours, if you look at the bottom of the screenshot it says I dont have integer variables defined. Thats what I get when I click the 3 dots.
The issue is that I definitely have integer varables, but it doesnt let me choose it
 

Qarboz

Well-known member
Sure of cours, if you look at the bottom of the screenshot it says I dont have integer variables defined. Thats what I get when I click the 3 dots.
The issue is that I definitely have integer varables, but it doesnt let me choose it
Make sure they are integer variables (not float, not string, etc.)
Or you are trying to use variables defined by other macros? If so, you need to use global variables
 

sousben

New member
Make sure they are integer variables (not float, not string, etc.)
Or you are trying to use variables defined by other macros? If so, you need to use global variables
Of course I made sure to specifically select the integer type, and no, the variables are internal to the action block I am designing.
I tried setting output variables, input variables and working variables but none worked....
Does it work for any of you?Screenshot_20221231-182650_MacroDroid.jpg
 
Last edited:

Qarboz

Well-known member
Of course I made sure to specifically select the integer type, and no, the variables are internal to the action block I am designing.
I tried setting output variables, input variables and working variables but none worked....
Does it work for any of you?View attachment 4156
In fact it seems that in action blocks you can't use local variables as X Y coordinates in UI Interaction action, it's probably a bug.
Using global variables as "temporary" works, waiting for the bug to be fixed.

Test_UI.png
 
Top