Jump to content
C4 Forums | Control4

Possible to Edit Existing Script?


chicagoskiguy

Recommended Posts

I just created a bunch of programming using Ryan's excellent LED Wizard and his Web Events driver - based on the command in the URL the LED's of the keypads change colors. It's not the most complicated thing in the world, but it's probably 50 lines with 20 of those nested "IF" commands and "Breaks"

 

Now I want to change the color used  in the remaining 30 or so lines. 

 

I don't see how there is a way to edit the script, only delete and re-add. I see a "find and replace" but that just seems to crash composer. 

 

Anyone have any ideas?

Link to comment
Share on other sites


The easiest way to do that for me is to use Cut and Paste.

 

You cut the script, and paste it into an XML editor.

 

Then you can edit it as text as much as you'd like.  If you're careful and pay attention, you can make some interesting changes, like colors, etc.

 

Then, select all the XML, copy / cut it, and paste it into ComposerPro.

 

It's not as easy as graphical editing, but it's faster in some situations.

 

RyanE

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.