title: Click GUI Button From Bash Script
body: <p>I am trying to make a bash script to install command line tools for OSX Mavericks. Following the tutorial <a href="http://www.computersnyou.com/2025/" rel="nofollow">here</a> it says to type <code>xcode-select --install</code> from terminal. Putting it into a bash script would look like this:</p>
  
  <pre><code>#!/bin/bash
  
  xcode-select --install
  </code></pre>
  
  <p>I want to automate this even further to require minimal human input, is there a way to have the bash script click on the 'install' button (step 4) that pops up afterwards?</p>