Display Pointer Location Toggle

dhj49er

Well-known member
If you use UI Integration to click at a point on the screen, you need to know the x and y values at the point of interest.
Display Pointer Location provides the x and y values as you move the Pointer around the screen. So is ideal to use. Unfortunately, the option to display Pointer Location is buried inside Developer Options in the Settings menu. This can be set using UI integration but requires several commands.
Fortunately the Pointer Location setting is a available to set via system settings. The attached macro provides the setting. This macro toggles the setting and is manually initiated.
This works on the Samsung s20 & Oppo find X2 phones I have tried. It may not work on every phone but its worth looking on your phone, as it saves a lot of time.
 
Last edited:

dhj49er

Well-known member
I did attach the macro via the attach files. Will see if i can edit the message and add the macro again.
 

dhj49er

Well-known member
I've just re-added the macro...but I can't see it.
Is this a bug or am I not adding the macro correctly?
 

dhj49er

Well-known member
No upload sadly and I also can't recreate the code despite trying.
I assume you know how to create a variable and can't recreate the system setting.
To create the system setting action
Click on Device Settings
Click on system settings
Click on system
Use the down arrow to navigate down a list of settings that opens up.
Click on pointer_location
Change the value from 0 to 1
Save the action.
That should enable to recreate the macro.
If you can't, please say what you have done and where you are having a problem, required in order to provide further help.
 

Dimlos

Well-known member
I have reproduced the macro on my end and uploaded the .macro file.
The macro was originated by @dhj49er.
 

Attachments

  • Pointer_location.macro
    3.6 KB · Views: 40
Last edited:

Endercraft

Moderator (& bug finder :D)
As @dhj49er wrote, it doesn't seem to work on all devices.
Or, verify that you use the helper, both MD and helper are excluded from battery optimization, generic failures...
Maybe the setting is different. In this case you have to go search for it yourself.
 
Top