ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous WINDEV functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
ExecutePresetAction (Function)
In french: ExécuteActionPrédéfinie
Runs a preset WINDEV action.
Example
Reports and Queries
// Ouvrir un explorateur sur le répertoire "C:\Mes documents\"
ExecutePresetAction(actBrowseDirectory, "C:\Mes documents\")
Syntax
ExecutePresetAction(<Action> [, <Parameter 1> [... [, <Parameter N>]]])
<Action>: Integer constant
Preset action to run. The available constants are as follows:
ConstantActionParameters
actPastePaste clipboard content<none>
actCopyCopy the selected content to the clipboard<none>
actCutCut the selected content from the clipboard<none>
actEraseRWDiskErase the content of a directory on CD-RW/DVD-RW

Constant used to specify the erase mode:
  • burnerCompleteErasement: complete erasure of media (may take some time).
  • burnerFastErase: quick erasing of the media.
actSendEmailSend an email1: SMTP server
2: Login
3: Password
4: Sender
5: Recipient
6: Subject
7: Contents
8: Port number
actBrowseDirectoryOpen an explorer on a directory

1: Directory path
actBurnADirectoryBurn the content of a directory onto a CD-R/DVD-R

1: Directory path
actMinimizeMinimize the current window<none>
actWinImageToClipboardCopy the image of the current window to the clipboard<none>
actRunContextSensitiveHelpSwitch to "Context-sensitive help" mode

<none>
actRunInternetSiteOpen an Internet browser on an URL

1: URL to display
actReadLastRead the last record (in the data file currently used).<none>
actReadPreviousRead the previous record (in the data file currently used).<none>
actReadFirstRead the first record (in the data file currently used).<none>
actReadNextRead the next record (in the data file currently used).<none>
actOpenReportOpen the print preview of a report

1: State name

Reports and Queries Only the actOpenReport and actSendEmail constants are available.
<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: wd300action.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help