Quick Sign In:  

Forum: VirtualDJ Skins

Topic: Information on script

This topic is old and might contain outdated or incorrect information.

Sorry for my English

Hi all,

I am currently designing a skin based on VMS and I wish I had a little intelligence.
I established in my XML file while a series of load each time sample based on a multibutton.
A right click gives me the popup of 3 sets of 12 samples and one left clik loader allows me the series of samples numbered 1, 2 and 3.

and the first thing that I will only want to load the text SET SAMPLE FX 01 or 02 or 03

SAMPLE SET 01 FX
As a sample
2 as sample
3 as sample
4 as sample
5 as sample
etc.

SAMPLE SET 02 FX
As a sample
2 as sample
3 as sample
4 as sample
5 as sample
etc.

SAMPLE SET 03 FX
As a sample
2 as sample
3 as sample
4 as sample
5 as sample
etc.

the second thing is when click SET SAMPLE FX 01 or 02 or 03
I'd love not having to click again the button on the skin to be loaded, ie click once on an FX SAMPLE SET 01 or 02 or 03 and load it directly.

And finally how is it that I can give oas a button on a SELECTED multibutton load.

Thank you for your answers
 

Posted Mon 06 Feb 12 @ 12:52 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Maybe your English is not helping me to understand, or i am missing something .. anyway..

I think you re using multibuttons .. Those work as buttons, but you can choose from a menu what is the action you need to operate each time. Unfortunately they dont work like menus. That means that you click once to set the action of the button, and another one click to the button to make the action. So you cant have 1 click with the multibuttons.

Text to display the sampler name ?


<text font="arial greek" size="18" align="center" scroll="yes" format="`get sample_slot_name 1`"/>
 

Posted Mon 06 Feb 12 @ 1:21 pm
Hello djdad

I want to only load the button SET 1 or SET 2 or SET 3 and the remaining samples only as text in the menu without action.

--- Sampler 1 --- BRUITAGES
<multibutton id="samples 1">
<choice name="SET 1" action="button_select 'samples 1'& sampler 1 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\01. Aguanta.mp3'& sampler 2 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\02. Ahah bpm.mp3'& sampler 3 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\03. Alarm alarms.mp3'& sampler 4 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\04. Alarm sfxsphereall.mp3'& sampler 5 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\05. Alarme electro.mp3'& sampler 6 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\06. Alarme numerique.mp3'& sampler 7 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\07. Alarme Star trek.mp3'& sampler 8 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\08. Alien Zapper.wav'& sampler 9 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\09. Android 01.wav'& sampler 10 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\10. Android 02.wav'& sampler 11 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\11. Aplaw calabria.mp3'& sampler 12 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\12. Applause all.mp3'" rightclick=""/>
<choice name="* Set Bruitages 1 *"/>
<choice name="***************"/>
<choice name="01. Aguanta"/>
<choice name="02. Ahah bpm"/>
<choice name="03. Alarm alarms"/>
<choice name="04. Alarm sfxsphereall"/>
<choice name="05. Alarme electro"/>
<choice name="06. Alarme numerique"/>
<choice name="07. Alarme Star trek"/>
<choice name="08. Alien Zapper"/>
<choice name="09. Android 01"/>
<choice name="10. Android 02"/>
<choice name="11. Aplaw calabria"/>
<choice name="12. Applause all"/>

<choice name=""/>

<choice name="SET 2" action="button_select 'samples 1'& sampler 1 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\13. Applause bravo and clapping.mp3'& sampler 2 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\14. Applause casanova.mp3'& sampler 3 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\15. Applause live.mp3'& sampler 4 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\16. Atencion.mp3'& sampler 5 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\17. Augah.mp3'& sampler 6 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\18. Backspin.mp3'& sampler 7 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\19. Bicycle.mp3'& sampler 8 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\20. Bip stamp.mp3'& sampler 9 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\21. Blass.wav'& sampler 10 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\22. Boomerang.wav'& sampler 11 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\23. BPM.mp3'& sampler 12 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\24. Charger.wav'" rightclick=""/>
<choice name="* Set Bruitages 2 *"/>
<choice name="***************"/>
<choice name="13. Applause bravo and clapping"/>
<choice name="14. Applause casanova"/>
<choice name="15. Applause live"/>
<choice name="16. Atencion"/>
<choice name="17. Augah"/>
<choice name="18. Backspin"/>
<choice name="19. Bicycle"/>
<choice name="20. Bip stamp"/>
<choice name="21. Blass"/>
<choice name="22. Boomerang"/>
<choice name="23. BPM"/>
<choice name="24. Charger"/>

<choice name=""/>

<choice name="SET 3" action="button_select 'samples 1'& sampler 1 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\25. Claps in studio.mp3'& sampler 2 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\26. Digital Guard Dog.wav'& sampler 3 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\27. Digital Woof.wav'& sampler 4 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\28. Dog Woof.wav'& sampler 5 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\29. Efecto.mp3'& sampler 6 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\30. Effect mezclas!!s.mp3'& sampler 7 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\31. Electric A.mp3'& sampler 8 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\32. Electric Zap.wav'& sampler 9 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\33. Feedback Build.wav'& sampler 10 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\34. Filtered Roller.wav'& sampler 11 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\35. FX CMB kick 1.mp3'& sampler 12 load 'H:\ZONE SAMPLES\ZONE FX BRUITAGES\36. FX CMB kick 2.mp3'" rightclick=""/>
<choice name="* Set Bruitages 3 *"/>
<choice name="***************"/>
<choice name="25. Claps in studio"/>
<choice name="26. Digital Guard Dog"/>
<choice name="27. Digital Woof"/>
<choice name="28. Dog Woof"/>
<choice name="29. Efecto"/>
<choice name="30. Effect mezclas!!s"/>
<choice name="31. Electric A"/>
<choice name="32. Electric Zap"/>
<choice name="33. Feedback Build"/>
<choice name="34. Filtered Roller"/>
<choice name="35. FX CMB kick 1"/>
<choice name="36. FX CMB kick 2"/>

<size width="34" height="18"/>
<pos x="511" y="601"/>
<selected x="226" y="1988"/>
<over x="226" y="1988"/>
<text dx="1" dy="3" width="100" font="arial greek" size="14" color="#000000" align="center" weight="bold" format="%name" scroll="no"/>
<tooltip>Bruitages Set 1 - Set 2 - Set 3</tooltip>
</multibutton>

Thanks
 

Posted Tue 07 Feb 12 @ 12:38 pm


(Old topics and forums are automatically closed)