Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: MortenMacFly on July 05, 2006, 10:24:24 pm

Title: This new scripting console...
Post by: MortenMacFly on July 05, 2006, 10:24:24 pm
...is so cool!

If you haven't experienced already, try:
- open a project
- menu "View" -> enable "Script console"
- switch to the script console in the message pane
- type as command:
Code
GetProjectManager().CloseProject(GetProjectManager().GetActiveProject(),true,true)

...and watch the project closing away. There is lots more, have a look at your opportunities here: http://wiki.codeblocks.org/index.php?title=Scripting_Code::Blocks (http://wiki.codeblocks.org/index.php?title=Scripting_Code::Blocks) and here: http://wiki.codeblocks.org/index.php?title=Scripting_commands (http://wiki.codeblocks.org/index.php?title=Scripting_commands)...
Title: Re: This new scripting console...
Post by: sethjackson on July 05, 2006, 11:19:47 pm
...is so cool!

If you haven't experienced already, try:
- open a project
- menu "View" -> enable "Script console"
- switch to the script console in the message pane
- type as command:
Code
GetProjectManager().CloseProject(GetProjectManager().GetActiveProject(),true,true)

...and watch the project closing away. There is lots more, have a look at your opportunities here: http://wiki.codeblocks.org/index.php?title=Scripting_Code::Blocks (http://wiki.codeblocks.org/index.php?title=Scripting_Code::Blocks) and here: http://wiki.codeblocks.org/index.php?title=Scripting_commands (http://wiki.codeblocks.org/index.php?title=Scripting_commands)...


Cool I hadn't noticed that.  8)

Oh and that info popup thingy is really cool too (it looks nice).  :D
Title: Re: This new scripting console...
Post by: David Perfors on July 06, 2006, 12:19:48 pm
nice feature  :D

But look at the attached image, I opened the console, closed it again, and moved my mouse over the message window.
(1.0 Revision 2695. Windows XP)

[attachment deleted by admin]
Title: Re: This new scripting console...
Post by: mandrav on July 06, 2006, 01:03:59 pm
But look at the attached image, I opened the console, closed it again, and moved my mouse over the message window.
(1.0 Revision 2695. Windows XP)

Fixed, thanks.