menu_state_save pathname
This command queries the current states of the menus created as children of
pathname and returns them as a string suitable for passing to a later
menu_state_restore
function. The principle use of this function is
within the SetBusy
command.