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:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Query an argument passed to FileMaker from command line.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
FM | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
index | The index of the argument to retrieve. From 0 to FM.ArgumentCount-1. | 0 |
Returns text or error.
Query all arguments:
While(
// setup
[count = MBS( "FM.ArgumentCount" ); index = 0; list = ""];
// condition
index < count ;
// add nth argument to list
[ list = list & MBS( "FM.Argument"; index ) & ¶; index = index + 1 ];
// return result
list )
Created 1st March 2015, last changed 13th June 2021
FM.AllowFileDragDrop - FM.ArgumentCount
Feedback: Report problem or ask question.