This is a cross platform macro . works with linux mac and windows
Download the macro from here (main version)
To run this macro first extract the files
Then open the folder
Open the terminal in the folder
Run the command ./macro
If it says no permission or so
Run the command chmod +x *
Then run ./macro
again