I wrote this short test code, but it didn't work. What am I doing wrong?
F12::
WinGetTitle, Title, A ;
MsgBox, "%Title%"
The displayed result was ""
WinActivateBottom activates the bottommost matching window (typically the one least recently used). GroupActivate activates the next window that matches criteria specified by a window group. [v1. 1.20+]: If the active window is hidden and DetectHiddenWindows is turned off, it is never considered a match.
Window Spy is a utility program that is installed with AutoHotkey. Window Spy allows you to see various information about a window that can be use with AutoHotkey and AutoHotkey Snippit.
Re: How do i get a window id You can use https://autohotkey.com/docs/misc/WinTitle.htm to find the window info.
I removed a ; and added return and this worked...
F12::
WinGetTitle, title, A
MsgBox, "%title%"
return
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With