»   »   »


RoqetMenu v1.3

   RoqetMenu is a utility that creates a menu and launches commands based in the input
   from a specially formatted XML file.

index


The XML file layout

   Here is an example of the XML file layout, also see examples provided along with
   this script.
   Note there must always be at least one entry with the command of "exit".
   <?xml version="1.0" encoding="UTF-8"?>
   <roqetmenu>
       <information>
           <title>Test - Main Menu</title>
       </information>
       <!-- The counts below must match the number of subfields... -->
       <parameters param_count="2">
           <parameter>
             <paramname>perl</paramname>
             <paramvalue>perl </paramvalue>
           </parameter>
           <parameter>
               <paramname>browse</paramname>
               <paramvalue>"C:\Program Files\Mozilla Firefox\firefox.exe" C:\roqetman\lang\sql\budget\</paramvalue>
           </parameter>
       </parameters>
       <menu item_count="3">
           <item>
               <description>exit</description>
               <command>exit</command>
           </item>
           <item>
               <description>reconcile qif</description>
               <command>(*perl*)qif_reconcile.pl</command>
           </item>
           <item>
               <description>budget help</description>
               <command>(*browse*)budget_help.html</command>
           </item>
       </menu>
   </roqetmenu>

index


ChangeLog

   2005-12-06 :: 1.2 :: Made the menu fit into an ascii block
   2006-09-27 :: 1.3 :: Fixed missing last menu item issue.

index


Author

   roqet <http://www.roqet.org>;

index


Copyright

   RoqetMenu Perl script copyright 2006 roqet <http://www.roqet.org>;.
   RoqetMenu can be distributed and modified under the terms of the
   GNU General Public License: http://www.gnu.org/copyleft/gpl.html
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
   GNU General Public License for more details.
 
   Updates and other scripts and software available at:
   http://www.roqet.org/software.html
    ~~~
    'l'
     -

index

© Roqet :: 2022-03-01 16:07:35