sorry for multiple posts... where in particular in tht guide the example to my question is shown?
As I said, MakeScriptMenuAction.jsx.
Though other files in the same directory are relevant.
You just get the File menu object and .add a submenu to it. You might also find CustomizeMenu.jsx to be helpful as well.
If this isn't clear, please ask a much more specific question. The examples seem pretty good!