I always get issues depending on the app state (just launched, minimized, maximized, hidden, system bar, etc) of XYPlorer.
Does anyone have a autohotkey script that actually works 100% of the time to activate the XYPlorer window.
How to always succeed at activating XYPlorer window using autohotkey
-
TelKel81
- Posts: 3
- Joined: 28 Jan 2023 22:41
-
Norn
- Posts: 504
- Joined: 24 Oct 2021 16:10
Re: How to always succeed at activating XYPlorer window using autohotkey
To see the attached files, you need to log into the forum.
Windows 11 24H2 @100% 2560x1440
-
TelKel81
- Posts: 3
- Joined: 28 Jan 2023 22:41
Re: How to always succeed at activating XYPlorer window using autohotkey
That's an awful reply.
I solved the problem like this :
DetectHiddenWindows, On
SetTitleMatchMode, 2
#e::
{
IfWinNotExist, XYplorer
{
Run, "C:\Program Files (x86)\XYplorer\XYplorer.exe"
Sleep, 100
WinWait, XYplorer
}
WinGet, WinState, MinMax
If (WinState = -1) || (WinState = 0)
WinRestore
WinActivate
}
I solved the problem like this :
DetectHiddenWindows, On
SetTitleMatchMode, 2
#e::
{
IfWinNotExist, XYplorer
{
Run, "C:\Program Files (x86)\XYplorer\XYplorer.exe"
Sleep, 100
WinWait, XYplorer
}
WinGet, WinState, MinMax
If (WinState = -1) || (WinState = 0)
WinRestore
WinActivate
}
Last edited by TelKel81 on 06 Mar 2023 19:14, edited 1 time in total.
XYplorer Beta Club