This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
supported_hardware:nohassle4 [2023/01/07 16:29] James Sentman |
supported_hardware:nohassle4 [2023/01/07 17:05] (current) James Sentman add scripting commands |
||
---|---|---|---|
Line 45: | Line 45: | ||
end if | end if | ||
</code> | </code> | ||
+ | |||
+ | ====Additional Scripting Commands:==== | ||
+ | |||
+ | ===Power On/Off=== | ||
+ | The power on and off commands are supported by all except the “mini” version of the supported devices. | ||
+ | |||
+ | <code> | ||
+ | tell xInterface “name you gave to the interface” to powerOn() | ||
+ | tell xInterface “name you gave to the interface” to powerOff() | ||
+ | </code> | ||
+ | |||
+ | ===Reboot=== | ||
+ | The mini version of the device does not support the reboot command, the others do. | ||
+ | |||
+ | There are 2 ways to issue a reboot command, via the [[dictionary:xtension:initializecontroller|Initialize Controller]] verb or via the reboot script command: | ||
+ | |||
+ | <code> | ||
+ | Initialize Controller “name you gave to the interface” | ||
+ | |||
+ | tell xInterface “name you gave to the interface” to reboot() | ||
+ | </code> | ||
+ | |||
+ | ===Set All Outputs=== | ||
+ | Only the mini device supports the set all outputs command. You must pass an input number from 1 through 4. You cannot use the enumerated names of the inputs in this case. | ||
+ | |||
+ | <code> | ||
+ | tell xInterface “name you have to the interface” to setAllOutputs( 3) | ||
+ | </code> | ||
+ | |||
=====History:===== | =====History:===== | ||
The No Hassle AV 4x4 matrix Switch plugin was added in XTension version 9.5.1 in January of 2023 | The No Hassle AV 4x4 matrix Switch plugin was added in XTension version 9.5.1 in January of 2023 |