I created a macro that opens the add marker panel and adds the text “marker”. Is there a way that I can place “marker1”, then the next time I trigger it, it puts “marker2” etc.
Greetings,
You have to use a variable.
if you need further help, share your macro in this thread
It will be easier.
Nudge back 100ms.kmmacros (28.7 KB)
Here’s the macro. It’s part of a marco that sets the grid time, nudges back, then adds a track marker with some text. What I want to is increment of 4 digit number after “line”, so 0001, 0002 etc
Im on holidays now so I’ll check the Wiki when I get home.
You should do something like this.
Add a condition / mechanism to reset the counter.
Counter example.kmmacros (3.1 KB)
Great, I got this working. So next issue. I guess I need to way to control the counter/variable, to reset it, otherwise I just continues counting, even if I open a new Pro Tools session. This also might be related, if I accidently add a marker or want to delete it, the counter is not aware of this, so I will also need a way to adjust the counting. I am trying to use ChatGPT to help me, but not sure I am getting the right advice OR understanding it correctly.
You can do something like this.
Ask if anything is not clear.
You have to adjust the place of the increment variable action to be correct.
Thanks for all the help on this one. I’m actually surprised I was able to get it to work!
Glad it worked for you.
This forum is a great place. Feel free to ask if you get stuck on things.

