Results 1 to 1 of 1
Thread: Autohotkey
Hybrid View
-
15th November 2017 20:01 #1
Autohotkey
- Windows. , ..
, , .
. () . WinGet, myvar, list ( DetectHiddenWindows, off ), , .
:
.. "" , . IsWindow() . "" Viber.Code:SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. DetectHiddenWindows, Off IsWindow(hwnd) ; ManaUser, http://www.autohotkey.com/forum/viewtopic.php?t=27797 { WinGet, s, Style, ahk_id %hwnd% return s & 0xC00000 ? (s & 0x80000000 ? 0 : 1) : 0 ;WS_CAPTION AND !WS_POPUP(for tooltips etc) } WinGet, id, list,,, Program Manager Loop, %id% { this_id := id%A_Index% if IsWindow(this_id) { ;WinActivate, ahk_id %this_id% WinGetClass, this_class, ahk_id %this_id% WinGetTitle, this_title, ahk_id %this_id% MsgBox, 4, , Visiting All Windows`n%a_index% of %id%`nahk_id %this_id%`nahk_class %this_class%`n%this_title%`n`nContinue? IfMsgBox, NO, break } }
autohotkey, -, .
HWND ?
Edit: WinGet, s, style (. ( DetectHiddenWindows OFF)), , pattern, . "" s & 0x00CF0000 (0x15CF0000 0x17CF0000), s & 0x00CA0000 (). (0x96000000 0x94000000 ). Edit: EF, AND 32- : CF, CA, EF.Last edited by tedych; 15th November 2017 at 21:48.




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in