Re: Group/Ungroup by script

2011-02-17 Thread Terry Judd
Works both ways for me. Terry... On 18/02/11 5:14 PM, "Peter Haworth" wrote: > Got it, thanks. Interestingly, the group command seems to allow you to create > a group with only 1 control in it, whereas the IDE doesn't. > > Pete Haworth > ___ use-

Re: Group/Ungroup by script

2011-02-17 Thread Peter Haworth
Got it, thanks. Interestingly, the group command seems to allow you to create a group with only 1 control in it, whereas the IDE doesn't. Pete Haworth http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Feb 17, 2011, at 8

Re: Group/Ungroup by script

2011-02-17 Thread J. Landman Gay
On 2/17/11 10:16 PM, Peter Haworth wrote: Thanks Jacqueline, I knew there would be an easier way! Does that work if the group doesn't yet exist? I know that wasn't in my original post but it is something I need to account for. I just knew there'd be a catch. :) You need an existing group to

Re: Group/Ungroup by script

2011-02-17 Thread Peter Haworth
Thanks Jacqueline, I knew there would be an easier way! Does that work if the group doesn't yet exist? I know that wasn't in my original post but it is something I need to account for. Pete Haworth On Feb 17, 2011, at 7:10 PM, J. Landman Gay wrote: > On 2/17/11 7:59 PM, Peter Haworth wrote:

Re: Group/Ungroup by script

2011-02-17 Thread Monte Goulding
On 18/02/2011, at 2:10 PM, J. Landman Gay wrote: > On 2/17/11 7:59 PM, Peter Haworth wrote: >> I have a need to add a specific control to an existing group. The following >> works but I'm curious if there's a better/easier way? >> >> select group "Test" >> put "group " into mycommand >> repeat

Re: Group/Ungroup by script

2011-02-17 Thread J. Landman Gay
On 2/17/11 7:59 PM, Peter Haworth wrote: I have a need to add a specific control to an existing group. The following works but I'm curious if there's a better/easier way? select group "Test" put "group " into mycommand repeat for each line myId in the selectedObjects put myID&& "AND

Re: Group/Ungroup by script

2011-02-17 Thread Peter Haworth
I'm not doing it just once, sorry if it came across that way. I need to do it as part of a special tools palette I'm working on. Pete Haworth http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Feb 17, 2011, at 6:39 PM, J

Re: Group/Ungroup by script

2011-02-17 Thread Joe Lewis Wilkins
Sorry, Peter, I didn't see the repeat in your code. Joe Lewis Wilkins Architect & Director of Product Development for GSI 760-738-1721 On Feb 17, 2011, at 5:59 PM, Peter Haworth wrote: > I have a need to add a specific control to an existing group. The following > works but I'm curious

Re: Group/Ungroup by script

2011-02-17 Thread Joe Lewis Wilkins
Hi Peter, Looks like you're doing this from the message box? How come you're not just doing it manually, since you're only doing it one time? Joe Lewis Wilkins Architect & Director of Product Development for GSI On Feb 17, 2011, at 5:59 PM, Peter Haworth wrote: > I have a need to add a spec

Google Store...

2011-02-17 Thread Pierre Sahores
Apps Store versus Google ... > http://www.silicon.com/technology/software/2011/02/17/google-one-pass-undercuts-apples-subscription-service-39746999/ -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.com ___ use

Group/Ungroup by script

2011-02-17 Thread Peter Haworth
I have a need to add a specific control to an existing group. The following works but I'm curious if there's a better/easier way? select group "Test" put "group " into mycommand repeat for each line myId in the selectedObjects put myID && "AND " after mycommand end repeat put the long

Re: Finding the index of something in the datagrid

2011-02-17 Thread Bob Sneidar
Well I am pretty sure it was broken, not saying it was anyone's fault but mine. What was happening was I could drag and drop from and to any column in my datagrid, but if I dragged or dropped to the 3rd column, functions returning the index of the dropped on line returned empty and my scripts th

Re: Sample code for reading a CSV file

2011-02-17 Thread Richard Gaskin
Alex Tweedly wrote: Many years ago (2004 ?) I posted code to do something like his using split/combine to differentiate between 'inside' and 'outside' field delimiters. It was very fast - but pretty hard to follow, and I don't remember now which obscure cases it handled (we haven't even mentione

Re: Finding the index of something in the datagrid

