Scripts can have a dialog window but to have something like at menu or menu bar would require the use of a Palette Window and there is no goo scripting support for pallet windows. You may want to look at creating Photoshop extensions. If a dialog window will do there is a PDF in the Adobe SDK downloads that covers ScriptUI. There the are some issues in CC 2015 when it comes to ScriptUI...
You can add a menu intem is Some Photoshop Menues like Photoshop menu File "File>Scripts>Your Script Name" or "File>Automate>Your Automate Name" filters can alsi be added.
Thanks for your prompt reply. How do I create PS extension (Except Adobe Configurator)
Its possible to write script for runtime update..? using Adobe Configurator or other ..?
I gave up on extensions back in CS6. Adobe has since changed again no more flash support HTML 5 is in. Also some image support has been removed. Extensions need to be signed and put on Adobe Add On site and be installed by the creative cloud desktop application.. Oh such fun.