How to make the items in a variable a single item
If you have: set Q to {"a", "b", "c"}

You can then do:

set Q to (Q as string) as list



(Q as string) coerces the Q list {"a", "b", "c"} into a string, "abc", and as list turns the string into a list item assigned to Q.


Not necessary, but if you also add:

return Q


Just to see what it returns, it will return:

{"abc"}


Which is what you wanted.