# Open Console Window Automatically

**URL:** <https://forum.inductiveautomation.com/t/open-console-window-automatically/11755>\
**Category:** Ignition\
**Created:** [May 31, 2016, 8:07pm UTC](https://forum.inductiveautomation.com/t/open-console-window-automatically/11755 "2016-05-31T20:07:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Duffanator](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/duffanator/32/3560_2.png) [@Duffanator](https://forum.inductiveautomation.com/u/Duffanator)\
**Post date:** [May 31, 2016, 8:07pm UTC](https://forum.inductiveautomation.com/t/open-console-window-automatically/11755/1 "2016-05-31T20:07:26Z")

</div>

Hey all,

Is there a way to open up the console window programmatically or send print statements to a text box somehow on a window? I have a pretty long running process that FTP’s into controllers and downloads text files and I have the loop printing out how much time it took for logging into each controller, writting each file, etc… and that all prints into the console nicely and I know where to go to see it which is great. But on the window itself there is just a indeterminate bar bouncing back and forth, which doesn’t tell the operator much information. I’d like to show what I’m printing into the console on the window somehow, has anyone ever done something like that?

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [May 31, 2016, 11:57pm UTC](https://forum.inductiveautomation.com/t/open-console-window-automatically/11755/2 "2016-05-31T23:57:38Z")

</div>

Hi,

You could call the system.gui.openDiagnostics() function. Or instead of printing your data you could send it to a Document Viewer component.

Best,

---

<div class="post-metadata">

**Author:** ![Duffanator](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/duffanator/32/3560_2.png) [@Duffanator](https://forum.inductiveautomation.com/u/Duffanator)\
**Post date:** [June 1, 2016, 11:58am UTC](https://forum.inductiveautomation.com/t/open-console-window-automatically/11755/3 "2016-06-01T11:58:31Z")

</div>

Hmmm… interesting. I will have to play around with the document viewer and see what I can come up with. Thanks for the suggestions, Nick!
