Sign in to follow this  
Followers 0
Champak

Classnamenn

2 posts in this topic

This damn script is so good I didn't go to my bed last night playing with this thing. Now I need to sleep and I can't figure out one last thing, hopefully someone can help me out with this because I couldn't find the solution.

What I need to do is (I'm getting this info from the "Active Window Info") copy the 'Text' of the current 'ClassNameNN' to the clipboard.

Thanks

Share this post


Link to post
Share on other sites



This damn script is so good I didn't go to my bed last night playing with this thing. Now I need to sleep and I can't figure out one last thing, hopefully someone can help me out with this because I couldn't find the solution.

What I need to do is (I'm getting this info from the "Active Window Info") copy the 'Text' of the current 'ClassNameNN' to the clipboard.

Thanks

$ControlText = ControlGetText($WindowName, $TextOfControlIfAny, $ClassNameNN)
ClipPut($ControlText)
... But it would be just as simple as to keep it in the variable if you are going to use it. What are you working on (If you don't mind me asking)?

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

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