Editing a script.

Editing a script. If a database connection is specified, on accepting the dialog, the script will be saved to the specified position in the database. If an XML folder is specified the script will be saved and coded in this structure.

Name Type Default Description
Return int   0 Cancel
!= 0 otherwise.
script String or char* - Script text
Only XML. If the string is empty (""), the text will initially be loaded from the data structure.
label String or char* - Caption of the entry field
title String or char* "Script editor" Window title
⇨Scripts from the database
dbc DBC 0 Target database for the script. As the database, the current database connection or the current internet connection can be used.
attribute String or char* 0 Attribute of the table, in which the script is to be saved
table_ String or char* 0 Table in which the script is to be saved
where String or char* 0 Table entry for the script
⇨Scripts from the XML data
xmlpath String or char* - Path on the XML folder, see xmlquery::app_path.
"" : Use the path which is currently set up in InDesign®
id int - ID of the action

Since
1.0.12 The parameter xmlpath and id can be used as of Version 1.1.17, January 2005.

Available
priint:comet InDesign® Plug-Ins, comet_pdf

Alphabetic index HTML hierarchy of classes or Java