SOLVED: Allow turning off message panel for scripts

Make a request or discuss new features.
Post Reply
User avatar
pjj
Posts: 1658
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

SOLVED: Allow turning off message panel for scripts

Post by pjj » 04 Jan 2019 11:02

My not-so-popular :cry: backup script gets output from the outside, namely the command line (because it runs external program); the last line says

Code: Select all

Process completed with exit code: 0
which is encouraging :) but... I don't want that information to appear at all! Thing is, when configuring a script within Tool Configuration window, there's no way to suppress message panel -- this is available only for executables. Could you please add this option (these options?) for scripts, too?
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus

User avatar
Rickard Johansson
Site Admin
Posts: 5802
Joined: 19 Jul 2006 14:29

Re: Allow turning off message panel for scripts

Post by Rickard Johansson » 20 Jan 2019 14:40

You could try to change the line

Code: Select all

MainApp.RunApp(batFilePath + "backup-daily-changes.bat", MainApp.ProjectDefaultDir, true, true);
to

Code: Select all

MainApp.RunApp(batFilePath + "backup-daily-changes.bat", MainApp.ProjectDefaultDir, false, true);

User avatar
pjj
Posts: 1658
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: Allow turning off message panel for scripts

Post by pjj » 20 Jan 2019 21:36

I tried and it worked! :shock: Tusen tack! :-D
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus

User avatar
Rickard Johansson
Site Admin
Posts: 5802
Joined: 19 Jul 2006 14:29

Re: Allow turning off message panel for scripts

Post by Rickard Johansson » 20 Jan 2019 21:52

You're welcome 8)

Post Reply