Skip to content

HostOS()

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”).

This function does not accept any arguments.

  • String:
    The returned string is the operating system of the grandMA3 hardware or grandMA3 onPC computer.

This example prints the operating system of the device in the Command Line History:

Copy CodeLua
```
return function()
Printf("The HostOS is "..HostOS())

end