Editing Shortcut Controls

You can edit a shortcut control that you have inserted into a topic in a couple of different ways.

How to Change the Settings Associated With a Shortcut Control

The first way to edit a shortcut control is to change the settings (e.g., executable file path, parameters, message ID) associated with the control.

  1. Open the content file.
  2. In the XML Editor, right-click the shortcut control icon (if "markers" are set to be shown).
  3. In the context menu, select Edit Shortcut Control. The Insert Shortcut Control dialog opens.
  4. Adjust the settings in the fields as necessary. You may need to consult with your developer for help on completing these fields:
    • File path to the executable file… Enter the path and name of the program (EXE file) you are calling.
    • Parameters to be sent… Enter any parameters you would like to send the program (e.g., the name of a file to open). Separate the parameters with commas.
    • A message ID of a standard Windows message Select a standard Windows message from the drop-down menu.
    • WPARAM value Enter the WPARAM value.
    • LPARAM value Enter the LPARAM value.
  5. Click OK. The Insert Shortcut Control dialog closes, and the link is now changed.
  6. Click Save the active file. to save your work.

Edit the Style of a Shortcut Control

The second way to edit a shortcut control is to edit the style (e.g., font, color) of the link. When you edit the style for a shortcut control, the style changes for all shortcut controls in any topics in your project. To do this, modify the property settings for the style called "MadCap|shortcut." See Editing Styles in a Regular Stylesheet.

What’s Noteworthy?

Note If you are working with HTML Help and import a RoboHelp project containing Shortcut links, the linked files are placed in a special subfolder in the Content Explorer (Resources\CHMSupport).