I apologise in advance if this has been answered somewhere in the forums but I've searched and failed to find an answer.
I've already found quirky workarounds in Logic given the odd placement of menus within windows but for the life of me I cannot work out how to change the settings within the Track Inspector, specifically the MIDI Input, In and Out channels.
Is 'Find Image' and mouse click by coordinate my best option?
In any case, if you want to use Find Image, that should work. I would recommend that the image you use be the green icon at the top of the window, and then calculate your X/Y offsets from that image. That should be pretty reliable. I use Find Image a lot for this sort of thing in other apps.
Sadly Button actions don't work. In the end I went for the Found Image option and it seems to be running okay. I can't rely on the green icon as that'll change but instead I did a big chunky 75x400 image of the whole left side of the Track section. And it works! And if it works then it's a success, right?
All 3 of yours combined is what I had made with Find Image but I much prefer yours as AppleScript seems a little more reliable. Thanks for that. That's a huge help.