Using the property inspector

2017-09-11 Thread hh via use-livecode
It was not heard there, so I ask here: http://forums.livecode.com/viewtopic.php?p=157993#p157993 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Android Audio Playback & Recording

2017-09-11 Thread Sannyasin Brahmanathaswami via use-livecode
Aloha Peter I think we also want ot have the voice recognition option here so that we could record short notes, or issue commands Maybe that is OT for your use case, but I have some users interest in this. BR On 9/10/17, 11:06 AM, "use-livecode on behalf of Peter Reid via

Re: Phone Number Validation Function

2017-09-11 Thread Stephen MacLean via use-livecode
Hi Bob, Last year I released a sample library for base functions like this: https://github.com/renegadesteve/rsIsValid You can use the LCS version, or build a widget library for your version of LC 9. It does use RegEx, but you can Sean said, there

Re: put after

2017-09-11 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > put tWord after word 2 of me > > Shouldn't that create a second word? No. It will append the string tWord after the chunk element specified in the target expression, "word 2 of me". It may be clearer to consider lines: put "Something" after line 2 of tContainer With

Re: Phone Number Validation Function

2017-09-11 Thread Bob Sneidar via use-livecode
Thanks Sean, but reading through that article, I think it makes the arguement for NOT using RegEx, seeing all the arguments back and forth about what is wrong with each other's regex, and one guy pooh poohing all of them in favor of a procedural approach. My goal is not to simply allow

Re: put after

2017-09-11 Thread Sean Cole (Pi) via use-livecode
Because a word is defined as 'a number of characters together in a string separated either or both sides by a white space'. So it doesn't actually count the white spaces but the number of actual strings of characters separated by them. The actual glossary term is not fully expressive by saying "A

Re: put after

2017-09-11 Thread Paul Dupuis via use-livecode
Think about it: Items ate comma (a single character) delimited, so if a container contains a single string (no commas) and you "put tString after item 3 of tContainer", LiveCode can logically create an "empty" item 2 and empty item 3 using ",," and place (concatenate) tString on to the end of

Re: Phone Number Validation Function

2017-09-11 Thread Sean Cole (Pi) via use-livecode
There are currently 342 expressions on the regexlibrary: http://www.regexlib.com/Search.aspx?k=phone=1 Some eliminate erroneous numbers too like those begining with 123 or 555 and so on. Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 'Don't try to

Re: put after

2017-09-11 Thread Bob Sneidar via use-livecode
Setting the itemdelimiter to space and using items instead of words would certainly work around it, thanks for that tip. But by way of discussion, when we talk about string manipulation in this list/forum, and how words are "delimited" we actually use the word "delimiter" to talk about the

Re: Phone Number Validation Function

2017-09-11 Thread Sean Cole (Pi) via use-livecode
Read this: https://stackoverflow.com/questions/123559/a-comprehensive-regex-for-phone-number-validation You can then filter by these Regular Expressions (RegEx) really simply. More importantly, it is one or two lines of code instead of 53. Sean Cole *Pi Digital Productions Ltd* 'Don't try to

Re: put after

2017-09-11 Thread Sean Cole (Pi) via use-livecode
This is exactly what I'd expect as 'item' uses a delimiter. If you had 'space' as the delimiter you could then use: set the itemdel to space; put "test" into tString; put "test3" into item 3 of tString; put tString result: test test3 (with 2 spaces between the two words) now: put the number of

Re: put after

2017-09-11 Thread Monte Goulding via use-livecode
> On 12 Sep 2017, at 8:10 am, Bob Sneidar via use-livecode > wrote: > > put "test" into tString;put "test3" into word 3 of tString;put tString > produces: testtest3 > > Doesn't that seem like an anomaly to anyone? Hmm… yes this should probably fail with an

Re: put after

2017-09-11 Thread Phil Davis via use-livecode
You already know this, but you can also put tWord after tContainer (or after text of me) - no chunk expression needed. Phil Davis On 9/11/17 3:05 PM, Bob Sneidar via use-livecode wrote: Actually that was a typo. Put tWord after word 2 of me is what I meant. Bob S On Sep 11, 2017, at

Re: put after

2017-09-11 Thread Bob Sneidar via use-livecode
Curiously then, you can have a string with 1 item, then put tWord into item 3 of tString, and it will happily create an empty item 2 so that there is an item 3 to put something into. ex. put "test" into tString;put "test3" into item 3 of tString;put tString produces: test,,test3 put "test"

Re: put after

2017-09-11 Thread Bob Sneidar via use-livecode
Actually that was a typo. Put tWord after word 2 of me is what I meant. Bob S > On Sep 11, 2017, at 14:11 , Bob Sneidar via use-livecode > wrote: > > put tWord after word 2 of me into me ___ use-livecode mailing

Re: put after

2017-09-11 Thread Randy Hengst via use-livecode
It doesn’t change your question, but you don’t need ‘into me’ at the end each line put "four" into word 1 of me put space & "help" after word 1 of me > On Sep 11, 2017, at 4:50 PM, Sean Cole (Pi) via use-livecode > wrote: > > Put "two" after word 1 of "word"

Re: put after

2017-09-11 Thread Sean Cole (Pi) via use-livecode
Put "two" after word 1 of "word" result: "wordtwo" put "two" after word 2 of "word" result: "wordtwo" 'after word' basically counts white space. eg, "word,word,word" is counted as one word". "word word" with several spaces counts as two words. "word " still counts as

Re: put after

2017-09-11 Thread Mike Bonner via use-livecode
seems like it should. In fact it should work with " into " also, but that has the same behavior On Mon, Sep 11, 2017 at 3:11 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Okay so if a field only has 1 word, and I state > > put tWord after word 2 of me into me > >

