Re: OT: Type on Background - Contrast Ratios

2016-10-06 Thread J. Landman Gay
Actually I did hit the divide by zero error, which is why I added the min/max test. But your solution was better. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 6, 2016 9:08:42 PM hh

Re: OSX Opening an App with a document

2016-10-06 Thread Trevor DeVore
On Thu, Oct 6, 2016 at 12:44 PM, J. Landman Gay wrote: > You can create your own system globals by prepending "$" to the variable > name. If you do that in the appleEvent handler then later whenever you need > it, you can access the global. Unless things have changed

Re: OT: Type on Background - Contrast Ratios

2016-10-06 Thread hh
Peter M.B. wrote: > But isn’t there something more fundamentally wrong with this measure, > with the criteria outlined by Sannyasin: >> * Small text should have a contrast ratio of at least 4.5:1 against > its background. A ratio of 7:1 is preferred. >> * Large text (at 14 pt bold/18 pt

Analytical Engine - An Introduction to Computer Science [FOUND]

2016-10-06 Thread Alejandro Tejada
I asked Mr. Stuart Hirshfield if he have plans to update his book and he answered: Stuart Hirshfield wrote: > Thanks again for your interest in our beloved project. > For a number of reasons we have no plans for > releasing updated materials. First and foremost, > I am on the road to retirement.

Re: OT: Type on Background - Contrast Ratios

2016-10-06 Thread Peter M. Brigham
But isn’t there something more fundamentally wrong with this measure, with the criteria outlined by Sannyasin: > * Small text should have a contrast ratio of at least 4.5:1 against its > background. A ratio of 7:1 is preferred. > * Large text (at 14 pt bold/18 pt regular and up) should

Re: BUG: OSX Opening an App with a document

2016-10-06 Thread Terry Judd
Seems like it could fire earlier but I guess it ensures consistency when double-clicking/dropping a document irrespective of whether the app is open or not. Although, if you’re using custom urls on iOS – which are sort of analogous – then mobileGetLaunchURL() is available at preopenstack.

BUG: OSX Opening an App with a document

2016-10-06 Thread Paul Dupuis
In both LC 6.7.11 and LC 8.1.0 the appleEvent message for when the standalone is launched with a document is NOT send under AFTER openCard EVEN if prior message handles include a WAIT ... WITH MESSAGES. I think this is a BUG? Does anyone else agree? For example, here is the startup messages of

Re: OT: Type on Background - Contrast Ratios

2016-10-06 Thread hh
> Jacqueline L.G. wrote: > Does this work well enough?: > > function luminanceRatio c1,c2 -- pass two RGB triplets >put calcLuminance(c1) into tL1 >put calcLuminance(c2) into tL2 >return max(tL1,tL2) / min(tL1,tL2) > end luminanceRatio > > function calcLuminance pRGB >--

Re: OT: Type on Background - Contrast Ratios

2016-10-06 Thread Sannyasin Brahmanathaswami
Awesome! thanks… will add immediately to my UX design toolbox… Svasti Astu, Be Well Brahmanathaswami www.himalayanacademy.com On 10/6/16, 9:21 AM, "use-livecode on behalf of J. Landman Gay" wrote: Does

Re: OT: Type on Background - Contrast Ratios

2016-10-06 Thread J. Landman Gay
Does this work well enough?: function luminanceRatio c1,c2 -- pass two RGB triplets put calcLuminance(c1) into tL1 put calcLuminance(c2) into tL2 return max(tL1,tL2) / min(tL1,tL2) end luminanceRatio function calcLuminance pRGB -- wikipedia: Y = 0.2126 R + 0.7152 G + 0.0722 B put item

Re: OT: Type on Background - Contrast Ratios

2016-10-06 Thread Colin Holgate
This page does that: http://leaverou.github.io/contrast-ratio/ Here’s their Javascript that does the job: http://leaverou.github.io/contrast-ratio/contrast-ratio.js > On Oct 6, 2016, at 10:58 AM, Sannyasin Brahmanathaswami > wrote: > > For the RGB wizards… what is the

OT: Type on Background - Contrast Ratios

2016-10-06 Thread Sannyasin Brahmanathaswami
For the RGB wizards… what is the algorithm to determine the luminance ratio between two colors? See w3C recommendations posted in today's Adobe's XD newsletter (useful feed) below. I'm thinking the total value of all three will serve. The WC3 sets minimum standards for contrast ratios, which

Re: OSX Opening an App with a document

2016-10-06 Thread J. Landman Gay
You can create your own system globals by prepending "$" to the variable name. If you do that in the appleEvent handler then later whenever you need it, you can access the global. Unless things have changed since I last used it, appleEvent is sent immediately during startup . Or you could use

Windows 10: "phantom video window" icons appearing each time a card is visited?

2016-10-06 Thread Curtis Ford
A client is reporting that whenever he moves to a new card in the LiveCode standalone, an additional videoWindow icon appears in his taskbar. "one video windows opens (and remains open) for each page I open. In other words, when I open the ebook, only the page I'm looking at is open. But as I

Re: Supercard 4.8 public beta

2016-10-06 Thread Dr. Hawkins
On Thu, Oct 6, 2016 at 2:25 AM, David V Glasgow wrote: > Do not try to bend the card. Nor spindle fold, or mutilate . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list

Re: Limitation on length of Menu Items in a Combo Box?

2016-10-06 Thread dunbarx
Hi. It seems there is a character limit. I made a gadget to fill a combo box (btn 1): on mouseUp repeat with y = 1 to 3 put y into line y of temp end repeat put temp into btn 1 answer the length of btn 1 && the number of lines of btn 1 end mouseUp The button filled to a

Re: OSX Opening an App with a document

2016-10-06 Thread Paul Dupuis
Does anyone have any good code for this? On 10/5/2016 5:56 PM, Paul Dupuis wrote: > Okay list gurus: > > What is the best practice method for determine whether a Standalone app > under OSX was opened with a document (by drag and drop or double-click)? > > I have an appleevent handler that get any

Re: iOS 10 and native scroller

2016-10-06 Thread Peter TB Brett
On 06/10/2016 12:09, John Dixon wrote: Does the fix to the native scroller include having the scrolling items remain within the declared content rect, rather tha Yes. The ability to scroll in a phone app is more than a little important... any time-scale on 'as soon as possible' for

Re: iOS 10 and native scroller

2016-10-06 Thread John Dixon
Does the fix to the native scroller include having the scrolling items remain within the declared content rect, rather than scrolling all over the screen ?... Does using accelerated rendering now play nicely when scrolling groups ?... it all used to work well, but has been flawed for quite a

Re: Ask dialogs in iOS10 with apps built with LC 6.7.11

2016-10-06 Thread Peter TB Brett
On 06/10/2016 11:23, Dave Kilroy wrote: Thanks Peter for the lightning fast response! OK I thought it must be general thing (and yet another reason to move to LC 8.1) Actually (nearly) all my work is in LC 8.1.1 now - this particular app I’m using 6.7.11 on is a legacy one for a client that

Re: Ask dialogs in iOS10 with apps built with LC 6.7.11

2016-10-06 Thread Dave Kilroy
Thanks Peter for the lightning fast response! OK I thought it must be general thing (and yet another reason to move to LC 8.1) Actually (nearly) all my work is in LC 8.1.1 now - this particular app I’m using 6.7.11 on is a legacy one for a client that I’m modernising bit by bit - and am now

Re: iOS 10 and native scroller

2016-10-06 Thread Peter TB Brett
On 06/10/2016 10:58, tekne wrote: I see the bug is already fixed with target release 8.1.2-rc-1 When do you think we can have this release? The mobile picker doesn't work correctly with iOS10 and to solve we need to use Xcode 8 which is not supported in LC6 or LC7 anymore. So I can¹t upload

Re: Ask dialogs in iOS10 with apps built with LC 6.7.11

2016-10-06 Thread Peter TB Brett
On 06/10/2016 11:14, Dave Kilroy wrote: I’m getting what seems to be a bug but would like to check it out with you guys first… If I use LC 6.7.11 (and Xcode 7.3.1) to build an app that contains an ‘Ask question’ and/or ‘Ask password’ dialog box - on iOS 9.3.5 they work fine - but on iOS 10

Ask dialogs in iOS10 with apps built with LC 6.7.11

2016-10-06 Thread Dave Kilroy
I’m getting what seems to be a bug but would like to check it out with you guys first… If I use LC 6.7.11 (and Xcode 7.3.1) to build an app that contains an ‘Ask question’ and/or ‘Ask password’ dialog box - on iOS 9.3.5 they work fine - but on iOS 10 the ‘Ask’ dialogs get converted to ‘Answer’

simulate mouse click in browser widget

2016-10-06 Thread Henk van der Velden
Hi all, is it possible to simulate a mouse click along the lines of click at globalLoc() in the browser widget? Kind regards, Henk ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: iOS 10 and native scroller

2016-10-06 Thread tekne
HI Peter I see the bug is already fixed with target release 8.1.2-rc-1 When do you think we can have this release? The mobile picker doesn't work correctly with iOS10 and to solve we need to use Xcode 8 which is not supported in LC6 or LC7 anymore. So I can¹t upload fixed apps in the App Store.

Re: Supercard 4.8 public beta

2016-10-06 Thread David V Glasgow
Richard, I take issue that the specific metaphor doesn’t matter. Stacks and cards are great metaphors for that period of time when a potential programmer is trying to build a mental model of what exactly it is they are trying to do on screen, and relating that to the available tools and