Re: Constrain word delimiter to space only

2016-09-17 Thread Mike Bonner
I still forget about trueword. Thanks for the reminder. On Sat, Sep 17, 2016 at 3:56 PM, Richard Gaskin wrote: > Sannyasin Brahmanathaswami wrote: > > > if you do this > > > > put "He said, " & quote & "LiveCode has a very supportive community." > > & quote into

Re: Constrain word delimiter to space only

2016-09-17 Thread Richard Gaskin
Sannyasin Brahmanathaswami wrote: > if you do this > > put "He said, " & quote & "LiveCode has a very supportive community." > & quote into tQuote > put word 3 of the quote > > > you get ""LiveCode has a very supportive community." > > is there a way to contrain the word delimiter to not include

Re: Constrain word delimiter to space only

2016-09-17 Thread Mike Bonner
set the itemdelimiter to space and use that instead. On Sat, Sep 17, 2016 at 3:30 PM, Sannyasin Brahmanathaswami < bra...@hindu.org> wrote: > if you do this > > put "He said, " & quote & "LiveCode has a very supportive community." & > quote into tQuote > put word 3 of the quote > > > you get

Constrain word delimiter to space only

2016-09-17 Thread Sannyasin Brahmanathaswami
if you do this put "He said, " & quote & "LiveCode has a very supportive community." & quote into tQuote put word 3 of the quote you get ""LiveCode has a very supportive community." is there a way to contrain the word delimiter to not include the straight quote as a delimiter? from an

Re: test color question

2016-09-17 Thread Tore Nilsen
Try this, it works for me: set the forecolor of char 1 to 10 of line 1 of field 1 to "red" set the styledText of field 2 to the styledText of line 1 of field 1 Regards Tore > 17. sep. 2016 kl. 20.00 skrev jbv : > > Hi list > > Please consider the following lines of

test color question

2016-09-17 Thread jbv
Hi list Please consider the following lines of script : set the forecolor of char 1 to 10 of line 1 of fld 1 to "red" put line 1 of fld 1 into fld 2 the text is in fld 2, but the color is gone... Is there a way to keep the color (and other style properties) whzn moving text between

Re: Playing Sound question

2016-09-17 Thread Earthednet-wp
Rick, It's for an update of a very simple app that plays a collection of sound files of yoga poses in a user defined order, with settable pauses containing only background sounds. It's for my own use for a yoga experience I share with my friends. I made it as an intro to making an iOS app. The

Re: Playing Sound question

2016-09-17 Thread Rick Harrison
Hi Bill, Thanks for the meditation! LOL Rick > On Sep 16, 2016, at 7:45 PM, William Prothero wrote: > > Folks: > I have a small sample stack that plays audio on desktop and iOS. I haven’t > debugged in on Android or Windows, but if anybody would like to see it, here

Re: tSettings["username"]

2016-09-17 Thread Matthias Rebbe
Wouldn´t a Content-Type: application/octet-stream cover all files? At least using octet-stream we have not to fiddle around with setting the content-type according to the file extension. And most OSes detect the file type of a file by its extension, don´t they? Regards, Matthias > Am

Re: tSettings["username"]

2016-09-17 Thread Charles Warwick
Not sure why that line of code came out looking like that, it was meant to be: put "Content-Type: application/pdf;" & cr after tPostData ... and for those that don't require MIME type detection for the client at the other end, another way to handle this would be to just change it to: put

Re: tSettings["username"]

2016-09-17 Thread Charles Warwick
Matthias, The roll is finished for the day ;-) However, adding multiple attachments simply means changing the "if" statement on line 110 of the button "Send Email" script to a for loop, and sending an array of files/file contents to the createSmtpMessage function instead. Feel free to have

Re: tSettings["username"]

2016-09-17 Thread Matthias Rebbe
Hi Charles, if you are still on the roll, the only thing that is now still missing is the handling of multiple attachments. ;) Regards, Matthias > Am 17.09.2016 um 10:43 schrieb Matthias Rebbe > : > > Keep rolling, Charles, keep rolling! ;) > > >> Am

Re: tSettings["username"]

2016-09-17 Thread Matthias Rebbe
Keep rolling, Charles, keep rolling! ;) > Am 17.09.2016 um 10:29 schrieb Charles Warwick >: > > Since I was on a roll, I decided to add HTML support to it as well. > > Updated version now available at the same URL. > > >

Re: tSettings["username"]

2016-09-17 Thread Charles Warwick
Since I was on a roll, I decided to add HTML support to it as well. Updated version now available at the same URL. On 17/09/2016 6:10 PM, Matthias Rebbe wrote: Hi Charles, Am 17.09.2016 um 09:52 schrieb Charles Warwick : The tsNetSmtp* functions can take

Re: tSettings["username"]

2016-09-17 Thread Matthias Rebbe
Hi Charles, > Am 17.09.2016 um 09:52 schrieb Charles Warwick > : > > The tsNetSmtp* functions can take multiple e-mail addresses in a single call, > just ensure the tRecipient variable has one address per line. > Oh, thats brilliant. Much easier than doing a

Re: tsNet Qs

2016-09-17 Thread Charles Warwick
Colin, Is that . at the end of office365.com part of the address it is trying to connect to? If so, that would cause an issue. If not, if you try and ping office365.com from a command prompt on the Windows 10 machine, does it resolve the name to an IP address? Regards, Charles On

Re: tSettings["username"]

2016-09-17 Thread Charles Warwick
The tsNetSmtp* functions can take multiple e-mail addresses in a single call, just ensure the tRecipient variable has one address per line. As Matthias said, you also need to add the To: and Cc: headers accordingly. I have updated the LCMail.livecode stack to show an example: