Table of Contents
This chapter will explain the AppleScript support in iRecordMusic, and help you to write scripts to automate iRecordMusic.
As it is possible to launch multiple copies of iRecordMusic, to simultaneously record from multiple audio streams at the same time, an interesting issue arises. When you send an AppleScript command to "iRecordMusic.app" how can you be sure which copy of iRecordMusic receives the command?
Our workaround to this issue, for now (and we may improve this in the future), is to provide an identifier for each running copy of iRecordMusic. When issuing commands, you must also provide this identifier, which is a string.
tell application "iRecordMusic" get irmID -- get ID of the application receiving the command get irmIDs -- get IDs of all running copies of iRecordMusic end tell