Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  

FM.Argument

Query an argument passed to FileMaker from command line.

Component: FM
Version: 5.1
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "FM.Argument"; index )

Parameters

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

Result

Returns text or error.

Description

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


FM.AllowFileDragDrop   -   FM.ArgumentCount

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins - Pfarrgemeinde St. Arnulf Nickenich