Jump to content

[Noob] ControlClick


Recommended Posts

Hey... So I am trying get my script to click a certain location in Mozilla Firefox, on a Flash Game.

The aim is for it to click at a certain location while the window is minimized but I'm just getting nothing. My current script:

While 1
ControlClick("[CLASS:MozillaWindowClass INSTANCE:7]", "left", 1, 411, 231)
Sleep(1300)
Wend

I have also tried

While 1
ControlClick("Title - Mozilla Firefox", "left", 411, 231)
Sleep(1300)
Wend

Could anyone please steer me in the right direction?

Link to comment
Share on other sites

Hey... So I am trying get my script to click a certain location in Mozilla Firefox, on a Flash Game.

The aim is for it to click at a certain location while the window is minimized but I'm just getting nothing. My current script:

While 1
ControlClick("[CLASS:MozillaWindowClass INSTANCE:7]", "left", 1, 411, 231)
Sleep(1300)
Wend

I have also tried

While 1
ControlClick("Title - Mozilla Firefox", "left", 411, 231)
Sleep(1300)
Wend

Could anyone please steer me in the right direction?

Try this:

ControlClick(">Title of Mozzila window here<", "", "[CLASS:MozillaWindowClass INSTANCE:7]", "left", 1, 411, 231)
Edited by Qousio
Link to comment
Share on other sites

Try this:

ControlClick(">Title of Mozzila window here<", "", "[CLASS:MozillaWindowClass INSTANCE:7]", "left", 1, 411, 231)
Tried and nothing.

I thought it might be that the Coords were wrong, so I set it on the Position indicated by The Window Info

I set it on the Controlclick Coords

And I used paint to get the coords on the screen. None worked. It just doesn't actually do anything...

Link to comment
Share on other sites

Tried and nothing.

I thought it might be that the Coords were wrong, so I set it on the Position indicated by The Window Info

I set it on the Controlclick Coords

And I used paint to get the coords on the screen. None worked. It just doesn't actually do anything...

Could you show me a screenshot of your Au3info tool ? Then I could tell you for sure.

(Obviously you must hover it over the right class)

Edited by Qousio
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...