'Display Progress' Menu Option for Groups Action? (Already Works With 'For Each' Action)

Whoa there!

AppleScript is very efficient once it is running. You just need to do enough "work" in the script to compensate for the instantiation cost.

Silly example time!

Here's a KM routine:

image

...that you can do in AS. The "silly" way to do so would be to do a KM "Repeat" that used AS to increment-by-one:

image

The "smart" way is to do the incrementing within a single AS action:

image

...and on my machine:

image

KM and AS Loops.kmmacros (13.8 KB)

Image

All that is moot, of course -- @skillet's already in an AppleScript doing the work so the instantiation cost has been paid.

3 Likes