InfoConnect for Airlines VBA Guide
AlcScreen Object Methods

For a list of all members of this type, see AlcScreen members.

Methods and Functions
 NameDescription
Public MethodCancelSelectionCancels the text selection in the terminal window. If no text is selected, this method has no effect.  
Public MethodCopyCopies selected text to the Clipboard.  
Public MethodCopyAppendAppends selected text to the end of the Clipboard.  
Public MethodCutCuts selected text and copies it to the Clipboard.  
Public MethodExtendSelectionSelects a rectangular block of text in the terminal window between the selection start position (or row 1, column 1, if there is no selection start position) and the specified coordinates.  
Public MethodExtendSelectionRectSelects all text in the terminal window in all rows between the starting row and the specified row (or row 1, column 1, if there is no selection start position).  
Public MethodGetCharacterGets the ScreenCharacter at the specified location.  
Public MethodGetCharactersGets ScreenCharacter objects from the specified location, each representing one character at a screen location.  
Public MethodGetTextGets the text from the specified location.  
Public MethodGetTextExGets the text from the specified screen area.  
Public MethodLockInputLocks the screen so that users cannot input on keyboard.  
Public MethodMoveCursorTo1Moves the cursor to the specified screen location.  
Public MethodMoveCursorTo2Moves the cursor to the specified screen location.  
Public MethodPaste

Copies data from the Clipboard to the cursor location in the terminal window.

 
Public MethodPasteContinuePastes text leftover from a previous Paste command.  
Public MethodPutCharacterPuts a ScreenCharacter at the specified screen location.  
Public MethodPutText1Puts the text at the specified screen location, taking up "length" number of byte positions.  
Public MethodPutText2Puts the text at the specified screen location.  
Public MethodScreenCoordinateToIndexConverts screen position in row and column to linear screen buffer index.  
Public MethodScreenIndexToColumnGets the column value of a screen location pointed to by screenIndex.  
Public MethodScreenIndexToCoordinateGets the screen coordinate of a screen location pointed to by screenIndex.  
Public MethodScreenIndexToRowGets the row value of a screen location pointed to by screenIndex.  
Public MethodSearchText1Searches the specified text, starting from the specified screen location.  
Public MethodSearchText2Searches the specified text, starting from the specified screen location for "searchRange" byte positions.  
Public MethodSearchText3Searches the specified text, starting from the specified screen location and ending at the specified end screen location.  
Public MethodSearchText4Searches the specified text, starting from the specified screen location and ending at the specified end screen location.  
Public MethodSelectAllSelects all of the text in the terminal window.  
Public MethodSendControlKeySend host control key to host.  
Public MethodSendControlKeySyncSends a host control key to the host.  
Public MethodSendKeysSends the text string to the host.  
Public MethodSetSelectionStartPosSets starting coordinates for selecting text. You can also set the selection start position by clicking in the terminal window with the mouse. If no selection start position has been set, the default is row 1, column 1.  
Public MethodUnlockInputUnlocks the screen. See the LockInput() method for more information.  
Public MethodWaitWaits for the specified duration before executing the next command in the procedure. The procedure containing the command is paused until the wait expires.  
Public MethodWaitForControlKeyWaits for the specified control key press.  
Public MethodWaitForCursor1Waits for the cursor to be at the specified screen location.  
Public MethodWaitForCursor2Waits for the cursor to be in the rectangle area specified by startRow, startColumn, endRow and endColumn.  
Public MethodWaitForHostSettleWaits for host screen data to settle.  
Public MethodWaitForKeyboardEnabledWait for the keyboard to be unloacked enabled and ready for additional input.  
Public MethodWaitForText1Waits for the specified text to appear at the specified screen location. TextComparisonOption indicates desired text string comparison.  
Public MethodWaitForText2Waits for the specified text to appear at the specified rectangle area specified. TextComparisonOption indicates desired text string comparison.  
Top
See Also