mobileComposeHTMLMail

Randy Hengst iowahengst at mac.com
Sat Nov 28 09:50:10 EST 2015


Hi Klaus,

Yes, excellent. It did the trick. Thank you very much!

be well,
randy

Randy Hengst
www.classroomFocusedSoftware.com


> On Nov 28, 2015, at 8:38 AM, Klaus major-k <klaus at major-k.de> wrote:
> 
> Hi Randy,
> 
>> Am 28.11.2015 um 15:27 schrieb Randy Hengst <iowahengst at 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
> klaus at major-k.de
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list