Re: Why I insist on my pupils writing properly formed English letters.

2018-08-15 Thread Richmond via use-livecode
It would, indeed seem to be the operating system as everything works 100% on Linux. Richmond. On 14.08.2018 23:51, Richmond Mathewson wrote: Mocked by an operating system, no less. If I set the font of my field to ANY font other than the one where a glyph in position hex 978 exists then

Re: Text rendering of Unicode text in LC

2018-08-15 Thread Mark Waddingham via use-livecode
On 2018-08-13 22:56, Peter Bogdanoff via use-livecode wrote: Here is a sample of the Chinese text. It has a button to click to toggle showing the text and the htmlText in the same fields. Note to see the text problems you will have to open this in Windows 10. I must point out that the LC 8

Re: Text rendering of Unicode text in LC

2018-08-15 Thread Peter Bogdanoff via use-livecode
Hi Mark, I’ll file the bug report. On the other issue I had with the “blurry” text in LC 8. Now I’m seeing that text with the faulty rendering is only in a main stack. All substacks of that stack that use the same font have normal, good rendering. This issue appeared only recently--earlier

Re: Text rendering of Unicode text in LC

2018-08-15 Thread Mark Waddingham via use-livecode
On 2018-08-15 10:24, Peter Bogdanoff via use-livecode wrote: Hi Mark, I’ll file the bug report. On the other issue I had with the “blurry” text in LC 8. Now I’m seeing that text with the faulty rendering is only in a main stack. All substacks of that stack that use the same font have normal,

Re: Determine if device is a tablet

2018-08-15 Thread Håkan Liljegren via use-livecode
I think the idea is that if you have enough space for a viable landscape representation I think you should support it. The line between phone and tablet is very blurry and according to the rumours even Apple will start to support landscape multi-column apps on the new phones. Eg. :

Re: Cropping a referenced image

2018-08-15 Thread Sannyasin Brahmanathaswami via use-livecode
Sometimes LiveCode astounds me... Using Klause's method, plus Datagrid under the hood (and all its code) 1) the setting to Button icon to the size you want your image cropped, 120X74 2) Place an image off screen at +1000 to the right. 3) At 120x90 call it img "ytBtnIconTemplate" I was able to

Re: Preview HTML of a field

2018-08-15 Thread AndyP via use-livecode
Add a browser widget and then set the htmlText of widget "Browser" to field "myField" - Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk

Re: Fun with Windows 10

2018-08-15 Thread Bob Sneidar via use-livecode
> On Aug 15, 2018, at 24:05 , Richmond Mathewson via use-livecode > wrote: > > Cripes: Mark: is it thee or me who is getting long in the tooth? :) > > When I want "to appeal" I get on my Flasher's Mac and stand around on wet > streets on Friday night; > as we all do. > > "Would you like

Re: Preview HTML of a field

2018-08-15 Thread Paul Dupuis via use-livecode
I'd suggest using the "effective htmlText of field " as the effective keyword will add tags for the inherited styles of the field (like default font, etc.) On 8/15/2018 10:34 AM, AndyP via use-livecode wrote: > Add a browser widget and then > > set the htmlText of widget "Browser" to field

Re: Preview HTML of a field

2018-08-15 Thread Skip Kimpel via use-livecode
Thank you Andy and Paul for your input. Having said that, I have tried both techniques and am still not able to produce the results. Any other insight I might be missing? Seems like such a simple thing, not sure why I am struggling with this. SKIP On Wed, Aug 15, 2018 at 11:03 AM Paul Dupuis

Re: Preview HTML of a field

2018-08-15 Thread Bob Sneidar via use-livecode
get the numToCodePoint of one of the bad characters. It may be your database encoding is an issue. If you are textencoding going in and textdecoding coming out of the database, that would preclude database encoding, especially if you are using a blob column as those (to my knowledge) are

Re: Navigator v 6 is out

2018-08-15 Thread Geoff Canyon via use-livecode
Thanks, sending you PayPal info privately. On Wed, Aug 15, 2018 at 7:51 AM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Great job Geoff! Where can I donate to your cause? Paypal perhaps? > > Bob S > > > ___ > use-livecode

