
count74
Germany
Asked
— Edited

Hi,
I wrote a script for my robot to control its arm / manipulator. I saved the script in the editor and the project too and loaded it again today and the script control is not there anymore and I can not seem to find the script. Where are EZ-Scripts saved when the save button in the editor is clicked and how do I load a script? It would be really annoying if I had to write it all again...
Thanks for your help!
Another tip (I don't think this is what happened to you, but for other readers), if you start with one of the EZ-Robot example projects, be sure to save your own copy with its own name. Every time ARC is updated, the example projects are over-written with the latest version, so if you have modified one without saving your own copy, all your work will be lost.
Alan
Thanks for your reply!
Alan
All ARC objects, including scripts are save in the project name.ezb file, which is a form of XML file, so there would not be a separate file or folder just for scripts.
Another option other than saving to the cloud as well as locally, would be to set up a windows task or other script activity to periodically archive copies of your .ezb files to a backup directory with archived names. A lot of work to get around a product bug that DJ really should take care of, but since there are workarounds that may be why it hasn't moved to the top of the todo list.
Alan
Now, there's people having a different opinion. So, which one is correct? Since out of tens of thousands of users, two people have brought it up... we're going to keep the button as save
@count74 Ezrobot does recommend that you begin learning the product using the robot program in the learn section. We've worked really really really really hard at making the best videos that educate users with robotics - but they are only effective if they're used
I suspect the project got corrupted somehow, because as I tried to rewrite the script I got all kinds of error messages, but I can not get the message window to stay. I try to click on "always show", but it does not react.
I will start the project from scratch tomorrow.
I can't count the number of hours wasted re-writing scripts or recreating auto-positions before I learned to save my project after every single change, and make regular backups to the cloud.
Alan
Auto Backup
That's a good solution. You could have it fire in the init script so you always know you have a clean copy to revert to, and then fire every 10 minutes as an automatic backup of any changes. I think I will incorporate that into my projects.
Alan
Ps, for those of us who don't drink'n'click, it can be disabled in preferences
My unending gratitude!
Thanks for taking care of this.
Alan