Runs a preset WINDEV action.
New in version 28Syntax
ExecutePresetAction(<Action> [, <Parameter 1> [... [, <Parameter N>]]])
<Action>: Integer constant
Preset action to run. The available constants are as follows: | | |
Constant | Action | Parameters |
---|
actPaste | Paste clipboard content | <none> |
actCopy | Copy the selected content into the clipboard | <none> |
actCut | Cut the selected content from the clipboard | <none> |
actEraseRWDisk | Erase the content of a directory on CD-RW/DVD-RW
| Constant used to specify the erase mode: - burnerFullErasing: the data on the media is fully erased (may take some time).
- burnerFastErasing: the data on the media is quickly erased.
|
actSendEmail | Send an email | 1: SMTP server 2: Username 3: Password 4: Sender 5: Recipient 6: Subject 7: Content 8: Port number |
actBrowseDirectory | Open an explorer on a directory
| 1: Directory path |
actBurnADirectory | Burn the content of a directory onto a CD-R/DVD-R
| 1: Directory path |
actMinimize | Minimize the current window | <none> |
actWinImageToClipboard | Copy the image of the current window into the clipboard | <none> |
actRunContextSensitiveHelp | Switch to "Context-sensitive help" mode
| <none> |
actRunInternetSite | Open an Internet browser on an URL
| 1: URL to display |
actReadLast | Read the last record (in the data file currently used). | <none> |
actReadPrevious | Read the previous record (in the data file currently used). | <none> |
actReadFirst | Read the first record (in the data file currently used). | <none> |
actReadNext | Read the next record (in the data file currently used). | <none> |
actOpenReport | Open the print preview of a report
| 1: Report name |
<Parameter 1>: Character string or integer (optional)
First parameter associated with the preset action.
<Parameter N>: Character string or integer (optional)
Nth parameter associated with the preset action.
Business / UI classification: UI Code
Component: wd280action.dll