I am trying to select a whole line of text on a web page (in a table) using Sikuli. The easiest way to select text is to triple click on it. Is there a way to make a triple click in Sikuli? Thank!
GregH,
I have the following to work for me:
click(img.png) mouseDown(Button.LEFT) mouseUp(Button.LEFT) wait(0.01) mouseDown(Button.LEFT) mouseUp(Button.LEFT)
This allowed me to triple click on a button, link, or what I needed to click.
This works for me:
def tripleClick(PSMRL): hover(PSMRL) for x in xrange(3): mouseDown(Button.LEFT) mouseUp()
, , , , " "
? - :
for x in xrange(3): region.mouseDown() region.mouseUp()
, , . , , , / , . 2 = , 3 = . , Windows ( , ..).
.
, 3 , , , ?
I use .click()will be enough..click()- left mouse button .rightClick()is the right mouse button.
.click()
.rightClick()
For instance:
image1 = ("image1.png") def multiClick(nTime): imageLoc = find(image1) for n in xrange(nTime): imageLoc.click() # Click 3 times. multiClick(3)
Source: https://habr.com/ru/post/1732492/More articles:как добавить строку/Удалить эффект строки в datagrid - flexError transferring JSP file to WEB-INF directory using Stripes - javaAssociated DropDownList of "unused" elements plus the current row in the EditItemTemplate GridView? - drop-down-menuCan you execute classes in vbscript and ASP? - oopThree questions of the Objective-C constructor - objective-cJQuery find element by value of its name? (Name = value) - jqueryWhy can't I reset the TextBox Background in my UserControl? - templatesFlagsAttribute зачем? - .netUnique attribute-based xml nodes - xmlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1732497/flags-attribute-seems-to-have-no-effect&usg=ALkJrhiKQH3ssF4y9pXXc_Blgdw8hA4R2gAll Articles