I am looking for a button that when you drag and drop files and folders onto it, it will have all the files into a certain folder. I have a managed to get a button that will move everything to a folder that you select, but I am looking to have one that does not always ask what folder you want to move to.
I would use this when I download a zip archive, then I could extract the contents then since it is mostly one type of file I can just drag the files to the button and would not have to select the folder each time. Not a major problem if it can't be done, just something to save me a few clicks.
Buttons which go to folders automatically act as a drag & drop target for copying/moving files.
Those buttons typically run something like Go "C:\My Stuff" but can also be created by simply dragging folders to your toolbar while in Customize mode.
That is what I use for a similar purpose. But I have also configured Opus to always move files unless told otherwise, rather than the normal "move-when-same" behaviour; i.e. "move if on the same drive, copy otherwise".
If you want something that will always move the files, and your drag & drop settings might trigger a copy instead, then you can do that as well. Make a button which runs a command like this:
Copy MOVE TO "C:\Example Folder"
That will move whatever you drop on it to C:\Example Folder.
As a bonus, it will also let you select files and then click the button to do the same thing, so you don't have to drag & drop at all. You can use it either way or both ways.
Thanks, that is just what I was looking for. I like the bonus as well. I was sure that I tried something like that when I was fooling around with the button.
Sometimes I have downloaded a bunch of pictures in a zip file, I extract them and have a bunch of jpg and bmp files, but some of those jpg files need to be edited before I move them to the new folder, so I put them in a folder and edit them at a later time.
Now to make things a little more difficult, is there a way to just move certain file types? When activated, it would move just the selected jpg files, but not the bmp or gif files, or any jpg files that might be in a sub-directory.
I have tried using the code below. I tried the modifiers one at a time, but they all seemed to do the same thing, and move the files and the folder. I can't seem to find something to just get those files and ignore the sub-directories.
Copy MOVE TO "F:\___Pix\__New\"
@dirsonly
@filesfromdroponly
@filesonly
Thanks. I love this program, I wonder how I ever got along without this before.
If it were me, I'd filter the lister first so it only showed the files I wanted to move, and then I'd select and drag those to the button (or just push the button). IMO that method gives you far more flexibility than hard coding a button. Unless of course you always wanted to move the same types of files.
But you can do it the way you're asking too. For example,
Copy MOVE *.jpg TO "D:\Test Folder\destination\"
Or to move both JPGs and BMPs, you could do this.
Copy MOVE *.(jpg|bmp) TO "D:\Test Folder\destination\"
I do this a lot during the day, so changing the filter would not really save me any time.
That works great, thanks. The only thing, doing it the way that you described, does not move just the selected images, but all images what that type. The drag and drop does the same thing as just pushing the button. The one plus is that images in folders do not get moved.
I have tried playing around with the code, but can't seem to get just the selected files moved. That is not really a big deal, as I have most of what I wanted solved. i just have to remember to delete any files I do not want moved before I start the move.
Thanks for all the help that you too have given me.
It will also deselect the other files/folders. If you don't want that to happen then you can use another method, but it requires setting up a (very simple) filter for the command to use. I can go through that if you need it.
Thanks for all your help. I think I have the buttons that I am looking for now. I took bits from everyones suggestions, and a little trial and error on my part, and came up with some buttons that do what I was looking for.
Thanks again for the help, I really appreciate it.