>use
>mouseMove(some_image) # optional to get at the click point
>mouseDown(Button.LEFT)
>wait(any_time_you_want_in_seconds)
>mouseUp()
>
>put it in a
>
>def longClick(time = 1, img = None):
> if img: mouseMove(img)
> mouseDown(Button.LEFT)
> wait(time)
> mouseUp()
>
>usage
>longClick(1.5) # mouse is already at the spot
>longClick(1.5, some_image) # mouse has to be moved to the spot first
>
>
>** Summary changed:
>
>- I want a longclick method
>+ [request]I want a longclick method
>
>** Changed in: sikuli
> Status: New => In Progress
>
>** Changed in: sikuli
> Importance: Undecided => Low
>
>** Changed in: sikuli
> Importance: Low => Wishlist
>
>** Changed in: sikuli
> Assignee: (unassigned) => RaiMan (raimund-hocke)
>
>--
>You received this bug notification because you are subscribed to the bug
>report.
>https://bugs.launchpad.net/bugs/1173112
>
>Title:
> [request]I want a longclick method
>
>Status in Sikuli:
> In Progress
>
>Bug description:
> I want a longclick method for IOS app test
>
>
> thanks
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/sikuli/+bug/1173112/+subscriptions
thanks
发自我的小米手机
RaiMan <email address hidden>编写:
>use some_image) # optional to get at the click point Button. LEFT) time_you_ want_in_ seconds) Button. LEFT) /bugs.launchpad .net/bugs/ 1173112 /bugs.launchpad .net/sikuli/ +bug/1173112/ +subscriptions
>mouseMove(
>mouseDown(
>wait(any_
>mouseUp()
>
>put it in a
>
>def longClick(time = 1, img = None):
> if img: mouseMove(img)
> mouseDown(
> wait(time)
> mouseUp()
>
>usage
>longClick(1.5) # mouse is already at the spot
>longClick(1.5, some_image) # mouse has to be moved to the spot first
>
>
>** Summary changed:
>
>- I want a longclick method
>+ [request]I want a longclick method
>
>** Changed in: sikuli
> Status: New => In Progress
>
>** Changed in: sikuli
> Importance: Undecided => Low
>
>** Changed in: sikuli
> Importance: Low => Wishlist
>
>** Changed in: sikuli
> Assignee: (unassigned) => RaiMan (raimund-hocke)
>
>--
>You received this bug notification because you are subscribed to the bug
>report.
>https:/
>
>Title:
> [request]I want a longclick method
>
>Status in Sikuli:
> In Progress
>
>Bug description:
> I want a longclick method for IOS app test
>
>
> thanks
>
>To manage notifications about this bug go to:
>https:/