When I use this command in Advanced Scripting in the editing window it is not showing up in green color unlike the SendKeys command
Sends keystrokes to the Windows operating system. Use this command only when SendKeys fails to perform. You can use SendSystemKeys to send key combinations such as {Ctrl+Esc}, {Alt+Esc}, and {Alt+Tab}.
Syntax
SendSystemKeys "keystroke text"
Example
This instruction executes the "Switch to Next Window" command.
SendSystemKeys "{Alt+Esc}"
Notes
- Do not include spaces between the names of simultaneously-pressed keys, such as Alt+Tab.
- Any modifier keys (SHIFT, CTRL, ALT) pressed while the SendSystemKeys command executes affect the command action.
- The SendSystemKeys command sends keystrokes more slowly than the SendKeys command. Also, if the system responds slowly long strings can overflow the system keyboard buffer.
No comments:
Post a Comment