2010年8月8日星期日

Summary tab key skills

For tab masters, strongly recommend to see "quick rename" and "at the command prompt," these two! These two parts in the published version of the invisible!

Tab key on the keyboard in case key (Caps Lock) of the above, it is more of a familiar, does not know a hidden world of magic button.

Tab key is short for tabulator key, which means "for the table were, tab machines (typewriter used for the tab) Tab key." It is the most basic usage is the form used to draw no borders. Following figure, the interval between words are pressing the Tab key once to achieve. It generally is equal to eight spaces in length, when it's in front of a word when the word length together and just be divisible by 8, as shown in the last line.


Why not call for the tab key Tab key then? Because the Tab key to not only be used to watch, and it has many practical uses, far beyond the scope of watchmaking.

Basic Usage

1, changing the focus

Focus to the next button, input box or links. For example, the closure of a notebook is not saved, a prompt will pop up (below), this time, "Yes" button has a dotted line, if you press space or carriage return is equivalent to use the mouse to click the "Yes" button. Want to use the keyboard to "click" "No" button, press the Tab key, the dotted line will be transferred to the "No" on, then press space on it.


There is also a very common usage, QQ in forums or when the log, enter the complete account number, do not need to re-use mouse to click the password box, simply press the Tab key you can locate the cursor to the password box. If you want to turn location, the press the key combination Shift + Tab.

2, rapid re-named

In Vista or Windows Server 2008 under, Tab key and a wonderful use: select an icon on the desktop, press F2 to enter rename state, renamed after, and then press the Tab key will enter the next file to rename state. Would like to turn to rename a file, you can press the key combination Shift + Tab. Rename multiple files at a time when very convenient. (Thanks to dofy test.)

3, switching window

Veterans who often use Alt + Tab key combination to quickly switch between windows. The first press the key combination Alt key and press the Tab key, you can quickly switch to the previous window. Hold down the Alt keys in the case, press the Tab key will appear once the current open windows icon, then press the Tab key you can switch between each icon. Alt + Shift + Tab key combination is the reverse switch. Release the Alt key will switch the window. In Vista, press this key combination still appears thumbnail window.

4, tab, or label switching

Ctrl + Tab: Switch to next tab or browser tabs.
Ctrl + Shift + Tab: reverse switch.
Firefox users can install this extension, Ctrl-Tab to achieve with a preview of the label switching. By the way, press Ctrl + Shift + A key combination can preview all the labels, you can immediately enter in the search box to filter the tag. Extension installation address is: http://en.design-noir.de/mozilla/ctrl-tab/

Advanced Usage

1, at the command prompt

At the command prompt, Tab key is very useful, it can automatically populate the names of files and folders (if a bit strange call is automatically populated). Some readers may already know, but there is another part of this little-known techniques a secret. First look at a presentation picture, may be a bit dizzy, sparking the cursor disappear when the time is pressing the tab of the moment:


The following example is explained in detail below:

Suppose "D: \ cfan" path, there are folders: a, ab, a file: abc.txt, ac.txt. Click "Start → Run," enter "cmd", press Enter to open a command prompt. Input "D:", carriage return after the switch to the D drive, enter "cd cfan" command into the "D: \ cfan" this folder. In the "D: \ cfan>" behind the importation of "dir" (Note that there is a space behind dir):

① Automatically populate a folder or file name: Press the Tab key can be directly filled circle the names of folders and files, use Shift + Tab can fill a.

② automatically populate a specific letter at the beginning of the folder or file name: enter "a", then press the Tab key, you can turn a folder filled with "a" and documents "abc.txt". Enter the name of a very long time a folder or file is useful.

③ automatically populate a specific file extension name: Enter "*. txt", then press the Tab key, you can turn populate file "abc.txt", "ac.txt". At the command prompt, the asterisk on behalf of any character.

④ automatically populate the second letter to a specific folder and file name: enter "? B *", then press the Tab key, you can turn a folder filled with "ab" and documents "abc.txt". Question mark represents a character in here.

⑤ automatically populate the file name specified length of file name: Enter "???. txt ", then press the Tab key, you can turn populate file" abc.txt "and" ac.txt ".

2, the input methods

Google Pinyin input method in the middle, Tab key is the back flip. Shift + Tab is a forward flip. Sogou Pinyin input method in the middle, press the Tab key to enter the stroke screening model. Use is to enter a word or multiple word spelling, press the tab key, then h (cross), s (vertical), p (write), n (strokes), z (discount) enter the first word in turn The order of strokes, has been to find the word so far. In this mode, the Separation of Chinese secondary code can also be used, for example, to enter a Chinese character "han" is on the list but could not find, then input "xian", then press the Tab key, then enter the "han" two parts " Female "," leisure "and the initials" nx ", you can see only a" han "word has.

3, where in Photoshop

After pressing the Tab key will hide the toolbar and the panel, only the menu bar. This shortcut key combination of regular full-screen shortcut "f" to use.

4, under the EmEditor and EditPlus

In EmEditor and EidtPlus when writing code under the program, select multiple lines, press the Tab key to quickly select multiple rows for the indentation. Shift + Tab key combination is the reverse indentation.

5, in the browser

Some time back to support the Forum with the key combination "Ctrl + Enter" to quickly submit, but this combination of keys does not necessarily support each browser. I used to use the Tab + Enter key combination to quickly submit, with the Tab key to move the focus to "submit" button (a small number of cases need to press the Tab key several times), press the Enter key. "Ctrl + Enter" key combination you need to call Javascript script to achieve, even if the page with the author this method does not use scripts can be quickly submitted.

6, replacement Tab key

Opening when the Tab key that can generate a tab, if want to replace tabs, how do? Very simple, in Word, press the key combination Ctrl + H, in the "Find what" type "^ t", "replaced by" do not fill in, click Replace All to quickly remove tabs. In EmEditor, the same press the key combination Ctrl + H, in the "Find", type "\ t", "replaced by" do not fill in, and check "Use the escape sequence", click "Replace All" button.

没有评论:

发表评论