Created
May 17, 2024 16:17
-
-
Save olumide-x/33e32fea4c139b7c390d7a81a652abda to your computer and use it in GitHub Desktop.
Dogtail script to launch simple GTK Python application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python3 | |
from dogtail import tree | |
from dogtail.utils import run | |
run("./my_app.py", timeout=2) | |
my_app = tree.root.application('my_app.py') | |
#print(my_app) | |
button = my_app.child("MyButton") | |
#print(button) | |
button.click() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment