阅读背景:

模拟在代码中单击一系列按钮并等待效果完成

来源:互联网 

I have series of buttons with EFFECTS that I'd like simulate clicking in code. The problem is that when I run "someFunction" the effects all trigger at about the same time. I'd like a button to click, then wait for the effect to finish then proceed on to the other buttons. I've tried using Thread.sleep but that doesn't work. Can anyone give me some pointers on how this can be accomplished? Also, is it possible to simulate clicking on multiple buttons at the same time?I have series of buttons with EFFECTS that I'd




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: