GEOSoft Posted September 12, 2008 Posted September 12, 2008 Tried to compile the source: WARNING: $Col_w1: possibly used before declaration.oÝ÷ Ù©ÝjÛazÚ)¶«z+ºÚ"µÍ[ÈÐÛÛ without content and EndFunc. Guess you deleted some code by accident . Best RegardsI'll get it right yet. Just remove that function. I was something I was playing with and forgot to remove later. I'ts not called anyway. I'll upload again right away. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
ptrex Posted September 12, 2008 Author Posted September 12, 2008 @GEOSoft There was also a typo in line 450 -> StringRegExpr should be -> StringRegExp Regards 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
TehWhale Posted September 12, 2008 Posted September 12, 2008 Heh, I get the errors that were posted like 3 from the Original Post. The 3 Com's and then AutoIt error.
GEOSoft Posted September 12, 2008 Posted September 12, 2008 @GEOSoftThere was also a typo in line 450 -> StringRegExpr should be -> StringRegExpRegardsptrexYes. I fixed that while I was at at. I typed $rExpr about 150 times yesterday so it never even caught my eye until today. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
GEOSoft Posted September 12, 2008 Posted September 12, 2008 Heh, I get the errors that were posted like 3 from the Original Post. The 3 Com's and then AutoIt error.Then you have a problem. It's running error free. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
photonbuddy Posted October 25, 2008 Posted October 25, 2008 Hi All, Been a while since I was in this thread ... I've updated to WinXP now, and the script works a charm. Now, I'd like to incorperate part of the script into another of my projects, but can't seem to get my head around just how. I'd like to be able to get just the current temperature of each drive, and display them in my app. How would I go about this?
GEOSoft Posted October 25, 2008 Posted October 25, 2008 Hi All, Been a while since I was in this thread ... I've updated to WinXP now, and the script works a charm. Now, I'd like to incorperate part of the script into another of my projects, but can't seem to get my head around just how. I'd like to be able to get just the current temperature of each drive, and display them in my app. How would I go about this?Whats wrong with the HDA Temperature staus thats already in there? Actuall temperature should be at $strVendorSpecific[115] but I have found no way of incorporating that in a useable manner. Of the 3 drives on this system I get the following results C:\ = 209 D:\ = 0 (Not reported for the drive) E:\ = 55 Also the general rule is that you compare $strVendorSpecific[$n] to $strVendorSpecific[$n-2], however in this case [113] is already in use so I'm not sure where to find the element which gives the comparison value. If you work it out then it has to be added to the dictionary, the arrays have to be resized and you have to add another row of labels to the GUI. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
photonbuddy Posted October 26, 2008 Posted October 26, 2008 Whats wrong with the HDA Temperature staus thats already in there? Actuall temperature should be at $strVendorSpecific[115] but I have found no way of incorporating that in a useable manner. Of the 3 drives on this system I get the following results C:\ = 209 D:\ = 0 (Not reported for the drive) E:\ = 55 I'll see what I can do. To get the actual temperature of the drive, use $strVendorSpecific[$x +5]. Having the temps displayed by another program helps to find the right field by trial and error. I think the problem I had was the displayed info had more lines of information for different drives on my system. Now all I need to do is get the results for all drives without having to enter a drive letter. Something for later.
GEOSoft Posted October 26, 2008 Posted October 26, 2008 (edited) I'll see what I can do. To get the actual temperature of the drive, use $strVendorSpecific[$x +5]. Having the temps displayed by another program helps to find the right field by trial and error. I think the problem I had was the displayed info had more lines of information for different drives on my system. Now all I need to do is get the results for all drives without having to enter a drive letter. Something for later.You missed the point. Temperature is listed as HDA Temperature. Edit. It's easier to see if you are using the GUI version. Edited October 26, 2008 by GEOSoft George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
GEOSoft Posted October 26, 2008 Posted October 26, 2008 (edited) I just finished a couple of quick changes to the GUI version code. It now has an options menu where you can determine if you want the temperature returned in Celsius or Farenheit scale. I also renamed HDA Temperature to Temperature to avoid confusion.Avilable at Smart_Analysis.au3Edit: Note that the default scale is still Celsius. If enough people request it then I will add an Ini file to enable setting the default to Farenheit. For now I'll leave it as is. Edited October 26, 2008 by GEOSoft George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
ptrex Posted October 26, 2008 Author Posted October 26, 2008 @GEOSoft Very nice !! You have to update the download file as well on you site. good job. regards 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
GEOSoft Posted October 26, 2008 Posted October 26, 2008 @GEOSoftVery nice !!You have to update the download file as well on you site.good job.regardsptrexThanks ptrex and Ooooops! I'll do it right now. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
Emiel Wieldraaijer Posted October 26, 2008 Posted October 26, 2008 Hi George, Thanks again.. after i started your new version .. i had to take my notebook of my lap.. 152 degrees celcius very very hot Best regards, Emiel Best regards,Emiel Wieldraaijer
TehWhale Posted October 26, 2008 Posted October 26, 2008 (edited) I get 3 COM errors and then a array subscript error. Edited October 26, 2008 by TehWhale
GEOSoft Posted October 26, 2008 Posted October 26, 2008 Hi George,Thanks again.. after i started your new version .. i had to take my notebook of my lap.. 152 degrees celcius very very hot Best regards,EmielThanks Emiel. I would think that it should have thrown a warning at that temp. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
ozzy1615 Posted November 21, 2016 Posted November 21, 2016 Guys, I know this topic is old but, is there any way to get the Power-On Hours (POH) exatly like when i use the CrystalDiskInfo? (hours or hexadecimal) See the examples: Thats the value that i get when i use the CrystalDiskInfo: And here when i use a script SMART
ptrex Posted November 25, 2016 Author Posted November 25, 2016 (edited) @Ozzy1615 You need to retrieve the RAW values of the HD and use the HEX function to convert the value. Example : MsgBox(0,"POH Hex Value ...","14986 to HEX = "&Hex(14986,12)) Edited November 25, 2016 by 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
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