Background Task

Blitz3D Forums/Blitz3D Beginners Area/Background Task

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I can think if one way of doing it in B3D without API calls, but it might not have a very low cpu usage.

Basically, write a function to scan the directory for the filetype, and call it once every few seconds.

The advantage of the API calls is that they will tell you when the directory has changed as opposed to you manually checking.