MrCreatoR Posted February 21, 2008 Share Posted February 21, 2008 (edited) CaptureIt v1.06 This program designed to capture screenshots.============ Main Features: ============ Full Screen Capture (display selection support). Window Capture. Selected area capture. Free selection capture. Save captured image in silent mode. Set watermark for captured image. Open captured image in graphic editor. Print captured image. Put captured image to clipboard. Upload captured image (to image hosting services). Share uploaded image on social networks. Capture History. Images format support: PNG GIF JPG - Quality can be set. BMP - Format can be set. Download Page or >Downloads Section [sources for AutoIt 3.3.10.2+ included in the archive] Enjoy!============ History Version: ============ v1.06 [19.April.2015] + Added Free Selection Capture mode. + Added Set Watermark option. + Added option to share uploaded image on social networks. * Fixed issue with wrong sorting in "Capture History". * Fixed few issues with capturing layered windows. * Better handling of second program copy run. v1.05 [05.June.2014] + Added languages support. + Added multi display support (mostly for FullScreen mode). + Added option to restore settings defaults. * Fixed problem uploading image to tinypic.com. * Fixed strange bug when clicked menu item was captured in fullscreen mode. * Changed Settings dialog. * Icons updated. v1.04 [02.June.2014] + UploadFile.dll is not used anymore, thanks to wakillon for uploading functions. + Added 6 image hosting services to upload captured image. + Added background window capture support. Now the non visible parts of selected window will be captured properly (Note: the window is captured without aero support). + Added "Capture History" (!!! EXPERIMENTAL !!!) + Added option to select Action after capturing. + Added option to wait N seconds before capturing. * Another fix for extra pixels been captured. * Changed About and Settings window. * Icons updated. v1.03 [20.Jul.2011] * Now the tooltip that shown when the program starts, will be show just once. * Changed interface color. * Fixed bug when extra pixels was captured on maximized windows. + Added option to handle an issue with not captured windows that have WS_EX_LAYERED style. To enable this option, set "Use Alternative Capture=1" under [Main Prefs] section in the config file (CaptureIt.ini). Disabled by default. NOTE: it's limited only for FullScreen capturing. v1.02 [16.Jul.2011] * Fixed an issue with false possitive reaction from several antiviruses. * Fixed not working upload captured image to imageshak.us feature. * Source code improvements. v1.01 [22.02.2008] * Orfographic mistakes fixed. * Fixed issue whith Full Screen Capture, on some monitors/systems was captured active window. * Removed unused functions from the source. * Added COM Errors Handler, will prevent application from hard crashing in some cases. v 1.0 [21.02.2008] * First release. Edited April 18, 2015 by MrCreatoR jaberwacky 1 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...
gseller Posted February 21, 2008 Share Posted February 21, 2008 ZZZiiiinnnngggg!!! That gets a five star salute from me!! Very Nice!! You musta been working on this for a while? Link to comment Share on other sites More sharing options...
MrCreatoR Posted February 21, 2008 Author Share Posted February 21, 2008 Thanks gesller!You musta been working on this for a while?Well, yes, the last few weeks i think - but the idea is very old, when Paulie posted the Au3Library, if i am not wrong, the functions _ScreenCapture was first introduced there. 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...
TPaul81 Posted February 21, 2008 Share Posted February 21, 2008 MsCreator, seriously, this is one of these stuff that really really REALLY made my day.I think this should be a sticky or something! My Scripts (so far)Myspace Layout EditorAnother Boss ScreenClipboard Collector Link to comment Share on other sites More sharing options...
icadea Posted February 21, 2008 Share Posted February 21, 2008 this is a good one. thanks Link to comment Share on other sites More sharing options...
rasim Posted February 21, 2008 Share Posted February 21, 2008 MsCreatoRCongratulations! Great job! I like it and i shall use it! Thank you for good program and example! Link to comment Share on other sites More sharing options...
Tweaky Posted March 2, 2008 Share Posted March 2, 2008 Hi, very nice tool, Would it be possible to make a screenshot from a whole web page with a scroll??? But only with autoit, no other tool Tweaky Link to comment Share on other sites More sharing options...
MrCreatoR Posted March 2, 2008 Author Share Posted March 2, 2008 Thanks to all for the good feedbacks! Would it be possible to make a screenshot from a whole web page with a scroll???A while ago i asked about this here, but the solution will involve external application usage . 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...
ptrex Posted March 2, 2008 Share Posted March 2, 2008 @MsCreatoRVery nice application !!Regarding Would it be possible to make a screenshot from a whole web page with a scroll??? I use Fotofiltre + one of the numerous plugins. Regardsptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Achilles Posted March 2, 2008 Share Posted March 2, 2008 Really nice work! My only objection is the GUI looks rather odd with the default windows tabs. The tray looks great. I would suggest using a hotkey box instead of three checkboxes and a combolist, I have some code that has a great example. expandcollapse popup#include<GuiEdit.au3> #include<SendMessage.au3> #include<WindowsConstants.au3> #include <GUIConstantsEx.au3> #include <WinAPI.au3> HotKeySet('{CAPSLOCK}', '_ExcludeHotkey') HotKeySEt('{NUMLOCK}', '_ExcludeHotkey') Global Const $HKM_SETHOTKEY = $WM_USER + 1 Global Const $HKM_GETHOTKEY = $WM_USER + 2 Global Const $HKM_SETRULES = $WM_USER + 3 Global Const $HOTKEYF_ALT = 0x04 Global Const $HOTKEYF_CONTROL = 0x02 Global Const $HOTKEYF_EXT = 0x80; Extended key Global Const $HOTKEYF_SHIFT = 0x01 ; invalid key combinations Global Const $HKCOMB_A = 0x8; ALT Global Const $HKCOMB_C = 0x4; CTRL Global Const $HKCOMB_CA = 0x40; CTRL+ALT Global Const $HKCOMB_NONE = 0x1; Unmodified keys Global Const $HKCOMB_S = 0x2; SHIFT Global Const $HKCOMB_SA = 0x20; SHIFT+ALT Global Const $HKCOMB_SC = 0x10; SHIFT+CTRL Global Const $HKCOMB_SCA = 0x80; SHIFT+CTRL+ALT $gui_Main = GUICreate('Get Hotkey', 220, 90) $bt = GUICtrlCreateButton('See Value', 10, 50, 200, 30); GUICtrlSetState(-1, $GUI_DEFBUTTON) $hWnd = _WinAPI_CreateWindowEx (0, 'msctls_hotkey32', '', BitOR($WS_CHILD, $WS_VISIBLE), 10, 10, 200, 25, $gui_Main) _SendMessage($hWnd, $HKM_SETRULES, BitOR($HKCOMB_NONE, $HKCOMB_S), _ BitOR(BitShift($HOTKEYF_ALT, -16), BitAND(0, 0xFFFF))); add ALT to invalid entries GUISetState() While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case $bt $value = _GetCode($hWnd); $value is now equal to the string representation of your hotkey, like ^!q for example EndSwitch WEnd _WinAPI_DestroyWindow ($hWnd) Exit Func _GetCode($hWnd) $i_HotKey = _SendMessage($hWnd, $HKM_GETHOTKEY) ;~ Msgbox(0, '', $i_Hotkey) $n_Flag = BitShift($i_HotKey, 8); high byte $i_HotKeyNew = BitAND($i_HotKey, 0xFF); low byte $sz_Flag = "" $subtract = 0 If BitAnd($n_Flag, $HOTKEYF_CONTROL) Then $sz_Flag &= "CTRL + " $subtract += 512 EndIf If BitAnd($n_Flag, $HOTKEYF_SHIFT) Then $sz_Flag &= " SHIFT + " $subtract += 256 EndIf If BitAnd($n_Flag, $HOTKEYF_ALT) Then $sz_Flag &= " ALT + " $subtract += 1024 EndIf If $i_Hotkey - $subtract > 90 then For $index = 96 to 105 If $i_Hotkey - $subtract = $index then $sz_Flag &= 'NUM ' & $index - 96 Next For $index = 112 to 123 If $i_Hotkey - $subtract = $index then $sz_Flag &= ' F' & $index - 111 EndIf Next If $i_Hotkey - $subtract >= 2081 and $i_Hotkey - $subtract <= 2093 then $sz_Flag &= Chr($i_hotkeyNew) EndIf Else $sz_Flag &= Chr($i_Hotkey - $subtract) EndIf $string = $sz_Flag $temp = StringSplit($string, '+') $lastTerm = StringLower(StringStripWS($temp[Ubound($temp) - 1], 8)) If StringLen($lastTerm) > 1 then If StringLeft($lastTerm, 1) = 'F' then $append = '{' & StringUpper($lastTerm) & '}' ElseIf StringLeft($lastTerm, 3) = 'NUM' then $append = '{NUMPAD' & StringRight($lastTerm, 1) & '}' EndIf Else $temp = StringLower(StringRight($string, 1)) If $temp = '!' then $append = '{PGUP}' ElseIf $temp = '"' then $append = '{PGDN}' ElseIf $temp = '$' then $append = '{HOME}' ElseIf $temp = '#' then $append = '{END}' ElseIf $temp = '-' then $append = '{INS}' Else $append = StringLower(StringRight($string, 1)) EndIf EndIf $hotkeyAssignment = '' If StringInStr($string, 'CTRL') > 0 then $hotkeyAssignment &= '^' EndIf If StringInStr($string, 'SHIFT') > 0 then $hotkeyAssignment &= '+' EndIf If StringInStr($string, 'ALT') > 0 then $hotkeyAssignment &= '!' EndIf $hotkeyAssignment &= $append Msgbox(0, $sz_Flag, '$i_Hotkey == ' & $i_Hotkey & @CRLF & @CRLF & _ '$i_HotkeyNew == ' & $i_HotkeyNew & @CRLF & @CRLF & _ '$subtract == ' & $subtract & @CRLF & @CRLF & _ '$i_Hotkey - $subtract == ' & $i_hotkey - $subtract & @CRLF & @CRLF & _ 'Chr(' & $i_Hotkey & ') = ' & Chr($i_HotKey) & @CRLF & @CRLF & _ 'Chr(' & $i_Hotkey & ' - ' & $subtract & ') = ' & Chr($i_HotKey - $subtract) & @CRLF & @CRLF & _ 'Chr(' & $i_HotkeyNew & ') = ' & Chr($i_HotKeyNew) & @CRLF & @CRLF & _ 'Hotkeyset string == ' & $hotkeyAssignment) Return $hotkeyAssignment EndFunc Func _ExcludeHotkey() _SendMessage(_WinAPI_GetFocus(), $HKM_SETHOTKEY) EndFunc My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Swift Posted March 2, 2008 Share Posted March 2, 2008 Really...Really...Really....Great MsCreatoR! I love it! How does this work so immaculate? This looks so professional its...so real! Link to comment Share on other sites More sharing options...
ToyleY Posted March 2, 2008 Share Posted March 2, 2008 Very good - nice work. Link to comment Share on other sites More sharing options...
MrCreatoR Posted March 2, 2008 Author Share Posted March 2, 2008 I would suggest using a hotkey box instead of three checkboxes and a combolist, I have some code that has a great example.As i mentioned, this box have issues. It's not supporting none ANSI characters, and some special characters can not be used. 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...
myspacee Posted March 3, 2008 Share Posted March 3, 2008 thank you MsCreatoR, for all good job (and nice www resource). Is possible to you to isolate only 'selection capture' in a 'new' script ? (for all newbie as me [want to learn]) Thank you again for source. M. Link to comment Share on other sites More sharing options...
myspacee Posted April 14, 2008 Share Posted April 14, 2008 i want to thank again to MsCreatoR.You open a new way to do my job. Can you isolate or give us example to have 'selection capture' feature only.Find a tool that do a lot of thing like your Cropper But have Autoit sorce help us a lot. Thank you to allm. Link to comment Share on other sites More sharing options...
Mojo Posted April 17, 2008 Share Posted April 17, 2008 Hi folks, do you know the problem with blocked AutoIt script downloads? - I know it to well - our company's firewall and/or antivirus solution blocks most of the scripts I wanna download. There is actually an easy workaround for that ... password protected archive files. @MsCreator: could you please pw-protect this (and/or all your scripts in the future?) download and post the password on the download site? I guess I'm not the only one with this problem, and with that workaround we could finally eliminate those annoying false positive warnings or blockings of the antivirus and firewall products. I personally would highly appreciate it. thx & greetz Mojo You can fool some of the people all of the time, and all of the people some of the time, but you can not fool all of the people all of the time. Abraham Lincoln - http://www.ae911truth.org/ - http://www.freedocumentaries.org/ Link to comment Share on other sites More sharing options...
Angelia Posted April 17, 2008 Share Posted April 17, 2008 Awesome Job!! You had to work on this quite some time!! 5 STARS! Link to comment Share on other sites More sharing options...
monoceres Posted April 17, 2008 Share Posted April 17, 2008 (edited) Really nice work Saves a lot of work for me (Cropping, uploading). Maybe add a MsgBox confirming upload to imageshack? Would be nice since I don't want to upload all images to imageshack. Edited April 18, 2008 by monoceres Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
sensalim Posted April 18, 2008 Share Posted April 18, 2008 Freakin' sweet. Link to comment Share on other sites More sharing options...
L0c4lh0sT Posted April 30, 2008 Share Posted April 30, 2008 Wow.... Very nice Prog. But please can you implement an "auto screenshot" function? And some other pichoster or an option to type in a custom http: adress? Great Job 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