Combine two scripts

Ask gaming related questions (AHK v1.1 and older)
Willy ly
Posts: 9
Joined: 17 Jul 2017, 16:53

Combine two scripts

23 Aug 2017, 16:35

Hello i need to combine this scripts in one, please someone help me :)

this one

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.


SetTitleMatchMode, 1
~LButton::
If WinActive("") or WinActive("") or WinActive("") or WinActive("") or WinActive("Exilent v6.3 (Guest)")
{
GetKeyState, 123, ESC
if 123 = U
send {Lbutton up}
return
}
return

with this one

SetMouseDelay, 0
~$LButton::
While GetKeyState("LButton", "P"){
Click
}
Return

F10::Suspend, On
F7::Suspend, Off
User avatar
Reloaded
Posts: 283
Joined: 25 Aug 2017, 08:48

Re: Combine two scripts

27 Aug 2017, 09:03

This should work

Code: Select all

{
SetTitleMatchMode, 1
LButton:: ;I changed it !!!!!!!!!!!!!!!!!!!!!!!!
If WinActive("") or WinActive("") or WinActive("") or WinActive("") or WinActive("Exilent v6.3 (Guest)")
{
GetKeyState, 123, ESC
if 123 = U
send {Lbutton up} 
return
}
return
}

{
SetMouseDelay, 0
RButton:: ; I changed it !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
While GetKeyState("LButton", "P"){
Click
}
Return

F10::Suspend, On
F7::Suspend, Off
}
Willy ly
Posts: 9
Joined: 17 Jul 2017, 16:53

Re: Combine two scripts

27 Aug 2017, 13:04

Not working bro :(

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 76 guests