At 4:16 PM -0700 11/19/01, Retiarius wrote:
>I'm getting the following error when trying to compile the following
>statement (copied out of the transcript dictionary).
>
>Am I doing anything wrong?
>
>---
>
> * There was a Script Compile Error at 4:12:32 PM
>Error description:  Expression: unquoted literal
>Object: button id 1003 of card id 1002 of stack "/Macintosh HD/Desktop
>Folder/record audio.rev"
>--------------------
>record sound file it as 4CC "ulaw" with good quality
>--------------------
>Value: 4CC

It wasn't very clear to me either, but after some puttering around, this worked:

ask file "Save As:"
if the result is empty then
put it into tFile
record sound file tFile as "ulaw" with good quality
end if

Reply via email to