Re: permuting a string (was Re: Speed)

2014-08-29 Thread Geoff Canyon
On Wed, Aug 27, 2014 at 9:33 AM, Beat Cornaz wrote: > So, getting rid of the duplicates inside the script is quite important. I > still don't see yet how I can do that in Geoff's script (I will look into > that again, as soon as I can find a little time). If we can get that to > work, I think we'

Re: mobile focus

2014-08-29 Thread Eric Corbett
Come on Gerry, that's too simple :-) Now I have to completely rethink my mobileControl library :-( Too easy. Still some work dealing with mobile fields and the keyboard and such, but until native mobile controls become native to LiveCode, it's worth it. E On Aug 29, 2014, at 8:46 PM, Gerry wr

Re: [ANN] RunRevLive 2014 Conference Mobile App Now Available

2014-08-29 Thread Mark Talluto
Hi Roger. I will build you an iOS 6 compatible version and deliver it to your via testflight. I will send the request to you via this email. Please let me know if this works for you. Mark Talluto > On Aug 29, 2014, at 6:56 PM, Roger Eller wrote: > > It works well on my 2 year old android t

Re: mobile focus

2014-08-29 Thread Gerry
iPhoneControlTarget() Gerry On 30 August 2014 13:26, Eric Corbett wrote: > Hi Mike, > > In my limited use of the native field on mobile, I have come across some key > features. > > First, when you create the field, I would recommend creating each one in a > separate control, like a desktop fie

Re: mobile focus

2014-08-29 Thread Eric Corbett
Hi Mike, In my limited use of the native field on mobile, I have come across some key features. First, when you create the field, I would recommend creating each one in a separate control, like a desktop field to be used as a place holder. Here's the reason: inputBeginEditing inputTextChanged

mobile focus

2014-08-29 Thread Mike Kerner
How do I figure out which native mobilc field has the focus (or if no native field does)? A field doesn't lose the focus when you do other things like hit buttons, or throw up pick lists, which can make it tricky to deal with fields that have updated values. focusedObject() doesn't seem to work a

Re: [ANN] RunRevLive 2014 Conference Mobile App Now Available

2014-08-29 Thread Roger Eller
It works well on my 2 year old android tablet, other than assuming it's a phone and forcing portrait mode. Tried on the iPhone 5 with iOS 6, but it refused to even install. I don't like iOS 7, so I'm out of luck there too it seems. Sent from my Android tablet On Aug 29, 2014 6:59 PM, "Mark Tallu

Re: RunRev Conference - I'm Here

2014-08-29 Thread Magicgate Software - Skip Kimpel
I will be there Monday night as well. I am very much looking forward to meeting all of you. SKIP On Fri, Aug 29, 2014 at 7:56 PM, Colin Holgate wrote: > Hopefully you’re early, and we’re not late! I get there Monday night. > > > On Aug 29, 2014, at 7:32 PM, Ralph DiMola > wrote: > > > >I'm h

Re: RunRev Conference

2014-08-29 Thread Peter Haworth
On Fri, Aug 29, 2014 at 9:33 AM, Richard Gaskin wrote: > Thanks for tackling that topic. You're the right person for it, and it's > a very relevant need for so many. Thanks Richard. I'll do my best but, as you said, it's a very deep subject and I only have 50 minutes plus questions. Pete lcS

Re: best resize stack handling?

2014-08-29 Thread Peter Haworth
On Fri, Aug 29, 2014 at 4:26 PM, Ralph DiMola wrote: > Mark told me that any waits of any > form inside a resize stack message path will cause problems. > I learned that to my cost while trying to step through my resize handler in debug! I wonder how many homegrown resizeStack handlers are out

[ANN] Please confirm your address - Programming LiveCode for the Real Beginner

2014-08-29 Thread Mark Schonewille
Hi, This is a note for everyone who purchased my book recently. If you purchased the book Programming LiveCode for the Real Beginner, you should have received an e-mail from me yesterday. The e-mail is a request to confirm your postal mail address. Without this confirmation, we can't send the

Re: Should "dispatch" be extended for timers?

2014-08-29 Thread Peter Haworth
As usual, lots of ways to achieve the same thing, thanks everyone. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Aug 29, 2014 at 11:28 AM, J. Landman Gay wrote: > On 8

Re: RunRev Conference - I'm Here

2014-08-29 Thread Colin Holgate
Hopefully you’re early, and we’re not late! I get there Monday night. On Aug 29, 2014, at 7:32 PM, Ralph DiMola wrote: > >I'm here. Anyone else arrive yet? > > Ralph DiMola > IT Director > Evergreen Information Services > rdim...@evergreeninfo.net > _

