Argh - I was just about to do my usual manual routine wen it dawned on me that this surely could be done much better with XY's tools! But I'm afraid I still don't know much about scripting.
What I'd like to do is...
- select a few files in current dir (manually, before calling script)
- copy the names to clipboard and add a constant prefix ("copy=") to them.
Can some kind soul pls. give me a headstart or point out compareable scripts somewhere?
How to...add prefix when copying names of selected files to clipboard?
How to...add prefix when copying names of selected files to clipboard?
______________________________________________
Happy user ;-)
Happy user ;-)
Re: How to...add prefix when copying names of selected files to clipboard?
And what exactly is so difficult about that?
And if you don't want to learn regex, learn to use a loop...
copytext regexreplace(<get SelectedItemsNames <crlf>>, "^(.)", "<some prefix>$1");
And if you don't want to learn regex, learn to use a loop...
One of my scripts helped you out? Please donate via Paypal
Re: How to...add prefix when copying names of selected files to clipboard?
Well, I tried once or twice with some success - but the nr of commands feels overwhelming and I never give myself enough time to go through them in detail. Entirely my fault, I admit - but there's so much to do...
But rx I know - so this is very useful. Works like charm. What a timesaver! Thanks a million!
But rx I know - so this is very useful. Works like charm. What a timesaver! Thanks a million!
______________________________________________
Happy user ;-)
Happy user ;-)