Running Processes in the background

2016-01-18 Thread Glen Bojsza
Hello, Are there any examples of how to run a process in the background in an application? I need to have two timer processes run when the user is using the application. The processes need to check for certain trigger values every - 1 minute - 10 minutes If the trigger value(s) exist then

Re: Message watcher in LC 8

2016-01-18 Thread Richard Gaskin
Ben Rubinstein wrote: > On 15/01/2016 14:42, Richard Gaskin wrote: >> The IDE insists on changing the name of the stack file when I do >> Save As (necessary to maintain compatibility with older versions >> of LC), and at some point I just gave up manually changing it to >> match the old URL. > >

Re: Message watcher in LC 8

2016-01-18 Thread Ben Rubinstein
On 18/01/2016 10:07, Peter TB Brett wrote: Note that in LC 8.0.0 DP 13 and later, the IDE save commands don't use "the stackFileVersion" and save as specific versions directly. You may want to update your toolbar extension to take advantage of this! For example, simply use: save stack

Best LC release for Raspberry PI

2016-01-18 Thread paolo mazza
Hi all, I have a question about Raspberry PI: which is the best LC release for Raspberry PI now? According to the download list, the last release for Raspberry PI is the 7.0.4 However, I read in the forum that it does not work properly , see

RE: Running Processes in the background

2016-01-18 Thread Ralph DiMola
Send in time will do it. You can also get the message ID to cancel the pending message. Example(not tested) Start up the timers(messages) in the main startup code: Send "testit to me in 1 minute Send "testitlong to me in 10 minutes Then use 2 handlers to receive the messages. On testit If

Re: Message watcher in LC 8

