Jump to content

_ScreenCapture_CaptureWnd


Recommended Posts

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

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 by Paulie
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...