Blurring field contents

2018-03-29 Thread David V Glasgow via use-livecode
I want to give users options for capturing anonymised cards, and wondered about blurring text - maybe by overlaying a graphic of the text and blurring that? There is an LC tutorial about blurring images , but it seems c

Re: Blurring field contents

2018-03-29 Thread Tore Nilsen via use-livecode
Why not just hide the fields in question before exporting the snapshots and then showing them after the export is done? This way you do not have to work with the exported image. Regards Tore Nilsen > 29. mar. 2018 kl. 17:35 skrev David V Glasgow via use-livecode > : > > I want to give users o

Re: Blurring field contents

2018-03-29 Thread Mike Bonner via use-livecode
You could set the imagesource of the characters into the field, take the snapshot, then "set the text of field "whatever" to the text of field "whatever" to revert. Did a quicky test, and it seems to work well enough. local simageOn on mouseup lock screen if sImageOn is empty then put false int

Re: Blurring field contents

2018-03-29 Thread Paul Hibbert via use-livecode
That tutorial is a bit outdated now that there is a “blur” command, introduced in LC 8.0, it’s quicker and easier to use. Paul > On Mar 29, 2018, at 8:35 AM, David V Glasgow via use-livecode > wrote: > > I want to give users options for capturing anonymised cards, and wondered > about blurri

Re: LCG Session Suggestions

2018-03-29 Thread Lagi Pittas via use-livecode
Hi Mike Two very useful sessions (for me anyway) and the ones that would produce code that everyone can use when we share the results is using FFI for Android/Java , Windows and IOS No 3 sessions Android/Java, Windows and IOS and Linux No 4 .. nobody expects the Spanish Inquisition ... A

Re: LCG Session Suggestions

2018-03-29 Thread Lagi Pittas via use-livecode
Oops forgot the link to the B4J library https://www.b4x.com/android/forum/threads/sd-bluetooth-printer.85750/ Lagi On 28 March 2018 at 14:36, Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > Looking for suggestions for sessions for LCG, whether advanced, beginner, > or so

Re: variable xref

2018-03-29 Thread Mark Waddingham via use-livecode
On 2018-03-28 15:45, Mike Kerner via use-livecode wrote: Heck no. I spend way too much time in environments that were written to make the complier-writer's job easier and have 50-100 lines of headers. It's annoying to the extreme. Heh - I'm not sure that the necessity to predeclare things in

Re: How to handle BasicAuth in Browser widget?

2018-03-29 Thread Richard Gaskin via use-livecode
Thanks, Monte. Any guidance on what I might tell that new user in the forums? -- Richard Gaskin Fourth World Systems Monte Goulding wrote: > I think we would either need to add support for a callback or present > a dialog natively. It might be possible to handle the load failed > callback a

Selection Handles

2018-03-29 Thread Knapp Martin via use-livecode
I have an app that I'm migrating from LC 6.6.5 to 8.1.9. In it, a user creates documents that may consist of lines, boxes, text areas and images that they insert. There's been a big change between 6.6.5 and 8.1.9 in the selection handles on objects. In 6.6.5, the selection handles on lines were

Re: Selection Handles

2018-03-29 Thread Mike Bonner via use-livecode
Since you already have code in place to use your homegrown selection handles, can you adjust things so that the line doesn't actually have to be "selected" to make changes? My guess is that the small button you implemented can be dragged, and then you do your magic and adjust length while constrain

Re: Selection Handles

2018-03-29 Thread Knapp Martin via use-livecode
Thanks Mike. The app allows the user to be in standard LC edit mode to select any of the objects, either by clicking on them or dragging a selection rectangle around them. And I do have tools that allow the user to select multiple objects and then align, layer, make the same size etc. Perhaps I

Re: Selection Handles

