Re: [DOCs] Missing Newsletter Archives

2008-01-27 Thread Bill Marriott
Kay, Anyone shed some light on where the 'missing' newsletters are? Basically the last 6 months of 2007. I clicked on the 'Newsletter Archive' link at the bottom of the latest issue #41 and was taken to a page which had editions #1 - #27, but where are #28 The index of newsletters is

Re: [DOCs] Missing Newsletter Archives

2008-01-27 Thread runrev260805
Hi, if you need the missing ones, just let me know, i can send them to you. Regards, Mathias Original Message Subject: [DOCs] Missing Newsletter Archives (27-Jan-2008 6:40) From:Kay C Lan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Anyone shed some light on where the

Re: [DOCs] Missing Newsletter Archives

2008-01-27 Thread runrev260805
Hi, here are the links to the missing ones http://www.runrev.com/newsletter/may/issue27/index.php?id=n48671474 http://www.runrev.com/newsletter/july/issue28/index.php?id=iksmw90896 http://www.runrev.com/newsletter/july/issue29/index.php?id=thxdw632083

Testing conformity of xml data

2008-01-27 Thread jbv
Hi folks, Is there a function somewhere that could help me test conformity of xml data (basically finding and removing unclosed tags, or tags being closed without being opened) by a Rev cgi script before it's sent back to the end-user browser for heavy xml processing via js functions ? I'm using

Re: another question about finding duplicates

2008-01-27 Thread Klaus Major
Hi Peter, There's a file which goes roughly: 1 anything 2 anything 3 anything 4 anything etc It can always be sorted by the first item. Sometimes a duplicate entry will creep in, so the file will look 1 anything 2 anything 2 anything 3

another question about finding duplicates

2008-01-27 Thread Peter Alcibiades
There's a file which goes roughly: 1 anything 2 anything 3 anything 4 anything etc It can always be sorted by the first item. Sometimes a duplicate entry will creep in, so the file will look 1 anything 2 anything 2 anything 3 anything 4

Re: another question about finding duplicates

2008-01-27 Thread Mark Smith
Peter, this is not tested: put tData into testData split testData by tab and cr if the number of lines in the keys of testData the number of lines in tData then thereAreDupes Best, Mark On 27 Jan 2008, at 12:33, Peter Alcibiades wrote: There's a file which goes roughly: 1

Re: another question about finding duplicates

2008-01-27 Thread jbv
Peter, I've tried that approach and found that in case of huge amount of data, it can beslower (because of the sort function) that the method posted before, the one including 2 loops and the use of arrays. JB There's a file which goes roughly: 1 anything 2 anything 3

Re: another question about finding duplicates

2008-01-27 Thread Mark Smith
Sorry, delimiters wrong way round! put tData into testData split testData by cr and tab if the number of lines in the keys of testData the number of lines in tData then thereAreDupes ___ use-revolution mailing list use-revolution@lists.runrev.com

Duplicating a stack

2008-01-27 Thread Kevin J
I am trying to create a very simple text editor program. The trouble I have run in to is how do I can a duplicate a stack when a user hits new in the menu bar. I tried to serch for something in the docs in revolution but not sure if I was putting in the right search. Thanks Kevin

Re: Duplicating a stack

2008-01-27 Thread Klaus Major
Hi Kevin, I am trying to create a very simple text editor program. The trouble I have run in to is how do I can a duplicate a stack when a user hits new in the menu bar. I tried to serch for something in the docs in revolution but not sure if I was putting in the right search. clone is

Re: Duplicating a stack

2008-01-27 Thread Stephen Barncard
check out TemplateStack in the docs. That works great only problem with that is that if there is something in the main field it clones that as well. It need to be empty. I tried put into field fldMain but it will not do it. I'm not sure where I would place it to make the field blank. --

Duplicating a stack

2008-01-27 Thread Richmond Mathewson
Klaus Major wrote: ' clone is what you are looking for :-)' this is W - A - Y off-topic, but if you want a 'Clone' try: http://www.geocities.jp/choco_softcream/ love, Richmond A Thorn in the flesh is better than a failed Systems

Duplicating a stack

2008-01-27 Thread Kevin J
Thats ok lol but there is really nothing in the docs that explains how to use it. It gives a very vague example itset the ID of the templateStack to 2000 -- Forwarded message -- From: Stephen Barncard [EMAIL PROTECTED] Date: Jan 27, 2008 12:54 PM Subject: Re: Duplicating a stack

