I thought I was using the simplest method to restart the macro every x minutes. But errors persist.
After x minutes the ui.vision macro uses Xrun to call a simple linux script…
#!/bin/sh killall chrome sleep 2 google-chrome "file:///home/... ...ui.vision.html?direct=1&cmd_var1=1¯o=mymacro"
The macro runs, then Xrun calls the bash script and chrome restarts. The ui.vision tab opens, but the new macro fails to run with this error:
“Error #180 : No connection to browser tab” (doesn’t run at all) as soon as the ui.vision opens and tries to run my macro.
If I start the bash file from the terminal, no problem, ui.vision runs the macro.
Any suggestions welcome