A question about scripting in FC.
I have a image importation profile which imports attached files of emails : pdf essentially.
Nevertheless , today there are png and jpg files imported too. So I would like to delete these files by script before recognition.
My idea is : if the imageSource ends with pdf, it's ok ; in the other case KO, the file must be deleted.
Do you havec a sample of script in this mind ?