Re: Duplicating a stack

2008-01-27 Thread Mark Smith
Kevin, since your 'document' stacks are created when the user chooses, you could have a hidden ('visible' set to false) version of the necessary stack, and just clone it and make it visible as necessary, instead of cloning a stack that the user is already working with. Best, Mark On 27

Re: Duplicating a stack

2008-01-27 Thread Kevin J
I guess I should have stated this at the beginning, This is my first time ever using Revolution. So this is a real learning curve for me. Is there an example of what you are talking about that I could see? Thanks Kevin On Jan 27, 2008 1:10 PM, Mark Smith [EMAIL PROTECTED] wrote: Kevin, since

Duplicating a stack

2008-01-27 Thread Kevin J
That works great only problem with that is that if there is something in the main field it clones that as well. It need to be empty. I tried put into field fldMain but it will not do it. I'm not sure where I would place it to make the field blank. -- Forwarded message -- From:

Re: Duplicating a stack

2008-01-27 Thread Andre Garzia
Kevin, I use a similar technique in one software of mine. The idea is to create a basic empty stack, one with your controls in it but with no user generated content. Just like the window your user would see as soon as he started using your program. You then hide this window (you can move it

Re: another question about finding duplicates

2008-01-27 Thread Andre Garzia
Folks, a really stupid way that also solves if the dupes are not adjacent: put fld my stuff into tSourceData put empty into tDestinyData repeat for each line tEntry in tSourceData if tEntry is in tDestinyData then next repeat put tEntry cr after tDestinyData end repeat This will process

Re: Testing conformity of xml data

2008-01-27 Thread Andre Garzia
Jbv, check tidy unix program. Tidy is a popular unix tool that every host out there will have installed. Even your MacOS X bundles it. It is used by a lot of toolkits. You can use a combination of tidy and shell() call to test your XML. Andre On 1/27/08, jbv [EMAIL PROTECTED] wrote: Hi folks,

Re: is there a way to set environment variables from Rev?

2008-01-27 Thread Andre Garzia
Jacque, you're my hero!!! :-D Cheers andre On 1/24/08, J. Landman Gay [EMAIL PROTECTED] wrote: Andre Garzia wrote: Aloha Folks, we know that if we use the $ keyword we can query environment variables but how do we set them? I want to set $QUERY_STRING for using it in RevHTTP, this

Re: Duplicating a stack

2008-01-27 Thread Kevin J
How do you make a stack execute a command with out user interaction. Like making something happen when the program first starts? On Jan 27, 2008 1:55 PM, Andre Garzia [EMAIL PROTECTED] wrote: Kevin, I use a similar technique in one software of mine. The idea is to create a basic empty stack,

Re: Duplicating a stack

2008-01-27 Thread Jim Sims
On Jan 27, 2008, at 8:15 PM, Kevin J wrote: How do you make a stack execute a command with out user interaction. Like making something happen when the program first starts? Check out 'on openCard' and 'on openStack' sims ClipaSearch Pro

Re: Duplicating a stack

2008-01-27 Thread Kevin J
Ah thanks alot :) On Jan 27, 2008 2:23 PM, Jim Sims [EMAIL PROTECTED] wrote: On Jan 27, 2008, at 8:15 PM, Kevin J wrote: How do you make a stack execute a command with out user interaction. Like making something happen when the program first starts? Check out 'on openCard' and 'on

Re: Testing conformity of xml data

2008-01-27 Thread jbv
Andre, Thanks a lot for the cool tip. However, one detail I forgot to mention in my previous post : my Rev cgi script will run on a win 2K server... JB Jbv, check tidy unix program. Tidy is a popular unix tool that every host out there will have installed. Even your MacOS X bundles it. It

Re: Testing conformity of xml data

2008-01-27 Thread Andre Garzia
Jbv, check if your Win2k server has tidy installed. If it doesn't have but you're allowed to install it then go to http://tidy.sourceforge.net they have win2k binaries there. :-) there's also TidyLib if you want to coin yourself an external :-D Cheers andre On 1/27/08, jbv [EMAIL PROTECTED]

Re: another question about finding duplicates

2008-01-27 Thread Mark Smith
Andre, 'split' won't get upset by other tabs (or whatever itemDelimiter) in the data. If you split someData by cr and tab, the array will simply have the first item of each line as keys, and item 2 to -1 of each line as the contents. Best, Mark On 27 Jan 2008, at 19:01, Andre Garzia

