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 do I send a mouse click relative to the window?

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



Joined: 27 Feb 2008
Posts: 20

PostPosted: Thu May 08, 2008 9:20 pm    Post subject: how do I send a mouse click relative to the window? Reply with quote

Hi. I want to click on screen, but don't want it to be relative to the whole screen, just the active window. The window may move and be resized at times, so I am not sure of how I would do this.
Please advise.

Regards
Back to top
View user's profile Send private message
Mkbailey755



Joined: 20 Aug 2007
Posts: 178

PostPosted: Thu May 08, 2008 9:23 pm    Post subject: Reply with quote

This should get you going
http://www.autohotkey.com/docs/commands/CoordMode.htm[/code]
Back to top
View user's profile Send private message
pt80chip



Joined: 27 Feb 2008
Posts: 20

PostPosted: Thu May 08, 2008 9:33 pm    Post subject: Reply with quote

OK. Seems by default it is relative to active window. That's exactly what I wanted to know.
Thanks
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