This is trivial if you have the Vision module installed. Here's the approach I developed for adding functionality to my designer: Run script at designer startup
I use this for quite a few things that improve my design environment to include adding an icon button to the script editors and adding additional options to the tool bar dropdowns.