Re: Threading (plus random question)

2016-09-10 Thread Mike Kerner
OK, it also turns out that there is another issue, namely that LC doesn't seem to track ctrl presses in the SE. On other platforms it looks like it treats ctrl like cmd but on the mac it just ignores it. Once I've got it tested and working on all platforms, I'll submit a pull request. There's

Re: "lightening" a color

2016-09-10 Thread J. Landman Gay
On 9/10/16 5:00 PM, Dr. Hawkins wrote: Is there a way to "lighten" a color. This showed up on the list some time ago: function lightenColor origColor try repeat with i = 1 to 3 add 50 to item i of origColor if item i of origColor > 255 then put 255 into item i of origColor

ANN: new glx2 script editor now on line

2016-09-10 Thread ahsoftware
Zombie alert: the dead glx2 script editor has come back to life. From the release notes: 2016.09.10 GLX2 3.0.19 Fraser Gordon and I sat down for half an hour at the LiveCode 16 conference in Edinburgh and figured out what was causing the problem with taking up the CPU cycles. The engine

Re: "lightening" a color

2016-09-10 Thread Scott Rossi
Here's a tint function from way back. pRGB is an RGB triplet, pValue is a decimal percent value for the desired tint of the color. function colorTint pRGB, pValue -- pRGB is RGB triplet -- pValue is between 0 and 1 put pRGB into theTint repeat with N = 1 to 3 put item N of pRGB

Re: "lightening" a color

2016-09-10 Thread hh
Yet another option could be to set the ink of the object to "blendLighten". ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Strategies to test stacks in different platforms

2016-09-10 Thread Alejandro Tejada
Hi Jacque, Many Thanks for publishing a link to your webpage! After posting my first message, I found this webpage written by Devin Asay: http://revolution.byu.edu/design/InterfaceDes.php Among many useful references cited by Devin, I found this webpage:

Re: "lightening" a color

2016-09-10 Thread Tore Nilsen
Since white in the rgb space is made by adding max value of all three primary colours, and getting the colour will give you a list of numerical values in the form of 255,0,0 for maximum red, 0,255,0 for maximum green and 0,0,255 for maximum blue, you can always change any of these values to

Re: "lightening" a color

2016-09-10 Thread Rick Harrison
Have you considered just changing the border color of the object? If you made the border wider, and then changed the color a little that might be the best way to indicate to the user that they are using a different selection. It would certainly be a lot easier than changing the color of the

"lightening" a color

2016-09-10 Thread Dr. Hawkins
I am adding the ability to have multiple clients open, and want to use colors as a cue. Is there a way to "lighten" a color. That is (I suppose), to grab the numeric representation, and convert that to a much paler shade of the color? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: Threading (plus random question)

2016-09-10 Thread Mike Kerner
and I added a bug report. On Sat, Sep 10, 2016 at 5:06 PM, Mike Kerner wrote: > Interesting: The shortcut is called out as command-tab and > command-shift-tab in the code. I wonder why. Well, there's another > community project: custom shortcuts in the various IDE

Re: Strategies to test stacks in different platforms

2016-09-10 Thread J. Landman Gay
On 9/10/16 2:14 PM, Alejandro Tejada wrote: Hi All, In this moment, I am testing an application (saved as an stack, not an executable) in Linux and Windows. As professional developers, many of you have to do this every day. Could you share some true and tried strategies to test stacks as

Re: Threading (plus random question)

2016-09-10 Thread Mike Kerner
Interesting: The shortcut is called out as command-tab and command-shift-tab in the code. I wonder why. Well, there's another community project: custom shortcuts in the various IDE elements. On Sat, Sep 10, 2016 at 4:59 PM, Mike Kerner wrote: > and as long as we're

Re: Threading (plus random question)

2016-09-10 Thread Mike Kerner
and as long as we're on the topic, does anyone else have any interesting front/backscripts to share? On Sat, Sep 10, 2016 at 4:47 PM, Mike Kerner wrote: > On a mac, ctrl-tab does not seem to be mapped to changing tabs in the SE. > Cmd-tab is mapped to the application

