No internet connection
  1. Home
  2. How to

How to toggle Edit Window Scrolling in one command?

From Facebook - @Fernando_Alanis / @Fernando_Alanis:

I want to create a command so that when I use it the first time it chances the Edit Window Scrolling to Continuous, and the next time I use it, it changes back to No Scrolling. Is it possible with a single command?
I know the easier way would be to do two separate ones.

Thanks for posting this question Fernando!

Solved in post #2, click to view
  • 2 replies
  1. Nice to see you found a temp solution Fernando on the original FB post. However, the macro you built will actually block SoundFlow from receiving any further commands while it's waiting for a new click on the Stream Deck.
    I like the idea behind your macro though. Maybe we can build something like that that will work in the future :)

    For now, this would be the preferred way to do it (in a script, since macros don't have if/then/else logic yet):

    
    if (sf.ui.proTools.getMenuItem('Options', 'Edit Window Scrolling', 'Continuous').isMenuChecked)
        sf.ui.proTools.getMenuItem('Options', 'Edit Window Scrolling', 'No Scrolling').elementClick();
    else
        sf.ui.proTools.getMenuItem('Options', 'Edit Window Scrolling', 'Continuous').elementClick();
    
    
    Reply1 LikeSolution
    1. Hi @chrscheuer
      Would it be possible to expand this script to add "Page" ?