08-17-2013, 12:36 PM
what I did
put int+ timeold in hook function declaration (not proc)
then
Function TraiteTouches
but the output is double, like this, and don't know which number is the real elapsed time. Can't understand why....
171
719
156
391
188
546
172
422
188
515
188
422
203
797
187
391
172
140
157
171
put int+ timeold in hook function declaration (not proc)
then
Function TraiteTouches
function int'hwnd int'time int'code
_i=0
int+ timeold
_s.getwinexe(hwnd)
str jj
str chacun g
str monitor="qm"
int h=time-timeold
out h
timeold=time
foreach chacun monitor
,if(findrx(_s chacun 0 1 g)!=-1)
,,_i+1
,,break
if(_i=0) ret 1
;_s.getwintext(hwnd)
FormatKeyString code 0 &jj;but the output is double, like this, and don't know which number is the real elapsed time. Can't understand why....
171
719
156
391
188
546
172
422
188
515
188
422
203
797
187
391
172
140
157
171
