Re: Programmatically determine the average greyscale

2016-02-20 Thread J. Landman Gay
On February 20, 2016 11:22:19 PM "[-hh]" wrote: > hh wrote: > BR uses or wants to use button labels. > Where then do you apply this effect? To a button label? jacque wrote: Shadows work on button names/labels the same as they do for fields if the button is transparent. The

Re: Programmatically determine the average greyscale

2016-02-20 Thread [-hh]
> > hh wrote: > > BR uses or wants to use button labels. > > Where then do you apply this effect? To a button label? > > jacque wrote: > Shadows work on button names/labels the same as they do for fields > if the button is transparent. The shadow affects only the text. He uses images as

Re: Programmatically determine the average greyscale

2016-02-20 Thread J. Landman Gay
On 2/20/2016 8:13 PM, [-hh] wrote: BR uses or wants to use button labels. Where then do you apply this effect? To a button label? Shadows work on button names/labels the same as they do for fields if the button is transparent. The shadow affects only the text. -- Jacqueline Landman Gay

Re: How do I enable scrolling of a group ?

2016-02-20 Thread [-hh]
This is essentially the same technique that Scott R. suggested. New is the MOVE-TO-SCROLL-FACTOR, in case you prefer that. ** The scroll respects here the group's relative to card's size. ** ** Thus scrolling becomes "parallel" to the mouseMove distances. ** For example if you move your

LC 8 dp 14 Browser Widget not "obeying" position instructions

2016-02-20 Thread Sannyasin Brahmanathaswami
  working in LC 8 DP 14 now... See my other thread appropo and app archtecture requiring changing from portrait to landscape and back again as we move through the stack/cards -- in the absence of any "best practices" I'm hacking this from ground zero set custom prop for each card:

Re: Modifying revErrorReport

2016-02-20 Thread Sannyasin Brahmanathaswami
And there is this; sendGrid https://sendgrid.com/pricing if you can afford it. API's on the server as as simple as https://api.sendgrid.com/api/mail.send.json; put it & cr & cr after url ("file:" & $_SERVER["DOCUMENT_ROOT"] & "/ddd/ddd-log.txt") end sendGridMail Advantages: you don't need

Re: Trouble with LiveCode Server on Ubuntu

