Quick Sign In:  

Forum: General Discussion

Topic: Activate some custom pads on load
bibi-bPRO InfinityMember since 2022
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.
 

Posted 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
 

Posted Wed 20 Dec 23 @ 10:58 am
bibi-bPRO InfinityMember since 2022
 

Posted Wed 20 Dec 23 @ 11:00 am
Why not just use this thread if it's all related?
 

Posted Wed 20 Dec 23 @ 11:02 am
bibi-bPRO InfinityMember since 2022
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.
 

Posted Wed 20 Dec 23 @ 11:07 am
AdionPRO InfinityCTOMember since 2006
The answer is really the same as for your other topic though
& is used to execute two commands
 

Posted Wed 20 Dec 23 @ 11:20 am
bibi-bPRO InfinityMember since 2022
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 ;-)
 

Posted Wed 20 Dec 23 @ 12:05 pm