Microsoft Script Editor Default Shortcut Keys
The table below lists the key combinations available for the Microsoft Script Editor default keyboard scheme.
Shortcut Keys | Description |
---|---|
SHIFT + F10 | Displays the shortcut menu for the given window. |
F1 | Displays Help. |
ALT + F4 | Closes the Microsoft Script Editor. |
CTRL + ALT + V, A | Displays the Auto window to view the values of variables currently in the scope of the current line of execution within the current procedure. |
CTRL + ALT+ Break | Temporarily stops execution of all processes in a debugging session. Available only in run mode. |
CTRL + ALT + B | Displays the Breakpoints dialog box, where you can add and modify breakpoints. |
CTRL + ALT + C | Displays the Call Stack window to display a list of all active procedures. Available only in run mode. |
CTRL + SHIFT + F9 | Clears all of the breakpoints in the project. |
CTRL + ALT + I | Displays the Immediate window, where you can evaluate expressions and execute individual commands. |
CTRL + ALT + V, L | Displays the Locals window to view the variables and their values for each procedure in the current stack frame. |
ALT + F9, N | Displays the New Breakpoint dialog box. |
CTRL + ALT + P | Displays the Processes dialog box, which allows you to view and manipulate programs in a solution. |
CTRL + ALT + Q | Displays the Quick Watch dialog box with the current value of the selected expression. Available only in break mode. Use this command to check the current value of a variable, property, or other expression for which you have not defined a watch expression. |
CTRL + SHIFT + F5 | Terminates a debugging session, rebuilds, and then starts running the application from the beginning again. Available in break and run modes. |
CTRL + ALT + N | Displays the Running Documents window, which displays the set of documents that are in the process you are debugging. Available in run mode. |
CTRL + F10 | In break mode, resumes execution of your code from the current statement to the selected statement. The Current Line of Execution margin indicator appears in the Margin Indicator bar. |
CTRL + SHIFT + F10 | Sets the execution point to the line of code you choose. |
ALT + NUM * | Highlights the next statement to be executed. |
F5 | Automatically attaches the debugger and runs the application from the startup form specified in the <Project> Properties dialog box. Changes to Continue if in break mode. |
CTRL + F5 | Runs the code without invoking the debugger. |
F11 | Executes code one statement at a time, following execution into function calls. |
SHIFT + F11 | Executes the remaining lines of a function in which the current execution point lies. |
F10 | Executes the next line of code but does not follow execution through any function calls. |
SHIFT + F5 | Stops running the current application in the program. Available in break and run modes. |
F9 | Sets or removes a breakpoint at the current line. |
CTRL + ALT + W | Displays the Watch window to view the values of selected variables or watch expressions. |
ENTER | Inserts a blank line at the insertion point. |
Left Arrow | Moves the cursor left one character. |
SHIFT + Left Arrow | Moves the cursor left one character, extending the selection. |
SHIFT + ALT + Left Arrow | Moves the cursor left one character, extending the column selection. |
Right Arrow | Moves the cursor one character to the right. |
SHIFT + Right Arrow | Moves the cursor right one character, extending the selection. |
SHIFT + ALT + Right Arrow | Moves the cursor right one character, extending the column selection. |
CTRL + T | Swaps the characters on either side of the insertion point. For example, AC|BD becomes AB|CD. |
CTRL + K, CTRL + L | Removes all unnamed bookmarks in the current document. |
ALT + Right Arrow | Displays Word Completion based on the current language. |
CTRL + C | Copies the currently selected item to the system Clipboard. |
CTRL + X | Removes the currently selected item to the system Clipboard. |
CTRL + SHIFT + INS CTRL + SHIFT + V |
Pastes an item from the Clipboard Ring tab of the Toolbox at the insertion point in the file and automatically selects the pasted item. |
DELETE | Deletes one character to the right of the cursor. |
BACKSPACE | Deletes one character to the left of the cursor. |
CTRL + K, CTRL + \ | Collapses white space in the selection, or deletes white space adjacent to the cursor if no selection. |
CTRL + END | Moves the insertion point to the last line of the document. |
CTRL + SHIFT + END | Selects the text from the insertion point to the last line of the document. |
CTRL + HOME | Moves the insertion point to the first line of the document. |
CTRL + SHIFT + HOME | Selects the text from the insertion point to the first line of the document. |
CTRL + F | Displays the Find dialog box. |
F3 | Finds the next occurrence of the previous search text. |
CTRL + F3 | Finds the next occurrence of the currently selected text in the document. |
SHIFT + F3 | Finds the previous occurrence of the search text. |
CTRL + SHIFT + F3 | Finds the previous occurrence of the currently selected text, or the word at the caret. |
CTRL + G | Displays the Go To Line dialog box. |
CTRL + ] | Moves the insertion point to the next brace in the document. |
CTRL + SHIFT + ] | Moves the insertion point to the next brace, extending the selection. |
CTRL + D CTRL + / |
Places the caret in the Find box on the Standard toolbar. |
ALT + F3, H | Selects or clears the Search hidden text option for the Find dialog box. |
CTRL + M, CTRL + H | Hides the selected text. A signal icon marks the location of the hidden text in the file. |
CTRL + I | Starts incremental search. If incremental search is started, but you have not typed any characters, recalls the previous pattern. If text has been found, searches for the next occurrence. |
TAB | Indents the line of text a specified number of spaces, such as five. |
CTRL + L | Cuts all selected lines, or the current line if no selection, to the Clipboard. |
CTRL + SHIFT + L | Deletes all selected lines, or the current line if no selection. |
Down Arrow | Moves the cursor down one line. |
SHIFT + Down Arrow | Extends text selection down one line, starting at the location of the insertion point. |
SHIFT + ALT + Down Arrow | Moves the cursor down one line, extending the column selection. |
END | Moves the cursor to the end of the current line. |
SHIFT + END | Selects text from the insertion point to the end of the current line. |
SHIFT + ALT + END | Moves the insertion point to the end of the line, extending the column selection. |
CTRL + ENTER | Inserts a blank line above the insertion point. |
CTRL + SHIFT + ENTER | Inserts a blank line below the insertion point. |
HOME | Moves the cursor to the beginning of the line. |
SHIFT + HOME | Selects text from the insertion point to the start of the line. |
SHIFT + ALT + HOME | Moves the insertion point to the start of the line, extending the column selection. |
SHIFT + ALT + T | Moves the line containing the insertion point below the next line. |
Up Arrow | Moves the cursor up one line. |
SHIFT + Up Arrow | Selects text up line by line starting from the location of the insertion point. |
SHIFT + ALT + Up Arrow | Moves the cursor up one line, extending the column selection. |
CTRL + J | Lists members of the current class for statement completion when editing code. Only available in HTML View of the HTML Editor. |
CTRL + U | Changes the selected text to lowercase characters. |
CTRL + SHIFT + U | Changes the selected text to uppercase characters. |
ALT + F3, B | Selects or clears the Search up option for find and replace operations. |
ALT + F3, C | Selects or clears the Match case option for find and replace operations. |
CTRL + K, CTRL + N | Moves to the next bookmark in the document. |
INSERT | Puts the keyboard in overtype mode. |
PAGE DOWN | Scrolls down one screen in the editor window. |
SHIFT + Page Down | Extends selection down one page. |
PAGE UP | Scrolls up one screen in the editor window. |
SHIFT + Page Up | Extends selection up one page. |
CTRL + V | Inserts the Clipboard contents at the insertion point. |
CTRL + K, CTRL + P | Moves to the previous bookmark. |
CTRL + SHIFT + Z | Restores the previously undone action. |
ALT + F3, R | Selects or clears the Regular expression option so that special characters can be used in find and replace operations. |
CTRL + H | Displays the Replace dialog box. |
CTRL + SHIFT + I | Changes the direction of incremental search to begin at the bottom of the file and progress towards the top. |
CTRL + Down Arrow | Scrolls text down one line. |
CTRL + Up Arrow | Scrolls text up one line. |
CTRL + A | Selects everything in the current document. |
CTRL + M, CTRL + U | Displays previously hidden text. |
CTRL + M, CTRL + P | Diplays all previously hidden text in the file. |
SHIFT + TAB | Moves selected lines left one tab stop. |
CTRL + M, CTRL + L | Toggles all previously marked hidden text sections between hidden and display states. |
CTRL + K, CTRL + K | Sets or removes a bookmark at the current line. |
CTRL + M, CTRL + M | Toggles the currently selected hidden text section between the hidden and display state. |
CTRL +R, CTRL + R | Enables or disables word wrap in the editor. |
ALT + BACKSPACE CTRL + Z |
Reverses the last editing action. |
CTRL + SHIFT + Page Down | Moves the cursor to the last line in view, extending the selection. |
CTRL + SHIFT + Page Up | Extends the selection to the top of the current window. |
ALT + F3, W | Selects or clears the Match whole word option for find and replace operations. |
ALT + F3, P | Selects or clears the Wildcard option for find and replace operations. |
CTRL + DEL | In Design View, deletes the word to the right of the insertion point. |
CTRL + BACKSPACE | In Design View, deletes the word to the left of the insertion point. |
CTRL + Right Arrow | In Design View, moves the insertion point right one word. |
CTRL + SHIFT + Right Arrow | In Design View, extends the selection one word to the right. |
CTRL + Left Arrow | In Design View, moves the insertion point left one word. |
CTRL + SHIFT + Left Arrow | In Design View, extends the selection one word to the left. |
CTRL + N | Displays the New File dialog box, where you can select a new file to add to the current project. |
CTRL + O | Displays the Open File dialog box, where you can select to open an existing file. |
CTRL + P | Displays the Print dialog box, where you can choose printer settings. |
CTRL + SHIFT + S | Saves all open documents. |
CTRL + S | Saves the currently selected document. |
CTRL + B | Toggles the selected text between bold and normal. |
CTRL + I | Toggles the selected text between italic and normal. |
CTRL + SHIFT + K | Prevents an absolutely positioned element from being inadvertently moved. |
CTRL + U | Toggles the selected text between underlined and normal. |
CTRL + ALT + T | Displays the Document Outline window to view the flat or hierarchical outline of the current document. |
SHIFT + ALT + ENTER | Toggles Full Screen mode on and off. |
CTRL + - | Goes back to the previous document or window in the navigation history. |
CTRL + SHIFT + - | Moves forward to the document or window next in the navigation history. |
CTRL + ALT + J | Displays the Object Browser to view the classes, properties, methods, events, and constants available for packages and object libraries and the procedures in your project. |
F4 | Displays the Properties window, which lists the design-time properties and events for the currently selected item. |
SHIFT + F4 | Displays the property pages for the item currently selected. |
CTRL + ALT + X | Displays the Toolbox, which contains controls and other items that can be included or used with your code. |
ESC | Closes a menu or dialog box, cancels an operation in progress, or places focus in the current document window. |
CTRL + F4 | Closes the current MDI child window. |
SHIFT + ESC | Closes the current tool window. |
CTRL + F2 | Moves the cursor to the Object drop-down list box in HTML View. |
CTRL + TAB | Cycles through the MDI child windows one window at a time. |
ALT + F6 | Moves to the next tool window. |
F6 | Moves to the next pane of a split pane view of a single document. |
CTRL + Page Down | Moves to the next tab in the document or window. |
CTRL + SHIFT + TAB | Moves to the previous document in the editor or designer. |
SHIFT + ALT + F6 | Moves to the previously selected window. |
SHIFT + F6 | Moves to the previous pane of a document in split pane view. |
CTRL + Page UP | Moves to the previous tab in the document or window. |