Re: Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator

2013-03-04 Thread Mark Wieder
Peter- Monday, March 4, 2013, 5:56:07 PM, you wrote: > LiveCode is a finalist in the About.com Reader Awards. Vote now, > no registration required, just a valid email address. > http://mobiledevices.about.com/library/rca2013/bl-best-mobile-app-creator.htm Voted. LiveCode is currently at 57%. No

Re: about resolution independence...

2013-03-04 Thread Michael Mays
If resolution independence is the ability within a particular ascpect On Mar 1, 2013, at 4:56 AM, Colin Holgate wrote: > I know quite a bit about showing content at a size that is different to the > original document size, everything I make in Flash uses that ability, it lets > me make a sin

Re: about resolution independence...

2013-03-04 Thread Monte Goulding
What I might try and do is a screencast so people can at least see what I'm doing. It's very much an extension of the concepts that Chipp pioneered in his plugin. It scales some more properties and also has a geometry manager that's mobile centric (possible different layouts for each orientation

Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator

2013-03-04 Thread Peter W A Wood
LiveCode is a finalist in the About.com Reader Awards. Vote now, no registration required, just a valid email address. http://mobiledevices.about.com/library/rca2013/bl-best-mobile-app-creator.htm Peter http://LiveCode1001.blogspot.com ___ use-livecode

RE: about resolution independence...

2013-03-04 Thread Ralph DiMola
Monte, I ran into Aspect Ratio Independence land early on and was quit a task to get it right while moving and resizing things all over the place. Can't wait to see what you came up with! Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message

passing binary data to MySQL BLOB field

2013-03-04 Thread Sieg Lindstrom
Can anyone advise what the correct syntax should be to construct a MySQL "INSERT" query that passes variables from LiveCode when one of said variables is a binary object? I am trying to construct the statement and then use it with RevExecuteSQL. I'm particularly trying to understand the LC Dicti

Re: Keys of a custom property array

2013-03-04 Thread Monte Goulding
On 05/03/2013, at 11:40 AM, Richard Gaskin wrote: > > encode as JSON | XML | btree | > > Gets my vote. > > Will you be writing that this week? :) Er... no, I'm busy until the refactoring is done... -- M E R Goulding Software development services Bespoke application development for vert

Re: Keys of a custom property array

2013-03-04 Thread Mark Wieder
Monte- Monday, March 4, 2013, 4:36:43 PM, you wrote: > encode as JSON | XML | btree | Where's that "like" button? -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to sub

Re: Keys of a custom property array

2013-03-04 Thread Richard Gaskin
Monte Goulding wrote: > Hmm... I think your test methods might need to include loading the > stackfile into memory otherwise you are comparing data in memory > with reading data from disk... Since it's not possible to access any part of a stack without loading it into memory, I've only tested on

Re: Keys of a custom property array

2013-03-04 Thread Monte Goulding
On 05/03/2013, at 10:56 AM, Richard Gaskin wrote: > > I agree it makes total sense to use the same format when > > reading/writing to disk. As all the data is loaded into memory anyway > > I wonder how much extra time it would take to turn it into a pointer > > that was just as fast to access as

Re: Keys of a custom property array

2013-03-04 Thread Richard Gaskin
Monte Goulding wrote: > I agree it makes total sense to use the same format when > reading/writing to disk. As all the data is loaded into memory anyway > I wonder how much extra time it would take to turn it into a pointer > that was just as fast to access as a regular array perhaps that > c

Re: Weighted Random Number

2013-03-04 Thread Roger Guay
I have so much to learn and I learn so much from this group!! On Mar 4, 2013, at 3:32 PM, Dr. Hawkins wrote: > If it comes from combining a bunch of different things, it's pretty much > guaranteed to come out Gaussian if there are enough elements, and pretty > close to it even if there are only

Re: Speech and commas

2013-03-04 Thread Robert Brenstein
On 04.03.2013 at 17:55 Uhr -0500 Thomas McGrath III apparently wrote: on mouseUp put "THE TOP ROW. ESCAPE and Function keys F1, F2, F3, F4, F5." into tTTS put "6" into tNum send "TASpeak" && "Expanding" && quote & tTTS & quote && tNum && "Tasks!" to me in 1 millisecond end mouseUp

Re: Keys of a custom property array

2013-03-04 Thread Monte Goulding
On 05/03/2013, at 9:49 AM, Richard Gaskin wrote: > Mark's notes there describe a future challenge for the parser, but don't > address the current storage format of arrays in custom props. > > Try this: > > Set the value of a custom property to an array, and save that stack. > > Write out a bi

Re: Kill quit process

2013-03-04 Thread Thomas McGrath III
Thanks Mark, I am reading it now. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Mar 4, 2013, at 5:15 PM, Mark Wieder wrote: > Thomas McGrath III writes: > >> Will: kill 9 process "MyApp.app" which should work on the Mac also work on >> windows if I change it to: ki

Re: Speech and commas

2013-03-04 Thread Thomas McGrath III
Ok, after reworking it a dozen times I cam up with a weird but understandable solution. I had to surround the variable with quote to force revSpeak to see it as a quoted line of text. Since the tNum variable only has one word in it revSpeak seems to handle it just fine but because the tTTS has c

Re: Keys of a custom property array

2013-03-04 Thread Richard Gaskin
Monte Goulding wrote: On 05/03/2013, at 7:47 AM, Richard Gaskin wrote: If you want to store an array as the value of a custom property, I believe that the array is stored in the same format you'd get if you ran the array through arrayEncode. This hasn't been confirmed by RunRev, or even rigo

Re: Weighted Random Number

2013-03-04 Thread Dr. Hawkins
On Mon, Mar 4, 2013 at 12:37 PM, Roger Guay wrote: > Thanks for this, Dr. Hawkins. > One of the least likely places to use my Ph.D. in Statistics, but . . . :) > I suspect my distribution is Gaussian, but I may not need to be precise. > I'm evaluating all the great suggestions I've received on

Re: Keys of a custom property array

2013-03-04 Thread Monte Goulding
On 05/03/2013, at 7:47 AM, Richard Gaskin wrote: > If you want to store an array as the value of a custom property, I believe > that the array is stored in the same format you'd get if you ran the array > through arrayEncode. > > This hasn't been confirmed by RunRev, or even rigorously tested

Re: Kill quit process

2013-03-04 Thread Mark Wieder
Thomas McGrath III writes: > Will: kill 9 process "MyApp.app" which should work on the Mac also work on > windows if I change it to: kill 9 process "MyApp.exe" Found this: -- Mark Wieder mwie...@ahsoftware.

Re: Speech and commas

2013-03-04 Thread BNig
Hi Thomas, looks like a bug in revSpeak to me. put "THE TOP ROW ESCAPE and Function keys F1, F2, F3, F4, F5." into tTTS replace "," with ";" in tTTs works and seems to have the same effect on pronounciation as a comma. Kind regards Bernd -- View this message in context: http://runtime-revo

Re: Speech and commas

2013-03-04 Thread Rick Harrison
Hi Thomas, As a work around I would replace all comma's with some other non-pronounceable or invisible character like a space and see if that fixes your problem. Do that before you give the sentence to the speech part of the program. Good Luck, Rick On Mar 4, 2013, at 3:48 PM, Thomas McGrath I

Re: Speech and commas

2013-03-04 Thread Paul Hibbert
I can't figure out why, but it is the commas causing the issue, replacing them with stops allows the speech to complete the full sentence. Using exactly the same sentence in Text Edit allows the speech to complete with commas. Paul On 2013-03-04, at 12:48 PM, Thomas McGrath III wrote: > I am

Markdown library

2013-03-04 Thread Andrew Kluthe
Does anyone know of a livecode markdown implementation that works with fields? http://daringfireball.net/projects/markdown/basics Is there something similar that anyone has done? -- Regards, Andrew Kluthe and...@ctech.me ___ use-livecode mailing list

Speech and commas

2013-03-04 Thread Thomas McGrath III
I am having a problem with Speech 'again'. The following script will only speak the text in tTTS up until the first comma and then it stops. It does not finish tTTS or get to the tNum or the last word "Tasks!"But I have no idea why it would do this on mouseUp put "THE TOP ROW. ESCA

Re: Keys of a custom property array

2013-03-04 Thread Richard Gaskin
Peter Haworth wrote: Richard, I think your explanation of how arrays stored in cprops are translated back and forth between internal and external storage explains the the performance differences in Mark's tests. I am curious though about your comment on storing multi-dimensional arrays in cProps

Re: Keys of a custom property array

2013-03-04 Thread Dave Cragg
On 4 Mar 2013, at 16:08, Robert Brenstein wrote: > On 04.03.2013 at 14:21 Uhr + Dave Cragg apparently wrote: >> But does that make sense for the following: >> >> delete url >> put x into url >> post x to url >> >> It's hard to think of it as a function in these cases. >> >> Dave > > U

Re: Weighted Random Number

2013-03-04 Thread Roger Guay
Thanks for this, Dr. Hawkins. I suspect my distribution is Gaussian, but I may not need to be precise. I'm evaluating all the great suggestions I've received on this. Thanks again, Roger On Mar 4, 2013, at 10:36 AM, Dr. Hawkins wrote: > On Sun, Mar 3, 2013 at 5:46 PM, Roger Guay wrote: > >

Re: Weighted Random Number

2013-03-04 Thread Roger Guay
Hi Walt, This works perfectly! I'll add it to the other methods I've received for evaluation. Thanks and cheers, Roger On Mar 4, 2013, at 10:06 AM, "Sumner, Walt" wrote: > This seems to work: > > Make a stack with a button having this script, then click the button. It will > bounce around

[OT] Virtualisation of operating systems

2013-03-04 Thread Richmond
http://www.proxmox.com/ This certainly looks rather interesting. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/m

Re: variable from a web site

2013-03-04 Thread Jacques Hausser
It works perfectly well :-) Le 4 mars 2013 à 15:35, Jacques Hausser a écrit : > Many thanks, Mike, I'll have a try this evening (visitors home just now…) > > Jacques > > Le 4 mars 2013 à 15:22, Mike Bonner a écrit : > >> Actually since you don't just want the most recent click and want the c

Re: Really closing a stack

2013-03-04 Thread J. Landman Gay
On 3/4/13 1:17 PM, Graham Samuel wrote: Wow, what an insight! That also explains the fact that I got messages from the IDE saying there was a naming conflict immediately after I thought I had eliminated the stack from RAM. I learned about it the hard way, same as you. :) Now if I know that the

Re: Keys of a custom property array

2013-03-04 Thread Peter Haworth
I'm longing for the day when Google hangouts include the ability to share Scotch! On Sun, Mar 3, 2013 at 7:23 PM, Mark Wieder wrote: > but that could be because I've > been working on a bottle of Laphroaig > Pete lcSQL Software __

Re: Really closing a stack

2013-03-04 Thread Graham Samuel
Wow, what an insight! That also explains the fact that I got messages from the IDE saying there was a naming conflict immediately after I thought I had eliminated the stack from RAM. You live and learn: perhaps we need to get some of this into the LC dictionary - I'll think if I can write a suff

Re: Really closing a stack

2013-03-04 Thread J. Landman Gay
On 3/4/13 9:21 AM, Graham Samuel wrote: FINALLY I did something which I hadn't thought would have any influence at all on the outcome - the 'Killer' stack has a reference to the "dataStack" stack in its 'Stack Files' list: I added this to make it easier for Killer to find the other stack. When I

Re: how my book is doing...

2013-03-04 Thread Thomas McGrath III
Wait, you have two readers? -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Mar 4, 2013, at 12:27 PM, Colin Holgate wrote: > Yes, my expectation was that hopefully both readers would like the book. I > think it helps when you're the only book in the field. > > > On Mar 4,

Re: Weighted Random Number

2013-03-04 Thread Dr. Hawkins
On Sun, Mar 3, 2013 at 5:46 PM, Roger Guay wrote: > I suspect this is easy, but I'm not coming up with anything. Can anyone > tell me how to get weighted random numbers in LC? Say I want to position > something on the screen randomly but favor the center of the screen. Any > ideas? > The standa

Re: how my book is doing...

2013-03-04 Thread Colin Holgate
Yes, my expectation was that hopefully both readers would like the book. I think it helps when you're the only book in the field. On Mar 4, 2013, at 12:02 PM, Rod McCall wrote: > >Well done Colin, we will probably buy another copy for our lab. Actually > your sales are pretty good given the ov

Re: LIVECODE-SCROLLBAR LOCK

2013-03-04 Thread dunbarx
Hi. You can control the scrollbar, but will not notice any updates or changes until the screen is unlocked. As for navigating to a substack with a locked screen, yes, everything is hunkered down until either the handler ends or the screen is unlocked explicitly. This is a good thing. Make a

Weighted Random Number

2013-03-04 Thread Sumner, Walt
This seems to work: Make a stack with a button having this script, then click the button. It will bounce around in a normal distribution in H and V coordinates. on mouseUp local tSD,tMean,tPoint,tStartPoint put the loc of me into tStartPoint put the width of this window div 6 & comm

Re: how my book is doing...

2013-03-04 Thread Rod McCall
Well done Colin, we will probably buy another copy for our lab. Actually your sales are pretty good given the overall size of the LiveCode community. Cheers, rod On 4 March 2013 17:28, Colin Holgate wrote: > I received the royalty statement for October, November, and December. The > book still

Re: how my book is doing...

2013-03-04 Thread Colin Holgate
I received the royalty statement for October, November, and December. The book still did well, and now I think there are nearly 200 print copies and over 400 ebook copies out there. The income is still low for the amount of time it took to write the book, but it's a lot more than I thought it wo

Re: Keys of a custom property array

