Page 1 of 1

Closing XYplorer with AutoHotKey

Posted: 05 Nov 2017 22:09
by acicovic
Hi, I want to close XYplorer using AHK but it doesn't work.

Code: Select all

WinClose ahk_class ThunderRT6FormDC
I've tried sending keys to XYplorer's window but no result. I haven't tried WinKill, it seems too radical to me. Strangely enough this works fine:

Code: Select all

WinActivate ahk_class ThunderRT6FormDC
Any clues ?

Re: Closing XYplorer with AutoHotKey

Posted: 05 Nov 2017 22:32
by highend
Best guess: XY is running elevated, your ahk script not...

Re: Closing XYplorer with AutoHotKey

Posted: 05 Nov 2017 22:44
by acicovic
You are right!
It works now.