2011-02-17 Thread zryip theSlug
On Fri, Feb 18, 2011 at 12:38 AM, Bob Sneidar wrote: > Thanks I found it by looking at the parent script. For some reason the API I > am reading does not have it. The URL is > http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid/lessons/3461-Data-Grid-API I have this b

Re: Performance issue with groups

2011-02-17 Thread Geoff Canyon Rev
My guess would be screen updates -- lock screen before you show/hide and see if the delay goes away. On Thu, Feb 17, 2011 at 5:50 PM, JosepM wrote: > > Hi, > > I experimented a slow (very) slow performance when I grouped the fields of > one card into 4 groups showing one of each as required. But

Re: Sample code for reading a CSV file

2011-02-17 Thread Peter Brigham MD
On Feb 17, 2011, at 3:01 PM, Paul Dupuis wrote: First, thanks to everyone who replied, but especially to Nosanity. Your code reminded me that you can effectively tell when you are inside an encapsulated bit of data by an odd/even count of the encapsulation character. So, for anyone who want

Performance issue with groups

2011-02-17 Thread JosepM
Hi, I experimented a slow (very) slow performance when I grouped the fields of one card into 4 groups showing one of each as required. But the problem seems that isn't show and hide the groups, the problem is located when click the datagrid and then the fields of the visible group are showed. if

Re: Finding the index of something in the datagrid

2011-02-17 Thread Bob Sneidar
Thanks I found it by looking at the parent script. For some reason the API I am reading does not have it. The URL is http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid/lessons/3461-Data-Grid-API Do I have this wrong? I only see 3 functions in the API: ColumnControlOfI

Re: Sample code for reading a CSV file

2011-02-17 Thread Alex Tweedly
Many years ago (2004 ?) I posted code to do something like his using split/combine to differentiate between 'inside' and 'outside' field delimiters. It was very fast - but pretty hard to follow, and I don't remember now which obscure cases it handled (we haven't even mentioned doubled charact

Re: Finding the index of something in the datagrid

2011-02-17 Thread zryip theSlug
On Fri, Feb 18, 2011 at 12:16 AM, Bob Sneidar wrote: > I can roll my own if necessary, but  I was wondering if there were a built in > find function in a Datagrid which allowed me to get the column and row index > of something I was searching for. Hi Bob, Have a look to the commands FindIndex

Finding the index of something in the datagrid

2011-02-17 Thread Bob Sneidar
I can roll my own if necessary, but I was wondering if there were a built in find function in a Datagrid which allowed me to get the column and row index of something I was searching for. Bob ___ use-livecode mailing list use-livecode@lists.runrev.co

Re: [OT] Apple at it again

