Buttons Drücken lassen

  • Hi,
    Ich habe mal eine Frage,wie kann ich Buttons drücken lassen?
    Das heist z.B. ein Button von einem Programm.

  • Ja dann kommt das Window info nur wo steht die Control ID für den button/taste

  • Wenn du bei dem Link schon warst, hast du das hier gelesen?

    "ID - The internal control ID. The Control ID is the internal numeric identifier that windows gives to each control. It is generally the best method of identifying controls. In addition to the AutoIt Window Info Tool, other applications such as screenreaders for the blind and Microsoft tools/APIs may allow you to get this Control ID"

    Wohl nicht!?

    Gruß
    Daniel

  • Wenn du bei dem Link schon warst, hast du das hier gelesen?

    "ID - The internal control ID. The Control ID is the internal numeric identifier that windows gives to each control. It is generally the best method of identifying controls. In addition to the AutoIt Window Info Tool, other applications such as screenreaders for the blind and Microsoft tools/APIs may allow you to get this Control ID"

    Wohl nicht!?

    Gruß
    Daniel

    UPS Das habe ich schon gelesen sonst hätte ich net gefragt wie man die ID eines Buttons bekommt weil ich das mit WindowsInfo nicht verstehe.

  • Dann geh mal nach /Programme/Autoit3/ und da startest du das Tool Au3info.exe. Der sagt dir zwar oft nicht die ID aber den "ClassNameNN" den kannst du soweit ich weiss genauso verwenden wie die ID.

    Das hab ich alles gegoogelt und ganz fix selbst getestet...

    Gruß
    Daniel

  • Alsooooo:

    danke für deine Bemühungen noch eine letzte frage:

    Wozu ist der Title und der text und stimmt das so:

    [autoit]

    ControlClick("Mein Fenster", "","replyButton1")

    [/autoit]
  • Der Titel legt fest in welchem Fenster du den Button drückst.

    Ob das so stimmt kann ich dir nicht sagen. Wenn "replyButton1" in dem Au3info tool als "ClassNameNN" stand dann sollte das so funktionieren.

    Probier es doch mal aus dann siehste es. Aber sag hier bescheid wenn es so klappt!

    Gruß
    Daniel