Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
wawawawawawawa authored Feb 13, 2020
1 parent 0dd409b commit a8bd484
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions Alien Swarm - Macro GUI.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,26 @@ counter = -1
emotegui = -1
onslgui = -1

CenterX150 := 650
CenterY150 := 250
CenterX := 800
CenterY := 400

; Window Constants
SysGet, borderwidth, 32
SysGet, borderheight, 33
WinGetPos, WinX, WinY, WinWidth, WinHeight, ahk_exe reactivedrop.exe
CenterX150 := WinX + (WinWidth / 2) + borderwidth - 150
CenterY150 := WinY + (WinHeight / 2) + borderheight - 150
CenterX := CenterX150 + 150 - WinX
CenterY := CenterY150 + 150 - WinY
If WinExist("ahk_exe reactivedrop.exe")
{
SysGet, borderwidth, 32
SysGet, borderheight, 33
WinGetPos, WinX, WinY, WinWidth, WinHeight, ahk_exe reactivedrop.exe
CenterX150 := WinX + (WinWidth / 2) + borderwidth - 150
CenterY150 := WinY + (WinHeight / 2) + borderheight - 150
CenterX := CenterX150 + 150 - WinX
CenterY := CenterY150 + 150 - WinY
}
CenterXLeft := CenterX - 50
CenterXRight := CenterX + 50
CenterYLeft := CenterY - 50
CenterYRight := CenterY + 50

;=============== GUI ==========================
Gui, ChatGUI:+AlwaysOnTop -Caption -border +Disabled
Expand Down
Binary file modified Alien Swarm - Macro GUI.exe
Binary file not shown.

0 comments on commit a8bd484

Please sign in to comment.