Sign in to follow this  
Followers 0
cappy2112

HotKEy Help

7 posts in this topic

I want to set Ctrl-X and Ctrl-C hotkeys, but can't find any example in the help for HotKey(), Send(), or in the appendix, on how to set a hotkey using Ctrl and another ascii character (in my case, x or c)

Would someone show me what I'm missing?

Share this post


Link to post
Share on other sites



I want to set Ctrl-X and Ctrl-C hotkeys, but can't find any example in the help for HotKey(), Send(), or in the appendix, on how to set a hotkey using Ctrl and another ascii character (in my case, x or c)

Would someone show me what I'm missing?

Did you look at Send Key List? There's a long list of the keys that can be used for Send()/HotKeySet().


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

I want to set Ctrl-X and Ctrl-C hotkeys, but can't find any example in the help for HotKey(), Send(), or in the appendix, on how to set a hotkey using Ctrl and another ascii character (in my case, x or c)

Would someone show me what I'm missing?

then use this script

$search = "send"
Run("C:\Program Files\AutoIt3\Autoit3Help.exe")
WinWaitActive("")
Send("!s")
Send($search)
Send("!l")
Send("!d")

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Did you look at Send Key List? There's a long list of the keys that can be used for Send()/HotKeySet().

Yes, but most are single keys, except for ctgrl-break.

I didn't see any for Ctrl + an alpha key

Share this post


Link to post
Share on other sites

then use this script

$search = "send"
Run("C:\Program Files\AutoIt3\Autoit3Help.exe")
WinWaitActive("")
Send("!s")
Send($search)
Send("!l")
Send("!d")

8)

! is alt, ehh?

Whats' the $search = "send" and !L !D all about?

Share this post


Link to post
Share on other sites

! is alt, ehh?

Whats' the $search = "send" and !L !D all about?

just try the script ( run it in SciTE )

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0