2018-03-29 Thread Mike Bonner via use-livecode
I see, yeah. And rolling your own full blown selection scheme would be a bit much. On Thu, Mar 29, 2018 at 1:17 PM, Knapp Martin via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks Mike. The app allows the user to be in standard LC edit mode to > select any of the objects, either b

Re: Blurring field contents

2018-03-29 Thread Rick Harrison via use-livecode
Why do you want to blur text? I can’t stand blurry things, they always make me think there is something wrong with my eyes! (Unless of course that is the purpose of the blurry text.) ;-) Rick > On Mar 29, 2018, at 11:35 AM, David V Glasgow via use-livecode > wrote: > > I want to give users

Re: OSX printing of images issue

2018-03-29 Thread Paul Dupuis via use-livecode
On 3/28/2018 11:28 AM, Paul Dupuis via use-livecode wrote: > I have a print subsystem for my application that prints a particular set > of data by laying our the page (sizing the card to the paper, allowing > for margins, etc, where the content area of the page is a single image > object. The resiz

Re: How to handle BasicAuth in Browser widget?

2018-03-29 Thread Bob Sneidar via use-livecode
I vote for #2 Bob S > On Mar 28, 2018, at 16:21 , Monte Goulding via use-livecode > wrote: > > I think we would either need to add support for a callback or present a > dialog natively. ___ use-livecode mailing list use-livecode@lists.runrev.com

Livecode Json Arrays Key Sort

2018-03-29 Thread Sannyasin Brahmanathaswami via use-livecode
put JSONToArray(tJson) into sColArrayA It is my imagination: Or are the keys of {object set} output as hash order (as per dictionary, required sort them first) simply delimited by { 1 3 5 6 7 2 4 } but keys of an array output as numeric [{ 1 2 3 4 ]] get always

Re: Blurring field contents

2018-03-29 Thread David V Glasgow via use-livecode
> On 29 Mar 2018, at 5:44 pm, Paul Hibbert via use-livecode > wrote: > > That tutorial is a bit outdated now that there is a “blur” command, > introduced in LC 8.0, it’s quicker and easier to use. > > Paul > Ah! Thank you, Paul. That’s good to know. I am a bit Richmondesque in my attach

Re: Livecode Json Arrays Key Sort

2018-03-29 Thread Mark Wieder via use-livecode
On 03/29/2018 01:25 PM, Sannyasin Brahmanathaswami via use-livecode wrote: put JSONToArray(tJson) into sColArrayA It is my imagination: Or are the keys of {object set} output as hash order (as per dictionary, required sort them first) https://quality.livecode.com/show_bug.cgi?id=19698

Re: Livecode Json Arrays Key Sort

2018-03-29 Thread Brian Milby via use-livecode
The fix is probably as easy as exposing the list type to LCS. Mark mentioned that at the last LCG last year. Since the parser already uses the list type and the engine has a list type internally it shouldn’t be that hard. On Thu, Mar 29, 2018 at 5:34 PM Mark Wieder via use-livecode < use-livecode@l

Re: Blurring field contents

2018-03-29 Thread scott--- via use-livecode
If blurring turns out to be too problematic you might consider just replacing text with bullets or Lorem Ipsum. -- Scott Morrow > On Mar 29, 2018, at 1:41 PM, David V Glasgow via use-livecode > wrote: > > > >> On 29 Mar 2018, at 5:44 pm, Paul Hibbert via use-livecode >> wrote: >> >> Tha

Re: OSX printing of images issue

2018-03-29 Thread Mark Talluto via use-livecode
I will ask one of my co-workers to get in contact with you tomorrow. She writes printing code all the time. Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com > On Mar 29, 2018, at 12:33 PM

Re: variable xref

2018-03-29 Thread Mike Kerner via use-livecode
I don't want to pretend to be an expert on the topic of writing compilers, since I only ever wrote two, both under the watchful obsession of a professor, and my lex and parse code were not optimal in either case. In general, they were some of the easiest pieces of large code I ever wrote because t