2016-01-18 Thread Peter TB Brett
On 18/01/2016 15:01, Richard Gaskin wrote: If I only used the IDE's File->Save command I'd get pretty good results, as once you do a Save As within the IDE it stores the preferred stackFileVersion in a custom property and uses that when saving (except apparently differently in v87dp13, as

Re: Message watcher in LC 8

2016-01-18 Thread Richard Gaskin
Peter TB Brett wrote: On 18/01/2016 15:01, Richard Gaskin wrote: If I only used the IDE's File->Save command I'd get pretty good results, as once you do a Save As within the IDE it stores the preferred stackFileVersion in a custom property and uses that when saving (except apparently

Re: Widgets Disappear in DP13

2016-01-18 Thread Peter TB Brett
On 14/01/2016 22:46, James Little wrote: Using 8.0 DP13 on a Mac, a Tree View widget and a Browser widget disappear when the app is saved and then re-opened in the IDE. I’ve just confirmed this with a new test stack. I saw this yesterday in the regular app that I’m working on. The

Re: Message watcher in LC 8

2016-01-18 Thread Peter TB Brett
On 18/01/2016 09:32, Ben Rubinstein wrote: On 15/01/2016 14:42, Richard Gaskin wrote: The IDE insists on changing the name of the stack file when I do Save As (necessary to maintain compatibility with older versions of LC), and at some point I just gave up manually changing it to match the

RE: Where can I find the latest "Release Notes for Mobile"

2016-01-18 Thread Rolf Kocherhans
Thanks Colin & Richmond for the links. I was after the newest version of - what was once called „iOS-specific engine features“ in the PDF file - this has been renamed to: "Mobile Specific Engine Features“ and can now be found online here:

Re: Message watcher in LC 8

2016-01-18 Thread Ben Rubinstein
On 15/01/2016 14:42, Richard Gaskin wrote: The IDE insists on changing the name of the stack file when I do Save As (necessary to maintain compatibility with older versions of LC), and at some point I just gave up manually changing it to match the old URL. Hi Richard, I wouldn't dream of

Re: There is no You in Documentation - yet!

2016-01-18 Thread Mike Kerner
Given how submissions to the documentation, previously, seemed to be ignored, it will be a welcome change. On Mon, Jan 18, 2016 at 11:54 AM, Heather Laine wrote: > Folks, Ali has just added a great blog post to the blog. I encourage you > to go take a look and even more,

Re: Script editor performance with large scripts

2016-01-18 Thread Mike Kerner
We really should have a workshop/class/webinar on the script editor. Some day, glx should be part of the SE, and I would imagine that I am not the only one with a long SE wishlist. On Mon, Jan 18, 2016 at 11:33 AM, Peter TB Brett wrote: > Hi all, > > I've spent the

Re: Running Processes in the background

2016-01-18 Thread Glen Bojsza
Hi Ralph, I tried an example outlined by you and I keep getting en error where it can't find the handler? *on* mouseUp *put* 1 into x *set* the stimer of this stack to "false" *send* tTest to me in 1 minute **this is where the first error occurs? *repeat*

Re: Message watcher in LC 8

2016-01-18 Thread Mark Wieder
On 01/18/2016 07:24 AM, Peter TB Brett wrote: Doesn't that work any more? It should! If not, it's a regression and I will fix it... It worked fine in all the scenarios I put it through. -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode

Re: Message watcher in LC 8

2016-01-18 Thread Mark Wieder
On 01/18/2016 02:07 AM, Peter TB Brett wrote: Note that in LC 8.0.0 DP 13 and later, the IDE save commands don't use "the stackFileVersion" and save as specific versions directly. You may want to update your toolbar extension to take advantage of this! For example, simply use: save

Re: [On-Rev] TIO: again all index files were overwritten

2016-01-18 Thread Jim Lambert
Matthias, It is not just your account. I can confirm that the TIO index files have been overwritten on my account too. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

LiveCode meetup at FOSDEM 2016: Sunday

2016-01-18 Thread Peter TB Brett
Hi all, As previously mentioned, I'll be at FOSDEM 2016 this year! https://fosdem.org/2016/ If you'll be there, let's meet up at 11:00 CET at the upstairs entrance to Janson. It's the main lecture theatre where the keynotes happen -- walk up to the back of the auditorium and out into

[ANN] This Week in LiveCode 16

2016-01-18 Thread Peter TB Brett
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 #15 here: https://goo.gl/i6Gosr This is a weekly newsletter about LiveCode, focussing on what's been going on in and around

Script editor performance with large scripts

2016-01-18 Thread Peter TB Brett
Hi all, I've spent the last couple of days making the script editor quite a bit snappier when working with large scripts (5000+ lines), and if all goes well, those changes should be landing in the next LiveCode 8 development preview release. Good news for people who write terrifyingly huge

There is no You in Documentation - yet!

2016-01-18 Thread Heather Laine
Folks, Ali has just added a great blog post to the blog. I encourage you to go take a look and even more, to consider adding some you to our docs... https://livecode.com/putting-the-you-in-documentation/ Warm Regards, Heather Heather

Re: One Rect For All specificaiton

2016-01-18 Thread David Bovill
Send us the stack - and I can use it to demo a new workflow I'm working on. It will have a wiki int eh middle and github at the top - with local "pass the baton" methodology stitched in their somehow :) On 17 January 2016 at 07:16, Sannyasin Brahmanathaswami wrote: > I have

RE: Running Processes in the background

2016-01-18 Thread Ralph DiMola
Enclose tTest in quotes in the send otherwise it is looking for the variable tTest. send "tTest" to me in 1 minute Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On

Server: post gzipped message and response (loooong post, sorry)

2016-01-18 Thread Malte Brill
Hi all, I am struggeling with something that used to work with the 5.x Server engine (on Mac but I need it X-Plat) I am trying to POST compressed XML to Server and reply with compressed XML from there. With the 7.x engines of server this breaks: " into sReply put crlf & "DATA" after sReply

Re: There is no You in Documentation - yet!

2016-01-18 Thread Richard Gaskin
Mike Kerner wrote: > Given how submissions to the documentation, previously, seemed to be > ignored, it will be a welcome change. If you would please provide URLs for the documentation-related bug reports and/or pull requests you've submitted I'll review them to see if if I can determine why

Re: [On-Rev] TIO: again all index files were overwritten

2016-01-18 Thread Mark Wieder
On 01/18/2016 10:51 AM, Jim Lambert wrote: Matthias, It is not just your account. I can confirm that the TIO index files have been overwritten on my account too. Not sure if it's related, but diesel just went offline for four minutes. -- Mark Wieder ahsoftw...@gmail.com

Re: [On-Rev] TIO: again all index files were overwritten

2016-01-18 Thread Chris Heidecker
I sent a supportrequest 12 days ago, no emergency, no response. Restored from backup myself last week. All indexfiles are gone again today. Chris Heidecker > Op 18 jan. 2016, om 22:06 heeft Matthias Rebbe | M-R-D > het volgende geschreven: > > Just received

Re: There is no You in Documentation - yet!

2016-01-18 Thread Mark Wieder
On 01/18/2016 03:10 PM, Ali Lloyd wrote: From the looks of things we've fixed about half of the documentation bugs reported in the last year against 6.7 / 7.0 / 8.0. One of the reasons documentation bugs were in the past not getting fixed as often as everyone would like, as I suggest in the

RE: Forcing an android app to quit when the 'home' button is clicked?

2016-01-18 Thread Ralph DiMola
That will work if the user hits the back key but if they hit the home button not so much. I leave my app open but I think remember some thread that mentioned the engine sends a message when the app is de-focused. Can't remember what it was. I believe it was suspendStack and resumeStack Ralph

Re: Forcing an android app to quit when the 'home' button is clicked?

2016-01-18 Thread Terry Judd
Yeh - the back and menu keys trigger messages but not the home key. It hadn¹t occurred to me to try suspendStack - I¹ll give that a whirl. Thanks Ralph. Terry... On 19/01/2016 11:59 am, "use-livecode on behalf of Ralph DiMola"

Re: Forcing an android app to quit when the 'home' button is clicked?

2016-01-18 Thread J. Landman Gay
On 1/18/2016 8:54 PM, Terry Judd wrote: Yeh - the back and menu keys trigger messages but not the home key. It hadn¹t occurred to me to try suspendStack - I¹ll give that a whirl. I don't think any messages are sent at all when the Home key is pressed. Ralph may be thinking of the "shutdown"

Re: Forcing an android app to quit when the 'home' button is clicked?

2016-01-18 Thread Terry Judd
Thanks Jacquie - you’re right, suspendStack doesn’t seem to be supported by either iOS or Android so no joy there. I wanted the app to quit when the user navigated away from it because I have a routine that attempts to sync files that have been saved but not uploaded each time the app starts up.

Re: [On-Rev] TIO: again all index files were overwritten

2016-01-18 Thread Matthias Rebbe | M-R-D
On my tio accounter there were 2 sites. One created with Rapidweaver and one with Website X5 if i remember right. Nothing special. No lc scripting. Just standard. Nevertheless the accounts were affected and much more important they are still not restored. And as i wrote in an other email in

Re: There is no You in Documentation - yet!

2016-01-18 Thread Mark Schonewille
Do you mean the comments at the bottom of each docs entry? I think this system broke a long time ago. Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch Buy the most extensive book on the LiveCode language: http://livecodebeginner.economy-x-talk.com Op

Re: [On-Rev] TIO: again all index files were overwritten

2016-01-18 Thread Matthias Rebbe | M-R-D
I sent a new emergency ticket just some minutes ago. > Am 18.01.2016 um 21:42 schrieb Kevin Miller : > > Its been a fairly concerted attack, we’ve been stretched dealing with it. > To my knowledge we were on top of the tickets today, I will follow up with > David again now.

Re: There is no You in Documentation - yet!

2016-01-18 Thread Mark Wieder
On 01/18/2016 11:29 AM, Richard Gaskin wrote: Mike Kerner wrote: > Given how submissions to the documentation, previously, seemed to be > ignored, it will be a welcome change. If you would please provide URLs for the documentation-related bug reports and/or pull requests you've submitted I'll

Re: There is no You in Documentation - yet!

2016-01-18 Thread Mark Wieder
On 01/18/2016 02:33 PM, Ali Lloyd wrote: "submissions to the documentation" Oh, right... :P ...and I suppose in your universe it makes sense to read the blog post *first* before posting a response. -- Mark Wieder ahsoftw...@gmail.com ___

Re: [On-Rev] TIO: again all index files were overwritten

2016-01-18 Thread Jim Lambert
> Matthias wrote: > the index files have a changed date 17.01.2016 7:00 GMT+1. That was yesterday. If it’s of any help, in my account it appears that all files with ‘index’ in the name were changed on the 16th of January. What a strange kind of attack. I appreciate the team’s work to correct

Re: [On-Rev] TIO: again all index files were overwritten

2016-01-18 Thread Matthias Rebbe | M-R-D
Just received an answer. It is not possible to restore my account from the backup. :( > Am 18.01.2016 um 21:49 schrieb Matthias Rebbe | M-R-D > : > > I sent a new emergency ticket just some minutes ago. > > > >> Am 18.01.2016 um 21:42 schrieb Kevin

Re: [On-Rev] TIO: again all index files were overwritten

2016-01-18 Thread J. Landman Gay
On 1/18/2016 12:51 PM, Jim Lambert wrote: Matthias, It is not just your account. I can confirm that the TIO index files have been overwritten on my account too. Odd. I'm on Tio and my index files are fine, just as they were the last time this happened. It sounds like there's some kind of

Re: [On-Rev] TIO: again all index files were overwritten

2016-01-18 Thread Kevin Miller
Its been a fairly concerted attack, we’ve been stretched dealing with it. To my knowledge we were on top of the tickets today, I will follow up with David again now. Kind regards, Kevin Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps On

Re: There is no You in Documentation - yet!

2016-01-18 Thread Ali Lloyd
"submissions to the documentation" On Mon, Jan 18, 2016 at 9:34 PM Mark Wieder wrote: > On 01/18/2016 11:29 AM, Richard Gaskin wrote: > > Mike Kerner wrote: > > > Given how submissions to the documentation, previously, seemed to be > > > ignored, it will be a welcome

Re: There is no You in Documentation - yet!

2016-01-18 Thread Mike Kerner
I'm referring to the documentation stack. On Mon, Jan 18, 2016 at 2:29 PM, Richard Gaskin wrote: > Mike Kerner wrote: > > Given how submissions to the documentation, previously, seemed to be > > ignored, it will be a welcome change. > > If you would please provide

Re: iOS Safari View Controller

2016-01-18 Thread Mike Kerner
While we're at it, I would LOVE to be able to script a browser session from within LC - fill fields, push buttons, hit links, etc. Think of it as a headless browser in LC. On Mon, Jan 11, 2016 at 9:18 PM, hlowe wrote: > OK, on further investigation the "launch url pAppURL" call

Re: [On-Rev] TIO: again all index files were overwritten

2016-01-18 Thread Kevin Miller
Yes, the attacker returned again and used a different vector to achieve the very same task. We responded within minutes and were able to stop the attack fairly rapidly. Mostly things have been restored, if you¹re not back to normal let us know through the usual channels. Kind regards, Kevin

RE: Running Processes in the background

2016-01-18 Thread Ralph DiMola
Woops.. Thanks Klaus. Glen, Shout out if you need any other help! Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Glen Bojsza Sent: Monday, January 18,

Re: [On-Rev] TIO: again all index files were overwritten

2016-01-18 Thread Matthias Rebbe | M-R-D
Kevin, the index files have a changed date 17.01.2016 7:00 GMT+1. That was yesterday. When were the things restored? I informed support today morning by emergency request at 08:15 GMT+1. Did not hear back from support. So i phoned Heather at 10:00GMT+1. But nothing changed. Until now i did NOT

Re: Running Processes in the background

2016-01-18 Thread Klaus major-k
Am 18.01.2016 um 20:01 schrieb Ralph DiMola : > > Enclose tTest in quotes in the send otherwise it is looking for the variable > tTest. > > send "tTest" to me in 1 minute > > Ralph DiMola > IT Director > Evergreen Information Services > rdim...@evergreeninfo.net > >

Re: Running Processes in the background

2016-01-18 Thread Glen Bojsza
Yes changing the time worked! thanks On Mon, Jan 18, 2016 at 2:50 PM, Klaus major-k wrote: > Am 18.01.2016 um 20:01 schrieb Ralph DiMola : > > > > Enclose tTest in quotes in the send otherwise it is looking for the > variable > > tTest. > > > > send

Re: There is no You in Documentation - yet!

2016-01-18 Thread Ali Lloyd
>From the looks of things we've fixed about half of the documentation bugs reported in the last year against 6.7 / 7.0 / 8.0. One of the reasons documentation bugs were in the past not getting fixed as often as everyone would like, as I suggest in the blog post, is that it was something of a faff