Jump to content

Copy text from MsgBox. Works half


Recommended Posts

 

Hi,

Try this :

$text = ControlGetText("[TITLE:" & $name & ";CLASS:#32770]", "", "[CLASS:Static; INSTANCE:1]")
ConsoleWrite($text & @Lf)

Br, FireFox.

 

Not work for me

That work

Global $name="some title"
Copy()
Func Copy()
    SendKeepActive($name)
    $text = ControlGetText("[TITLE:" & $name & ";CLASS:#32770]", "", "[CLASS:Static; INSTANCE:1]")
    MsgBox(0, "Result", $text)
EndFunc

Thank you both

Edited by nybegblya
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...