Hello, thank you for your answer, but I can't cope with that, it's too complicated for me. Then I have to forget this action, too bad. Merry Christmas, Helmut
With Keyboard Maestro native Actions you are probably almost there.
You could add an If Then Action to test whether the filename ends with ".pdf"
If the filename ends with ".pdf" the file gets moved, otherwise it is ignored.
Bear in mind that this will move all PDFs in the folder. That's the reason I set it up first with a test folder rather than my actual Downloads folder.
(In the Example below, you would replace the first highlighted path with the path to your Downloads folder and the second highlighted path with folder you want to move all PDFs to.)
But for this sort of task (if you want to do it all the time) I would highly recommend using the App Hazel. You could easily set up a Hazel rule to watch the Downloads folder and move any PDFs to a folder of your choice.