Script to copy the name of multiple open documents, to a single text file
Hi all! This is something I've been trying to brute force on my own by frankenstiening older posted scripts, but my lack of scripting know-how is really getting in the way.
For context, my work requires me to manually open a large amount of photos, then use 'Open in explore' to then copy its file name, THEN to find it in another folder by using the windows search bar to copy it to a final folder location. And this is PER image.
As you might be able to tell, this take a considerate amount of time for a task that could be automated.
I was wondering if it would at all be possible to have a script that copies the file name of the current opened document, and then pastes it to a text file.
The text file would look like this;
"1.jpg" OR "2.jpg" OR "3.jpg" *etc etc*
as the windows file search tool allows multiple file searches in this format, and all I would have to do is copy the contents of the text document and paste it into search, instead of having to manually 'open in explore' all 170 images per work-order.
Of course, this means it would have to do this for each opened document (sequential order is not nessasary) as previous scripts i've looked into use '/n' to copy each name under a new line.
Thank you for any feedback, looking forward to broadening my knowlege in this topic.
🙂
