cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Can two text with same value can be selected one by one.........

Vaduga1
1-Newbie

Can two text with same value can be selected one by one.........

Hi all,

In illustrations instead of using callouts we use normal text command placing callouts(numbers).

I've created macro to select each number and place a polygon around each number.

But if same number is available twice in the illustration. The macro places the polygon in between the two like numbers.

Its because for selecting each number I use select if text is equal to command.

I would like to know whether any macro can be created to select the same numbered text can be selected one by one.

Thanks & Regards

Vaduga

2 REPLIES 2

I'd suggest to loop over the selected text elements

with activeDoc.firstSelectedElement and activeDoc.nextSelectedElement
and draw the polygones one by one for each.

Hello Bgraffmann,

activeDoc.firstSelectedElement and activeDoc.nextSelectedElement

When using this loop all the texts would be selected and i cannot draw a box over one by one in between the loops.

Thanks & Regards

Vaduga

Announcements