title: AutoHotKey to focus a Form in Microsoft Access 2010/2013
body: <p>I would like to use AutoHotKey to bring an access database to the screen, then take focus on one form (the form is open, but there will always be multiple other forms open at the same time, additionally, the form in question could be stacked at the bottom) and then the rest can be done with custom shortcuts that only work in this form.</p>
  
  <p>I am also open for other solutions to do the same job, mouse clicks is also a possibility but forms are not always in the same place on different computers and they can also be moved during a session.</p>
  
  <p>This is what I have been testing so far: </p>
  
  <p>Bring up the database with <code>IfWinExist, [title of window]</code></p>
  
  <p>Then I tried using <code>ControlFocus, [ControllerName]</code></p>
  
  <p>That did work, but the controllername changes depending on what other forms are open and in which order they where last clicked on.</p>
  
  <p>I have made a screenshot:</p>
  
  <p><img src="https://i.stack.imgur.com/mOzcK.png" alt="enter image description here"></p>
  
  <p>Any help would be nice, my main problem is that I do not know what AHK can do and therefore I feel very limited.</p>