mobileComposeMail, attach images [Solved]
Posted: Fri Jul 21, 2017 10:14 pm
Hi all,
How to attach images with mobileComposeMail? I tried so many times but I couldn't make it.. I can't find what is wrong with my code..
Please help if anyone knows the solution.
Thanks for your help in advance!
Louis
How to attach images with mobileComposeMail? I tried so many times but I couldn't make it.. I can't find what is wrong with my code..
Please help if anyone knows the solution.
Code: Select all
on mouseUp
export snapshot from rect 0,0,100,100 of this card to url ("binfile:"&specialFolderPath("documents")&"/Pic.jpg") as JPEG
put specialFolderPath(("documents")&"/Pic.jpg") into tAttachment["data"]
put "image/jpg" into tAttachment["type"]
put "myImage" into tAttachment["name"]
mobileComposeMail ,,,,,tAttachment
end mouseUp
Louis