# Feature request - perspective script auto generation

**URL:** <https://forum.inductiveautomation.com/t/feature-request-perspective-script-auto-generation/24130>\
**Category:** Ignition Early Access\
**Created:** [April 14, 2019, 11:33pm UTC](https://forum.inductiveautomation.com/t/feature-request-perspective-script-auto-generation/24130 "2019-04-14T23:33:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ASF](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@ASF](https://forum.inductiveautomation.com/u/ASF)\
**Post date:** [April 14, 2019, 11:33pm UTC](https://forum.inductiveautomation.com/t/feature-request-perspective-script-auto-generation/24130/1 "2019-04-14T23:33:11Z")

</div>

There’s quite possibly already a plan to implement this one (in which case feel free to merge/close/delete this thread), but it’d be really handy to have a script auto-generator feature similar to the Vision module when setting up component events in perspective. Obviously, the process would have to be a little different, as the script is considered a separate action to all of the pre-built actions, as opposed to the Vision method of just picking a tab, configuring an action, and then picking the script tab to see the resulting script. Perhaps a right click \> convert to script or right click \> add to script option? For novice users this would make it really easy to start becoming familiar with how to build the scripts - particularly if a “set tag value” action was added at the same time.

For more advanced users, it would just provide a quick way to set up several actions using a graphical interface, and then be able to merge them all into a single script action, arrange them in the order needed, and be confident that there were no (or at least, fewer) typo’s to be caught and fixed.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 14, 2019, 11:45pm UTC](https://forum.inductiveautomation.com/t/feature-request-perspective-script-auto-generation/24130/2 "2019-04-14T23:45:48Z")

</div>

I like this idea…

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 15, 2019, 2:22pm UTC](https://forum.inductiveautomation.com/t/feature-request-perspective-script-auto-generation/24130/3 "2019-04-15T14:22:58Z")

</div>

In the pipeline we have a feature to provide a property tree which allows for property injection into Perspective scripts, which should remove the potential for typos when it comes to properties, as well as user errors when determining tree traversal.

---

<div class="post-metadata">

**Author:** ![silverbacknet](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/silverbacknet/32/7385_2.png) [@silverbacknet](https://forum.inductiveautomation.com/u/silverbacknet)\
**Post date:** [April 26, 2019, 5:50pm UTC](https://forum.inductiveautomation.com/t/feature-request-perspective-script-auto-generation/24130/4 "2019-04-26T17:50:22Z")

</div>

It looks like that made it into the 8.0.2 nightly. Good work!

---

<div class="post-metadata">

**Author:** ![ASF](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@ASF](https://forum.inductiveautomation.com/u/ASF)\
**Post date:** [May 3, 2019, 5:59am UTC](https://forum.inductiveautomation.com/t/feature-request-perspective-script-auto-generation/24130/5 "2019-05-03T05:59:41Z")

</div>

Thanks, that definitely helps. A full blown “convert to script” type function would still be a really awesome feature to have, but I understand it’d be a low priority for the time being.
