Hi there,
i have a custom pad bank named "dmx". Here I would like to automatically activate pad 1 to 4 on system load. But the bank itself should stay in the background.
Do i script that with "oninit"? But how?
For those who are interested: With these pads activated I am firing some os2l triggers to my dmx software. And there is no need to keep them deactivated. But there is also no need to show up the bank itself.
i have a custom pad bank named "dmx". Here I would like to automatically activate pad 1 to 4 on system load. But the bank itself should stay in the background.
Do i script that with "oninit"? But how?
For those who are interested: With these pads activated I am firing some os2l triggers to my dmx software. And there is no need to keep them deactivated. But there is also no need to show up the bank itself.
发表时间 Wed 20 Dec 23 @ 10:52 am
Guessing you could just chain the instructions in the oninit script?
os2l_button '140SR ~CC30S' & os2l_button '140SR ~Blue' & etc etc
os2l_button '140SR ~CC30S' & os2l_button '140SR ~Blue' & etc etc
发表时间 Wed 20 Dec 23 @ 10:58 am
Chaining isn't very simple. As asked here:
https://www.virtualdj.com/forums/256147/General_Discussion/How_to_bring_scripts_together_.html
https://www.virtualdj.com/forums/256147/General_Discussion/How_to_bring_scripts_together_.html
发表时间 Wed 20 Dec 23 @ 11:00 am
Why not just use this thread if it's all related?
发表时间 Wed 20 Dec 23 @ 11:02 am
Did so last time, but someone said it's better to have two topics (when asking for two solutions). Anyway, I am interested in both answers. Maybe there is a solution to activated pads 1-x with oninit - so I wouldn't need to chain scripts.
发表时间 Wed 20 Dec 23 @ 11:07 am
The answer is really the same as for your other topic though
& is used to execute two commands
& is used to execute two commands
发表时间 Wed 20 Dec 23 @ 11:20 am
Okay, got it.
But a simple "&" for chaining my 6 scripts couldn't be the answer. At least I did not get it running. Perhaps someone can give me a single script within my other post ;-)
But a simple "&" for chaining my 6 scripts couldn't be the answer. At least I did not get it running. Perhaps someone can give me a single script within my other post ;-)
发表时间 Wed 20 Dec 23 @ 12:05 pm