Jump to content

Recommended Posts

Posted

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?

Posted (edited)

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
Posted

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...

Posted (edited)

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
Posted

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)

Sure. Here you go.

Posted

try using only the first three parameters

ControlClick ( "title", "text", controlID)

John, I get no ID or Text.

Here's the pic.

post-22118-1241940914_thumb.jpg

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
  • Recently Browsing   0 members

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