[ANN] vCard & iCalendar library

2019-02-18 Thread Andre Garzia via use-livecode
Hi Friends, I am in the process of updating my LiveCode book (http://andregarzia.com/livecode/#livecode-advanced-application-architecture). The demo application for the book is an Address Book stack and while I was writing the "libraries" chapter, I remembered that long ago, I wrote an vCard/

Re: Need crash course in Dropbox library

2019-02-18 Thread pink via use-livecode
I'm getting a little closer... 1. how do I break fileContents into smaller pieces? 2. how do I properly calculate the pOffset value? Matthias Rebbe via use-livecode wrote > Hey pink > Yes, you are just going to put 150MB at a time into the pData parameter > and > ship it. > I have not uploaded a

Re: Need crash course in Dropbox library

2019-02-18 Thread Phil Davis via use-livecode
I'm not sure how this would work in your context, but one way to break up a file into pieces is to use open / read / close like this: # assumes LC 9.0.2 # tMyFolder = path of folder containing the file to upload # tMyFileShortFilename = 'short' filename of file to upload - no path, j

Re: LC902 and LC901 Hang with Answer (was Crash)

2019-02-18 Thread JJS via use-livecode
I just tested it. Then it works as expected and does not hang. Total chars are 705 25 variables of which 13 are encrypted, and that what is encrypted is plain text, single lines of text and/or nr's Op 18-2-2019 om 01:49 schreef Richard Gaskin via use-livecode: JJS wrote: > i guess Ralph is

Re: [ANN] vCard & iCalendar library

2019-02-18 Thread JJS via use-livecode
Thanks! Maybe i can use it in a future project. Op 18-2-2019 om 14:06 schreef Andre Garzia via use-livecode: Hi Friends, I am in the process of updating my LiveCode book (http://andregarzia.com/livecode/#livecode-advanced-application-architecture). The demo application for the book is an Add

Re: LC902 and LC901 Hang with Answer (was Crash)

2019-02-18 Thread Richard Gaskin via use-livecode
JJS wrote: > Op 18-2-2019 om 01:49 schreef Richard Gaskin wrote: >> >> What is the total length of the data? >> >> And what happens when you output it to a field in your stack rather >> than the field in the Answer dialog? > > I just tested it. > > Then it works as expected and does not hang. > >

Re: LC902 and LC901 Hang with Answer (was Crash)

2019-02-18 Thread JJS via use-livecode
I can share it as it is not with the final salt etcetera: id=&blabla1=some&blabla2=realtext&blabla3=dUpYlgY%2Bue9z25iNuQjbXw%3D%3D&blabla4=dUpYlgY%2Bue9z25iNuQjbXw%3D%3D... etcetera i changed the column names to blabla and id is empty because of auto-increment you see the plain text is

sending email and file with mail client

2019-02-18 Thread Hershel F via use-livecode
Hi every one, wondering how i can send an email with an attachment (invoice) direct from my app with user’s email client (mail)? using the revMail only give the possibility for contents of fields, any work arounds or printing into a fld then putting the fld into the email? Thanks in advanced. He

Re: sending email and file with mail client

2019-02-18 Thread Terry Judd via use-livecode
Hi Hershel - If it's a desktop app then you can control the user's email app using either applescript (MacOS) or VBscript (Windows). I've included some template scripts below to get you started (assuming your users have either Mail or Outlook). I store these in custom properties, use merge to re

suspendStack and resumeStack equivalents on mobile?

2019-02-18 Thread Terry Judd via use-livecode
Pretty sure this has been covered before but couldn’t locate the email thread. I’m using the ‘Enable background execution’ option on iOS in order to avoid having to use iOS’s guided access feature to lock users (examiners in this) into our app (thereby avoiding any loss of data/state), and would

Re: LC902 and LC901 Hang with Answer (was Crash)

2019-02-18 Thread Richard Gaskin via use-livecode
Thanks. Curious to test this out, I copied the first 110 characters of that sample data and pasted into a field 10 times, resulting in more than 1k of text with no line breaks. When I used: answer the text of fld 1 ...I get the answer box appearing as expected, with the text cut off at a

Re: sending email and file with mail client

2019-02-18 Thread Tom Glod via use-livecode
Terry, I learned so much from your answer, thanks for taking the time. On Mon, Feb 18, 2019 at 5:38 PM Terry Judd via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Hershel - If it's a desktop app then you can control the user's email > app using either applescript (MacOS) or VBscript

Re: sending email and file with mail client

2019-02-18 Thread Terry Judd via use-livecode
No worries Tom - glad it was helpful. Terry... Sent from my iPhone > On 19 Feb 2019, at 2:58 pm, Tom Glod via use-livecode > wrote: > > Terry, I learned so much from your answer, thanks for taking the time. > > On Mon, Feb 18, 2019 at 5:38 PM Terry Judd via use-livecode < > use-livecode@list