Jump to content

Sending Mouse Click on Full Screen App


Recommended Posts

Hi !

I'm looking for code to send mouse click's to an flash aplication that are in full screen on my secondary monitor.

I want use _MouseClickPlus, beacause MouseClick function trap my mouse, and _MouseClickPlus use api function SendMessage (can send 200 clicks while i use the mouse in another application)

The monitor has 1680x1050 resolution

I probe with Coord Mode in "Screen", "Window", and "Client" ...

But I can't find the way to make _MouseClickPlus run. The problem, I think, is the coordinates ... and/or the title/handle of the 'window'

post-53924-1267091913306_thumb.jpg

I use _MouseClickPlus like this:

Local $WindowTitle = "Adobe Flash Player"
Local $WindowClass = "ShockwaveFlashFullScreen"

WinActivate($WindowTitle)
Local $handle = ControlGetHandle(WinGetHandle($WindowTitle), '', $WindowClass)

Local $my_X = 3066
Local $my_Y = 43

_MouseClickPlus($handle, "Left",  $my_X, $my_Y, 1)

Any help ?

Thank in advance, and sorry by my poor english :-(

Edited by AshleyJudd
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...