Lord_Doominik Posted July 16, 2005 Share Posted July 16, 2005 (edited) i want to add the feature, that you can copy some text of a gui window for my browser... cause the normale windows hotkey strg+c is turned off in an autoit gui... so i need an autoitfunction for copy some text... SOLVED found the ClipPut() function... ^^ ----------------------------------------------------------------------------------------------------- but the next problem... how to make an ifcase, which asks for the focused control? o.O i mean without asking for each control... with ControlGetFocus you have to ask each control, if it's focused... that sucks, because i don't want to write so many lines... Edited July 16, 2005 by Lord_Doominik Link to comment Share on other sites More sharing options...
Lord_Doominik Posted July 17, 2005 Author Share Posted July 17, 2005 no idea? is it possible? Link to comment Share on other sites More sharing options...
LxP Posted July 17, 2005 Share Posted July 17, 2005 (edited) I don't quite understand what you're asking. Are you trying to find the control that has keyboard focus? ControlGetFocus() will return the control that has focus -- you don't need to run it for each control on the window.Could you please explain what you're trying to achieve? This will give us a better idea of what you're asking. Edited July 17, 2005 by LxP Link to comment Share on other sites More sharing options...
Lord_Doominik Posted July 17, 2005 Author Share Posted July 17, 2005 oh o.O... sry, ^^... i thought that you should check each with ControlGetFocused... then my problem is solved... 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