Livecode Content Management System

2017-12-01 Thread Alejandro Tejada via use-livecode
Andre Garzia wrote: > If you choose to store your data on flat files and use git > on that folder, you get branching, rollback and backups > for free for your CMS. Those data flat files could be stored as base64 encoded text files, Right? Al ___

Re: Q re multilingual mobile apps

2017-12-01 Thread Richard Gaskin via use-livecode
Good find, Paul. Thanks. I'll pass that tip along. -- Richard Gaskin Fourth World Systems Paul Hibbert wrote: > According to the dictionary, you should be able to use > mobileCurrentLocale(), but I don’t know what the specific results > would be, as the dictionary example states “en_US”

Re: [OT] The Internet is Living on Borrowed Time

2017-12-01 Thread Andre Garzia via use-livecode
Hey, A friend of mine gave a talk at BrazilJS entitled "the end of the web", be aware that BrazilJS is the largest Javascript conference in the world, so this is quite a spotlight (I gave a talk there this year too). He later posted an article with same content in English at

Re: Livecode Content Management System

2017-12-01 Thread Andre Garzia via use-livecode
Hey Alex, Long time, no see! Hope all is well over there. Its that time again when I pop up out of nowhere and write a long email, sorry for the longform text but I am kind of a sucker for CMSs. as pointed before by Ralf, CMSs are tricky business and quite hard to get it right. It is easy to get

Re: Trapping multiple keystrokes

2017-12-01 Thread J. Landman Gay via use-livecode
It's a function, so try get flushEvents("autoKey") -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 1, 2017 4:05:20 PM Kaveh Bazargan via use-livecode wrote: Hi

Re: Trapping multiple keystrokes

2017-12-01 Thread Kaveh Bazargan via use-livecode
Hi Paul It looks like just what I need and thanks for that, but it does not do the job in my stack and in the single field stack with one line added: on arrowKey theKey put 1 into increment put me into current_value if theKey is "up" then put current_value + increment into the

Re: Trapping multiple keystrokes

2017-12-01 Thread Paul Dupuis via use-livecode
On 12/1/2017 1:00 PM, Paul Dupuis via use-livecode wrote: > On 12/1/2017 12:52 PM, Kaveh Bazargan via use-livecode wrote: >> I have a field with a number in it. when focused, I want the value to go up >> and down with the up/down arrow keys. The trouble is that if I keep the key >> down, it traps

Re: Trapping multiple keystrokes

2017-12-01 Thread Kaveh Bazargan via use-livecode
On 1 December 2017 at 21:29, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > On 12/1/17 3:16 PM, Kaveh Bazargan via use-livecode wrote: > >> It is the final action I have a problem with, as dozens of arrow key >> actions are held in the buffer. The number keeps

Re: Trapping multiple keystrokes

2017-12-01 Thread J. Landman Gay via use-livecode
On 12/1/17 3:16 PM, Kaveh Bazargan via use-livecode wrote: It is the final action I have a problem with, as dozens of arrow key actions are held in the buffer. The number keeps increasing or decreasing and background actions are triggered. Here is a minimal version of the handler I have: on

Re: Trapping multiple keystrokes

2017-12-01 Thread dunbarx via use-livecode
If you have this in the script of a field: on arrowKey tKey add 1 to me end arrowKey The continuous addition stops instantly after release. As Jacque mentioned, how are you doing it? Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

Re: Trapping multiple keystrokes

2017-12-01 Thread J. Landman Gay via use-livecode
My understanding of the question is that keydown messages are being queued and continue to run to exhaustion even after the key is no longer pressed. I couldn't duplicate that behavior. The rawkeydown handler below will manage keypresses but won't solve a backed-up message queue. That's why I

Re: Trapping multiple keystrokes

2017-12-01 Thread Kaveh Bazargan via use-livecode
Thanks for the replies guys. Richmond, sorry I was not clear. It is simpler: - I click in a field that has a value - I press arrow key (up or down) - I want the value to change up or down in that field - After the value is changed, other actions are triggered, e.g. setting

