Sign in to follow this  
Followers 0
billshu

FFSnapShot Problem with Dual-Monitor

3 posts in this topic

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?

Share this post


Link to post
Share on other sites



Use ScreenCapture instead.
 
#include <ScreenCapture.au3>
_ScreenCapture_SetBMPFormat(2)
$MyFile = @ScriptDir & "testGDIPlus_Image.bmp"
_ScreenCapture_Capture($MyFile, 2400,10,2500,110)
 
ShellExecute($MyFile)

Share this post


Link to post
Share on other sites

Oh, Thanks Bill, Not sure what I would do without your help

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