Use a caret ^ as a command Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Nathnos

Use a caret ^ as a command

17 Mar 2018, 12:53

Hey !
I just wanted to know if it's possible to use a caret ^ as a command (plus, I have to press 2 times this button to have one caret). It would be useful.
Thanks in advance !
User avatar
Nwb
Posts: 444
Joined: 29 Nov 2016, 08:56

Re: Use a caret ^ as a command

17 Mar 2018, 13:08

I'm assuming you mean whether you can use ^ as a hotkey. Yes you can. Use +6:: (that would be shift+6 which is for ^), or accordingly assign a hotkey depending on what on your keyboard gives you the caret.

Refer https://autohotkey.com/docs/Hotkeys.htm
I am your average ahk newbie. Just.. a tat more cute. ;)
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Use a caret ^ as a command  Topic is solved

17 Mar 2018, 13:29

It also sounds like you're asking for pressing ^ twice to give ^. On my keyboard that would mean pressing 6 twice (which would interfere with typing '66'), the hotstring would look like this:

Code: Select all

:*?:66::{^}
;:*?:66::{Raw}^ ;an alternative
To send a literal ^, instead of Ctrl, you use {^} or start the parameter with {Raw}, and in newer versions of AutoHotkey, {Text}.
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: just me, OrangeCat and 188 guests