Re: screen resolution

2014-08-28 Thread Richmond
On 29.08.2014 08:02, la...@significantplanet.org wrote: Hi All, 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 program

screen resolution

2014-08-28 Thread larry
Hi All, 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 my stack and the elements in the stack so

Re: Strange mailing list email.

2014-08-28 Thread Kay C Lan
On Thu, Aug 28, 2014 at 12:32 PM, Nicolas Cueto wrote: > Months back or maybe even last year, I had to set a gmail filter so that > some members' list-messages came through despite being marked as spam. > Alain Farmer's and Craig Newman's are such two. There may be others too > (not Peter Haworth'

Re: join columns

2014-08-28 Thread JB
Your sample has opened the door to arrays for me. I love arrays now that I know how to use them. thanks a lot! John Balgenorth On Aug 28, 2014, at 5:51 PM, Phil Davis wrote: > Arrays are great for many uses! I'm glad you got it to work. The BYU lessons > are a good place to learn a lot. > >

Re: join columns

2014-08-28 Thread Phil Davis
Arrays are great for many uses! I'm glad you got it to work. The BYU lessons are a good place to learn a lot. Phil On 8/28/14, 3:47 PM, JB wrote: Hi Phil, Thank you so many times!!! It does work. I was thinking i needed to add more to it and never tried it like it was. This is my first ti

Re: join columns

2014-08-28 Thread JB
Hi Phil, Thank you so many times!!! It does work. I was thinking i needed to add more to it and never tried it like it was. This is my first time with arrays. So I was looking around for infö and in the process came up with a good lesson on arrays. http://revolution.byu.edu/arrays/introToArra

Re: join columns

2014-08-28 Thread Phil Davis
Hi John, It should work if you just say "combine pData by column" and nothing more. At least it does here - just tested it. It restructures the pData array back into its original list format, but with items moved to their new positions. Phil On 8/28/14, 2:27 PM, JB wrote: Hi Phil, I am h

Re: join columns

2014-08-28 Thread JB
That was wrong. It should be, But it does not give me a whole table. on mouseUp put fld id 1056 into intoThisTable split intoThisTable by column put intoThisTable[4] into dataToInsert put insertAsColumn (3, dataToInsert, intoThisTable) into newTable put newTable into fld id 4738 end

Re: join columns

