Hi list,
I have this application that is supposed to stay open, doing a curl request on a server 24 hours a day, every 4 seconds. If you do the maths, it is supposed to repeat itself 21,600 times.
If I use this:
on idle theObject repeat 4000 times -- do something end repeat end idle
It works Ok, I mean I can click on the application name > quit , and the app will quit,
Higher repeat values like 5,000 or 10,000 or 30,000 or, even putting a "repeat while true" block will cause the app to stop responding to the click on the application's name, I mean the the menu will not drop down and can only do a "force quit".
Have you guys any clue why this happens? Is there a repeat limit?
I have seen the same problem compiling from Script Editor or Xcode.
Thanks for your comments,
Bernardo Höhl Rio de Janeiro - Brazil |