# \[SOLVED\] Open window in script tag changed

**URL:** <https://forum.inductiveautomation.com/t/solved-open-window-in-script-tag-changed/63653>\
**Category:** Ignition\
**Tags:** vision, ignition81\
**Created:** [August 31, 2022, 8:30pm UTC](https://forum.inductiveautomation.com/t/solved-open-window-in-script-tag-changed/63653 "2022-08-31T20:30:10Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [September 30, 2022, 1:14am UTC](https://forum.inductiveautomation.com/t/solved-open-window-in-script-tag-changed/63653/22 "2022-09-30T01:14:32Z")

</div>

Yes. It worked as expected, which probably means I'm doing something differently. Which tag are you using to initiate the client _tag change event_ script?

---

<div class="post-metadata">

**Author:** ![Esmeralda\_Lopez](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@Esmeralda\_Lopez](https://forum.inductiveautomation.com/u/Esmeralda_Lopez)\
**Post date:** [September 30, 2022, 2:16am UTC](https://forum.inductiveautomation.com/t/solved-open-window-in-script-tag-changed/63653/23 "2022-09-30T02:16:30Z")

</div>

I am using Alarma\_Canal\_Vacio, let me check

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [September 30, 2022, 9:51am UTC](https://forum.inductiveautomation.com/t/solved-open-window-in-script-tag-changed/63653/24 "2022-09-30T09:51:52Z")

</div>

btw, you don't need to use `getCurrentValue()` and `getValue()`, you can just use `currentValue` and `value`. E.g. `currentValue.value` and `previousValue.value`

---

<div class="post-metadata">

**Author:** ![Esmeralda\_Lopez](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@Esmeralda\_Lopez](https://forum.inductiveautomation.com/u/Esmeralda_Lopez)\
**Post date:** [October 3, 2022, 5:49pm UTC](https://forum.inductiveautomation.com/t/solved-open-window-in-script-tag-changed/63653/25 "2022-10-03T17:49:57Z")

</div>

I tried as your code but did not work, do you have other script in somewhere?

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [October 3, 2022, 6:39pm UTC](https://forum.inductiveautomation.com/t/solved-open-window-in-script-tag-changed/63653/26 "2022-10-03T18:39:04Z")

</div>

Hmmm. That's interesting, so when a session is first started, the very 1st time the popup opens, the correct tag values are not written to the labels, but every popup that occurs after does write in the correct values?

---

<div class="post-metadata">

**Author:** ![Esmeralda\_Lopez](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@Esmeralda\_Lopez](https://forum.inductiveautomation.com/u/Esmeralda_Lopez)\
**Post date:** [October 5, 2022, 9:03pm UTC](https://forum.inductiveautomation.com/t/solved-open-window-in-script-tag-changed/63653/27 "2022-10-05T21:03:06Z")

</div>

I think the project did not update well, because I close it and later it work about values but, do you think is possible use two tags for the **tag change script** and add information to the labels from two tags more if any of the two **tag changes script** is activated?

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [October 5, 2022, 9:24pm UTC](https://forum.inductiveautomation.com/t/solved-open-window-in-script-tag-changed/63653/28 "2022-10-05T21:24:42Z")

</div>

Yes; you can have multiple tag change scripts.

---

<div class="post-metadata">

**Author:** ![Francisco\_Ochoa](https://avatars.discourse-cdn.com/v4/letter/f/e495f1/32.png) [@Francisco\_Ochoa](https://forum.inductiveautomation.com/u/Francisco_Ochoa)\
**Post date:** [June 22, 2024, 2:12am UTC](https://forum.inductiveautomation.com/t/solved-open-window-in-script-tag-changed/63653/29 "2024-06-22T02:12:21Z")

</div>

i want the same but for Perspective i cant solve my problem , help pls

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [June 22, 2024, 2:21am UTC](https://forum.inductiveautomation.com/t/solved-open-window-in-script-tag-changed/63653/30 "2024-06-22T02:21:06Z")

</div>

> [@Francisco\_Ochoa](#):
>
> i want the same but for Perspective

Cool. If you haven't already, click the _Topics_ button in the top left corner of the page.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/9/190b88d114b0662a1124be9aa8b00e021771173e.png)

Then, click the _New Topic_ button at the top right corner of the page:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/a/cad9cc7e1fb15599a24aa458ed86436a31a4d615.png)

Fill out the form to ask your question, and most importantly, tag the question as _Perspective_ using the optional tags dropdown:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/5/75162572aeec45f5f4136599e66192c16ee7a017.png)

This will attract the attention of the Perspective gurus that could possibly overlook this topic since it is tagged Vision.

[Previous page](https://forum.inductiveautomation.com/t/solved-open-window-in-script-tag-changed/63653.md?page=1)
