@ami wrote:
... I want that at first it will asks for right or left and then after clicking the first text1 it will say add text and then I click text2 and it will put it after the text with one space but with no connection ( seperate texts),
and I can continue clicking another texts and it will add them after the text2 etc, and when I right click it will finish the command.
....
Give the attached TextRow.lsp a try. See the comments at the top.
It doesn't place things apart by "one space" in the text-character sense, but by "some space," which I chose to be half the text height of the initial object, but you can adjust that. [It could be made to actually make it the true size of a space in the Style and height of the initial object, but it would mean creating a temporary and invisible Text object with one space as its content, and getting its bounding box to determine the gap size. It should be able to delete that before proceeding, but it seems "risky" to create an object that can't be seen or selected later if somehow it doesn't get deleted.]
It works with multiple Text/Mtext objects of different heights from each other, but the gap between all of them will be half the text height of the first one selected.
If you want Text baselines to line up, rather than bounding-box bottom edges, and if you would always be selecting only plain-Text objects, that could probably be worked out, but it would be more complicated.
Kent Cooper, AIA