Re: [OT] Up is down

2018-09-01 Thread Mark Wieder via use-livecode
On 09/01/2018 04:54 PM, J. Landman Gay via use-livecode wrote: On September 1, 2018 6:34:17 PM Mark Wieder via use-livecode wrote: On 09/01/2018 02:48 PM, J. Landman Gay via use-livecode wrote: No, it's a little north-east of center. Wait. What? West is north-east of center? Of course.

Re: [OT] Accommodation in Edinburgh

2018-09-01 Thread Colin Holgate via use-livecode
For the last conference in Edinburgh I used AirBNB. It worked out well, and I biked to the conference each day in a few minutes. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: [OT] Accommodation in Edinburgh

2018-09-01 Thread Jim Lambert via use-livecode
> Hugh wrote: > We are (finally!) taking a week's holiday north of the border and want to > visit Edinburgh 10-15 September. > Any hotel recommendations? Does not have to be in the city centre! > These are not hotels. But we have stayed at both of these charming apartments. Hidden Glen was

[OT] Up is down (was: Searching for a word when it's more than one word)

2018-09-01 Thread J. Landman Gay via use-livecode
On September 1, 2018 6:34:17 PM Mark Wieder via use-livecode wrote: On 09/01/2018 02:48 PM, J. Landman Gay via use-livecode wrote: No, it's a little north-east of center. Wait. What? West is north-east of center? Of course. When you're that far south, everything is north. I assume their

Re: Searching for a word when it's more than one word

2018-09-01 Thread Mark Wieder via use-livecode
On 09/01/2018 02:48 PM, J. Landman Gay via use-livecode wrote: No, it's a little north-east of center. Wait. What? West is north-east of center? -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Searching for a word when it's more than one word

2018-09-01 Thread J. Landman Gay via use-livecode
No, it's a little north-east of center. On 9/1/18 12:02 PM, Richmond Mathewson via use-livecode wrote: Is West, Texas in West Texas? Richmond. On 1/9/2018 6:55 pm, Mark Wieder via use-livecode wrote: On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote: There is a town in Texas

Re: Searching for a word when it's more than one word

2018-09-01 Thread J. Landman Gay via use-livecode
On 9/1/18 10:55 AM, Mark Wieder via use-livecode wrote: On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote: There is a town in Texas called West, made infamous a few years ago by a giant explosion. I don't think you can make assumptions about names of places. And thus the

Re: Searching for a word when it's more than one word

2018-09-01 Thread Richmond Mathewson via use-livecode
East or West, home is a comfy LiveCode stack . . . Well; here's my third version, which does better than the first 2: https://www.dropbox.com/s/r3yocmqzwhwu4ta/Text%20analyzer%20X.livecode.zip?dl=0 Richmond. On 1/9/2018 6:39 pm, J. Landman Gay via use-livecode wrote: There is a town in Texas

Re: Chunked Off

2018-09-01 Thread Mark Wieder via use-livecode
On 09/01/2018 09:58 AM, Richmond Mathewson via use-livecode wrote: I suspect that is EXACTLY what I am looking for. Thank you very much indeed. !! I find myself much surprised that I have actually managed to accomplish a task before finishing my first cup of coffee of the day. I think I'll

tabMode request for WP-style tabAlign

2018-09-01 Thread Curry Kenworthy via use-livecode
I have submitted a feature request for word processing style tab stop aligns: https://quality.livecode.com/show_bug.cgi?id=21554 Current LC 7+ tabAlign is perfect for columns, including tables. That's because it is, in fact, column

Re: Searching for a word when it's more than one word

2018-09-01 Thread Richmond Mathewson via use-livecode
We're all in a state at the moment with this one. Richmond. On 1/9/2018 7:24 pm, Stephen MacLean via use-livecode wrote: Thankfully, in my case, I do know what at least the state is:) On Sep 1, 2018, at 11:55 AM, Mark Wieder via use-livecode wrote: On 09/01/2018 08:39 AM, J. Landman Gay

Re: Searching for a word when it's more than one word

2018-09-01 Thread Richmond Mathewson via use-livecode
Is West, Texas in West Texas? Richmond. On 1/9/2018 6:55 pm, Mark Wieder via use-livecode wrote: On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote: There is a town in Texas called West, made infamous a few years ago by a giant explosion. I don't think you can make assumptions

Re: [OT] Accommodation in Edinburgh

2018-09-01 Thread Richmond Mathewson via use-livecode
If you get there bfore the University year starts one of the *best, and relatively inexpensive, places to stay is the Pollok Halls student residences: https://www.edinburghfirst.co.uk/for-accommodation/pollock-halls/ I stayed there last when I attended a LiveCode conference a few years back.

Re: Chunked Off

2018-09-01 Thread Richmond Mathewson via use-livecode
I suspect that is EXACTLY what I am looking for. Thank you very much indeed. Richmond. On 1/9/2018 6:54 pm, Mark Wieder via use-livecode wrote: On 09/01/2018 06:22 AM, Richmond Mathewson via use-livecode wrote: I've got a text, in a field ("xText"), that contains the phrase "Ruyton of the

Re: Searching for a word when it's more than one word

2018-09-01 Thread Richmond Mathewson via use-livecode
That sounds remarkably like two women who are friends of my parents: One is called "Gay" and the other one is called "Loveday". They were friends at school 60 years ago and when they were both widowed they moved in together; although the son of one of them fell out with his wife and now lives

Re: Searching for a word when it's more than one word

2018-09-01 Thread Stephen MacLean via use-livecode
Thankfully, in my case, I do know what at least the state is:) > On Sep 1, 2018, at 11:55 AM, Mark Wieder via use-livecode > wrote: > >> On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote: >> There is a town in Texas called West, made infamous a few years ago by a >> giant

