Code: Select all
ControlSend, ,{LAlt Down}d{LAlt Up}, ahk_exe client.exe
Code: Select all
; This script was created using Pulover's Macro Creator
; www.macrocreator.com
#NoEnv
SetWorkingDir %A_ScriptDir%
CoordMode, Mouse, Window
SendMode Play
#SingleInstance Force
SetTitleMatchMode 2
#WinActivateForce
SetControlDelay 1000
SetWinDelay 0
SetKeyDelay 100
SetMouseDelay 50
SetBatchLines -1
End::
Macro1:
WinActivate, ahk_exe client.exe
Sleep, 333
Loop
{
ControlClick, , ahk_exe client.exe,, Right, 5, x1597 y36 NA
Sleep, 78000
ControlSend, {LAlt Down}a{LAlt Up}, ahk_exe client.exe
Sleep, 500
ControlSend, {LAlt Down}, ahk_exe client.exe
Sleep, 500
ControlSend,{Up Down}, ahk_exe client.exe
Sleep, 500
ControlSend,{LAlt Up}, ahk_exe client.exe
Sleep, 500
ControlSend,{Up Up}, ahk_exe client.exe
Sleep, 500
ControlClick, , ahk_exe client.exe,, Left, 3, x572 y842 NA
Sleep, 78000
ControlSend,{LAlt Down}, ahk_exe client.exe
Sleep, 500
ControlSend,{Left Down}, ahk_exe client.exe
Sleep, 500
ControlSend,{LAlt Up}, ahk_exe client.exe
Sleep, 500
ControlSend,{Left Up}, ahk_exe client.exe
Sleep, 500
ControlSend, ,{LAlt Down}d{LAlt Up}, ahk_exe client.exe
Sleep, 5000
}
Return
F12::Pause