Description
Section titled âDescriptionâThe HostOS Lua function returns a string with the type of operating system of the device where the plugin is executed (for instance, âWindowsâ, âLinuxâ, or âMacâ).
Arguments
Section titled âArgumentsâThis function does not accept any arguments.
- String:
The returned string is the operating system of the grandMA3 hardware or grandMA3 onPC computer.
Example
Section titled âExampleâThis example prints the operating system of the device in the Command Line History:
| Copy CodeLua |
| ``` |
| return function() |
Printf("The HostOS is "..HostOS())end