nca_system_command

Window Object Functions

Sends the specified system command to specified window.

int nca_system_command( LPCSTR window_name, LPCSTR command );
window_name The name of the target window.
command One of "QUIT", "UNDO", or "ABOUT".

nca_system_command sends one of the predefined system commands to the specified window.

nca_system_command is recorded on the applications to which it applies. Do not add nca_system_command manually to a script unless it has been recorded elsewhere in the same script.

Return Values

Oracle NCA Error Codes

Parameterization

All arguments of this function may be parameterized using standard parameterization.

Example

The following example sends a Quit command to the Logon window.

nca_system_command( "Logon", "QUIT" );