Subject: | |
From: | |
Reply To: | |
Date: | Tue, 7 Aug 2007 11:57:50 +0200 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi,
the following script to perform audio recordings via QuickTime Player
does not work:
tell application "QuickTime Player"
activate
set newMovie to (new audio recording "QuickTime Player")
start newMovie
delay 2
stop newMovie
end tell
I get the following event log:
tell application "QuickTime Player"
activate
new audio recording "QuickTime Player"
«class id 2
start «class id 2
"QuickTime Player got an error: Can't make «class id 2 into type
reference."
However, this script works:
tell application "QuickTime Player"
activate
set newMovie to (new audio recording "QuickTime Player")
start document 1
delay 1
stop document 1
end tell
What's the difference between the two?
Any help is greatly appreciated,
Christoph
------------------------------------------------------------------------
--------
Institute of Phonetics and Speech Processing
Ludwig-Maximilian-University Munich
Schellingstr. 3
D 80799 Munich
Germany
Tel: +49-(0)89-2180 2807
GSM: +49-(0)171-2725148
Fax: +49-(0)89-2180-5790
------------------------------------------------------------------------
--------
|
|
|