is there a way to scan a specified folder for new files with little overhead processing. (i.e not poll it constantly but use a flag method)
I know there is #IfFileExist but that looks for a specific file . I guess I could compare a lookup table to see if a file was created biased on date created. but is there a way to create sort of an interrupt instead of polling constantly?
actually simpler way to ask this . are there interrupt flags that AHK can monitor when creating new file and from what source?
Im just brain storming so i dont have any example code.
scenario would be , download file. if goes to its specified folder. then autohotkey would detect it and move it biased on URL origin or just the filename.
has anyone attempted something like this ?
scanning folders for new files
-
- Posts: 5
- Joined: 30 Aug 2020, 14:46
Re: scanning folders for new files
Have a look at Watchfolder().
Who is online
Users browsing this forum: jameswrightesq and 205 guests