
drmusti
Active Members-
Posts
31 -
Joined
-
Last visited
Everything posted by drmusti
-
#include <GUIConstantsEx.au3> Global $g_iIDC = -1, $g_iNewIDC = 0 Example() Func Example() Local $hMainGUI =GUICreate("Press ESC to Increment", 300, 100, 300, 500) GUICtrlSetOnEvent($hMainGUI, "CLOSEButton") GUISetState(@SW_SHOW) While GUIGetMsg() <> $GUI_EVENT_CLOSE If $g_iNewIDC <> $g_iIDC Then $g_iIDC = $g_iNewIDC GUISetCursor("Hand") EndIf ;;ToolTip("GUI Cursor #" & $g_iIDC & " (" & $g_aArray[$g_iIDC] & ")") WEnd GUIDelete() EndFunc ;==>Example Func CLOSEButton() ; Note: At this point @GUI_CtrlId would equal $GUI_EVENT_CLOSE, ; and @GUI_WinHandle would equal $hMainGUI MsgBox($MB_OK, "GUI Event", "You selected CLOSE! Exiting...") Exit EndFunc GUICtrlSetOnEvent($hMainGUI, "CLOSEButton") dont action.
-
thanks i tested. result:0xF4C0BB7F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-
i used and result value empty. unfortunately.
-
result: readreg that value impossible? or any solution?
-
i done result Value : error : -2 type name : $REG_SZ empty. dear error -2 what mean? i cant read .
-
#include <MsgBoxConstants.au3> #RequireAdmin Local $sFileSizeee = RegRead("HKEY_CURRENT_USER\Software\DownloadManager\4950", "FileSize") MsgBox($MB_SYSTEMMODAL, "", "get idm file size: " & $sFileSizeee) i try but result empty dear.
-
$kvalue = "hex(0):74,72,76,22,00,00,00,00" $hSize = "" $Akey = StringSplit(StringMid($kvalue, StringInStr($kvalue, ":") + 1), ",") For $x = UBound($Akey) - 1 to 1 Step -1 If ($Akey[$x] <> "00") Then $hSize &= $Akey[$x] EndIf Next ;ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : Dec($hSize) = ' & Dec($hSize) & @CRLF & '>Error code: ' & @error & @CRLF) ;### Debug Console Local $idm_get_filesize= Dec($hSize) great working but proplem regread get empty? my OS : WIN7 x64 pro i added attach reg file for test. #include <MsgBoxConstants.au3> Local $sFileSizeee = RegRead("HKEY_CURRENT_USER\Software\DownloadManager\4950", "FileSize") MsgBox($MB_SYSTEMMODAL, "", "get idm file size: " & $sFileSizeee) result:empty value that cant get value hex(0):f4,c0,bb,7f,00,00,00,00 result:empty value what is true function or code? Sincerely 4705 test reg file.reg 4950 test reg file.reg
-
how can find or convert this value. because true bytes for result. 0x7FBBC0F4 = 2 143 011 060 [10] 2 143 011 060 bytes true.... how can convert or find this?
-
"FileSize"=hex(0):f4,c0,bb,7f,00,00,00,00 at Internet Download Manager result : 1,99 GB (2143011060 Bytes) i cant fix logic. 0xf4c0bb7f00000000 = -810441778791448576 [signed] 0xf4c0bb7f00000000 = 17636302294918103040 [unsigned] 0xf4c0bb7f = 4106271615 how can get "2143011060 Bytes" ? thank you very much for all helpings. .
-
5460004555 etc not equal dear only example " hex(0):f4,c0,bb,7f,00,00,00,00 " result i dont know that. thanks please help me that this subject. Sincerely
-
hi idm hex to value how can? [HKEY_CURRENT_USER\Software\DownloadManager\4705] "FileSize"=hex(0):f4,c0,bb,7f,00,00,00,00 how can get value? 5460004555 etc please help. 4705.reg
-
Line 12195 (File "C:\Users\wWw\Desktop\ResourcesEx\Examples\Yeni AutoIt v3 Script.exe"): Error: Unknown function name.