Skip to content

Instantly share code, notes, and snippets.

@JoeGlines
Created September 16, 2021 12:17
Show Gist options
  • Save JoeGlines/ae19023d9e3b0a4b6bd3c67d24af1602 to your computer and use it in GitHub Desktop.
Save JoeGlines/ae19023d9e3b0a4b6bd3c67d24af1602 to your computer and use it in GitHub Desktop.
#SingleInstance, Force
;**************************************
Gui, +AlwaysOnTop
Gui, Color, cbaac86
Gui, Add, Text, x21 y7 w124, Customer
Gui, Add, Text, x28 y36 w124, Number
Gui, Add, Text, x38 y64 w124, Expiry
Gui, Add, Text, x45 y93 w124, Sec
Gui, Add, Text, x40 y122 w124, Name
Gui, Add, Text, x35 y151 w124, Amount
Gui, Add, Edit, x75 y7 w186 vCust ;The letter "v" in front of each ite the the next 5 rows is what creates/stores the variable
Gui, Add, Edit, x75 y36 w186 vNum
Gui, Add, Edit, x75 y64 w186 vExp
Gui, Add, Edit, x75 y93 w186 vSec
Gui, Add, Edit, x75 y122 w186 vNam
Gui, Add, Edit, x75 y151 w186 vAmt
Gui, Add, Button, x21 y176 w124 h28 gSubmit, Email
Gui, Add, Button, x165 y176 w86 h28 gGuiClose, Exit
; show form
Gui, Show, w265 h223, Calculate EIRP
return
Submit:
Gui, submit
MsgBox % "Here you have your data. This is where you'd proceed with your email"
. "`nCustomer: " Cust
. "`nNumber: " Num
. "`nExpiry: " Exp
. "`nSec: " Sec
. "`nName: " Nam
. "`nAmount: " Amt
return
GuiClose:
ExitApp
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment