Skip to content

LoadScripts.vbs refactor to allow extension points for LoadScriptBootstrap.vbs #16

@baerrach

Description

@baerrach

Use Sparx EA LOCAL PATH dialog to specify location of scripts to load.
There is no API to uses these from VB, must read the file and parse directly:
%appdata%\Sparx Systems\EA\paths.txt
(EA-Matic should share this with the save scripts location and update it)

  • refactor variables in main to global variables:
    • overwriteExisting
    • allScripts
    • allGroups
  • use global variables instead of function parameters
  • rename global variables:
    • allScripts -> allScriptsInSparxModel
    • allGroups -> allGroupsInSparxModel

Fix getScriptFromFile() to not create a new Script in the loop, it only needs to be done once

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions