Hide IDE Applescripts?

Hi,
about a year ago, someone posted 2 Applescripts, which hide the IDE when an app is run in Debug Mode, and then redisplays it when the app is closed.

Does anyone still have these 2 Applescripts?

Thank you all in advance.

I have the scripts as Constant in a module
Download hide/show Xojo

or modul only
(see HowTo- Note)

Thank you Axel - much appreciated!