please need code for this windows

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Shrewdo
Posts: 10
Joined: 03 Apr 2017, 09:52

please need code for this windows

16 Apr 2017, 08:57

please anyone can edit my code to be working on this windows only not any windows i open in front of me it work on it here my code and picture to see title which one i use
please

F2::
Loop,
{

Send w
Sleep 100
Send x
Sleep 100
}
return

Pause::Pause
F5::exitapp
memu.jpg
memu.jpg (333.03 KiB) Viewed 1520 times
Shrewdo
Posts: 10
Joined: 03 Apr 2017, 09:52

Re: please need code for this windows

17 Apr 2017, 02:13

but how to use give me code and which title i write
neomulemi6
Posts: 216
Joined: 30 Jun 2016, 06:01

Re: please need code for this windows

17 Apr 2017, 02:46

I can't tell what the title of the window is from the screenshot you posted, it's pretty grainy, but try this. Put it at the very top of your script.

Code: Select all

SetTitleMatchMode, 2
#IfWinActive, 2.9.6
You can also use the title of the game's executable like this:

Code: Select all

#IfWinActive, ahk_exe program.exe
Shrewdo
Posts: 10
Joined: 03 Apr 2017, 09:52

Re: please need code for this windows

18 Apr 2017, 10:56

windows title is Memu 2.9.6 - MEmu
so how to use which one please answer me i tried many ways but it never works in inactive windows it only does when i select it the memu windows and it send lot of keys not only w x it send shift ?
neomulemi6
Posts: 216
Joined: 30 Jun 2016, 06:01

Re: please need code for this windows

18 Apr 2017, 11:46

Code: Select all

SetTitleMatchMode, 2
#IfWinActive, Memu
Can you show me your entire script?
Shrewdo
Posts: 10
Joined: 03 Apr 2017, 09:52

Re: please need code for this windows

19 Apr 2017, 10:48

you mean i start code like that

SetTitleMatchMode, 2
#IfWinActive, Memu
F2::
Loop,
{

Send w
Sleep 100
Send x
Sleep 100
}
return

Pause::Pause
F5::exitapp

its correct?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Giresharu, Google [Bot], supplementfacts and 142 guests