GetCursorCount Text Query Command

GETCURSORCOUNT Text Queries

Gets the number of text selections. The user can select multiple blocks of text; this returns how many blocks exist.

getcursorcount [DOCUMENT name/S]

DOCUMENT The document name. Default=current.

Results:

The number of text selections is returned to RESULT.

Notes:

A result of 0 indicates that the cursor is not placed.

Examples:

getcursorcount

 

GetCursorCount  Command Definition  url:PGScmd/getcursorcount
  created:2006-03-30 22:20:06   last updated:2006-03-30 22:20:06
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetCursorCount
Dan Kilroy wrote...2006-05-04 16:54:15

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

Gets the {...} .

count = GetCursorCount ([DOCUMENT document])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For GetCursorCount