SyntaxColoring.GetScriptLoopColor
---------------------------------

Queries the current script loop block color.

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

MBS( "SyntaxColoring.GetScriptLoopColor" { ; ReturnAsNumbers } ) 

**MBS**( **"SyntaxColoring.GetScriptLoopColor";** /\* Queries the current script loop block color. \*/  
**$ReturnAsNumbers**) /\* Optional; Pass 1 to return color as list of red, green and blue, e.g. "123¶234¶56"  
Pass 0 (default) for return as hex value, e.g. "7788FF".e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| ReturnAsNumbers | Pass 1 to return color as list of red, green and blue, e.g. "123¶234¶56"   Pass 0 (default) for return as hex value, e.g. "7788FF". | 0 | Optional      Added in version **8.3**. |

### Result

Returns color or error.

### Description

Queries the current script loop block color.  
### See also

- [SyntaxColoring.GetScriptHighlightColor](SyntaxColoringGetScriptHighlightColor.md)
- [SyntaxColoring.GetScriptIfColor](SyntaxColoringGetScriptIfColor.md)
- [SyntaxColoring.GetScriptSearchColor](SyntaxColoringGetScriptSearchColor.md)
- [SyntaxColoring.SetScriptIfColor](SyntaxColoringSetScriptIfColor.md)
- [SyntaxColoring.SetScriptLoopColor](SyntaxColoringSetScriptLoopColor.md)
- [SyntaxColoring.SetScriptSearchColor](SyntaxColoringSetScriptSearchColor.md)

### Release notes

- **Version 8.3**
    - Added ReturnAsNumbers parameter for [Calendar.Calendar.GetColor](http://www.mbsplugins.eu/CalendarCalendarGetColor.shtml), [Events.Calendar.GetColor](http://www.mbsplugins.eu/EventsCalendarGetColor.shtml), [SyntaxColoring.GetScriptHighlightColor](http://www.mbsplugins.eu/SyntaxColoringGetScriptHighlightColor.shtml), [SyntaxColoring.GetScriptIfColor](http://www.mbsplugins.eu/SyntaxColoringGetScriptIfColor.shtml), [SyntaxColoring.GetScriptLoopColor](http://www.mbsplugins.eu/SyntaxColoringGetScriptLoopColor.shtml), [SyntaxColoring.GetScriptSearchColor](http://www.mbsplugins.eu/SyntaxColoringGetScriptSearchColor.shtml) and [SyntaxColoring.LineNumbers.GetColor](http://www.mbsplugins.eu/SyntaxColoringLineNumbersGetColor.shtml).

### Blog Entries

- [MBS FileMaker Plugin, version 8.3pr2](https://www.mbsplugins.de/archive/2018-06-18/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 6.1pr1](https://www.mbsplugins.de/archive/2016-02-02/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 1st February 2016 , last changed 13th June 2018

  
[SyntaxColoring.GetScriptIfColor](SyntaxColoringGetScriptIfColor.md) - [SyntaxColoring.GetScriptSearchColor](SyntaxColoringGetScriptSearchColor.md)

[HTML Version](SyntaxColoringGetScriptLoopColor.shtml)