Can some GUI specialists tell me how to type/paste any value to the textarea, input field by clicking GUI button?
For example - I am want to send email and already have stored templates in my GUI, I just need to press button and text should appear on textarea there was my cursor before I clicked the button.
Is it possible at all?
In my demo I trying to paste some content by clicking Gui button, but nothing is happening, just getting some error sound/bell that I clicked smth.
Code: Select all
vEdit := "This is content"
Clipboard = vEdit
Gui, Add, Button, y20 w100 vEdit gTemp, Type value
; ***************** Gui Core ******************
Gui, +AlwaysOnTop
Gui, Show, w120 h100
Gui, Color, Black
return
; ***************** Close GUI ******************
GuiClose:
ExitApp
;~ ; #################################
Temp:
Send, ^v
return