[Request]Copy-Paste Scripting

I would like to thank the IA team for the right-click “copy binding” and right-click “paste binding” on component property feature. This has saved lots of time.

I would like to propose the same functionality for scripting. For instance, I have the same popup that is called by hundreds of templates and sometimes the parameters are modified slightly. Currently, I set it up for one instance of the template, switch over to the script editor tab, instead of the navigation tab and copy-paste the script onto the next component’s script editor. It would be very nice to be able to right-click the component “copy scripts” and right-click “paste scripts” between components so that all scripts for all event handlers are copied at once.

3 Likes

Is this in particular Vision, Perspective, or both? Not that they're not both worth doing, just wondering if there was a particular urgency behind either.

I’d find it quite useful in perspective, the copy binding feature was greatly appreciated and the copy script would also be useful.

2 Likes

I mainly use vision, but would definitely be equally useful for both

Copy and paste of Named Query Binding parameters would be nice too.

Drives me insane when I duplicate a table, chart, etc then go and select a slightly different named query and have to re-enter all of the parameters again.

6 Likes

Yes, this is crazy.. I always have to open the notepad and copy-past all the paths of the named query parameters and the past int the new one.

1 Like

For this I would copy the table json into notepad and edit the nq there before pasting back

Edit: @Aiasa21 beat me to it haha

1 Like

I would really like this, especially for custom methods on objects. Another aspect that would be very helpful is the ability to copy a custom property as an object, including both the JSON and the bindings applied to it, so it can be passed to another object.

Currently, I am implementing a context menu, and having to manually handle every object takes a significant amount of time. With the current process, I either have to copy bindings one at a time or recreate them, whichever is faster. I also have to copy each method script to every object individually.

Right now, my fastest approach is to open the same project in two windows, keeping one as a reference and copying elements into the other.

1 Like