title: How to interact with app under Wine using winedbg?
body: <p>I've run my app under Wine (<code>wine my_app.exe</code>) and I'd like to interact with it programatically or from the script.</p>
  
  <p>So I'm running <code>winedbg</code> and attaching to the process:</p>
  
  <pre><code>$ winedbg
  Wine-dbg&gt;info process
   00000008 3        'terminal.exe'
  Wine-dbg&gt;attach 8
  0xf7709c0e __kernel_vsyscall+0xe in [vdso].so: int  $0x80
  </code></pre>
  
  <p>but I'm not sure what to do next?</p>
  
  <p>Basically I want to send some keyboard or mouse signals to my app (aiming to select a checkbox and click the <em>Next</em> button).</p>
  
  <p>Is it something possible using the wine debugger?</p>
  
  <p>My goal is to automate this process in order to install the app from the script without any user interaction. Or at least know how to do it.</p>
  
  <p>I'm aware there is <a href="https://github.com/jordansissel/xdotool" rel="noreferrer">xdotool</a> tool which can fake input from the mouse and keyboard very easily from the command line, however it's a bit buggy, so I'd like to learn how to do it from the debugger.</p>