strate Posted February 3, 2006 Share Posted February 3, 2006 I run dual monitors and I only capture the screen image from the primary monitor is it possible to do this with duals? INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station... Link to comment Share on other sites More sharing options...
DarkNecromancer Posted February 3, 2006 Share Posted February 3, 2006 well its safe to assume that both monitors will be running the same resolution so you could use the capture region and make the height @DesktopHeight, and the width 2*@DesktopWidth :\, kinda a bad way to do it but it works ~Dark Link to comment Share on other sites More sharing options...
strate Posted February 3, 2006 Author Share Posted February 3, 2006 well its safe to assume that both monitors will be running the same resolution so you could use the capture region and make the height @DesktopHeight, and the width 2*@DesktopWidth :\, kinda a bad way to do it but it works~DarkI tried - MsgBox(0,'',@desktopwidth) and all it returns is the standard 1024 instead of 2048. Do you have dual monitors? Has this been tested? I can't find my copy of lazycats au3 so setting the captue right now for me is out of the question, sorry. INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station... Link to comment Share on other sites More sharing options...
DarkNecromancer Posted February 3, 2006 Share Posted February 3, 2006 (edited) i have 2 monitor running 1280x1024 so if i wanted to take a 2 monitor screen shot i would use the reported height and twice the reported width, as autoit doesn't return full width of 2 monitors. i use the following to capture 2 screensDllCall("captdll.dll", "int", "CaptureRegion", "str", "dump.jpg", "int", 0, "int", 0, "int", (@DesktopWidth*2), "int", @DesktopHeight, "int", 100)note that i'm using the dll version not the plugin. the site is here so if your using the plugin one my code wont work, but the call for the plugin version used the same data. Hope that helps EDIT - I think this would be the same as what i posted up above using the plugin$hPlugin = PluginOpen(@scriptdir & "\captplugin.dll") CaptureRegion("file1.bmp", 0, 0, (@DesktopWidth*2), @DesktopHeight) PluginClose($hPlugin)~Dark Edited February 3, 2006 by DarkNecromancer Link to comment Share on other sites More sharing options...
strate Posted February 3, 2006 Author Share Posted February 3, 2006 (edited) I've made the needed changes and all I get is an image that half of ot is just black. I reinstalled the driver for the second video card and still no image for the second screen. EDIT: Nevermind I figured it out, In Start>settinging>control panel> display>settings I had it so that monitor 1 was on the right instead of monitor 2. So it was working correctly, it was just taking a picture of nothing. Edited February 3, 2006 by strate INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now