Facility Control

 View Only
  • 1.  ogScript Find & Replace

    Posted 03-15-2016 20:43
    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?


  • 2.  RE: ogScript Find & Replace

    Posted 03-15-2016 20:47
    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


  • 3.  RE: ogScript Find & Replace

    Posted 03-16-2016 19:56
    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


  • 4.  RE: ogScript Find & Replace

    Posted 10-15-2020 09:26

    Is this any closer by any chance? :)


    #DashBoard


  • 5.  RE: ogScript Find & Replace

    Posted 10-15-2020 22:56

    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