Results 1 to 1 of 1

Thread: Autohotkey

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654

    Autohotkey

    - Windows. , ..
    , , .
    . () . WinGet, myvar, list ( DetectHiddenWindows, off ), , .
    :
    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
    	}
    }
    .. "" , . IsWindow() . "" Viber.
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |