views:

203

answers:

3

Is there a way to write a script on windows to automatically run a Java GUI and place a file name in the text box? I don't have access to the source code of this GUI, so need an external tool to be able to automate this process. I would appreciate any recommendations for free tools or scripts which I can use.

+3  A: 

Try:

  1. AutoIt
  2. AutoHotKey
Bas Bossink
AutoIt rocks. +1
Zerofiz
A: 

Can you use the java.awt.Robot for this kind of thing?

oxbow_lakes
+2  A: 

You could also check out Marathon, an automation framework for Java GUIs. I've been able to get it to work with Java apps w/out access to their source, though it might be a little overkill for the task you are attempting :)

bedwyr
Looks good. Ill give it a try.
vivekian2