Rank: Advanced Member
Groups: Registered
Joined: 3/29/2020(UTC) Posts: 101 Thanks: 20 times Was thanked: 2 time(s) in 2 post(s)
|
Originally Posted by: Peter1000 Sample for Input 28 Mikrophone ON Quote:' switches Audio ON on Input 28 API.Function("AudioON", 28)
' switches Input 28 to Bus A-G API.Function("AudioBusON",28 ,Value:="A") API.Function("AudioBusON",28 ,Value:="B") API.Function("AudioBusON",28 ,Value:="C") API.Function("AudioBusON",28 ,Value:="D") API.Function("AudioBusON",28 ,Value:="E") API.Function("AudioBusON",28 ,Value:="F") API.Function("AudioBusON",28 ,Value:="G") Mikrophone OFF Quote:' switches Audio OFF on Input 28 API.Function("AudioOFF", 28)
' switches Input 28 away from Bus A-G API.Function("AudioBusOFF",28 ,Value:="A") API.Function("AudioBusOFF",28 ,Value:="B") API.Function("AudioBusOFF",28 ,Value:="C") API.Function("AudioBusOFF",28 ,Value:="D") API.Function("AudioBusOFF",28 ,Value:="E") API.Function("AudioBusOFF",28 ,Value:="F") API.Function("AudioBusOFF",28 ,Value:="G") I've tried these but it doesn't work, it still switches the microphone to the M bus rather than the A-G busses. Obviously I'm doing something wrong in my script. To be honest, I'm finding it hard to work out which part of your message is the script and which isn't. Just what's in the brackets? Or do I type everything from API onwards for each line?
|