jbc1 Posted June 16, 2009 Share Posted June 16, 2009 (edited) Hi, I'm embarrassed to say I'm still using AutoIT 3.2.4.9, along with the Auto3Lib by PaulIA which I understand is now merged into AutoIT. I don't really want to update as it's too much of a risk. My problem is that when I take a screenshot, I get a screenshot the exact size of my UI, but it's almost like my UI is transparent, (see the attached screenshot to see what I mean) I'm using code like this: #include <A3LScreenCap.au3> $window = "Window Name" $handle = WinGetHandle($window, "") WinActivate($handle) _ScreenCap_CaptureWnd("Image1.jpg", $handle, False) Any Ideas? Thanks. Edited June 16, 2009 by jbc1 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 16, 2009 Moderators Share Posted June 16, 2009 jbc1, I regret to say that I think your chances of getting a solution are minimal. I cannot imagine anyone else here even uses 3.2.4.9 and even those who did in the past probably cannot remember enough about it to offer any sensible advice. I seem to remember Valik suggesting to another poster that being several AutoIt updates behind was a good enough reason not to expect support. Why not upgrade? Given the changes since I started (3.2.10.0) I can imagine that there must be a Grand Canyon-style gulf between 3.2.4.9 and 3.3.0.0, but the advantages must outweigh the disadvantages. Surely you can arrange things so your existing scripts run using the old version until you get the hang of the current one? Anyway, sorry I cannot be more positive in my response - no doubt someone will come along in a minute and contradict me. ;-) M23 P.S. Apologies in advance to Valik if I have mistaken/misremembered your comments. Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
jbc1 Posted June 16, 2009 Author Share Posted June 16, 2009 You make a fair point, but the risk of updating at the moment is too great, for reasons I'm not going to go into here. If someone can help, great. If not, I'm sure I'll find a work around. Link to comment Share on other sites More sharing options...
Zedna Posted June 16, 2009 Share Posted June 16, 2009 I think you should call it that way: _ScreenCap_CaptureWnd("Image1.jpg", $handle, 0, 0, -1, -1, False) Do you use latest Auto3Library from 2007-07-01? Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
jbc1 Posted June 17, 2009 Author Share Posted June 17, 2009 I think you should call it that way: _ScreenCap_CaptureWnd("Image1.jpg", $handle, 0, 0, -1, -1, False) Do you use latest Auto3Library from 2007-07-01? Thanks Zedna, can you tell me where I could download this version of Auto3Lib from? Link to comment Share on other sites More sharing options...
Zedna Posted June 17, 2009 Share Posted June 17, 2009 (edited) Thanks Zedna, can you tell me where I could download this version of Auto3Lib from?I uploaded it here (Auto3Lib.exe 4 MB):http://www.uschovna.cz/vyzvednout1.php/Usc...4a3948b4bd3b691Link will be valid for 14 days and file will be removed after first successfull download.Also look here about fix for instalation bug:http://www.autoitscript.com/forum/index.ph...st&p=394380 Edited June 17, 2009 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search 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