by perlboy » 17. July 2013 17:08
The application that starts the servers is manager-osx.app. Unfortunately, it is not scriptable so you can't use AppleScript. That's the bad news. But the good news is you can start servers in XAMPP with a shell script. Do this:
sudo /Applications/XAMPP/xamppfiles/xampp start
sudo will prompt for the root password and then you should see the three server start messages: Apache, MySQL and ProFTPD.
You could easily put this in your .bash_profile, which would cause them to start whenever you login to OS X. At the moment I don't see any way around manually entering that pw, so your invocation won't be silent but you can't have everything when you're dealing with external developers, right? I wonder if the devs read these posts? I think they don't. Otherwise, they'd put a stop to all the spam these forums receive.
Our dev friends at XAMPP could make the application scriptable, which would be more elegant but bash is your tool of choice otherwise. This should work in the Linux version too.
Good luck.
perlboy