|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Programmer's Guide > Order scripts sequence and separators in RMB pop-up menu |
available from build: 20040910 |
It is possible to assign a specific menu item order and to insert separators.
To perform ordering and separating you've to apply the following naming conventions to the scripts:
a.Order sequences
if the script file name begins with a sequence "()" ( opened round bracket, characters, closed round bracket ), the file name will be displayed in the pop-up menu without this particular sequence; this allows to order the file names as desired.
b.Separators
if the script file name contains all minus sign characters "-" ( except an eventual beginning order sequence ), a separator menu item will be displayed for it.
Any .UIvbs file associated with the scripts must not contain the order sequence in it's file name.
This feature works only with NTFS file system type.
This feature can be applied to folders too.
UIvbs script to enable or disable script in the RMB pop-up menu
These are file names taken from Windows Explorer

and this is the corresponding RMB pop-up menu

Same procedure but with folders...

corresponding RMB pop-up menu
