# \[FEATURE\] Add option to convert component actions to Script actions

**URL:** <https://forum.inductiveautomation.com/t/feature-add-option-to-convert-component-actions-to-script-actions/76626>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 20, 2023, 7:02am UTC](https://forum.inductiveautomation.com/t/feature-add-option-to-convert-component-actions-to-script-actions/76626 "2023-07-20T07:02:28Z")\
**Posts on this page:** 1\
**Page:** 1

<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:** [July 20, 2023, 7:02am UTC](https://forum.inductiveautomation.com/t/feature-add-option-to-convert-component-actions-to-script-actions/76626/1 "2023-07-20T07:02:28Z")

</div>

Often I will set up a component action only to realise I need to convert it to a script to do other things/something more complex. It would be really nice if there was an action to do this for you. I would probably _always_ use this option to create the openPopup function call for me, as this is always a pita to write from scratch every time with all of the weird and wonderful settings that are available.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/f/9f47e0c3dd75c6b5b74ba90ab157457549298c5d.png)

Idea link:

> **[Add option to convert component actions to Script actions | Ignition Features...](https://ideas.inductiveautomation.com/ignition-features-and-ideas/p/add-option-to-convert-component-actions-to-script-actions)**
>
> Often I will set up a component action only to realise I need to convert it to a script to do other things/something more complex.
