Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Query an argument passed to FileMaker from command line.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
FM 5.1 Yes Yes Yes Yes Yes
MBS( "FM.Argument"; index )   More


Parameter Description Example value
index The index of the argument to retrieve. From 0 to FM.ArgumentCount-1. 0


Returns text or error.


Query an argument passed to FileMaker from command line.
You can pass arguments to FileMaker when launching it from command line. Or on Windows pass them from a link to FileMaker on desktop or in the start menu. This way you can query argument from your scripts and react on them, e.g. decide to set more buttons visible for a debug or advanced mode.
The arguments can include on Windows file path to a database which was opened to launch FileMaker.

See also

Example Databases

Blog Entries

Created 1st March 2015, last changed 1st March 2015

FM.AllowFileDragDrop   -   FM.ArgumentCount

Feedback: Report problem or ask question.

MBS Xojo Plugins