Let's say I want to set the MTC Generator port (Setup>Peripherals>Synchronization) to DARIO MIDI IN DIRECT.
If the MTC GENERATOR PORT is set to NONE there's no problem with the script but if it is already set to DARIO MIDI IN DIRECT the script STOP.
I think that's because with the picker, when you choose the Popup menu, it selects the option already displayed too (image attached)

How can we tell to the script, via macro, to skip a step if something is already as we wanted it to be?
Hope what I wrote makes sense :)
Cheers
PS = I'll attach the whole script just to share and once solved I'll make a separated HOW TO


- Christian Scheuer @chrscheuer2019-07-22 09:06:24.808Z
You'll need to check today's video in the group :) Use the drop down to select non titled elements in your UI paths wherever you see them point to stuff that could change depending on what's currently selected
Christian Scheuer @chrscheuer2019-07-22 09:08:26.585Z
For example. Instead of First Popup Button "none" (which will only work if the selection is "none") choose something else without the title "none" by clicking on First Popup Button "none". Should make sense if you watch the video :) Otherwise feel free to ask here.
Dario Ramaglia @dario.ramaglia
Thanks, I saw the video but I thought for some reason it wasn't gonna work on this case because the labels were completely different.
I'll test this as soon as I can ;)Dario Ramaglia @dario.ramaglia
Ok, with a few adjustment now it works like a charm!
Do you want me to create an HOW TO thread for this Macro?Christian Scheuer @chrscheuer2019-07-22 10:53:18.038Z
Yay! @dario.ramaglia better to just follow up in this thread I think with what you needed to change and the final macro - it seems to work well with the Q/A format.
Dario Ramaglia @dario.ramaglia
I actually just needed to select the right UI ELEMENT out of all the ones SF proposed me.
Here's the final macro: