Oh!
There are some mistakes.
First of all: remove all a.,b. c. (and so on) from the beginning of each line of my part of your mixed script. Please be careful.
Second: You cannot mix several script without to compare the variables.
e.g. the old var mRes = mStringList.selection.text;
should be nowvar mRes = win.grp2.Ddl1.selection.text
and so on. The same with the selection index. And be careful here too. Sometimes you use mSelection in your old code, and sometimes mySelection. This cannot work (never).
And please – use the insert-button while posting code here in forum (possible in advanced editor)
Have fun