ogScript Find & Replace

So I’ve designed a number of various Dashboards for use in our live studio. Some of them get rather extensive. One has 20 tabs each with their own respective canvas. Anyway, I was wondering if there was a simple Find & Replace function while working in the Source tab of ogscript. I have had numerous times where this would prove highly useful. For instance, I may wish to alter a certain ID that resides in each of these 20 tabs to a different name.

I did notice there is a Search bar at the top with a Find Next button, but it’s rather simplistic and limited. It only searches downward and I still have to manually go to anything it finds to alter the information. To be honest the Replace ability would help immensely. Even if it couldn’t do a Replace All it would be faster than manually clicking the script and pasting the new information myself.

I have Dashboard v7.0. Perhaps I just missed this feature?

Unfortunately, no, you haven’t missed anything. It is on our rather extensive “things to do” list but we haven’t gotten there yet.

In the meantime, I would recommend is going into source mode, copying the source (CTRL+C) to your favourite text editor (Notepad, Notepad++, VIM, etc.), doing the find/replace there, and pasting the code back CTRL+V). We use this technique quite frequently and, while not perfect, is a lot easier than just using the “search” feature inside of the built-in editor.
#DashBoard

Oh my gosh, that’s such a simple yet intelligent workaround! I totally didn’t even consider doing that. Well thank you so much. That should work quite nicely.
#DashBoard

Is this any closer by any chance? :slight_smile:

#DashBoard

No, we still have not implemented a replace function. We still recommend copying and pasting your panel into your favorite editor and doing the copy and replace there, and then copying and pasting it back in DashBoard.

#DashBoard