ImageHandles_v105

2018-09-01 Thread hh via use-livecode
Just uploaded hhImageHandles to "Sample Stacks". This is a group of handles that is attachable to any image. All you have to do (after copying the group to your stack): send "setTarget " to group "hhPoly" Base position of the 9 handles (use a monospaced font): ### ##

Re: Searching for a word when it's more than one word

2018-09-01 Thread Mark Wieder via use-livecode
On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote: There is a town in Texas called West, made infamous a few years ago by a giant explosion. I don't think you can make assumptions about names of places. And thus the distinction between West Texas and West, Texas. -- Mark Wieder

[OT] Accommodation in Edinburgh

2018-09-01 Thread FlexibleLearning.com via use-livecode
We are (finally!) taking a week's holiday north of the border and want to visit Edinburgh 10-15 September. Any hotel recommendations? Does not have to be in the city centre! Hugh ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Chunked Off

2018-09-01 Thread Mark Wieder via use-livecode
On 09/01/2018 06:22 AM, Richmond Mathewson via use-livecode wrote: I've got a text, in a field ("xText"), that contains the phrase "Ruyton of the Eleven Towns." Now what I would like to do is dlete the chunk "Ruyton of the Eleven Towns." from the string variable . . . BUT . . . if I "try

Re: Searching for a word when it's more than one word

2018-09-01 Thread J. Landman Gay via use-livecode
There is a town in Texas called West, made infamous a few years ago by a giant explosion. I don't think you can make assumptions about names of places. Mark's suggestion to check for words ending in "s" will fail on many towns, though apostrophe-s may be safe. -- Jacqueline Landman Gay |

startUp messaging hierarchy

2018-09-01 Thread FlexibleLearning.com via use-livecode
I find myself unable to answer this rather basic question, and cannot locate any information... e.g. This is both incomplete and also most likely incorrect... startUp (if engine is not already loaded) - frontScript: -- PreOpenStack -- PreOpenCard -- openStack -- openCard -- preOpenBackGround --

Chunked Off

2018-09-01 Thread Richmond Mathewson via use-livecode
Yup: a lot. I've got a text, in a field ("xText"), that contains the phrase "Ruyton of the Eleven Towns." [ Don't worry why it is "Ruyton of the Eleven Towns.": just part of an ongoing, slightly kinky relationship with someone at LC central. ] Now . . . I can do this sort of thing: on

Re: Searching for a word when it's more than one word

2018-09-01 Thread Stephen MacLean via use-livecode
Wow, this is awesome, thank you all!! Sorry, on the road taking my daughter to college, would love to try some of this out. One thing to keep in mind is that as that I’m checking for names against the town list, I may not know what town I’m actually looking for. Usually i do, but not always.

Re: Searching for a word when it's more than one word

2018-09-01 Thread Richmond Mathewson via use-livecode
On 1/9/2018 2:50 pm, Mark Waddingham via use-livecode wrote: On 2018-09-01 13:15, Richmond Mathewson via use-livecode wrote: I've already shovelled Ruyton of the Eleven Towns quite effectively: https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0 No tokenising,

Re: Searching for a word when it's more than one word

2018-09-01 Thread Richmond Mathewson via use-livecode
It didn't like this: on mouseDown put empty into fld "zText" if fld "xText" contains "Ruyton of the Eleven Towns." then put fld "xText" into fld "zText" put "Ruyton of the Eleven Towns." into CHUNNK put empty into CHUNNK of fld "zText" end if *end mouseDown** **

Re: Searching for a word when it's more than one word

2018-09-01 Thread Mark Waddingham via use-livecode
On 2018-09-01 13:15, Richmond Mathewson via use-livecode wrote: I've already shovelled Ruyton of the Eleven Towns quite effectively: https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0 No tokenising, in fact very basic stuff indeed. Not wishing to bang on about

Re: Searching for a word when it's more than one word

2018-09-01 Thread Richmond Mathewson via use-livecode
On 1/9/2018 2:25 pm, Mark Waddingham via use-livecode wrote: On 2018-09-01 13:15, Richmond Mathewson via use-livecode wrote: I've already shovelled Ruyton of the Eleven Towns quite effectively: https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0 No

Re: Searching for a word when it's more than one word

