Author Topic: Is there any way to open a console window from the API?  (Read 4540 times)

Akira Q.

  • Newbie
  • *
  • Posts: 15
So I went through the tutorial on how to set up a MusicBee plugin on the wiki, but I was wondering if there was any way to just open a standard console window.
Forms are good but just having something which I could easily send text to (especially with my very rudimentary C# knowledge) would be extremely helpful. Thanks!
(Just as a note, I tried just doing a standard write to the console and tried a few things in settings but I couldn't get anything working)

Rotom

  • Newbie
  • *
  • Posts: 18
If it's for piping the output of one program to another, not really sure how I'd go about that, but if it's for debugging a plugin and you're using Visual Studio, you could use Debug.WriteLine(). Remember to import the System.Diagnostics namespace though:

Code
using System.Diagnostics;