Guest User

GF D3 ScIt

a guest
Jul 9th, 2012
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.52 KB | None | 0 0
  1. ;At the top
  2. $ScreenshotItem = True
  3.  
  4. If $ScreenshotItem Then
  5.   DirCreate("img")
  6. EndIf
  7.  
  8. Func ScreenItem($x)
  9.   If $ScreenshotItem == True Then
  10.     $filename = @ScriptDir & "\img\item_" & $run & "_" & @YEAR & @MON & @MDAY & @HOUR & @MIN & @SEC & @MSEC & ".jpg"
  11.     Sleep(200)
  12.     _ScreenCapture_Capture($filename, $x - 445, 520, $x - 24, -1, False)
  13.   EndIf
  14. EndFunc
  15.  
  16. ;And in StashLoot_new(), in the gear part juste before :
  17. MouseClick("right", $pos_split[0], $pos_split[1], 1, 3)
  18.  
  19. ;Add :
  20. Call("ScreenItem", $pos_split[0])
Advertisement
Add Comment
Please, Sign In to add comment