Could anyone tell me why this one won't work please?
Oh finally. You'll see above that var1 wasn't the filename, it was the last part of the path. Fixing that has fixed the macro, though I don't understand why it wouldn't work. Perhaps someone could still shed some light on the logic.
This is the working macro now.
Hey Damian,
Hmm... Your first macro works every time for me.
Here it is with some minor embellishments for feedback (appended).
One of the tricks I use for debugging this stuff is to display the complete text of items built with variables in a window, instead of in the action it's normally in (your Get-URL action for instance).
Then I can eyeball the result for syntactical issues and test it in a browser (or other appropriate venue).
-Chris
Damien_Test_01.kmmacros (2.1 KB)