Jump to content

Recommended Posts

Posted

I create a capture file with tif extension

; Capture full screen
_ScreenCapture_SetTIFColorDepth(24)
_ScreenCapture_SetTIFCompression(1)

   $hbmp = _ScreenCapture_Capture ("",0,88+$toto[1] , 852 , 88+$toto[3], false)
 
   ; Save bitmap to file
    _ScreenCapture_SaveImage (@ScriptDir & "\Image.tif", $hBmp, True)

But MODI.DOCUMENT refuse to read it saying it's not a texte document ?

Is someone know what is the reason ?

It's seems that the file generated by _ScreenCapture_SaveImage is not readable by Modi.document

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