Re: Interactive Tutorials - Where are they?

2018-10-29 Thread James Hale via use-livecode
Found them. They are (well it is) available via the Start Center. Took me a while as the Start Center doesn't remain on the screen if you have any plugins set to open on start up. James ___ use-livecode mailing list use-livecode@lists.runrev.com

Interactive Tutorials - Where are they?

2018-10-29 Thread James Hale via use-livecode
Whatever happened to the interactive tutorial that was introduced with LC 8? I can't seem to find any link/menu item of preference to bring it/them up. I have checked LC 8.1.8 as well and can't find them I deleted my copies of LC pre 8.1 and so had started to download LC 8.0 but it is only down

Re: Mysteries of Me

2018-10-29 Thread Tom Glod via use-livecode
oh...didn't know that syntax would work first thing that jumped out at me thought maybe it was as simple as that. :) On Mon, Oct 29, 2018 at 8:15 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > @tom go card and go to card same thing. > > @ bob > > That's what I understand (as

Re: using the map widget

2018-10-29 Thread William Prothero via use-livecode
Herman made an excellent stack that demos the use of Google Maps. I have a link to it here: http://earthlearningsolutions.org/google-static-maps-demo/ You need to get an API key from Google, but the demo shows how to set it up. This ma

Re: Continual iOS Simulator Problems

2018-10-29 Thread Roger Guay via use-livecode
Thanks, Brian. I didn’t think of that previously, but I now find that it crashes in Xcode. So I guess the problem is there in Xcode, not in LC. Ratz! Roger > On Oct 29, 2018, at 8:13 PM, Brian Milby via use-livecode > wrote: > > Have you tried launching the simulator from Xcode first and afte

Re: How to find the offset of the last instance of a repeating character in a string?

2018-10-29 Thread Kay C Lan via use-livecode
On Tue, Oct 30, 2018 at 2:33 AM Keith Clarke via use-livecode wrote: > > I’m trying to separate paths & pages from a list of URLs and so looking to > identify the position of the last ‘/‘ character. > If that is all you are after then I think setting the itemDelimiter to "/" and separating the 'i

Re: Continual iOS Simulator Problems

2018-10-29 Thread Brian Milby via use-livecode
Have you tried launching the simulator from Xcode first and after it is fully loaded then trying to test from LC? Thanks, Brian On Oct 29, 2018, 9:48 PM -0500, Roger Guay via use-livecode , wrote: > Hi Folks, > > I’m on a Mac with OS 10.14 and using LC 9.0.0 Indy, and I have the green > square

Continual iOS Simulator Problems

2018-10-29 Thread Roger Guay via use-livecode
Hi Folks, I’m on a Mac with OS 10.14 and using LC 9.0.0 Indy, and I have the green square indication in LC prefs with SDK 11.2. I can’t get the simulator to work with test target set to simulator 11.2. It simply takes too long to open and then crashes if I persist. In fact, it seems to me tha

using the map widget

2018-10-29 Thread Mike for GDC via use-livecode
I am trying to implement the map widget within my app. I have entered my api code in the inclusions and have looked at the example given in the livecode article but so far it has not worked. Does anyone have an example of using it in an app? What I want is to be able to retrieve the current loca

Re: Hmmm - no compilation error ?

2018-10-29 Thread Monte Goulding via use-livecode
The parser is often lenient at the end of statements like this. In the case of the return statement it first looks for the expression to return then checks if the next token is either `for` or `with`. If it isn’t either of those it doesn’t look any further or throw an error. Really we should h

Hmmm - no compilation error ?

2018-10-29 Thread Alex Tweedly via use-livecode
I accidentally typed the equivalent of function x p    return return p end x i.e. I had the word "return" in there twice. And it didn't give me an error on compilation, and also didn't just ignore the repeated word, it simply returned a blank line. Does it seem like this is a bug ?  Is the p

Re: Mysteries of Me

2018-10-29 Thread Sannyasin Brahmanathaswami via use-livecode
@tom go card and go to card same thing. @ bob That's what I understand (as you have described it) -- The behavior is set in the properties of a stack. -- the SE suggestions "knows" this and on typing go card...[List of cards in current stack appears... choose one) # you get: go card "my

Re: How to find the offset of the last instance of a repeating character in a string?

2018-10-29 Thread Alex Tweedly via use-livecode
On 29/10/2018 22:32, Mark Wieder via use-livecode wrote: On 10/29/2018 08:32 AM, Keith Clarke via use-livecode wrote: I’m trying to separate paths & pages from a list of URLs and so looking to identify the position of the last ‘/‘ character. How about function rightmostSlashOf p    set

Re: How to find the offset of the last instance of a repeating character in a string?

2018-10-29 Thread Alex Tweedly via use-livecode
"toplevel/somename/another/somename" On 29/10/2018 22:32, Mark Wieder via use-livecode wrote: On 10/29/2018 08:32 AM, Keith Clarke via use-livecode wrote: I’m trying to separate paths & pages from a list of URLs and so looking to identify the position of the last ‘/‘ character. function rig

Re: How to find the offset of the last instance of a repeating character in a string?

2018-10-29 Thread Bob Sneidar via use-livecode
Oh right you are! Bob S > On Oct 29, 2018, at 16:04 , Mark Wieder via use-livecode > wrote: > > On 10/29/2018 03:55 PM, Bob Sneidar via use-livecode wrote: >> That will only give him the item, not the character position. > > Nope. It returns the position. > > -- > Mark Wieder > ahsoftw...

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-29 Thread Bob Sneidar via use-livecode
I wonder if they are looged in as administrators? Bob S > On Oct 29, 2018, at 16:05 , Matthias Rebbe via use-livecode > wrote: > > I´ve setup a VM with Mojave and my app was able to write the registration > data to the preferences folder without a problem. > > So i am not sure what´s going

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-29 Thread Matthias Rebbe via use-livecode
I´ve setup a VM with Mojave and my app was able to write the registration data to the preferences folder without a problem. So i am not sure what´s going on on the machine of the customer. But at least i know now that my app is able to access that folder. Regards Matthias Rebbe free tools fo

Re: How to find the offset of the last instance of a repeating character in a string?

2018-10-29 Thread Mark Wieder via use-livecode
On 10/29/2018 03:55 PM, Bob Sneidar via use-livecode wrote: That will only give him the item, not the character position. Nope. It returns the position. -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.co

Re: How to find the offset of the last instance of a repeating character in a string?

2018-10-29 Thread Bob Sneidar via use-livecode
That will only give him the item, not the character position. But it's a start. You can now get the number of characters of item 1 to -2 of pText +1. I didn't know the text you were searching had regular delimiters, and you were searching for the last delimiter. That makes things *much* easier.

Re: How to find the offset of the last instance of a repeating character in a string?

2018-10-29 Thread Mark Wieder via use-livecode
On 10/29/2018 08:32 AM, Keith Clarke via use-livecode wrote: I’m trying to separate paths & pages from a list of URLs and so looking to identify the position of the last ‘/‘ character. function rightmostSlashOf pText set the itemdelimiter to "/" return offset(item -1 of pText, pText) en

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-29 Thread Bob Sneidar via use-livecode
Sounds like more onerous sandboxing. I see why it's necessary, but I have a simpler and more elegant solution: Have an international moratorium on all malicious hackers where the penalty is a life sentence on the frozen moon Rura Penthe. By that I mean hard labor. Until we get tough, and I mean

Re: How to find the offset of the last instance of a repeating character in a string?

2018-10-29 Thread Bob Sneidar via use-livecode
In dBase/Foxpro they had an AT function synonymous (roughly) with our offset function. They also had a RAT (Reverse AT) function. I needed something like this many moons ago. What I did to get all occurrences is I have a "pointer" variable I maintain with the position of the first character af

Re: How to find the offset of the last instance of a repeating character in a string?

2018-10-29 Thread Bob Sneidar via use-livecode
Looks like Devin beat me to it. :-) Bob S > On Oct 29, 2018, at 08:49 , Devin Asay via use-livecode > wrote: > > On Oct 29, 2018, at 9:32 AM, Keith Clarke via use-livecode > wrote: >> >> Folks, >> Is there a simple way to find the offset of a character from the ‘right’ end >> of a string,

