SyntaxColoring.SetShowScriptIDs
-------------------------------

Set whether to show script IDs.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SyntaxColoring](component_SyntaxColoring.md) | [7.4](newinversion74.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "SyntaxColoring.SetShowScriptIDs"; Value ) 

**MBS**( **"SyntaxColoring.SetShowScriptIDs";** /\* Set whether to show script IDs. \*/  
**$Value**) /\* The new setting.  
Pass 1 to enable or 0 to disable.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new setting.   Pass 1 to enable or 0 to disable. | 1 |

### Result

Returns OK or error.

### Description

Set whether to show script IDs.  
Our plugin can optionally show script IDs in the Script Workspace.  
The plugin adds an extra column with ID. If the ID can’t be queries for any reason, you should see a question mark.  
This setting can be set via the preferences dialog, too.  
### Examples

Turn on all the IDs for macOS:

 Set Variable \[$r ; Value: MBS ( "[SyntaxColoring.SetShowValueListIDs](SyntaxColoringSetShowValueListIDs.md)"; 1 )\]  
Set Variable \[$r ; Value: MBS ( "SyntaxColoring.SetShowScriptIDs"; 1 )\]  
Set Variable \[$r ; Value: MBS ( "[SyntaxColoring.SetShowLayoutIDs](SyntaxColoringSetShowLayoutIDs.md)"; 1 )\]  
Set Variable \[$r ; Value: MBS ( "[SyntaxColoring.SetShowFieldAndTableIDs](SyntaxColoringSetShowFieldAndTableIDs.md)"; 1 )\]  
### See also

- [SyntaxColoring.GetShowLayoutIDs](SyntaxColoringGetShowLayoutIDs.md)
- [SyntaxColoring.GetShowScriptIDs](SyntaxColoringGetShowScriptIDs.md)
- [SyntaxColoring.GetShowValueListIDs](SyntaxColoringGetShowValueListIDs.md)
- [SyntaxColoring.SetShowFieldAndTableIDs](SyntaxColoringSetShowFieldAndTableIDs.md)
- [SyntaxColoring.SetShowLayoutIDs](SyntaxColoringSetShowLayoutIDs.md)
- [SyntaxColoring.SetShowValueListIDs](SyntaxColoringSetShowValueListIDs.md)

### Release notes

- **Version 7.4**
    - Added [SyntaxColoring.GetBlackFieldPicker](http://www.mbsplugins.eu/SyntaxColoringGetBlackFieldPicker.shtml), [SyntaxColoring.GetResizeFieldPicker](http://www.mbsplugins.eu/SyntaxColoringGetResizeFieldPicker.shtml), [SyntaxColoring.GetShowFieldAndTableIDs](http://www.mbsplugins.eu/SyntaxColoringGetShowFieldAndTableIDs.shtml), [SyntaxColoring.GetShowScriptIDs](http://www.mbsplugins.eu/SyntaxColoringGetShowScriptIDs.shtml), [SyntaxColoring.SetBlackFieldPicker](http://www.mbsplugins.eu/SyntaxColoringSetBlackFieldPicker.shtml), [SyntaxColoring.SetResizeFieldPicker](http://www.mbsplugins.eu/SyntaxColoringSetResizeFieldPicker.shtml), [SyntaxColoring.SetShowFieldAndTableIDs](http://www.mbsplugins.eu/SyntaxColoringSetShowFieldAndTableIDs.shtml) and [SyntaxColoring.SetShowScriptIDs](http://www.mbsplugins.eu/SyntaxColoringSetShowScriptIDs.shtml).

### Blog Entries

- [Goodies 10: Show IDs for scripts, values, fields and tables](https://www.monkeybreadsoftware.com/filemaker/SyntaxColoring/10-ShowIDsforscriptsvaluesfieldsandtables.shtml)
- [MBS FileMaker Plugin, version 7.4pr7](https://www.mbsplugins.de/archive/2017-09-21/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 20th September 2017 , last changed 16th November 2023

  
[SyntaxColoring.SetShowLayoutIDs](SyntaxColoringSetShowLayoutIDs.md) - [SyntaxColoring.SetShowValueListIDs](SyntaxColoringSetShowValueListIDs.md)

[HTML Version](SyntaxColoringSetShowScriptIDs.shtml)