Hi Yves, I really appreciate you helping like this - I know you guys are really busy....but I wasn't joking when I said I didn't know anything about this - imagine you are explaining it to a child....
First I created a module with three buttons:
On map 1 I put output blue, gave it a figure for down in the value and gave it 0 for up, I put red on map 2 and green on map 3. So when the button is pressed the three output colours change to the values I've specified and when the button is released it goes back to normal. I gave each of the buttons different values so pressing each button gives a different output colour:
Then I thought it would be more useful if you could change the value using a slider before you press the button so I put three sliders in for each button:
what I want it to do is set the value on each of the sliders, then when the button is pressed it send each slider value to the corresponding output colour bar and when the button is released the output colour goes back to normal but the slider values stay where they are - giving adjustable quick access presets.
I tired putting names in the script connect section for the sliders and using the print msg.param thing and it told me the value that the slider was changing to. Then I put in the section you indicated:
if msg=='sliderChanged': # Is it the correct message ?
v = param['value'] # Yes, I extract the new value
and then tried putting v in the value section for the button but this didn't do anything?
Sorry for writing so much, but I think I might be asking the wrong questions so I thought it best if I put as much as possible information in. This is the first time I've tried anything like this and I thought this might be something simple which would help me understand it, but I'm just getting more and more confused - I might have to just leave the modules to people who know what they are doing