Duplicate File - Better Confirmation Box

This is a continuation of "Copy DUPLICATE FILE button has stopped working" Copy DUPLICATE FILE button has stopped working - #4 by Leo, but seeing that is almost 14 years ago, I thought I should start a new topic.

I have a button with the code:
Copy DUPLICATE

It works fine, but I was wondering if there was a way to get this confirmation box:

Screenshot - 2023.08.14-23.55.46

Instead of:
Screenshot - 2023.08.14-23.55.15

The first way shows more details about the duplicates, so I can see if it really is a true duplicate of the file.

Thanks.

Shawn

Not sure I understand. If you’re duplicating a file, the new copy is always going to be a duplicate of the file.

You will already see the Replace dialog if the name you specify for the duplicate already exists and the duplicate is going to replace some other file.

But if the new name doesn’t exist, there’s no reason to show the Replace dialog.

Guess he meant the more detailed popup and not the plain and simple window to enter a new filename.

I further guess he wants a combination of both popups :grinning:

I'll see if I can explain it better.

I have a button that will move all files from a selected folder to the current folder. When I click the button, if there are any duplicates I will get the second box. I am looking to get the first box, which will let me compare the duplicates to see if they are duplicate, and gives me the option to rename it without having it do it manually, rename all duplicates, skip all, etc.

Not really looking for a new popup, as the first one does everything the second one does, plus a lot more. I like the preview to better compare the files.

I hope I explained it a little better this time.

Thanks.

Shawn

1 Like

I did not try so far, meaning, I do not remember the exact behaviour for the rename process, so I may be wrong when saying that the first, larger, popup does not offer any input functikn to enter a custom filename, right?

No idea what I was thinking, of course it is going to be a true duplicate. I was looking for a way to show the first popup, so I could use the rename all option. I found the solution, use this code instead.

Copy DUPLICATE FILE AS * WHENEXISTS=ask

But is there a way to keep the first items selected? That way I can make an additional copy as well.

Sorry about all the confusion, I guess I should re-read the post to make sure I am explaining myself and what I am looking for.

Thanks.

Shawn