How can I supply text in textfield of desktop apps

image image

  • First find the field and click on it, so it gets the focus. For this, use XClick (image) or XClickRelative (image).

  • Use XType | hello world to send the text. The text goes to whatever field has the focus.

  • Use XType | ${KEY_TAB} to jump to the next input field.

If needed, you can use XRun to start the desktop app.

1 Like

You’ll need to download… to read text content from another application’s text box, which enumerates all the windows on the desktop Apps. Edit controls give text entry space, and users expect to be able to edit text anywhere in this area. We’ll go over the text positioning system here…