title: AHK! Can't get "Ctrl+Q then K" Input to work (Shortcut in Q-Dir tool)
body: <p>Background: </p>
  
  <p>So I use the Explorer tool <a href="http://www.softwareok.com/?seite=Freeware/Q-Dir" rel="nofollow">Q-Dir</a> (link to homepage).</p>
  
  <p>In Q-Dir you can bookmark folder you want to access regularly.
  You can shortcut to those bookmarks by pressing Ctrl + Q. This opens a jumplist of your bookmarked folders.  </p>
  
  <p>So I want to open my projects folder which is named "Kundenprojekte" (customer projects).
  Pressing "K" while said jumplist is open, opens this folder in the current tab.</p>
  
  <p>So my problem occurs here:</p>
  
  <p>This whole process is what I want to map with AHK to let's say WinKey + B.</p>
  
  <p>This is my code so far:</p>
  
  <pre><code>#b:: 
  qdirId := WinExist("Q-Dir 5.98.9") ; I don't know if this works I got some 
                                     ; inspiration by another AHK script
  if (qdirId = 0) {
      MsgBox Q-Dir ist nicht geöffnet. ; Q-Dir is not open.
  IfWinExist, "Q-Dir 5.98.9"
  {
      WinActivate, "Q-Dir 5.98.9" ;I know this doesn't work plz help
      SetKeyDelay 10,1000
      Send, ^{Q}
      SetKeyDelay, 10
      Send {K}
      return
  } 
  }
  return
  </code></pre>
  
  <p>Yes , so far there is no "else" to IfWinExist. And I don't think there will be because I would need to run Q-Dir as administrator (due to UAC preventing writing operation to my C: drive) But that is of no concern (because I usually start Q-Dir as my first programm after booting).</p>
  
  <p>The main issue  I have is getting "send Control + Q" then "K" to work.</p>
  
  <p>I got it to send "K" but not once was "Ctrl + Q" recognized.</p>
  
  <p>Any idea what I do wrong?</p>
  
  <p>Thank you in advance :)</p>