Code: Select all
OnError(ErrorHandler)
ErrorHandler(Thrown, Mode) {
return Pause()
}
F1:: {
Throw
}
It doesn't happen without the return. But it was a fat arrow function when I found it.
Code: Select all
OnError(ErrorHandler)
ErrorHandler(Thrown, Mode) {
return Pause()
}
F1:: {
Throw
}
That is because the icon indicates that status of the current thread (the script’s main thread or other thread), which is not paused.
Code: Select all
ErrorHandler(Thrown, Mode) {
Pause()
return
}
But this two scripts act the same with the timer.
Code: Select all
OnError((*)=>(Pause()))
SetTimer(()=>Tooltip("Timer"), 100)
F1::Throw
Code: Select all
OnError((*)=>(Pause(1)))
SetTimer(()=>Tooltip("Timer"), 100)
F1::Throw
Users browsing this forum: TAC109 and 58 guests