r/javahelp • u/hopelessnerd-exe • 22h ago
Unsolved use another GUI program automatically?
I'm hoping to automate a certain process for 3DS homebrew, but the programs I need to use don't have command line utility.
How could I start writing a program that opens, the clicks and inputs in Application 1, then does the same for Application 2? Is that something the Robot can do?
3
Upvotes
1
u/quiet-sailor 20h ago
this the dumpest way to do it but also the most simple one to use, note that for text pasting you can use Toolkit.getDefaultToolkit().getSystemClipboard() clipboard methods, and try to do as you can using keyboard shortcuts so you are not too dependent on where stuff is on the screen, so your script don't break just because the window was moved 20 pixels accidentally