Command.UID

Description

Returns a String value containing the unique ID for the command (used with the CreateToolbarButton command).

Note: This property is read-only.

Examples

VBScript Example

'This example creates a new toolbar 
'and puts a button on it that will
'launch the "Info Scene" dialog
uidToolbar = CreateToolbar( "My Toolbar" )
uidCmd = Commands("Info Scene").UID
CreateToolbarButton uidToolbar, uidCmd