Jump to content

Recommended Posts

Posted (edited)

#include <GuiConstants.au3>

GuiCreate("Test", 300, 200)



$Test1 = GUICtrlCreateInput("", 50, 25, 100)
$Test2 = GuiCtrlCreateInput("", 50, 50, 100)
$Button_1 = GUICtrlCreateButton ( "Copy", 50, 175) 
            

GuiSetState()

While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
        Case $msg = $Button_1
            ClipPut(guictrlread($Test1))
    EndSelect
Wend

My question is for the ClipPut

How can I do something like "Test 1:", guictrlread($Test1), "Test 2:" guictrlread($Test2) all copied to clipboard??

Thanks for the help in advance!

Edited by Bhodge

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
×
×
  • Create New...