Jump to content

not working mouse or send kay on active


Recommended Posts

Hello

I have a simple problem

I write simple program (very simple):

WinActivate("9Dragons")
send("3")
Sleep(4000) 
send("5")
Sleep(4000) 
send("3")
Sleep(4000) 
send("5")
Sleep(4000) 
send("p")
Sleep(10000)
send("3")
Sleep(4000) 
send("5")
Sleep(4000) 
send("3")
Sleep(4000) 
send("5")
Sleep(4000) 
send("p")
Sleep(10000)

and second

WinActivate("9Dragons")
MouseClick("left",602 , 506, 2, 1)
Sleep(4000) 
MouseClick("left",602 , 506, 2, 1)
Sleep(4000) 
MouseClick("left",602 , 506, 2, 1)
Sleep(4000)

I should klick or press button!

It's not working when it go on the screen with 9dragons

When i try it on notepad it work prefectly but it's not working with 9 dragons window

The name of activate window is good becouse it's changen for this window... and nothing hapends

when i move mouse on any windows window it get back and do what it should do but not on 9dragons window... ;/

http://9dragons.acclaim.com/

Please help HOW i Can active this program?

Date from info window:

>>>> Window <<<<

Title: 9Dragons

Class: X3DKernel

Position: 0, 0

Size: 1024, 768

Style: 0x94CA0000

ExStyle: 0x00000100

Handle: 0x00000000001000C8

>>>> Control <<<<

Class:

Instance:

ClassnameNN:

Advanced (Class):

ID:

Text:

Position:

Size:

ControlClick Coords:

Style:

ExStyle:

Handle: 0x00000000000100B8

>>>> Mouse <<<<

Position: 563, 352

Cursor ID: 0

Color: 0x3E433E

>>>> StatusBar <<<<

>>>> Visible Text <<<<

>>>> Hidden Text <<<<

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