User Guide
Keyboard functions 163
Returns
A Boolean value: true if the new default is successfully set; false otherwise.
Example
The following example sets the Flash object as the default object for the Media menu:
dw.objectPalette.setMenuDefault("DW_Media", "DW_Flash");
dreamweaver.reloadObjects()
Availability
Dreamweaver MX 2004.
Description
Reloads all the objects on the Insert bar. This function is the equivalent of Control+left-clicking
the mouse on the Categories menu on the Insert bar and selecting the Reload Extensions menu
option.
Arguments
None.
Returns
A Boolean value: true if the objects were successfully loaded; false otherwise.
Keyboard functions
Keyboard functions mimic document navigation tasks that are accomplished by pressing the
arrow, Backspace, Delete, Page Up, and Page Down keys. In addition to such general arrow and
key functions as
arrowLeft() and backspaceKey(), Dreamweaver also provides methods for
moving to the next or previous word or paragraph as well as moving to the start of the line or
document or the end of the line or document.
dom.arrowDown()
Availability
Dreamweaver 3.
Description
Moves the insertion point down the specified number of times.
Arguments
{nTimes}, {bShiftIsDown}
• The nTimes argument is the number of times that the insertion point must move down. If this
argument is omitted, the default is 1.
• The bShiftIsDown argument is a Boolean value that indicates whether to extend the selection.
If this argument is omitted, the default is
false.
000_DW_API_Print.book Page 163 Wednesday, August 20, 2003 9:14 AM