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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

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

Top Tags