Mindoo Blog - Cutting edge technologies - About Java, Lotus Notes and iPhone

    • Documentation for @GetMachineInfo

      Karsten Lehmann  4 December 2019 14:47:07
      Since there currently is no place to find this information on HCL websites in Google, I am adding it here:


      @GetMachineInfo new in 8.5.3

      New @Function to support Machine Specific Policy Settings

      Syntax:

      @GetMachineInfo( [Keyword]; "Needed for some Keywords string" )

      Keywords:

      IsLaptop - boolean return - True if machine is a laptop, otherwise false

      IsDesktop - boolean return - True if machine is NOT a laptop, otherwise false

      IsSingleLogOn - boolean return - True if machine has Notes client installed with "single sign on", otherwise false

      IsMultiUser - boolean return - True if machine has Notes client installed as Multi-User, otherwise false

      HasDesigner - boolean return - True if machine has Designer client installed, otherwise false

      HasAdmin - boolean return - True if machine has Admin client installed, otherwise false

      IsStandard - boolean return - True if machine is running Standard Notes client, otherwise false

      MachineName - string return - Name of the machine
      boolean return        True if MachineName string after keyword matches this machine's MachineName, otherwise false

      Memory - number return - Total amount of memory (RAM)

      DiskSpace - number return - Amount of free disk space
      Note: With this keyword, you can add a second parameter for the drive to scan for free space. If this parameter is not passed
      to the function, free space for the first (logical) drive - for example, drive C on Windows system - is displayed.
      Example: @GetMachineInfo([DiskSpace];"d:")

      EnvVariable - string return - Requires string of the variable name in Notes.ini to read, and returns the value of that ini variable or "" (null string) if not found

      SysEnvVariable - string return - Requires string of the variable name in system environment to read, and returns the value of that variable or "" (null string) if not
      found

      IP - string/list return - String representation of the IP address(es) in the form XXX.XXX.XXX.XXX , otherwise "" (null string) if not available
      boolean return        True if pattern IP string after keyword matches this machine's IP address, otherwise false

      MAC - string/list return - String representation of the MAC address(es) in the form XX:XX:XX:XX:XX:XX , otherwise "" (null string) if not available
      boolean return        True if MAC string after keyword matches this machine's MAC address, otherwise false