Jump to content

Copy text from MsgBox?


 Share

Recommended Posts

Is there a way to copy text that's populated in a message box? I've searched the forum but cant seem to find that option for msgbox specifically.

 

For example:  I query the machine for some values and populate a msgbox window. Sample below..

TCPStartup()
    $sIP = TCPNameToIP(@ComputerName)
TCPShutdown()

Local $String = StringUpper( @UserName )
MsgBox (64,"  " & @LogonDomain & " \ " & $String , "Hostname =" & @ComputerName & "   IP =" & $sIP)

Then I can instruct the user to copy and paste the info from the msgbox into a different form for something else. 

Thank You

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