Re: Trapping multiple keystrokes

2017-12-01 Thread Mike Bonner via use-livecode
If you're using rawkeydown you can check to see if the key is actually still down before doing any processing.. on rawkeydown pKey -- since you're checking specifically for arrow keys, you can use pkey as the first part of the filter.. if pkey is among the items of "65361,65362,65363,65364"

Re: Trapping multiple keystrokes

2017-12-01 Thread Richmond Mathewson via use-livecode
I may be a bit stupid, but as far as I understand you are trying to do this: 1. You keep an arrow key pressed down, 2. You do other things with other keys while the arrow key is pressed down. I cannot begin to try to answer your question until you either confirm what I have written or say that

Re: Trapping multiple keystrokes

2017-12-01 Thread J. Landman Gay via use-livecode
On 12/1/17 11:52 AM, Kaveh Bazargan via use-livecode wrote: I have a field with a number in it. when focused, I want the value to go up and down with the up/down arrow keys. The trouble is that if I keep the key down, it traps multiple keydown messages that continue after the key is released.

Re: IDE breaks down over time

2017-12-01 Thread Dr. Hawkins via use-livecode
On Fri, Dec 1, 2017 at 10:24 AM, Bob Sneidar via use-livecode wrote: > You are saying the IDE process is maxing out? There was a known issue with > notifications doing this in > MacOS 10.11. Are you creating alerts in your apps? Was this to me? I don't create

Re: Livecode Content Management System

2017-12-01 Thread Simon Smith via use-livecode
Hi I have played with this a bit, and got pretty far for a proof of concept for an ecommerce project I was working on. I stopped working on it when I left the company I was working for. I did not use rev igniter since I wanted it to function as it's own framework and I think it just makes the

Re: goofy question about audioClip

2017-12-01 Thread Richmond Mathewson via use-livecode
Now there's a nifty and valuable piece of information. And here's the obvious riposte: http://www.audacityteam.org/ Richmond. On 1/12/17 7:28 pm, tbodine via use-livecode wrote: I've found when an audio file sounds like white noise in Livecode, it can often be fixed by opening the file in an

Re: goofy question about audioClip

2017-12-01 Thread Richmond Mathewson via use-livecode
That's a great help, thank you very much indeed. Richmond. On 1/12/17 6:08 pm, Warren Samples via use-livecode wrote: On 11/29/2017 02:27 PM, Richmond Mathewson via use-livecode wrote: Is there a way to play audioClips in Linux? The tutorial makes no mention of this feature being restricted

Re: IDE breaks down over time

2017-12-01 Thread Bob Sneidar via use-livecode
You are saying the IDE process is maxing out? There was a known issue with notifications doing this in MacOS 10.11. Are you creating alerts in your apps? Bob S > On Dec 1, 2017, at 10:21 , Dr. Hawkins via use-livecode > wrote: > > On Fri, Dec 1, 2017 at 9:53

Re: IDE breaks down over time

2017-12-01 Thread Dr. Hawkins via use-livecode
On Fri, Dec 1, 2017 at 9:53 AM, Mark Wieder via use-livecode wrote: > Just got this situation again. The IDE completely unresponsive, all other > open apps working properly. Top shows LC using 98% of the CPU, and a kill -9 > got things back to normal. I suppose

Re: Q re multilingual mobile apps

2017-12-01 Thread Paul Hibbert via use-livecode
According to the dictionary, you should be able to use mobileCurrentLocale(), but I don’t know what the specific results would be, as the dictionary example states “en_US” whereas the equivalent result shown in the settings on iOS is “English (U.S.)”, so some careful investigations may be

Re: Trapping multiple keystrokes

2017-12-01 Thread Paul Dupuis via use-livecode
On 12/1/2017 12:52 PM, Kaveh Bazargan via use-livecode wrote: > I have a field with a number in it. when focused, I want the value to go up > and down with the up/down arrow keys. The trouble is that if I keep the key > down, it traps multiple keydown messages that continue after the key is >

Re: IDE breaks down over time

