SendKeyToElement |
Top Previous Next |
×V5.3Ø
Syntax - SendKeyToElement <Selection> <App Name> <Element Identifier> Where: <Selection> is either the keyword Clear, DeleteKey, EndKey, EnterKey, HomeKey, PageDownKey, PageUpKey, ReturnKey, TabKey. <App Name> The name that represents an opened application. <Element Identifier> is a valid element identifier as described in Element Strings and References.
Description: This command is used to send a single character as specified by <Selection> to the element defined by <Element Identifier>.
Sample 1: The following statement deletes the value in the End Date document field. SendKeyToElement Delete RevCycle "Element[Name=End Date|Type=document]"
Sample 2: The following statement sends the Enter key to the Search field. SendKeyToElement EnterKey RevCycle "Element[Name=Search|Type=edit]"
Control Usage: Edit Document
See Also: |