Re: Ugly stack filename problem after Save as!

2014-02-20 Thread Phil Jimmieson
I've seen an issue in Mavericks Finder where a file you've selected, will sometimes stay selected when you mouse down and then try and drag a different file (even though the two files may be in completely different folders) - as though you'd held down shift or cmd. The result when that happens i

Re: set the textStyle["box"] of word x of line y to true is very fast

2014-02-20 Thread Richmond
On 20/02/14 22:48, Richard Gaskin wrote: Richmond wrote: >> Although I noticed "set the textStyle["plain"]" or "set the >> textStyle["empty"]" throws an error. I think it should be allowed. > > That's odd, as the documentation has this: > > "Value: > The textStyle of an object or chunk is either

Re: Ugly stack filename problem after Save as!

2014-02-20 Thread J. Landman Gay
On 2/20/14, 11:27 PM, Dr. Hawkins wrote: On Wed, Feb 19, 2014 at 10:07 AM, Klaus major-k wrote: I am experiencing a very strange problem after I save a stack AS. Looks like LC remembers the original filename and insist on using it, EVEN after I quit and restart LC!? I have seen a semi-repor

Re: Ugly stack filename problem after Save as!

2014-02-20 Thread Dr. Hawkins
On Wed, Feb 19, 2014 at 10:07 AM, Klaus major-k wrote: > I am experiencing a very strange problem after I save a stack AS. > Looks like LC remembers the original filename and insist on using it, > EVEN after I quit and restart LC!? > I have seen a semi-reporducible glitch like this on OS/X with

RE: Web Apps

2014-02-20 Thread Nakia Brewer
Sorry, appears I was a little vague. I wasn't attempting to write a list of technical requirements however. The reason I currently user Perfect Forms is it allows me to easily create a web apps that has a linked workflow associated to it. Allows me to define conditions and the likes so I know wh

Re: Web Apps

2014-02-20 Thread Mark Schonewille
Nakia, What I understand from your e-mail is: - you need to fill out web forms - you need to send e-mails What other _technical_ requirements do you have? Automate paper processes and begin a workflow aren't really items that belong in a list of technical requirements. So far, you give me th

RE: Web Apps

2014-02-20 Thread Nakia Brewer
Thanks for the replies, Basically I am now using Perfect Forms to build systems for clients that automate paper processes. Think of Human Resource systems such as Leave Requests etc. The Majority of what I do is building approval style systems that allow people to fill in web forms that they th

Re: Web Apps

2014-02-20 Thread Vaughn Clement
Hi Nakia WaveMaker is not even 50% of what LiveCode can offer. I spent about 2 months trying to work wit WM before I found LivCode. Alex has the point at hand, what are you trying to do? As you can see I am mainly a database developer, and I've used about every kind of DB app over the last 35 year

Re: SQLite revOpenDatabase() and Relative File Paths

2014-02-20 Thread Kay C Lan
Devin, Doc, Thanks, that nailed it. On Thu, Feb 20, 2014 at 11:34 PM, Devin Asay wrote: > You don't need the leading "/" in the relative file path. With the > defaultFolder set to the parent folder of Folder Name, you simply use > "Folder Name/mySQLite.db" as the path. > >

Re: set the textStyle["box"] of word x of line y to true is very fast

2014-02-20 Thread BNig
Hi, although I initially thought that >> "set the textStyle["empty"]" throws an error. I think it should be >> allowed. I agree with Richard and Peter. The array notation is for setting textStyles on top of other textStyles, not replacing textStyles as the older version does. So it is for speci

Re: Web Apps

