WIP: AX port and noatspi work
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
|
||||
'''TEST the Ability to find out the square root of a selected number'''
|
||||
|
||||
import gi
|
||||
gi.require_version('Atspi', '2.0')
|
||||
from gi.repository import Atspi
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
sequence = MacroSequence()
|
||||
@@ -34,7 +37,7 @@ sequence = MacroSequence()
|
||||
#
|
||||
sequence.append(WaitForWindowActivate("Calculator", None))
|
||||
sequence.append(KeyComboAction("<Control>a"))
|
||||
sequence.append(WaitForFocus("Change Mode", acc_role=pyatspi.ROLE_PUSH_BUTTON))
|
||||
sequence.append(WaitForFocus("Change Mode", acc_role=Atspi.Role.PUSH_BUTTON))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
|
||||
###############################################################################
|
||||
|
||||
Reference in New Issue
Block a user