On click question

Moderator: Moderator Group

On click question

Postby alverman » Wed May 30, 2012 11:52 pm

If I have a button with this in
On click script:

WDFaderUp,1,3
WDFaderDown,2,3
WDCustomScriptText,4,LAYER A

and in

On relaese script:

WDFaderDown,1,3
WDFaderUp,2,3
WDCustomScriptText,4,LAYER B

Then I have a button that sends them both to zero so the faders:

WDFaderDown,2,3
WDFaderDown,1,3

After both lowered fader by pressing the second button the top button sometimes gets up the first fader sometimes the second.
how do I make up always and only the first fader first?
PROService -IT
Intel i7 2600K LGA1155
MB P8H67-MLE 16GB
2xSSD 250GB
GTX470
Win 8.1 PRO
Manager STD V6.1
Player PRO V6.1
WDPro V5 2500
** La famiglia ti nutre, ti veste .... finchè non sei pronto per girare il mondo alla ricerca di qualcosa di tuo. **
User avatar
alverman
 
Posts: 562
Joined: Sat Jun 12, 2010 6:37 pm

Re: On click question

Postby Markus Zeppenfeld » Thu May 31, 2012 9:20 am

Hi!

Depending on the click status you will either release or click the button.
If you always want to click the button after lowering the faders you have to be sure, that the button is released. As you do not want to execute the script at that moment you have to add the script "WDCustomScriptSilentClickToggle,'ID'" within the second button while sending down the faders.

Markus
Markus Zeppenfeld
Senior Product Manager, Pandoras Box

"Have you tried turning it off and on again?" (from "The IT Crowd" / channel 4)
Markus Zeppenfeld
 
Posts: 824
Joined: Wed Mar 02, 2011 10:12 am
Location: Cologne - Germany

Re: On click question

Postby alverman » Thu May 31, 2012 10:21 pm

Perfect !!

Thanks
PROService -IT
Intel i7 2600K LGA1155
MB P8H67-MLE 16GB
2xSSD 250GB
GTX470
Win 8.1 PRO
Manager STD V6.1
Player PRO V6.1
WDPro V5 2500
** La famiglia ti nutre, ti veste .... finchè non sei pronto per girare il mondo alla ricerca di qualcosa di tuo. **
User avatar
alverman
 
Posts: 562
Joined: Sat Jun 12, 2010 6:37 pm


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 84 guests