AutoHotkey Community

It is currently May 27th, 2012, 12:31 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: February 20th, 2009, 1:31 am 
Offline

Joined: February 6th, 2009, 7:04 pm
Posts: 6
Is there a way to send say a mouseclick to a window that is minimized, or in the background(unminimized but not in front)?

Can you do this in a way so that I could browse the internet while it sends the mouseclicks in background?

Thanks for assistance


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 20th, 2009, 6:48 am 
Offline

Joined: February 6th, 2009, 7:04 pm
Posts: 6
i did some searching through doc's and still havent found anything of this sort :(


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 20th, 2009, 3:26 pm 
Offline

Joined: February 17th, 2008, 8:52 pm
Posts: 314
I think ControlClick is what you need but haven't used it. Try search for that via the forums and help documentation.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 20th, 2009, 3:35 pm 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
See the Message Tutorialfor an introduction to using these commands.

Window titles and text are case sensitive. Hidden windows are not detected unless DetectHiddenWindows has been turned on.
:roll:

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2009, 5:19 am 
Offline

Joined: February 6th, 2009, 7:04 pm
Posts: 6
My intent is not to send a message, but to send a mouse click.

Can I send mouseclicks or keyboard hits to minimized/background applications or windows without them becoming maximized or brought to front?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2009, 6:55 am 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
no one can help you :?

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2009, 8:02 am 
Offline

Joined: February 19th, 2009, 6:44 pm
Posts: 125
i can at least answer his question
Quote:
Can I send mouseclicks or keyboard hits to minimized/background applications or windows without them becoming maximized or brought to front?

yes, u can and has been answered above already


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 1st, 2009, 1:59 am 
Alright, the click is not being sent for some reason.

Heres the window spy:
Code:
>>>>>>>>>>( Window Title & Class )<<<<<<<<<<<
Darkfall Online
ahk_class SFMainWindow

>>>>>>>>>>>>( Mouse Position )<<<<<<<<<<<<<
On Screen:   639, 400  (less often used)
In Active Window:   639, 400

>>>>>>>>>( Now Under Mouse Cursor )<<<<<<<<

Color:   0x7DCCCC  (Blue=7D Green=CC Red=CC)

>>>>>>>>>>( Active Window Position )<<<<<<<<<<
left: 0     top: 0     width: 1280     height: 800

>>>>>>>>>>>( Status Bar Text )<<<<<<<<<<

>>>>>>>>>>>( Visible Window Text )<<<<<<<<<<<

>>>>>>>>>>>( Hidden Window Text )<<<<<<<<<<<

>>>>( TitleMatchMode=slow Visible Text )<<<<

>>>>( TitleMatchMode=slow Hidden Text )<<<<


This is my ahk code

Code:
DetectHiddenWindows, On
Loop
{
SetControlDelay -1
ControlClick,,ahk_class SFMainWindow,,LEFT,,NA
Sleep, 4000
}


The click doesnt get sent for some reason, any assistance would be great!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 1st, 2009, 11:53 pm 
Ive been trying to get it send clicks to dfo client also, with no succees, i believe there is hidden window in the dfo client, which could be the problem.


Report this post
Top
  
Reply with quote  
 Post subject: No answers?
PostPosted: September 8th, 2009, 9:09 pm 
bump, curious if this is possible too.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 8th, 2009, 9:13 pm 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
sendmessage
will send mouse clicks but its unlikely you will listen this time either

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject: No answers?
PostPosted: September 9th, 2009, 12:40 am 
bump, curious if this is possible too.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 9th, 2009, 12:42 am 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
bump your an idiot :roll:

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 9th, 2009, 12:50 am 
Offline

Joined: August 26th, 2009, 11:15 pm
Posts: 38
Location: Canada
bump ITT: people who do not r.t.f.m even when its linked to them.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 26th, 2010, 8:35 pm 
sendmessage only send clicks to the visible part of the window.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: chaosad, Exabot [Bot], Google Feedfetcher, jrav and 20 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group