Thanks Klaus

. Now it's working in Windows. This is my first time to do this kind of programming. In my other program, it's synchronous so I can debug line by line but using LiveCode, debugging under callbackMessage stops the loop (which I think happened to me when I debug it and thought that it will not process the other files?). You must be clever to program in LiveCode.
Many thanks for your endless support.
By the way, I need to check it as well in Mac and try to find one, perhaps, by next year. Also, need to learn the command touch in mac...
Have a nice holidays!
Cheers
