Rob H
April 2nd, 2005, 01:56 PM
According to the help
FWatcherObj = win.CreateFolderWatcher ( string EventString, int EventDevice, string Folder, int Flags, int Recursive);
I'm calling it like this :
local folderWatcher = win.CreateFolderWatcher('LDJ_FOLDER_CHANGE', 18, dir, 31, 1)
But I get the following error:
bad argument #3 to 'CreateFolderWatcher' (number expected got string)
BTW it would be nice if the logger could hold more lines (it seems to be limited to 49) and also had a copy function. Oh, and a timestamp would be good too while I'm at it.
FWatcherObj = win.CreateFolderWatcher ( string EventString, int EventDevice, string Folder, int Flags, int Recursive);
I'm calling it like this :
local folderWatcher = win.CreateFolderWatcher('LDJ_FOLDER_CHANGE', 18, dir, 31, 1)
But I get the following error:
bad argument #3 to 'CreateFolderWatcher' (number expected got string)
BTW it would be nice if the logger could hold more lines (it seems to be limited to 49) and also had a copy function. Oh, and a timestamp would be good too while I'm at it.