2011-02-17 Thread Chipp Walters
Ouch, Dave! I resemble that remark! (though I don't feel deceived by Steve Jobs, just misled ;-) On Thu, Feb 17, 2011 at 3:18 PM, Dave Cragg wrote: > > On 17 Feb 2011, at 18:19, Bob Sneidar wrote: > > > I just know how a country of good people can be deceived > > This making the original poster's

Re: [OT] Apple at it again

2011-02-17 Thread Dave Cragg
On 17 Feb 2011, at 18:19, Bob Sneidar wrote: > I just know how a country of good people can be deceived This making the original poster's point. :-) And he from Texas, of all places. Sorry Heather. I know you closed it. Cheers Dave ___ use-livecode m

Re: Sample code for reading a CSV file

2011-02-17 Thread Bob Sneidar
Nicely done! I know good software that cannot do this efficiently. Bob On Feb 17, 2011, at 11:48 AM, Nonsanity wrote: > Here's a generalized case that returns an array, with or without the quotes, > and that allows for commas and returns inside the quotes to remain part of > that element. It a

Re: Sample code for reading a CSV file

2011-02-17 Thread Mark Schonewille
Paul, A lot of code has been posted already, which might make mine superfluous, but if you want something simple you might have a look here http://qery.us/o3 . This script doesn't work if the items in your CSV file contain linefeeds or returns (but could easily be modified). -- Best regards,

Re: Sample code for reading a CSV file

2011-02-17 Thread Paul Dupuis
First, thanks to everyone who replied, but especially to Nosanity. Your code reminded me that you can effectively tell when you are inside an encapsulated bit of data by an odd/even count of the encapsulation character. So, for anyone who wants it, here is a generalized function that I just wro

Re: RevServer deployment on OSX Server

2011-02-17 Thread Björnke von Gierke
Note that there's also need for having the stacks cards and most importantly graphics and images being accessible. because that's an easy and proven way to create images for the web via the export and import commands. On 17 Feb 2011, at 20:38, J. Landman Gay wrote: > There have been requests

Re: Sample code for reading a CSV file

2011-02-17 Thread Nonsanity
Here's a generalized case that returns an array, with or without the quotes, and that allows for commas and returns inside the quotes to remain part of that element. It also preserves backslash-escaped quotes in any element, quoted or not. function CSVtoArray csv, removeQuotes, preserveEscapedQuo

Re: RevServer deployment on OSX Server

2011-02-17 Thread J. Landman Gay
On 2/17/11 12:03 PM, Keith Clarke wrote: However, isn't this 'thick client' web application architecture, (with the proprietary revlet download and requisite local machine/browser support by a rev plug-in) only one revServer scenario? Yes. According to the RunRev product page, it is still b

Re: Call for Linux crashers

2011-02-17 Thread David C.
On Thu, Feb 17, 2011 at 12:54 PM, Richard Gaskin wrote: > David C. wrote: >> >> I pretty much test everything I do on the Linux platform and haven't >> run into any troubles other than the very severe performance issue we >> discussed a bit last week... will keep you posted should that change. > >

Re: Sample code for reading a CSV file

2011-02-17 Thread David C.
> seems in that case you would have to check the text between every odd and > even quote first and convert any cr's in between to another character before > your line loop. It's not even that simple, because numbers and date values > are not typically quoted are they? > > I'm beginning to see wh

Re: Sample code for reading a CSV file

2011-02-17 Thread Bob Sneidar
seems in that case you would have to check the text between every odd and even quote first and convert any cr's in between to another character before your line loop. It's not even that simple, because numbers and date values are not typically quoted are they? I'm beginning to see why some don

Re: Call for Linux crashers

2011-02-17 Thread Richard Gaskin
David C. wrote: I pretty much test everything I do on the Linux platform and haven't run into any troubles other than the very severe performance issue we discussed a bit last week... will keep you posted should that change. That's actually very encouraging - thanks for that. I recall the thre

Re: Sample code for reading a CSV file

2011-02-17 Thread David C.
On Thu, Feb 17, 2011 at 12:16 PM, Paul Dupuis wrote: > So I am tired of reinventing the proverbial wheel over and over again. > > I have a new project that I want to read a CSV file for. Obviously reading > the file is easy. And is it was tab separated instead of comma, parsing out > the rows and

Re: Sample code for reading a CSV file

2011-02-17 Thread Nonsanity
I threw a quick one together, because little problems like this always intrigue me. :) New stack, made two fields and a button, and put the source CSV list in the first. Button script as: on mouseUp put "" into o put fld 1 into x repeat with a = 1 to the number of lines in x put li

Re: Call for Linux crashers

2011-02-17 Thread David C.
Hello Richard, I pretty much test everything I do on the Linux platform and haven't run into any troubles other than the very severe performance issue we discussed a bit last week... will keep you posted should that change. Best regards, David C. ___ us

Re: [OT] Apple at it again

2011-02-17 Thread Bob Sneidar
Sorry just got this. All done. Bob On Feb 17, 2011, at 10:17 AM, Heather Nagey wrote: > Dear List Folks, > > I concur. > > This thread is dead, please do not reply to any further posts on this topic. > > Regards, > > Heather > ___ use-livecode m

Re: [OT] Apple at it again

2011-02-17 Thread Bob Sneidar
I may have given you the impression that I favored Hitler and what he did. I do not. I just know how a country of good people can be deceived and follow after what seems to be a good thing, because the current situation seems to be improved, but in the end turns out to be a horrible nightmare. M

Re: [OT] Apple at it again

2011-02-17 Thread Heather Nagey
Dear List Folks, I concur. This thread is dead, please do not reply to any further posts on this topic. Regards, Heather On 17 Feb 2011, at 18:14, Richmond wrote: Dear Heather Nagey, Please put a cap on this one. Love, Richmond. ___ use-live

Sample code for reading a CSV file

2011-02-17 Thread Paul Dupuis
So I am tired of reinventing the proverbial wheel over and over again. I have a new project that I want to read a CSV file for. Obviously reading the file is easy. And is it was tab separated instead of comma, parsing out the rows and columns is easy as well. However, with comma seperated data

