Display Progress Example Macro (v10.0)

I have tried to make an example of how I could use the new Display Progress action in KM 10.

So first I define a variable with the items I want to iterate over. This could be files selected in the Finder or lines in the clipboard or other things.

I then calculate what percent one item is equal to.

And in the For Each I do my action and then increment the progress bar with the percent of one item.

But I wonder if this is the thinking behind how to use it?
Because it involves a bit more actions to define what is used in the progress bar, but again it needs some kind of data to display it.

Display Progress example Macro (v10.0)

Display Progress example.kmmacros (5.1 KB)

1 Like

I built a similar macro that I am hoping to be able to call as a subroutine and have it trigger between each action.

But I can't figure out if there's a way to trigger a subroutine between each action without manually inserting it. 🤷🏻

I also plan to see if it is viable for me to look at the new subroutine capabilities. So it would be possible to have one main progress bar macro.