I am trying to create a Gui that lets me enter a phone number, order number and due date variable set along with some text, and have it copy to the clipboard for me to paste elsewhere. I have searched various forums and tried the manual but reading coding manuals have never got me anywhere. heres the code i have that isnt working.

There are several points here, that can be improved:1 - The repeated use of Ctrl+Alt+Num1 will cause trouble with assigning the same variable to multiple controls.2 - The ButtonCopy syntax works for Gui #1, if you have Gui #3, you need 3ButtonCopy.3 - Check out Gui, Submit

wolf_II wrote:1 - The repeated use of Ctrl+Alt+Num1 will cause trouble with assigning the same variable to multiple controls.

I had only used it once i DID however have to move your placement of the ^!Numpad1:: Gui, 3: Show, w200 h200, OpsDeland to above the GUI, Add block of text in order for the Gui to show more than just a blank GUI.

; Placeholder() - by infogulch for AutoHotkey v1.1.05+; ; to set up your edit control with a placeholder, call: ; Placeholder(hwnd_of_edit_control, "your placeholder text"); ; If called with only the hwnd, the function returns True if a ; placeholder is being shown, and False if not.; isPlc := Placeholder(hwnd_edit); ; to remove the placeholder call with a blank text param; Placeholder(hwnd_edit, ""); ; http://www.autohotkey.com/forum/viewtopic.php?p=482903#482903;

Generate:;;Switched to G-Labels as they made everything more clear and work well. Gui, Submit, NoHideIf Dispatch{Clipboard= URGENT Order Jeopardy -%BTN%-%SO%- Due %Date%- Dispatch Needed;Gui, 3:Destroy ((Commenting this out prevented the information from being lost After clicking Generate))}Else{Clipboard= URGENT Order Jeopardy -%BTN%-%SO%- Due %Date%- Does not need Dispatch;Gui, 3:Destroy};MsgBox,, Clipboard, %Clipboard%, 3Return