Dreamweaver.editlockedregions(), Dreamweaver.gettranslatorlist(), Dreamweaver.usetranslatedsource() – Adobe Dreamweaver API Reference CS5 User Manual
Page 305
300
DREAMWEAVER API REFERENCE
Document
Last updated 8/27/2013
Returns
Nothing.
dreamweaver.editLockedRegions()
Availability
Dreamweaver 2.
Description
Depending on the value of the argument, this function makes locked regions editable or non-editable. By default,
locked regions are non-editable; if you try to edit a locked region before specifically making it editable with this
function, Dreamweaver beeps and does not allow the change.
Note: Editing locked regions can have unintended consequences for library items and templates. You should not use this
function outside the context of data translators.
Arguments
bAllowEdits
•
The bAllowEdits argument is a Boolean value:
true
indicates that edits are allowed;
false
otherwise. Dreamweaver
automatically restores locked regions to their default (non-editable) state when the script that calls this function
finishes executing.
Returns
Nothing.
dreamweaver.getTranslatorList()
Availability
Dreamweaver 3.
Description
This function gets a list of the installed translators.
Arguments
None.
Returns
An array of strings where each string represents the name of a translator as it appears in the Translation preferences.
dreamweaver.useTranslatedSource()
Availability
Dreamweaver 2.