Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can a macro corrupt? Exact same code works in other macro.
#4
It's actually happening again to the new macro.
I thought the macro wouldn't run but now I'm noticing the error log:

run "C:\Program Files\SAP\SAP Business One\SAP Business One.exe" "" "" "" 0 "SAP"
wait 5
int w1=act(win("SAP Business One" "TMFrameClass"))

"Error (RT) in Start SAP: window not found"

It's as though the run statement thinks the app is open but when it goes to activate 5 sec later, can't be found. I only put the wait in to see if it needed time. It was working fine without the wait when it did work. :?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)