Remote control Windows applications from a mobile device/web page.
npm i # bun dislikes some deps
# For the JS version:
bun run build
bun run start
# For the dotnet version:
bun run build:dotnet
bun run start:dotnet
Or use the Windows installer.
System tray:
Main interface:
Editor:
Editing:
Creates a Windows' system tray icon that can provide a URL for a webpage that can send key commands to Cubase, or any other Windows application.
Key commands can be added and edited, are preserved between page loads, and can also be saved to and loaded from file.
To re-arrange commands, drag the icons or table rows.
This would work for any program, by updating the regex in the .env
.
There is a Typescript version, and a dotnet version. The latter requires elevated privelages to listen to all network interfaces:
# As admin:
netsh http add urlacl url=http://+:8223/ user=Everyone
netsh http add urlacl url=http://+:8224/ user=Everyone
netsh advfirewall firewall add rule name="MyRemote" protocol=TCP dir=in localport=8223 action=allow
netsh advfirewall firewall add rule name="MyRemote" protocol=TCP dir=in localport=8224 action=allow
Build: vite -> HTML/JS/CSS bundle
Sytem tray HTTP server -> HTML/JS/CSS bundle
HTML/JS/CSS bundle -> System Tray WS server
System Tray WS server -> Key combination -> Target App
bun run build:dotnet
That will build the vite bundle, copy assets to the dotnet directory, run the dotnet release build, after which a tar ball can be created:
bun run bundle
Use the Vite dev server, make sure to append a query string with an encoded URI to the web socket server: the sort of thing output by the Node app prototype.
- Parse a Cubase XML
- Expose the regex used to select the program
- Maybe add options to launch programs