Microsoft Word Suite
267
Command: get profile string
Returns or sets a setting in the Word Settings (10) file.
Syntax
get profile string system object Required. An expression that returns a system object.
section Unicode text Required. The name of the section in the settings file that contains the key.
key Unicode text Required. The value in the key specified by section (for example,
BackgroundPrint in the Options key.
Command: get selection information
Returns information about the specified selection or range. This command returns a Unicode text
string.
Syntax
get selection information selection object Required. An expression that returns a selection object.
information type enumeration Required. The information to return. Can be one of the following:
·
active end adjusted page number Returns the number of the page that contains the active end
of the specified selection or range. If you set a starting page number or make other manual
adjustments, returns the adjusted page number (unlike active end page number).
·
active end page number Returns the number of the page that contains the active end of the
specified selection or range, counting from the beginning of the document. Any manual
adjustments to page numbering are disregarded (unlike active end adjusted page number).
·
active end section number Returns the number of the section that contains the active end of
the specified selection or range.
·
at end of row marker Returns "True" if the specified selection or range is at the end-of-row
mark in a table.
·
info caps lock Returns "True" if Caps Lock is in effect.
·
end_of range column number Returns the table column number that contains the end of the
specified selection or range.
·
end_of range row number Returns the table row number that contains the end of the specified
selection or range.
·
first character column number Returns the character position of the first character in the
specified selection or range. If the selection or range is collapsed, the character number
immediately to the right of the range or selection is returned (this is the same as the character
column number displayed in the status bar after "Col").
·
first character line number Returns the line number of the first character in the selection. If the
pagination property is false or the draft property is "True", returns -1.