# How change tag parameter/Custom property using a script

**URL:** <https://forum.inductiveautomation.com/t/how-change-tag-parameter-custom-property-using-a-script/79592>\
**Category:** Ignition\
**Created:** [September 25, 2023, 4:11pm UTC](https://forum.inductiveautomation.com/t/how-change-tag-parameter-custom-property-using-a-script/79592 "2023-09-25T16:11:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marco\_alvarez](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@marco\_alvarez](https://forum.inductiveautomation.com/u/marco_alvarez)\
**Post date:** [September 25, 2023, 4:11pm UTC](https://forum.inductiveautomation.com/t/how-change-tag-parameter-custom-property-using-a-script/79592/1 "2023-09-25T16:11:55Z")

</div>

Hi, how I can access to the tag properties from a script. I need a script to change all the tags inside a folder something like:

for each tag inside folder  
tag.property = False

Or something like  
for i\<20; i++  
write\_property("tag\_path"+i, False).

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 25, 2023, 4:20pm UTC](https://forum.inductiveautomation.com/t/how-change-tag-parameter-custom-property-using-a-script/79592/2 "2023-09-25T16:20:53Z")

</div>

You're going to be using Python syntax and indentation is critical. The following will be useful when you share your code here.

> [@Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831):
>
> This thread is intended as a short help file for all those struggling to post formatted code on the forum. Posting formatted code on the forum (and most others) is as simple as selecting the code and pressing the \</\> button. It works the same as applying Bold or Italic styles to your document. It preserves indentation and applies syntax highlighting. [How to post code]