2016-02-20 Thread Sannyasin Brahmanathaswami
  On February 19, 2016 at 5:46:15 PM, Mike Bonner (bonnm...@gmail.com(mailto:bonnm...@gmail.com)) wrote: > On Fri, Feb 19, 2016 at 8:44 > PM(http://airmail.calendar/2016-02-19%2020:44:00%20HST), Mike Bonner wrote: > > try apt-get install libxext6 Mike... Awesome.. that worked! Yay 

Re: Programmatically determine the average greyscale

2016-02-20 Thread [-hh]
BR uses or wants to use button labels. Where then do you apply this effect? To a button label? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Programmatically determine the average greyscale

2016-02-20 Thread J. Landman Gay
On 2/20/2016 5:49 PM, Mark Wieder wrote: On 02/20/2016 03:43 PM, J. Landman Gay wrote: Should have known you'd answer first. :-) Missed it by *that* much... Would have made it too, if someone hadn't been messing around with the calibration on my time warp stack. You know how those artsy

Re: How do I enable scrolling of a group ?

2016-02-20 Thread Scott Rossi
Not sure about touch specifically, but as long as the rect of the group's contents exceeds the rect of the group, the group should be scrollable. Or, set the unboundedVScroll of the group to true, but you'll have to impose some limits there. Quick and dirty script for single click/drag: local

How do I enable scrolling of a group ?

2016-02-20 Thread Alex Tweedly
Specifically, I want a group to scroll in response to a two-fingered touch/swipe (on OSX). For a field, I can scroll it provided the field is enabled, even if the text is locked, But a group doesn't respond - even if enabled. I'm hoping there is some other property I need to set

Re: Programmatically determine the average greyscale

2016-02-20 Thread Scott Rossi
Should have known you'd answer the same answer :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/20/16, 3:43 PM, "use-livecode on behalf of J. Landman Gay" wrote: >Should have known you'd

Re: Programmatically determine the average greyscale

2016-02-20 Thread Mark Wieder
On 02/20/2016 03:25 PM, Tim Selander wrote: Would it be better to do what we do in the video world? Put a black edge on the "Realm of Knowledge" text. Any video editor can do that, but you can fake a reasonable fascimile put using the text twice, in layers. Top layer is the text in white. Bottom

Re: Programmatically determine the average greyscale

2016-02-20 Thread Mark Wieder
On 02/20/2016 03:43 PM, J. Landman Gay wrote: Should have known you'd answer first. :-) Missed it by *that* much... -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Programmatically determine the average greyscale

2016-02-20 Thread J. Landman Gay
Should have known you'd answer first. :-) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 20, 2016 5:38:30 PM Scott Rossi wrote: A good suggestion. You can achieve the

Re: Programmatically determine the average greyscale

2016-02-20 Thread J. Landman Gay
I like that idea. You can do the same thing in one go by applying a shadow graphic effect to text in a transparent field. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 20, 2016 5:27:09 PM Tim

Re: Programmatically determine the average greyscale

2016-02-20 Thread Scott Rossi
A good suggestion. You can achieve the same effect in LC without duplicate objects by adding a dropshadow effect to the text that has a size of 0, an angle of 45, and a distance of 2 or 3 (maybe higher, depending on the size of the text). Regards, Scott Rossi Creative Director Tactile Media,

Re: knowing when a browser page has loaded

2016-02-20 Thread Colin Holgate
Thanks, that looks better. It also says the message gets sent to the widget’s script, whereas the other help says messages get sent to the card. > On Feb 20, 2016, at 6:10 PM, James Little wrote: > > > Hi Colin, > > If the Dictionary for DP14 is set on “API” and the

Re: Programmatically determine the average greyscale

2016-02-20 Thread Tim Selander
Would it be better to do what we do in the video world? Put a black edge on the "Realm of Knowledge" text. Any video editor can do that, but you can fake a reasonable fascimile put using the text twice, in layers. Top layer is the text in white. Bottom layer in black. Shift the black text down

Re: knowing when a browser page has loaded

2016-02-20 Thread James Little
Hi Colin, If the Dictionary for DP14 is set on “API” and the drop down menu in the upper L corner is set on “Browser”, I see as one of the choices: browserDocumentLoadComplete TypemessageSyntaxbrowserDocumentLoadComplete pUrl Associationscom.livecode.widget.browserSummarySent when a document

Re: knowing when a browser page has loaded

2016-02-20 Thread Colin Holgate
The BrowserDocumentLoadComplete one isn’t listed in any dictionaries. The BrowserNavigateComplete is after the navigation part is done, and the page starts to load. I need to know when it’s finished loading. > On Feb 20, 2016, at 5:04 PM, James Little wrote: > > Hi

Re: put url into binfile failure

2016-02-20 Thread Mark Wieder
On 02/20/2016 02:01 PM, Colin Holgate wrote: I hopefully won’t be able to reproduce this, so I’m just mentioning it in case anyone else had seen the same thing. Was working on something for awhile today, that amongst other things saves a web based image to a local file. On these lines: put

Re: knowing when a browser page has loaded

2016-02-20 Thread James Little
Hi Colin, >From the Dictionary, under Browser, others are mentioned, though I’ve not >tried them. BrowserDocumentLoad Complete pURL BrowserNavigateComplete pURL There’s also, among others: BrowserNavigateFailed pURL, pError BrowserDocumentLoadFailed pURL, pError Jim Little > > >

Re: knowing when a browser page has loaded

2016-02-20 Thread James Little
On Feb 20, 2016, at 12:57 PM, Colin Holgate wrote: > Thanks, that one does work, but I need to know when the page is finished > loading, and I’m setting the URL with code. At the time that > BrowserNavigateBegin happens, the page is still blank. > > >> On Feb 20,

put url into binfile failure

2016-02-20 Thread Colin Holgate
I hopefully won’t be able to reproduce this, so I’m just mentioning it in case anyone else had seen the same thing. Was working on something for awhile today, that amongst other things saves a web based image to a local file. On these lines: put url

Re: Finding UTC

2016-02-20 Thread Earthednet-wp
There is a php command that returns GMT. I assume that means that the hosting server knows what time zone it's in. I use liquidweb vps hosting. So,I don't have to worry about whether it is set up properly. I don't know if there are complications when you run your own server. Shouldn't be,

Re: knowing when a browser page has loaded

2016-02-20 Thread Colin Holgate
Thanks, that one does work, but I need to know when the page is finished loading, and I’m setting the URL with code. At the time that BrowserNavigateBegin happens, the page is still blank. > On Feb 20, 2016, at 3:49 PM, James Little wrote: > > > Try

Re: knowing when a browser page has loaded

2016-02-20 Thread James Little
Try BrowserNavigateBegin pURL Turn on Message Watcher as you interact with the widget. Jim On Feb 20, 2016, at 12:47 PM, James Little wrote: > > Try BrowserNavigateBegin pURL > > Turn on Message Watcher as you interact with the widget. > > Jim > > > On Feb 20,

knowing when a browser page has loaded

2016-02-20 Thread Colin Holgate
In LiveCode 8, how can you tell when a browser page has fully loaded? I’ve tried browserDocumentCompleteFrame, browserDocumentComplete, and broswerFinishedLoading, none of them seem to fire. This is on Mac, so the last of those three probably shouldn’t work. Should the other two work?

Developing Stack/App with Multiple Orientation Requirements

2016-02-20 Thread Sannyasin Brahmanathaswami
Use Case: Mobile app dev for Phones, where 1) the main app UI and navigation and "text reading" cards all are best done in portrait orientation 2) some of our web sites are not responsive and a) look horrible if viewed in portrait oriention on a small device b) do render reasonably in

