set menu set menu

Devices

This command is currently not supported in any Digi Connect Family

supported

devices.

Purpose

The “set menu” command is used to create and modify custom menus. For

 

example, you can use custom menus to present a set of actions to users,

 

or display a limited set of commands to users for security purposes.

 

There are several modes of using the “set menu” command:

 

• To update global settings for custom menus.

 

• To add or update custom menus.

 

• To add or update individual items in a custom menu.

Required

For Digi Connect products with two or more users, permissions must be set

permissions

to “set permissions s-menu=read” to display custom menu settings, and

 

“set permissions s-menu=rw” to display and set custom menu settings. See

 

"set permissions" on page 157 for details on setting user permissions for

 

commands.

Syntax

Updating Global Settings

 

set menu [quit_key=key] [quit_label=string] [previous_key=key]

 

[previous_label=string] [presskey_label=string]

 

Adding/Updating Custom Menus

 

set menu range=1-32name=string[newname=string]

 

[title=string] [subtitle=string] [sortby={nonekeylabel}]

 

[columns=1-5] [direction={horizontalvertical}]

 

Adding/Updating Custom Menu Items

 

set menu range={1-32)name=string} [item=1-32] [key=key]

 

[label=string] [{command=stringsubmenu=string}]

Options

Options for Updating Global Settings

 

quit_key=key

 

The key and text displayed on the custom menu next to the “quit_label”

 

that allows a user to quit the custom menu and close the associated

 

connection. The menu is closed when this key is pressed by the user.

 

The key is either 0-9, a-z, or A-Z. The default is “Q.” The key is case

 

insensitive; therefore, the keys “A” and “a“ will act the same.

132

Chapter 2 Command Descriptions

Page 132
Image 132
Digi 90000566_H manual Quitkey=key