WinWaitActive MSN Fenster?

  • Hi Leute,

    folgendes:

    ich möchte ein ganz simples Script machen und zwar soll das warten, bis ein Fenster Active ist.

    Die sstellt jedoch ein Problem dar, da sich das Fenstername von MSN immer ändert.

    Beispiel:

    Joyce - Unterhaltung
    So ist der Titel nun, aber wenn ich mit anderen schreibe, ändert sich das.

    Könnte man das irgendwie machen, dass Autoit nur das " - Unterhaltung" ausliest?

    MFG

    Einmal editiert, zuletzt von Desaster (31. Juli 2008 um 18:34)

  • Opt( 'WinTitleMatchMode', 2 )

    müsste dir hier helfen ;)

    Spoiler anzeigen


    WinTitleMatchMode Alters the method that is used to match window titles during search operations.
    1 = Match the title from the start (default)
    2 = Match any substring in the title
    3 = Exact title match
    4 = Advanced mode, see Window Titles & Text (Advanced)
    -1 to -4 = force lower case match according to other type of match.

    limette =)

    There are only 10 types of people in the world:
    Those who understand binary - and those who don't.

  • Ansonsten würde auch gehn

    [autoit]


    WinWaitActive('[CLASS:IMWindowClass]')

    [/autoit]