replace “unlock screen” with “wait 0 seconds with messages”. The screen will unlock when an idle message is sent, which is what will happen when you wait 0 seconds with messages.
Bob S On Aug 27, 2014, at 04:34 , j...@souslelogo.com wrote: > actually the loop is like this (my mistake) : > > lock screen > repeat 20000 times > -- do a lot of things > unlock screen > put myVar into fld "myVar" > lock screen > end repeat > > but the problem remains. > > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode