No internet connection
  1. Home
  2. How to

Toggle the ALL Group?

By william wittman @william_wittman
    2022-09-11 22:20:03.508Z2022-09-14 04:58:21.015Z

    Is there a simple way to toggle the ALL group in and off?
    I’m in Command keyboard focus so if this requires going to Groups keyboard focus i’d like to incorporate a way to do it, toggle the ALL group, and then return to Command focus.

    • 2 replies
    1. @william_wittman, this should do:

      function toggleAllGroup() {
          sf.ui.proTools.mainWindow.groupListView
              .children.whoseRole.is("AXColumn").whoseTitle.is("Name ").first
              .children.whoseRole.is("AXRow").first
              .children.whoseRole.is("AXCell")
              .allItems[1].elementClick();
      }
      
      toggleAllGroup();
      
      1. In reply towilliam_wittman:
        william wittman @william_wittman
          2022-09-12 20:43:36.194Z

          Brilliant.
          Thanks!