yes, hippoedit can record mouse action and clicks in hippoedit itself and outside of it also and persist them as hippoedit macros. Than there is a plugin, that can convert such macros in JavaScript. And such scripts can be executed. But as macros ONLY in hippoedit. While they rely on HippoEDIT API for executing of them. To be honest, shell object that is used for executing of the mouse clicks, has same API as WSH (Window Scritpting Host), so it may be rather easy to adopt resulting scripts to run with it, without HippoEDIT, but I have never tested that. While this was not an intention of this functionality.

But to be honest, I think, HippoEDIT is not a proper tool for your requirement. Try to use something more deidcated, as AutoHotkey for example. It is very powerful and free tool people normally use to do Windows automation.