Book a Demo

Author Topic: Open System Output Window or Progress meter  (Read 4004 times)

ggandhi

  • EA User
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Open System Output Window or Progress meter
« on: February 07, 2014, 03:38:20 am »
I know the following 2 ways to Open the System Output Window
1. Ctrl+Shift+8
2. View System Output
Can the System Output Window be opened by JScript code?

I have built a JScript that successfully reads all connectors in Repository.GetCurrentDiagram(), then ouputs the connector information to a CSV file.  My JScript contains the following ReportInfo so that I can watch progress.

ReportInfo( rowNumber + " : (" + hopQty + " hops " + direction + ") "
      + routeDescription(source, parent_Group, child_Group, destination, hopQty));

My customer does not want to use Ctrl+Shift+8 or View System Output. My customer wants my JScript to open the System Output window automatically.  Can this be done in JScript code?

Alternatively can I show progress meter whilst the script is running?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Open System Output Window or Progress meter
« Reply #1 on: February 07, 2014, 07:18:20 am »
Try Repository.EnsureOutputVisible

There is no EA-support for a meter. You would need to write that on your own. Likely it's not that easy with JScript, but I'm just guessing here.

q.
« Last Edit: February 07, 2014, 07:19:59 am by qwerty »