Author Topic: Code blocks scripting  (Read 4063 times)

Offline carra

  • Multiple posting newcomer
  • *
  • Posts: 117
Code blocks scripting
« on: May 01, 2012, 01:59:28 pm »
Hi again. I have been teaching myself some Code::Blocks script and it allows for some really cool things  ;D
I have noticed, however, a couple of issues (experience in Nightly 7925) and I'd like to know if other people are having them as well:

- After some script commands have been executed (either in the console or elsewhere) the Script Consoles' print commands stop working. For instance: executing "print(1);" will no longer print anything.
- CallMenu() command is not working for me at all. As an example, command "CallMenu( _T("/Help/Tips") );" will display a message box telling me that calling menu with ID 778 failed. This happens with all valid menu routes, the message box is not shown for invalid routes.

Any insights will be appreciated
« Last Edit: May 01, 2012, 02:02:57 pm by carra »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code blocks scripting
« Reply #1 on: May 01, 2012, 02:26:43 pm »
- CallMenu() command is not working for me at all. As an example, command "CallMenu( _T("/Help/Tips") );" will display a message box telling me that calling menu with ID 778 failed. This happens with all valid menu routes, the message box is not shown for invalid routes.
Works fine here, linux rev7920 or 7950
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline carra

  • Multiple posting newcomer
  • *
  • Posts: 117
Re: Code blocks scripting
« Reply #2 on: May 01, 2012, 05:17:08 pm »
OK, I will wait till the next nightly to try if these problems persist.
Is there any date scheduled, or are nightly releases unplanned?
« Last Edit: May 01, 2012, 05:23:54 pm by carra »

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: Code blocks scripting
« Reply #3 on: May 02, 2012, 08:59:05 am »
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline carra

  • Multiple posting newcomer
  • *
  • Posts: 117
Re: Code blocks scripting
« Reply #4 on: May 02, 2012, 10:52:30 am »
Hi, Letartare. I did see your thread about it. I just wanted to make another thread since this happens in a version much more recent than the one you were using. Also, since I am doing a lot of scripting, if something new happens I will reuse this same thread.