Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 04:41

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



FF.au3 _FFGetPosition

Discussion on FF.au3 _FFGetPosition within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2012
Posts: 100
Received Thanks: 9
FF.au3 _FFGetPosition

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 :/

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))
Fusselchön is offline  
Reply




All times are GMT +1. The time now is 04:42.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.