Re: Threading (plus random question)

2016-09-10 Thread Mike Kerner
On a mac, ctrl-tab does not seem to be mapped to changing tabs in the SE. Cmd-tab is mapped to the application switcher. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Threading (plus random question)

2016-09-10 Thread Richard Gaskin
Mike Kerner wrote: > Dumb question - is ctrl-tab supposed to switch tabs in the SE? > It doesn't for me with or without this script. LC usually maps the Control key on other platforms to the Command key (I guess now called the Apple key) on Mac. Here I get SE tab navigation with Ctrl-Tab,

Re: List Field - Outline - Sub-Levels

2016-09-10 Thread Richard Gaskin
Sannyasin Brahmanathaswami wrote: > Has anyone wired up a script for a list field that automatically will > create outline indents with the next indent style Here's a quickie to get you started: go url "http://fourthworld.net/channels/lc/ListIndent.livecode; -- Richard Gaskin Fourth World

Re: Threading (plus random question)

2016-09-10 Thread Mike Kerner
Dumb question - is ctrl-tab supposed to switch tabs in the SE? It doesn't for me with or without this script. On Sat, Sep 10, 2016 at 7:13 AM, Peter M. Brigham wrote: > On Sep 9, 2016, at 7:00 PM, Bob Sneidar wrote: > > > I bet that is why you could never get the browse part

Strategies to test stacks in different platforms

2016-09-10 Thread Alejandro Tejada
Hi All, In this moment, I am testing an application (saved as an stack, not an executable) in Linux and Windows. As professional developers, many of you have to do this every day. Could you share some true and tried strategies to test stacks as users (not as developers) in different platforms?

Re: clickChunk discrepancy

2016-09-10 Thread hh
> Richmond M. wrote: > 'Twould be nice . . . if: > clickChunk always yielded a 'word', and clickLine always yielded a line. This works for here in a field's script (also listField). function clickWord return word clickWordNum() of me end clickWord function clickWordNum if the clickChar is

Re: clickChunk discrepancy

2016-09-10 Thread Richmond
'Twould be nice . . . if: clickChunk always yielded a 'word', and clickLine always yielded a line. Richmond. On 10.09.2016 19:03, Mike Bonner wrote: You can turn off "list behavior" in the properties, and it will work, but even then if you still want the clicked line to be selected, you'll

Re: clickChunk discrepancy

2016-09-10 Thread Mike Bonner
You can turn off "list behavior" in the properties, and it will work, but even then if you still want the clicked line to be selected, you'll have to do that in code yourself. On Sat, Sep 10, 2016 at 9:32 AM, Richmond wrote: > Why, if one clicks on a word (a set of

clickChunk discrepancy

2016-09-10 Thread Richmond
Why, if one clicks on a word (a set of chars bounded by spaces) in a standard *textField* does *clickChunk* yield that word, while in a scrolling *listField* does it yield the whole of the line? This is a problem if one wishes to know which word in a specific line in a scrolling listField an

Re: vCard/vCal Parsing?

2016-09-10 Thread FlexibleLearning.com
Peter Reid wrote: > Has anyone got a library for parsing vCard and vCal files? I found some forum > chat from 2006 about a library called vObjectPackage developed by Andre > Garzia but the links to this are dead. Does anyone know whether this is still > available or whether

Re: Threading (plus random question)

2016-09-10 Thread Peter M. Brigham
On Sep 9, 2016, at 7:00 PM, Bob Sneidar wrote: > I bet that is why you could never get the browse part to work. ;-) > > Bob S > > > On Sep 9, 2016, at 06:19 , Peter M. Brigham > > wrote: > >set the tool to "browse ttol" Sometimes my typing

Re: use-livecode Digest, Vol 156, Issue 20

2016-09-10 Thread Peter Reid
Hi Richard Very good - informative and humorous! Peter -- Peter Reid Loughborough, UK > On 10 Sep 2016, at 11:00am, use-livecode-requ...@lists.runrev.com wrote: > > Date: Fri, 9 Sep 2016 08:02:38 -0700 > From: Richard Gaskin > To: use-livecode@lists.runrev.com >