No internet connection
  1. Home
  2. How to

Color Palette - Color Icons - Pro Tools & Logic Pro X

By Kitch Membery @Kitch2020-07-12 01:54:59.368Z2020-07-12 07:59:04.976Z

Hi All,

For anyone interested... Here are a couple of download link to Pro Tools & Logic Pro X - Color Palette - Color Icons that I put together.

Pro Tools - Color Icons

https://www.dropbox.com/s/r2793opwf41gt3w/Pro Tools - Color Palette - SoundFlow.zip?dl=0

The icons have a resolution of 144 x 144 px and are labeled Light, Medium & Dark and numbered 0-22 corresponding to the "Color Brightness" and "Color Number" in the SoundFlow "Click Color" action in the macro editor.

like this;

Logic Pro X - Color Icons

https://www.dropbox.com/s/de636rraez3os9j/Logic%20Pro%20X%20-%20Color%20Palette%20-%20SoundFlow.zip?dl=0

The icons have a resolution of 144 x 144 px and are labeled as follows;

  • 15 replies
  1. Dustin Harris @Dustin_Harris
      2020-07-12 04:43:03.426Z

      Legend! This is really helpful. Thanks for this Kitch!

      1. Kitch Membery @Kitch2020-07-12 04:45:12.661Z

        I have a Logic Pro X set that I’m gong to upload later. :-)

      2. In reply toKitch:

        Super cool share, Kitch!

        1. Kitch Membery @Kitch2020-07-12 11:40:45.121Z

          Once I get a decent colection of my iZotope icons sorted I'll upload them too. :-)

          1. Dario Ramaglia @dario.ramaglia
              2020-07-12 20:15:27.330Z

              I should upload mine too!

              1. Kitch Membery @Kitch2020-07-12 21:25:14.331Z

                Absolutely :-) The more the merrier!

            • In reply tochrscheuer:
              Kitch Membery @Kitch2020-07-12 11:43:05.111Z

              And maybe down the track these can be added to the SoundFlow Clip Colours commands.

            • In reply toKitch:

              Hi Kitch, Where is this command, I do not see it anywhere.

              1. Kitch Membery @Kitch2020-09-12 01:15:28.172Z

                Hi Christopher!,

                Click Color is an inbuilt macro action.

                1. Create a new macro in the SF Editor using the "+" button.
                2. Click new "Add Action"
                3. Start typing "Click Color"
                4. Select "Click Color" from the "Select action to add" list.

                Let me know if you get stuck :-)

                Rock on!

                1. Gees what. noob, just didnt see it

                  thanks

                  1. Kitch Membery @Kitch2020-09-12 01:57:05.337Z

                    No worries mate :-)

              2. J
                In reply toKitch:
                Johan Nordin @Johan_Nordin
                  2022-05-26 19:08:15.142Z

                  I can't figure out how to use the "Click Color" action for Logic Pro X.

                  Until recently I have used an old script for picking track and region colors in Logic that you made a few years ago, @Kitch. But the old script doesn't seem to work in Logic 10.7.3. So I was hoping this one could work instead. :)

                  Best, Johan

                  1. Kitch Membery @Kitch2022-05-26 19:11:10.449Z

                    Ahh yes. I believe there were some UI changes in the newer versions of Logic. I should have some time on the weekend to update the script :-)

                    Rock on!

                    1. In reply toJohan_Nordin:
                      Kitch Membery @Kitch2022-05-27 00:07:38.497Z

                      Hi @Johan_Nordin,

                      I completely forgot, I already did an update to the script in another thread;

                      /** @param {String} version */
                      function useNewScriptVersion(version) {
                          const arrayFromVersion = version.split(".");
                          const zeroPadEnd = (num, places) => String(num).padEnd(places, '0');
                          const sematicPadedNumber = arrayFromVersion.map(number => zeroPadEnd(number, 3)).join("");
                      
                          let useNewScriptVersion = false;
                      
                          switch (true) {
                              //Is the version greater version than 10.7
                              case Number(zeroPadEnd(sematicPadedNumber, 9)) >= 100700000:
                                  useNewScriptVersion = true
                                  break;
                          }
                      
                          return useNewScriptVersion
                      }
                      
                      function ensureColorPaletteIsOpen() {
                          const logic = sf.ui.app('com.apple.logic10');
                      
                          //Open Logic Pro X
                          logic.invalidate();
                          logic.appActivateMainWindow();
                      
                          //If the Color Palette is not open, Click menu item View -> Show Colors
                          if (!logic.windows.whoseTitle.is('Color').exists) {
                      
                              //Click the "View" menu before clicking the "Show Colors" menu item.
                              logic.getMenuItem("View").elementClick();
                      
                              logic.menuClick({ menuPath: ["View", "Show Colors"], });
                          }
                      
                          logic.windows.whoseTitle.is('Color').first.elementWaitFor();
                      }
                      
                      /**
                       * @param {object} obj
                       * @param {number} obj.column
                       * @param {number} obj.row
                       */
                      function selectColor({ column, row }) {
                          const logic = sf.ui.app('com.apple.logic10');
                      
                          const colorWindow = logic.windows.whoseTitle.is('Color').first;
                          const colorWindowButtons = colorWindow.groups.first.groups.first.buttons;
                      
                          const useNewScript = useNewScriptVersion(logic.appVersion);
                      
                          const colorLineIndices = [98, 73, 1, 25, 49];
                          const columnOffset = useNewScript ? 1 : 2;
                          const colorButtonIndex = colorLineIndices[row] + column - columnOffset;
                      
                          if (useNewScript) {
                              colorWindowButtons.allItems[colorButtonIndex].mouseClickElement();
                          } else {
                              colorWindowButtons.allItems[colorButtonIndex].elementClick();
                          }
                      }
                      
                      function main() {
                          //Ensure that the Color Palette is open.
                          ensureColorPaletteIsOpen();
                      
                          //Select the color 
                          selectColor({
                              column: 1,
                              row: 1,
                          });
                      }
                      
                      main();
                      

                      Let me know if it works for you.

                      1. JJohan Nordin @Johan_Nordin
                          2022-05-27 10:53:17.094Z

                          Works like a charm! Thanks @Kitch. :D