Alex Tweedly wrote:


local  nextFTPTime
on mouseUp
  if the seconds > nextFTPTime then
     do ftp Stuff
     put the seconds + field "TestFreq" into nextFTPTime
  end if
  send "mouseUp" to me in 10 seconds
end mouseUp

You might want to make that
  send "mouseUp" to me in min(10, nextFTPTime-the seconds) seconds

just to get the desired time more accurate ... otherwise, if your frequency was, say, 12 (the value I happened to use in my test before I sent the above script :-), you'll wait an extra 8 seconds....

--
Alex Tweedly       http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to