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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

FM.CurrentScriptName

Queries name of current script.

Component Version macOS Windows Linux Server iOS SDK
FM 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "FM.CurrentScriptName" )

Parameters

none

Result

Returns script name.

Description

Queries name of current script.
Result is empty if no script is running.

Examples

Query script name and ID:

MBS( "FM.CurrentScriptName" ) & " " & MBS( "FM.CurrentScriptID" )

See also

Created 23th March 2015, last changed 8th April 2020


FM.CurrentScriptID - FM.CurrentThreadID

Feedback: Report problem or ask question.