Skip to content

Script IDE 1.20.0

Choose a tag to compare

@nigelgwork nigelgwork released this 07 Sep 04:35
· 20 commits to main since this release

Export and import code, in the Designer's own format.

Export

Right-click a script or a package in the tree → Export…. You get a .zip in exactly the format the Designer writes — so the file opens in the Designer, and a file the Designer wrote opens here. A package exports every script under it, at any depth, whether the branch is open or shut.

Import

Import… is on the same menu. Choose a resource zip and you get a list of what is in it, ticked and ready, with two things the Designer's own import does not show you up front:

  • which scripts already exist, so replacing one is a choice rather than something you find out afterwards; and
  • which resources will not be imported at all — a Designer export can carry Perspective views and images, and a script editor that quietly dropped them would look like it had lost them.

Nothing is written until you press Import, and every path is reported afterwards, including the ones that did nothing.

Proved against the real Designer

The format was measured by driving the Designer, and then the round trip was finished: a zip written by this module was opened in the Designer, imported, and the script came back byte-identical. That is what caught the one real defect — a missing path prefix that would have made every export import as nothing, in both tools, while looking perfectly reasonable in a listing.

Also

The script tree has a right-click menu for the first time.

Upgrading

Nothing to do.