I solved my problem using AHK! Check out the other forum here for the code I used.
https://www.autohotkey.com/boards/viewtopic.php?f=6&t=8384&start=80
Duplicate Filenames Error
Hello Everyone,
Model: Sharp Copier/Scanner MX-M365N
We recently moved our Sharpdesk Network Scan Tool (NST) from our user's desktop to our server. This way when someone uses the scanner, the file will be sent to the network folder as needed. Before this, our user would have to be logged into his account at his local machine for the file to be sent to the correct network folder.
So now that NST is on our server, everything seems to be working just as expected. However there is one potentially major issue we are coming up with.
Users type in a filename at the scanner before scanning the document. If that filename already exists in the network folder, then the NST pops a duplicate filename error on the server machine. This can be easily fixed if you're sitting in front of the server machine. However, from an end user perspective, all scanned files end up in limbo, waiting for that error message to be resolved on the server machine. Since our users can't get into the server room, they can't resolve the duplicate name error. Once the error message is resolved, all pending scans get processed.
Obviously this isn't an issue if you let the scanner decide the name of the file. But we really need to name our files at the scanner, and it can be difficult to tell if there is a duplicate file ahead of time.
I can't find a setting in NST, or the printer web setup, that will allow user entry of the filename, but automatically append (#) it if the filename exists. Has anyone else encountered this issue before? Are there any other creative workarounds?
Is there any way to catch this windows error and handle it before the message box is presented to the user?
Right now we told the end users about the correct procedure to take to ensure not creating duplicate files. (Check for duplicates first, or rename the file after it is scanned.)
Thank you for your time.
Nate
This question is also posted over at copytechnet, and AHK!
https://www.copytechnet.com/forums/sharp/152689-network-scanner-tool-duplicate-filenames.html
https://www.autohotkey.com/boards/viewtopic.php?f=6&t=8384&start=60
Windows for business Windows Server User experience Other
-
Nate Schoonover 96 Reputation points
2021-01-05T14:54:04.41+00:00
2 additional answers
Sort by: Most helpful
-
Anonymous
2020-12-11T08:47:06.133+00:00 Hi
Based on my research, I don't think this is an error caused by Windows, the massage user received is to notify and prevent error caused by files of same names.
I suggest search for third-party app with functions of automatically renaming duplicate files in Windows.
Also, might try reaching out to scanner tool provider for update and support for file name management feature:https://global.sharp/support/warranty.html
Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information
Best regards.
**
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. -
Nate Schoonover 96 Reputation points
2020-12-16T17:45:14.567+00:00 This didn't really help me, but thanks for trying. I am taking an automated approach with AHK. Follow along here if you want:
https://www.autohotkey.com/boards/viewtopic.php?f=76&t=84461