No internet connection
  1. Home
  2. How to

Create a Toggle to Switch Between Timecode and Feet+Frames in the PT Counter

By Ron Aston @Ron_Aston
    2019-09-23 21:19:32.209Z

    I'm asking for a fellow SF user. I'd also like to know how to do this.

    Solved in post #2, click to view
    • 2 replies
    1. This should do it :)

      if (sf.ui.proTools.getMenuItem('View', 'Main Counter', 'Timecode').isMenuChecked) {
          sf.ui.proTools.getMenuItem('View', 'Main Counter', 'Feet+Frames').elementClick();
      } else {
          sf.ui.proTools.getMenuItem('View', 'Main Counter', 'Timecode').elementClick();
      }
      
      Reply2 LikesSolution
      1. In reply toRon_Aston:
        Ron Aston @Ron_Aston
          2019-09-24 18:39:46.460Z

          This is fantastic, Christian! Works perfectly. My friend will be VERY happy. :-)

          Thank you!