OSType

MacroModule
genre Info
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition helpers.def
see also SystemInfo
keywords system, windows, mac, macos, linux, unix

Purpose

The module OSType provides fields to control the information flow in a MeVisLab network depending on the current operating system type.

Windows

Default Panel

../../../Modules/Macros/Helpers/mhelp/Images/Screenshots/OSType._default.png

Parameter Fields

Field Index

Is 64-bit: Bool
Is Linux: Bool
Is macOS: Bool
Is Unix: Bool
Is Windows: Bool
Os Type: Integer

Visible Fields

Is Windows

name: isWindows, type: Bool, persistent: no

Shows whether the OS is Windows.

Is macOS

name: isMacOS, type: Bool, persistent: no

Shows whether the OS is macOS.

Is Linux

name: isLinux, type: Bool, persistent: no

Shows whether the OS is Linux.

Is Unix

name: isUnix, type: Bool, persistent: no

Shows whether the OS is macOS or Linux.

Is 64-bit

name: is64Bit, type: Bool, persistent: no

Shows whether the OS is a 64-bit platform.

Os Type

name: osType, type: Integer, persistent: no

Shows the OS type as an integer:

0 - Windows
1 - macOS
2 - Linux