Hi, Ich versuche mit _FFGetPosition und einem MouseMove meinen mauszeiger auf einen div zu positionieren, allerdings bekomm ich nie die richtigen koordinaten/bin zu blöd damit umzugehn.
0 X position of the element (relative to the document)
1 Y position of the element (relative to the document)
2 X position of the content area (relative to the window client)
3 Y position of the content area (relative to the window client)
4 width of the content area
5 height of the content area
Das sind die Koordinaten die ich bekomme, ich habe versucht meine maus an die Stelle 2/3 zu bewegen was allerdings mitten oben auf der fensterleiste ist :/
0 X position of the element (relative to the document)
1 Y position of the element (relative to the document)
2 X position of the content area (relative to the window client)
3 Y position of the content area (relative to the window client)
4 width of the content area
5 height of the content area
Das sind die Koordinaten die ich bekomme, ich habe versucht meine maus an die Stelle 2/3 zu bewegen was allerdings mitten oben auf der fensterleiste ist :/
Code:
$pos = _FFGetPosition("window.content.wrappedJSObject.document.getElementById('meinDiv') ")
MouseMove($pos[2], $pos[3])
MsgBox(0,"test", "Coordx soltle sein: "& $pos[2]&" Coordy sollte sein: "&$pos[3]&" ist aber: "&MouseGetPos(0) &" : "&MouseGetPos(1))