Hot Folders solution for Windows with LC

Paul Dupuis paul at
Thu Oct 7 16:32:03 EDT 2021

The only way I know to to that in LiveCode is by polling the folder at 
some interval.

You get the detailed files (for the last modification date)
filter to PDFs
output them to pdf/1-1b's
Save this initial detail list of PDF files (in a variable or property or 
Then send a message to yourself in x minutes

That message get the detailed files and compares the new list to the 
save list
Any new or updated file is sent to Ghostscript
Then the save list is updated
Send a message to myself in X minutes

That's pretty much it.

On 10/7/2021 3:39 PM, matthias rebbe via use-livecode wrote:
> Hi,
> before i reinvent the wheel...
> Has anyone on the list already created a solution for monitoring a folder on Windows (server) for new files and to do some action on that new files?
> I need to create a tool that monitors a folder on Windows Server 2019  and if a new pdf file is in the folder, the tool shall convert that pdf to pdf/a-1b with Ghostscript in an destination folder and rename the original one.
> Is there anything i should keep in mind? Are there any pitfalls?
> Regards,
> Matthias
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list