THIS

This namespace contains functions that are used with the current item in the context menu.


Syntax

this.id              // Returns the ID of the current item
this.name            // Returns the name of the current item
this.name            // Returns the length of the current item's name
this.name.length     // Returns the length of the current item's name
this.title.len       // Returns the title of the current item
this.title.length    // Returns the length of the current item's title
this.title.len       // Returns the length of the current item's title

this.type            // Returns the type of the current item [item = 0, menu = 1, separator = 2]
this.sys             // Returns true if the current item is a system item

this.checked         // Returns true if the current item is checked
this.disabled        // Returns true if the current item is disabled
this.pos             // Returns the position of the current item in the context menu