Hi te_lanus,
I got the solution for your part

, since the window (to load roms) will not always appear on the same section of the screen, you need to get the X & Y position of it first, so:
1. Get the X & Y values of the top of the window.
2. then mousemove a certain of pixels from that location to a button.
I have tried to explain it here:
This would be the EXAMPLE code:
Code: Select all
If Not WinActive(" DCEXEL périphériques","") Then WinActivate(" DCEXEL périphériques","")
WinWaitActive(" DCEXEL périphériques","")
$coord = WinGetPos(" DCEXEL périphériques")
; Cartouche
MouseMove($coord[0] + 370, $coord[1]+ 70)
; Exelmemoire
MouseMove($coord[0] + 370, $coord[1]+ 100)
; Disque A
MouseMove($coord[0] + 370, $coord[1]+ 130)
; Disque B
MouseMove($coord[0] + 370, $coord[1]+ 160)
; Cassette
MouseMove($coord[0] + 370, $coord[1]+ 190)
The same goes for the "OK" button to be pressed. If you don't understand, feel free to ask
