Apple script to auto-reconnect your MIDI device to the MIDI network session on OSX
If you happen to develop iOS apps with XCode and you want the simulator to connect over a Network session with your MIDI devices, you might have been annoyed so far that at each re-run, you need to go to MIDI Network Setup, click the simulator and then click Connect to join it to the session again and again. Well... no more. :)
brew install cliclick
Optional: Replace in the script "iPhone Simulator" with whatever you want to connect to your session
Feel free to improve it and push changes.
Enjoy!
/Cosmin