System Functions

Alpha Five provides the following system functions.

Function

 

Description

*LOCALE_GET()

V6

Returns the Windows regional setting.

A5_GET_WRITABLE_DRIVES()

V5

Returns a list of drives that are writeable.

A5_OS_INFO()

V6

Returns extensive information about the operating system.

A5_RESOURCE_INFO()

V6

Returns information about a Windows process.

API_GETDOMAINNAME()

V6

Returns the name of the current domain.

API_GETENVIRONMENTVAR()

V6

Returns the value of a Windows environment variable.

API_GETMACHINENAME()

V5

Returns the name of the host computer.

API_GETUSERNAME()

V5

Returns the name of the current user.

API_GETUSERS()

V6

Returns a list of the users of a computer or domain.

API_UUIDCREATE()

V5

Returns a unique 128 bit hexadecimal number as a character string.

DISKSPACE

V5

Returns the number of unused bytes on the disk where the current table is stored.

FILE.DRIVE_SPACE_AVAIL()

V5

Returns the number of bytes of available space on Drive.

FILE.DRIVE_SPACE_TOTAL()

V5

Returns the size in bytes of Drive.

FILE.DRIVE_TYPE()

V5

Returns the type of Drive.

FILE.DRIVES_GET()

V5

Returns a list of all of the logical drives.

FILE.MACHINES_GET()

V5

Returns a list of network drives, machines, and printers.

PROCESS_LIST()

V6

Returns a list of processes running on a computer.

SYS_EDIT()

V5

Edits the specified filename, using the program associated with the corresponding file type of filename.

SYS_EVENT_LOG()

V5

Logs events into the Windows NT system log.

SYS_EVENT_LOG_DUMP()

V5

Dumps events from the system event log.

SYS_EXPLORE()

V5

Opens the Windows Explorer showing files in the drive and/or path specified by DriveFolder.

SYS_FOCUS_PUT()

V5

Sends focus to a specific program that is identified by its Window Title.

SYS_ID_ENUM()

V5

Creates a CR-LF delimited character string that lists the windows currently available on your system.

SYS_ID_GET()

V5

Obtains the Window_Handle of a program that is identified by its Window_Title.

SYS_ID_HIDE()

V5

Hides the window specified by Window_Name.

SYS_ID_MAXIMIZE()

V5

Maximizes the window named Window_Name and brings it to the foreground.

SYS_ID_MINIMIZE()

V5

Minimizes the window named Window_Name.

SYS_ID_MOVE()

V5

Moves the window named Window_Name to the new location on the screen specified by Left_Position and Top_Position.

SYS_ID_POSITION_GET()

V5

Returns a character string the contains the location of Window_Name.

SYS_ID_RESIZE()

V5

Resizes the window named Window_Name to the dimensions specified by Width and Height.

SYS_ID_RESTORE()

V5

Returns Window_Name to the size and screen coordinates that it has before a SYS_ID_MAXIMIZE()or SYS_ID_MINIMIZE()command.

SYS_ID_SHOW()

V5

Opens the window specified by Window_Name.

SYS_ID_SIZE_GET()

V5

Returns a character string containing the width and height in inches of Window_Name.

SYS_KEY_DOWN()

V5

Returns .T. (TRUE) if the named key is being held down.

SYS_KEYS_ENUM()

V5

Returns a list of named keys.

SYS_METRIC_GET()

V5

Returns the size and position of a window.

SYS_OPEN()

V5

Opens the specified filename, using the program associated with the corresponding file type of filename.

SYS_PRINT()

V5

Prints the specified filename, using the program associated with the corresponding file type of filename.

SYS_PROPERTIES()

V5

Gets the properties for a file using the registered properties method.

SYS_SEND_KEYS()

V5

Sends the specified keys to the active window.

SYS_SHELL()

V5

Executes the specified Windows program (Program Name).

SYS_SHELL_WAIT()

V6

Runs a command and waits until it is completed before returning control to Alpha Five.

UI_INFO()

V5

Returns information about the size in pixels of the Alpha Five main window and the screen resolution of the user's computer.

WIN_1394_INFO()

V7

Returns information about a computer's 1394 (Firewire) controller.

WIN_ACCOUNTS()

V7

Retrieves information about Windows user and group accounts.

WIN_BATTERY_INFO()

V7

Returns information about a computer's battery.

WIN_BIOS_INFO()

V7

Returns information about a computer's BIOS.

WIN_CREATE_SHORTCUT()

V8

Creates a shortcut to a specified program.

WIN_DISK_INFO()

V7

Returns information about a computer's disks.

WIN_MEMORY_INFO()

V7

Returns information about the memory configuration of a computer.

WIN_MOTHERBOARD()

V7

Returns information about a computer's motherboard.

WIN_SERVICES()

V7

Returns information about a computer's services.

WIN_SPECIAL_FOLDER()

V8

Returns the path to the specified Windows special folder, such as the Desktop folder.

WIN_TIME()

V7

Returns information about a computer's time settings.

See Also

Developer Functions, Window Functions and Methods