![Image](http://ww2.sinaimg.cn/large/006HJ39wgy1feicmhzb5xg308h05ewh1.gif)
But through the following code, we can not activate the menu: Why?
Code: Select all
^+c :: Send {Alt}
① I Googled "ctrl send alt AutoHotkey", did not find the answer
② Try sendplay sendevent, not working too
③ Try #UseHook, not working
④ Try BlockInput to shield the impact of ctrl and shift, not work:
Code: Select all
^+c ::
BlockInput, On
Send {Ctrl Up}{Shift Up}{c Up}
Sleep 50
Send {Alt}
BlockInput, Off
Return
Code: Select all
^+c :: Send {LAlt Down} ef {LAlt Up}
- what cause the difference between Send {Alt} and pressing the Alt key using hand? Windows API RegisterHotkey() don't support it?
- How does AutoHotkey activate the response of the menu bar in the GIF shows?
![Smile :)](./images/smilies/icon_e_smile.gif)