Re: [OT] Apple at it again

2011-02-17 Thread Björnke von Gierke
On 17 Feb 2011, at 19:12, Andre Garzia wrote: > 2011/2/17 Björnke von Gierke : >> Also, you really don't know when to stop replying (hint: about 10 replies >> ago). Second hint: I have a German passport. > > I have a brazilian and a portuguese passport, are we playing trumphs? :-D I equal your

Re: [OT] Apple at it again

2011-02-17 Thread Richmond
Dear Heather Nagey, Please put a cap on this one. Love, 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/mailman/l

Re: [OT] Apple at it again

2011-02-17 Thread Richmond
On 02/17/2011 07:47 PM, Bob Sneidar wrote: I wonder how the Germans feel about that? ;-) JUST KIDDING! STOP kidding now! Bob On Feb 17, 2011, at 9:23 AM, Björnke von Gierke wrote: Also, there was no "the Germans" (and still isn't) as implied by you.

Re: [OT] Apple at it again

2011-02-17 Thread Björnke von Gierke
Ah but you love to argue so much! If you'd trash every opposing voice, who would you then argue with? Still, probably the wrong place for that. Of course I am not (able of) stopping you, only lambast you at every opportunity. On 17 Feb 2011, at 19:03, Bob Sneidar wrote: > I wonder if you think

Re: [OT] Apple at it again

2011-02-17 Thread Richmond
On 02/17/2011 07:23 PM, Björnke von Gierke wrote: On 17 Feb 2011, at 17:36, Bob Sneidar wrote: Heh heh. The Germans loved Hitler! He took Germany from a faltering bankrupt country full of starving people and made them a great nation. No. He destroyed a recouping economy and restarted the war

Re: [OT] Apple at it again

2011-02-17 Thread Andre Garzia
2011/2/17 Björnke von Gierke : > On 17 Feb 2011, at 18:47, Bob Sneidar wrote: > >> I wonder how the Germans feel about that? ;-) JUST KIDDING! > > There's no Germans, Russians, Italian or one of the other human group labels > that where invented for nationalistic state-building purposes shortly be

Re: RevServer deployment on OSX Server

2011-02-17 Thread Keith Clarke
Jaque, Thanks for the explanation and the links (bookmarked for further study). However, isn't this 'thick client' web application architecture, (with the proprietary revlet download and requisite local machine/browser support by a rev plug-in) only one revServer scenario? According to the R

Re: [OT] Apple at it again

2011-02-17 Thread Bob Sneidar
I wonder if you think that your terse replies to me obligate me to stop replying? The best way to get me to stop replying is to stop yourself. Okay? I have heard about enough from you. I think I will just create a rule to drop everything you post into my trash where it belongs. Bob On Feb 17

Re: [OT] Apple at it again

2011-02-17 Thread Björnke von Gierke
On 17 Feb 2011, at 18:47, Bob Sneidar wrote: > I wonder how the Germans feel about that? ;-) JUST KIDDING! There's no Germans, Russians, Italian or one of the other human group labels that where invented for nationalistic state-building purposes shortly before the great war. Stop implying there

Re: [OT] Apple at it again

2011-02-17 Thread Petrides, M.D. Marian
POLITICAL CORRECTNESS POLICE... Where are the political correctness police when you need them? :-) On Feb 17, 2011, at 11:47 AM, Bob Sneidar wrote: > I wonder how the Germans feel about that? ;-) JUST KIDDING! > > Bob > > > On Feb 17, 2011, at 9:23 AM, Björnke von Gierke wrote: > >> Also, th

Re: [OT] Apple at it again

