语法
表达式.OperatingSystem
表达式 一个代表 Application 对象的变量。
返回值String
示例
本示例检测 OperatingSystem 属性以确定WPP 是否运行在 32 位版本的 Windows 中。
let os = Application.OperatingSystem if((os.indexOf("Windows (32-bit)") != -1) != 0) { MsgBox("Running a 32-bit version of Windows") }