It works fine, but when upgrading to 9.4.3, it stopped working.
CODE
;;;;;;;;;;;;;;;;;;;;;;;
; alt c goes to foobar
;;;;;;;;;;;;;;;;;;;;;;;;
class = ahk_class {DA7CD0DE-1602-45e6-89A1-C2CA151E008E}/1
!c::
DetectHiddenWindows, On
IfWinNotExist, %class%
{
msgbox, window does not exist..
return
}
IfWinExist, %class%
{
ifWinActive, %class%
{
WinMinimize, %class%
}
else
{
WinActivate
}
}
else
{ Run, "E:\programs\foobar2000\foobar2000.exe";-9.4.3
WinWait, %class%
WinActivate
}
Return
; alt c goes to foobar
;;;;;;;;;;;;;;;;;;;;;;;;
class = ahk_class {DA7CD0DE-1602-45e6-89A1-C2CA151E008E}/1
!c::
DetectHiddenWindows, On
IfWinNotExist, %class%
{
msgbox, window does not exist..
return
}
IfWinExist, %class%
{
ifWinActive, %class%
{
WinMinimize, %class%
}
else
{
WinActivate
}
}
else
{ Run, "E:\programs\foobar2000\foobar2000.exe";-9.4.3
WinWait, %class%
WinActivate
}
Return
I think the problem is {DA7CD0DE-1602-45e6-89A1-C2CA151E008E}/1 <- this '1' at the end. It wasn't there in foobar 9.4.2, at least in my config. I'm using standard UI.
Can anyone replicate this error? Your ahk_class will be different probably, use the auITspy to grab yours...
Thanks