Author Topic: Running EA scripts via automation interface  (Read 5552 times)

Ondrej Kolenaty

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Running EA scripts via automation interface
« on: April 20, 2012, 08:02:31 pm »
Hello,

  is there any way how to run scripts from model via automation interface?

Thank You.

Georg

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Running EA scripts via automation interface
« Reply #1 on: October 02, 2016, 01:19:35 am »
Hi,

years later, I have the same question. Is it possible, to run a EA script via automation interface?

Thank you, Georg

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Running EA scripts via automation interface
« Reply #2 on: October 02, 2016, 04:48:25 am »
No, but you can call script by yourself without the help of the API
See the open source tool EA-Matic for which the code it kept on github

Geert

Bjorn S

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Running EA scripts via automation interface
« Reply #3 on: December 22, 2016, 09:57:34 pm »
I am not sure how I see how EA-Matic would help? Say I'm running a script (outside EA), that instantiates an OLE object to load the "EA.Repository"; how would EA-Matic then help with having my outside script running a script that is in the EA repository?

Thanks,

Bjorn

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Running EA scripts via automation interface
« Reply #4 on: December 23, 2016, 04:28:42 am »
Bjorn,

EA-Matic does what you are trying to do: execute scripts that are stored in EA.
You can look at the code of EA-Matic to see how it's done, and then do it the same way.

Geert