Updating Scripts on Polyscope X over external PC

Hello all together,

after working with Polyscope X for a few months now i am wondering if i can update Script-Files over some api over my laptop like ssh.
In comparison to Polyscope 5 where i could update the scripts files over ssh connection i dont find any other way than usb-stick to update the script files on X.

There is a way to update .urpx files over the REST API but i found nothing to just update .script files

I hope somebody can tell me a proper way than using an usb-stick.

Thanks
Matthias

Hi Matthias

I would also love to have a way in the Robot API to update and import scripts. This might be a good feature request!

There is a hacky way to update your scripts via sftp, have a look at /ur/bin/backend/applications/scripts

There is folders consisting of just a number. In each of them there is a file script and a file script.json. One of those scripts is the one you like to modify.

But be aware, just changing the script doesnt change the script blocks used in the program (they are one time imports (yet)).