Hey-Ho and Off We Go with HTML5
RM
richmondmathewson at gmail.com
Wed Mar 2 03:01:59 EST 2016
On 29.02.2016 22:19, RM wrote:
>
>
> On 29.02.2016 22:13, RM wrote:
>>
>>
>> On 29.02.2016 21:29, RM wrote:
>>> So:
>>>
>>> I made a stack with a button and 2 fields in LiveCode 8.0 DP 15 and
>>> a spot of
>>> scripting in the button, and exported the thing as an HTML5
>>> standalone, then opened
>>> the generated page in Firefox, and (apart from the slightly squiffy
>>> aesthetics) the thing
>>> looked and behaved exactly like the original stack.
>>>
>>> Rocks!
>>>
>>> So . . . . I am getting all revved-up to generate an HTML page for
>>> University students of my
>>> wife's to do a gap-fill exercise, AND, having clicked on a "SUBMIT"
>>> button to have the results
>>> put into a merry text-file and e-mailed to my wife.
>>>
>>> AND the question is: can anybody tell me how to send a text file
>>> generated in Livecode
>>> to an email address?
>>>
>>> Richmond.
>>
>> So: I popped this in a button of my stack:
>>
>> on mouseUp
>> revMail "ZZZ at gmail.com", "QQQ at gmail.com", "Test", "Message sent
>> from LiveCode-HTML5"
>> end mouseUp
>>
>> From the stack that button opened my email client (Thunderbird) and
>> filled in all the required boxes.
>>
>> Absolutely fantastic!!!
>>
>> BUT, from the same stuck, once hived-off as an HTML5 thing the button
>> didn't work.
>>
>> Richmond.
>
> The next question, inevitably, is what will happen if one's end-user
> accesses their e-mail via
> a web-browser and has no configured e-mail client installed on their
> computer?
>
> R.
I have just run that stack on a computer at my school which has no
e-mail client configured:
clicking the button resulted in absolutely nothing.
What I would love is a way for a way for a stack to "phone home" when an
end-user clicks on a button
[Quick clarification here: I don't mean "phone home" in a sneaky,
underhand sort of way which some software does, but send an e-mail
message to some e-mail address when an end-user clicks on a button and
asks them if they object to a message being sent]
Preferably this would be WITHOUT the message having to go via the
client's e-mail system as:
1. The message should be anonymous.
2. The end-user may have no e-mail client configured.
http://forums.livecode.com/viewtopic.php?f=6&t=26704
Richmond.
More information about the use-livecode
mailing list