Use below method for delay b/w 2 event
delay(5000)

On Jun 22, 11:42 am, mlc <[email protected]> wrote:
> this is my Monkeyscript
> type= point
> count= 0
> speed= 1
> start data >>
>
> captureDispatchPointer(5109520,5109520,0,230,358,0,0,0,0,0,0,0);
> captureDispatchPointer(5109521,5109521,1,230,358,0,0,0,0,0,0,0);
>
> captureDispatchKey(5113146,5113146,0,4,0,0,0,0);
> captureDispatchKey(5113146,5113146,1,4,0,0,0,0);
>
> ----------------------------------------------------------------------
> I want give a sleep between the second sentence and the third one, but
> i don't konw the grammar format.
> Is the grammar format is "UserWait(5000)"?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to