AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to retrieve X position?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Wdb



Joined: 27 Feb 2006
Posts: 15
Location: Italy

PostPosted: Mon Feb 27, 2006 5:01 pm    Post subject: How to retrieve X position? Reply with quote

Hi all,
I have an image in an Internet Explorer frame bigger than the screen size.
How may I retrieve the absolute X position of the frame when I go down in the frame? (I.e: by pushing Page Dn).
I tried with

MouseGetPos, X, Y, id, control

but X and Y, in the first and in all subsequent scroll, have always the same value.

Thanks
Wdb
Back to top
View user's profile Send private message
evl



Joined: 24 Aug 2005
Posts: 1239

PostPosted: Mon Feb 27, 2006 8:28 pm    Post subject: Reply with quote

If you ONLY use the page up/down keys to move up and down, you could keep track of how many times they have been pressed and add on to the mouse co-ordinates the number of pixels that are moved with each page up/down. It's not easy to get info out of a web browser so there probably isn't any better way.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group