Home of WizardBlue.com
Windows Power Tools

Sample HDI 'Nuggets'

Program Variables:

The following information variables are available for display:

Additional variables can be added upon request.

App.Build - Returns the build number of the HDI Application in the format of 0000.
App.Major - Returns the major version number of the HDI Application in the format of 00.
App.Minor - Returns the minor version number of the HDI Application in the format of 00.
App.Path - Returns the full path to the currently executing program.
App.Snapshot - Returns the time and date when the last update of display information occurred.
PC.CPU.Count - Returns the number of installed processors in the system. *
PC.CPU.Model - Returns the model details for the installed processor. *
PC.CPU.Name - Returns the manufacturers name for the installed processor. *
PC.CPU.OEMID - Returns the OEM ID for the installed processors.
PC.CPU.SerialNumber - Returns the manufacturers serial number for the CPU, if available. Not all manufacturers guarantee that this is unique.
PC.CPU.Type - Returns the CPU type for the installed processors.
PC.DNSSuffix - Returns the DNS suffix for the system.
PC.Domain - Returns the Domain that the PC is registered in. Or Workgroup, if not in a Domain.
PC.FQDN - Returns the Fully Qualified Domain Name (FQDN) for the system.
PC.IE.Version - Returns the version number of the currently installed Microsoft Internet Explorer.
PC.IE.Version.Patch - Returns the patching level of the currently installed Microsoft Internet Explorer.
PC.LoggedInUsers - Returns the number of users logged onto the current system.
PC.Mem.Granularity - Returns the number of bytes in the memory allocation granularity.
PC.Mem.MaxApplication - Returns the maximum address that a program could be loaded at. Result in hexadecimal.
PC.Mem.MinApplication - Returns the minimum address that a program could be loaded at. Result in hexadecimal.
PC.Mem.PageSize - Returns the size in bytes of a memory page. Result in hexadecimal.
PC.Mem.Physical.Total - Returns the total amount of physical memory available in the system in KB.
PC.Mem.Physical.Total - Returns the total amount of physical memory installed in the system in KB.
PC.Mem.Virtual.Total - Returns the total amount of virtual memory available in the system in KB.
PC.Mem.Virtual.Total - Returns the total amount of virtual memory configured in the system in KB.
PC.Name - Returns the NetBIOS network name that has been configured for the current system.
PC.OS.BootDrive - Returns the logical drive letter for the drive that booted the Operating System.
PC.OS.BootTime - Returns the time and date of when the system was booted.
PC.OS.Name - Returns a string representing the Operating System name and version for the current system.
PC.OS.PatchLevel - Returns the current Service Pack patching level of the Operating System.
PC.OS.Uptime - Returns the duration that the system has been running for in Days, Hours, Minutes and seconds.
PC.ResolvedIPAddress - Returns the IP address of the current computer by resolving the computers domain name.
PC.Screen.Height - Returns the current Height of the screen in pixels.
PC.Screen.Width - Returns the current Width of the screen in pixels.
PC.Viewport.Height - Returns the current Height of the screens' view port in pixels.
PC.Viewport.Width - Returns the current Width of the screens' view port in pixels.
User.Logon.Domain - Returns the logon domain that the user is a member of.
User.Logon.Name - Returns the login name of the current user, including domain/computer name.
User.Logon.Server - Returns the name of the server that validated the users’ logon.
User.Logon.UserName - Returns just the user name for the logged in user.
User.SID - Reserved.

Program Functions:

The following functions are available for display:

Additional functions can be added upon request.

Environ(EnVar) - Returns the specified environment variable that is available to the user context.
INIFile(INIFile@Section@Value) - Returns the specified Value from the specified Section of the specified INI file. *
PC.CPU.Speed(x) - Returns the approximate speed of the specified CPU in MHZ.
PC.Drive.Free.Bytes(x) - Returns the number of Mega-bytes available for the specified drive ‘x’.
PC.Drive.Free.Percent(x) - Returns the percentage of bytes available for the specified drive ‘x’.
PC.Drive.Size.Bytes(x) - Returns the number size in bytes for the specified drive ‘x’.
PC.Drive.Used.Bytes(x) - Returns the number of bytes used for the specified drive ‘x’.
PC.Drive.Used.Percent(x) - Returns the percentage of bytes available for the specified drive ‘x’.
PC.NIF.DefaultGateway(x) - Returns a comma separated list of default gateways for the specified network interface.
PC.NIF.Description(x) - Returns the description for the specified network interface.
PC.NIF.DHCP(x) - Returns true/false for the DHCP configuration for the specified network interface.
PC.NIF.DHCPServer(x) - Returns the IP Address of the server that issued the specified network interface an IP address.
PC.NIF.DNSServer(x) - Returns the IP Address of the DNS server for the specified network interface.
PC.NIF.GUID(x) - Returns the GUID (Globally Unique Identifier) for the specified network interface.
PC.NIF.MACAddress(x) - Returns the MAC Address of the specified network interface.
PC.NIF.Mask(x) - Returns comma separated list of subnet masks for the specified network interface.
PC.NIF.MTU(x) - Returns the MTU (Maximum Transmission Unit) for the specified network interface.
PC.NIF.Speed(x) - Returns the connection speed of the specified network interface.
PC.NIF.Status(x) - Returns the connection status of the specified network interface.
PC.NIF.Type(x) - Returns the type of interface for the specified network interface.
Registry(Hive@Key@Value@Type) - Returns the specified value for the specified Key from the specified hive. *
 

* Function only available in registered versions.