I did a little improvement of code from
https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-make-selection-set/m-p/840402...
in order to add text mask from express tools (c:textmask) and now routine can draw background wide polyline under selected polyline and also create text mask under selected text.
Program working properly but have "dirty" limitation. User need to make double selection: one for text mask and another one for polylines (see attached lisp)
I tried to change it but it was unsuccessful and one of the reasons of it I can't call needful sub functions from (c:textmask)
Is it possible to automate process and make "one shot selection" for these subroutines
Any help will be very appreciated