I've tried with/without quotations
Code: Select all
#Persistent
!k::
If ProcessExist("MouseWithoutBorders.exe")
{
Process, Close, MouseWithoutBorders.exe
}
Else
{
Run, C:\Program Files (x86)\Microsoft Garage\Mouse without Borders\MouseWithoutBorders.exe
}
ProcessExist(Name){
Process,Exist,%Name%
return Errorlevel
}
~F2::Suspend
return
~Pause::
Suspend,Off
ExitApp
#Persistent
!k::
Process Exist, MouseWithoutBorders.exe
Process, Close, MouseWithoutBorders.exe
Return
~F1::Suspend
return
~Ins::
Suspend,Off
ExitApp