For Each - Possible to Isolate Matches?

Genius! I've added a search and replace for | to remove it from the PluginName variable. Thankyou!

For anyone who's interested in what this macro does, here's a video that explains it:

Here's a post I made on it:

I've worked on it a bit since that post but I want to tie up some loose ends before updating it.

@ccstone wisely pointed out that it would be helpful to upload a test version of this. Not everyone has Logic Pro and a Stream Deck, but here it is all the same. Included are:

  • The main macro group
  • A macro group that cleans the variables when Logic deactivates. This is necessary as the main macro is programmed not to reload the Logic Profile when switching between the main interface windows. As a result, switching to another app and back would mean the Logic profile wouldn't load, so the variables have to be deleted when that happens.
  • A folder of blank trigger apps that need to be associated with the included Stream Deck profiles in the Stream Deck software.
  • Some basic Stream Deck profiles for testing.
  • A logic session with three open plugin windows. For the purposes of this test, Channel EQ should trigger a specific profile, Compressor should trigger a generic profile and Chorus should trigger the Logic profile (if it's not already active). For some reason, although it does switch to the correct profile initially, this test version switches back to the Logic profile every time. I've gone through it step-by-step and can't figure out why. My main version of this doesn't have this problem and only goes squiffy when there's a heavy session that's taxing the CPU a bit. There must be some kind of jankiness in my macro that's exposed during heavy sessions, which is why I'm still trying to refine it.

Profile Test.zip (1.6 MB)

2 Likes