#Requires AutoHotkey v2.0

F12::{
    MsgBox "The active window is '" WinGetTitle("A") "'."
}