There are a number of ways of doing this, a simple solution would be to write an applescript (Using Script Editor, in the Applescript folder in the Applications folder) that sent the shell commands for you, it could be as simple as:
do shell script "/Applications/synergyc 192.168.0.10"
(or if you have to background it to keep it from exiting immediately :
do shell script "/Applications/synergyc 192.168.0.10 &")
or depending on circumstance:
do shell script "cd /Applications/synergyc;./synergyc 192.168.0.10"
or could run a full script that you have written.
Then save the script as "Application". This will make a double-clickable application. Now that you have an application, you can drop that into the startup items in the Accounts section of System Preferences.
Hope this helps. There are other approaches, but I think this one is fairly simple to implement.
-khill
(reference: http://developer.apple.com/technotes/tn2002/tn2065.html )
As for the icon (keeping in the spirit of simplicity) you can change any icon by copying the new image you want to the clipboard (say, from preview, Edit:Copy). Then click on the file / folder / whatever in the finder and select File:Get Info. You can then click on the icon in at the top of the info display and select paste. This isn't a real icon of course, with variable sizes / masks, but it is good enough for most purposes.
do shell script "/Applications/synergyc 192.168.0.10"
(or if you have to background it to keep it from exiting immediately :
do shell script "/Applications/synergyc 192.168.0.10 &")
or depending on circumstance:
do shell script "cd /Applications/synergyc;./synergyc 192.168.0.10"
or could run a full script that you have written.
Then save the script as "Application". This will make a double-clickable application. Now that you have an application, you can drop that into the startup items in the Accounts section of System Preferences.
Hope this helps. There are other approaches, but I think this one is fairly simple to implement.
-khill
(reference: http://developer.apple.com/technotes/tn2002/tn2065.html )
As for the icon (keeping in the spirit of simplicity) you can change any icon by copying the new image you want to the clipboard (say, from preview, Edit:Copy). Then click on the file / folder / whatever in the finder and select File:Get Info. You can then click on the icon in at the top of the info display and select paste. This isn't a real icon of course, with variable sizes / masks, but it is good enough for most purposes.