Quick Sign In:  

Forum: General Discussion

Topic: While released button is 0% volume?

Dieses Thema ist veraltet und kann veraltete oder falsche Informationen enthalten.

Hello, I'm looking for some help with coding a button for VDJ7.

When the volume is 100%, I want a button that when I tap it it stays on 100%, but then when the tap is released the volume is 0%. What would the code be?

 

geposted Mon 29 Jun 15 @ 7:13 am
RobRoyPRO InfinitySenior staffMember since 2012
master_volume 0% while_pressed
 

geposted Mon 29 Jun 15 @ 7:18 am
Thanks but that's not what I'm looking for.
 

geposted Mon 29 Jun 15 @ 11:30 am
locoDogPRO InfinityModeratorMember since 2013
volume 0% & volume 100% while_pressed


Maybe, my V7 script is a distant memory,
windows filter keys may mess it up, I've got a vague idea how to do it with down ? & several variables. If needs be.
 

geposted Mon 29 Jun 15 @ 12:46 pm
SBDJPRO Infinity Member since 2006
DJkanman wrote :
When the volume is 100%, I want a button that when I tap it it stays on 100%, but then when the tap is released the volume is 0%


This reads to me as you want to stay at 0%? If so...

If the volume is 100%, then when you lift that key the volume will go to 0%:

up ? volume 100% ? volume 0%


If you want it so that it works if the volume isn't 100%, but 99% or whatever:

up ? volume 0%


You can of course make it deck specific by prefixing with deck:

up ? deck 1 volume 100% ? deck 1 volume 0%


Or make it work on the master volume:

up ? master_volume 100% ? master_volume 0%


If that's not what you are looking for then you'll need to be more specific.
 

geposted Mon 29 Jun 15 @ 5:13 pm
pseftPRO InfinityMember since 2009
SBDJ wrote :
If that's not what you are looking for then you'll need to be more specific.


how many times iv seen this... lost count
 

geposted Mon 29 Jun 15 @ 10:00 pm
Thanks Locodog - works perfectly. I didn't need to test those out SBDJ, but cheers for the help.
 

geposted Thu 02 Jul 15 @ 4:11 pm


(Alte Themen und Foren werden automatisch geschlossen)