2005-11-23 (V0.351) nu2menu.exe c:\tmp\nu2menu.xml Can load nu2menu.xml from different location 2005-02-17 (V0.350) Kinda bug fixed. FileExists did not work with c:\nul 2004-12-01 (V0.349) New: Shift bitwise left @Shl( ValueToShift, HowManyPositions ) Shift bitwise right @Shr( ValueToShift, HowManyPositions ) @And( ValueToAnd, AndWith ) Changed: @Or() @Not() Menu item sub node DISABLED is replaced by VISIBILITY. For backward compatibility the DISABLED node only works when the sub node VISIBILITY does not exist. Do not use the sub node DISABLED anymore!!!!!! VISIBILITY="0" -> Normal VISIBILITY="1" -> Disabled VISIBILITY="2" -> Hidden 2004-09-08 (V0.348) New: Get OS version number @GetOSVersion() Get service pack number @GetServicePackNumber() 2004-07-28 (V0.3471) Fixed SetMenuPos: Menu position when changing screen size when using Parm0/1 R,L / T,B 2004-07-26 (V0.347) New: Set menu posistion @SetMenuPos( XPos, YPos ) Parm 0 -> XPos = x position XPos can also be 'R' for right, 'L' for left or 'C' for center Parm 1 -> YPos = y position YPos can also be 'T' for top, 'B' for bottom or 'C' for center Example: @SetMenuPos( '100','400' ) Example: Set menu position to the top right corner @SetMenuPos( 'R','T' ) 2004-05-27 (V0.346) New: Get Registry Key @GetRegKey( RootKey, SubKey, KeyName, KeyType ) RootKey can be one of the following: 'HKLM' -> HKEY_LOCAL_MACHINE 'HKCU' -> HKEY_CURRENT_USER 'HKCR' -> HKEY_CLASSES_ROOT 'HKU' -> HKEY_USERS 'HKCC' -> HKEY_CURRENT_CONFIG KeyType can be one of the following: REG_SZ -> String REG_EXPAND_SZ -> expandable string REG_BINARY -> Binary REG_DWORD -> DWORD Example: Get PE-Builder Version @GetRegKey( 'HKLM', 'SYSTEM\CurrentControlSet\Control\PE Builder', 'Version', 'REG_SZ' ) 2004-03-17 (V0.345) New: @Exit(), function for shutting down nu2menu Added command line tool nu2menumsg for sending messages to nu2menu. Examples nu2menumsg: - nu2menumsg @Exit() Exits nu2menu, in BartPE you can shut it down. - nu2menumsg @Reload() Reloads nu2menu - nu2menumsg @SetEnvVar( 'NUMENU',@GetFolderDialog('Select folder','c:\') ) Sets environment variable NU2MENU with a selected folder name 2003-10-02 (V0.343) New: @ShowRunDialog(), show the default windows run dialog. (thanks to Cyberian) 2003-08-11 (V0.342) Fixed: loading your own Go/Start button. 2003-08-08 (V0.341) New: You can load your own Go/Start button. Fileformat is BMP. The file must be in the same directory as the nu2menu executable. The filename must be "nu2go.bmp" @Ver -> displays version of nu2menu 2003-07-22 New: @OsBuild -> returns OS build number @Exec() -> executes file Parm 0 -> filename to execute Parm 1 -> show parameter, see PARM attributes when CMD="RUN" @Or( '0','1' ) -> returns 1 @Or( '0','0' ) -> returns 0 @Or( '1','' ) -> returns 1 Changed: Behaviour of @Not function @Not( '1' ) -> returns 0 @Not( 'piet' ) -> returns 0 @Not( '0' ) -> returns 1 @Not( ' ' ) ->return 1 2003-07-21 New: @Reload() Reload menu as a function, returns nothing Changed: GetFolderDialog didn't show any folders under WinPE If you do not want an error message when using @GetFolderDialog, you must create the following directory in the systemdrive: documents and settings\default user\desktop New: 2003-07-02 The following functions are implemented: @ChangeDir() Change directory @FileExists() Checks if file exists @GetEnvVar() Get environment variable @GetFileDialog() Get file dialog, returns file name @GetFolderDialog() Get folder dialog, returns folder name @GetHostName() Returns computer/host name @GetProgramDir() Returns the nu2menu.exe's program directory, like "c:\nu2menu" @GetProgramDrive() Returns the nu2menu.exe's program drive, like "c:" @GetTmpDir() Returns the path of the directory designated for temporary files @GetUserName() Returns username @GetVar() Get global variable @GetWinDir() Returns the windows directory, like "c:\windows" @Not() Not, 0->1, 1->0 @Null() Kind of a null device @SetEnvVar() Set environment variable @SetVar() Set global variable, so you can use anywhere else in the menu system For now, see nu2menu.xml file for sample implementations All other command-line tokens with %...% are replaced with similar functions **** Command-line tokes and functions are CASE-SENSITIVE **** These command-line tokens will work in the menu item name and the FUNC-Node PARM attributes when CMD="RUN" Number values for "show": 0 hide 1 normal 2 showminimized 3 maximize 4 shownoactivate 5 show 6 minimize 7 showminnoactive 8 showna 9 restore 10 showdefault 11 forceminimize Default = 1 Hide from taskbar Show in taskbar Reload menu Shortcut ALT-M to open nu2menu Changed: The way to start an application: Fixed: 2003-06-12 Removed uppercasing FUNC attribute 2003-06-11 Could not read a menu file bigger then 4096 bytes