Running scripts inside pcbnew

Hello,

Is there a way of running scripts inside pcbnew other than the script console? It is possible to create buttons or menu options to run the scripts.

Thanks,
Wylie