Does Autorun HTML work on Raspberry Pi (i.e. without Xmodules)

My end goal is to use an app called TRIGGERcmd to remotely trigger a UI.Vision macro on my Raspberry Pi 4. The way I wanted to do this was by creating an autorun HTML file containing the macro, using UI.Vision. TRIGGERcmd could take if from there, by opening the file. But, the autorun HTML file won’t run. I suspect this is because I need Xmodules, and UI.Vision does not support Xmodules on Raspberry.

So, here are my questions:

  1. Am I correct that an autorun HTML needs Xmodules to execute?
  2. Is there any other way anyone can think of to provide a file that TRIGGERcmd can execute/open?