~V:: ; Change your hotkey here
~T:: ; Change your hotkey here
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance force ;It allows to run only one at the same time.
SetTitleMatchMode, 2 ;Matching for window title.
#ifwinactive, PLAYERUNKNOWN'S BATTLEGROUNDS ;Active only when in PUBG.
activeMonitorInfo(X, Y, Width, Height) ; Get current resolution
;#####################
;# Fast Loot #
;#####################
~V:: ; Change your hotkey here
if (isMouseShown() == true)
{
ScreenRatio := ((Width/Height) - 0.6)
ModResX := (Width/1680) * ScreenRatio
ModResY := (Height/1050) * ScreenRatio
MouseClickDrag, Left, 88 * ModResX, 156*ModResY, 831* ModResX, 300*ModResY , 0
Sleep 1
MouseClickDrag, Left, 91* ModResX, 214*ModResY, 831* ModResX, 300*ModResY , 0
Sleep 1
MouseClickDrag, Left, 165* ModResX, 293*ModResY, 831* ModResX, 300*ModResY , 0
Sleep 1
MouseClickDrag, Left, 164* ModResX, 401*ModResY, 831* ModResX, 300*ModResY , 0
Sleep 1
}
Sleep 15
return
isMouseShown()
{
StructSize := A_PtrSize + 16
VarSetCapacity(InfoStruct, StructSize)
NumPut(StructSize, InfoStruct)
DllCall("GetCursorInfo", UInt, &InfoStruct)
Result := NumGet(InfoStruct, 8)
if Result > 1
Return true
else
Return false
}
;##########################
;# Get Resolution #
;##########################
activeMonitorInfo( ByRef X, ByRef Y, ByRef Width, ByRef Height )
{ ; Retrieves the size of the monitor, the mouse is on
CoordMode, Mouse, Screen
MouseGetPos, mouseX , mouseY
SysGet, monCount, MonitorCount
Loop %monCount%
{ SysGet, curMon, Monitor, %a_index%
if ( mouseX >= curMonLeft and mouseX <= curMonRight and mouseY >= curMonTop and mouseY <= curMonBottom )
{
X := curMonTop
y := curMonLeft
Height := curMonBottom - curMonTop
Width := curMonRight - curMonLeft
return
}
}
}
ooo bayaağ hızlı paylaşım için sağol kardeşim kullanılabilir
sen nasıl bir kralsın ya hll sana
eyvallah sağolasınHacı Ben Böyle Şey Görmedim.
Emeğine Ellerine Sağlık....
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?