Jump to content

Classnamenn


Recommended Posts

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

Link to comment
Share on other sites

  • Moderators

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)?

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...