Tag auch
Ich würde gerne von einem Programm mit dem Titel: MorphVOX Pro
eine Combobox ansteuern, und ein bestimmten Text auswählen lassen.
Ich hab mich schon umgesehen und ein Beispiel gefunden welches aber nicht Funtktioniert.
Hier mal das was die Autoit Info sagt:
Spoiler anzeigen
>>>> Window <<<<
Title: MorphVOX Pro
Class: WindowsForms10.Window.8.app.0.33c0d9d
Position: 924, 236
Size: 906, 777
Style: 0x16CF0000
ExStyle: 0x00050100
Handle: 0x00000000000103D6
>>>> Control <<<<
Class: WindowsForms10.COMBOBOX.app.0.33c0d9d
Instance: 2
ClassnameNN: WindowsForms10.COMBOBOX.app.0.33c0d9d2
Name: comboBoxBackground
Advanced (Class): [NAME:comboBoxBackground]
ID: 132172
Text:
Position: 365, 551
Size: 172, 21
ControlClick Coords: 22, 8
Style: 0x56010243
ExStyle: 0x00000000
Handle: 0x000000000002044C
>>>> Mouse <<<<
Position: 1319, 825
Cursor ID: 0
Color: 0x353584
>>>> StatusBar <<<<
>>>> ToolsBar <<<<
Und hier mein Script:
[autoit]ControlCommand("MorphVOX Pro","","WindowsForms10.COMBOBOX.app.0.33c0d9d2","SetCurrentSelection","M4.mp3")
[/autoit]Ich sehe keinen Fehler, aber ich finde Komisch was mir als classnameNN ausgespuckt wird bei der Autoit-Info welches ich für den 3. Parameter brauche.
(WindowsForms10.COMBOBOX.app.0.33c0d9d2)
Gibt es andere Möglichkeiten oder erkennt jemand warum es nicht funktioniert?
Freue mich über Antworten