In article <1fzp06t.i4blormtfmg6N%mailjuliensalort.org>,
[email]mailjuliensalort.org[/email] (Julien Salort) wrote:
alt.comp.lang.applescript is probably the best newsgroup for questions> I'm not sure whether this is the appropriate forum. If not, please
> redirect me.
> I'm using the Speakable Items feature in MacOS X. I want to add a simple
> AppleScript that tell iTunes to play, wait 5 minutes and tell iTunes to
> stop playing.
> This works :
> tell application "iTunes"
> delay 300
> stop playing
> end tell
> But the computer stops listening spoken commands until the timer has
> shot. When the script terminates, the spoken commands queue gets
> suddently flushed.It depends on how Speakable Items works. According to your description> I don't know AppleScript very well. Would it be possible to work around
> the problem ?
of the problem, it seems that as long as the script is not completed,
Speakable Items will wait doing nothing. If this is the case, a solution
would be to put your script in a separate applet. The Speakable Items
script would simply launch it and quit, allowing new commands to be
spoken and recognized.
Patrick Stadelmann <Patrick.Stadelmannunine.ch>