symdesign
6/18/2015 - 9:16 PM

Autostart MAMP

starting MAMP at startup without entering password

Create the following AppleScript in AppleScript Editor

do shell script "/Applications/MAMP/bin/startApache.sh &" password "YOURPASSWORD" user name "YOURUSERNAME" with administrator privileges
do shell script "/Applications/MAMP/bin/startmySQL.sh > /dev/null 2>&1"

Replace YOURPASSWORD and YOURUSERNAME with the proper values, then save it as a run-only application (.app) to keep anyone from being able to open the script and read your password.

Finally add the application to the autostart list