change caps lock to another key

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
sebastianpardo9
Posts: 3
Joined: 17 Aug 2022, 20:32

change caps lock to another key

Post by sebastianpardo9 » 17 Aug 2022, 20:59

Hello, I'm Karen, I found this script in the forum but I would like that instead of (control) to activate and deactivate uppercase, I COULD USE F7 OR A LETTER OR ANY KEY to change uppercase or lowercase, how would I do it? use auto keys and fast keys

CapsLock::Ctrl
#If !GetKeyState("RAlt")
LCtrl::CapsLock
#If
👩👩💄

User avatar
mikeyww
Posts: 26888
Joined: 09 Sep 2014, 18:38

Re: change caps lock to another key

Post by mikeyww » 17 Aug 2022, 23:33

Welcome to this AutoHotkey forum!

Code: Select all

F7::CapsLock

User avatar
sebastianpardo9
Posts: 3
Joined: 17 Aug 2022, 20:32

Re: change caps lock to another key

Post by sebastianpardo9 » 18 Aug 2022, 07:56

Thank you, excuse me, could you help me, I need these two commands to work when I press the f7 key or insert in auto key, I take these commands from fast keys, I need them to work in auto key.

the function of this command is (double click)

SetMouseDelay, 2
Send, {VK01 down}{VK01 up}{VK01 down}{VK01 up}{VK01 down}{VK01 up}

the function of this other command is (paste format google docs)

{VKA2 down}{VKA4 down}{VK56 down}{VK56 up}{VKA2 up}{VKA4 up}

I would really appreciate it, women can also learn from this topic

💄 💅 👱‍♀️

User avatar
mikeyww
Posts: 26888
Joined: 09 Sep 2014, 18:38

Re: change caps lock to another key

Post by mikeyww » 18 Aug 2022, 08:29

What my script does:
I COULD USE F7 OR A LETTER OR ANY KEY to change uppercase or lowercase
You can try your own script to see how it works. In your posts, you can provide your script (use the code tag), a description of what happens when you run it, and a step-by-step, detailed explanation of what should happen instead. The following section of the documentation may assist you in building your hotkeys. https://www.autohotkey.com/docs/Hotkeys.htm

Also relevant: ClickSend

Post Reply

Return to “Ask for Help (v1)”