home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 December (Special) / PCWorld_2004-12_Special_cd.bin / Windows / xp / pebuilder3032.exe / plugin / nu2menu / nu2menu.xml < prev    next >
Extensible Markup Language  |  2003-12-12  |  5KB  |  85 lines

  1. <?xml version="1.0"?>
  2.  
  3. <NU2MENU>
  4.     <MENU ID="Startmenu">
  5. <!--        <MITEM TYPE="ITEM" CMD="RELOAD">Reload menu</MITEM>
  6.         <MITEM TYPE="SEPARATOR"></MITEM>-->
  7.         <MITEM TYPE="POPUP" MENUID="Programs">Programs</MITEM>
  8.         <MITEM TYPE="POPUP" MENUID="System">System</MITEM>
  9.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetEnvVar('ComSpec')">Command Prompt (CMD)</MITEM>
  10.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="@ShowRunDialog()">Run...</MITEM>
  11.         <MITEM TYPE="SEPARATOR"></MITEM>
  12.         <MITEM TYPE="ITEM" DISABLED="1" CMD="">User @GetUserName() on @GetHostName()</MITEM>
  13.         <MITEM TYPE="ITEM" DISABLED="1" CMD="">WinDir: @GetWinDir()</MITEM>
  14.         <MITEM TYPE="SEPARATOR"></MITEM>
  15.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\setupldr.bin))" CMD="EXIT">Shutdown and Reboot</MITEM>
  16.         <MITEM TYPE="ITEM" DISABLED="@FileExists(@GetWinDir()\setupldr.bin)" CMD="EXIT">Exit</MITEM>
  17.     </MENU>
  18.  
  19.     <MENU ID="Programs">
  20.         <MITEM TYPE="POPUP" MENUID="Accessories">Accessories</MITEM>
  21.         <MITEM TYPE="POPUP" MENUID="System Tools">System Tools</MITEM>
  22.     </MENU>
  23.     
  24.     <MENU ID="Accessories">
  25.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\wordpad.exe))" CMD="RUN" FUNC="@GetWinDir()\system32\wordpad.exe">Wordpad</MITEM>
  26.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\calc.exe))" CMD="RUN" FUNC="@GetWinDir()\system32\calc.exe">Calculator</MITEM>
  27.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\mspaint.exe))" CMD="RUN" FUNC="@GetWinDir()\system32\mspaint.exe">Paint</MITEM>
  28.     </MENU>
  29.  
  30.     <MENU ID="System Tools">
  31.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\diskcopy.dll))" CMD="RUN" FUNC="@GetWinDir()\system32\RunDLL32.exe @GetWinDir()\system32\diskcopy.dll,DiskCopyRunDll">Disk copy (floppy)</MITEM>
  32.     </MENU>
  33.  
  34.     <MENU ID="System">
  35.         <MITEM TYPE="POPUP" MENUID="Network">Network</MITEM>
  36.         <MITEM TYPE="POPUP" MENUID="Storage">Storage</MITEM>
  37.         <MITEM TYPE="POPUP" MENUID="Display">Display</MITEM>
  38.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\main.cpl))" CMD="RUN" FUNC="rundll32.exe shell32.dll,Control_RunDLL @GetWinDir()\system32\main.cpl">Mouse</MITEM>
  39.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\timedate.cpl))" CMD="RUN" FUNC="rundll32.exe shell32.dll,Control_RunDLL @GetWinDir()\system32\timedate.cpl">Date and Time</MITEM>
  40.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\access.cpl))" CMD="RUN" FUNC="rundll32.exe shell32.dll,Control_RunDLL @GetWinDir()\system32\access.cpl">Accessibility Options</MITEM>
  41.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="taskmgr.exe">Task Manager</MITEM>
  42.         <MITEM TYPE="POPUP" MENUID="Nu2Menu">Nu2Menu</MITEM>
  43.     </MENU>
  44.  
  45.     <MENU ID="Network">
  46.     </MENU>
  47.  
  48.     <MENU ID="Storage">
  49.         <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\diskpart.exe))" CMD="RUN" FUNC="diskpart.exe">DiskPart</MITEM>
  50.     </MENU>
  51.  
  52.     <MENU ID="Display">
  53.         <MITEM TYPE="POPUP" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\Nu2Menu\setres.exe))" MENUID="Resolution">Screen Resolution</MITEM>
  54.     </MENU>
  55.  
  56.     <MENU ID="Resolution">
  57.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Nu2Menu\setres.exe h640 v480">640x480</MITEM>
  58.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Nu2Menu\setres.exe h800 v600">800x600</MITEM>
  59.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Nu2Menu\setres.exe h1024 v768">1024x768</MITEM>
  60.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Nu2Menu\setres.exe h1280 v1024">1280x1024</MITEM>
  61.     </MENU>
  62.  
  63.     <MENU ID="Nu2Menu">
  64.         <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetWinDir()\system32\notepad.exe @GetProgramDrive()\Programs\Nu2Menu\nu2menu.xml">Edit menu</MITEM>
  65.         <MITEM TYPE="ITEM" CMD="RELOAD">Reload menu</MITEM>
  66.         <MITEM TYPE="SEPARATOR"></MITEM>
  67.         <MITEM TYPE="ITEM" CMD="HIDEFROMTASKBAR">Hide from taskbar</MITEM>
  68.         <MITEM TYPE="ITEM" CMD="SHOWINTASKBAR">Show in taskbar</MITEM>
  69.         <MITEM TYPE="POPUP" MENUID="Info">Info</MITEM>
  70.     </MENU>
  71.  
  72.     <MENU ID="Info">
  73.         <MITEM DISABLED="1" TYPE="ITEM">Windows directory: @GetWinDir()</MITEM>
  74.         <MITEM DISABLED="1" TYPE="ITEM">Program directory: @GetProgramDir()</MITEM>
  75.         <MITEM DISABLED="1" TYPE="ITEM">Program drive: @GetProgramDrive()</MITEM>
  76.         <MITEM DISABLED="1" TYPE="ITEM">User name: @GetUserName()</MITEM>
  77.         <MITEM DISABLED="1" TYPE="ITEM">Host name: @GetHostName()</MITEM>
  78.         <MITEM DISABLED="1" TYPE="ITEM">Temp dir: @GetTmpDir()</MITEM>
  79.          <MITEM DISABLED="1" TYPE="ITEM">Windows Directory: @GetWinDir()</MITEM>
  80.         <MITEM DISABLED="1" TYPE="ITEM">Get environment ComSpec: @GetEnvVar('ComSpec')</MITEM>
  81.         <MITEM DISABLED="1" TYPE="ITEM">OS Build number: @OsBuild()</MITEM>
  82.         <MITEM DISABLED="1" TYPE="ITEM">Nu2Menu version: @Ver()</MITEM>
  83.     </MENU>
  84. </NU2MENU>
  85.