Fenster eindeutig erkennen

  • Hallo zusammen.

    Ich habe mehrere Fenster, die den selben Titel haben, aber verschiedene "Visible Texte"

    Spoiler anzeigen


    >>>> Window <<<<
    Title: XX Programm 2009
    Class: #32770
    Position: 432, 188
    Size: 816, 644
    Style: 0x94CA00CC
    ExStyle: 0x00010101
    Handle: 0x000B0900

    >>>> Control <<<<
    Class:
    Instance:
    ClassnameNN:
    Advanced (Class):
    ID:
    Text:
    Position:
    Size:
    ControlClick Coords:
    Style:
    ExStyle:
    Handle: 0x000B0902

    >>>> Mouse <<<<
    Position: 944, 202
    Cursor ID: 2
    Color: 0xAEC7E1

    >>>> StatusBar <<<<

    >>>> Visible Text <<<<
    <div><font style=font-family:Arial;font-size:14pt;font-weight:bold;color:0,0,0>XX Programm 2009<div><font style=font-size:10pt;font-weight:bold>
    <font style="font-family:Arial;"><a href="App://Readme">
    <div style="position:absolute; left:15; top:10;">
    <img src="rc://STRID_BMP_READ_DOC_PIC"/></div>
    <div style="position:absolute; left:70; top:5;">
    <font style="font-weight:bold; color:92,92,92; font-size:18;text-decoration:underline;">D</font>
    <font style="font-weight:bold; color:92,92,92; font-size:18;">okumentation lesen</font><br/>
    <font style="color:black; font-size:9;">Readme-Datei, Installationshandbuch und sonstige wichtige Dokumentation lesen und drucken.</font></div>
    <div style="position:absolute; left:390; top:5"></div></a></font>
    <font style="font-family:Arial;"><a href="App://Install">
    <div style="position:absolute; left:15; top:10;">
    <img src="rc://STRID_BMP_INSTALL_PIC"/></div>
    <div style="position:absolute; left:70; top:5;">
    <font style="font-weight:bold; color:92,92,92; font-size:18;;text-decoration:underline;">P</font>
    <font style="font-weight:bold; color:92,92,92; font-size:18;">rodukte installieren</font><br/>
    <font style="color:black; font-size:9;">Standardinstallation auf dieser Arbeitsstation durchführen.</font></div>
    <div style="position:absolute; left:390; top:5"></div></a></font>
    <font style="font-family:Arial;"><a href="App://Deploy">
    <div style="position:absolute; left:15; top:10;">
    <img src="rc://STRID_BMP_DEPLOY_PIC"/></div><div style="position:absolute; left:70; top:5;">
    <font style="font-weight:bold; color:92,92,92; font-size:18;;text-decoration:underline;">E</font>
    <font style="font-weight:bold; color:92,92,92; font-size:18;">inrichtungen erstellen</font><br/>
    <font style="color:black; font-size:9;">Vorkonfigurierte Einrichtungen zum Installieren von Produkten auf Client-Arbeitsstationen erstellen.</font>
    </div><div style="position:absolute; left:390; top:5"></div></a></font>
    <font style="font-family:Arial;"><a href="App://InstallTools">
    <div style="position:absolute; left:15; top:10;">
    <img src="rc://STRID_BMP_INSTALL_TOOLS_PIC"/></div>
    <div style="position:absolute; left:70; top:5;">
    <font style="font-weight:bold; color:92,92,92; font-size:18;"></font>
    <font style="font-weight:bold; color:92,92,92; font-size:18;;text-decoration:underline;">W</font>
    <font style="font-weight:bold; color:92,92,92; font-size:18;">erkzeuge und Dienstprogramme installieren</font><br/>
    <font style="color:black; font-size:9;">Netzwerklizenzdienstprogramme, Administrations- und Berichtswerkzeuge installieren.</font></div>
    <div style="position:absolute; left:390; top:5"></div></a></font>
    &Beenden


    >>>> Hidden Text <<<<

    Spoiler anzeigen


    >>>> Window <<<<
    Title: XX Programm 2009
    Class: #32770
    Position: 436, 191
    Size: 816, 644
    Style: 0x94CA00CC
    ExStyle: 0x00010101
    Handle: 0x000C0900

    >>>> Control <<<<
    Class:
    Instance:
    ClassnameNN:
    Advanced (Class):
    ID:
    Text:
    Position:
    Size:
    ControlClick Coords:
    Style:
    ExStyle:
    Handle: 0x000B0908

    >>>> Mouse <<<<
    Position: 831, 217
    Cursor ID: 2
    Color: 0xFFFFFF

    >>>> StatusBar <<<<

    >>>> Visible Text <<<<
    <div><font style=font-family:Arial;font-size:14pt;font-weight:bold;color:0,0,0>ABC<div><font style=font-size:10pt;font-weight:bold>Installationsassistent
    <font style=font-family:Arial;font-size:12pt;font-weight:bold;color:92,92,92>Wählen Sie die zu installierenden Produkte
    <div style="position:absolute; top:5; left:5; width:220"><font style="font-family:Arial; font-size:10pt; font-weight:bold; color:92,92,92"> Informationen </font> <font style="font-family:Arial; font-size:8pt; color:0,170,221"><div style="position:relative; left:5; top:25; width:10"><img src="Images\Dot.gif"></div>
    <div style="position:relative; left:19; top:10; width:180"><a href="hh.exe://\Docs\INVENTOR_INSTALL.chm::/HELP_CC_LIBRARIES.htm"> Was sind ABCs? </a></div>

    <div style="position:relative; left:5; top:25; width:10"><img src="Images\Dot.gif"></div>
    <div style="position:relative; left:19; top:10; width:180"><a href="hh.exe://\Docs\INVENTOR_INSTALL.chm::/HELP_VAULT.htm"> Was ist ABC? </a></div>

    <div style="position:relative; left:5; top:25; width:10"><img src="Images\Dot.gif"></div>
    <div style="position:relative; left:19; top:10; width:180"><a href="hh.exe://\Docs\INVENTOR_INSTALL.chm::/HELP_ADS.htm"> Wozu sollte ich ABC Server (ABC) installieren? </a></div>

    <div style="position:relative; left:5; top:25; width:10"><img src="Images\Dot.gif"></div>
    <div style="position:relative; left:19; top:10; width:180"><a href="hh.exe://\Docs\INVENTOR_INSTALL.chm::/HELP_CC_UPDATE.htm"> Was ist das Inventor Client-Update für ABC, und wo erhalte ich es? </a></div>

    <div style="position:relative; left:5; top:25; width:10"><img src="Images\Dot.gif"></div>
    <div style="position:relative; left:19; top:10; width:180"><a href="hh.exe://\Docs\adms_install_2009.chm::/WS1a9193826455f5ff662ffb11407b58d526b4.htm"> Wie aktualisiere ich ABC? </a></div>

    <div style="position:relative; left:5; top:25; width:10"><img src="Images\Dot.gif"></div>
    <div style="position:relative; left:19; top:10; width:180"><a href="hh.exe://\Docs\INVENTOR_INSTALL.chm::/HELP_VIEWERS.htm"> Welche Viewer stehen zur Verfügung? </a></div>

    <div style="position:relative; left:5; top:25; width:10"><img src="Images\Dot.gif"></div>
    <div style="position:relative; left:19; top:10; width:180"><a href="hh.exe://\Docs\INVENTOR_INSTALL.chm::/HELP_SYSTEMREQ.htm"> Systemanforderungen </a></div>


    </font>

    </div>
    &Weiter >
    < &Zurück
    &Abbrechen
    <a>Dokumentation</a>
    <a>Unterstützung</a>
    ...
    <font style=font-family:Arial;font-size:8pt>
    <font style=font-family:Arial;font-size:8pt>Software für ... <br/><font style=font-family:Arial;font-size:8pt>Eine neuere Version bereits installiert.
    ...
    <font style=font-family:Arial;font-size:8pt>
    <font style=font-family:Arial;font-size:8pt>Client-Anwendung zum Verwalten von ...<br/>
    Autodesk Data Management Server 2009
    <font style=font-family:Arial;font-size:8pt>
    <font style=font-family:Arial;font-size:8pt>Zugriffsaktivierung für auf diesem Computer gespeicherte Inhaltscenter- und/oder Tresordaten.<br/>
    ...
    <font style=font-family:Arial;font-size:8pt>
    <font style=font-family:Arial;font-size:8pt>... auf diesem Computer.<br/>
    AutoCAD Mechanical 2009
    <font style=font-family:Arial;font-size:8pt>
    <font style=font-family:Arial;font-size:8pt>2D-Konstruktionsanwendung. <br/>
    <font style=font-family:Arial;font-size:8pt>Eine neuere Version bereits installiert.
    Autodesk Design Review 2009
    <font style=font-family:Arial;font-size:8pt>
    <font style=font-family:Arial;font-size:8pt>Anzeige-, Markierungs- und Genehmigungswerkzeuge<br/><font style=font-family:Arial;font-size:8pt>Autodesk Design Review 2009 ist bereits installiert.


    >>>> Hidden Text <<<<
    Arbeitsleiste
    Administrations-Image
    Einrichten

    Ich möchte eindeutig auf das erste Fenster warten (WinWaitActive) und dann eindeutig darauf reagieren (ControlKlick) und dann auf das zweite.
    Könnt ihr mir Tipps geben, wie ich das umsetze?

    Vielen Dank im Voraus,
    Xethria

    EDIT gelöst

    Einmal editiert, zuletzt von Xethria (14. Januar 2009 um 09:35)

  • Sie erscheinen nacheinander, aber beim ersten fenster soll was ausgeführt werden, was beliebig lange dauern kann. und ich möchte nicht, dass das script weiterläuft. da beide fenster ja gleich heissen usw. dachte ich, dass ich ein problem bekommen werde das zweite fenster abzuwarten. mit prozessen kann ich nicht arbeiten, es ist nur einer. nur die fenster vom inhalt ändern sich. und das ist der inhalt vom "visible text".

  • Das hatte ich auch vermutet, hatte aber irgendwie beim ersten versuch nicht geklappt. ich probier es nochmal aus. gut, das aus eurem mund zu hören.
    wenn mein script versteckte texte beachtet, musste das doch auch mit dem hidden-txt gehen oder?