Is there a way to check if file exists custom prompt realtime?

I have created a prompt to rename new files added to a folder.
The Macro aborts when file already exists.
Is there a way that the prompt tells me realtime if a file with this name already exists and show me its details so I can change name accordingly.

Also is there a way to display an image in a prompt for user input?
Would be awesome if that image pops up realtime as well.

Thanks so much for the amazing support!

No, there is no way for a Prompt to get any real time feedback.

The only option would be to use a Custom HTML Prompt so you could control the display.

After you execute the Prompt, use the While Path Exists action.
If it exists, then show another Prompt to get a new name.

Here's an example macro to get you started:

MACRO:   Test IF File Exists [Example]


#### DOWNLOAD:
<a class="attachment" href="/uploads/default/original/3X/6/1/6192531f52e583b0b56f066b0a673e4cb981bac7.kmmacros">Test IF File Exists [Example].kmmacros</a> (6.3 KB)
**Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.**

---



![image|490x1772](upload://5GMoxZDowRuVhb8OJw4ckUyyERJ.jpg)

---

Questions?

Thanks a lot.
I had created such a macro already, was just wondering I could check for it in realtime like those online Javascript validation fields.

Anyway Thanks a lot for your time!

Then why was your macro aborting?

With my above macro, it would never abort for this reason.