xgjing1220
級別: 探索解密
![]() |
'鼠標(biāo)一定時(shí)間無操作后執(zhí)行 時(shí)間差值 = !TimeSpanGetMinutes(!TimeGetSpan(!TimeGetCurrentTime(),!GetLastMouseActionTime())) ret1 = !strComp("負(fù)責(zé)人",!GetCurrentUser()) ret2 = !strComp("操作員",!GetCurrentUser()) if ret1 = 0 or ret2 = 0 then '判定當(dāng)前的用戶 if 時(shí)間差值>=5 then 用戶窗口.主頁面.Open( ) !SendKeys("{ENTER}") !LogOff() endif endif IF 時(shí)間差值>=2 AND 用戶登錄狀態(tài)=1 THEN 用戶登錄狀態(tài)=0 !SendKeys("{ESC}") endif |
---|---|
|