SelectObject Object Command

SELECTOBJECT Object Commands

Selects object(s).

selectobject | | [stack] [how]>> [PAGE number | MPG name | WINDOW name]
[LASSO [EVERY | FRONTMOST | BACKMOST][REPLACE | ADD | REMOVE | TOGGLE | AND]

NONE Deselects all objects.

ALL Selects all the objects on the page.

OBJECTID/i Selects an object by its ID.

RANGE/d Selects objects inside these coordinates.

AT/d Selects the objects at this point.

how/K Specifies how to add new objects to an

existing selection.

Options: REPLACE Replaces selected objects with these objects.
ADD Adds to the selected object list.
REMOVE Removes these objects from the selected object list.
TOGGLE Adds these objects to the selected object list if they are not already selected; removes them if they are selected.
AND Selects only the objects common to the new selected objects and to the previous selection list.

stack/k Specifies which objects to select.

Options: FRONTMOST Selects the frontmost object at the point. Default for AT.
BACKMOST Selects the backmost object at the point.
EVERY Selects all the objects in the stack at the point. Default for RANGE.

PAGE/s The page number.

MPG/s The master page name and side.

WINDOW/s The window name. Default=current.

Notes:

You cannot select objects on more than one page simultaneously. If an object is selected, selecting an object on another page will deselect the first object.

Examples:

selectobject at 4.24 5.382 backmost

selectobject range 1 1 5 5 remove

selectobject all

 

SelectObject  Command Definition  url:PGScmd/selectobject
  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 SelectObject
Dan Kilroy wrote...2006-05-03 19:25:55

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

Select the {...} .

SelectObject (<[AT x y [EVERY | FRONTMOST | BACKMOST][REPLACE | ADD | REMOVE | TOGGLE | AND]]| [RANGE x1 y1 x2 y2 [EVERY | FRONTMOST | BACKMOST][REPLACE | ADD | REMOVE | TOGGLE | AND]] | PGS40: [LASSO [EVERY | FRONTMOST | BACKMOST][REPLACE | ADD | REMOVE | TOGGLE | AND] <MOVETO x x LINETO x x ...] | [OBJECTID objectid [REPLACE | ADD | REMOVE | TOGGLE | AND]] | ALL | NONE | [ABOVE [NEW | ADD]] | [BELOW [NEW | 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 SelectObject