Jump to content

Recommended Posts

Posted

I use

 
 $FFResult = FFSnapShot($CompX1, $CompY1,$CompX2,$CompY2 )
$FFResult = FFSaveBMP(  "Temp" )
 
to save images from the screen to a file.  Everything works great as long as I am getting images from my Left monitor, but it does not work on my Right Monitor.  I get the errors:
 
SnapShop(1530, 187.05,1629.9, 235,45,0,FFFFFFFF) failed
IsArray($Res):1 - Ubound($Res):6 - $Res[0]:0
 
My Screen Origin is set for the Top-Left of my left monitor and I really don't want to change it.
 
Will FFSnapShop work on dual-monitors?  Is there another way to capture and save images to *.bmp file?
Posted
Use ScreenCapture instead.
 
#include <ScreenCapture.au3>
_ScreenCapture_SetBMPFormat(2)
$MyFile = @ScriptDir & "testGDIPlus_Image.bmp"
_ScreenCapture_Capture($MyFile, 2400,10,2500,110)
 
ShellExecute($MyFile)

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
×
×
  • Create New...