Re: sms,MMS, and Push Notificstions

2017-08-15 Thread Andrew Bell via use-livecode
I recently tackled push notifications for a client project that was WAY more in-depth than I imagined (and initially quoted for). Using the LC tutorials for push notifications with APNsAssistant and AnroidGCM I was able to add push notification sending from a standalone desktop app created

Lineoffset work on message box but not in my script ?!

2017-08-15 Thread Ludovic THEBAULT via use-livecode
Hello, Strange bug in Livecode : Here the script (in a repeat): put line (lineoffset("c_" tcpt of line 1 of thedatas,listmailleCentre)) of listcentre into tcoordline put tcoordline into temp —> return the good value, ex : 5152 put lineoffset("%AI3",the tdatas of cd 1 of stack

Re: lockscreen?

2017-08-15 Thread Richmond Mathewson via use-livecode
Thanks both: sorted out a lot of my nonsense. Richmond. On 8/15/17 3:30 pm, hh via use-livecode wrote: Richmond wrote: If I lock the screen (so these automations don't show up) will that speed things up? lock screen; lock messages ___ use-livecode

Re: Forum: Waves of Russian Nonsense

2017-08-15 Thread Dr. Hawkins via use-livecode
On Tue, Aug 15, 2017 at 5:51 AM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > > > Anyway, this has been on Heather's mind - hopefully she will come up with > an alternate solution in due course. > I assume that the software uses either mySQL or postgreSQL? The

Re: sms,MMS, and Push Notificstions

2017-08-15 Thread Mike Kerner via use-livecode
You have to have the app phone home with its id. The id is determined by the device, and is a product of the device and the app running on it that is to receive notifications. You can phone home via a filesharing service, an online db, contacting a webserver, etc. For distinguishing between the

Re: sms,MMS, and Push Notificstions

2017-08-15 Thread Mike Kerner via use-livecode
I got a message that one of my other messages was moderated for being too large. I can't see if it got delivered, or not, so in response to Bill's question about the repo: If you mean having the mobile do it, I hadn't thought about that. It might be possible with tsnet. He is not simulating

Re: sms,MMS, and Push Notificstions

2017-08-15 Thread Mike Kerner via use-livecode
There is a LC stack that John wrote that you can use. On Tue, Aug 15, 2017 at 11:13 AM, prothero--- via use-livecode < use-livecode@lists.runrev.com> wrote: > My big question at this point is what is required on the server side? I > looked at onesignal, which looks like a really nice API

Re: sms,MMS, and Push Notificstions

2017-08-15 Thread Mike Kerner via use-livecode
You have to have the app phone home with its id. The id is determined by the device, and is a product of the device and the app running on it that is to receive notifications. You can phone home via a filesharing service, an online db, contacting a webserver, etc. For distinguishing between the

Re: sms,MMS, and Push Notificstions

2017-08-15 Thread prothero--- via use-livecode
I've checked out the very nice lesson that refers to John's stack. I'll check it out. Thanks for the reminder. The lesson rested the alert system by simulating the server, so I incorrectly got confused about the lack of info or reference to the server. Best, Bill P William Prothero

Re: sms,MMS, and Push Notificstions

2017-08-15 Thread William Prothero via use-livecode
Mike: Hmm… I downloaded APNsAssistant, which is linked to the lesson. Is this the one that you modified and re-posted to gitHub? A quick perusal of that stack, it looks like he uses a shell command to simulate the sending of an alert. Is that how a notification is intended to be sent, or is

Re: sms,MMS, and Push Notificstions

2017-08-15 Thread prothero--- via use-livecode
My big question at this point is what is required on the server side? I looked at onesignal, which looks like a really nice API provider, but I need to be able to allocate a load of time to learn the various ways of accessing it, like REST, cURL, etc. I'm stumbling around now with those

Simplify polygon

2017-08-15 Thread hh via use-livecode
Today I implemented the Ramer-Douglas-Peucker algorithm for reducing the number of points of a polygon such that the "shape" of that polygon is preserved as good as possible, controlled by a tolerance parameter. This is known as "simplifying" of a polygon (is also done for polygon/ polyline paths

Couple of questions about the browser widget

2017-08-15 Thread Terry Judd via use-livecode
I’m thinking about replacing a field object that contains text, inline images and simple tables with the browser widget but there are a couple of issues I’d need to work through first and would welcome any suggestions or ideas. The first one concerns displaying local images – either stored

Re: sms,MMS, and Push Notificstions

2017-08-15 Thread William Prothero via use-livecode
Thanks for all the info, Mike. I will most likely have more questions. Best, Bill Prothero William A. Prothero http://earthlearningsolution.org/ > On Aug 15, 2017, at 10:57 AM, Mike Kerner via use-livecode > wrote: > > I got a message that one of my other

Re: common code patterns

2017-08-15 Thread Sannyasin Brahmanathaswami via use-livecode
Yes On 8/10/17, 2:42 PM, "use-livecode on behalf of Monte Goulding via use-livecode" wrote: local s command set p put p into s end set function get return s end get

Re: Couple of questions about the browser widget

2017-08-15 Thread Mike Bonner via use-livecode
I haven't managed yet. (can't get it to fire, but hey.. did I mention i'm no good at javascript?) Also I noticed, setting the htmltext of the widget seems to run through a urlencode. (I had a sample page in a field and was setting the htmltext to it, but it got totally munged.. So I've been

Re: Couple of questions about the browser widget

2017-08-15 Thread Terry Judd via use-livecode
Hi Mike – yeah thanks, the temp file approach for setting the browser widget and getting an image to display works well so maybe easiest to go that way. I’m still steeling myself for a foray into javascript so haven’t tried anything on that front yet. I’ve got some Dropbox library related stuff

Re: Couple of questions about the browser widget

2017-08-15 Thread Mike Bonner via use-livecode
For the second question, if your htmltext contains a javascript function that returns document.body.scrollHeight you should be able to get the height that way.I'm not any good at javascript, but how it would probably work would be to have something like this.. window.onload = function(e){

Re: Couple of questions about the browser widget

2017-08-15 Thread Terry Judd via use-livecode
Thanks for your help Mike – I’m no good at Javascript either ;) but thankfully there is plenty of stuff out there on the web written by people that are. I’ll give it a go and see if I can make it work. Regards, Terry... On 16/08/2017 10:23 am, "use-livecode on behalf of Mike Bonner via

Re: Forum: Waves of Russian Nonsense

2017-08-15 Thread Richard Gaskin via use-livecode
Mark Waddingham wrote: > I have asked Heather about this, but unfortunately our forum software > has no admin level between the current ones we give to external > moderators and complete administrative access. The latter is not > something we can grant to external moderators as it gives you

Re: sms,MMS, and Push Notificstions

2017-08-15 Thread Mike Kerner via use-livecode
app push is pretty easy/straightforward in LC, but there are multiple QR's out to add features/fix things on them. On Mon, Aug 14, 2017 at 11:01 PM, William Prothero via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks, Stephen: > What we are using as a preliminary solution is a

Re: Forum: Waves of Russian Nonsense

2017-08-15 Thread hh via use-livecode
>> Mark wrote: >> This is getting annoying. > Klaus wrote: > I just deleted 71 slavic spam postings from the forum manually again, > now THAT is getting annoying! +71 for you. Thanks for that. But better stop manual deletion now. As long as you do that probably nothing will improve/change. It

Re: Weird thing I noticed with a graphics speed test

2017-08-15 Thread Jonathan Lynch via use-livecode
So, this is one of those moments where LiveCode is too good for my needs! You guys have done some optimizing to make LC handle graphics on Android, I think. My slow android device is almost as fast as my iPhone in this particular speed test. I know it does not have as much graphics processing

lockscreen?

2017-08-15 Thread Richmond Mathewson via use-livecode
So . . . owing to some oddities of my Devawriter Pro I have set up a new interface that automatically converts encoded documents from it original to another format; but that is implemented as an automation of one of the manual interfaces; so a series (hundreds, thousands) of mouseUp signals are

Re: lockscreen?

2017-08-15 Thread hh via use-livecode
> Richmond wrote: > If I lock the screen (so these automations don't show up) will that > speed things up? lock screen; lock messages ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: lockscreen?

2017-08-15 Thread Jonathan Lynch via use-livecode
If you use lock screen to have 1 screen update rather than hundreds or thousands of screen updates, it will be vastly faster. Sent from my iPhone > On Aug 15, 2017, at 7:26 AM, Richmond Mathewson via use-livecode > wrote: > > So . . . owing to some oddities of

Re: Forum: Waves of Russian Nonsense

2017-08-15 Thread Klaus major-k via use-livecode
> Am 15.08.2017 um 07:30 schrieb Mark Wieder via use-livecode > : > > On 08/12/2017 02:47 PM, Mark Waddingham via use-livecode wrote: >> Thank you - I'm sure there will be no issue with giving you the relevant >> privileges. >> I know Heather has to deal with

Re: Forum: Waves of Russian Nonsense

2017-08-15 Thread Mark Waddingham via use-livecode
On 2017-08-15 14:26, hh via use-livecode wrote: But better stop manual deletion now. As long as you do that probably nothing will improve/change. It would be an action of 2 minutes to enable you and some others (Richard) to do that in a few seconds. I have asked Heather about this, but

Re: Forum: Waves of Russian Nonsense

2017-08-15 Thread Lagi Pittas via use-livecode
If Klaus and Richard can't be given Admin rights then the world is doomed. If it is data protection then surely you must have the some way of allowing a new employee/current employee of the company to have admin rights. But some of these nanny state laws that are totally ignored by the very