Count Property (Selection Object)¶
Retrieves the number of selections in the current document. This property
always returns 0 if it is not in the multiple selection mode even if a normal
selection exists. Supported in EmEditor Professional Version 13 or later.¶
[JavaScript]¶
NumOfSelections = document.selection.Count;
[VBScript]¶
NumOfSelections = document.selection.Count
Version¶