Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: xkrystof on November 29, 2007, 12:49:01 am

Title: scripting within EA
Post by: xkrystof on November 29, 2007, 12:49:01 am
Hi,

I created script (*.wsc), I registered it as an compoment and it is possible to run it as Add-Inn.
However, every time when I change the code of the script, I need to close EA and open it, to run script with altered code. It is really time consuming ...

Is there any way for scripting in EA, when I can have EA opened for the all time, change the code and run it?

thanks
Jan

Title: Re: scripting within EA
Post by: thomaskilian on November 29, 2007, 01:08:42 am
Yes,if you use Perl. I invoke a Perl script that offers all Perl scripts in a certain directory in the context menu. Then I can change these aty any time as they will be executed dynamically.
Title: Re: scripting within EA
Post by: xkrystof on November 29, 2007, 01:27:16 am
thanks for the hint, ... but still
- which context menu do u mean - how can I run a perl script - from where?
- how does Perl will know about EA api?
- could u attach an perl example?


thank s is advance ..
Title: Re: scripting within EA
Post by: thomaskilian on November 29, 2007, 02:37:15 am
You can look here http://www.eausergroup.org/

I posted some Perl/WSH coding some years ago (always promising to update/transfer it to the Wiki, but really no time
:().