Window Spy shows the Title as "Windows Ink Workspace" But WinExist("Windows Ink Workspace") returns nothing.
MouseGetPos will return the right handle but i don't want to have to rely on the position of the mouse to get what i need.
is there another this can be achived?
Code: Select all
Run, ms-penworkspace://Capture
;Windows Ink Workspace
;ahk_class Windows.UI.Core.CoreWindow
;ahk_exe ShellExperienceHost.exe
sleep 1000
MouseGetPos, OutputVarX, OutputVarY, OutputVarWin, OutputVarControl, 1
WinGet, OutputVar , list, Ink
WinGetTitle, currentTitle, % "ahk_id " OutputVarWin
msgbox % currentTitle