Creating A Custom Toolbutton And Toolbar - MACROMEDIA COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO Use Manual

Table of Contents

Advertisement

198

Creating a custom toolbutton and toolbar

After you write a script, you can create a custom toolbutton to execute the script
from within the program. If you intend to write multiple scripts, you can create a
toolbar for them. You can rearrange the buttons and add separators in the toolbar.
To create a custom toolbutton:
1
On the Toolbars tab, select your custom script toolbar from the Toolbars list.
The toolbar displays at the top of the tab.
2
Click Add Custom Button.
3
In the Custom Toolbutton dialog box, select the Execute an ActiveScript file
option.
4
Enter a path and file name in the Script File box.
5
Make selections in the Button Image, Button Caption, and Button Hint boxes.
You can optionally create script hot keys on the Script Shortcuts tab and then
click the Show keyboard shortcuts in toolbutton hints box on the Toolbars tab.
6
Click OK.
To create a toolbar for custom scripts:
1
Select Options > Customize from the menu.
2
Click the Add Toolbar button on the Toolbars tab.
3
Enter a name for the toolbar and click OK.
4
On the Toolbars tab, select the check box on the Toolbars list to display the new
toolbar in the workspace.
Chapter 14 Scripting the Visual Tools Object Model

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO and is the answer not in the manual?

This manual is also suitable for:

Coldfusion studio 5

Table of Contents