<HTML>
<HEAD>
<TITLE>Busy cursor - wait while quicktime sound is played.</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana">Hello RunRev support.<BR>
ITinfo &amp; INDesign has 3 professionel licenses.<BR>
<BR>
<B>Platform<BR>
</B>Present Rev. version and OS: Revolution 1.1.1 on Mac OS X 10.2.2 (but it would be rather nice i compatible with Win/Mac OS 9 as well).<BR>
<BR>
<B>Question<BR>
</B>We previously used the external Record sound to record sounds and store them.<BR>
And when playing the files we could use &#8220;wait until the sound is done. And it worked perfect!<BR>
<BR>
How do we get the pause/busy cursor effect with the &#8220;record sound file&#8221; quicktimeformat.<BR>
<BR>
In some cases we need to play 6-36 sentences with one script &#8211; and we need to make the script wait until the previous one has finished before starting the next. And even when only playing one we want the cursor to be &#8220;busy&#8221; and to make it impossible for the user to interfere while the sound is playing. &#8220;Wait until the sound is done&#8221; did this, but doesnt work with the QT files.<BR>
<BR>
Best regards<BR>
<BR>
Carsten Levin<BR>
<BR>
Ps. our old and new scripts pasted here:<BR>
<BR>
<B>First the old aif external example &#8211; record and playing in the same script:<BR>
</B>on srtoptag<BR>
&nbsp;&nbsp;&nbsp;&nbsp;get extInit(MacinfoBA,3050298)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;put &nbsp;glbstilfilsti &amp; &quot;ress/sounds/opgavelyde/&quot; &amp; glbLydnavn &amp; &quot;.aif&quot; into tempSOUND<BR>
&nbsp;&nbsp;&nbsp;&nbsp;ext_recordSound tempSOUND,1<BR>
&nbsp;&nbsp;&nbsp;&nbsp;set the cursor to busy &nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;play tempSOUND<BR>
&nbsp;&nbsp;&nbsp;&nbsp;wait until the sound is done<BR>
end srtoptag<BR>
<BR>
<BR>
<B>The new scripts that works perfectly well, except for the missing cursorbusy pause. First the record script and then the play script:<BR>
</B>We are recording and storing sound files on the disk with this script:<BR>
on srtoptagopgavelyd<BR>
&nbsp;&nbsp;global glbglosefilsti<BR>
&nbsp;&nbsp;global glblydformat<BR>
&nbsp;&nbsp;global &nbsp;glbopgavenummer<BR>
&nbsp;&nbsp;record sound file (glbglosefilsti &amp; &quot;ress/sounds/opgavelyde/opgavetale&quot; &amp; glbopgavenummer &amp;&quot;.mov&quot;)as glblydformat<BR>
end srtoptagopgavelyd<BR>
glbglosefilsti is the path to the folder with our revolution stack.<BR>
glblydformat is where we deside what sound format to use.<BR>
glbopgavenummer is the specifik sound number.<BR>
<BR>
We are playing the sound files with this script:<BR>
on srtafspilopgavelyd<BR>
&nbsp;&nbsp;global glbglosefilsti<BR>
&nbsp;&nbsp;global &nbsp;glbopgavenummer<BR>
&nbsp;&nbsp;play videoclip (glbglosefilsti &amp; &quot;ress/sounds/opgavelyde/opgavetale&quot; &amp; glbopgavenummer &amp;&quot;.mov&quot;)<BR>
end srtafspilopgavelyd <BR>
</FONT>
</BODY>
</HTML>