Re: Setting the Unicode text of a field from JSON converted to array

2014-11-09 Thread Brahmanathaswami
OK... i registered on your site and downloaded the mergJSON-GPL-1.0.10.zip shutting down for the day... will test it tomorrow. Thanks! Aloha! from Kauai! Monte Goulding wrote: On 10 Nov 2014, at 4:06 pm, Brahmanathaswami wrote: > i tried that already: > > case "original_script"

Re: Setting the Unicode text of a field from JSON converted to array

2014-11-09 Thread Monte Goulding
On 10 Nov 2014, at 4:06 pm, Brahmanathaswami wrote: > i tried that already: > > case "original_script" > set the unicodetext of field "lyrics" to uniencode(tContent, "utf8") > break Hmm... If tContent is UTF8 text then that should work fine. I vaguely recall some folks mention

Re: Setting the Unicode text of a field from JSON converted to array

2014-11-09 Thread Brahmanathaswami
i tried that already: case "original_script" set the unicodetext of field "lyrics" to uniencode(tContent, "utf8") break but still get garble ?? ?? 555  555 ? 555 [snip] Where does one get mergeJSON? BR Monte Goulding wrote: > On 10 Nov 2014, at 3:06 p

Re: Setting the Unicode text of a field from JSON converted to array

2014-11-09 Thread Monte Goulding
On 10 Nov 2014, at 3:27 pm, Monte Goulding wrote: > > On 10 Nov 2014, at 3:06 pm, Brahmanathaswami wrote: > >> set the text of field "lyrics" to unidecode(tContent, "utf8") > > ^ should be uniEncode(tContent,"utf8") because tContent is utf8 encoded... at > least I assume it is from the Mark

Re: Setting the Unicode text of a field from JSON converted to array

2014-11-09 Thread Monte Goulding
On 10 Nov 2014, at 3:06 pm, Brahmanathaswami wrote: > set the text of field "lyrics" to unidecode(tContent, "utf8") ^ should be uniEncode(tContent,"utf8") because tContent is utf8 encoded... at least I assume it is from the Mark Smith lib... I use mergJSON because it's much much much faster..

Setting the Unicode text of a field from JSON converted to array

2014-11-09 Thread Brahmanathaswami
in LC 6.6.2, Mac OS X Maveriks, calling data from MySQL dBase on our web server into a desktop thin client. I have a field that is being set to unicode... the default font is Lucida Grande, which supports Tamil. I'm on a mac: if I paste Inaimathi (Tamil Unicode font) into the field, the Tami

[TEASER] Book about LiveCode Application Architecture

2014-11-09 Thread Andre Alves Garzia
Hey Friends, I've been writing a little book about LiveCode application architecture. Before you get too happy the book is not ready. Right now I am basically dumping all the content into the correct place and then I will do a second pass reviewing and fixing it. The book will be a commercia

Re: How safe and feasable is it ?

2014-11-09 Thread kee nethery
> > I guess I'll have to build my own encryption protocol... > > LiveCode has many very serious encryption options built in - check out the > encrypt and decrypt commands. I have an app that passes private data from it to me. If you were to do the same (except you are going from you to your ap

Re: Palettes and the selectedObject

2014-11-09 Thread Graham Samuel
Going back to this issue, I tried Richard’s suggestion and it didn’t work in LC 7.0.1. I isolated the problem in a little stack and reported it as a bug (13958), but it’s not yet confirmed. I believe I detected an anomaly in the IDE and a different one in a standalone, but they are probably diff

Re: Changing the defaults of a datagrid

2014-11-09 Thread zryip theSlug
Hi Matthias, I'm taking all remarks as opportunities to improve myself and my products, so I was not offended 8-) This was not the first time a DGH user was not aware of a DGH's feature, so I will work on a different strategy for informing users about what my products are doing. As promised, her

Re: How safe and feasable is it ?

2014-11-09 Thread Richard Gaskin
jbv wrote: > But my original question remains : how safe is it ? Unlike a stack, > a script can't be password protected... ...but a stack file can be comprised of nothing but a stack object with a script in it. > I guess I'll have to build my own encryption protocol... LiveCode has many ver

Re: How safe and feasable is it ?

2014-11-09 Thread Bill Vlahos
JBV, Encryption is not that hard. Check out my encryption demo stack in RevOnLine. You could encrypt the script(s) before you unload them and decrypt the scripts in the standalone which would have the decryption parameters and be password protected itself. The scripts would be encrypted when up

Re: How safe and feasable is it ?

2014-11-09 Thread jbv
Hi list Thank everyone for your answers. If anyone is interested, I just made some tests : I have an app used by various realtors spread around the country. They all have an identical set of pratices imposed by law, and evolutions of the law lead to regular updates of the app. At the same time, ea

Re: Failing to produce multiple-page PDF

2014-11-09 Thread Robert Brenstein
On 09.11.2014 at 8:24 Uhr -0800 Dr. Hawkins apparently wrote: On Sun, Nov 9, 2014 at 8:04 AM, Robert Brenstein wrote: However, when I use the printing into a rectangle format, I get a PDF file with only a single page. It seems that all cards are printed onto the same page, so mostly objects

Re: Failing to produce multiple-page PDF

2014-11-09 Thread Dr. Hawkins
On Sun, Nov 9, 2014 at 8:04 AM, Robert Brenstein wrote: > However, when I use the printing into a rectangle format, I get a PDF file > with only a single page. It seems that all cards are printed onto the same > page, so mostly objects from the last card printed are visible. > Furthermore, the ca

Failing to produce multiple-page PDF

2014-11-09 Thread Robert Brenstein
I am trying to print cards from different stacks using open printing to pdf file to produce a PDF file programmatically. When I use the print card of stack format, I get a PDF file with one page for each card as expected. However, when I use the printing into a rectangle format, I get a PDF f

Re: Remote stack

2014-11-09 Thread Ethan Lish
Excellent!  This did the trick. Thanks  E — Ethan@Lish.net240.876.1389 On Sat, Nov 8, 2014 at 7:43 PM, Mike Bonner wrote: > Like the timestamp, you can just tack on a # and the milliseconds to each > request. http://whatever.url.com/mystack.livecode#134513461 > Same theory, it always looks

Re: mobilePickPhoto - User error, simulator error or Livecode bug?

2014-11-09 Thread Andrew Henshaw
Please ignore this, it’s user error, sorry for taking up your time. Andy > On 9 Nov 2014, at 12:56, Andrew Henshaw wrote: > > Another oddity ive come across while trying to update some old apps. > > The code… > > mobilePickPhoto tSource, tMaxHeight,tMaxHeight > put the result into tResult

mobilePickPhoto - User error, simulator error or Livecode bug?

2014-11-09 Thread Andrew Henshaw
Another oddity ive come across while trying to update some old apps. The code… mobilePickPhoto tSource, tMaxHeight,tMaxHeight put the result into tResult used to work, but now it returns nothing whatever is selected in the simulator, tested with Livecode 6.6.5, 6.7 and 7. Is this somethin

1001 Things to do with LiveCode

2014-11-09 Thread Peter W A Wood
Even though there hasn’t been a new entry for a long time, there are still between 50 and 100 visits to the 1001 Things to do with LiveCode site everyday. After a long hiatus, I have posted a new entry today featuring a client/server calendaring and time recording application. I’m sure that ma