Jump to content

drmusti

Active Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by drmusti

  1. yes but no gui click on parent window a action. $GUI_EVENT_CLOSE etc. and buttons.
  2. i cant make main gui onclick action. how can main gui click action. no button etc close etc. onclick main gui.. possible?
  3. #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.
  4. dear sory im newbie i cant because im newbie sorry much dear admin
  5. how can gui background set windows hand icon "hand" and how can gui background click action gui close?
  6. how can gui background set icon "hand" and how can gui background click action gui close?
  7. hi dear coders How to Set CPU Affinity of a Process? cpu1 and cpu3 _WinAPI_SetProcessAffinityMask($hProc, 0x01,03) true? "play.exe" Sincerely
  8. thanks i tested. result:0xF4C0BB7F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  9. i used and result value empty. unfortunately.
  10. result: readreg that value impossible? or any solution?
  11. i done result Value : error : -2 type name : $REG_SZ empty. dear error -2 what mean? i cant read .
  12. #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.
  13. $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
  14. 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?
  15. "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. .
  16. 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
  17. 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
  18. i can now testing... i uploaded Multi_Drag_Drop_Files_Action_TRIDv5.rar
  19. my gui action project i cant accept drag over . please help me. i uploaded project. Sincerely dragdropover.zip
  20. hi How can if when gui drag drop over then set gui bgcolor? if a gui drag over then set bgcolor? drag leave back old color? how can dear coders?
  21. Line 12195 (File "C:\Users\wWw\Desktop\ResourcesEx\Examples\Yeni AutoIt v3 Script.exe"): Error: Unknown function name.
×
×
  • Create New...