Re: Preview HTML of a field

2018-08-15 Thread Skip Kimpel via use-livecode
So sorry, my bad!!! I had, for some reason, commented out a key element of this and that is why it was not rendering. I knew it was easier than I made it out to be! Thanks again for your help in this matter! SKIP On Wed, Aug 15, 2018 at 11:03 AM Paul Dupuis via use-livecode <

Preview HTML of a field

2018-08-15 Thread Skip Kimpel via use-livecode
I would like to preview the HTML that exists in a field and preview it within LC. What is the best way of doing this? SKIP ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Fun with Windows 10

2018-08-15 Thread tbodine via use-livecode
Loved your story, JLG. To know and be your true self at such a young age is like a super power. (Let us all know when you tell your story on The Moth.) -- Tom Bodine Jacqueline Landman Gayl via use-livecode wrote > A brief diversion: > > I have always hated pink since I can remember. I

Re: Navigator v 6 is out

2018-08-15 Thread Bob Sneidar via use-livecode
Great job Geoff! Where can I donate to your cause? Paypal perhaps? Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Cropping a referenced image

2018-08-15 Thread Bob Sneidar via use-livecode
We all asked for a table object that worked much like a spreadsheet, and we got something much, much cooler, thanks to the work Trevor did. Greatly appreciated Trevor! Prior to the datagrid, I would be hard pressed to write any kind of database application. Bob S > On Aug 15, 2018, at 07:27

Re: copying large string from clipboard is slooooooooooooooooooooooooooooow

2018-08-15 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > Hey Peeps... so I'm stress testing a clipboard tool I have been > working on .and copying a large key from the clipboard array into > a variable (such as the king james bible from the guttenberg project) > takes a really long time. What is the size? It's been a long time

Re: copying large string from clipboard is slooooooooooooooooooooooooooooow

2018-08-15 Thread Brian Milby via use-livecode
Several keys cause the engine to perform work on the data before returning it. I would compare with pulling data from the raw clipboard to ensure the engine is not manipulating it first. Thanks, Brian On Aug 15, 2018, 4:25 PM -0500, Richard Gaskin via use-livecode , wrote: > Tom Glod wrote: >

Re: Using stackoverflow.com

2018-08-15 Thread Geoff Canyon via use-livecode
Ah, topics are the key concept. Glad that now Navigator is associated with LiveCode on GitHub... On Wed, Aug 15, 2018 at 11:59 AM Warren Samples via use-livecode < use-livecode@lists.runrev.com> wrote: > On Wed, 15 Aug 2018 11:10:57 -0700 > Geoff Canyon via use-livecode wrote: > > > And done!

copying large string from clipboard is slooooooooooooooooooooooooooooow

2018-08-15 Thread Tom Glod via use-livecode
Hey Peeps... so I'm stress testing a clipboard tool I have been working on .and copying a large key from the clipboard array into a variable (such as the king james bible from the guttenberg project) takes a really long time. like 3 or 4 seconds (for each key) its a large string...but

Re: copying large string from clipboard is slooooooooooooooooooooooooooooow

2018-08-15 Thread Tom Glod via use-livecode
Hi Richard...to copy it from a custom property into a variable takes a blink of an eye. the file is i think 4.5 mb or so. takes 14ms seconds to do a md5 hash its definitely the slowness of the clipboarddata function. On Wed, Aug 15, 2018 at 5:25 PM, Richard Gaskin via use-livecode <

Re: copying large string from clipboard is slooooooooooooooooooooooooooooow

2018-08-15 Thread Tom Glod via use-livecode
hhh that could be the reason indeed. will do more tests. Will have to revisit and do some bug reports that i didn't have time to do when i first started using rawclipboarddata i know there is at least 1 hard crash when catching a clipboard error (which i have no idea why i was getting).

Re: Data Persistence

