ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
RE: [ECS] TTS question
Scott Reston
Thu, 16 Mar 2000 11:04:38 -0500
Thu, 16 Mar 2000 11:04:38 -0500
another tip - i've found it handy to create a custom item type called "winamp" with
states such as play, pause, next, previous...

then i've got one event that says...
if winamp is now play 
then winampPlay set execute
if winamp is now pause 
then winampPause set execute


i've also got a state of 'idle' and finish the event with

do winamp set idle

so that i don't have to worry about getting out of sync if i control winamp through
something other than ECS. (for example, if i had set winamp to play, then 
stopped it externally, setting winamp to play again wouldn't trigger "winamp is now
play" since it already WAS set to play....)



scott reston
scott@theRestons.com
http://theRestons.com/scott/

--Original Message Text---
From: David Kindred
Date: Thu, 16 Mar 2000 07:50:17 -0500

A.J.,
ÿ
If that's the case, take a look at the EXECUTE command. You'd need to set up text items
for each of the WACTRL commands 
you'd want to use (i.e. One would be "WACTRL PLAY", another would be "WACTRL SHUFFLE",
etc.) To make WACTRL do 
what you'd want it to, you'd just set the text item to EXECUTE. 




another tip - i've found it handy to create a custom item type called "winamp" with states such as play, pause, next, previous...

then i've got one event that says...
if winamp is now play
then winampPlay set execute
if winamp is now pause
then winampPause set execute


i've also got a state of 'idle' and finish the event with

do winamp set idle

so that i don't have to worry about getting out of sync if i control winamp through something other than ECS. (for example, if i had set winamp to play, then stopped it externally, setting winamp to play again wouldn't trigger "winamp is now play" since it already WAS set to play....)



scott reston
scott@theRestons.com
http://theRestons.com/scott/

--Original Message Text---
From: David Kindred
Date: Thu, 16 Mar 2000 07:50:17 -0500

A.J.,
 
If that's the case, take a look at the EXECUTE command. You'd need to set up text items for each of the WACTRL commands you'd want to use (i.e. One would be "WACTRL PLAY", another would be "WACTRL SHUFFLE", etc.) To make WACTRL do what you'd want it to, you'd just set the text item to EXECUTE.


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.