How would I run a batch file on Windows through the Unified Remote app?
Dominic Cellini 00
I created a batch file on my Windows PC that I want to run from the Unified Remote app. Would I have to make a custom remote or could I do it using one of the pre-made remotes? If so, how?
or just alter existing remote.lua/layout.xml.
In your remote.lua:
-- @help Run Batch File actions.run_batch = function() os.open("C:\\Users\\xxx\\Documents\\test.bat")
In your layout.xml:
<?xml version="1.0" encoding="utf-8"?> <layout> <row> <button text="Run Batch file" ontap="run_batch"/> </row> </layout>