File exists with wildcard

It seems that the “Check if file exists” action doesn’t allow wildcards. This fact is mentioned in the action inspector, but not in the normal action window, nor in the documentation.

In my case, it was actually useful to use the . wildcard: I don’t care whether the folder exists, I care whether it has files in it. Perhaps this could be added?

The workaround is to use a file iterator in the folder, and if it iterates at least once, there’s a file in there.
Steve

Steve,

The check if file exists should work with wild cards. I just tried with “C:\temp*.doc” and it return that it did find something, but “C:\temp*.docs” didn’t

.t8