View Full Version : Debug console clear
Grimmbart
February 25th, 2019, 18:11
Hi all
Is it possible to clear console window with code in a function ?
Thank's for your response
Moon Wizard
February 25th, 2019, 18:15
There is no command to clear the console programmatically; but the visual display will be cleared if you close the console and reopen with the /console command.
Regards,
JPG
Grimmbart
February 25th, 2019, 18:16
Ok, thnak's
Grimmbart
February 25th, 2019, 18:19
And to open or close console window with code in a function ?
Moon Wizard
February 25th, 2019, 21:38
There is no command to open/close console in a function. Only manually close/open to reset. The console should only be used for debugging.
Regards,
JPG
Minty23185Fresh
March 1st, 2019, 12:28
While developing/debugging I have a desktop shortcut to launch FG that has the /console parameter added. When I use the shortcut the console come up as FG launches. As mentioned to clear it just close the console. But when started this way any Debug.console() encountered during execution will bring up the console automatically. Unfortunately so will a Database saved. The additional bonus of capturing everything in the launch can be helpful at times also. (Like script initializations.)
Varsuuk
March 7th, 2019, 20:04
Yup, as Damned once showed us in his lessons at an FGCon (at an unholy 4 or 5am? EST ;) ) I now keep dragged to hot bar shortcuts of:
/console
/reloading
/save
shortcut of the character I was working with to open his sheet
I think I used to have an /export of some form but I forget.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.