I'm very happy with using FastKeys for my work. Sending the same message over and over and over again made a lot easier with FastKeys.
Now I'm comfortable using FastKeys, I was working on a Gui script, and got it running as good as possible. However, I would like to send out the text on the Send line as HTML.
I'm using ZenDesk a lot for emails, and need to request certain documents over and over again. So I created this script:
Code: Select all
Gui, New, AlwaysOnTop, Test
Gui, Add, Text,,PL Name
Gui, Add, Edit, vName
Gui, Add, Text,,LinkID:
Gui, Add, Edit, vLinkID
Gui, Add, Text,,LinkPOA:
Gui, Add, Edit, vLinkPOA
Gui, Add, Text,,LinkCredit:
Gui, Add, Edit, vLinkCredit
Gui, Add, CheckBox, vIDDoc, ID Doc
Gui, Add, CheckBox, vPOA, POA
Gui, Add, CheckBox, vCredit, Credit Card
Gui, Add, Button, Default, Submit1
Gui, Show
return
ButtonSubmit1:
Gui, Submit
Send, Dear %Name% this is a test.{Enter}{Enter}
if (IDDoc = 1)
{
Send, This is a test test <a href="%LinkID%">ID Link</a>
}
else
Sleep 100
if (POA = 1)
{
Send, This is a test test <a href="%LinkPOA%">POA Link</a>
}
else
Sleep 100
if (Credit = 1)
{
Send, This is a test <a href="%LinkCredit%">Credit Card link</a>
}
else
Sleep 100
Gui, Destroy
return