New dbx Button Wizard: Enter Custom Script<

See Also 

On the Enter Custom Script pane of the New dbx Button wizard, you can specify a dbx script you want executed when your new menu item or toolbar button is selected.

To specify the dbx script you want executed:

  1. Type the dbx script in the Script text box. Your script can include multiple dbx commands.
  2. You can include arguments in the script that will reference the Source Editor when script is executed. To do so, you must click anywhere in the Source Editor window before typing your script.
    1. To include the text that is selected in the Source Editor as an argument, type "{selection}" in the script.
    2. To include the name of the file displayed in the Source Editor, type "{file}" in the script.
    3. To include the current line number in the Source Editor as an argument, type "{file}:{location}" in the script.
    4. Click Next.
See also
New dbx Button Wizard: Enter Custom Action Properties
New dbx Button Wizard: Select a Menu For Custom Menu Item
New dbx Button Wizard: Select a Toolbar for Custom Button

Legal Notices