SendKeys. Send (Keys. Enter. ToString (); // press the Enter key.
SendKeys. Send ("{BackSpace}"); // press the BackSpace key.
The following are some special key code tables of SendKeys.
Key code
BACKSPACE {BACKSPACE}, {BS}, or {BKSP}
BREAK {BREAK}
Caps lock {CAPSLOCK}
DEL or DELETE {DELETE} or {DEL}
Down arrow (down ar
UVA11988 Broken Keyboard linked list
Description:
When you enter an article, the Home Key and End key on the keyboard are incorrect and will be pressed occasionally.
Here is a text of a key. '[' indicates the Home
Broken keyboard (a.k. A. beiju text)
You're typing a long text with a broken keyboard. well it's not so badly broken. the only problem with the keyboard is that sometimes the "home" key or the "end" Key gets automatically pressed (Internally ). You're not aware of
" =hex:00,00,00,00,00,00,00,00,03,00,00,00,38,00,1d,00,1d,00,38,00,00,00,00,00
First two lines, fixed 8 x 0Line 3rd, which indicates how many mappings have been changed, this example is 3, starting from line 4th, to the very last line (although strictly speaking, not counting),4, 5, 6 rows, just 3. The 4th line, the front and back 4 digits, respectively represents two keys, the former mapping into the latter. In this example, the keys for 38, 00 are mapped to 1d,00. 38, 00 for the left ALT
Question:
Simulate a text editor. You can enter letters, numbers, and underscores (_). If '[' is used, it is considered as the Home key. If it is set to ']', it is used as the end key.
Ask what string is displayed on the final screen.
Analysis:
It is time-consuming to move a large number of characters in an array. Therefore, the next array indicates the character number on the Right of S [I] in the display.
Topic Links:https://cn.vjudge.net/problem/UVA-119881 /*2 The problem is that a piece of text after a certain rule processing output, the rule is [the home key, indicating that the cursor jumps to the beginning of the line,] means the end key, indicating that the cursor jumps to the end3 4 Thinking of solving problems5 It can be found that [] can be nested, using pure simulation is more complex, similar to t
Compared to Windows 7,windows 8, there has been a revolutionary change in interface and functionality to support touch-screen devices more dramatically. At the same time, Microsoft to allow the traditional keyboard users to add a lot of new Winkey key combination function, so that easier to operate the Windows 8 system. The following is a list of Windows 8 Winkey
forward)Ctrl+shift+f4 Close all open editerCtrl+shift+x the text that is currently selected is all stale lowercaseCtrl+shift+y turns the currently selected text to lowercaseCtrl+shift+f formatting of the current codeCtrl+shift+p is positioned to the match (for example {}) (after locating from the front, the cursor is in the match, back to the front, and vice versa).)The following shortcut keys are commonly used in refactoring, I like and commonly used to tidy up (note: General refactoring of th
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.