Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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 ?

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
  • Recently Browsing   0 members

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