Author Topic: Delete objects when I close the program  (Read 2692 times)

Offline mariusm

  • Multiple posting newcomer
  • *
  • Posts: 46
Delete objects when I close the program
« on: February 24, 2023, 11:07:03 am »
Can I make a script to delete objects when I close the C::B?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Delete objects when I close the program
« Reply #1 on: February 24, 2023, 05:51:23 pm »
I don't think that this is possible with scripting...
Maybe it is possible with an external program, like AutoHotkey...

What do you want to do? Maybe it is possible with some workaround

Offline mariusm

  • Multiple posting newcomer
  • *
  • Posts: 46
Re: Delete objects when I close the program
« Reply #2 on: February 25, 2023, 09:05:13 am »
I want to delete temporary files made to build, not to remain useless on hard.

I searched the list from https://wiki.codeblocks.org/index.php/Scripting_commands I did not find that it's any action like onclose.
« Last Edit: February 25, 2023, 06:01:12 pm by mariusm »

Offline mariusm

  • Multiple posting newcomer
  • *
  • Posts: 46
Re: Delete objects when I close the program
« Reply #3 on: March 03, 2023, 12:45:33 pm »
I see lot of functions mising from scripting docs. For example: OnMenuClicked(), GetMenu(), GetModuleMenu()

Can I see somewhere complete docs?