Entra:     


Forum: General Discussion

Topic: Onint Script
I use EQ10 on all four decks and use the Blocks skin. I would like to have the EQ10 master be on when I open virtual dj. Is there an oninit script that will accomplish this?
 

Inviato Thu 30 May 24 @ 11:04 pm
There's nothing special about oninit, it maps just like any other key.

deck master effect_active eq10 on
 

It does not like the word on. It shows green and does not turn on eq 10.
 

Try active instead of on
 

It is supposed to show green...

the issue is the skin/VDJ etc has not fully loaded the instant that the ONINIT script is setting the master effect.

One needs to add a "blink of an eye" (maybe up to a second) before the script is sent.

try:
wait 1000ms & deck master effect_active eq10 on


note:
you may be able to shorten the wait time.. or need to lengthen it a bit.
 

Thanks to everyone's help. It is still not working with all of the suggestions. I will show you what I have in oninit, maybe that is the problem: deck all volume 0.50 & wait 2000ms & deck master effect_eq 10 on
 

fallguy66 wrote :
...deck master effect_eq 10 on...

What's "effect_eq" ?

And be careful with deck all, contain it in ( )
read why here.
( deck all volume 0.50 ) & wait 2000ms & deck master effect_active eq10 on
 

unless you're poorly explaining what you want

( deck all volume 0.50 & effect_active eq10 on )
 

Apparently, I was poorly explaining what I wanted. Your last suggestion worked.

Also, thanks for the link that explained the brackets. While I could work around this issue this fix made it much easier. When I record, I tend to forget to click the EQ10 and then have to start over.

Thanks to everyone for their suggestions. This forum is a wealth of knowledge with so many willing to help.