2018-09-01 Thread Mark Waddingham via use-livecode
On 2018-09-01 13:15, Richmond Mathewson via use-livecode wrote: I've already shovelled Ruyton of the Eleven Towns quite effectively: https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0 No tokenising, in fact very basic stuff indeed. Not wishing to bang on about

Re: Searching for a word when it's more than one word

2018-09-01 Thread Richmond Mathewson via use-livecode
I've already shovelled Ruyton of the Eleven Towns quite effectively: https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0 No tokenising, in fact very basic stuff indeed. Not wishing to bang on about over-complcating things . . . . . Probably time for both Thee and

Re: Searching for a word when it's more than one word

2018-09-01 Thread Mark Waddingham via use-livecode
On 2018-09-01 12:50, Richmond Mathewson via use-livecode wrote: Yup: indeed: fairly coarse. However, see my next posting re "Ruyton of the Eleven Towns" that should make some folk feel that they need a set of sewing needles rather than "just" a silver teaspoon. I think you'll find my 'silver

Re: Searching for a word when it's more than one word

2018-09-01 Thread Richmond Mathewson via use-livecode
Yup: indeed: fairly coarse. However, see my next posting re "Ruyton of the Eleven Towns" that should make some folk feel that they need a set of sewing needles rather than "just" a silver teaspoon. Richmond. On 1/9/2018 1:45 pm, Mark Waddingham via use-livecode wrote: On 2018-09-01 12:35,

Re: Searching for a word when it's more than one word

2018-09-01 Thread Richmond Mathewson via use-livecode
I can see that the "problem", which my stack does not address, is with 2 or 3 part place names: The Rochester/Chester problem is easily dealt with. While it should be realtively easy to have a subroutine to deal with words such as "West" (after all, there are no places just called "West"),

Re: Searching for a word when it's more than one word

2018-09-01 Thread Mark Waddingham via use-livecode
On 2018-09-01 12:35, Richmond Mathewson via use-livecode wrote: That's because you lot tend to use a silver teaspoon while I tend to use a great big shovel: https://www.dropbox.com/s/00t8oftb1ydm8ni/Text%20analyzer%20X.livecode.zip?dl=0 Heh, great big shovels are great for coarse work - e.g.

Re: Searching for a word when it's more than one word

2018-09-01 Thread Richmond Mathewson via use-livecode
That's because you lot tend to use a silver teaspoon while I tend to use a great big shovel: https://www.dropbox.com/s/00t8oftb1ydm8ni/Text%20analyzer%20X.livecode.zip?dl=0 Richmond. On 1/9/2018 1:29 pm, Mark Waddingham via use-livecode wrote: On 2018-09-01 12:05, Richmond Mathewson via

Re: Searching for a word when it's more than one word

2018-09-01 Thread Mark Waddingham via use-livecode
On 2018-09-01 12:05, Richmond Mathewson via use-livecode wrote: Obviously, when considering names of places such as Colchester, Rochester and Chester one has to search for the longer names first and exclude them from later searches. The 'substring' problem (i.e. Chester being 'in' Rochester)

Re: Searching for a word when it's more than one word

2018-09-01 Thread Richmond Mathewson via use-livecode
Obviously, when considering names of places such as Colchester, Rochester and Chester one has to search for the longer names first and exclude them from later searches. Richmond. On 1/9/2018 12:59 pm, Mark Waddingham via use-livecode wrote: On 2018-09-01 06:48, Stephen MacLean via

Re: Searching for a word when it's more than one word

2018-09-01 Thread Mark Waddingham via use-livecode
On 2018-09-01 06:48, Stephen MacLean via use-livecode wrote: Hi All, First, followed Keith Clarke’s thread and got a lot out of it, thank you all. That’s gone into my code snippets! Now I know, the title is not technically true, if it’s 2 words, they are distinct and different. Maybe it’s

Re: Deleting a char inside a textField via code

2018-09-01 Thread Richmond Mathewson via use-livecode
Not much help forthcoming around these parts: so: Diddit masen: *on mouseUp** ** put the selectedChunk into CHK** ** put word 4 of CHK into NUMERO** ** delete char NUMERO of fld "ff"** **end mouseUp* muffled rude noises. Richmond. ___

Re: Deleting a char inside a textField via code

2018-09-01 Thread Richmond Mathewson via use-livecode
What is unfortunate is that these "possibilities" are not possible: delete before the selectedText delete after the selectedText and THIS works ONLY when some text is selected (rather than before the insertion point): delete the selectedText there seems to be no obvious way to work out

Re: Searching for a word when it's more than one word

2018-09-01 Thread Keith Clarke via use-livecode
Very interesting Steve, your use case is actually very close to what I’m trying to achieve, which is to identify keywords and phrases within a corpus of text - think prioritised ’tag cloud’ metadata. My original plan (as a non-programmer) was to identify the most popular unique words within

Re: Mobile Rotation Redux

2018-09-01 Thread Brian Milby via use-livecode
As I like to do, I decided to really over-do the demo test stacks. The one I mentioned initially is: https://milby.us/lc/RotationDemo.livecode The one I just finished working on does a bit more: https://milby.us/lc/MobileDemo.livecode I built both to test resizeStack and rotation on Android.