autologin für Silkroad...

  • Hallo,


    hab schon einiges aus diesem forum abgeschaut konnte viel dazu lernen möchte micht erstmal auf diesem wege bei euch bedanken.

    Ich sitze schon seit tagen an dem autologin drann und komm auch ehrlich gesagt nicht mehr weiter,der punkt ist der ich möchte einen program executen der im Hintergrund leuft "nach dem Start" Erkennbar ist sie unten an der taskleiste (rechts) mit ihm könnte man noch die Silkroad.exe starten dies geschieht aber nur entweder durch rechts klick > Option>> Game Starten oder rechts klick und Taste (S) ,


    wie könnte ich dies in den Script einfügen so das sie auch startet ohne die Mouse zu bewegen ?.


    Mfg

    Einmal editiert, zuletzt von M@X (18. Januar 2007 um 02:52)

  • Hallo,
    ich kenne zwar das Programm nicht, aber vielleicht gibt es einen Options-Schalter zum Programmaufruf der das Programm startet?

    Bei Nero z.B. gibt es ein extra Programm mit vielen möglichen Startparametern. Damit habe ich meine DVD-Datensicherung hervorragend automatisiert.

    Suche doch mal ob es so was nicht gibt
    z.B. c:\programme\programm.exe /Startsofort
    (ist natürlich nur ein erfundenes Beispiel :)

    Grüße
    Carsten

  • Hi,

    danke für deine antwort


    mein autologin startet dieses programm schon nur danach weisss ich nicht mehr weiter da wie gesagt nach dem Start des programmes sollte man eigentlich noch ein Programm starten können die nur per rechts klick geht.


    Mfg

  • Mit ACTool hab ich mal eins geschrieben, aber bei Autoit kenn ich noch nicht mal nen befehl, such noch verzweifelt nach ner Übersicht.

    Für ACtool kann ich dir weiterhelfen denk ich. Die Wartezeiten an entsprechenden Stellen einfach kürzen, ich weiss ich hab ne alte Kiste:
    CTRL+M trägt dir Mauspositionen ein.


    Script Start
    ______________

    MousePos 57, 846 // Points to shortcut on desktop
    DoubleClick // Doubleclick where the mouse is pointing
    // Delay 2000 // Wait for 2 seconds
    // MousePos 661, 484 // Move mouse to where the AppLocale warning box 'ok' appears
    // LeftClick // Click the 'ok' button in the warning, delete this line if not
    Delay 8000 // Wait for 8 seconds
    MousePos 1044, 740 // Move mouse to Silkroad launcher's Start button
    LeftClick // Click it
    Delay 8000 // Wait 8 seconds while the game loads


    MousePos 787, 652 // Move to the part of the screen where username box appears
    LeftClick // Click it
    delay 1000 // Wait a second
    LeftClick // Click it
    delay 500 // Wait half a second

    Constants
    MyNumber=20 // How many times you want the below to happen
    End

    Loop $MyNumber // Do the following:
    Keys {BACK} // Presses the 'Backspace' key MyNumber amount of times to delete any text already in the field
    End // End of loop


    delay 1000 // Wait a second
    Keys YOURLOGINNAME // Type your username

    delay 1000 // Wait a second
    MousePos 832, 681 // Move to the part of the screen where password box appears
    LeftClick // Click it
    delay 500 // Another short pause

    Constants
    MyNextNumber=20 // How many times you want the below to happen
    End

    Loop $MyNextNumber // Do the following:
    Keys {BACK} // Presses the 'Backspace' key MyNumber amount of times to delete any text already in the field
    End // End of loop

    delay 1000 // Wait a second
    keys YOURPASSWORD // Type your password

    Constants
    MyLastNumber=10 // How many times you want the below to happen
    End

    Loop $MyLastNumber // Do the following:
    MousePos 743, 784 // Move to the part of the screen where login button appears
    LeftClick // Click it
    delay 3200
    End // End of loop

    MousePos 802, 640 // Move to where the Disconnect 'ok' button would pop up
    delay 200 // Wait a bit
    leftclick // Click the hell out of that god damned stupid annoying button
    delay 2500 // Wait for the game to close, stupid Korean trash ><
    restart // Begin anew

    ______
    Script End

    mfg, Hc

  • Zitat

    Original von th.meger
    HI,

    wenn es ein TrayIcon hat, dann kannst du dir die Mouseposition merken, das Trayicon rechts anklicken s drücken und die Mouse zurücksetzen.

    So long,

    Mega


    Danke für die Information denke so wird es klappen nur eines musst du mir aber noch genauer erklären wie du das mit dem Maus zurücksetzen meinst ?

    trayIcon hat sie kann sie auch per rechtsklick und Taste (S) starten.


    mfg