Using revMail
Posted: Tue Feb 23, 2016 7:17 pm
I need to be able to attach a card saved as a PDF to the revMail on the device. Right now I am able to save the card PDF to my desktop, then put a table into the email, but I want to be able to attach the PDF to the email through live code rather than saving it to the desktop. This is what I have right now:
Does anyone know what to do? Thanks.
Code: Select all
on mouseUp
ask file "Save PDF as:" with "Results.pdf" if it is empty then exit mouseUp
open printing to PDF it
print card "Orientation" of stack "Untitled 1" into the printRectangle
print break
print card "P-TA" of stack "Untitled 1" into the printRectangle
print break
print card "RetroGrade" of stack "Untitled 1" into the printRectangle
print break
print card "Concentration" of stack "Untitled 1" into the printRectangle
print break
print card "Memory" of stack "Untitled 1" into the printRectangle
close printing
revMail "livecodemobile@runrevcom",,"Daily Symptom Log", field "TestScore"
end mouseUp