-TS- 0 Posted February 15, 2011 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 <<<< Share this post Link to post Share on other sites
PsaltyDS 39 Posted February 15, 2011 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 Share this post Link to post Share on other sites
-TS- 0 Posted February 15, 2011 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. Share this post Link to post Share on other sites
PsaltyDS 39 Posted February 15, 2011 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 Share this post Link to post Share on other sites