Jump to content

Recommended Posts

Posted (edited)

Hey all, i needed something to let the user select a region on the screen, and then record it with GDI just had 2 problems, couldnt find no region selector around and how to get the actual Frame-rate, cause obviously Sleep function is as inaccurate as hell :-p
So i created this lil UDF that does both.
Credits to guinness for his help getting the close option to be gone >[Tread]

Functions:

  Reveal hidden contents

_RegionselectorCalcFPS


_RegionselectorSetState
_RegionselectorGetPos
_RegionselectorOff
_RegionselectorOn



Example:

  Reveal hidden contents



UDF:

  Reveal hidden contents


I have been getting very good results with this, hope it will proof usefull to someone else. :-)

Edited by Carlo84
Posted

  On 5/7/2011 at 5:17 PM, 'wakillon said:

Look interesting ! Posted Image

How do you display the "record" result ?

Thanks, i'm not sure i understand your question.

in the example function replace "$iCapturedFrames += 1" with your screencapturing function.

For my gif-recorder im just using GDI and count the output files with DirGetSize

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...