@okn, as you learned, that was not a KM Macro, and Chris @ccstone and I have provided you with our macros to provide the same function.
I have just uploaded my Macro revised to work with ForkLift, and any other app the user chooses:
MACRO: Replace Spaces with Dashes in File Name in @Finder and Other Apps [Example]
@okn and @ccstone, if you guys could test this to make sure it works with ForkLift (post results in the Macro topic) I would greatly appreciate it, since I don't have the ForkLift app.
Thanks.