A stream for Apple Open Scripting Architecture (OSA) through AppleScript or Javascript