Rediģēt

Kopīgot, izmantojot


Office Customization Tool (OCT) 2016 Help: Add/Modify Shortcut Entry dialog box

Applies to: Office Professional Plus 2016, Office Standard 2016

In the Add/Modify Shortcut Entry dialog box, type the following information for the shortcut that you're creating or modifying, and then choose OK:

  • Target - Specify the application associated with the shortcut by selecting a predefined application keyword or by typing the name and path of the file to which the shortcut will point. If you select an application keyword, the OCT automatically enters information in the remaining boxes. The names in the list correspond to features that you select on the Set feature installation states page of the OCT, plus any custom files that you add to the installation on the Add files page. If you type a name and path, and the name or path contains a space, you must enclose the entire string in double quotation marks (""). You can add command-line options for the application by using the Arguments field.

  • Location - Specify the folder in which the shortcut is created by selecting a predefined folder keyword or typing the name and path to the location of the shortcut. You can specify a subfolder by appending a backslash () followed by the subfolder name. For example, to install the Word shortcut in the Office subfolder in the Programs folder in the Start menu, select [ProgramMenuFolder] and append the subfolder name as follows: [ProgramMenuFolder]\Microsoft Office. You can use the following special folders for Location:


Location Windows location
[DesktopFolder]
Windows Desktop folder
[ProgramMenuFolder]
Windows Start\Programs menu
[StartMenuFolder]
Windows Start menu
[StartupFolder]
Startup folder in the Windows Start\Programs menu
[INSTALLLOCATION]
The folder in which Office is installed
[AppDataFolder]\Microsoft\Internet Explorer\Quick Launch
Internet Explorer's Quick Launch toolbar
[FavoritesFolder]\Links
Internet Explorer's Links bar
[NetHoodFolder]
The user's My Network Places folder
  • Name - Specify a name for the shortcut by typing any string.

  • Start in - Specify the default starting folder for the application by typing a path. If you leave this box blank, the default folder is set to the folder where the target file resides. If the path isn't valid on a user's computer, the user sees an error message when trying to use the shortcut.

  • Arguments - Type optional arguments to pass to the application on the command line.

  • Shortcut key - Type an optional keyboard shortcut for the application or file. The syntax for the shortcut key is: [modifier+]VK_key, where modifier is SHIFT, CTRL, ALT, or EXT, and VK_key is a virtual key name.

The modifier is optional, and you can specify more than one, in any order, separated by plus signs (+). If you use a modifier, it must precede the virtual key name. You must enter one virtual key name. Don't use spaces in the key definition. The following are some examples:

  • CTRL+VK_F12

  • CTRL+SHIFT+VK_A

  • ALT+CTRL+VK_SNAPSHOT

Some key combinations, such as CTRL+ALT+VK_DELETE, might be used by the system and might not start the application as expected. Be careful to avoid conflicts on the user's computer, especially when specifying a shortcut key without a modifier. For example, if you specify VK_A with no modifier, the application runs every time the user types the A key.

You can use the following virtual key names:

Virtual key name Hex key code Description
VK_0 … VK_9
30-39
Keys 0-9
VK_A … VK_Z
41-5A
Keys A-Z
VK_NUMPAD0 … VK_NUMPAD9
60-69
Keys 0-9 on the numeric keypad
VK_F1 ... VK_F24
70-87
Function keys F1-F24
VK_LBUTTON
1
Left mouse button
VK_RBUTTON
2
Right mouse button
VK_CANCEL
3
Control-break processing
VK_MBUTTON
4
Middle mouse button (three-button mouse
VK_BACK
8
BACKSPACE key
VK_CLEAR
0C
CLEAR key
VK_RETURN
0D
ENTER key
VK_PAUSE
13
PAUSE key
VK_CAPITAL
14
CAPS LOCK key
VK_PRIOR
21
PAGE UP key
VK_NEXT
22
PAGE DOWN key
VK_END
23
END key
VK_HOME
24
HOME key
VK_LEFT
25
LEFT ARROW key
VK_UP
26
UP ARROW key
VK_RIGHT
27
RIGHT ARROW key
VK_DOWN
28
DOWN ARROW key
VK_SELECT
29
SELECT key
VK_EXECUTE
2B
EXECUTE key
VK_SNAPSHOT
2C
PRINT SCREEN key
VK_INSERT
2D
INS key
VK_HELP
2F
HELP key
VK_MULTIPLY
6A
Multiply key
VK_ADD
6B
Add key
VK_SEPARATOR
6C
Separator key
VK_SUBTRACT
6D
Subtract key
VK_DECIMAL
6E
Decimal key
VK_DIVIDE
6F
Divide key
VK_NUMLOCK
90
NUM LOCK key
VK_SCROLL
91
SCROLL LOCK key
  • Run - Select the type of window in which the application or file should start ( Normal window, Minimized, or Maximized).

  • Change Icon - Select a different icon for the shortcut.