If press "key" do...

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
chusski
Posts: 31
Joined: 28 Jan 2018, 03:12

If press "key" do...

18 Jun 2019, 13:42

Hello guys.

Two questions:

1- How i can do that:

IfWinActive, DragonBallOnline1 ahk_class DragonBall
and press middle mouse button
do !F1 (this are Alt+F1)

2-How i can do same but that befor but with middle mouse button doble click?

Thc for your time and your help ^^
chusski
Posts: 31
Joined: 28 Jan 2018, 03:12

Re: If press "key" do...

18 Jun 2019, 14:09

what i am doing wrong ?? plz

Code: Select all

Loop
{
	If WinActive, DragonBallOnline1 ahk_class DragonBall

	{
		MButton::
			send, !{F1}
	}
	If WinNotExist, ahk_class AutoHotkeyGUI ahk_exe MacroCreator.exe

	{
		exit
	}
}
thx very much

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: peter_ahk and 330 guests