Book a Demo

Author Topic: export scripts to text file  (Read 5945 times)

michielper

  • EA User
  • **
  • Posts: 176
  • Karma: +2/-1
    • View Profile
export scripts to text file
« on: March 30, 2022, 12:44:41 am »
I remember having had a script that exported all scripts to text files, very useful. But somehow it has gone after a few laptop switches..... Was probably one of Geert Bellekens wonderful tools!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: export scripts to text file
« Reply #1 on: March 30, 2022, 03:33:07 am »

michielper

  • EA User
  • **
  • Posts: 176
  • Karma: +2/-1
    • View Profile
Re: export scripts to text file
« Reply #2 on: April 04, 2022, 06:22:11 pm »
You can either use the script: https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library/blob/master/Framework/Tools/Script%20Management/SaveAllScripts.vbs

Or you can use the developer mode in EA-Matic to save your scripts automatically
EA-Matic page: https://bellekens.com/ea-matic/
Latest version of the toolpack: https://github.com/GeertBellekens/Enterprise-Architect-Toolpack/releases/tag/v2.3.21.0

Geert

Thanks! But where do I find Wrappers.Include? It probably contains the class Script....

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: export scripts to text file
« Reply #3 on: April 04, 2022, 07:05:52 pm »
Thanks! But where do I find Wrappers.Include? It probably contains the class Script....

https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library/blob/master/Framework/Wrappers/Include.vbs

You'll need a bunch of other scripts from the framework as well.

Geert