solistic Posted July 25, 2008 Share Posted July 25, 2008 Very useful plugin. I am using the SHA-1 module in my app. Link to comment Share on other sites More sharing options...
zaldwaik Posted December 5, 2008 Share Posted December 5, 2008 I am using the MD5 DLL to write a program that finds duplicate files. However, in several instances the function returns 0 for the hash, although the file sent actually exists. The majority work fine, but because of this files with "0" hashes are found similar while in reality there are not. Some file names had french characters in their name. I wonder if there is a way to debug this. I am also not sure what the "true" and "1" mean in this call from my program MD5Hash($Files[$i], 1, True) Example file name that returns 0 for hash My Music\divers artistes\20 Ans Nostalgie Française Disc 1\03 L'été indien.mp3 Thanks Link to comment Share on other sites More sharing options...
ptrex Posted December 6, 2008 Share Posted December 6, 2008 @zaldwaikMaybe this can get you going : Duplicate Files Finder - MD5 Hash CheckSumregards,ptrex 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...
goldenix Posted June 5, 2009 Share Posted June 5, 2009 (edited) where is MD5Hash function?After I run the md5 sample I get :How can I use this to get md5 of a file? I want to make a check sum of my file.: ==> Unknown function name.: MsgBox(0, "Test MD5Hash.DLL", "String 'Test String':" & @TAB & MD5Hash("Test String", MsgBox(0, "Test MD5Hash.DLL", "String 'Test String':" & @TAB & ^ ERROREdit: Ok I dont know what is the sample problem, it wont work, but this sample works fine: the speed is kind of slow tho:( it took 30 sec to checksum 1500 files total size 500 MBBut this seems to be the only UDF that actually works so I say Thank you!$begin = TimerInit() #compiler_plugin_funcs = MD5Hash Dim $FileMD5 $MD5Plugin = PluginOpen(@ScriptDir & "\MD5Hash.dll") ;~ ------------------------------------------------------ $path = 'D:\temp\F1\Sumacher\' $search = FileFindFirstFile($path & "*.*") ; Check if the search was successful If $search = -1 Then MsgBox(0, "Error", "No files/directories matched the search pattern") Exit EndIf While 1 $file = FileFindNextFile($search) If @error Then ExitLoop $FileMD5 = MD5Hash($path & $file,1,True) $dif = TimerDiff($begin) ConsoleWrite($file & ' ' & $FileMD5 & ' ' & $dif/1000 & @CRLF) WEnd ;~ ------------------------------------------------------ FileClose($search) PluginClose($MD5Plugin) $dif = TimerDiff($begin) ConsoleWrite($dif/1000 & @CRLF) Edited June 5, 2009 by goldenix My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list] Link to comment Share on other sites More sharing options...
Nuttapong Posted February 1, 2013 Share Posted February 1, 2013 Thank alot Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 1, 2013 Moderators Share Posted February 1, 2013 Nuttapong, In future, please do not necro-post just to say thanks. Asking a valid question about the code is fine, but merely padding the thread is not. M23 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...
wakillon Posted February 2, 2013 Share Posted February 2, 2013 @Melba He just say thanks ! if you repress newcomers when they say thank you, what will you say when they ask something stupid ? Please do not scare polite newbies, they are now so rares... AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 2, 2013 Moderators Share Posted February 2, 2013 wakillon,I stand by my original post - necroing a 3 1/2-year old thread just to say thanks is not something to be encouraged. And if the poster is scared away by that very mild comment complete with "smiley", I have grave fears for their survival in the real world let alone the internet. M23 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...
heryisme Posted March 5, 2013 Share Posted March 5, 2013 Where the Files, I cant download the files, Tq Link to comment Share on other sites More sharing options...
wakillon Posted March 5, 2013 Share Posted March 5, 2013 Where the Files,I cant download the files,TqAll dll are in the FSHash.zip link in the first post. AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
jtrout Posted April 12, 2013 Share Posted April 12, 2013 (edited) I am having the same issue as Goldenix. What am I doing wrong?: ==> Unknown function name.:MsgBox(0, "Test MD5Hash.DLL", "String 'Test String':" & @TAB & MD5Hash("Test String",MsgBox(0, "Test MD5Hash.DLL", "String 'Test String':" & @TAB & ^ ERROR Edited April 12, 2013 by jtrout 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