First thing you'll need to do is download MacroDroid on the play store. Click the picture below to go download it. The app is around $3.00 if you want to add more than 5 macros.
After doing so go and open the app and follow the video below.
Now for an app being uninstalled follow the video below