Order scripts sequence and separators in RMB pop-up menu

<< 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

Description

It is possible to assign a specific menu item order and to insert separators.

 

Remarks

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.

 

warningAny .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.

 

See also

UIvbs script to enable or disable script in the RMB pop-up menu

 

Example

These are file names taken from Windows Explorer

 

script_order_in_RMB_0

 

and this is the corresponding RMB pop-up menu

script_order_in_RMB_1

 

 

Same procedure but with folders...

script_order_in_RMB_2

 

corresponding RMB pop-up menu

script_order_in_RMB_3