Jump to content

Controlclick problem


-TS-
 Share

Recommended Posts

Exploring new feats on autoit, And now I decided to attempt using a window without it being active.

Having a problem with the function, that my flv player that Im using does not show Controlclick coords:, Frankly it shows nothing under 'Control', 'Window' it shows its handle, but doesnt even display that under 'Control'. Is there a way around this, or does the player just doesnt support controlclick?

>>>> Window <<<<

Title: FLV K-lite player

Class: ApolloRuntimeContentWindow

Position: 175, 105

Size: 802, 589

Style: 0x16CF0000

ExStyle: 0x00040100

Handle: 0x00010298

>>>> Control <<<<

Class:

Instance:

ClassnameNN:

Name:

Advanced (Class):

ID:

Text:

Position:

Size:

ControlClick Coords:

Style:

ExStyle:

Handle:

>>>> Mouse <<<<

Position: 471, 498

Cursor ID: 0

Color: 0x000000

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<

>>>> Hidden Text <<<<

Link to comment
Share on other sites

AutoIt only recognizes controls created by the standard Windows API. Many applications are created with libraries that draw their own controls without calling the Windows API. AutoIt can't work with those applications except by blind Send() and MouseClick() style work.

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

AutoIt only recognizes controls created by the standard Windows API. Many applications are created with libraries that draw their own controls without calling the Windows API. AutoIt can't work with those applications except by blind Send() and MouseClick() style work.

:)

Blind send()? just normal send? Can only use said program when active.. Thanks for the info.

Link to comment
Share on other sites

Blind send()? just normal send?

By 'blind' I only meant not interfaced directly to the API of the control, as opposed to ControlSetText() for example.

You Send() the keystrokes blindly and hope they go to the right place, or MouseClick() blindly on some X/Y coordinates and hope the right thing is at that location.

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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...