SQLite .import can´t make it work

2017-11-20 Thread Javier Miranda via use-livecode
Please excuse me, a minute ago I inadvertedly sent a previous message that I did not finish to redact. The script I sent creates de database (aguacab.sqlite), also it creates the table asociados, but fails to fill the table with data from the CSV file datos.csv. I am certain datos.csv exist in

SQLite .import can´t make it work

2017-11-20 Thread Javier Miranda via use-livecode
Friends, please inspect this short script: *local* tDBPath, tCSVPath *on* mouseUp *put* specialFolderPath("documents") & "/aguacab.sqlite" into tDBPath *put* revOpenDatabase("sqlite", tDBPath, , , , ) into gConnID *-- Crea Tabla* *put* "CREATE TABLE asociados (codi char(5), nombre

Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-)

2017-11-20 Thread Richard Gaskin via use-livecode
Alex Tweedly wrote: > P.S. I'm not convinced by the original claim either. To me, "integral > part" cannot be implied by use of a web api. If it can, I look forward > to writing an app with the Community version that uses Google's maps > api - and the subsequent claim that Google's code is all

Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-)

2017-11-20 Thread Alex Tweedly via use-livecode
Matthias said (quoting the LC FAQs): Another difference is you do not require your code be distributed under GPL. But with community version of LcServer you have to do so "in case your server code is an integral part of making your LC based software work". But that (as far as I can see) is

Creating LC IDE plugin - is it possible to check if plugin was started automatically or from menu?

2017-11-20 Thread Alejandro Tejada via use-livecode
Hi All, Where could I found a guide for creating LC IDE plugins? Al > On 20 Nov 2017, at 7:21 pm, Matthias Rebbe wrote: > So is there a way to check if a plugin was run at > startup or if it was started from the menu? > Then, Monte Goulding answered: > Yes, check if revMenubar is in the

Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-)

2017-11-20 Thread Rick Harrison via use-livecode
Hi Ralph & Matthias, I am well aware of the GPL limitations of the community version with respect to the license. I never use password protected stacks. I do see how that could be useful though. The encryption functionality is important too. The tsNet external is also nice for sending emails

Re: Simple tutorial on scrollbars?

2017-11-20 Thread Kaveh Bazargan via use-livecode
Hi all I have had some great tips for rolling my own scrollbars from Roger, but a simple question. What do the following do in the scrollbar inspector: - Foreground fill - Background fill - Border fill - etc None seem to affect the colors of the components of a scrollbar. On 19 November 2017

Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-)

2017-11-20 Thread Matthias Rebbe via use-livecode
Rick, the commercial version of LcServer supports encryption, the use of password protected stacks and you can use the tsNet external with it, but you have to install these externals manually, because the build process currently doesn´t include them into to builds. Another difference is you do

RE: Rant on my favourite topics : LC server with a side-dish of on-rev :-)

2017-11-20 Thread Ralph DiMola via use-livecode
Hey Rick, The only difference I have seen is the ability to open password protected stacks. 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 Rick

Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-)

2017-11-20 Thread Rick Harrison via use-livecode
Hi Ralph, It looks to me that they did it this way because there isn’t any automatic way to check for a valid license the same way as the paid version of LiveCode works. As you say, the commercial version of LC server lacks the GUI which would make that auto-validation step possible. A list of

Re: universal error catching/debugger dropping

2017-11-20 Thread Mike Kerner via use-livecode
I didn't try a front script. Maybe I'll try that. On Mon, Nov 20, 2017 at 10:56 AM, Trevor DeVore via use-livecode < use-livecode@lists.runrev.com> wrote: > On Mon, Nov 20, 2017 at 8:56 AM, Mike Kerner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > That doesn't catch every

Re: universal error catching/debugger dropping

2017-11-20 Thread Trevor DeVore via use-livecode
On Mon, Nov 20, 2017 at 8:56 AM, Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > That doesn't catch every time we have a debugger drop, unfortunately. The debugger is probably capturing the message. Did you try defining errorDialog in a frontscript? -- Trevor DeVore

Re: universal error catching/debugger dropping

2017-11-20 Thread Trevor DeVore via use-livecode
On Mon, Nov 20, 2017 at 8:56 AM, Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > or every time a mobile script just aborts. > Did you put it in the message path using a library script? If a script error occurs then errorDialog will be triggered. -- Trevor DeVore (703)

