Giter VIP home page Giter VIP logo

enterprise-architect-vbscript-library's People

Contributors

baerrach avatar geertbellekens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

enterprise-architect-vbscript-library's Issues

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

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

cannot load own script

imported all your scripts
did an own one in a new project browser group, added the path and the group lines on top
stored all scripts successfully to filesystem using SaveAllScripts
tried to load them in a different model but failed when it comes to the new group:
at line 121 I get the failure message: "Object doesn't support this property or method: 'newScript.GroupType'"

LoadScriptsBootstrap.vbs add configuration for script folder location.

selectedFolder.getUserSelectedFolder("") uses an ancient folder selection widget that does not remember previous locations, this makes running the script multiple times tedious as you must navigate to the scripts folder everytime.

Add a const at the top of the file for the end-user to modify to their scripts folder to make life easier.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.