That script works already, I am just trying to figure a way to pass a string to replace (V.I.F.) that can be set during the session.
I.E. if the draftsmen needs to edit a whole bunch of dims to <> + 1/2"/P(V.I.F.) I would like them to be able to hit a button on the palette, enter the text they want added and have them be able to edit text to call the dimedit until the session ends or they need to change the edit text to something else. Ideally by setting USERS1 to the text then passing that to ddedit without lisp or a script (no diesel in scripts), the \ gets interpeted as a pause for user input when part of a macro, thus it causes the macro to not pass on the line return. He is an example of what I would like to do in a macro
Set the string to users1
^C^C_setvar;users1;\
Then automate the editing of dimtext to that value
^C^C_dimedit;n;<>$m=$(getvar,users1);\
but if users1 has a "\" it will not work.
Its an annoyingly simple problem I can't figure out how to work around
.