LiveCode Meeting 20 September 2014 - Please Register Now!

2014-08-29 Thread Mark Schonewille
Hi, As you may know already, another LiveCode meeting will be organised on 20 September 2014. We intend to organise a really international gathering with participants from the Netherlands, Belgium, America, the United Kingdom and Germany. A few domestic as well as foreign participants have regi

RunRev Conference - I'm Here

2014-08-29 Thread Ralph DiMola
I'm here. Anyone else arrive yet? Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscriptio

RE: best resize stack handling?

2014-08-29 Thread Ralph DiMola
I have never needed to call my resize routines more than once. Don't know why you are having a problem. Try turning off messages and the change the screen size and the turn messages backup on and run you routines from the message box and see if it take 2 calls. If so look into your handlers. Also I

Re: [ANN] RunRevLive 2014 Conference Mobile App Now Available

2014-08-29 Thread Mark Talluto
> On Aug 28, 2014, at 11:16 AM, Roger Eller wrote: > > I'm sure that many attendees, or at least some still use older devices. My > iPad (gen1 )can only run iOS 5.1. Can LiveCode no longer build for the > earlier versions? > > ~Roger Hi Roger. I am very sorry about not supporting iPad 1. We

Re: [OT] Access to cpanel on on-rev

2014-08-29 Thread Alex Tweedly
Thank you Matthias! On 29/08/2014 21:37, Matthias Rebbe | M-R-D wrote: Alex, there are 2 ways to login in 1. http://yourOn-RevAccountname.on-rev.com:2083 2. if you know the name of the server where your account is on http://servername.on-rev.com:2083 Those two work for me - thanks again

Re: General error function? (was Re: Should "dispatch" be extended for timers?)

2014-08-29 Thread dunbarx
There is a reason Richard Gaskin was promoted to LC ombudsman. This is as useful and powerful as the "messageMessage". Craig -Original Message- From: Richard Gaskin To: use-livecode Sent: Fri, Aug 29, 2014 12:29 pm Subject: General error function? (was Re: Should "dispatch" be exte

Re: [OT] Access to cpanel on on-rev

2014-08-29 Thread Matthias Rebbe | M-R-D
Alex, there are 2 ways to login in 1. http://yourOn-RevAccountname.on-rev.com:2083 2. if you know the name of the server where your account is on http://servername.on-rev.com:2083 3. in your livecode account under "My Products" (not under my subscriptions) you will see your on-rev account(

Re: Delete columns... How?

2014-08-29 Thread FlexibleLearning.com
Not had a chance to confirm your findings below, Alex, but if so then your assessment is most likely correct. Well found, that man! When (if) I get some time, I'm thinking a generic method would be useful to delete arbitrary columns from a data set. Meanwhile, I have submitted an enhancement req

Re: General error function? (was Re: Should "dispatch" be extended for timers?)

2014-08-29 Thread Peter Haworth
On Fri, Aug 29, 2014 at 9:28 AM, Richard Gaskin wrote: > And given that Open Language is just around the corner, wouldn't it seem > this is the best moment to clean up the mish-mash of inconsistent error > handling we have to deal with now? Absolutely! I'd extend that to the multiple ways SQL

Re: Should "dispatch" be extended for timers?

2014-08-29 Thread J. Landman Gay
On 8/29/2014, 12:52 PM, Peter M. Brigham wrote: I thought you could use if for functions too, but as I just experimented with it, I can't get that to work. Like this: get value("myFunction(param)",cd "otherCard") The second parameter is the location of the function, which can be anywhere in

Re: Should "dispatch" be extended for timers?

2014-08-29 Thread Peter M. Brigham
On Aug 29, 2014, at 11:43 AM, Peter Haworth wrote: > One other question regarding send. You can "dispatch function" - is there > a way to send a message to a function and get hold of the result (obviously > without a time specified)? Look at the "call" command. This works for commands contained

[OT] Access to cpanel on on-rev

2014-08-29 Thread Alex Tweedly
Sorry, this is such a stupid question Does anyone know how do I get access to my cPanel on my on-rev account ? I had a URL in my 'recents' in my browser that I always used to use - but some browser problems meant I had to scrub all history, cookies, etc., and now I can't remember how to g

Simulcast

2014-08-29 Thread Richmond
Can anyone tell what "direct to video" means? In the Simulcast e-mail there are 2 links to the 2 tracks [i.e. 4 links]; the second and the fourth marked as "direct to video". I wonder how those differ from the offerings at the first and third links? Richmond. __

Re: Delete columns... How?

2014-08-29 Thread Alex Tweedly
Because (I imagine) "combine ... column" requires that the keys be consecutive numbers. This does work (deleting column 2, just for testing, and omitting the safety check that there are at least 3 columns :-) on mouseUp set the columndelimiter to comma get fld 1 put it into tVar

Re: RunRev Conference

2014-08-29 Thread Richard Gaskin
Peter Haworth wrote: > I'm looking forward to meeting many of you at the upcoming RunRev Live > conference in San Diego. It'll be great to finally meet you in person. > For those of you who work with SQL databases, I hope you might find > the presentations I'm giving to be of interest. > > "Ge

General error function? (was Re: Should "dispatch" be extended for timers?)

2014-08-29 Thread Richard Gaskin
Thierry Douez wrote: A small trick: send "want_the_return_value" to me put the result on want_the_return_value return 42 end want_the_return_value This raises another question: Should we have a general error function? Right now "the result" sometimes contains data, but sometimes

Re: Should "dispatch" be extended for timers?

2014-08-29 Thread Peter Haworth
Thank you Thierry! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Aug 29, 2014 at 8:57 AM, Thierry Douez wrote: > > > > One other question regarding send. You can "dis

RunRev Conference

2014-08-29 Thread Peter Haworth
I'm looking forward to meeting many of you at the upcoming RunRev Live conference in San Diego. This will the first time I have ever met anyone else that uses Livecode! For those of you who work with SQL databases, I hope you might find the presentations I'm giving to be of interest. "Getting Th

Re: Should "dispatch" be extended for timers?

2014-08-29 Thread Richard Gaskin
Trevor wrote: I don't know if there is a reason dispatch doesn't have timers, but what if "send" was just updated to support "with"? If "with" was present then we could do this: send "someCommand" to someObject with param1, param2 in 10 milliseconds The thing is, dispatch is useful if A) you w

Re: Delete columns... How?

2014-08-29 Thread JB
On this the column to delete would need to be joined at the end. John Balgenorth On Aug 29, 2014, at 9:02 AM, JB wrote: > I am sure someone else > can do it better but this works. > > on mouseUp > put fld id 1056 into pData > set the itemdel to tab > split pData by column > put pData

Re: Delete columns... How?

2014-08-29 Thread JB
I knew someone had a better way. thank you. John Balgenorth On Aug 29, 2014, at 9:06 AM, Peter Haworth wrote: > Sometimes I dream of: > > delete column 3 of line 1 to -1 of tVar > > Pete > lcSQL Software > Home of lcStackBrowser

Re: Delete columns... How?

2014-08-29 Thread Peter Haworth
Sometimes I dream of: delete column 3 of line 1 to -1 of tVar Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Aug 29, 2014 at 2:33 AM, FlexibleLearning.com < ad...@flexib

Re: Delete columns... How?

2014-08-29 Thread JB
I am sure someone else can do it better but this works. on mouseUp put fld id 1056 into pData set the itemdel to tab split pData by column put pData[4] into tType put pData[3] into tSize put "size = empty" into tSize put pData[2] into tModDate put empty into tModD

Re: which is faster for searching?

2014-08-29 Thread Peter Haworth
I think it's worth pointing pout that the faster operation of repeat for only applies if you're referencing Livecode chunks in the loop. For example, if you have a numerically keyed array, there's nothing wrong with: put the extents of tArray into tExtents repeat with x= item 1 of tExtents to ite

Re: Should "dispatch" be extended for timers?

2014-08-29 Thread Thierry Douez
> > One other question regarding send. You can "dispatch function" - is there > a way to send a message to a function and get hold of the result (obviously > without a time specified)? > > Pete A small trick: send "want_the_return_value" to me put the result on want_the_return_value

Re: Delete columns... How?

2014-08-29 Thread JB
My eyes are not working. I now see you said it fails. John Balgenorth On Aug 29, 2014, at 2:33 AM, FlexibleLearning.com wrote: > Related problem to 'join columns': How to delete a column of data? > > This fails... > > on mouseUp > get fld 1 > split it by column > delete local it[2] > c

Re: Delete columns... How?

2014-08-29 Thread JB
Thank you! That is something I needed very much today. John Balgenorth On Aug 29, 2014, at 2:33 AM, FlexibleLearning.com wrote: > Related problem to 'join columns': How to delete a column of data? > > This fails... > > on mouseUp > get fld 1 > split it by column > delete local it[2] >

Re: Should "dispatch" be extended for timers?

2014-08-29 Thread Peter Haworth
On Fri, Aug 29, 2014 at 5:58 AM, Trevor DeVore wrote: > Given how dispatch works, I see 'send is' as being what you use if you want > to execute some code after the current event loop has finished executing. > The downside is that the syntax stinks. But if the syntax were updated so > that it sup

Re: Strange mailing list email.

