How to automatically click a certain button on the computer window?

Hello everyone! I want to click a certain button in a certain window on the computer screen at some future time point. I think it needs to first identify the position of the button based on its title, then click it at the set time, and perhaps also capture and save the interface picture after the click.

Is there an easy way to achieve this using Julia? Thanks!

what plotting package are you using? a MWE would help.

1 Like

There are tools for this (I forgot the name, but I used them years ago), but not specific to Julia…

1 Like
  • Xdotool for X11/Xorg

  • Autohotkey for Windows

1 Like

I also used Autohotkey on Windows some time back. I think I was using C#, or Ruby to call Autohotkey.

1 Like
  • Microsoft Power Automate on Win11

Finally I used this and reached my goal. Thank you and everybody here! :handshake:

1 Like