Mime-Version: |
1.0 (Apple Message framework v896) |
Content-Type: |
text/plain; charset=ISO-8859-1; format=flowed; delsp=yes |
Date: |
Tue, 7 Aug 2007 08:45:28 -0400 |
Reply-To: |
|
Subject: |
|
From: |
|
In-Reply-To: |
|
Content-Transfer-Encoding: |
quoted-printable |
Sender: |
|
Parts/Attachments: |
|
|
I would sat that it is a bug with new audio recording. It doesn't
actually return the document that it is recording. Your solution is
probably the best one
On Aug 7, 2007, at 5:57 AM, Christoph Draxler wrote:
> 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
> --------------------------------------------------------------------------------
>
|
|
|