sroprogger Posted May 7, 2008 Share Posted May 7, 2008 Hey guys I want to capture a specific part of a game ... so i decided to use _ScreenCapture_CaptureWnd but i rly dont understand what i should put in the () ... _ScreenCapture_CaptureWnd($sFileName, $hWnd[, $iLeft = 0[, $iTop = 0[, $iRight = -1[, $iBottom = -1[, $fCursor = True]]]]]) If someone could explain that to me would be nice ( I DONT UNDERSTAND THE HELP FROM THE HELP FILE ) Thx .. Link to comment Share on other sites More sharing options...
Paulie Posted May 8, 2008 Share Posted May 8, 2008 (edited) Coordinates are defined like pixelsearch (X1,Y1)################### ########################## ###Area to take picture### ########################## ####################(X2,Y2) _ScreenCapture_CaptureWnd($sFileName, $hWnd[, $iLeft = 0[, $iTop = 0[, $iRight = -1[, $iBottom = -1[, $fCursor = True]]]]]) Called like this: _ScreenCapture_CaptureWnd(@DesktopDir&"\MyPic.jpg", $hWnd, X1,Y1,X2,Y2,False) Edited May 8, 2008 by Paulie Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now