Key don't work

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
JustUs3r
Posts: 21
Joined: 22 Apr 2018, 09:49

Key don't work

26 Dec 2018, 13:40

Code: Select all

1::
sendinput,{F}
return
Code don't working when I'm in program. What should I do? I tried other commands like sendplay, send but I got no result. Also running script as a admin didn't help me.
eelrod
Posts: 65
Joined: 10 Apr 2018, 11:17

Re: Key don't work

26 Dec 2018, 13:49

What program are you trying to use it in? Personally, I find SendEvent to be more effective with games.
JustUs3r
Posts: 21
Joined: 22 Apr 2018, 09:49

Re: Key don't work

26 Dec 2018, 14:23

It's Bizhawk.
User avatar
Scr1pter
Posts: 1277
Joined: 06 Aug 2017, 08:21
Location: Germany

Re: Key don't work

26 Dec 2018, 15:23

Try Send +f

If it doesn't work, then:

Send {LShift down}
Sleep, 10
Send {f down}
Sleep, 20
Send {f up}
Sleep, 10
Send {LShift up}


Adjust the sleep time if needed.
(It's milliseconds)

Edit
I forgot the shift in script 2.
I've just added it.

Regards
Please use [code][/code] when posting code!
Keyboard: Logitech G PRO - Mouse: Logitech G502 LS - OS: Windows 10 Pro 64 Bit - AHK version: 1.1.33.09

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: AlFlo and 124 guests