Macro for Ableton Live not working

Yes it is a timing issue.. the problem is that the time that Ableton takes to create a track increase when the project is big and heavy on the cpu… Indeed if I increase a lot the pause after that the track is created (4 seconds) the entire macro will work always … but it’s not c

onvenient to set a super long delay time because when the project is lighter all that pause time is not needed…

Searching here I founded this topic https://forum.keyboardmaestro.com/t/pause-macro-until-result-of-last-action-create-new-track-has-actually-occurred-on-screen-in-ableton-live/28173

I tried to set an image capture and a pause until conditions are met but it is not working… don’t know why…