Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
RunTask.SetVerb
Sets the verb, that specifies the action to be performed.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| RunTask | 3.2 | No | Yes | No | Yes, Windows only | No |
Deprecated
This function was deprecated. Use Shell functions instead.
MBS( "RunTask.SetVerb"; Verb ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Verb | The new verb. | "open" |
Result
Returns OK or error.
Description
Sets the verb, that specifies the action to be performed.The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. This parameter can be "", in which case the default verb is used if available. If not, the "open" verb is used. If neither verb is available, the system uses the first verb listed in the registry. The following verbs are commonly used:
| edit | Launches an editor and opens the document for editing. If lpFile is not a document file, the RunTask.Launch function will fail. |
| explore | Explores the folder specified by lpFile. |
| find | Initiates a search starting from the specified directory. |
| open | Opens the file specified by the lpFile parameter. The file can be an executable file, a document file, or a folder. |
| Prints the document file specified by lpFile. If File is not a document file, the RunTask.Launch function will fail. | |
| properties | Displays the file or folder's properties. |
See also
Example Databases
Created 18th August 2014, last changed 13th June 2020
RunTask.SetLaunchPath - RunTask.Terminate
Feedback: Report problem or ask question.
Links
MBS FileMaker blog