mac app: added rudimentary applescript support, see blink1control-osatest.applescript for example