Author Topic: Execute scripts available in Sparx EA from outside EA using Sparx API  (Read 3904 times)

monicashishodia

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Execute scripts available in Sparx EA from outside EA using Sparx API
« Reply #1 on: March 31, 2017, 10:32:13 pm »
+1

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Execute scripts available in Sparx EA from outside EA using Sparx API
« Reply #2 on: March 31, 2017, 11:33:27 pm »
Couldn't an add-in subscribed to EA_FileOpen do that?

q.