mo-scellaneous Posted October 4, 2016 Share Posted October 4, 2016 Hello everybody, I am trying to build a small app and post on github for others to use. I am trying to remap the volume up and down on my mac keyboard to control the volume on my amplifier. Right now my main concern is creating a daemon that will listen for the key press and send the appropriate command. The amplifier uses telnet. It works send things. The amp does respond back with a new volume, but I will work with that later. I know swift, but I cannot figure out how to create a daemon. host=192.168.0.2 port=8102 cmd1='VU' //Volume up cmd1='VD' //Volume down ( echo open ${host} ${port} sleep 1 echo ${cmd1} sleep 1 echo ${cmd1} sleep 1 echo exit ) | telnet Can anybody help me out? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.