I would like to know what is written in the windows registry or any other place to determine when and what window is on top of all the other ones.
Best Regards

Best Regards


#1:: ; Win+1, change as necessary.
{
WinGet, myStyle, ExStyle, A
If ( myStyle & 0x8 ) ; 0x8 is WS_EX_TOPMOST.
{
MsgBox, This window is set for Always on Top
}
}
ReturnNothing is written to the registry to indicate if a window is on top or not. It's what is called a window "style" or "property" and, again, it has nothing to do with the registry.Understood
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Recommended for catching common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^#1:: ; Control+Win+1, change as necessary.
{
WinGet, myStyle, ExStyle, A
If ( myStyle & 0x8 ) ; 0x8 is WS_EX_TOPMOST.
{
MsgBox, This window is set for Always on Top
}
}
Return
ID: Retrieves the unique ID number (HWND/handle) of a window. If there is no matching window, OutputVar is made blank. The functions WinExist() and WinActive() can also be used to retrieve the ID of a window; for example, WinExist("A") is a fast way to get the ID of the active window. To discover the HWND of a control (for use with Post/SendMessage or DllCall), use ControlGet Hwnd or MouseGetPos.
_____________________
How can i indicate that control+win+1 is with the 1 in the numerical keypad ?



a proggy that enabled you to make little screens from different concurrently running programs/videos - and you could resize and drag each little screen to somewhere you wanted and they could all stay on top.Maybe Contro found it - see his thread - OntopReplica?
I'm sorry I didn't make a note of it [...]

How can i indicate that control+win+1 is with the 1 in the numerical keypad ?
C'mon...open up the AHK help file and search for "keylist."
http://www.autohotkey.com/docs/KeyList.htm
a proggy that enabled you to make little screens from different concurrently running programs/videos - and you could resize and drag each little screen to somewhere you wanted and they could all stay on top.Maybe Contro found it - see his thread - OntopReplica?
I'm sorry I didn't make a note of it [...]
Thankyou, I had completely missed that in the thread. That looks to be exactly the one I was talking about.Oops. Posted in wrong place.What !!!!!!!. Nice indeed. Almost 4.000 posts

Original address: https://www.donationcoder.com/forum/index.php?topic=37006.0