Code: Select all
Process, wait, Boostnote.exe, 1
NewPID = %ErrorLevel%
if NewPID = 0
{
Run, "C:\Users\Alexander\AppData\Local\boost\Boostnote.exe",, Min, PID
WinWait, Boostnote
Sleep, 10000
WinMinimize
}
return
Code: Select all
Process, wait, Boostnote.exe, 1
NewPID = %ErrorLevel%
if NewPID = 0
{
Run, "C:\Users\Alexander\AppData\Local\boost\Boostnote.exe",, Min, PID
WinWait, Boostnote
Sleep, 10000
WinMinimize
}
return
Code: Select all
Run, % "C:\Users\Alexander\AppData\Local\boost\Boostnote.exe --minimized"
Code: Select all
Run, C:\Users\Alexander\AppData\Local\boost\Boostnote.exe --minimized
Users browsing this forum: Google [Bot] and 218 guests