Download Game! Currently 82 players. Last logged in:MaggaraDesertUglinessLade

Blitzer's Blog >> 72738

Back to blogs index
Posted: 23 Sep 2026 16:34 [ permalink ]
Kiitos!  Saatiin loistavia tuloksia: 

==

$ python3 atspi_ast_dumper.py
Initalisoidaan AT-SPI yhteys ja haetaan tyC6pC6ydC$n juuri...
KC$ydC$C$n lC$pi sovelluspuuta. TC$mC$ voi kestC$C$ hetken...
Tallennetaan tulokset tiedostoon desktop_ast.json...
Valmis! Voit nyt etsiC$ elementtejC$ JSON-tiedostosta X/Y-koordinaattien
perusteella.
$
$
$ python3 ast_analyzer.py list
=== TYCPCYTC YLEISKATSAUS ===
Juuri: 'main' (Rooli: desktop frame)
--------------------------------------------------

[SOVELLUS] xfwm4
B  <NimetC6n ikkuna/elementti> (Rooli: window) | Pos: X:-1000, Y:-1000 | Koko:
5x5

[SOVELLUS] xfce4-panel
B  <NimetC6n ikkuna/elementti> (Rooli: frame) | Pos: X:0, Y:0 | Koko: 1912x27
B  <NimetC6n ikkuna/elementti> (Rooli: frame) | Pos: X:803, Y:1037 | Koko:
306x3
B  <NimetC6n ikkuna/elementti> (Rooli: frame) | Pos: X:803, Y:1109 | Koko:
306x49

[SOVELLUS] Thunar
B  ui_calibration_pack - Thunar (Rooli: frame) | Pos: X:635, Y:276 | Koko:
650x514
B  <NimetC6n ikkuna/elementti> (Rooli: window) | Pos: X:-99, Y:-99 | Koko: 1x1

[SOVELLUS] xfdesktop
B  Desktop (Rooli: frame) | Pos: X:0, Y:0 | Koko: 1912x1040

[SOVELLUS] xfce4-terminal
B  Terminal - user@workstation-04: ~ (Rooli: frame) | Pos: X:1132, Y:28 |
Koko: 757x999

[SOVELLUS] Google Chrome
B  New Tab - Google Chrome (Rooli: frame) | Pos: X:0, Y:27 | Koko: 1912x1013
B  <NimetC6n ikkuna/elementti> (Rooli: frame) | Pos: X:99, Y:52 | Koko:
1750x88
B  <NimetC6n ikkuna/elementti> (Rooli: frame) | Pos: X:99, Y:52 | Koko:
1750x502

[SOVELLUS] mousepad
B  ~/Downloads/run-log.txt - Mousepad (Rooli: frame) | Pos: X:635, Y:276 |
Koko: 650x514
$

==


$ python3 ast_analyzer.py search "address.*bar"
=== LCYTYI 1 OSUMAA HAKUSANALLA 'address.*bar' ===

Polku:B B main > Google Chrome > New Tab - Google Chrome > panel > panel >
panel > panel > tool bar > panel > Address and search bar
Nimi:B B B'Address and search bar'
Rooli:B B entry
Sijainti: X:158 Y:78 | Leveys: 1649 Korkeus: 24
Tilat:B B editable, enabled, focusable, sensitive, showing, single line,
visible, supports autocompletion, selectable text
------------------------------------------------------------
$

==


$ python3 ast_analyzer.py click 158,78
=== PARAS OSUMA KOORDINAATTIIN X:158, Y:78 ===

DOM/AST Hierarkiapolku (PC$C$ltC$ -> kohteeseen):
 [desktop frame] 'main' -> X:0 Y:0 1024x768
   [application] 'Google Chrome' -> X:0 Y:0 0x0
     [frame] 'New Tab - Google Chrome' -> X:0 Y:27 1912x1013
       [panel] '<nimetC6n>' -> X:0 Y:27 1912x1013
         [panel] '<nimetC6n>' -> X:0 Y:27 1912x1013
           [panel] '<nimetC6n>' -> X:0 Y:27 1912x1013
             [panel] '<nimetC6n>' -> X:0 Y:67 1912x46
               [tool bar] '<nimetC6n>' -> X:0 Y:67 1912x46
                 [panel] '<nimetC6n>' -> X:121 Y:73 1706x34
                   [entry] 'Address and search bar' -> X:158 Y:78 1649x24

=== Kohde-elementin tiedot (JSON) ===
{
  "name": "Address and search bar",
  "role": "entry",
  "states": [
    "editable",
    "enabled",
    "focusable",
    "sensitive",
    "showing",
    "single line",
    "visible",
    "supports autocompletion",
    "selectable text"
  ],
  "bounding_box": {
    "x": 158,
    "y": 78,
    "width": 1649,
    "height": 24
  },
  "children_count": 0
}
$