Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Pierre Sahores
Hi Roger, It’s simply no way to achieve 100% of cross platform ability as long as some features available, say, on the native Xcode’s iOS platform are not on the native Android SDK/NDK/JNI side and vice-versa ! Instead of complaining about this fact and, again, instead of limiting the cross

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Roger Eller
I have to say this, because I believe ti to be true. LiveCode developers are part of the problem. I think the majority of you have iOS devices because it is what you LIKE, not because it represents what the majority or even half of the population HAVE. Inexpensive Android devices are getting

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Malte Brill
I think the majority of you have iOS devices because it is what you LIKE, not because it represents what the majority or even half of the population HAVE. While I agree that feature (and syntax) parity is not (yet) achieved in liveCode (And why on earth do the mobile commands STILL throw

Re: Colouring words

2015-08-10 Thread Mike Bonner
oh. Assuming you're on a version of lc that supports truewords On Mon, Aug 10, 2015 at 10:03 AM, Mike Bonner bonnm...@gmail.com wrote: You can do this.. Still a bit ugly but it works. set the textcolor of trueword ( truewordoffset(only,line 5 of field 1)) of line 5 of field 1 to red On

Re: Colouring words

2015-08-10 Thread Mike Bonner
You can do this.. Still a bit ugly but it works. set the textcolor of trueword ( truewordoffset(only,line 5 of field 1)) of line 5 of field 1 to red On Mon, Aug 10, 2015 at 9:13 AM, Richmond richmondmathew...@gmail.com wrote: On 10/08/15 16:51, dunb...@aol.com wrote: @Mark There is

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Roger Eller
It is also irritating when the assumption is always that so many features are unavailable to the Android platform, and bright shiny iOS has everything you could ever dream of. I call BS on that as all major apps out there work exactly the same on both platforms. I have never read that Netflix

Re: Colouring words

2015-08-10 Thread dunbarx
Richmond. I see, you wanted to use the literal word as a chunk expression. But you surely know this is not valid in LC, and will have to use the wordOffset or something similar so you can get an actual valid chunk. Craig -Original Message- From: Richmond

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Richard Gaskin
Roger Eller wrote: ...a term that is in the dictionary should work exactly the same across all supported platforms. Is that how it works in Microsoft Visual Studio? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web

Choosing a database and LC tools

2015-08-10 Thread tbodine
Hi, I want to add a content library module to a LiveCode-built project. It will enable users to store, tag, sort and retrieve their content. I've read various threads and articles about databases, but I have minimal database experience and I want to get it right the first time. So I'd appreciate

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Mike Kerner
+1 Roger, +1 Pierre. On the first one, Roger, I completely agree, MORE SEAMLESS cross-platform, more attention to Android (and Win 10, etc.) is important, even if it's only because it says to the rest of the world Cross-platform for realises. I also agree with Pierre on where the investment goes.

Re: Colouring words

2015-08-10 Thread Richmond
On 10/08/15 16:51, dunb...@aol.com wrote: @Mark There is nothing wrong with setting the textColor of an entire line. Any valid chunk expression would do. No, there is nothing wrong with that, but that is not what I want to do. Richmond. @, Richmond: What are you seeing? Why does it

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Richard Gaskin
Roger Eller wrote: I have to say this, because I believe ti to be true. LiveCode developers are part of the problem. I think the majority of you have iOS devices because it is what you LIKE, not because it represents what the majority or even half of the population HAVE. Inexpensive Android

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Roger Eller
I wouldn't know. Why? Because I chose LiveCode (actually MetaCard) because my code could be written only once, and it worked the same on Mac, Win, and Irix at that time. Sure there were always shell calls once in a while, but overall, the original designers of the language put in some real

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Richmond
On 10/08/15 20:13, Mark Talluto wrote: On Aug 10, 2015, at 10:00 AM, Roger Eller roger.e.el...@sealedair.com wrote: I wouldn't know. Why? Because I chose LiveCode (actually MetaCard) because my code could be written only once, and it worked the same on Mac, Win, and Irix at that time. Sure

Re: Colouring words

2015-08-10 Thread Michael Doub
Yet another approach: put this is the only one into fld 1 put empty into s1 put empty into e1 get MatchChunk (line 1of fld 1,(?i).+(only).+,s1,e1) -- the regexp capture returns the start and end characters the match set the textcolor of char s1 to e1 of line 1 of fld 1 to red

Re: Colouring words

2015-08-10 Thread Mike Bonner
It sounds like you might want to look at the styledtext. Its a bit convoluted, but once you get it figured out, it should be very fast. Pseudo code for this would be.. put the text of the field into a variable. repeat for each line (paragraph) and build up an array of runs with descriptive text

Re: Colouring words

2015-08-10 Thread Richmond
The thing that emerges from my question is that to colour a word or phrase programmatically in a textField is a fiddly business and it would be nice (??) if a simpler way to do this were introduced. This works very well: on mouseUp put 1 into VOCABLE repeat until word VOCABLE in fld

Re: Choosing a database and LC tools

2015-08-10 Thread Peter Haworth
Hi Tom, SQLite should do what you need but a few notes for you. SQLite doesn't have an array datatype. The usual way of handling this type of data in any SQL database is to store each key and value of the array in a separate table that is linked to your main table by an id of some sort that

Re: [OT-ish] naming a MeetUp group

2015-08-10 Thread Bill Vlahos
Martin, I’m involved with a couple of MeetUp groups. My experience is similar to yours regarding the lack of attendance even when people confirm they are coming. Bill Vlahos On Aug 9, 2015, at 7:21 AM, Martin Koob mk...@rogers.com wrote: I set up a meet-up group page in Toronto

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Richmond
On 10/08/15 20:00, Roger Eller wrote: I wouldn't know. Why? Because I chose LiveCode (actually MetaCard) because my code could be written only once, and it worked the same on Mac, Win, and Irix at that time. Sure there were always shell calls once in a while, but overall, the original

Re: Colouring words

2015-08-10 Thread Michael Doub
I was going to suggest looking at styledText too, but it is kind of tricky to insert a run within the array. I think Richmond should look at some of the text routines in the masterLibrary. There are several that might be interesting: LineOffsets returns a list of lines that contain a

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Mark Talluto
On Aug 10, 2015, at 10:00 AM, Roger Eller roger.e.el...@sealedair.com wrote: I wouldn't know. Why? Because I chose LiveCode (actually MetaCard) because my code could be written only once, and it worked the same on Mac, Win, and Irix at that time. Sure there were always shell calls once

Re: Choosing a database and LC tools

2015-08-10 Thread Mark Talluto
On Aug 10, 2015, at 9:36 AM, tbodine bod...@bodinetraininggames.com wrote: 1) Is SQLite the best choice for local database file with a Livecode interface? (Each database record will need to hold a few sentences of Unicode text, 1 or 2 small arrays, the text contents of a few cprops, and a

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Roger Eller
Thankfully, hardware convergence is finally coming. If the latest generation Atom processors had been around when the iPad took the world by storm, we would have seen something quite different. I can now get a fully functional Dell tablet that is lighter and thinner than an iPad, but it can run

Re: Colouring words

2015-08-10 Thread J. Landman Gay
On 8/10/2015 12:39 PM, Richmond wrote: but, because one cannot set the textColor of a word in a stringVariable it is very slow with large texts because it has to work within the field. That's why I usually use the html suggestion that Mark S. provided. After getting the htmltext of the

Re: Colouring words

2015-08-10 Thread Richmond
On 10/08/15 19:03, Mike Bonner wrote: oh. Assuming you're on a version of lc that supports truewords Mine all seem to support falsewords . . . Err, sorry, the mask slipped there a minute :/ I see that version 7.0.5 supports truewords, and that's good enough for me. Thanks for that one.

Re: Jane Austen's peculiarity

2015-08-10 Thread hh
Hi all, Richmond, you could give this a try in your fine prepared stack: The following uses = an array [one of the proposals above] = trueWords [one of the proposals, needs LC 7] = multichar-itemDelimiters [one of the proposals above, needs LC 7] It outputs for each of your 6 opening words were

Re: Jane Austen's peculiarity

2015-08-10 Thread hh
Richmond, this was your last post to this thread before mine. My current version is here: https://www.dropbox.com/sh/ja47l87gg87sn0q/AAAIj99kEQVOb8ev3jz8C5ORa?dl=0 File : TA.zip play with it, rip it to pieces, improve it: go on, I dare you :) Richmond. So I downloaded this stack and

Android Status Bar?

2015-08-10 Thread Scott Rossi
Is it possible to customize the appearance of the status bar, i.e. making it transparent, so we can make the overall stack appearance look more like the current Android OS? Thanks Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design

Re: Choosing a database and LC tools

2015-08-10 Thread PystCat
Hi Bill, If you wouldn't mind... I would love to see some of those PHP scripts... I've always used MySQL locally but I was thinking of branching out to use it on the web. I have a Founders account but never really use the MySQL from there... I never did like the (lack of) security. Thanks

Re: Jane Austen's peculiarity

2015-08-10 Thread Richmond
On 10/08/15 22:19, hh wrote: Hi all, Richmond, you could give this a try in your fine prepared stack: The following uses = an array [one of the proposals above] = trueWords [one of the proposals, needs LC 7] = multichar-itemDelimiters [one of the proposals above, needs LC 7] It outputs for

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Monte Goulding
Unfortunately the platforms are relatively different in the way they do things so it's not easy to make things exactly the same unless you whittle things down to the lowest common denominator and that's not always helpful. As far as externals goes I'm keen to help there but there's two road

Re: Choosing a database and LC tools

2015-08-10 Thread William Prothero
Tom: I use Navicat to manage my databases. It will access a variety of online databases, and works with SQLite too. I use it all the time. In my app work, I use livecode with POST commands to php that talks to an online mySQL database. PHP is totally robust and won’t fail on you, and it’s built

Re: Colouring words

2015-08-10 Thread Richmond
On 10/08/15 14:45, Mark Schonewille wrote: Hi Richmond, It may not be as easy as you think: repeat with x = 1 to number of words of line y of fld What if word x of line y of fld What is only then set the textColor of word x of line y of fld What to red end if end repeat or put the

Re: Jane Austen's peculiarity

2015-08-10 Thread Richmond
My current version is here: https://www.dropbox.com/sh/ja47l87gg87sn0q/AAAIj99kEQVOb8ev3jz8C5ORa?dl=0 File : TA.zip play with it, rip it to pieces, improve it: go on, I dare you :) Richmond. ___ use-livecode mailing list

Re: Jane Austen's peculiarity

2015-08-10 Thread Richmond
On 09/08/15 23:03, Richard Gaskin wrote: Richmond wrote: Just by loading the textFields into variables the whole script runs considerably faster If you did the same with the output it'd get even faster. Hmm: on mouseUp put empty into fld COOKED put empty into fld STARTT put empty

Re: Colouring words

2015-08-10 Thread dunbarx
@Mark There is nothing wrong with setting the textColor of an entire line. Any valid chunk expression would do. @, Richmond: What are you seeing? Why does it not work? I am in v 6.7. Craig Newman -Original Message- From: Richmond richmondmathew...@gmail.com To: How to use

Colouring words

2015-08-10 Thread Richmond
what is wrong with this: if line 5 of fld WHAT contains only then set the textColor of only in line 5 of fld WHAT to red end if ??? I would like to set certain phrases in a sentence to a different textColor to the other words . . . . . . should be dead easy. Richmond.

Re: Colouring words

2015-08-10 Thread Mark Schonewille
Hi Richmond, It may not be as easy as you think: repeat with x = 1 to number of words of line y of fld What if word x of line y of fld What is only then set the textColor of word x of line y of fld What to red end if end repeat or put the htmlText of fld What into myText replace only

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Mike Kerner
Back in The Days Of The Language Wars, it was important, but now, with so many specialty languages for so many reasons, it becomes much less of an issue. The PL bigots have been upended by uncompiled web languages. Whether it's this or Xojo or something else, LC still has a lead for building

Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Roger Eller
Although LC calls itself cross-platform, I despise the fact that commands in the dictionary, particularly for mobile, have quirks that make it a little different for Android than iOS. If it wants to call itself cross-platform, a term that is in the dictionary should work exactly the same across