SelectText Text Command

SELECTTEXT Text Commands

Selects a block of text.

selecttext [PAGE number | MPG name | DOCUMENT name | WINDOW name]

what/k Specifies what text to select.

Options: ALL Selects all the text in the article.
PARAGRAPH Selects the current paragraph(s).
WORD Selects the current word(s).
FRAME Selects the current frame(s).
LINE Selects the current line(s).
NONE Deselects selected text.

AT/d Places the insertion point and selects the article at this position.

RANGE/d Selects all the text in this area.

how/K Specifies how to add new text to an existing selection.

Options: REPLACE Replaces selected text with this text. Default.
ADD Adds to the selected text.

stack/k Specifies which articles to select in.

Options: FRONTMOST Selects in the frontmost article at the point. Default.
BACKMOST Selects in the backmost article at the point.
PAGE/s The page number. Default=current insertion point.

MPG/s The master page name and side.

DOCUMENT/s The document name. Default=current.

WINDOW/s The window name. Default=current.

Examples:

selecttext all

selecttext range 1.25 3.3 1.75 5.25 add

 

SelectText  Command Definition  url:PGScmd/selecttext
  created:2006-03-31 10:52:52   last updated:2006-03-31 10:52:52
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SelectText
Dan Kilroy wrote...2006-05-04 16:54:01

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

SelectText (<AT x y [FRONTMOST | BACKMOST][REPLACE | ADD | REMOVE | TOGGLE | AND] | RANGE x1 y1 x2 y2 [FRONTMOST | BACKMOST][REPLACE | ADD | REMOVE | TOGGLE | AND] | | WORD | LINE | PARAGRAPH | FRAME | ALL | NONE | INOBJECT objid [ADD] [PGS41:CELL x y]| INARTICLE articleid [ADD]> [PAGE document:...-pagenum | MPG document:...-masterpage:side | DOCUMENT document | WINDOW document~window])

Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For SelectText