this works good if you want it

#Persistent
#NoEnv

WinGetClass, WinClass, Trove
Active := false

F3::
if (Active)