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 

Coordinates Problem

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





PostPosted: Sun Jul 06, 2008 7:53 am    Post subject: Coordinates Problem Reply with quote

I spent some time today making some hotkeys to do a few basic tasks for me in a web based video game. Everything works great until I open a tab in FireFox. It moves game on the page down about ½ an inch so none of the hotkeys work until I close the tabs. Is there any way to fix this?
Back to top
n-l-i-d
Guest





PostPosted: Sun Jul 06, 2008 8:05 pm    Post subject: Reply with quote

If you use PixelSearch to control a game in a browser, you'll need to adjust your coordinates if the "layout" changes. Try using delta variables in your code.
Back to top
PurloinedHeart



Joined: 04 Apr 2008
Posts: 114
Location: Canada

PostPosted: Sun Jul 06, 2008 11:55 pm    Post subject: Reply with quote

Maybe http://www.autohotkey.com/docs/commands/CoordMode.htm might help with the problem
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