Os X - how to create links to scripts for dock or desktop
As I promised in the previous post, I will show you how to add any script or program run normally from command line to dock or desktop and run as any other application.
For this we will use Platypus.
Platypus “can be used to create native, flawlessly integrated Mac OS X applications from interpreted scripts. Supports shell scripts, Perl, Python, PHP, Ruby, Expect, Tcl, AppleScript”.
We will use today the shell script to start the synergy application presented in the previous post
First of all we need to create a script file, to launch the synergy application
#!/bin/sh
/Applications/synergy/synergys -f –config /Applications/synergy/synergy.conf
Save this as “run_server” into the synergy folder and make it executable
If you did not downloaded yet platypus, do it and install it on your mac, then start it.
Complete the fields as necessary and choose another icon if you want to. An example of how to set the parameters are in the screenshot below
Hit create , save the new created tool into Application folder and you should be set :)
This is a very basic example, but you can explore more as platypus is pretty powerfool.
Let me know your thoughts.


Leave a Reply