2014-08-28 Thread JB
Hi Alain, I am having trouble getting it to insert the column. Here is the code I am using to access your function. local dataToInsert, intoThisTable on mouseUp put fld id 1056 into pData split pData by column put pData[4] into dataToInsert put insertAsColumn (3, dataToInsert, into

Re: join columns

2014-08-28 Thread JB
Hi Phil, I am having trouble with the proper way to write the combine pData by column. I can split the columns and reverse them like you show but how do you write the code to combine them? It looks to me from the dictionary the column needs to be a number but what line do I need to put them on?

Re: unlock screen doesn't unlock screen

2014-08-28 Thread Bob Sneidar
replace “unlock screen” with “wait 0 seconds with messages”. The screen will unlock when an idle message is sent, which is what will happen when you wait 0 seconds with messages. Bob S On Aug 27, 2014, at 04:34 , j...@souslelogo.com wrote: > actually the loop is like this (my mistake) : > >

Re: which is faster for searching?

2014-08-28 Thread Bob Sneidar
Repeat for each has been optimized to run faster than other forms of repeat. Use whenever you can. One word of caution though: Do NOT change the value of what you are repeating. (Whatever comes after “in”.) I am pretty sure you should not alter the value returned (the variable after "each ”).

Re: join columns

2014-08-28 Thread Alain Farmer
Improved it again : function insertAsColumn colNumber, dataToInsert, intoThisTable     --     if dataToInsert is empty then         answer "insert empty column ?" with "cancel" or "insert"         if it is "cancel" then exit to top     end if     --     if intoThisTable is empty then return dataTo

Re: join columns

2014-08-28 Thread Magicgate Software - Skip Kimpel
Haha. I like the paranoid version :) SKIP On Thu, Aug 28, 2014 at 3:53 PM, Alain Farmer wrote: > Here is the paranoid version : > > function insertAsColumn colNumber, dataToInsert, intoThisTable > -- > if dataToInsert is empty then > answer "insert empty column ?" with "cancel"

Re: join columns

2014-08-28 Thread Alain Farmer
Here is the paranoid version : function insertAsColumn colNumber, dataToInsert, intoThisTable     --     if dataToInsert is empty then         answer "insert empty column ?" with "cancel" or "insert"         if it is "cancel" then exit to top     end if     --     if intoThisTable is empty then re

Re: join columns

2014-08-28 Thread JB
Thank you, Alain! This example will help me out. John Balgenoth On Aug 28, 2014, at 12:24 PM, Alain Farmer wrote: > Correction: > > function insertAsColumn colNumber, dataToInsert, intoThisTable > -- > if the number of lines of dataToInsert is not the number of lines of > intoThisTa

Re: join columns

2014-08-28 Thread JB
That is what I thought but once again thank yu for the info and the clarification. It helps a lot! John Balgenorth On Aug 28, 2014, at 12:17 PM, Phil Davis wrote: > Before doing the 'split', you could set the columnDelimiter to whatever char > is used as the item delimiter. In other words, y

Re: join columns

2014-08-28 Thread Alain Farmer
Correction: function insertAsColumn colNumber, dataToInsert, intoThisTable     --     if the number of lines of dataToInsert is not the number of lines of intoThisTable     then die "Error: Lists have different lengths."     --     set the itemdel to tab     repeat for each line x in dataToInsert

Re: join columns

2014-08-28 Thread Alain Farmer
on insertAsColumn colNumber, dataToInsert, intoThisTable     --     if the number of lines of dataToInsert is not the number of lines of intoThisTable     then die "Error: Lists have different lengths."     --     set the itemdel to tab     repeat for each line x in dataToInsert     get line x

Re: join columns

2014-08-28 Thread Phil Davis
Before doing the 'split', you could set the columnDelimiter to whatever char is used as the item delimiter. In other words, you aren't limited to tabs as your column delimiter. Phil On 8/28/14, 12:10 PM, Phil Davis wrote: If pData is a CR-delimited list where each line contains tab-delimited

Re: join columns

2014-08-28 Thread JB
Thanks a whole bunch, Phil !!! John Balgenorth On Aug 28, 2014, at 12:10 PM, Phil Davis wrote: > If pData is a CR-delimited list where each line contains tab-delimited items, > why not use 'split by column'? > > -- example: switch positions of columns 2 and 4 > > split pData by column >

Re: join columns

2014-08-28 Thread Phil Davis
If pData is a CR-delimited list where each line contains tab-delimited items, why not use 'split by column'? -- example: switch positions of columns 2 and 4 split pData by column put pData[4] into tTemp2 put pData[2] into pData[4] put tTemp2 into pData[2] -- then put it back toget

join columns

2014-08-28 Thread JB
Richard Gaskin wrote a function to get a column from a list. function GetCol pData, pCol --Richard Gaskin set the itemdel to tab put empty into tReturnList repeat for each line tLine in pData put item pCol of tLine &cr after tReturnList end repeat delete last char of tR

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

2014-08-28 Thread Roger Eller
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 On Thu, Aug 28, 2014 at 1:27 PM, Mark Talluto wrote: > Hi Everyone, > > We finally got approval from Apple. We did not

[ANN] RunRevLive 2014 Conference Mobile App Now Available

2014-08-28 Thread Mark Talluto
Hi Everyone, We finally got approval from Apple. We did not list the app in the store though. You need to get the link from our page to download. http://livecloud.io/runrevlive-14-conference-app/ We have been making a lot of improvements to the app since our submission to Apple. We have alrea

Re: Apps on Flash Drive Advice

2014-08-28 Thread Charles Szasz
Thanks everybody for your advice on apps running on a flash drive! Sent from my iPad ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runr

Re: permuting a string (was Re: Speed)

2014-08-28 Thread Beat Cornaz
Thanks Alex, I will mail you off-list about the order of elements in the input and provide some examples. And thanks for the correction of your script. Seems to work fine now. I should have seen that one myself, but it was a bit late last night, sorry :-) Alex, you've explained the recursive f

AW: Massiv performance difference between LC 6.5.2 and 6.6.2

2014-08-28 Thread Tiemo Hollmann TB
I could narrow down my performance issue and solve it. I have used a third party LC library since years to change the hidden flag of one of my files on windows. This library worked fine up to LC 6.5.2 and takes in LC 6.6.2 about 100-300 sec to execute. Now I replaced this library function by a plai