2014-08-29 Thread Peter Haworth
The article I linked to explains what's going on. Pretty technical but bottom line is that Yahoo and AOL changed their rules about what happens when another mail server decides a message is spam. There's a protocol (DMARC?) that mail servers use to ask the sending server what they should do with

Re: Should "dispatch" be extended for timers?

2014-08-29 Thread Devin Asay
On Aug 29, 2014, at 6:58 AM, Trevor DeVore wrote: > On Tue, Aug 26, 2014 at 10:09 PM, Richard Gaskin > wrote: > >> >> Is there some reason I've overlooked as to why "send" allows timers but >> "dispatch" doesn't? > > > I don't know if there is a reason dispatch doesn't have timers, but what

Re: Strange mailing list email.

2014-08-29 Thread J. Landman Gay
I'm pretty sure it's AOL. Their spam filters are excessive, I've had clients with AOL addresses I couldn't write to if my email contained certain trigger words. If there's a way to set up a white list it would probably help. On August 29, 2014 7:30:05 AM CDT, dunb...@aol.com wrote: >I just go

Re: Strange mailing list email.

2014-08-29 Thread Richmond
On 29.08.2014 15:54, Peter M. Brigham wrote: On Aug 29, 2014, at 12:34 AM, Kay C Lan wrote: Sorry, I should rephrase that. Gmail puts them in my Spam, as I'm keen to read all of Craig's, Alain's and Peter's contributions I take them out of Spam, read them, label them appropriately and save for

Re: screen resolution

2014-08-29 Thread Trevor DeVore
On Fri, Aug 29, 2014 at 9:07 AM, Trevor DeVore wrote: > > You can determine which line of the screenRects applies to your stack > using the following: > > put line (the screen of stack "MyStack") of the screenRects into > theScreenRect > I should point out here that you want to use the 'working'

Re: screen resolution

2014-08-29 Thread Trevor DeVore
On Fri, Aug 29, 2014 at 1:02 AM, wrote: > Is there a way to detect screen resolution in Windows? I'm creating a > stack that is 1280 x 980, but I know some people still have a 1024 x 768 > monitor (like my dad.) > > I'd like to know if there is a way to automatically or programatically > resize

Re: Should "dispatch" be extended for timers?

2014-08-29 Thread Trevor DeVore
On Tue, Aug 26, 2014 at 10:09 PM, Richard Gaskin wrote: > > Is there some reason I've overlooked as to why "send" allows timers but > "dispatch" doesn't? I don't know if there is a reason dispatch doesn't have timers, but what if "send" was just updated to support "with"? If "with" was present

Re: Strange mailing list email.

2014-08-29 Thread Peter M. Brigham
On Aug 29, 2014, at 12:34 AM, Kay C Lan wrote: > Sorry, I should rephrase that. Gmail puts them in my Spam, as I'm keen > to read all of Craig's, Alain's and Peter's contributions I take them > out of Spam, read them, label them appropriately and save for future > reference. Don't wont you to get

Re: Strange mailing list email.

2014-08-29 Thread dunbarx
I just got another notice that my list membership had been disabled due excessive bounces. Happens weekly. Not sure why. Craig -Original Message- From: Kay C Lan To: How to use LiveCode Sent: Fri, Aug 29, 2014 12:35 am Subject: Re: Strange mailing list email. On Thu, Aug 28, 20

Re: Arrays in LC [was: Re: [TAO] value() to obtain pointer functionality]

2014-08-29 Thread Trevor DeVore
On Wed, Aug 27, 2014 at 11:59 AM, Richard Gaskin wrote: > > All keys in associative arrays are strings, and currently LC only supports > associative arrays. The string may consist of numerals only, but it's > still a string. > > It would seem that Trevor rebuilds the array on deletes. It would

Re: which is faster for searching?

2014-08-29 Thread Beat Cornaz
Bob Sneidar wrote : > T he reason for all this is that to optimize the repeat loop, the engine > makes one pass through the data, and creates an index of pointers to the > delimiters. If you modify the data, the OS may (and probably will) do some > memory shuffling > and the pointers will no lo

best resize stack handling?

2014-08-29 Thread Tiemo Hollmann TB
Hello, Using LC 6.6.2 on Win 7 I am having a dynamic GUI layout, where I adapt sizes and positions of all GUI elements on resizeStack. In general it works as expected. Only when resizing the stack window very fast, or using the maximize/minimize window button, my resizing handler doesn't catc

Delete columns... How?

2014-08-29 Thread FlexibleLearning.com
Related problem to 'join columns': How to delete a column of data? This fails... on mouseUp get fld 1 split it by column delete local it[2] combine it by column put it into fld 2 end mouseUp It seems that 'combine by column' requires the same number of array keys as the original data s