I've tried to convert a script i Use when sending out e-mails from V1 to V2 but I keep running into problems and issues I don't know how to fix..
Is there anyone who could be able to "translate"?
Code: Select all
Sleep, 250
Gui, Destroy
Gui, Add, Text,, date
Gui, Add, MonthCal, vMyCalendar
Gui, Add, Text, xm y+10 w60, TRX time:
Gui, Add, Edit, x+m w100 vTime, HH:MM
Gui, Add, Text, xm y+10 w60, Invitation:
Gui, Add, Edit, x+m w100 vInvite, XXXXXX
Gui, Add, Text, xm y+10 w60, Name:
Gui, Add, Edit, x+m w100 vName, XXXX
Gui, Add, Text, xm y+10 w60, Adress:
Gui, Add, Edit, x+m w100 vAdress,
Gui, Add, Text, xm y+10 w60, RSVP:
Gui, Add, Edit, x+m w100 vPhonenumber, XX XX XX XX
Gui, Add, Button, default, OK
Gui, Show,, Invitation
return
GuiClose:
ButtonOK:
Gui, Submit
Sleep, 250
FormatTime, MyCalendar, %MyCalendar%, dd/MM/yyyy
Run, SendInvite.msg
sleep, 2000
Send, +{tab}
Sleep, 250
Send, {Right 22} %Invite%{sleep 50}{tab}Dear %Name%,{enter 2}You are hereby invited to my %Invite% {enter2}%MyCalendar% at %Time%{enter}%Adress%{enter 2}RSVP %Phonenumber%
ExitApp