![]() ![]() The number on the left is a destination, the number on the right, a source. Ogscript.putPrivateString('hosts', 'VideoHub.port', params.getValue(0x2,0)) Įssentially, this panel builds a text string that looks like this: Ogscript.putPrivateString('hosts', 'VideoHub.address', params.getValue(0x1,0)) ![]() tValue(0x2, 0, ogscript.getPrivateString('hosts', 'VideoHub.port')) tValue(0x1, 0, ogscript.getPrivateString('hosts', 'VideoHub.address')) Var appleScriptCommand = "set telnet to \"" + telnetCommand + "\n" + telnetScript + "\n" + "exit" + "\"\n" + Var telnetCommand = "telnet " + ogscript.getPrivateString('hosts', 'VideoHub.address') + " " + ogscript.getPrivateString('hosts', 'VideoHub.port') TelnetScript = telnetScript + i + ' ' + params.getValue(0x3,i) + "\n" ![]() Var telnetScript = "VIDEO OUTPUT ROUTING:\n" everything is zero based including the array so we just go ahead and drop it down Var args = įunction tellVideoHub(destination, source) If anyone has experience with the telnet side and wants to jump in, let me know!įunction runAppleScript(applescriptCommand) I couldn't get telnet to work without calling it via AppleScript, but it works fine doing that. It's still a work in progress but it is functioning fine at this point. I needed something simple for volunteers where they could click a clear, distinct, labeled button and have it do the macro. I wrote a panel today to send telnet commands to our VideoHub router to make simple routing changes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |