# runScript expression with Indirect tag

**URL:** <https://forum.inductiveautomation.com/t/runscript-expression-with-indirect-tag/24644>\
**Category:** Ignition\
**Created:** [May 3, 2019, 3:49pm UTC](https://forum.inductiveautomation.com/t/runscript-expression-with-indirect-tag/24644 "2019-05-03T15:49:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leeroy](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@leeroy](https://forum.inductiveautomation.com/u/leeroy)\
**Post date:** [May 3, 2019, 3:49pm UTC](https://forum.inductiveautomation.com/t/runscript-expression-with-indirect-tag/24644/1 "2019-05-03T15:49:50Z")

</div>

Hi , i’m trying to use the run script function with an argument that as a custom properties. it’s not working i’m missing something but don’t know what.

**here is the script**  
runScript(“shared.backgroundcolor.backgroundcolor”, 0, tag("[Master\_par\_Tags]Batching/A220/AGT SPT/AGT"+{Root Container.monIndex}+“_PLC/SPT\_1_”))

I try also like this  
runScript(“shared.backgroundcolor.backgroundcolor”, 0, (tag("[Master\_par\_Tags]Batching/A220/AGT SPT/AGT"+{Root Container.monIndex}+“_PLC/SPT\_1_”)))

Please note that {Root Container.monIndex} is binded with the value of a slider.

Thanks
