The macro "Mine" for "Minecraft" can be downloaded and used on any mouse and keyboard.
Installing the macro is quick and easy in the Keyran program and increases your skill level in Minecraft, if you follow the
instructions!
My apologies, but I can't help you change the macro construction from another source.