Re: backscript and custom properties
Jaques, apologies for replying to what I thought you wrote instead of what you actually wrote :) I've just tried something similar to what you describe, and you're right! I never knew this - I guess this is because the property inspector is simply another stack that does it's stuff in it's own script rather than some behind-behand-the-scenes engine function. I think I'd agree that it's not necessarily desirable - I wonder if it's worth calling it a bug? Best, Mark On 23 Dec 2008, at 23:18, Jacques Hausser wrote: Thank you Mark, I didn't speak about setprop (it's perfectly logic, even if not compulsory, that a setprop would modify a property) , but about a getprop, which, in this case, doesn't change the CP - I tried that: a CP consisting of a basic sentence in a first line, say " is living in - right or false ?", a second line with a list of species names sparated by comma and a third line with a list of biotops separated by comma. The getprop takes randomly an item in the second line to replace and an item in the third line to replace . And when you look at the property in the inspector you read at the first line something (different each time) like "Microtus agrestis is living in marshy meadows - right or false ?". That's exactly what I want when running the stack, but I would like to see " is living in - right or false ?" in the inspector - that is the real content of the CP (the "pure" CP ;o)) My example is perfectly stupid, because it would be far simpler to drop the getprop and to put it's statements into the function but well, it's only an example, and it works... the button's back script is: function DisplayQuestion return the question of me end displayquestion getprop the question put line 1 of the question of me into laquestion put item (random(30)) of line 2 of the question of me into word 1 of laquestion put item (random(21)) of line 3 of the question of me into word 5 of laquestion return laquestion end the question and anywhere in the stack: put DisplayQuestion() into fld "SuchAndSuch" I was just amazed to discover it was possible to use CPs and getprop in a backscript... after all, the command is not "Insert button "truc" into back" but "Insert the script of button "truc" into back"... Jacques Le 23 déc. 2008 à 20:51, Mark Smith a écrit : Jaques, you're right - the script can still refer to 'me'. I use buttons as libraries quite often, and the fact that a button's CPs are available can be very useful. I don't tend to use getProp and setProp handlers in those 'button' libraries much - you'd still have to refer to the button's name or ID, and I generally just want a libraries commands and function available. I'm not sure what you'd expect a setProp handler to do other than modify a property, so I don't think I understand what you mean by a 'pure' custom property... Best, Mark On 23 Dec 2008, at 17:45, Jacques Hausser wrote: Hello everybody I just discovered accidentally that when a button's script is inserted as a backscript, it doesn't go there alone, but takes with it its custom properties, getprop and tutti quanti. That could be very useful... Has somebody some experience with this feature ? (I discovered also that the inspector doesn't display the "pure" custom property, but the property as modified by the getprop... that is perhaps not so good). Happy Christmas (or any other solstice-linked celebration) to you. Jacques ** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax:++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.haus...@unil.ch *** ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax:++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.haus...@unil.ch *** ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription p
Re: option-drag-to-duplicate feature
Ok. I wondered if that mightn't be the case... thanks. Mark On Dec 23, 2008, at 4:18 PM, Mark Schonewille wrote: Hi Mark, Probably, this is an engine feature. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 24 dec 2008, at 01:08, Mark Swindell wrote: Where does Rev keep its script for peeling off copies of an object? Thanks Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Hammering on about Paragraphs
Richmond Mathewson wrote: Dear Sivakatirswami, [snip] I would like to delude myself that, although a mole, shovelling away in the dark, I have at least one eye open to look at higher things. Where you and I differ, perhaps, is that, at present, "higher things" means becoming a highly competent Runtime Revolution programmer. While this may not result in a particularly long-lasting type of peace, it will guarantee that the rest of my time on earth is rather comfortable. None of the moles in the dream were meant to represent "Jolly Richmond." :-) And, the allegory was never meant to fly to such dizzing teleological heights. I only hoped to thwart any effort made toward establishing some "British Paragraph" (indented) vs "American Paragraph" (block style) in Revolution syntax, by our dear RunRev engineers As has been pointed out, it would appear, on the surface a least, it a simple matter to test for firstIndent property, or "cr & space" or "cr & cr" etc. If anything is every to be achieved toward that end it needs to be, as as oft been begged for, full paragraph level styling, ala any old word processing program or ala CSS if the latter be more doable. Either way would work for me, though the latter seems more appealing -- unless we want portability across processing environments. Back on Topic: hmmm me thinks I never did get clarity on precisely what your need/problem/challenge is here. What are you trying to solve? Given the never-to-be-overcome idiosyncracies of data entry, you will *still* have to parse and clean up "cr & space&space " invariably entered by those who think this is the standard. e.g. you have fields set up with no first indent and your users will balk and enter spaces in the first line whether you like it or not. In my own apps for volunteers doing audio transcriptions, I have, on save, stuff like this, sweet old, non-optimized baby xTalk: # restore block paragraphs separated by one blank line replace (cr & " ") with cr in fld "Entry" replace (cr & " ") with cr in fld "Entry" replace (cr & " ") with cr in fld "Entry" replace (cr & "") with cr in fld "Entry" replace cr with (cr &cr) in fld "Entry" repeat 4 times replace (cr &cr &cr) with (cr & cr) in fld "Entry" repeat time just prior to replace (cr & cr) with "& cr & " just prior to converting the field to XML for later XSLT transformations... Not too elegant, but soo very obvious -- which is what I so love about xTalk. You could then easily follow up with # set to indented style replace (cr & cr) with cr in fld "entry" set the firstIndent of fld "Entry" to true skts ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: option-drag-to-duplicate feature
Hi Mark, Probably, this is an engine feature. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 24 dec 2008, at 01:08, Mark Swindell wrote: Where does Rev keep its script for peeling off copies of an object? Thanks Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
option-drag-to-duplicate feature
Where does Rev keep its script for peeling off copies of an object? Thanks Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: backscript and custom properties
Thank you Mark, I didn't speak about setprop (it's perfectly logic, even if not compulsory, that a setprop would modify a property) , but about a getprop, which, in this case, doesn't change the CP - I tried that: a CP consisting of a basic sentence in a first line, say " is living in - right or false ?", a second line with a list of species names sparated by comma and a third line with a list of biotops separated by comma. The getprop takes randomly an item in the second line to replace and an item in the third line to replace . And when you look at the property in the inspector you read at the first line something (different each time) like "Microtus agrestis is living in marshy meadows - right or false ?". That's exactly what I want when running the stack, but I would like to see " is living in - right or false ?" in the inspector - that is the real content of the CP (the "pure" CP ;o)) My example is perfectly stupid, because it would be far simpler to drop the getprop and to put it's statements into the function but well, it's only an example, and it works... the button's back script is: function DisplayQuestion return the question of me end displayquestion getprop the question put line 1 of the question of me into laquestion put item (random(30)) of line 2 of the question of me into word 1 of laquestion put item (random(21)) of line 3 of the question of me into word 5 of laquestion return laquestion end the question and anywhere in the stack: put DisplayQuestion() into fld "SuchAndSuch" I was just amazed to discover it was possible to use CPs and getprop in a backscript... after all, the command is not "Insert button "truc" into back" but "Insert the script of button "truc" into back"... Jacques Le 23 déc. 2008 à 20:51, Mark Smith a écrit : Jaques, you're right - the script can still refer to 'me'. I use buttons as libraries quite often, and the fact that a button's CPs are available can be very useful. I don't tend to use getProp and setProp handlers in those 'button' libraries much - you'd still have to refer to the button's name or ID, and I generally just want a libraries commands and function available. I'm not sure what you'd expect a setProp handler to do other than modify a property, so I don't think I understand what you mean by a 'pure' custom property... Best, Mark On 23 Dec 2008, at 17:45, Jacques Hausser wrote: Hello everybody I just discovered accidentally that when a button's script is inserted as a backscript, it doesn't go there alone, but takes with it its custom properties, getprop and tutti quanti. That could be very useful... Has somebody some experience with this feature ? (I discovered also that the inspector doesn't display the "pure" custom property, but the property as modified by the getprop... that is perhaps not so good). Happy Christmas (or any other solstice-linked celebration) to you. Jacques ** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax:++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.haus...@unil.ch *** ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax:++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.haus...@unil.ch *** ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Widow control
One entire record varies from one line (not a problem) to several hundred lines. The actual fields in the real scenario are 37 lines long. Since the same field is used over and over again (as each page is sent to the printer) the number of fields is x. The lines of data are meant to fill the 37 lines as much as possible without having an orphan. One orphan set never runs more than 30 lines. The page numbering goes in another field. I was only showing it because it has to be calculated in advance because it will vary because of the widow/orphan control. It is kind of simple now that you describe it that way I think my problem was that I normally do this on the fly instead of going through the whole thing first. On Tue, Dec 23, 2008 at 1:45 PM, wrote: > So you have ten lines of data that have to fit into three four line fields? > And this does not divide evenly so you made two sets of three lines and one > set > of four? Could there have been another possible valid breakup of that > data > into the three fields? And the data might of necessity run to a group of > five > lines, creating a widow (or in another scenario, an orphan)? > > That you have to add a page numbering line just reduces the available field > lines from four to three, correct? > > Did you note that all my comments are questions? > > Is one entire record that original ten lines? Or does it comprise more than > one record? Do the "$" symbols indicate logical separations in the data? If > so, > do not these delimit your data cleanly so you can parse it? > > I see a pile of lines that has to be broken in some controlled way into > smaller piles based on some logic that keeps certain lines together. I > thought you > had added the "$" signs for just that purpose; a superfluous delimiter that > you can use to do the breaking up, and then delete en masse. I assume you > always > know where to put the delimiters based on the structure of your data and > the > way it needs to be outputted. > > Why do I think I am not getting it? > > Craig Newman > > > ** > One site keeps you connected to all your email: AOL > Mail, Gmail, and Yahoo Mail. Try it now. ( > http://www.aol.com/?optin=new-dp&; > icid=aolcom40vanity&ncid=emlcntaolcom0025) > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.bluewatermaritime.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
the grabbedObject?
Scott Rossi wrote: "And if one read the original post, they would have realized that they could execute the entire line in their Revolution message box and run the stack within Revolution, no Web browser necessary: go url "http://www.tactilemedia.com/site_files/downloads/drag_sampler.rev"; Not much effort at all." I stand corrected. sincerely, Richmond Mathewson. A Thorn in the flesh is better than a failed Systems Development Life Cycle. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
OT3: loudness wars
"...Loud CDs use 'hypercompression' - not data compression but audio compression in the digital realm, which is at first interesting but eventually tedious to listen to" I remember volunteering at an NPR-affiliate station in South Dakota twenty years ago, and I convinced the powers-that-be to drastically reduce the amount of audio compression on their FM music broadcasts. Most of those broadcasts consisted of "classical" orchestral music (along with piano solo and string/piano chamber music, etc.), which often contain extremes in recorded volume levels (very quiet vs. very loud). But the compression was awful, it would always kick-in right after the beginning of a loud passage, squelching the music, and would conversely suddenly bring up the volume of a quiet passage. This would distort the flow of the music, making it sound bizarre and artificial. Kurt ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: backscript and custom properties
Jaques, you're right - the script can still refer to 'me'. I use buttons as libraries quite often, and the fact that a button's CPs are available can be very useful. I don't tend to use getProp and setProp handlers in those 'button' libraries much - you'd still have to refer to the button's name or ID, and I generally just want a libraries commands and function available. I'm not sure what you'd expect a setProp handler to do other than modify a property, so I don't think I understand what you mean by a 'pure' custom property... Best, Mark On 23 Dec 2008, at 17:45, Jacques Hausser wrote: Hello everybody I just discovered accidentally that when a button's script is inserted as a backscript, it doesn't go there alone, but takes with it its custom properties, getprop and tutti quanti. That could be very useful... Has somebody some experience with this feature ? (I discovered also that the inspector doesn't display the "pure" custom property, but the property as modified by the getprop... that is perhaps not so good). Happy Christmas (or any other solstice-linked celebration) to you. Jacques ** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax:++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.haus...@unil.ch *** ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Widow control
william- Tuesday, December 23, 2008, 7:05:29 AM, you wrote: > You were thinking of "Divorce Control" or maybe "Cuckhold Control" or even > "Concubine Control" which is a very different field than word processing, as > you pointed out... ...but very close to World Processing... ...and related to Date Processing as well... -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Widow control
We have the same typographic expression in french, but we usually carefully precise *lignes* veuves... or orphelines, depending if they are at the beginning or at the end of a paragraph. To escape some misinterpretations... Jacques Le 23 déc. 2008 à 16:05, william humphrey a écrit : Richard -- Oups ! Be careful... You were thinking of "Divorce Control" or maybe "Cuckhold Control" or even "Concubine Control" which is a very different field than word processing, as you pointed out... On Tue, Dec 23, 2008 at 4:52 AM, Richmond Mathewson >wrote: Wow! As a happily married man, widow control is somewhere outside my field: surely this is something for gigolos more conversant in a Rapine Revolution than a Runtime Revolution? In the last several postings we have had: "pressing my button" and "widow control" Have a Happy Christmas! sincerely, Richmond Mathewson. A Thorn in the flesh is better than a failed Systems Development Life Cycle. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.bluewatermaritime.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax:++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.haus...@unil.ch *** ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Widow control
So you have ten lines of data that have to fit into three four line fields? And this does not divide evenly so you made two sets of three lines and one set of four? Could there have been another possible valid breakup of that data into the three fields? And the data might of necessity run to a group of five lines, creating a widow (or in another scenario, an orphan)? That you have to add a page numbering line just reduces the available field lines from four to three, correct? Did you note that all my comments are questions? Is one entire record that original ten lines? Or does it comprise more than one record? Do the "$" symbols indicate logical separations in the data? If so, do not these delimit your data cleanly so you can parse it? I see a pile of lines that has to be broken in some controlled way into smaller piles based on some logic that keeps certain lines together. I thought you had added the "$" signs for just that purpose; a superfluous delimiter that you can use to do the breaking up, and then delete en masse. I assume you always know where to put the delimiters based on the structure of your data and the way it needs to be outputted. Why do I think I am not getting it? Craig Newman ** One site keeps you connected to all your email: AOL Mail, Gmail, and Yahoo Mail. Try it now. (http://www.aol.com/?optin=new-dp&; icid=aolcom40vanity&ncid=emlcntaolcom0025) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
backscript and custom properties
Hello everybody I just discovered accidentally that when a button's script is inserted as a backscript, it doesn't go there alone, but takes with it its custom properties, getprop and tutti quanti. That could be very useful... Has somebody some experience with this feature ? (I discovered also that the inspector doesn't display the "pure" custom property, but the property as modified by the getprop... that is perhaps not so good). Happy Christmas (or any other solstice-linked celebration) to you. Jacques ** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax:++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.haus...@unil.ch *** ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: the grabbedObject?
Recently, Richmond Mathewson wrote: > Unfortunately following > > "http://www.tactilemedia.com/site_files/downloads/drag_sampler.rev"; > > allows one to grab only an error message. And if one read the original post, they would have realized that they could execute the entire line in their Revolution message box and run the stack within Revolution, no Web browser necessary: go url "http://www.tactilemedia.com/site_files/downloads/drag_sampler.rev"; Not much effort at all. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Cursor pointer (the current record)
Hi all. I find this odd. When I first get a cursor and then check the condition of beginning of file, I get true. The record number is 0. Okay. But when I get the data from the cursor for that record, I do not get null values I get the data from the first record. Hmmm alright. So I go to the first record in the cursor. The record number is still ZERO! Okay, so then I go to the first record then go previous. The record is still zero and data is the data in the first record. I go next after that and I am still at record zero, and the data is the same as before! A similar thing happens on the last record. I get eof true when on the last record. I can live with this, but does that mean that when I return a record number of 364 I am actually at record 365?? What an odd way of doing things if so. I cannot very well present to my user that they are on record zero. I can always add one for display purposes but keep my real record number as it is, I just find this behavior very odd. A BOF condition is usually true if a record pointer is one record BEFORE the first record. And EOF condition is usually true if the pointer is on a record one PAST the last one. That way I can check for (BOF or EOF) and know I am pointed at a valid record. I can also continue a loop until EOF and know that I have no more records to process, NOT that I have one more to go! FUNCTION checkitout theRecord put revdb_movefirst(mCursor) into mres put revCurrentRecord(mcursor) into mrecord -- returns 0! put revdb_movelast(mCursor) into mres put revCurrentRecord(mcursor) into mrecord -- returns one less than the record count put revdb_movenext(mCursor) into mres put revCurrentRecord(mcursor) into mrecord -- returns the same thing END checkitout Anyone else find this odd? Bob Sneidar IT Manager Logos Management Calvary Chapel CM ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Online EFL exercises for Offline use?
I was looking at: http://a4esl.org/q/h/mc006-ck.html and thought; that would be good to throw at some kids in the school. HOWEVER: I don't have internet access in the school because it is both expensive and a distraction from the job in hand. So, I put together a stack with a scrolling text-field and did this: set the htmlText of fld "fTEXT" to URL "http://a4esl.org/q/h/mc006-ck.html"; and I got the formatted text of the webpage; but not the buttons. Then it occurred to me that a RR-based web-browser was not what I needed. What I need is a reverse of the stack I authored about 5 years ago with Marielle Lange (then based in Edinburgh, and then, not being either anti-Runtime Revolution or anti-Richmond): a stack that would convert HTML into RR. This is probably a naive question: Has anybody done this successfully? sincerely, Richmond Mathewson. A Thorn in the flesh is better than a failed Systems Development Life Cycle. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Widow control
Richard You were thinking of "Divorce Control" or maybe "Cuckhold Control" or even "Concubine Control" which is a very different field than word processing, as you pointed out... On Tue, Dec 23, 2008 at 4:52 AM, Richmond Mathewson wrote: > Wow! As a happily married man, widow control is somewhere outside > my field: surely this is something for gigolos more conversant in a > Rapine Revolution than a Runtime Revolution? > > In the last several postings we have had: > > "pressing my button" > > and > > "widow control" > > Have a Happy Christmas! > > sincerely, Richmond Mathewson. > > > > A Thorn in the flesh is better than a failed Systems Development Life > Cycle. > > > > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.bluewatermaritime.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Widow control
Thanks many lines of text as follows. "$" symbol changes where it is depending on text inpot $line one line two $line three $line four line five line six $line seven $line eight $line nine line ten now lets say the field to put the text into is four lines long. We want to avoid widows so text would break up like this. field iteration # 1-- page 1 of 3 $line one line two $line three field iteration #2 -- page 2 of 3 $line four line five line six $line seven -- happens to fail on exactly fourth line field iteration #3 -- page 3 of 3 $line eight $line nine line ten -- ran out of data This widow control thing is a common attribute of page layout programs. I'm making a manifest for shipping and I'm trying to avoid having the cargo information for a bill of lading header fall on the next page. The dollar symbols are actually not there but I can look for what is there which is actually lack of header information in that line of data. The problem becomes harder for me to wrap my head around because I also need to put page 1 of total pages on each page. Thanks for your interest and help. Bill ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where's the file?
Hi Klaus, No, but your files can be found INSIDE of the application bundle :-) "the path of the folder containing the stack" is this one in a standalone on OS X: ../Name_of_your_standalone.app/Contents/MacOS/ Your text files can be found in this folder! Right-Click on your standalone and select "Show contents" to check it out Well, I guess you can now tell that I am a relative newbie at OSX...only a couple years into it. Having lived thru apple's change in system 7 years ago, I am VERY cautious about OS change. So much of my perspective on OS X is still pre-OS X. Thanks for the education! You will have to take this into account when initializing your global variable: ... put the filename of stack "Mainstack a.k.a. the standalone" into tFilename set itemdel to "/" if the platform = "MacOS" then delete item -4 to -1 of tFilename else delete item -1 of tFilename end if global appFolderPath put tFilename & "/" into appFolderPath You get the picture :-) YesI do something like... global appFolderPath on openStack set the itemDelimiter to "/" put (item 1 to -2 of the effective filename of this stack)&"/" into appFolderPath get url ("file:"&appFolderPath&"AllUserData.txt") if it is empty then answer "Sorry, I can't find a user data file!" with "Oops!" restoreUserData get url ("file:"&appFolderPath&"AllUserData.txt") end if ... ... ... end openStack Eventually, I'll add in the other platforms Thanks again! Best Regards, Timothy R. Ponn ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Widow control
I thought I was pretty good at crunching data. But I don't understand your post. Can you reply with an example of the text you want to put into these ten line fields, with an egregious example of data that you cannot divvy up? I have had to do this sort of thing all my life, sometimes placing invisible control characters into text that I can later use as delimiters. Let's see... Craig Newman ** One site keeps you connected to all your email: AOL Mail, Gmail, and Yahoo Mail. Try it now. (http://www.aol.com/?optin=new-dp&; icid=aolcom40vanity&ncid=emlcntaolcom0025) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
the grabbedObject?
Unfortunately following "http://www.tactilemedia.com/site_files/downloads/drag_sampler.rev"; allows one to grab only an error message. to grab the "drag_sampler.rev" one has to go to http://www.tactilemedia.com/ and then navigate via the SOFTWARE button and TUTORIALS. Well worth the extra effort! sincerely, Richmond Mathewson. A Thorn in the flesh is better than a failed Systems Development Life Cycle. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Widow control
I never new about the formattedheight command. I don't think it will help though because I already know exactly how many lines of text the field will hold I just don't know how many lines of text to put into the field to avoid breaking a paragraph in the middle as much as possible. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where's the file?
Hi Timm, Hello all... This strikes me as odd. I frequently use text files as containers of data (prefs, and the like) in my stacks. On openStack, I put the path of the folder containing the stack into a global so I can use it later. Not a problem when I'm running as a stack...text files are created and modified as expected during use (I use get/put URL). put "Whatever" into url ("file:"&appFolderPath&"HereIAm.txt") get url ("file:"&appFolderPath&"HereIAm.txt") When I open the text file later with a text editor, I see what I expect to see. However, when I make a standalone app of the stack, I no longer see the text files in the folder. Are these text files being set as "invisible" in the finder? No, but your files can be found INSIDE of the application bundle :-) "the path of the folder containing the stack" is this one in a standalone on OS X: ../Name_of_your_standalone.app/Contents/MacOS/ Your text files can be found in this folder! Right-Click on your standalone and select "Show contents" to check it out I'm running Enterprise 2.8.1 in OSX 10.5.6. You will have to take this into account when initializing your global variable: ... put the filename of stack "Mainstack a.k.a. the standalone" into tFilename set itemdel to "/" if the platform = "MacOS" then delete item -4 to -1 of tFilename else delete item -1 of tFilename end if global appFolderPath put tFilename & "/" into appFolderPath ... You get the picture :-) Best Regards, Timothy R. Ponn Regards Klaus Major kl...@major-k.de http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[ANN][EN][FR] How to implement payments using Paypal free tutorial by So Smart Software
Paris, Tuesday, December 23, 2008 -- English version - I'm happy to announce that 'How to implement Paypal payment or donation into your projects' tutorial #028 is available: This stack takes you by the hand step by step and demonstrates how it is easy! You just need an email address (no website). Paypal web tools make the job for you. Then a oneliner is enough in your project. If you have downloaded the Tutorial Watcher plugin, you have been or will be automatically informed at next Rev startup. You will access this tutorial through "Tutorials Picker" a free plugin that interfaces with the So Smart Software website in order to display all available tutorials stacks directly from the web. You will find it by going to http://www.sosmartsoftware.com - Revolution/Plugins or Tutorials section. You can also download this tutorial separately from the website. Best regards from Paris, Eric Chatonet. If you don't want to be on this low traffic list, you can unsubscribe by emailing to mailingl...@sosmartsoftware.com with "unsubscribe" (without the quotes) in the subject line. - Version française J'ai de plaisir d'annoncer la sortie du didacticiel #028 'Comment implémenter paiements et donations dans vos projets avec Paypal' Cette pile vous prend par la main pour vous démontrer comme c'est facile ! Vous avez seulement besoin d'une adresse mail (pas de site web). Les outils web de Paypal travaillent pour vous. Ensuite une seule ligne de code suffit dans votre projet. Si vous avez installé le plugin "Tutorials Watcher", vous le savez déjà ou serez informé au prochain démarrage de Revolution. Pour avoir accès à ce didacticiel, téléchargez "Tutorials Picker", un plugin gratuit qui communique directement avec le site de So Smart Software afin d'afficher tous les didacticels disponibles depuis le web dans leur dernière version. Rendez-vous sur http://www.sosmartsoftware.com - Revolution/Section Plugins ou didacticiels. Vous pouvez également télécharger ce didacticiel séparément depuis le site. Cordialement, Eric Chatonet. Si vous souhaitez vous désinscrire de cette liste, envoyez un mail à mailingl...@sosmartsoftware.com avec "unsubscribe" (sans les guillemets) comme sujet. --- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Pour les institutionnels, les entreprises et les associations Des logiciels sur mesure : gestion, multimédia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" --- Web sitehttp://www.sosmartsoftware.com Email eric.chato...@sosmartsoftware.com Phone 33 (0) 143 317 762 Mobile 33 (0) 620 745 086 --- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Where's the file?
Hello all... This strikes me as odd. I frequently use text files as containers of data (prefs, and the like) in my stacks. On openStack, I put the path of the folder containing the stack into a global so I can use it later. Not a problem when I'm running as a stack...text files are created and modified as expected during use (I use get/put URL). put "Whatever" into url ("file:"&appFolderPath&"HereIAm.txt") get url ("file:"&appFolderPath&"HereIAm.txt") When I open the text file later with a text editor, I see what I expect to see. However, when I make a standalone app of the stack, I no longer see the text files in the folder. Are these text files being set as "invisible" in the finder? I'm running Enterprise 2.8.1 in OSX 10.5.6. Best Regards, Timothy R. Ponn ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Widow control
On Tue, Dec 23, 2008 at 11:28 AM, william humphrey wrote: > I'm trying to figure out how to stop filling a field and move on to the next > field without breaking a "paragraph" in the middle.Fixed subject to "Widow > Control" > > Say the field is ten lines long and you have fifty rows of data and you want > to split the data into the ten line long fields without breaking a paragraph > in the middle unless a paragraph is over ten lines long and you have to > (although that is rare). > > I'm having trouble figuring out an easy way to walk through these lines of > data and put in the breaks as need be. One of the problems is you can't say > there are five pages in total (50 / 10 ) as sometimes a page will only have > say six rows because in order to have widow control you have to start the > next six or seven line long paragraph on the next page. > > Any simple ideas on how I should look at this differently? I'm not sure I completely understand the problem, but I suggest looking at the formattedHeight of the field. in pseudo-code: put the complete text into the field repeat until the formattedHeight of the field is less than the actual height of the field delete the last line of the field end repeat see how many lines are in the field delete that many lines from the start of the original data move to the next field and repeat the process HTH, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT2: The 'realness' of languages
in this situation I would ask to show a portfolio CD or examples of software created by the person - the most important thing being experience and ability to complete a product in whatever language the person feels most comfortable. I guess it would be also fair to say that GUI will be created using Revolution RAD and definitely one can expand it with modules written in C++/C. BTW correct me please, this may be wrong impression, but it looks like C++/C adoration is something specific to the USA, isn't it? I know many IT companies in my country and elsewhere in Europe who "do not do C" and deliver their products (accounting systems, research software, etc...) in Delphi, Java, Abap and the fact that they "do not do C" seems having zero impact on their successful businesses... Best wishes! Viktoras Peter Alcibiades wrote: It still sounds as if you're failing to probe the question/objection, and it will be impossible to answer it unless you find out exactly what it is. Is it support? Is it a concern about robustness? Is it a matter of internal company policy? What were they expecting it to be written in? C? Python? Perl? VB? It will take different things in each case to answer it. Imagine someone is delivering a proposal to a company you work for, and when asked exactly that same question, replies, it will be written in Scheme. She goes on to explain that she is more productive in Scheme than any other language, she can deliver cross platform apps of the sort you are asking for in a tenth of the time, and she offers to do an instant demo for you of something that would take several hours in C, in about 10 minutes. What do you say to her, and what do you think, and what do you say to your colleagues when you talk to them about it? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Widow control
Wow! As a happily married man, widow control is somewhere outside my field: surely this is something for gigolos more conversant in a Rapine Revolution than a Runtime Revolution? In the last several postings we have had: "pressing my button" and "widow control" Have a Happy Christmas! sincerely, Richmond Mathewson. A Thorn in the flesh is better than a failed Systems Development Life Cycle. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Hammering on about Paragraphs
Dear Sivakatirswami, "they would all understand the correct unity of form and function" reminds me of "The Fire and The Sun" section of Plato's Republic; even if not to mention the central goal of Hinduism. Most of us, however, are still sufficiently blinded by the light of Runtime Revolution to stay involved in this sort of discussion. While the appeal of non-action, or, better, disinterested action may be there (and of course, as soon as it is seen as 'appealing' it is no longer un-motivated), I, for one, am so encoiled in the grip of the earthly serpent that I prefer the old, well-trodden path of Karma Marga. AND, if the path of work is paved with Runtime Revolution, it feels a whole lot more liberating than the languages that Mr Reetz is obviously embroiled with! I would like to delude myself that, although a mole, shovelling away in the dark, I have at least one eye open to look at higher things. Where you and I differ, perhaps, is that, at present, "higher things" means becoming a highly competent Runtime Revolution programmer. While this may not result in a particularly long-lasting type of peace, it will guarantee that the rest of my time on earth is rather comfortable. sincerely, Richmond Mathewson. A Thorn in the flesh is better than a failed Systems Development Life Cycle. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution