USING ONE (1) BUTTON TO DO TWO (2) ACTIONS PLEASE HELP!!!!

Help each other out

USING ONE (1) BUTTON TO DO TWO (2) ACTIONS PLEASE HELP!!!!

Postby XLRETARD on Wed Jan 18, 2006 2:25 pm

Ok! i was able to get all of my x10 stuff working 8) . now what i want to do is: use 1 button, ok? press it once and it activates (on) the device, press that same button again and it deactivates (off) the same device. is this possible? and if it is please please please please help...... and remember my screen name explains it all. so being very explicit in the instructions would be greatly appreciated.
thanks for all the previous and future help. :wink:

brett
XLRETARD
 
Posts: 38
Joined: Fri Dec 16, 2005 3:28 pm
Location: VALENCIA. CA

Postby rika on Wed Jan 18, 2006 3:04 pm

We dont have that functon yet..., You can only send the same event all the time with a button. You can add more events to the same button tough. That way you can have two buttons (one "on" and one "off"). Add show and hide comandes to them in the event manager so when you press "on" it hides and shows "off" insted, and vice versa.
Hop this make sense :?
Let me know if you need help

(Maby you can do this with xap plugin?)

Rika
Last edited by rika on Wed Jan 18, 2006 4:52 pm, edited 1 time in total.
rika
 
Posts: 401
Joined: Fri Apr 02, 2004 5:43 am
Location: Sweden

Postby XLRETARD on Wed Jan 18, 2006 3:16 pm

ooooooohhhhhhhh!!!!!!!!! ok i see that sounds like that will do just fine. i will try it out. although i might need you to hold my hand and walk me through the proccess of setting that up, but i will see if i cant figure it out first,
thanks so much

brett
XLRETARD
 
Posts: 38
Joined: Fri Dec 16, 2005 3:28 pm
Location: VALENCIA. CA

Postby XLRETARD on Wed Jan 18, 2006 8:03 pm

Ok sorry :( but i need some help with this "hide and show" button thing.

could someone setup an example so i can see how its done and i can go from there.

eg: the button on the screen shows "ON" when i click on it i want it to turn on an x10 light (a1 on) then from what you explained i want it to hide that "ON" button and replace it with an "OFF" button and when the "OFF" button is clicked it turns the x10 light off (a1 off) and then hides the "OFF" button and is replaced with the "ON" button. whew hope its easyer to program than to type it out.

thanks
brett
XLRETARD
 
Posts: 38
Joined: Fri Dec 16, 2005 3:28 pm
Location: VALENCIA. CA

Postby rika on Wed Jan 18, 2006 10:43 pm

Ok, start to add the buttons on and off.
Give them different "button id´s"
If your ligts are on hide the on button.
In event manager make two new events, one for on and one for off
After your x10 event add show and hide events. Sett the buttons id´s to the same as in above.
Open skin editor an add the on/off events to your buttons
Done

Image

Image

Hope this helps

Rika
rika
 
Posts: 401
Joined: Fri Apr 02, 2004 5:43 am
Location: Sweden

Postby Colby on Wed Jan 18, 2006 11:14 pm

Another way to do it is to make a rolling category. Where the button states are entries in the category. Upon press the category item would do multiple things, 1 it would execute the event or commands. 2 it would category next item (which would be the down state). This is seemless if your category display is 1 row 1 colum. I like this because you can add a textbox with various states ie. category>toggler>display. And the button is packaged in one moveable object.
Of course you have to make a custom database, and edit it etc. But it will give you the effect you want.
Colby
 
Posts: 929
Joined: Mon Feb 02, 2004 7:42 am
Location: Brookline Station, MO, USA

Postby XLRETARD on Thu Jan 19, 2006 3:07 pm

THANKS A MILLION RIKA!!!!!!! :D

thats almost exactly what i want......but....... :oops:

is there a way that i could overlay the 2 buttons?

i tried and it seems like you need the first or (front) button you click to be able to be sent to the "back" inorder to click the next button.

so is there a way to send an item to the "back" after it is clicked?

i hope i explained it right. "button ON is on top and button OFF is hidden behind it untill ON is pressed then ON hides and moves to the back so that button OFF is now showing and able to be clicked.

thanks again
XLRETARD
 
Posts: 38
Joined: Fri Dec 16, 2005 3:28 pm
Location: VALENCIA. CA

Postby XLRETARD on Thu Jan 19, 2006 3:17 pm

ok heres another one for ya!

can there be only one ON and one OFF buttons for multiple items?

eg: one ON and one Off button at the bottom of the screen. and then above is a listing of items, click on the item you want and then clicking it ON or OFF with the either button at the bottom of the screen, so no need for an ON and OFF button for every item.

brett
XLRETARD
 
Posts: 38
Joined: Fri Dec 16, 2005 3:28 pm
Location: VALENCIA. CA

Postby XLRETARD on Mon Jan 23, 2006 2:30 pm

hello? :(
XLRETARD
 
Posts: 38
Joined: Fri Dec 16, 2005 3:28 pm
Location: VALENCIA. CA

Postby hvs69 on Mon Jan 23, 2006 8:38 pm

Follow Colby's advice, it will do what you want. I have not got good results with show/hide commands (different application)
hvs69
 
Posts: 219
Joined: Wed Feb 11, 2004 8:06 am

Postby XLRETARD on Wed Feb 15, 2006 6:37 pm

Colby wrote:Another way to do it is to make a rolling category. Where the button states are entries in the category. Upon press the category item would do multiple things, 1 it would execute the event or commands. 2 it would category next item (which would be the down state). This is seemless if your category display is 1 row 1 colum. I like this because you can add a textbox with various states ie. category>toggler>display. And the button is packaged in one moveable object.
Of course you have to make a custom database, and edit it etc. But it will give you the effect you want.


ok that sounds like a plan...... :roll: but could someone show how to go about doing that????????? pleeeeeeeeeeeeeeeeeeeeeeeeeeeease!!!!!!
XLRETARD
 
Posts: 38
Joined: Fri Dec 16, 2005 3:28 pm
Location: VALENCIA. CA