title: Interacting with other applications (like clicking a button)
body: <p>I'm trying to automate many repetitive tasks at work and this small problem got me stumped.</p>
  
  <p>We are using an application for printing out labels for online-orders, the process is like this.</p>
  
  <ol>
  <li>Click the order</li>
  <li>Check order details and Click "Finish"</li>
  <li><em>5 seconds of the program calculating</em></li>
  <li>Confirm that you wish to print the label</li>
  <li>Label prints and you're done</li>
  </ol>
  
  <p>On busy days we gotta go trough this process for over 500 orders, because this task consumes a lot of useless time because of step 3. The user has to wait those 5 seconds before being able to click the Print button. Let's say we have 500 orders, that's 500 times 5 seconds, that's about 40 minutes. The entire sending process costs 2 hours, so 33% of all time is lost because of people waiting to click the button.</p>
  
  <p>I'm trying to find a way to automate step 4 so users can stop interacting with the application after completing step 2. </p>
  
  <p><strong>So is there a way using C# to click a button in another form from a different application?</strong> The event has to trigger when the confirmation screen pops up. Note that this confirmation screen is not the default windows printing dialog, but a part of the application, so no messing with the preferences.</p>