Wednesday, December 12, 2018

How to Add a shell script to Mac Applications...

Came across with this situation where I keep forgetting in which folder "that" particular shell script is at which I used a while ago... Damn, I should have placed it under "Applications" so that I don't have to waste my time looking for a script.....

Anyways, found an easy way how I can make a shell script to place under "Applications" folder and use my Launchpad to find it in there.

Step#1: Type "automator" in the Spotlight Search (command + space bar)
Step#2: Choose "Application" when asked for "Choose a type for your document"
Step#3: Type "shell" in the search box right next to "Variables"
Step#4: Doble click on "Run Shell Script"
Step#5: You will get a "Run Shell Script" window on the side as shown below



Step#6: You can simply drag and drop the shell script from your folder or type in the box as shown below



Step#7: Now, save the file with File Format as "Application" under "Applications" and now you can see your named application in Launchpad.