Prevent Macro From Running Twice?

This macro opens ID3 editor and then fills out mp3 metadata. It successfully completes the macro but then starts over again trying to open a file with the same name but with .t0 at the end. For example test.mp3.t0 I'm assuming that's a temporary file name? Any ideas on how to stop this?

Here is a screencast of what happens.

Other Information:
KM Version 9.2
macOS: 10.15.7 (19H524)

Test - Prevent Looping.kmmacros (13.5 KB)

Hi @cachewest - you uploaded a single KM action:

KM 0 2021-04-23_22-58-41

which doesn't help find out what's wrong with your macro.

Please upload the macro that's causing you the problem in it's entirety.

If you're not sure how to do that then have a look here:

Cheers!

Sorry about that. I updated the post with the full macro and image.
The macro runs each action correctly, other than it starts all over again which is strange because it's not a loop and I move the file out of the folder that triggers it.

Hey Dave,

If your meta-data editor is creating a temp-file then it's not surprising the macro is getting triggered twice.

Try moving your file to the new destination first – then add the meta-data.

-Chris

2 Likes

Awesome. Thanks. Yes, moving the file first, then running the rest of the macro is working now.

1 Like

Nice one, Chris - I would not have spotted that!

1 Like