Author Topic: Clickable links in system output window  (Read 2938 times)

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Clickable links in system output window
« on: September 20, 2017, 10:51:58 pm »
Hi,

I'm assuming this is possible - just not sure how. I want to include clickable links (hyperlinks) to model elements and diagrams in the text displayed in the Sparx system output window. Anyone have a VB script example of how to do this ? Any pointers to help/guides ?


Regards,


Jon.

qwerty

  • EA Guru
  • *****
  • Posts: 13428
  • Karma: +390/-299
  • I'm no guru at all
    • View Profile
Re: Clickable links in system output window
« Reply #1 on: September 20, 2017, 11:30:52 pm »
See the help: WriteOutput (string Name, string Output, long ID)
    ID: Long - specifies a numeric ID value to associate with this output item for further handling by Add-Ins; can be set to 0 if no handling is required

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 12783
  • Karma: +532/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Clickable links in system output window
« Reply #2 on: September 21, 2017, 02:24:46 am »
I think it works even without specific code. If you pass the ElementID then EA will select that element in the project browser upon doubleclicking.

Geert