I am trying to use KBM to monitor a video stream in a browser. On occasion the stream stops with an error. I would like to “see” the message and mouse click the restart button in the browser. That will restart the stream.
The video is run full screen and is mirrored to my TV.
I have seen references to folks doing this with a trigger based on screen.
I'm not sure the best way to approach that issue so I'll defer to some others that have more experience than me. I can share the triggers and actions documentation though.
You might be able to do something like this. You'll need the following:
The name of the website for the title does not contain condition.
A screenshot of the error message for the first image well.
A screenshot of the play/resume button for the second image well.
In use: Trigger this macro while watching the stream. It will check for the error message every 5 seconds. If the error is detected, it will refresh the page and click play/resume.
Ok I've updated the macro above to include your found images.
The reload image doesn't need to be used; we can simulate the shortcut ⌘R instead.
I'm not sure that it's necessary to exit fullscreen before reloading the page, so I've left that action disabled. Right click for the Enable Action option.
You need to add the play button image into the macro's empty image well.
Going back to fullscreen when a video is playing can probably be done by simulating the F key.
You may need to add pauses between some of these actions, but see how you get on.
No, more likely it's Firefox blocking cross-site cookies. You could probably solve this entirely by allowing them for that site -- see Firefox's Preferences->Privacy & Security.