put after

2017-09-11 Thread Bob Sneidar via use-livecode
Okay so if a field only has 1 word, and I state put tWord after word 2 of me into me Shouldn't that create a second word? It doesn't it simply appends tWord to the end of word 1. Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Apps monetizing

2017-09-11 Thread Sean Cole (Pi) via use-livecode
Smaato was one of my early options because you can link it to AdMob and DoubleClick accounts but they, like many others, only have native iOS and Android SDKs which requires LC9 (which even now doesn't fully support iOS Obj-C Frameworks just yet). https://wiki.smaato.com/display/IN/Ad+Tag Sean

Re: Apps monetizing

2017-09-11 Thread Jose Enrique Montero via use-livecode
Thanks Sean, its work but I´m worried about the adverts themes. Do you have try SMAATO.com ? best regards JE 2017-09-11 14:27 GMT-04:00 Pi Digital via use-livecode < use-livecode@lists.runrev.com>: > Exactly. Make sure that your widget has some sort of way for them to close > it eventually. If

Re: Apps monetizing

2017-09-11 Thread Sean Cole (Pi) via use-livecode
I've also just found that Millenial Media uses Javascript too. http://docs.onemobilesdk.aol.com/mmadlib/index.html The link to the InMobi MobileWeb guide is https://support.inmobi.com/monetize/mobile-web/ InMobi seems the most popular and bigger or the two with more features as well. To use

Re: Livecode docset for Dash

2017-09-11 Thread J. Landman Gay via use-livecode
On 9/11/17 12:27 PM, James Hale via use-livecode wrote: The online API doesn't function on touch devices It works on my Android with Chrome, but it is painfully slow and you have to wait for the popup ad to display, then dismiss it, and then you can type. The initial filtering on the first

Re: Phone Number Validation Function

2017-09-11 Thread JB via use-livecode
Thanks Bob. JB > On Sep 11, 2017, at 11:20 AM, Bob Sneidar via use-livecode > wrote: > > Hi all. > > Since I needed to write one, I thought I would share this phone number > validation function. NOTE: it only works for phone numbers of the following >

Re: Phone Number Validation Function

2017-09-11 Thread Bob Sneidar via use-livecode
WHOOPS! Change this line to if length(tPhoneNumber) <> 14 AND length(tPhoneNumber) <> 12 then > On Sep 11, 2017, at 11:20 , Bob Sneidar via use-livecode > wrote: > > if length(tPhoneNumber) <> 14 or length(tPhoneNumber) <> 12 then

Re: Apps monetizing

2017-09-11 Thread Pi Digital via use-livecode
Exactly. Make sure that your widget has some sort of way for them to close it eventually. If you have it steered through your own website (rather than direct link) then you could set up banners for display in a smaller browser window. It depends on what suits you or your clients the most. There

Phone Number Validation Function

2017-09-11 Thread Bob Sneidar via use-livecode
Hi all. Since I needed to write one, I thought I would share this phone number validation function. NOTE: it only works for phone numbers of the following format: -- pure numbers nnn nn -- formatted numbers nnn- nnn-nnn- (nnn) nnn- It will also accept a space

Re: Apps monetizing

2017-09-11 Thread Jose Enrique Montero via use-livecode
after I had the link, how I can use it in the stack? With a browser widget ? Thanks again JE 2017-09-11 8:16 GMT-04:00 Sean Cole (Pi) via use-livecode < use-livecode@lists.runrev.com>: > I 'was' working on a widget that runs MobFox (which acts as an agent to all > of the other ad providers),

Re: Livecode docset for Dash

2017-09-11 Thread James Hale via use-livecode
%5C-livecode%22> > Mon, 11 Sep 2017 10:06:22 -0700 > <https://www.mail-archive.com/search?l=use-livecode@lists.runrev.com=date:20170911> > Thanks James that sounds useful, if by snippet you mean common code snippets. > I'll give that a look see. __

Re: Livecode docset for Dash

2017-09-11 Thread Matthias Rebbe via use-livecode
James, thank you so much for this. I was looking for such a docset for so long know. Regards, Matthias Matthias Rebbe +49 5741 31 ‌wirmachen.software ‌ > Am 11.09.2017 um 18:57 schrieb James Hale via use-livecode >

Re: Livecode docset for Dash

2017-09-11 Thread Bob Sneidar via use-livecode
Thanks James that sounds useful, if by snippet you mean common code snippets. I'll give that a look see. Bob S > On Sep 11, 2017, at 09:57 , James Hale via use-livecode > wrote: > > I have just uploaded a stack "Make DocSet" to revonline that creates a >

Livecode docset for Dash

2017-09-11 Thread James Hale via use-livecode
I have just uploaded a stack "Make DocSet" to revonline that creates a "LiveCode.docset" for use in the documentation/snippet manager Dash https://kapeli.com/dash >From the revOnline entry: "Dash" is a documentation and snippet manager for MacOs and iOS. The MacOS

Re: Apps monetizing

2017-09-11 Thread Sean Cole (Pi) via use-livecode
I 'was' working on a widget that runs MobFox (which acts as an agent to all of the other ad providers), but had to abandon it as MobFox suddenly with no warning removed their Javascript and CURL access so now you can only use iOS and Android native SDKs. That would require more than LC8 can

[ANN] This Week in LiveCode 97

2017-09-11 Thread panagiotis merakos via use-livecode
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #97 here: https://goo.gl/vynPjy This is a weekly newsletter about LiveCode, focussing on what's been going on in and around