2014-02-20 Thread Alex Shaw
Hi Nakia Depending on what you want to do you could try the following.. Wakanda (http://www.wakanda.org/) Have only played with version 5 and that was ok but seems to have come a long way. Google Apps Script (http://www.google.com/script/start/) Did a few web apps with this.. mainly for the t

Web Apps

2014-02-20 Thread Nakia Brewer
Hi All, Not sure if it's okay to ask this here but does anyone have any recommendations for easy to use Web Apps systems? I'm currently using a system called "Perfect Forms" and it's doing alright but I am at the limits of what that system can do and struggle to justify $250 for a 1 hour suppo

Re: set the textStyle["box"] of word x of line y to true is very fast

2014-02-20 Thread Peter Haworth
I don't think that's an error. The textstyle array has keys named after the actual textstyles, but empty and plain are not styles, they're just a way of saying there is no style to be applied so the textSTyle array has no keys for them. Setting the textstyle to empty is the same as setting the te

Re: set the textStyle["box"] of word x of line y to true is very fast

2014-02-20 Thread Richard Gaskin
Richmond wrote: >> Although I noticed "set the textStyle["plain"]" or "set the >> textStyle["empty"]" throws an error. I think it should be allowed. > > That's odd, as the documentation has this: > > "Value: > The textStyle of an object or chunk is either "plain", empty, > "mixed", or one or more

Re: set the textStyle["box"] of word x of line y to true is very fast

2014-02-20 Thread Richmond
On 20/02/14 12:41, Richmond wrote: On 20/02/14 11:00, BNig wrote: Hallo Thierry, it is about the same: 1200 milliseconds on a text of 1000 lines and about 2.000.000 chars. the point is that using "set the textStyle["bold"]" on chunks is a lot faster, on top it preserves preexisting textStyles

Re: Finding available memory without shell, how to use hasMemory()

2014-02-20 Thread Richmond
On 20/02/14 21:07, Gabriel Johnson wrote: Hey All, I am working on a program where I need to know the amount of available memory. I'm running on OS X and hasMemory() appears to return true/false for the same values regardless changes to free/available memory. Is there some trick to getting hasM

Re: RELEASE LiveCode 6.6 DP1

2014-02-20 Thread Richard Gaskin
Mark Wieder wrote: >> To bring this new feature to completion I just added a request for a >> global property to turn it off: >> >> AllowAssert global property >> > > Comment added to bug report. > > Richard: if you don't explicitly put in an asse

Re: RELEASE LiveCode 6.6 DP1

2014-02-20 Thread Mark Wieder
> For example, you may want asserts to be evaluated during testing, but > not in the final product. > > To bring this new feature to completion I just added a request for a > global property to turn it off: > > AllowAssert global property > Com

Finding available memory without shell, how to use hasMemory()

2014-02-20 Thread Gabriel Johnson
Hey All, I am working on a program where I need to know the amount of available memory. I'm running on OS X and hasMemory() appears to return true/false for the same values regardless changes to free/available memory. Is there some trick to getting hasMemory() to correspond with the actual availa

Re: RELEASE LiveCode 6.6 DP1

2014-02-20 Thread Peter Haworth
Hi Bjornke, Like you, I'm still skeptical about how useful this really is. I'm sensing that LC coders who also work with other more traditional programming languages will be more comfortable with assert. To answer your question though, one example might be a parameter to a function which is always

Re: SQLite revOpenDatabase() and Relative File Paths

2014-02-20 Thread Dr. Hawkins
On Thu, Feb 20, 2014 at 7:34 AM, Devin Asay wrote: > On Feb 19, 2014, at 10:54 PM, Kay C Lan wrote: > > > > get revOpenDatabase("sqlite","/Folder Name/mySQLite.db",,,) > > You don't need the leading "/" in the relative file path. With the > defaultFolder set to the parent folder of Folder Name

Re: RELEASE LiveCode 6.6 DP1

2014-02-20 Thread Richard Gaskin
Björnke von Gierke wrote: > On 20.02.2014, at 16:37, Richard Gaskin wrote: > >> The key point there is that both only catch things the engine >> considers errors. >> >> Assert compliments those by providing for things which may be >> syntactically correct and completely executable, yet are errors

Re: RELEASE LiveCode 6.6 DP1

2014-02-20 Thread Andrew Kluthe
I think a nice example stack (perhaps even closer to a final release) put onto revOnline would help everyone. I'd love to know more about this upcoming feature. On Thu, Feb 20, 2014 at 10:51 AM, Björnke von Gierke wrote: > > On 20.02.2014, at 16:37, Richard Gaskin > wrote: > > > The key point

RE: RELEASE LiveCode 6.6 DP1

2014-02-20 Thread Ralph DiMola
Divide by zero? 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 Björnke von Gierke Sent: Thursday, February 20, 2014 11:51 AM To: How to use LiveCode Subject

Re: RELEASE LiveCode 6.6 DP1

2014-02-20 Thread Björnke von Gierke
On 20.02.2014, at 16:37, Richard Gaskin wrote: > The key point there is that both only catch things the engine considers > errors. > > Assert compliments those by providing for things which may be syntactically > correct and completely executable, yet are errors within the context of the > b

Re: RELEASE LiveCode 6.6 DP1

2014-02-20 Thread Richard Gaskin
Björnke von Gierke wrote: > On 16.02.2014, at 22:13, Peter Haworth wrote: > >> Seems like it's really meant to detect the >> infamous "this should never happen" situation rather than expected >> errors., > > Alright, if that is the case, why isn't it done in the engine WITHOUT > adding another c

Re: SQLite revOpenDatabase() and Relative File Paths

2014-02-20 Thread Devin Asay
On Feb 19, 2014, at 10:54 PM, Kay C Lan wrote: > This works > > put the defaultFolder & "/Folder Name/mySQLite.db" into tPath > get revOpenDatabase("sqlite",tPath,,,) > > But this doesn't > > get revOpenDatabase("sqlite","/Folder Name/mySQLite.db",,,) > > I thought the point of the defaultFo

Re: [OT] Paul Elio could change the world of transportation

2014-02-20 Thread Roger Eller
An electric skateboard. What will these young hipsters dream up next? ;-) If my work was closer to home, I might choose a bike or at least something human powered. I do see the health benefits of exercise, but I am a fragile human that doesn't handle extreme cold / heat / rain scenarios well.

