version 6.0
WR O DO COMMAND (area; command{; modifiers})
| Parameter | Type | Description | |
| area | Longint | 4D Write area | |
| command | Integer | Command number | |
| modifiers | Longint | Modifier key(s) pressed |
Notes 6.5:
This command was only maintained for compatibility purposes. We recommend using the WR EXECUTE COMMAND command.
Also, the WR O DO COMMAND command does not work with the following commands:
405 (outline style)
702 (subscribe hotlink)
708 (publish hotlink)
Description
The command WR O DO COMMAND executes the menu item specified by command. The menu item will be executed as if you had chosen it from a 4D Write menu.
Note: The command numbers used by WR O DO COMMAND are not documented in the current version of the manual. Please refer to the 4D Write 6.0.x documentation or use the WR EXECUTE COMMAND command.
The following modifier keys can be used, expressed as the sum of key numbers:
| Key | Value | |
| Command | 256 | |
| Shift | 512 | |
| Caps Lock | 1024 | |
| Option | 2048 | |
| Control | 4096 |
See Also