MEmu mit Autoit ansprechen

10/04/2016 10:21 timy17#1
Hey!

Ich bin gestern von NOX App player ( gezwungenermaßen) auf MEmu gewechselt.

Jetzt habe ich das Problem, dass ich MEmu nicht mit Controlclicks angesprochen bekomme.

1.
Kann mir jemand sagen, wo mein Fehler liegt? Ist auch ein recht einfaches Script und hat nur Basisfunktionen, erfüllt jedoch seinen Zweck.

2.
Wo müsste ich welche Zeile Code einfügen, um dem fenster eine bestimmte Größe zuzuordnen, auch wenn es im Hintergrund ist?



es gäbe bestimmt einfachere Möglichkeiten, dies zu bewerksteligen, jedoch hat es bisher unter NOX problemlos funktioniert.

Danke im Voraus!

P.S. name des Fensters ist MEmu 2.8.6 - MEmu

Hey!

I had to switch from nox to MEmu lately.

No i got the problem that i cant send control clicks to the memu window

1.
Could some1 tell me, where is my failure in code? there is no big deal in functionality, but was doing its job with Nox.


2.
where do i have to enter which line of code to resize the window, even if its in the background?

For the Code see the above Post!

I know there might be easier ways to do what my script is doing, but it is (well, was) working so i havent seen any use in enhancing it.


Thanks in advance for any help!

P.S. name of the window is MEmu 2.8.6 - MEmu
10/05/2016 07:01 Moneypulation#2
Hast du mal geprüft ob du auch den richtigen Window Handle in $HWnD bekommst? Du kannst auch mal die AutoIt Window Info benutzen, um den Handle und ControlID hardzucoden und dann schauen obs geht. Manchmal brauchst du auch die ControlID