Jump to content

drmusti

Active Members
  • Posts

    31
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

drmusti's Achievements

Seeker

Seeker (1/7)

0

Reputation

  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
×
×
  • Create New...