Germany
Asked — Edited
Resolved Resolved by thetechguru!

Script Is Gone

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!


ARC Pro

Upgrade to ARC Pro

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.

Germany
#9  

I watched a lot (not all yet) of your videos and read the documentation about the plugins I am using. I closed and opened ARC multiple times yesterday and my script and the script plugin were always there. But today it was gone and I do not see what I did wrong. I answered yes to saving on exit and even if I did not the last time, the script plugin should still have been there from the last saves. 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.

#10  

DJ, the issue is that if you click the x on a control, it is deleted without confirmation. The x is right next to the ? so us easy to hit by mistake.

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

PRO
Synthiam
#11  

sounds like you're doing good:) have fun !

PRO
Canada
#12  

FYI I now cut and paste to notepad when writing a long script and save as v1 v2 ..

Germany
#13  

That is what I am doing now too. I use notepad++. Even without a language file for EZ-Script it has some nice features, which make coding much faster.

#15  

Quote:

I gave my robots an auto backup function if anyone wants to use that:

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

PRO
Synthiam
#16  

Alan - this is what alan wants... i'm on a plane so can't update the release until tomorrow. What do i get in return?:D

User-inserted image

Ps, for those of us who don't drink'n'click, it can be disabled in preferences:P