Re: Mysteries of Me

2018-10-29 Thread Bob Sneidar via use-livecode
Me always refers to the object the script belongs to. It doesn't matter which handler it is. A script running in a behavior is like running an instance of the target object (the object with the behavior set). This allows for multiple objects with the same behavior (think datagrids calling get th

Re: Numbering lines

2018-10-29 Thread Bob Sneidar via use-livecode
Next goal, trying to be magnificant. :-) Bob S > On Oct 28, 2018, at 21:17 , J. Landman Gay via use-livecode > wrote: > > Well, at least I have finally become "splendid" at something. ___ use-livecode mailing list use-livecode@lists.runrev.com Ple

Re: Standalone issue ... was starting the Project Browser

2018-10-29 Thread Bob Sneidar via use-livecode
That interferes with the standalone builder, specifically auto detecting addons/plugins. It may cause other issues as well. It's a catch 22. Bob S > On Oct 27, 2018, at 12:56 , J. Landman Gay via use-livecode > wrote: > > I'd be happy with a simple toggle that lets me turn on lockmessages b

Re: Mysteries of Me

2018-10-29 Thread Tom Glod via use-livecode
the first version said "go card" not "go to card" :) On Mon, Oct 29, 2018 at 11:14 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > I thought I had a grip on "me" > > But in a script that is assigned to a stack, one assumes that "me" > refers to stack itself. > But the auto-suggestion on

