Hi Randy, > Am 28.11.2015 um 15:27 schrieb Randy Hengst <iowahen...@mac.com>: > > Hi All, > > I’m messing with mobileComposeHTMLMail iOS for the first time. I’ve read the > dictionary entry and reviewed mail archives and have been able to get > everything working except including an attachment. > ... > --- create the attachment screen shot > set the defaultFolder to specialFolderPath("Documents") > export snapshot from rect (the rect of button "playingSurfaceBUTTON" of > card "gameCard") to file "SENDdemo.jpg" as JPEG > > ## put defaultFolder into tAttachments[1]["file“]
## FILE, not folder, so this should do the trick: put specialfolderpath("documents“) & "/SENDdemo.jpg“ into tAttachments[1]["file“] > put "application/jpg" into tAttachments[1]["type"] > put "SENDdemo.jpg" into tAttachments[1]["name"] > > mobileComposeHTMLMail tSubject, tToAddress, tCC, tBCC, tBodyAsHTML, > tAttachments > end mouseUp > > be well, > randy > > Randy Hengst > www.classroomFocusedSoftware.com <http://www.classroomfocusedsoftware.com/> Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode