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:
- Type the dbx script in the Script text box. Your script can
include multiple dbx commands.
- 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.
- To include the text that is selected in the Source Editor as
an argument, type "{selection}" in the script.
- To include the name of the file displayed in the Source
Editor, type "{file}" in the script.
- To include the current line number in the Source Editor
as an argument, type "{file}:{location}" in the script.
- Click Next.
Legal Notices