Create if statement

please i want to create if statement

if some file exist in folder call "TEMP MP4"

the folder "TEMP MP4"
it is in the side bar of finder

please how can i do it

you can use a Folder trigger

you can then specify by file type:

no my friend
i want to trigger by keyboard shortcut
if some file exist in folder do this.........

Tag teaming with the great @hello.

@ghy76df455DFR, here is another option without digging too deep into variables. There are many ways to do this but without enough information, I fear scope creep. Here is a quick and dirty effort.

If you need to act on each file, you can delete the Cancel this Macro action. I don't know if it's one file or 2000. Therefore, this runs once.

Try it and let us know more information about what you are trying to do.