I press F once, nothing happens .... why?

Get help with using AutoHotkey and its commands and hotkeys
sexy69
Posts: 113
Joined: 24 Jul 2016, 06:41

I press F once, nothing happens .... why?

Post by sexy69 » 21 Oct 2017, 12:13

F1::Send {^}
return

I press F1 twice, it will say so: ^^
I press F once, nothing happens .... why?

how to make one ^
Helgef
Posts: 3186
Joined: 17 Jul 2016, 01:02
Contact:

Re: I press F once, nothing happens .... why?

Post by Helgef » 21 Oct 2017, 12:27

Ahk will send the keys which produces a ^. The normal behavior when typing ^ is to wait for the next character if they are to be combined,eg ^ followed by o produces ô. To just produce the symbol, you can send it as a unicode character, eg

Code: Select all

f1::send {u+5e}
Cheers.
sexy69
Posts: 113
Joined: 24 Jul 2016, 06:41

Re: I press F once, nothing happens .... why?

Post by sexy69 » 21 Oct 2017, 12:36

<^>::
send, {u+5e}
return

how to make one ^
Helgef
Posts: 3186
Joined: 17 Jul 2016, 01:02
Contact:

Re: I press F once, nothing happens .... why?

Post by Helgef » 21 Oct 2017, 12:39

I don't know what you mean, both works for me,

Code: Select all

f1::send {u+5e}		; Sends one: ^
<^>::				; Sends one: ^
	send, {u+5e}
return
sexy69
Posts: 113
Joined: 24 Jul 2016, 06:41

Re: I press F once, nothing happens .... why?

Post by sexy69 » 21 Oct 2017, 12:57

<^>::
send, {u+5e}
return


thanks, the second one works
^::
send, {u+5e}
return
Post Reply

Return to “Ask For Help”