Closing XYplorer with AutoHotKey

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
acicovic
Posts: 42
Joined: 31 Oct 2017 19:52

Closing XYplorer with AutoHotKey

Post 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 ?

highend
Posts: 15004
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Closing XYplorer with AutoHotKey

Post by highend »

Best guess: XY is running elevated, your ahk script not...
One of my scripts helped you out? Please donate via Paypal

acicovic
Posts: 42
Joined: 31 Oct 2017 19:52

Re: Closing XYplorer with AutoHotKey

Post by acicovic »

You are right!
It works now.

Post Reply