Is it possible to create menu with menu item permenently? I have placed my script file in the scripts panel folder inside the scripts folder.
Please advice me.
Persistent scripting engines are created when InDesign starts. To do that your script needs to be in a folder names "startup scripts" somewhere underneath the "Scripts" folder (not Scripts Panel folder).
The easiest way to do it is to create a folder (myFolder), under that, create a folder, "startup scripts", and place your script into "startup scripts".
On my web site, I have (in Free Stuff) a sample project that is certainly more complex than you describe here; however, it does show exactly how to get menus and context menus to work.
the site is: www.creativescripting.net
Thank you. Now my menu with action is working whenever I start Indesign.