Quantcast
Viewing all articles
Browse latest Browse all 823

Script to convert list of values to quoted list

I would like to write a macro that that transform a plain one-item-per-line list to a quoted list of values. For example:
Initial list

car
boat
train
plain


Transformed list
('car', 'boat', 'train', 'plain')

I can't find documentation about commands available in the Macro editor. May I have some help to build a macro that performs the above transformation?
Image may be NSFW.
Clik here to view.
Go to last post

Viewing all articles
Browse latest Browse all 823