Re: submenu

2017-11-20 Thread Bob Sneidar via use-livecode
Oh hey, I reported that bug! I totally forgot. Bob S > On Nov 19, 2017, at 09:51 , Paul Hibbert via use-livecode > wrote: > > For more info checkout the "Creating Cascading Menus” section on P182 of the > user guide. > > It seems this odd behaviour started

Building a variable length code Huffman Tree in LiveCode

2017-11-20 Thread Alejandro Tejada via use-livecode
Hi All, Which methods could I use in Livecode, to build a Huffman tree? http://www.ics.uci.edu/~dan/class/165/notes/zHuff.pdf The idea of building a tree with nodes, leafs suggest to use an xml file for this task, but all examples that I have read uses a different method with data structures

RE: Rant on my favourite topics : LC server with a side-dish of on-rev :-)

2017-11-20 Thread Ralph DiMola via use-livecode
There is no license registration for LC server because there is no GUI. You only have the rights to use the commercial server if you have paid version of LC. This way only account holders with the proper license can download the commercial server. Ralph DiMola IT Director Evergreen Information

Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-)

2017-11-20 Thread Rick Harrison via use-livecode
Hi Matthias, I have been downloading everything from the downloads page for so long that I hardly ever visit my Livecode account page. Apparently now there is a separate tab just for server which has a password attached. Why this appears to be the exception to the rule of getting everything

Re: Creating LC IDE plugin - is it possible to check if plugin was started automatically or from menu?

2017-11-20 Thread Matthias Rebbe via use-livecode
Thanks Monte, that was exactly i was looking for. Matthias > Am 20.11.2017 um 10:19 schrieb Monte Goulding via use-livecode > >: > > >> On 20 Nov 2017, at 7:21 pm, Matthias Rebbe via use-livecode >>

Re: universal error catching/debugger dropping

2017-11-20 Thread Mike Kerner via use-livecode
or every time a mobile script just aborts. On Mon, Nov 20, 2017 at 9:56 AM, Mike Kerner wrote: > That doesn't catch every time we have a debugger drop, unfortunately. > > On Mon, Nov 20, 2017 at 9:34 AM, Trevor DeVore via use-livecode < >

Re: universal error catching/debugger dropping

2017-11-20 Thread Mike Kerner via use-livecode
That doesn't catch every time we have a debugger drop, unfortunately. On Mon, Nov 20, 2017 at 9:34 AM, Trevor DeVore via use-livecode < use-livecode@lists.runrev.com> wrote: > On Mon, Nov 20, 2017 at 8:31 AM Mike Kerner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > Is there a

Re: universal error catching/debugger dropping

2017-11-20 Thread Trevor DeVore via use-livecode
On Mon, Nov 20, 2017 at 8:31 AM Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > Is there a "universal" error message that is called when something bad > happens in LC? See the errorDialog message in the docs . Trevor DeVore ScreenSteps

universal error catching/debugger dropping

2017-11-20 Thread Mike Kerner via use-livecode
Is there a "universal" error message that is called when something bad happens in LC? I don't really want to write try/catch blocks for every command that is dropping me into the debugger in scripts that are supposed to be running unattended (and on mobile, I'd like to see if I can come up with a

[ANN] This Week in LiveCode 107

2017-11-20 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 #107 here: https://goo.gl/TSuuMB This is a weekly newsletter about LiveCode, focussing on what's been going on in and around

Re: Creating LC IDE plugin - is it possible to check if plugin was started automatically or from menu?

2017-11-20 Thread Monte Goulding via use-livecode
> On 20 Nov 2017, at 7:21 pm, Matthias Rebbe via use-livecode > wrote: > > So is there a way to check if a plugin was run at startup or if it was > started from the menu? Yes, check if revMenubar is in the executionContexts Cheers Monte

Creating LC IDE plugin - is it possible to check if plugin was started automatically or from menu?

2017-11-20 Thread Matthias Rebbe via use-livecode
Hi, first of all i am totally new to plugin creation. I am working on a plugin which shall be started with LC startup and then close again automatically after executing some task w/o user interaction. But i need also to run this plugin manually from the plugin menu without running the tasks,