rinox Posted December 24, 2011 Posted December 24, 2011 Hi, to all I need a small automation that will send a key to an app in certain condition. In particular I ned to check a control (slider) position change named class ID 1180244 or classnameNN TTnTPanel.UnicodeClass6 (is the same) and after that send a keyboard key. So I need to start the trig on click over control and send a keystroke "onmouse out". Hope someone can help me... thanks to all in advantage.
Developers Jos Posted December 24, 2011 Developers Posted December 24, 2011 Great, what do you have and did you try? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
rinox Posted December 24, 2011 Author Posted December 24, 2011 (edited) I have under my eyes the function reference help, but really don' t know how to start in this case, I made some other apps but it' s the first time that I encounter such a need. The window title change (is a player) a title change with the playing contents. Edited December 24, 2011 by rinox
rinox Posted December 24, 2011 Author Posted December 24, 2011 $pos = ControlGetPos("[CLASS:TTntPanel.UnicodeClass; INSTANCE:6]", "", "") how to store to a variable and then check when will change?
Zedna Posted December 25, 2011 Posted December 25, 2011 ControlGetPos give you X,Y position of control, not its value. If it's real slider control then you can use ControlGetHandle and _GUICtrlSlider_GetPos. Resources UDF ResourcesEx UDF AutoIt Forum Search
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