I want to add the option to auto execute a function every 20 or 30 seconds so the user doesn't have to be pushing buttons manually. I read I can use the "send" command, but it doesn't work for me... I wrote something like this:
Code: Select all
on mouseUp
if the hilite of button "AutoRefresh" is true then
repeat forever
send "fillList" to me in 20 seconds
if the hilite of button "AutoRefresh" is false then
exit repeat
end if
end repeat
else
fillList
end if
end mouseUp
I don't know if I explained myself clearly...
Any ideas?
Thanks!