Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;At the top
- $ScreenshotItem = True
- If $ScreenshotItem Then
- DirCreate("img")
- EndIf
- Func ScreenItem($x)
- If $ScreenshotItem == True Then
- $filename = @ScriptDir & "\img\item_" & $run & "_" & @YEAR & @MON & @MDAY & @HOUR & @MIN & @SEC & @MSEC & ".jpg"
- Sleep(200)
- _ScreenCapture_Capture($filename, $x - 445, 520, $x - 24, -1, False)
- EndIf
- EndFunc
- ;And in StashLoot_new(), in the gear part juste before :
- MouseClick("right", $pos_split[0], $pos_split[1], 1, 3)
- ;Add :
- Call("ScreenItem", $pos_split[0])
Advertisement
Add Comment
Please, Sign In to add comment