Hi, @Nige_S. I use AS often too, but many times it's code I borrow from others.
On this topic, after revealing the macro, one might want to also add one of @ccstone's AS's that select the first or last action: AppleScripts for the Keyboard Maestro Editor