Page 1 of 1

save scripts with new name and keep the old

Posted: Thursday 04 April 2019 12:18
by terjekr
After updating to version: 4.10548 it is not possible to save a blockly script in different versions with different names. When I give a script a new name, the old name is just overwritten. How do I keep different versions of a script for testing?

Re: save scripts with new name and keep the old

Posted: Thursday 04 April 2019 20:42
by SweetPants
Use import/export

Re: save scripts with new name and keep the old

Posted: Saturday 20 July 2019 9:31
by uschuga
How to import & export? Via clipboard? It does not work as the clipboard remains empty and a "blocking" sign pops up.

Re: save scripts with new name and keep the old

Posted: Saturday 20 July 2019 12:30
by waaren
uschuga wrote: Saturday 20 July 2019 9:31 How to import & export? Via clipboard? It does not work as the clipboard remains empty and a "blocking" sign pops up.
on event editor screen
----------------------------
choose old script
press export
Click outside the block
[ctrl] a
[ctrl] c


notepad or other editor of your choice
-----------------------------------------------
[ctrl] v
select all text between xml tags (beginning with <xml and ending with </xml>)
[ctrl] c


on event editor screen
----------------------------
press +
press Blockly and type new name into the name field
press import and paste clipboard into popup
press save

Re: save scripts with new name and keep the old

Posted: Sunday 21 July 2019 11:08
by uschuga
Perfect, thank you! I knew I was only a click away...

Re: save scripts with new name and keep the old

Posted: Wednesday 16 October 2019 9:51
by Stonez
May I take the liberty to suggest a faster (lazier) way?

on event editor screen
----------------------------
choose old script
Just press export and DON'T Click anywhere else!
[ctrl] a
[ctrl] c
esc

on event editor screen
----------------------------
press +
press Blockly and type new name into the name field
press import
[ctrl] v
press save

Re: save scripts with new name and keep the old

Posted: Wednesday 16 October 2019 10:40
by waaren
Stonez wrote: Wednesday 16 October 2019 9:51 May I take the liberty to suggest a faster (lazier) way?
👍 Thanks !