Hello everyone,
I see a piece of code in the following post, but it can't run, prompt the following error, welcome any suggestions, thank you in advance

I see a piece of code in the following post, but it can't run, prompt the following error, welcome any suggestions, thank you in advance
Code:
ClickTime = DLL.CallFunction(_SystemFolder .. '\\winmm.dll', 'timeGetTime', '', DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL) TimeSpace = ClickTime-TimePrevious if TimeSpace<300 then --if the time space between two clicks <300 millisecond, then define it as "double-click"then --(your action here!) Dialog.Message('haha', 'Success!') end TimePrevious=ClickTime -------on page preload,you must define TimeSpace=0
Comment