Achilles Posted September 21, 2006 Share Posted September 21, 2006 IVANSweet another person from Ecuador. Lol, anyways.. this program is pretty sweet LazyCat. I've never seen so many comments about two lines of code though My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
NELyon Posted September 21, 2006 Share Posted September 21, 2006 It's more the DLL than the actual au3 code. Link to comment Share on other sites More sharing options...
GregN Posted March 6, 2007 Share Posted March 6, 2007 Hi Everyone, I hope somebody can help me with this... I'm trying to create a short script that opens a few programs (one at a time) and takes screenshots of each program and then closes each program. This DLL is really helping me get away from automating a printscreen and paste to mspaint everytime which seemed to have been broken when I moved to Vista. The only issue I have now is it only takes full screenshots. Is there any easy way to use this great DLL to only take a screenshot of the active window? Greg Link to comment Share on other sites More sharing options...
GregN Posted March 6, 2007 Share Posted March 6, 2007 Is there any easy way to use this great DLL to only take a screenshot of the active window?I figured it out, all that was necessary was to do a WinGetPos() and use the array when using the DLL. Works great now! Link to comment Share on other sites More sharing options...
MrCreatoR Posted March 25, 2007 Share Posted March 25, 2007 Hi Lazycat, thank you a lot for this great Dll, i defenetly will use it somethime...I have a question:Is it possible to make that this Dll also will have the option to save image-data that already was captured by another program to file?Please, see here my main intention about this question. Thanks.  Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1  AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ==================================================    AutoIt is simple, subtle, elegant. © AutoIt Team Link to comment Share on other sites More sharing options...
BigDaddyO Posted April 3, 2007 Share Posted April 3, 2007 If I compile the Capture_Demo.au3 using the latest Beta version I get an Error message. Any idea why? Screenshot: Thanks, Mike Link to comment Share on other sites More sharing options...
Lazycat Posted April 4, 2007 Author Share Posted April 4, 2007 MsCreatoRI see, problem already solved... that good, because no plans to add something here - now capturing can be done with native au3 code.MikeOsdxHm, probably in beta version explicit cdecl setting is mandatory. Try change calls this way:DllCall("captdll.dll", "int:cdecl", "CaptureScreen", "str", "dump_full.jpg", "int", 85) DllCall("captdll.dll", "int:cdecl", "CaptureRegion", "str", "dump_partial.bmp", "int", 100, "int", 100, "int", 300, "int", 200, "int", -1) Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
BigDaddyO Posted April 4, 2007 Share Posted April 4, 2007 MikeOsdx Hm, probably in beta version explicit cdecl setting is mandatory. Try change calls this way: DllCall("captdll.dll", "int:cdecl", "CaptureScreen", "str", "dump_full.jpg", "int", 85) DllCall("captdll.dll", "int:cdecl", "CaptureRegion", "str", "dump_partial.bmp", "int", 100, "int", 100, "int", 300, "int", 200, "int", -1) That works, Thanks Link to comment Share on other sites More sharing options...
BigDaddyO Posted April 5, 2007 Share Posted April 5, 2007 LazyCat, or anybody else. Is there a way to have this capture the Mouse pointer also? I just went to use my ScreenCap utility to make an animated gif as a tutorial and noticed that the Mouse pointer is not showing on any screenshot. Thanks, Mike Link to comment Share on other sites More sharing options...
guwguw Posted April 10, 2007 Share Posted April 10, 2007 I have it running successfuly under XP, but have not been able to take screenshots under Windows Vista. Is anybody here using capturedll under Vista? Link to comment Share on other sites More sharing options...
BigDaddyO Posted April 10, 2007 Share Posted April 10, 2007 I have it running successfuly under XP, but have not been able to take screenshots under Windows Vista.Is anybody here using capturedll under Vista?I just finished testing it on Windows Vista Enterpise edition. If you are trying to save the files to any folder outside the dll's own folder you may need to launch the script with Admin Privlidges.Mike Link to comment Share on other sites More sharing options...
November Posted May 10, 2007 Share Posted May 10, 2007 Hi all, I made another program with this awsome dll file. But for some reason the program runs nice in c:\ but in the desktop dont. :S weird... because if i launch F5 in Scite all run smoothly! Is this a compile bug? A bug? Can anyone help me out? CheersScreen_Capture.zip Old Scriptology Visual Ping 1.8 - Mass Ping Program with export to txt delimited. Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code. Desktop 2 RGB - Pick a color in the desktop and get the RGB code. ShootIT 1.0 - Screen Capture full and partial screen [font="'Arial Black';"]Remember Remember The Fifth of November.[/font] Link to comment Share on other sites More sharing options...
Espada Posted May 12, 2007 Share Posted May 12, 2007 Excellent, unfortunately, it doesn't work with 3.2.4.0. Oh well back to 3.2.2.0 for a while. Link to comment Share on other sites More sharing options...
Runman Posted October 5, 2010 Share Posted October 5, 2010 uhm ;D well Lazycat thanx for the Dll But have 1 question if i may ^^ or to all Now, if i press Printscreen the pics will go to the directory where is Script is. how can i make it so the pics will go to a default folder... so if i make a folder on the desktop, and i press printscreen with your dll is it possible to get the pic in that folder without the dll or the script placed in that folder? man that would be awesome ^^ DllCall("captdll.dll", "int:cdecl", "CaptureScreen", "str", @MON & @MDAY & @YEAR & @HOUR & @MIN & @SEC & ".jpg", "int", 85) Link to comment Share on other sites More sharing options...
BrewManNH Posted October 5, 2010 Share Posted October 5, 2010 (edited) DllCall("captdll.dll", "int:cdecl", "CaptureScreen", "str", @DesktopDir & "\Runman\" & @MON & @MDAY & @YEAR & @HOUR & @MIN & @SEC & ".jpg", "int", 85) Edited October 5, 2010 by BrewManNH If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator Link to comment Share on other sites More sharing options...
Andreik Posted October 6, 2010 Share Posted October 6, 2010 (edited) Very good job Lazycat. This will be very usefull. PS: If is not a secret the source of Dll, please PM me or post it here LE: It would be great to have possibility to capture in memory and return a HBITMAP handle. Edited October 6, 2010 by Andreik When the words fail... music speaks. Link to comment Share on other sites More sharing options...
rahuroy Posted February 16, 2011 Share Posted February 16, 2011 (edited) I used this dll to capture but capturing screenshot doesn't work on locked workstations Edited February 16, 2011 by rahuroy 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