Creating A Custom Toolbutton Or Toolbar - MACROMEDIA HOMESITE Using Manual

For windows 98, windows me, windows nt 4.0, windows 2000, and windows xp
Table of Contents

Advertisement

226

Creating a custom toolbutton or 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
2
3
4
5
6
To create a toolbar for custom scripts:
1
2
3
4
On the Toolbars tab, select your custom script toolbar from the Toolbars list.
The toolbar displays at the top of the tab.
Click Add Custom Button.
In the Custom Toolbutton dialog box, select the Execute an ActiveScript file
option.
Enter a path and filename in the Script File box.
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.
Click OK.
Select Options > Customize.
Click the Add Toolbar button on the Toolbars tab.
Enter a name for the toolbar and click OK.
On the Toolbars tab, select the check box on the Toolbars list to display the new
toolbar in the workspace.
Chapter 15 Scripting the Visual Tools Object Model

Advertisement

Table of Contents
loading

This manual is also suitable for:

Homesite+ for dreamweaver mx

Table of Contents