Jump to content

WinWaitActive submenu


Recommended Posts

Yet another question (All these minute differences in command names is really throwing me off)

I need to wait until a certain subwindow within the main window is activated until my next command can go through. I'd use a delay but since it's internet based, my delay could be castly different from someone else's

This is what the Active Window Info shows

Press CTRL-ALT-F to pause the display.

>>>>>>>>>>>> Window Details <<<<<<<<<<<<<

Title: Knight Online Launcher (Egames Global)

Class: #32770

Size: X: 256 Y: 103 W: 512 H: 533

>>>>>>>>>>> Mouse Details <<<<<<<<<<<

Screen: X: 593 Y: 496

Cursor ID: 5

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<

RGB: Hex: 0xFFFFFF Dec: 16777215

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<

Size: X: 36 Y: 182 W: 432 H: 245

Control ID:

ClassNameNN: Internet Explorer_Server1

Text:

Style: 0x56000000

ExStyle: 0x00000000

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<

>>>>>>>>>>> Visible Window Text <<<<<<<<<<<

Register

e-Games

Knight-Online

Exit

>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<

(Yes, another KnightOnline question - sorry)

and my command lines are

Run ("C:\Program Files\e-Games\KnightOnline\KOLauncher.exe")

WinWaitActive ("Knight Online Launcher (Egames Global)","Internet Explorer_Server1")

MouseMove (593, 496, 0)

But it never activates the mouse movement this way.

What's wrong???

Link to comment
Share on other sites

Run ("C:\Program Files\e-Games\KnightOnline\KOLauncher.exe")

WinWaitActive ("Knight Online Launcher (Egames Global)","Internet Explorer_Server1")

MouseMove (593, 496, 0)

But it never activates the mouse movement this way.

What's wrong???

There isn't a function to wait for the window within a window to become active. WinWaitActive only works for actual windows, not graphically created windows inside of another window. You might want to look into pixelcheck, or pixelsearch.

Nomad :D

Link to comment
Share on other sites

I created a PixelGetColor function and tried to use in junction with While but it didnt work.

$ContinueButton = PixelGetColor (609, 535)

While $ContinueButton=15526360

MouseMove (333, 535, 0)

MouseClick ("Left")

WEnd

What'd I do wrong here?

Anybody know how my User and everything else changed from Rauchster to Examiner?

Rauchster posted this, and to me it's showing up as Examiner's post - weird.

Edited by Examiner
Link to comment
Share on other sites

Anybody know how my User and everything else changed from Rauchster to Examiner?

Rauchster posted this, and to me it's showing up as Examiner's post - weird.

"Welcome to AutoIt 1-2-3" program logged you in as Examiner perhaps?

Log out and log back in as yourself.

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