MetaDataQuery.GetScriptFileName
-------------------------------

Queries filename of script to call in when shell is done.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [MetaDataQuery](component_MetaDataQuery.md) | [8.0](newinversion80.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "MetaDataQuery.GetScriptFileName"; ShellRef ) 

**MBS**( **"MetaDataQuery.GetScriptFileName";** /\* Queries filename of script to call in when shell is done. \*/  
**$ShellRef**) /\* The reference number from the shell.e.g. $shell \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ShellRef | The reference number from the shell. | $shell |

### Result

Returns file name or error.

### Description

Queries filename of script to call in when shell is done.  
### See also

- [MetaDataQuery.GetScriptName](MetaDataQueryGetScriptName.md)

This function is free to use.

Created 16th December 2017 , last changed 15th June 2021

  
[MetaDataQuery.GetEvaluate](MetaDataQueryGetEvaluate.md) - [MetaDataQuery.GetScriptName](MetaDataQueryGetScriptName.md)

[HTML Version](MetaDataQueryGetScriptFileName.shtml)