Re: RELEASE LiveCode 6.6 DP1

2014-02-20 Thread Björnke von Gierke
On 16.02.2014, at 22:13, Peter Haworth wrote: > Seems like it's really meant to detect the > infamous "this should never happen" situation rather than expected errors., Alright, if that is the case, why isn't it done in the engine WITHOUT adding another command? why do WE need to add random c

Re: set the textStyle["box"] of word x of line y to true is very fast

2014-02-20 Thread Richmond
On 20/02/14 11:00, BNig wrote: Hallo Thierry, it is about the same: 1200 milliseconds on a text of 1000 lines and about 2.000.000 chars. the point is that using "set the textStyle["bold"]" on chunks is a lot faster, on top it preserves preexisting textStyles of the chunk whereas "set the textSt

Re: set the textStyle["box"] of word x of line y to true is very fast

2014-02-20 Thread Thierry Douez
2014-02-20 10:00 GMT+01:00 BNig : > Hallo Thierry, > > it is about the same: > 1200 milliseconds on a text of 1000 lines and about 2.000.000 chars. > > the point is that using "set the textStyle["bold"]" on chunks is a lot > faster, on top it preserves preexisting textStyles of the chunk whereas "s

Re: set the textStyle["box"] of word x of line y to true is very fast

2014-02-20 Thread BNig
Hallo Thierry, it is about the same: 1200 milliseconds on a text of 1000 lines and about 2.000.000 chars. the point is that using "set the textStyle["bold"]" on chunks is a lot faster, on top it preserves preexisting textStyles of the chunk whereas "set the textStyle of chunk to "bold"" is slower

Re: Encryption / Encoding Differences between IDE and OS X Standalone

2014-02-20 Thread Peter W A Wood
Bill Thanks, I took a look at your Encryption Demo Stack which works correctly both in the IDE and as a standalone. It does look as though the problem that I'm hitting is due to the limitations of a field and not the encryption functions. I will continue to investigate. Regards Peter On 20

Re: SQLite revOpenDatabase() and Relative File Paths

2014-02-20 Thread Jan Schenkel
Hi Kay, Untested, but does it work if you put a period before the relative path? get revOpenDatabase("sqlite","./Folder Name/mySQLite.db",,,) Otherwise the operating system may think you're trying to open a dataabse on a volume called 'Folder Name' HTH, Jan Schenkel. = Quartam Reports &