For some reason QuickTime Player X will not open midi files, so you need to have QuickTime Player 7 installed, or an alternative player such as NicePlayer. If you use NicePlayer, simply replace "QuickTime Player 7" with "NicePlayer" and the same script will work.Code:tell application "QuickTime Player 7" open POSIX file "/path/to/your/file.mid" play document 1 end tell




LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks