quaizywabbit Posted March 2, 2005 Share Posted March 2, 2005 (edited) Anybody have advice on how to work with these? a different spy tool perhaps? I'll use windows Media player as an example... Most of the controls on it are skinned (Volume slider, play and Mute buttons, etc...) So the AutoIt info tool shows no useful info for them. Since skinned applications are becoming more and more prevalent, I hope the VERY experienced people here with the capacity to figure out this dilemma will make a "better mousetrap" Edited March 2, 2005 by quaizywabbit [u]Do more with pre-existing apps![/u]ANYGUIv2.8 Link to comment Share on other sites More sharing options...
Alterego Posted March 3, 2005 Share Posted March 3, 2005 did you try using the ctrl + whatever key combinations? looks like most actions can be accomplished that way. This dynamic web page is powered by AutoIt 3. Link to comment Share on other sites More sharing options...
quaizywabbit Posted March 3, 2005 Author Share Posted March 3, 2005 (edited) Not every skinned program is going to have hotkey combinations for every control..... if i can click it or drag it with the mouse, then there should be some way to identify it to AutoIT. if a mouse click can momentarily alter that controls appearance(push and release), or a "click and drag" can move a slider, then the OS somehow is involved in that process, therefore, there must be a way that the OS knew what happened, and how to respond. From what I've learned here, even non-standard controls have a hWnd, just detecting the control properly is the shortcoming...... Maybe it would be easier to just get a master list of hWnd's current on the system, and then work in reverse to retrieve things like controlID, classname, etc.... Edited March 3, 2005 by quaizywabbit [u]Do more with pre-existing apps![/u]ANYGUIv2.8 Link to comment Share on other sites More sharing options...
Lazycat Posted March 3, 2005 Share Posted March 3, 2005 Not all skinning methods use this technique, so it is not obligatory that these controls will have handles. I seen skins that only one big picture with active "zones" on it. So simple idea (untested): I think possible to create array with predefined coordinates relative to program window. Then you can anytime get window position and calculate position where need to click. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
quaizywabbit Posted March 3, 2005 Author Share Posted March 3, 2005 Thanks Lazycat! [u]Do more with pre-existing apps![/u]ANYGUIv2.8 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now