2018-08-15 Thread John McKenzie via use-livecode
Hello again, everyone. Jacqueline, I enjoyed the fact you shared your story of not conforming to gender stereotypes with your childhood interests. Find it sad that science and engineering in general was (is?) considered a boys thing. Feel like I want to inject my two cents worth about

Re: copying large string from clipboard is slooooooooooooooooooooooooooooow

2018-08-15 Thread Tom Glod via use-livecode
I understand..thanks for clarifying and responding. I will return and share my further findings on this.. and yes...LC does do alot of hard work for us. On Wed, Aug 15, 2018 at 6:00 PM, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > See Brian's note to get where I

Re: copying large string from clipboard is slooooooooooooooooooooooooooooow

2018-08-15 Thread Richard Gaskin via use-livecode
See Brian's note to get where I was going with that. I suggested comparing the speed with other programs because I'm assuming you're doing this for a worthwhile reason. When we see how other apps compare with a similar task for their own reasons we begin to see the wide range of things that

scaleFactor

2018-08-15 Thread Knapp Martin via use-livecode
I know that scaleFactor is not intended to be a "zoom view" feature for desktop, but in lieu of actually having zoom views, I really need to use it to allow the user to enlarge or reduce the window size for a Mac and Windows app I’m working on. What I would like is for it to shrink or grow from

Re: Using stackoverflow.com

2018-08-15 Thread Paul Dupuis via use-livecode
On 8/15/2018 2:10 PM, Geoff Canyon via use-livecode wrote: > This is a really good point. It *should* be trivial to put anything you've > worked on in LC onto GitHub. Like a *lot* of software (in fact I would argue all software), GIT is easy if you know it and hard if you do not. Everything has a

Re: Determine if device is a tablet

2018-08-15 Thread J. Landman Gay via use-livecode
You're right, I should have said "screen size" rather than "tablet" since I'm concerned with metrics. Terry's ratio cut-off of about 1.4 or so could work. The new iPhone X has a ratio just over 2.0. I wonder if the text would be too small to read comfortably there. On 8/15/18 7:23 AM,

Re: Preview HTML of a field

2018-08-15 Thread Skip Kimpel via use-livecode
Perfect... thank you. SKIP On Wed, Aug 15, 2018 at 11:22 AM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > get the numToCodePoint of one of the bad characters. It may be your > database encoding is an issue. If you are textencoding going in and > textdecoding coming out

Re: Using stackoverflow.com

2018-08-15 Thread Geoff Canyon via use-livecode
On Mon, Aug 13, 2018 at 12:08 PM Todd Fabacher via use-livecode < use-livecode@lists.runrev.com> wrote: > > 1. Not sufficient 3rd party tools with a viable marketplace [also little on > Git]. If we have all these old LC scripts and they are open source, why > don't we just put them on git??? >

Re: Using stackoverflow.com

2018-08-15 Thread Geoff Canyon via use-livecode
On Wed, Aug 15, 2018 at 11:10 AM Geoff Canyon wrote: > > The process wasn't too painful: > > 1. Create a new repository on GitHub > 2. Pick a spot on my computer and clone the repository using GitKraken > 3. Use Navigator (shameless self promotion!) to export the script I wrote > into a

Re: Cropping a referenced image

2018-08-15 Thread Trevor DeVore via use-livecode
On Wed, Aug 15, 2018 at 9:55 AM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > We all asked for a table object that worked much like a spreadsheet, and > we got something much, much cooler, thanks to the work Trevor did. Greatly > appreciated Trevor! Prior to the datagrid,

Re: Fun with Windows 10

2018-08-15 Thread Richmond Mathewson via use-livecode
Most "mental blurps" pop out because their parents get up to something before that, and many "mental blurps" grow up into interesting and creative people who contribute greatly to society: we should all be grateful for "mental blurps". Our society spends most of its time being nasty to "mental

Memory related crash??

