gsender icon indicating copy to clipboard operation
gsender copied to clipboard

Feature Request - Expose Control Methods to Window Object

Open Technickel-Dev opened this issue 7 months ago • 0 comments

I would love to see the controller functionality or UI actions exposed to the Window object so that external scripts can access their functionality. I have been digging in the code the past little bit and this seems like the most straight forward approach for external script access, however as I'm no expert on the system I am unsure if there are other approaches that expose the services more efficiently.

This would be a step in the right direction for what is proposed in #84 in that people could build automation scripts on top of the remote mode UI. This approach is feasible as I've already successfully experimented this using NodeJS and Puppeteer to open a browser with remote mode, connecting to the machine and pressing buttons to make the commands. That being said having to go through the UI for all commands (especially for example continuous jog) is very painful and I have yet to find a way to access the underlying functionality otherwise.

I would love to hear the thoughts around the proposal and wouldn't mind contributing the changes myself with some guidance on how to get the project up and running for dev as I've been unsuccessful in figuring out how to do that for my Windows machine!

Technickel-Dev avatar Nov 15 '23 04:11 Technickel-Dev