LoadScripts.vbs refactor to allow extension points for LoadScriptBootstrap.vbs
baerrach opened this issue · comments
Barrie Treloar commented
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