简体   繁体   中英

Combination keys (Ctrl + Alt + F6) AutoIt X3

I am trying to send a key stroke to my application. I can send keystrokes like F3 , F2 but I am unable to send combined keystrokes. This is the code im using to send a keystroke :

 ControlSend(strings.TerminalName, "", "SysListView321", "^!{F6}");

as I know:

^ = ctrl
! = alt

I don't know where I'm going wrong.

Thanks in advance.

I got the answer

this code

  ControlSend(strings.TerminalName, "", "SysListView321", "^!{F6}");

should be changed to this

  ControlSend(strings.TerminalName, "", "SysListView321", "^!!{F6}");

I needed to send double !!.. :-)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM