I have a set of macros that scrape a desktop application, I opened an earlier post about reliability but I think in the meantime I worked out that the way to go is onerror but I have a question about onerror.
I’m looking at DemoIfElse and in there, the onError is set and at the bottom of the function is the code. I have 2 questions. Do I need to set the onError in every function? If I can set it just once, can there be a global label section just set once, or do I need to have the code (I plan on just run’ing a function) at the bottom of every function?
Is there a way to have a global onerror, so I just set it once and it works everywhere or do you need to put the onerror code in each function?