Sign in to follow this  
Followers 0
Lord_Doominik

help requested

4 posts in this topic

#1 ·  Posted (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 by Lord_Doominik

Share this post


Link to post
Share on other sites



no idea? is it possible?

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by LxP

Share this post


Link to post
Share on other sites

oh o.O... sry, ^^... i thought that you should check each with ControlGetFocused... then my problem is solved...

Share this post


Link to post
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
Sign in to follow this  
Followers 0