title: Multi Clicks With the Same Keyboard Shortcuts to Run a Ahk Script
body: <p>I want to do Multi Clicks with the same Keyboard Shortcuts to Run a Ahk Script.</p>
  
  <p>I now in Autohotkey Languages, you can write a code that can execute a part of Code, if a certain Keyboard Shortcut combination is pressed. </p>
  
  <p>But i want on my Windows System, to Click a count of the same keystroke combinations to execute a part of Code.</p>
  
  <p>The pros are: you do not have to move your fingers to a other place on that keyboard, Click it again and it will run a other Code. (this will improve my keyboard Movements and i have more options to do keystrokes.)</p>
  
  <p>Example:</p>
  
  <p>Click -      Ctrl + (1x)c - to CopyText</p>
  
  <p>DoubleClick - Ctrl + (2x)c - to CopyText + GoogleSearch</p>
  
  <p>multiClick - Ctrl + (5x)c - ?</p>
  
  <p>If you look to this Example Script then you can see what i mean. </p>
  
  <p>(note - Hotkey > [^cc::] or hotkeystring > [:*:^cc::]- this does not work, is there another way to solved this)</p>
  
  <pre><code>; [+ = Shift] [! = Alt] [^ = Ctrl] [# = Win] 
  #SingleInstance force
  
  ;MultiClicks the Same Keyboard Shortcuts to Run a Ahk Script
  
  ;Click Ctrl + c to [copy text]
  ^c::
  send ^c
  ;msgbox script1
  return
  
  ;DoubleClick Ctrl + (2x)c  [copy text] + [do a google search]
  ^cc::
  send ^c
  sleep 200
  run https://www.google.com/?q=%clipboard%
  ;msgbox script2
  return
  
  ;MultiClicks Ctrl + (5x)c  to run script5
  ^ccccc::
  ;?
  ;msgbox script5
  return
  
  esc::exitapp
  </code></pre>