Re: Finding UTC

2016-02-20 Thread Sannyasin Brahmanathaswami
On February 20, 2016 at 6:50:55 AM, Earthednet-wp (proth...@earthednet.org) wrote: This will of course put the time as perceived by the server where in the world my copy of LCS happens to be hosted. Given that this is arbitrary from the point of view of a user

Re: Web Browser in LC 8

2016-02-20 Thread Sannyasin Brahmanathaswami
On February 20, 2016 at 6:04:53 AM, Mark Waddingham (m...@livecode.com) wrote: So there is no need to do anything different for android or iOS - it should 'just work'. Mark Aloha, Mark Wow that's awesome, thanks for making that happen!

Re: Finding UTC

2016-02-20 Thread Earthednet-wp
Graham, I have a little php script that returns GMT. I will post a demo stack on my server if you are interested. But it does sound like LC has this built in. However, it will need to go out to the internet if it is to eliminate its dependence on the user's computer. Bill William Prothero

Re: Web Browser in LC 8

2016-02-20 Thread Mark Waddingham
The browser widget works on all platforms and should do so uniformly - any platform specific aspects will be marked in the dictionary as such in the usual way. So there is no need to do anything different for android or iOS - it should 'just work'. Mark Mark Sent from my iPhone > On 20 Feb

Re: Web Browser in LC 8

2016-02-20 Thread James Little
Hi BR, I have not tried the browser widget on mobile. If you have any use for a tree view, consider trying the tree view widget with arrays. Set the arraydata of widget “MyTreeView” to tArray Another trick I learned from an early Kevin Miller video was to turn on “Message Watcher” under

Re: Finding UTC

2016-02-20 Thread [-hh]
You could think about showing the internet date (=full information). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Finding UTC

2016-02-20 Thread Richard Gaskin
Graham Samuel wrote: > In LCS, I can write a line of code that says something like > > put the time > > This will of course put the time as perceived by the server where in > the world my copy of LCS happens to be hosted. Given that this is > arbitrary from the point of view of a user of the

Re: Web Browser in LC 8

2016-02-20 Thread Sannyasin Brahmanathaswami
On February 20, 2016 at 2:40:56 AM, Trevor DeVore (li...@mangomultimedia.com) wrote: You have to switch to the browse tool to see the contents of the browser. Did you try that? oh... duh... yes, that works :-) @ james... thanks for the encouragement, it seems

Finding UTC

2016-02-20 Thread Graham Samuel
This may be obvious to somebody, but I am a newbie as regards LiveCode Server: In LCS, I can write a line of code that says something like put the time This will of course put the time as perceived by the server where in the world my copy of LCS happens to be hosted. Given that this is

Re: Programmatically determine the average greyscale

2016-02-20 Thread [-hh]
> BR wrote: > HH You are right of course. one pixel was an expediency and certainly > does not cover all cases. In fact it is a rather weak algorithm ... > ... Musings: > A random algorithm also does not help us out either. BR, [1] I didn't say a single random pixel is the way to go. I simply

Re: Web Browser in LC 8

2016-02-20 Thread Trevor DeVore
On Friday, February 19, 2016, Sannyasin Brahmanathaswami wrote: > Is the Browser widget in LC 8 ready for production? Not in do-14. On Windows the browser doesn't scale properly on hi-dpi displays and it doesn't always behave. There are a number of fixes coming in DP-15