geertbellekens / enterprise-architect-vbscript-library Goto Github PK
View Code? Open in Web Editor NEWLibrary of wrappers and scripts for Enterprise Architect automation
License: BSD 2-Clause "Simplified" License
Library of wrappers and scripts for Enterprise Architect automation
License: BSD 2-Clause "Simplified" License
See GeertBellekens/Enterprise-Architect-Toolpack#128 where this was incorrectly raised.
The problem is in TextFile.loadContents().
Scripting.FileSystemObject is just a broken VB implementation that doesn't handle non-ascii
For example:
`
documentStatus = "Voor implementatie / Pour implémentation"
documentStatus = "Voor implementatie / Pour implémentation"
`
I didn't find the cause, but the refactoring in #16 seems to have made it go away.
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)
Fix getScriptFromFile() to not create a new Script in the loop, it only needs to be done once
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'"
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.
The model validation via VBScript is not well documented.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.