Wait Until Action Executes

Posted on
Mon Sep 23, 2013 2:33 pm
ckeyes888 offline
Posts: 2425
Joined: Nov 26, 2009
Location: Kalispell, MT

Wait Until Action Executes

Maybe some way to have a script wait until an Action is done executing?
Just trying to have the volume on a Squeezebox radio turn down while the Sonos
group announce is executing.

Code: Select all
tell application "IndigoServer"
   execute group "SBR - Vol 20"
   execute group "Sonos Connect Announce"
       --wait here?
   execute group "SBR - Vol 50"
end tell


Thanks,

Carl

Posted on
Mon Sep 23, 2013 2:41 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Wait Until Action Executes

Hi Carl,

We have a mechanism in place for detecting when the Indigo Server is idle already, so I'll look at exposing that via an API. One catch though -- it will only be available in python. ;-)

Image

Posted on
Mon Sep 23, 2013 3:10 pm
ckeyes888 offline
Posts: 2425
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: Wait Until Action Executes

Thanks, yet another reason to learn Python.

Carl

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 24 guests