View Single Post
Old 02-18-2008, 03:30 PM   #3
JohnWPB
Road Runner & Mp3car Gatherings Moderator
 
JohnWPB's Avatar
 
Join Date: Sep 2005
Location: West Palm Beach, Florida
Posts: 3,047
Thanks! I will give it a shot now.

Actually, hahaha this is not for volume control..... Its to dim lights in the living room

EDIT:

Ok, I am pretty sure I have the exectbl.ini correct. What I am unsure of is the skin code. In your above example, I do not see where the slider name goes:
Code:
S03,...,H,03,"slider2.gif",30,"$RAWVOLUMEVAR$",""

I also have to pass 2 variables with the skin command(slider pressed), the device to control and the level to set it at. something like $device$ $dimlevel$. (The Device is hard coded, but the slider var needs to report where the slider is)

I have a vbscript that reads the 2 parameters passed to it. It then in turn sends that command over the network to the home automation server to carry out the command.

This is what I have in the exectbl.ini:

Code:
"ONSLD","RUNQW;wscript.exe" "$SkinPath$\scripts\vb.vbs|$device$ $dimlevel$"

__________________
Front End of Choice: Road Runner (Is there anything else??? )
& Powered by the DigitalFX 4.0 Skin
Available at www.JohnWPB.com

Last edited by JohnWPB; 02-18-2008 at 04:02 PM.
JohnWPB is offline   Reply With Quote