Ich hab mich mal bissl mit den "Autoit Windoof info" tool befast.
Man kan die instance eines Objektes ermittel. Nun will ich das ein scribt eine gewisse instance anklick. Ist die realisierbar. Vielen dank schonmal
Instance
-
- [ offen ]
-
GegX -
2. November 2009 um 14:39 -
Geschlossen -
Erledigt
-
-
Ja,
s. Hilfe Funktion ControlClick ().
;-))
Stefan -
so ganz funktioniert das noch nicht oder ich stell mich zu doof an. wrs zweiteres^^.
kan mir mal jemand ein bsp schreiben wie man die "8" instance bei zum beispiel einer inet seite anklickt -
Hi,
dann poste mal Code und Infos vom InfoTool.
;-))
Stefan -
nim ein fach den tool und wähle mit dem "Finder tool ein youtube vidoe auf.
das ist mein momentanes ziel>>>> Window <<<<
Title: YouTube - SHORTCUTS youtube video competition - Mozilla Firefox
Class: MozillaUIWindowClass
Position: -4, -4
Size: 808, 578
Style: 0x15CF0000
ExStyle: 0x00000100
Handle: 0x001201EA>>>> Control <<<<
Class: MozillaWindowClass
Instance: 8
ClassnameNN: MozillaWindowClass8
Advanced (Class): [CLASS:MozillaWindowClass; INSTANCE:8]
ID:
Text:
Position: 5, 226
Size: 640, 385
ControlClick Coords: 172, 113
Style: 0x50000000
ExStyle: 0x00000000
Handle: 0x001E0198>>>> Mouse <<<<
Position: 177, 365
Cursor ID: 0
Color: 0xF2F3F1>>>> StatusBar <<<<
>>>> Visible Text <<<<
-
Benutz doch einfach die IE.au3 oder die FF.au3. Damit hast du die Browserautomation wesentlich vereinfacht o.o