Interfaces > Core Interfaces > DialogMonitorOPS |
The DialogMonitorOPS Core Interface provides a callback system to monitor the 3ds Max User Interface. In conjunction with the Interface: UIAccessor it can be used to collect data and interact with dialogs and popups, for example to press the default or specific button in a pop-up dialog when running automated tasks or log data about the 3ds Max UI activities to a log file.
Available in 3ds Max 9 and higher.
Get/Set the enabled state of the Dialog Monitor.
Get/Set the interactive state of the Dialog Monitor.
Registers a notification callback function with an optional user-defined ID.
The callback function can be any MAXScript function and will be called each time a dialog or menu is opened, but the best way to use this feature is to access the dialog's or menu's data using the Interface: UIAccessor methods.
The callback function MUST return a Boolean value - true on success, false on failure.
Unregisters the notification callbacks with the user-defined ID. If no ID is specified, all callbacks will be unregistered.
Lists all registered notification callbacks with their ID and callback function.
Returns the Window Handle of the current dialog. The handle can be used as an argument in most Interface: UIAccessor methods to collect details about the current dialog and manipulate it.