2017-12-01 Thread Mark Wieder via use-livecode
On 11/28/2017 12:19 PM, Sannyasin Brahmanathaswami via use-livecode wrote: 4) suddenly no longer able to save or open the message box… Just got this situation again. The IDE completely unresponsive, all other open apps working properly. Top shows LC using 98% of the CPU, and a kill -9 got

Trapping multiple keystrokes

2017-12-01 Thread Kaveh Bazargan via use-livecode
I have a field with a number in it. when focused, I want the value to go up and down with the up/down arrow keys. The trouble is that if I keep the key down, it traps multiple keydown messages that continue after the key is released. How can I ensure that message are terminated as soon as arrow

Re: goofy question about audioClip

2017-12-01 Thread tbodine via use-livecode
I've found when an audio file sounds like white noise in Livecode, it can often be fixed by opening the file in an audio editor and re-exporting it with settings of 16-bit, 44100 Hz sample rate, mono. -- Tom B. -- Sent from:

Q re multilingual mobile apps

2017-12-01 Thread Richard Gaskin via use-livecode
Interesting question in the forums that has me stumped: If you have an app where you've worked out multilingual support, what function can we call to determine the device's current language setting? http://forums.livecode.com/viewtopic.php?f=7=30081 -- Richard Gaskin Fourth World Systems

Re: goofy question about audioClip

2017-12-01 Thread Warren Samples via use-livecode
On 11/29/2017 02:27 PM, Richmond Mathewson via use-livecode wrote: Is there a way to play audioClips in Linux? The tutorial makes no mention of this feature being restricted to some platforms. audioclips work in Linux. I don't know what dependencies you need to satisfy, and you'll have to

Re: Livecode Content Management System

2017-12-01 Thread Ralf Bitter via use-livecode
Hi Alex, here are my offhand and fairly blunt thoughts on your undertaking. First of all I think that the primary challenge in building a CMS, no matter if you use LiveCode, PHP or whatever, is to provide a tool for an audience which is not that tech-savvy. So, the process of managing web content

Re: Livecode Content Management System

2017-12-01 Thread David Bovill via use-livecode
I code in LC and use the debugger testing revIgnitor controllers locally, then upload them to the revIgniter site to test remotely. This happens all within the script editor. I use stacks as libraries both locally and with revIgnitor. That way I feel you get the best of both worlds. It works by

Re: Livecode Content Management System

2017-12-01 Thread Robert Brenstein via use-livecode
I have been using LC to generate complete websites but I use LC only as a generator of HTML pages from data files and database content, using CSS for theming and HTML hierarchical template files that call LC functions through merge. I believe that Richard Gaskin is still selling a commercial

Re: Livecode Content Management System

2017-12-01 Thread Lagi Pittas via use-livecode
Hi Alex, As much as I think revigniter is brilliant at what it does I really think if this is going to be done it should be done in LC totally. 1. The first reason which you in the fact brought up that we could use the IDE to debug 2. If PHP can do it why not Livecode? 3. I'm really hating

Re: Livecode Content Management System

2017-12-01 Thread Tom Glod via use-livecode
I recently started working with livecode server and revigniter after 5 years of strictly desktop dev..so I'd definately be able to help contribute to the development. I gotta say I love wordpress. but there is one thing I love more than that and its Livecode. So put me down for a yes.

Re: Livecode Content Management System

2017-12-01 Thread Alex Tweedly via use-livecode
On 01/12/2017 02:47, Alejandro Tejada via use-livecode wrote: Could your LCMS import (and use) templates and themes from other CMS platforms like Joomla or WordPress? Unlikely. Wordpress themes are written in PHP (or, if you like, HTML with a lot of embedded PHP), so it's hard to see how I

Re: Livecode Content Management System

2017-12-01 Thread David Bovill via use-livecode
Hi Alex, I'm working on this too in the coming weeks. I'd be happy to work on it with you if it were on GitHub. I'm working on the following aspects: 1. Static site generation and integration with relevant tool chains 2. Integration with revIgniter 3. Docker based hosting infrastructure