How to clear desktop text box/element using Offsets

 

Suppose we want to clear the Run text box on Windows (WIN +R) but it does not always show the same content, so defining a Desktop Locator may not find the correct element. In such case, we can use Desktop_Clear command to use a static object that does not change place (such as Open: label) and use Offset fields to move from this static object to the text box.

mceclip1.png

Procedure: Define a step that opens Run using Desktop_Hotkeys (Win + R). Then define a step that uses Desktop_Clear command. In the Reference Point, define a Desktop Locator for Open: label. Afterwards, you can specify the Offset where X controls horizontal scope and Y controls vertical scope. Let’s use 60 horizontal offset points. Your steps will look like this:

mceclip0.png
 

The following video demonstrates this scenario:

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.