GetSelPreset

Discuss macro programming, and post any new macros here!
Donny1139
Posts: 5
Joined: Sun Sep 27, 2015 4:15 pm

GetSelPreset

Post by Donny1139 »

Dave,

Is there any sort of functionality built in where you have a bank and preset selected, run a macro, and have the macro determines what Bank and Preset you have selected. Similar to the GetSelCh(i) below:

n = GetNumSelCh() for i in range(n):
chNum = GetSelCh(i)
print 'Channel %d value = %d' % (chNum, GetChVal(chNum))

Looking for a way to determine the selected Bank and Preset. Let me know if there is a way to do it, or if DMXIS is not currently set up to enable that.

Regards,
D
Dave Brown [admin]
Posts: 2123
Joined: Sat Sep 15, 2012 4:53 pm
Has thanked: 5 times
Been thanked: 17 times

Re: GetSelPreset

Post by Dave Brown [admin] »

Sorry, that's not possible in the current DMXIS release. You can query number of banks/presets, their names, and load them by name or index.

What problem is it you're trying to solve?
Dave Brown - db audioware
Author of Show Buddy Setlist | Show Buddy Active | ArtNetMon
Post Reply