Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: monicashishodia on March 31, 2017, 10:01:10 pm

Title: Execute scripts available in Sparx EA from outside EA using Sparx API
Post by: monicashishodia on March 31, 2017, 10:01:10 pm
HI All

I need to execute scripts,(vb and jscript) available in EA, from outside EA after launching EAP file.

Any function that has been exposed through Sparx EA that i can use to execute these scripts?
I can execute these scripts from outide EA only after doing certain changes such as syntax update so that i can call these scripts using WScript tool but i need to avoid steps where this code conversion is required and can consume original script at both places, inside Enterprise Architect using user interface and outside Enterprise Architect using function/utility exposed by Sparx API.

Please help.

Regards,
Monica
Title: Re: Execute scripts available in Sparx EA from outside EA using Sparx API
Post by: Geert Bellekens on March 31, 2017, 10:32:13 pm
+1
Title: Re: Execute scripts available in Sparx EA from outside EA using Sparx API
Post by: qwerty on March 31, 2017, 11:33:27 pm
Couldn't an add-in subscribed to EA_FileOpen do that?

q.