2013-03-04 Thread Robert Brenstein
On 04.03.2013 at 14:21 Uhr + Dave Cragg apparently wrote: But does that make sense for the following: delete url put x into url post x to url It's hard to think of it as a function in these cases. Dave Unless you think of it as a pointer to a container. Robert __

Re: Keys of a custom property array

2013-03-04 Thread Mark Wieder
Dave- Monday, March 4, 2013, 6:21:06 AM, you wrote: > It's hard to think of it as a function in these cases. I'm starting to see why it's classed as a "keyword". -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lis

Re: Really closing a stack

2013-03-04 Thread Graham Samuel
Thanks Colin for your reply. I think 'destrpyWindow' was false (I've never needed it before, and indeed the description in the Dictionary doesn't really explain how it relates to the other two properties I mentioned and why they don't just override it when a stack is deleted). However, I set it

Re: Weighted Random Number

2013-03-04 Thread Roger Guay
I want to thank Paul, Peter, Dunbar, Jacques and Scott for helping me with this problem. I now have enough to keep me out of your hair for months!! Thanks and cheers, Roger On Mar 3, 2013, at 7:27 PM, Paul D. DeRocco wrote: >> From: Roger Guay >> >> Thanks, Scott. I'm not sure I follow wh

Re: Weighted Random Number

2013-03-04 Thread Roger Guay
Hello Scott, This is exactly the kind of distribution I want. You solved my problem and you managed to make a piece of art in the process. You are so clever!! Thanks and cheers, Roger On Mar 4, 2013, at 2:11 AM, Scott Rossi wrote: > I'm still a bit unclear about the result you want, but thin

Re: variable from a web site

2013-03-04 Thread Jacques Hausser
Many thanks, Mike, I'll have a try this evening (visitors home just now…) Jacques Le 4 mars 2013 à 15:22, Mike Bonner a écrit : > Actually since you don't just want the most recent click and want the csv > contents you probably want this instead. > > get revbrowserexecutescript(1, > "result=

Re: Sauce Bottle

2013-03-04 Thread Robert Sneidar
Those were great machines for their time too! Lasted forever as you well know. I ported SBT for DOS to run on those Macs and we had our whole radio ministry using them for everything for many a year. Bob On Mar 3, 2013, at 1:35 AM, Richmond wrote: > On 03/03/2013 11:11 AM, Monte Goulding wro

Re: variable from a web site

2013-03-04 Thread Mike Bonner
Actually since you don't just want the most recent click and want the csv contents you probably want this instead. get revbrowserexecutescript(1, "result=document.getElementById('ta_csvoutput').value;") The other just returns the most recent click, this grabs the value of the textarea with th

Re: Keys of a custom property array

2013-03-04 Thread Dave Cragg
On 4 Mar 2013, at 05:01, Mark Wieder wrote: > It makes much more > sense to ignore the misleading documentation and think of it as a > function. > > put url("file:xyz") But does that make sense for the following: delete url put x into url post x to url It's hard to think of it as a functi

Re: Keys of a custom property array

2013-03-04 Thread Björnke von Gierke
URL is not a function. The reason why it's very often used with parentheses is because of evaluation ordering being unhelpful. There used to be a little popup in the old 1.1.1 documentation that explained operator order, and included containers and keywords. Consider these two statement: put U

Re: variable from a web site

2013-03-04 Thread Mike Bonner
Don't have time to dig further, but something like this might get you started.. on mouseUp get revbrowserexecutescript(1,"result=outputDiv.innerHTML;") -- gets the innerHtml of outputDiv put it -- could be "put the result" in this case also, info is duplicated. end mouseUp On Mon, Mar 4

Re: Really closing a stack

2013-03-04 Thread Colin Holgate
What is destroyWindow set to? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Really closing a stack

2013-03-04 Thread Graham Samuel
This is driving me nuts. My ambition is to remove a stack from memory and therefore from the message path, prior to reloading a fresh (template) version of the same stack. I don't want two versions of the same stack in the machine at one time - and in fact LC makes this illegal. This seems a ver

variable from a web site

2013-03-04 Thread Jacques Hausser
I'm a total newbie with browsers and worse, totally blind-and-deaf to Java. My problem is I want to pick coordinates and elevation in a LC stack from http://www.daftlogic.com/sandbox-google-maps-find-altitude.htm just by clicking on the map. I was (surprisingly) able to get a browser working in m

Re: Weighted Random Number

2013-03-04 Thread Scott Rossi
I'm still a bit unclear about the result you want, but thinking about it more, I'd guess you want something like a radial orientation of objects centered on the card. I'm pretty sure you'd need a logarithmic function for this, and while I'm not hip to the right way to do it, I cobbled together an