title: How to click a button using a batch file?
body: <p>I need to click a button called "save" in a Adobe Air application called Arthropod. I can launch the app in the bat file with this:</p>
  
  <pre><code>cd C:\Program Files\Arthropod
  start /w Arthropod.exe
  </code></pre>
  
  <p>Once it pops up there is a save button on the UI. How can I click it with the bat file?</p>
  
  <p>I was reading this:</p>
  
  <p><a href="http://www.ehow.com/how_7788761_press-buttons-batch-file.html" rel="noreferrer">http://www.ehow.com/how_7788761_press-buttons-batch-file.html</a></p>
  
  <p>which showed how to simulate clicks to the file menu and other tabs in MS Word but how does one do this on any other button?</p>
  
  <p>P.S. the text on the button is "Save" that's the only unique identifier I can think of for that button. Is there anything is batch where I can say something like (pseudo code):</p>
  
  <pre><code>$('button[text="Save"]').click();
  </code></pre>