2018-08-15 Thread David V Glasgow via use-livecode
but is it me? Mac OS 10.12.6, LC 8.1.10 I have a 4 card stack which when loaded takes the LC memory to 66MB I then load a 25MB plain text file into a scrolling field (which takes maybe 20 seconds and shows LC as 'not responding’ in Activity Monitor). This take memory to 282MB I then perform

Re: Fun with Windows 10

2018-08-15 Thread J. Landman Gay via use-livecode
On 8/15/18 11:12 AM, tbodine via use-livecode wrote: To know and be your true self at such a young age is like a super power. My mom called my super power "stubborn brat." :) Thanks to all who responded, these little mental blurps sometimes pop out independently. -- Jacqueline Landman Gay

Re: Using stackoverflow.com

2018-08-15 Thread Warren Samples via use-livecode
On Wed, 15 Aug 2018 11:10:57 -0700 Geoff Canyon via use-livecode wrote: > And done! Is there a way to tag repositories on GitHub by language, so it's > easy to find all LC repos? https://help.github.com/articles/working-with-tags/ https://github.com/topics/livecode

Re: Determine if device is a tablet

2018-08-15 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > Metrics. I want to allow landcape orientation on tablets but only > portrait for phones. > > Phil suggested getting device info, but mobileBuildInfo doesn't return > anything better than "the machine." The server idea doesn't return > specific enough info either if it

Re: copying large string from clipboard is slooooooooooooooooooooooooooooow

2018-08-15 Thread Brian Milby via use-livecode
The problem with the fullClipboardData and clipboardData is that when you ask for a text key type that isn't on the system clipboard, then LiveCode will generate it for you. So if you ask for styled text, first it will just give you styled text from the clipboard. If not available, it will try

Re: Data Persistence

2018-08-15 Thread Brian Milby via use-livecode
I don’t think you can count on the shutdown message, so you would export on each change. Arrays can use text for the key, so you could make things easier by using loops and field names. Thanks, Brian On Aug 15, 2018, 4:58 PM -0500, John McKenzie via use-livecode , wrote: > > > Hello again,

Re: scaleFactor

2018-08-15 Thread Peter Bogdanoff via use-livecode
I too am using scaleFactor and ran into this issue of the difficulty of windows moving around and even off screen. It seems that when scaleFactor is invoked the entire screen is now virtual and calculations have to be made to position the window where you want it to be visually. Unfortunately,

Re: Determine if device is a tablet

2018-08-15 Thread J. Landman Gay via use-livecode
On 8/14/18 11:13 PM, Richard Gaskin via use-livecode wrote: J. Landman Gay wrote: > I need to determine whether the current mobile device is a tablet or a > phone. On iOS I can use "the machine" but on Android it only provides > the manufacturer's name. > > Does anyone know a way to do

Re: Fun with Windows 10

2018-08-15 Thread Richmond Mathewson via use-livecode
Oh dear, my reply was part of a story I like to tell because my parents had lots of well-meaning friends who were convinced that those stereotypes were eternal verities, and had lots of sadistic fun informing my parents that I'd grow up to be 'queer': which I did, but not in the way they meant!

Re: Fun with Windows 10

2018-08-15 Thread Richmond Mathewson via use-livecode
Cripes: Mark: is it thee or me who is getting long in the tooth? :) When I want "to appeal" I get on my Flasher's Mac and stand around on wet streets on Friday night; as we all do. "Would you like to come up to my place and see my LiveCode?" Richmond. On 15/8/2018 7:11 am, Mark Wieder via

Re: Navigator v 6 is out

2018-08-15 Thread Geoff Canyon via use-livecode
I just pushed a new update that has the following features: 1. Right/Control-click on any card or group and the popup menu will include a "Fold Depth" sub-menu. Setting a depth other than "Show All" will fold groups within that card/group to that level. 2. Right/Control-click on a group, and Fold

Re: Determine if device is a tablet

2018-08-15 Thread Terry Judd via use-livecode
So, iPhones (5 and above) have an aspect ratio of something like 1.78, versus 1.33 for an iPad. Don't know what sort of range you are likely to find with Android devices but perhaps using a value of below 1.4-1.5 to indicate the device is a tablet would work for the majority? Terry... On