Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Risikat on July 09, 2012, 11:15:24 pm
-
How do you access EA using the command promp. Most importantly generate html or csv reports from the command prompt instead of having to go into EA to do it.
-
You can write a simple script that uses the API to perform s single task.
q.
-
You can write a simple script that uses the API to perform s single task.
q.
Which is the better script to write VBScript or JavaScript. How do you go about running it in the command window
-
I would use C#, but I guess that is kind of a personal preference.
Geert
-
:-) indeed. I'd prefer Perl...
q.
-
Which is the better script to write VBScript or JavaScript. How do you go about running it in the command window
Presumably you're talking about the Windows command prompt? Sorry, not possible: you can only run scripts in the Scripting window within EA. The answer is to create your own executable and run that. This page (http://www.sparxsystems.com/enterprise_architect_user_guide/9.3/automation/setup.html) in the help file will get you started in VB6, C#, Delphi or Java, but any language capable of generating ActiveX Com clients can be used.