Re: another question about finding duplicates

2008-01-27 Thread Ken Ray
On Sun, 27 Jan 2008 17:01:46 -0200, Andre Garzia wrote: This will process each line, putting them into another variable, if the line is already there it will move to the next line. It might be faster than Klaus approach since it is one loop only and less commands. True on both counts, but

Re: is there a way to set environment variables from Rev?

2008-01-27 Thread J. Landman Gay
Andre Garzia wrote: Jacque, you're my hero!!! :-D Really I think Mark is your hero. I just save stuff so I can regurgitate it later. :) -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com

Re: is there a way to set environment variables from Rev?

2008-01-27 Thread Andre Garzia
You both are my heroes along with others in the list, it's like the justice league unlimited... On 1/27/08, J. Landman Gay [EMAIL PROTECTED] wrote: Andre Garzia wrote: Jacque, you're my hero!!! :-D Really I think Mark is your hero. I just save stuff so I can regurgitate it later. :)

Maintain Selection After Edit?

2008-01-27 Thread Scott Rossi
Hello List: I am building a small editor stack that can change the name of a Rev object in another stack. I want to be able to select an object in a stack, apply the name change from a field in the editor stack, and close field in the editor stack, which would be essentially like scripting

Fixed Width Fonts #2

2008-01-27 Thread Mark Swindell
I asked this a question a couple of weeks ago but got no response so I'm trying again. Is there for Rev to determine which system fonts are of fixed width? If not directly, then indirectly? Comparing widths of i and w on a font by font basis? How might this work? Thanks, Mark

Re: Fixed Width Fonts #2

2008-01-27 Thread Scott Rossi
Recently, Mark Swindell wrote: Is there for Rev to determine which system fonts are of fixed width? If not directly, then indirectly? Comparing widths of i and w on a font by font basis? How might this work? Tried your idea using the following: Created two 18pt text fields, put W into fld

Re: Maintain Selection After Edit?

2008-01-27 Thread Malte Brill
Hi Scott, maybe store the selectedObject in a var,; select empty; select previous selectedObject on close / exitField? All the best, Malte ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe,

Re: Photo Processing , Gallery and IPTC Data app

2008-01-27 Thread Ian Wood
On 27 Jan 2008, at 04:55, Sivakatirswami wrote: If it were Apple Only it would be so easy, but we need a cross platform solution. Andre is looking into SIPS (yes if you have code we could use it!) See below for some sample code. ImageMagick would do things like resizing on multiple

Re: Photo Processing , Gallery and IPTC Data app

2008-01-27 Thread Mark Smith
Ian, just out of interest, what's the MakeOSXShellPath function for? It simply returns it's input with single quotes around it here: input:/Users/marksmith/Desktop/370 Manual/370a.jpg output: '/Users/marksmith/Desktop/370 Manual/370a.jpg' Best, Mark On 28 Jan 2008, at 00:31, Ian Wood

Re: 'the files' and 'the folders' and diacriticals

2008-01-27 Thread Kenji Kojima
Mark, This is the script importing Japanese file name of JPEG. It's used AppleScript. I am not good for AppleScript, I believe you can improve it. One problem of this script is when you use it many times, the script has an error. Probably it is an AppleScript bug. I think this script is

Re: 'the files' and 'the folders' and diacriticals

2008-01-27 Thread Jim Ault
I am on a deadline, so I cannot give a complete test and answer, but one thing I see is that replace : with /in tPath ___ You should use the Rev command revUnixFromMacPath(Disk:Folder:) -- returns /Disk/Folder/ otherwise the path may not be correct and the import will fail Then put

Re: 'the files' and 'the folders' and diacriticals

2008-01-27 Thread Kenji Kojima
Jim, Thanks. I made a Japanese name of JPEG file on the Desktop, then tested. Maybe the file path has a problem. Please someone improve it. -- Kenji Kojima RGB MusicLab: Pixels into Music http://www.kenjikojima.com/rgbmusiclab/ On Jan 27, 2008, at 9:18 PM, Jim Ault wrote: I am on a

another question about finding duplicates

2008-01-27 Thread Peter Alcibiades
Thanks everyone, what's amazing is how you can solve the problem by such completely different approaches. My own approach was best thought of as an attempt at the new literary genre of programming jokes and has the same relation to the others as PDQ Bach has to music. Here is it is: