Thanks - I've added that to the comments so I don't forget again.
And thanks Andre!!
Alex.
On 15/07/2019 16:35, J. Landman Gay via use-livecode wrote:
BTW, I believe the attribution for the original handlers is Andre
Garzia. I kept a copy too.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 15, 2019 7:01:39 AM Alex Tweedly via use-livecode
<use-livecode@lists.runrev.com> wrote:
Ah, yeah, sorry - careless of me.
Short answer : Yes.
Long answer :
function wrapQ pText
return quote & pText & quote
end wrapQ
function shellEscape pText
-- keep this at the end because it messes up Coda colouring
repeat for each char tChar in "\`!$" & quote
replace tChar with "\" & tChar in pText
end repeat
return pText
end shellEscape
Sorry again,
Alex.
On 15/07/2019 01:07, Mark Wieder via use-livecode wrote:
On 7/14/19 3:24 PM, Alex Tweedly via use-livecode wrote:
In case it helps, here's the code I use to send email from my LC
server account. I should know where this came from (and I suspect I
should be able to thank the original author), but that's lost info
right now.
wrapQ()? shellEscape()?
Are these just the way they sound?
wrapQ(x) = quote & x & quote
shellEscape(x) = escape what needs escaping in x
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode