快速登录:  

Forum: General Discussion

话题: 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.
 

发表时间 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
 

发表时间 Wed 20 Dec 23 @ 10:58 am
bibi-bPRO InfinityMember since 2022
 

发表时间 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
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.
 

发表时间 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
 

发表时间 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 ;-)
 

发表时间 Wed 20 Dec 23 @ 12:05 pm