Re: Successful test
Posted: Thu Dec 27, 2018 3:21 pm
Huh, I never noticed that before. Why, at that rate, I should catch up to Klaus around the next millenia
Questions and answers about the LiveCode platform.
https://forums.livecode.com/
Code: Select all
put the internet date into d
convert d to dateItems
add 5790 to item 3 of d
convert d to internet date
I explained that here:What did I miss? Link?
Shear laziness on my part, along with having to supply yet another sign in ( I just realized I am up to 3 different logins for Lc already, a new record for me! )
Code: Select all
on mouseEnter
put the long time && (the keysDown) && (the shiftKey) into fld "OUT"
end mouseEnter
Code: Select all
<div style='display:none;'><form>
<input id='inputData' type='file' onchange='readFile()'>
</form> <a id='saveData'></a></div>
<script> function readFile() {
var inputData = document.getElementById('inputData');
var reader=new FileReader(); reader.onload=function() {
document.liveCode.findStackWithName('TestReadFile').
JS(reader.result, inputData.files[0].name); };
reader.readAsDataURL(inputData.files[0]); };
function saveFile(txt,data) {
var saveData = document.getElementById('saveData');
saveData.setAttribute('download',txt);
saveData.setAttribute('href',data); }; </script>