Sign in to follow this  
Followers 0
kritya

help with _ScreenCapture_Capture

3 posts in this topic

Hi ,

I am making an app which works on loop and capturing screen shots.

#include <ScreenCapture.au3>
sleep(5000)
_Main()
Func _Main()
    Local $hBmp[10]
    $i=0
    while $i<10
    ; Capture full screen
    $hBmp[$i] = _ScreenCapture_Capture("GDIPlus_Image"&$i&".jpg")

  
    $i=$i+1
    sleep(1000)
    Wend
EndFunc   ;==>_Main

This works perfectly fine unless I launch a full screen application such as a game.

What it does , is just capture the first shot and then saves it all over.

Help me over this please.

Thanks

Share this post


Link to post
Share on other sites



some games have print screen protection (like steam games, etc..)

try to run it with elevated privileges or create a hidden form on top most...not sure why the "prt sc" doesn't work, but could be those two ways...


Heroes, there is no such thing

One day I'll discover what IE.au3 has of special for so many users using it.
C'mon there's InetRead and WinHTTP, way better
happy.png

Share this post


Link to post
Share on other sites

some games have print screen protection (like steam games, etc..)

try to run it with elevated privileges or create a hidden form on top most...not sure why the "prt sc" doesn't work, but could be those two ways...

Thanks for the reply.

Yes that game has screent shot option. But how do i use it using auto it ?

Share this post


Link to post
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
Sign in to follow this  
Followers 0