Run script with main menu button

Hello,

Is it possible to run a script, when you click a menu button

I would like another action to perform, when I click the cameras link (Kamere).

Best regards, Miha

Unfortunately this is not possible.

paresy

Any workarounds maybe?

Miha

Use the Icon Widget, map it to some script and call WFC_SwitchPage to call the real page.

paresy

I tried, but then I loose the position of camera menu. Widgets are only on the right side? or is there a way to put it before main menu?

Thanks,

Miha