I have a simple script running on windows that is running quite slowly. I tried the same script in MacOS and is running perfectly. Any way to improve it inside windows?
The problem specifically is that i want to read the text of an html page from the browser widget every 100 milliseconds, to take a running time field at a fraction of 100 milliseconds.
The codee:
Code: Select all
on mouseUp
rCommand
end mouseUp
command rCommand
lock screen
get matchText(Text of widget "browser", "<td class=" & quote & "r_27899h_2g_2l_4c_6 tg tw align_right" & quote & ">(.*.)</td>", R )
set the itemDel to "</td"
put item 1 of R into fld "Field2"
//unlock screen
if the hilite of button "check" then
send rCommand to me in 50 millisec
end if
end rCommand