Usually, it is only 1 or 2 of those file types that work, but I keep them all because now and then I use them. Instead of creating separate buttons for each file type if and when I would need it.
Naturally, it comes up with an error when it cannot find the file types. I simply click the skip all button and it's ok. I tried to look up how to add that command to the button so I don't have to click a button. I probably don't know what to search for, but I came up blank.
Would using * for the extension and only having a single line work? Or are there sometimes files with other extensions you don't want to move?
If that isn't suitable, you can use @ifexists in a button to test if something exists, but I'd also recommend considering scripting instead, as it's usually a better choice as soon as you need conditional logic. (And it would let you put the filenames into a simple list and then loop through them once, instead of repeating each name twice, once for the test and once for the move.)
I dont think having * as an extension would work. I use the button for my photography.....
folder 1 has my raw images.
edit those files into another folder
move certain pictures to subfolder of the edited folder (such as pano shots, or photos of me, or outtakes).
need to move those same files in the raw folder as well.
go into each sub-folder (of the edited folder), select files, press button and the raw files in the RAW folder in the other window get sorted out into a sub-folder with the same name as in the edited folder.
That way the raw files are in the same sub-folders as the edited folder. It is a big time saver as i use to do it manually before. I believe you, or someone here gave me those commands and i just added extra ones for the diff extensions as needed over the years.
I have no knowledge of scripting, so unless you or someone else here would be willing to do it for me, I will have to keep it the way it is at the moment.
Where does the @ifexists go? i tried adding it as line 2, but it did nothing. The script ran the same way as before. If I add it to each line before the copy then nothing at all happens when I click the button.
It would do exactly the same thing as your existing button, unless there were files with the same name but different extensions (extensions not included in your existing button) which you didn't want to move.
If files with other extensions are a problem, you could use .(cr2|cr2.dop|jpg.dop|xmp|wav|jpg) as the extension wildcard to do exactly the same as your existing button:
Right now, I go into the folder in question, select the files and click the button and it does what it does.
How would this be modified so that I can select the folder and then it does the same thing.
Source:
c:\folder1\test
Target:
c:\folder1
The way it works now is I go into c:\folder1\test select the files and then it creates a folder "test" in the target and moves the files into it.
What I would like to do is to select folder "test" instead of the files inside of it and then it does the rest the same. Or perhaps select multiple folders and do it. How would that be done?