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 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
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...