Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

How Execute my plugin when I save?

(1/2) > >>

Larri:
Hello,  I have a plugin and I install it. How can I execute the plugin when I save all the project (shift+ctrl+S).

I Want to say: every time that I save all (shift+Ctrl+S) I want to execute my plugin.

         THANKS

MortenMacFly:

--- Quote from: Larri on November 23, 2007, 04:49:33 am ---I Want to say: every time that I save all (shift+Ctrl+S) I want to execute my plugin.

--- End quote ---
If you really mean per-file: Hook into the cbEVT_EDITOR_SAVE event.
If you mean when you save your project: Hook into the cbEVT_PROJECT_SAVE event.
With regards, Morten.

alfre:
Where can I find the cbEVT_EDITOR_SAVE event and the cbEVT_PROJECT_SAVE event.Thanks again

artoj:

--- Quote from: alfre on November 28, 2007, 09:20:23 pm ---Where can I find the cbEVT_EDITOR_SAVE event and the cbEVT_PROJECT_SAVE event.Thanks again

--- End quote ---

src/include/sdk_events.h

alfre:
(Sorry my english)

Sorry I dont explain me so well,  I want  to steal this event. Example : when cbEVT_PROJECT_SAVE event execute, do something(Execute my pluggin).

 The idea is : Execute my pluggin when I save. How can I do that.


                                    THANKS for your time

Navigation

[0] Message Index

[#] Next page

Go to full version