Re: ?Make Docset? updated to 3.1, DASH docset for LC now at 1.7.1

2018-10-29 Thread Mike Kerner via use-livecode
I'm going to wait on both until later today and see if they auto-update. The ipad auto-updated for me on Saturday. On Sat, Oct 27, 2018 at 10:27 PM James Hale via use-livecode < use-livecode@lists.runrev.com> wrote: > From Mike > > First of all, thanks a lot for doing this. Dash is now my defaul

Re: How to find the offset of the last instance of a repeating character in a string?

2018-10-29 Thread Keith Clarke via use-livecode
Perfect, thanks Devin - I was hoping to see ‘offsets’ in the docs under ‘offset’, so this will do nicely! :-) Best, Keith > On 29 Oct 2018, at 15:49, Devin Asay via use-livecode > wrote: > > On Oct 29, 2018, at 9:32 AM, Keith Clarke via use-livecode > wrote: >> >> Folks, >> Is there a si

Re: How to find the offset of the last instance of a repeating character in a string?

2018-10-29 Thread Devin Asay via use-livecode
On Oct 29, 2018, at 9:32 AM, Keith Clarke via use-livecode wrote: > > Folks, > Is there a simple way to find the offset of a character from the ‘right’ end > of a string, rather than the beginning - or alternatively get a list of all > occurrences? > > I’m trying to separate paths & pages fro

How to find the offset of the last instance of a repeating character in a string?

2018-10-29 Thread Keith Clarke via use-livecode
Folks, Is there a simple way to find the offset of a character from the ‘right’ end of a string, rather than the beginning - or alternatively get a list of all occurrences? I’m trying to separate paths & pages from a list of URLs and so looking to identify the position of the last ‘/‘ character

Mysteries of Me

2018-10-29 Thread Sannyasin Brahmanathaswami via use-livecode
I thought I had a grip on "me" But in a script that is assigned to a stack, one assumes that "me" refers to stack itself. But the auto-suggestion on the SE popup menu generates an error on the following line: * on openstack put url ("binfile:" & path_Modules()& "listen/collection.json") into tC

Re: how to properly use the fullscreenmode and screen scaling

2018-10-29 Thread Colin Holgate via use-livecode
That’s fair enough. Rotating a phone so the bottom of the portrait phone is now to the right, is a right-handed way of thinking I guess! So yes, avoid the right middle too, for the benefit of left-handed people. > On Oct 29, 2018, at 10:31 AM, Alex Tweedly via use-livecode > wrote: > > On 29/

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-29 Thread Paul Dupuis via use-livecode
We make and sell a couple of research applications developed in LiveCode. Increasingly, on both OSX and Windows, we are running into to customers who's permissions prevent out app from writing to locations that were once (in older OS versions) writable. In some cases, this has been due to changes t

[ANN] This Week in LiveCode 152

2018-10-29 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 #152 here: https://goo.gl/RDvo1H This is a weekly newsletter about LiveCode, focussing on what's been going on in and around

Re: how to properly use the fullscreenmode and screen scaling

2018-10-29 Thread Alex Tweedly via use-livecode
On 29/10/2018 14:18, Colin Holgate via use-livecode wrote: On top of all that you may well want to place some things using code, but remember that the later Android phones, and the iPhone X, have a notch, so don’t place things at the far left center of a landscape app. Should that be "far lef

Re: how to properly use the fullscreenmode and screen scaling

2018-10-29 Thread Colin Holgate via use-livecode
No comment about the main code you showed, but what you said about showAll isn’t quite right. All of the card will always be visible. On devices wider than the horizontal ratio of the card, extra content will be revealed from off of the left and right of the card, the height of the card will fil

Re: Numbering lines

2018-10-29 Thread Alex Tweedly via use-livecode
Yeah, I said something that was wrong - and I did apologize and will happily do so again. And I managed to get "two people with one stone" and mis-describe both your and Geoff's valuable inputs. So I apologize again to both of you, and anyone else I inadvertently knocked on the way past. But

Re: Numbering lines

2018-10-29 Thread David V Glasgow via use-livecode
Thanks to everyone who helped me on this. Apologies if I misdirected the discussion, but even that was very instructive. My mouth hung open when I saw the cost of updating the progress bar every time through a loop. I guess I have become sloppy about time saving because most operations seem

Re: Numbering lines

2018-10-29 Thread hh via use-livecode
> JLG wrote: > > > hh wrote: > > Alex, > > you and JLG are important LiveCoders. What you say has double weight. > > From that alone you should double check what you claim to be true. > > Well, at least I have finally become "splendid" at something. > > I can't decide whether you are being ru