2011-02-17 Thread Bob Sneidar
I wonder how the Germans feel about that? ;-) JUST KIDDING! Bob On Feb 17, 2011, at 9:23 AM, Björnke von Gierke wrote: > Also, there was no "the Germans" (and still isn't) as implied by you. ___ use-livecode mailing list use-livecode@lists.runrev.co

Re: [OT] Apple at it again

2011-02-17 Thread Björnke von Gierke
On 17 Feb 2011, at 17:36, Bob Sneidar wrote: > Heh heh. The Germans loved Hitler! He took Germany from a faltering bankrupt > country full of starving people and made them a great nation. No. He destroyed a recouping economy and restarted the war that was deemed to be the last one ever needed.

Re: Using revIgniters Encrypt lib in LiveCode Desktop

2011-02-17 Thread Andrew Kluthe
I solved this problem by copying most of the code from Encrypt.irev and a few other required functions from Common.irev and now have my data being encrypted and sent to a revIgniter web service for processing. I love the versatility of this framework. -- View this message in context: http://runt

Re: [OT] Apple at it again

2011-02-17 Thread Bob Sneidar
Heh heh. The Germans loved him! He took Germany from a faltering bankrupt country full of starving people and made them a great nation. It was his methods that were "questionable". So if methods are the issue, who among us is "good"? Sorry I can't help myself. Bob On Feb 16, 2011, at 6:48

Re: Rev player for Windows 7???

2011-02-17 Thread Andrew Kluthe
I use sons of thunder's stack runner for this. It works well for me under windows 7. :) http://www.sonsothunder.com/devres/livecode/downloads/StackRunner.htm -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Rev-player-for-Windows-7-tp3311061p3311105.html Sent from

Re: RevServer deployment on OSX Server

2011-02-17 Thread J. Landman Gay
On 2/17/11 3:06 AM, Keith Clarke wrote: I bought the server deployment in the expectation that I could take the same set of stacks I would use for a desktop app development and (perhaps with a few modifications) simply deploy to revServer to create a web application, with the UI elements 'automa

Re: RevServer deployment on OSX Server

2011-02-17 Thread Keith Clarke
Andre, You're absolutely correct that my expectations were too high. I wasn't complaining but just explaining why I wasn't using revServer yet and therefore couldn't address Paulo's question. ;-) The revServer product description in the store http://www.runrev.com/products/server-deployment/ re

Rev player for Windows 7???

2011-02-17 Thread Joseba Aguayo
Hello: ¿Exists a Revolution Player or StackRunner that run a revolution stack in WINDOWS 7? Can I run a revolution stack in a computer with WINDOWS 7? Un saludo. Joseba Aguayo Fernández (jagu...@telur.es) ___ use-livecode mailing list use-livecode@li

Call for Linux crashers

2011-02-17 Thread Richard Gaskin
Last week I discovered a crashing issue with LC on Linux, in which setting the width of a field which has both vertical and horizonal scrollbars active below 14px would cause LC to die instantly: Thankfully, Mark Waddingham was able to c

Re: RevServer deployment on OSX Server

2011-02-17 Thread Andre Garzia
On Thu, Feb 17, 2011 at 7:06 AM, Keith Clarke wrote: > I bought the server deployment in the expectation that I could take the same > set of stacks I would use for a desktop app development and (perhaps with a > few modifications) simply deploy to revServer to create a web application, > with t

Re: Call for Linux apps

2011-02-17 Thread Richard Gaskin
Bill Vlahos wrote: Richard Gaskin wrote: Later this month I'll be at SCaLE 9x, the SoCal Linux Expo: There will be plenty of people there from Canonical, Fedora, and other major projects, and lots of great developers of all stripes, so I'd love to load

Re: RevServer deployment on OSX Server

2011-02-17 Thread paolo mazza
Thank you Keith. Actually I had much greater expectations too. I have several stacks working as CGI with the revolution engine and I can not re-use them in rev-server. However I could fix the code of some stacks and put it in a .irev file, provided the rev-server will work properly. Many thanks Pa

Re: RevServer deployment on OSX Server

2011-02-17 Thread Keith Clarke
Paolo, Sorry, I can't answer your question as whilst I have revServer installed, it is currently unused, as my expectations of it were far greater than a CGI engine. I bought the server deployment in the expectation that I could take the same set of stacks I would use for a desktop app developm

Re: formattedHeight and scrollbars

2011-02-17 Thread Claus Dreischer
Hi, Am 17.02.11 01:02, schrieb dunb...@aol.com: > A fun revlet. Indeed! > The way you made it, it can be seen that a horizontal scrollbar not only > takes up its own height, but intrudes that amount into the lower part of the > field as well. That is why it takes twice its height from the for

Re: RevServer deployment on OSX Server

2011-02-17 Thread paolo mazza
Keith, thank you very much. This is really helpful. Still I have some questions about rev server: Generally speaking, is the rev-server (Pre-release 2) reliable for professional services ? The "Server Deployment Pack" (Pre-release 2)  install the same rev-server version as the one running in the