On 2015-12-19 21:09, Brahmanathaswami wrote:
for closure on this
This works;
if tVisitorsInfo is empty then exit to top
put getAddresses() into tAddresses
put tVisitorsInfo into tBody
replace quote with backslash & quote in tContainer
put ("echo " & quote & tBody & quot
for closure on this
This works;
if tVisitorsInfo is empty then exit to top
put getAddresses() into tAddresses
put tVisitorsInfo into tBody
replace quote with backslash & quote in tContainer
put ("echo " & quote & tBody & quote & " | ") into tCmd
put format ("mail
On 16/12/2015 15:00, Brahmanathaswami wrote:
Sorry but this did not work:
replace "'" with "\'" in tBody
put merge("echo '[[tBody]]' | ") into tCmd
put format ("mail -s \"Visitor Care Notice\" -r \"no-re...@hindu.org\" "
& tAddresses) after tCmd
get shell(tCmd)
tBody = Peter is visiting Kauai f
On 16/12/2015 15:00, Brahmanathaswami wrote:
Sorry but this did not work:
replace "'" with "\'" in tBody
put merge("echo '[[tBody]]' | ") into tCmd
put format ("mail -s \"Visitor Care Notice\" -r \"no-re...@hindu.org\" "
& tAddresses) after tCmd
get shell(tCmd)
tBody = Peter is visiting Kauai f
Sorry but this did not work:
replace "'" with "\'" in tBody
put merge("echo '[[tBody]]' | ") into tCmd
put format ("mail -s \"Visitor Care Notice\" -r \"no-re...@hindu.org\" "
& tAddresses) after tCmd
get shell(tCmd)
tBody = Peter is visiting Kauai from Scotland. He says "It's a great
day...F
Ah... I see: so a string like this
Peter is visiting Kauai from Scotland. He says "It's a great
day...Finally I get a break from coding and get to leave this island in
the northern hinterland and go to another one in the Pacific Blue."
1) first we escape the single quote "It\'s"
2) then wrap
On 14/12/2015 15:50, Brahmanathaswami wrote:
Are single quotes and double quotes equivalent in Livecode?
that would be new, i don't think soS
Single quotes do not work
No, single quotes and double quotes are not equivalent in LiveCode.
However, the shell ignores any escape characters or "
Does this work for you ?
on mouseUp
put fld 1 into temp
replace quote with "/" in temp
put temp into fld 2
end mouseUp
> Date: Mon, 14 Dec 2015 05:50:17 -1000
> From: bra...@hindu.org
> To: use-livecode@lists.runrev.com
> Subject: Re: Replace Quotes with Es
Are single quotes and double quotes equivalent in Livecode?
that would be new, i don't think soS
Single quotes do not work
*command*escapeQuotes*
*
*put*fld"input"intojai
*replace*'" ' with ' \" ' injai
*put*jai intofld"target"
*end* escapeQuotes
gets us a script error
BR
Peter TB Brett w
On 2015-12-13 21:01, Brahmanathaswami wrote:
I'm trying out doing all dev now in 8 dp* since I have no immediate
production projects that require deployment. So far so good, though I
miss BV2 documentation... (which seems to hang the app if I leave it
in my plug-ins folder) and LCBrowser (also
I'm trying out doing all dev now in 8 dp* since I have no immediate
production projects that require deployment. So far so good, though I
miss BV2 documentation... (which seems to hang the app if I leave it in
my plug-ins folder) and LCBrowser (also seems to be troublesome.)
I'm trying to pa
11 matches
Mail list logo