I have a bizarre problem regarding the word "process". In the script below the second "s" never shows in the body of the mail regardless of whether I write "process" or proces{Asc 0115}, even though attaching any other {Asc nnnn} shows positive results. Please help!
Code: Select all
Gui,+AlwaysOnTop
Gui, Tab, 7
Gui, Add, Tab2, x42 y20 w390 h310 , RAB
Gui, Add, Edit, vemailrab x232 y110 w160 h30
Gui, Add, Edit, vnamerab x232 y150 w160 h30
Gui, Add, Edit, vprrab x232 y190 w160 h30
Gui, Add, Text, x92 y110 w110 h30 , Email
Gui, Add, Text, x92 y150 w110 h30 , First Name
Gui, Add, Text, x92 y190 w110 h30 , Purchase Request
Gui, Add, Radio, x82 y68 w100 h30 vidm, IDM
Gui, Add, Button, default gok7 x182 y280 w90 h30 , OK
Gui, Show, x226 y116 h383 w483, SU Quickpaste
Gui, Submit, NoHide
Return
check:
Gui, Submit, NoHide
return
ok7:
Gui, submit,
if (IDM = 1)
{
try
IsObject(ObjOutlook := ComObjActive("Outlook.Application"))
catch
ObjOutlook := ComObjCreate("Outlook.Application")
mailItem := ComObj("Outlook.Application").CreateItem(0)
Loop, C:\Users\0101010101\Desktop\cfiles\RAB\*idm*
mailItem.Attachments.Add(A_LoopFileLongPath)
MailItem.Subject := "XXXXXXXXXX required for (" prrab ")"
MailItem.To := emailrab
MailItem.Display
sendinput {Down}
body3 =
(
Hello %namerab%
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
{Tab} 1. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Forms need to be sent to XXXXXXXXXXXXXX - [email protected] XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX for more in-depth information regarding the process for resource engagement.
{enter}
)
sendinput %body3%
}
GuiControl,,emailrab,
GuiControl,,namerab,
GuiControl,,prrab,
Gui Minimize
return
GuiClose:
ExitApp
GuiEscape:
ExitApp