hello all,
i have this scenario:
script1 is doing a task which is very I/O intensive. in order to minimize impact on user workflow, it starts its activity when the user is idle for some time (assuming the user left his desk). when a mouse/keyboard action is detected, script2 assumes the user has returned, therefore pauses until the idle time is reached again. for that, i use the function _Timer_GetIdleTime()
this was working well for long time now.
now, i have another script, script2 whi