clicktext and decimal numbers
Hi friends, a happy 2005 to all of you! Short question: When clicking on decimal numbers like 12.34, the clicktext*** returns 12, . or 34, which is not very helpful if you need the complete number... *** clickcharchunk and clickchunk etc... are working the same way :-( Now i worked around this by setting the textstyle of those numbers to link and set the underlinelinks to false set the linkcolor to 0,0,0 set the linkvisitedcolor to 0,0,0 set the linkhilitecolor to 0,0,0 to make the numbers look like any other text. Now the clicktext returns 12.34, which is what i want. But this way other links do not look like links anymore, since these properties are valid either globally or for a specific stack... Does anybody have another solution for this phenomenon? SHORT scripts preferred ;-) Thanks in advance. Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: clicktext and decimal numbers
Hi Klaus, if you have either a single column field list or a table, the clickline/text or the number of items in char 1 to the clickchar kind of op. Still no submissions for logos for the RunRev sponsored GT car... It's free, and you'll get car pictures too for your websites... hope that helps Xavier -- http://monsieurx.com On 06.01.2005 11:38:39 use-revolution-bounces wrote: Hi friends, a happy 2005 to all of you! Short question: When clicking on decimal numbers like 12.34, the clicktext*** returns 12, . or 34, which is not very helpful if you need the complete number... *** clickcharchunk and clickchunk etc... are working the same way :-( Now i worked around this by setting the textstyle of those numbers to link and set the underlinelinks to false set the linkcolor to 0,0,0 set the linkvisitedcolor to 0,0,0 set the linkhilitecolor to 0,0,0 to make the numbers look like any other text. Now the clicktext returns 12.34, which is what i want. But this way other links do not look like links anymore, since these properties are valid either globally or for a specific stack... Does anybody have another solution for this phenomenon? SHORT scripts preferred ;-) Thanks in advance. Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: clicktext and decimal numbers
Recently, Klaus Major wrote: Short question: When clicking on decimal numbers like 12.34, the clicktext*** returns 12, . or 34, which is not very helpful if you need the complete number... *** clickcharchunk and clickchunk etc... are working the same way :-( Now i worked around this by setting the textstyle of those numbers to link and set the underlinelinks to false set the linkcolor to 0,0,0 set the linkvisitedcolor to 0,0,0 set the linkhilitecolor to 0,0,0 to make the numbers look like any other text. Now the clicktext returns 12.34, which is what i want. But this way other links do not look like links anymore, since these properties are valid either globally or for a specific stack... Does anybody have another solution for this phenomenon? SHORT scripts preferred ;-) Maybe this could work: function getTheText tField put fld tField into F put the clickChunk into T put value(T) into N if N is a number or N = . then put (word 4 of T) + 1 into C repeat while (char C of F is a number or char C of F = .) put char C of F after N add 1 to C end repeat put (word 2 of T) - 1 into C repeat while (char C of F is a number or char C of F = .) put char C of F before N add -1 to C end repeat return N else return the clickText end getTheText Regards, Scott Rossi Creative Director Tactile Media, Development Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: clicktext and decimal numbers
Bon jour Xavier, Hi Klaus, if you have either a single column field list or a table, the clickline/text or the number of items in char 1 to the clickchar kind of op. thanks, but that would be far too easy ;-) Actually the numbers can be anywhere inside a locked field... Still no submissions for logos for the RunRev sponsored GT car... It's free, and you'll get car pictures too for your websites... Sorry, i am not interested in GT cars/games at all... hope that helps Xavier -- http://monsieurx.com Au revoir mon ami Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: clicktext and decimal numbers
Hi Scott, Recently, Klaus Major wrote: Short question: When clicking on decimal numbers like 12.34, the clicktext*** returns 12, . or 34, which is not very helpful if you need the complete number... *** clickcharchunk and clickchunk etc... are working the same way :-( ... SHORT scripts preferred ;-) Ahem... ;-) Maybe this could work: function getTheText tField put fld tField into F put the clickChunk into T put value(T) into N if N is a number or N = . then put (word 4 of T) + 1 into C repeat while (char C of F is a number or char C of F = .) put char C of F after N add 1 to C end repeat put (word 2 of T) - 1 into C repeat while (char C of F is a number or char C of F = .) put char C of F before N add -1 to C end repeat return N else return the clickText end getTheText Regards, Scott Rossi Creative Director Tactile Media, Development Design Yes, great, thanks, exactly what i was looking for! ...and was just too lazy to write it on my own :-D Best from germany Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: clicktext and decimal numbers
thanks, but that would be far too easy ;-) Actually the numbers can be anywhere inside a locked field... Then try to find the space before and after the clickchunk... Still no submissions for logos for the RunRev sponsored GT car... It's free, and you'll get car pictures too for your websites... Sorry, i am not interested in GT cars/games at all... You dont have to be intersted in GT cars... It's free publicity for your website and or products for those who are interested and will be exposed (and forced to eat my dust ;)) cheers Xavier ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: clicktext and decimal numbers
Hi Xavier, thanks, but that would be far too easy ;-) Actually the numbers can be anywhere inside a locked field... Then try to find the space before and after the clickchunk... Yep, that's what Scott already offered :-) Still no submissions for logos for the RunRev sponsored GT car... It's free, and you'll get car pictures too for your websites... Sorry, i am not interested in GT cars/games at all... You dont have to be intersted in GT cars... It's free publicity for your website and or products for those who are interested and will be exposed (and forced to eat my dust ;)) LOL :-D ...or bring some flowers to your funeral ;-) cheers Xavier Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Why multiple votes in Bugzilla?
Does it make any difference if I use all my votes on one problem? Will that increase the likely hood of the problem getting fixed or will it just show that it is a very serious problem for me? Michael ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Unicode won't print
Just to be clear, that Michael is not me. But what you say is very true. If a user inserts some unicode into a field in your application or stack which is to be printed your application or stack is going to break . Michael On Jan 4, 2005, at 5:02 AM, ron barber wrote: See bug 1955, its been assigned to Michael last I heard. It would be great to get this fixed since its a large hole in the support for unicode. Ron On Jan 3, 2005, at 9:27 AM, Michael D Mays wrote: I'm on Mac OSX.3.7 I make a stack with a card which has one field. I use the Character Palette to select and insert into the field the unicode character 20A04, the currency pound symbol. It shows up beautifully in the field. Now I print. Nothing shows up. What am I doing wrong? Michael ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: clicktext and decimal numbers
Hi Scott, Recently, Klaus Major wrote: Short question: When clicking on decimal numbers like 12.34, the clicktext*** returns 12, . or 34, which is not very helpful if you need the complete number... *** clickcharchunk and clickchunk etc... are working the same way :-( ... SHORT scripts preferred ;-) Ahem... ;-) Maybe this could work: function getTheText tField put fld tField into F put the clickChunk into T put value(T) into N if N is a number or N = . then put (word 4 of T) + 1 into C repeat while (char C of F is a number or char C of F = .) put char C of F after N add 1 to C end repeat put (word 2 of T) - 1 into C repeat while (char C of F is a number or char C of F = .) put char C of F before N add -1 to C end repeat return N else return the clickText end getTheText Regards, Scott Rossi Creative Director Tactile Media, Development Design Yes, great, thanks, exactly what i was looking for! ...and was just too lazy to write it on my own :-D Best from germany Klaus Major [EMAIL PROTECTED] http://www.major-k.de Would something along the lines of the following work? get word (the number of words of (char 1 to (word 2 of the clickCharChunk) of fld xxx))) of fld xxx you may need to check first whether clickChar is a number or at least not a space or another word delimiter Robert ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: clicktext and decimal numbers
Hi Robert, Would something along the lines of the following work? get word (the number of words of (char 1 to (word 2 of the clickCharChunk) of fld xxx))) of fld xxx Way cool! Got it to work with some brackets less ;-) put word the number of words of (char 1 to (word 2 of the clickCharChunk) of fld xxx) of fld xxx you may need to check first whether clickChar is a number or at least not a space or another word delimiter Thanks, i really love one-liners :-) And this list! Robert Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: controls on each card
But, doesn't a group need to have backgroundBehaviour true FIRST in order to show up in the Place Group submenu? Tom On Jan 5, 2005, at 11:15 PM, Jeanne A. E. DeVoto wrote: Once you've grouped the objects, go to each card you want them to appear on, and choose the group from the Place Group submenu in the Object menu. (You may want to give your group a descriptive name first, if you're using more than one.) To place a group on a card from within a handler or the message box, use the place command. Tip: To place a group automatically whenever you create a new card, set the group's backgroundBehavior property to true. If you are on a card that has the group when you create the new card, the group is placed on the new card. Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: clicktext and decimal numbers
Klaus Major wrote: Hi friends, a happy 2005 to all of you! Happy New Year to you too. Short question: When clicking on decimal numbers like 12.34, the clicktext*** returns 12, . or 34, which is not very helpful if you need the complete number... *** clickcharchunk and clickchunk etc... are working the same way :-( Now i worked around this by setting the textstyle of those numbers to link and [...] But this way other links do not look like links anymore, since these properties are valid either globally or for a specific stack... Does anybody have another solution for this phenomenon? SHORT scripts preferred ;-) You could do this by setting the textColor of the numbers to something subtly different from the remainder of the text (e.g. 1,1,1 instead of black), and the testing the color of the clickChunk ? (Obviously, only if you aren't already using mixed colour text :-) If you can't do that and need to script a solution, then it becomes a philosophical question - what's a number ? (Assume the click is between the 1 and the 2 in the following examples) 12 ?yes, value 12. 12.34 ? yes, value 12 and a bit -12.34 ? yes probably, value negative 12 and a bit +12.34 ? yes probably 12.34; more text ? yes, value 12 and a bit with a semi-colon punctuation to follow 12.34. more text ? Maybe ! 12 and a bit followed by a period ? or maybe not. 12.34.56 ? perhaps not, but perhaps yes 56.12.34 ? probably not - would it be 56 and a bit or 12 and a bit ?? 1234more text ? maybe text1234more text ? maybe If you can give the right answer to some of these (either - can't happen, or don't care) then you can write a pretty short script to deal with it; if you can't ignore them, then the script may be rather longer. -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.8 - Release Date: 03/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: clicktext and decimal numbers
For a spellcheck for a program at work - I had to make it so that it selected the actual word, even if that word contained a dash. I did it basically by starting with the character under the mouse click, then counting to the left until reaching a space or linefeed or the beginning of the field - then also counting to the right with similar limits. The code is pretty simple, but you might be able to streamline it - my programming skills are still in the amateur category: On mousedown put word 2 of mousecharchunk() into aaa if ((character aaa of me ) and (character aaa of me linefeed)) then put aaa into aaaleft put aaa into aaaright put the number of characters in me into PPP repeat until stopvar = 1 if stopleft 1 then if ((character aaaleft of me = ) or (character aaaleft of me = linefeed)) then put 1 into stopleft put (aaaleft + 1) into aaaleft else if (aaaleft = 1) then put 1 into stopleft else put (aaaleft - 1) into aaaleft end if end if if stopright 1 then if ((character aaaright of me = ) or (character aaaright of me = linefeed)) then put 1 into stopright put (aaaright - 1) into aaaright else if (aaaright = PPP) then put 1 into stopright else put (aaaright + 1) into aaaright end if end if if (stopleft = 1) and (stopright = 1) then put 1 into stopvar end repeat put character aaaleft to aaaright of me into ccc end if end mousedown This script winds up with the word you clicked on being put into the ccc variable. I use it to check against a list of words that are frequently used improperly in medical/scientific writing, to make sure I don't miss a possible mistake when editing submissions to our publication. Cheers, Jonathan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Major Sent: Thursday, January 06, 2005 5:39 AM To: How to use Revolution Subject: clicktext and decimal numbers Hi friends, a happy 2005 to all of you! Short question: When clicking on decimal numbers like 12.34, the clicktext*** returns 12, . or 34, which is not very helpful if you need the complete number... *** clickcharchunk and clickchunk etc... are working the same way :-( Now i worked around this by setting the textstyle of those numbers to link and set the underlinelinks to false set the linkcolor to 0,0,0 set the linkvisitedcolor to 0,0,0 set the linkhilitecolor to 0,0,0 to make the numbers look like any other text. Now the clicktext returns 12.34, which is what i want. But this way other links do not look like links anymore, since these properties are valid either globally or for a specific stack... Does anybody have another solution for this phenomenon? SHORT scripts preferred ;-) Thanks in advance. Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: clicktext and decimal numbers
Hi Alex and Jonathan, thanks a lot for your (partly philosophical ;-) answers... I think i now have more solutions than i will ever need :-D I LOVE THIS LIST! (No monkey dance, however ;-) Best from germany Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
More on Windows printing...
Are there any fonts that are the same on screen as on printer? Some are shorter, some are longer, but I have yet to find one that comes out the same. Normally, one would use a truetype font for this purpose. Is there any sort of true type font we can use in Rev? ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: controls on each card
On Jan 6, 2005, at 6:17 AM, Thomas McGrath III wrote: But, doesn't a group need to have backgroundBehaviour true FIRST in order to show up in the Place Group submenu? No. You can place any group in your stack on a card where it doesn't already appear. This is how you use one group across multiple cards. The backgroundBehavior just places groups on a new card automatically and places the group script after the card script in the message path. -- Trevor DeVore Blue Mango Multimedia [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: More on Windows printing...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You should be able to use any TTF with Rev. The issue with different font metrics is a Windows problem, not a font problem. This issue does not exist on the Mac, for example. Arial is a good example of a TrueType font. However, the printer metrics are still different from the screen metrics. Go figure. Two real solutions: print a bitmap containing the text (slow and painful, resolution can be a killer in terms of both speed and quality), or switch to the Mac (not always an option when developing for other people to use, but hey, I had to suggest it anyway; it does work correctly on the Mac). On Jan 6, 2005, at 11:16 AM, Lynch, Jonathan wrote: Are there any fonts that are the same on screen as on printer? Some are shorter, some are longer, but I have yet to find one that comes out the same. Normally, one would use a truetype font for this purpose. Is there any sort of true type font we can use in Rev? ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB3WoW7aqtWrR9cZoRAqzzAJ4z1uuUXX1HgyGrKIO8wbry+KBT6gCdE314 OGLppBwVYnn8suTPom8XKU4= =VTP3 -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: More on Windows printing...
But - somehow MS word manages to look the same between both. Not to sound paranoid or anything, but I tend to imagine it was designed that way on purpose to make it tougher for competing programs. I figure there should be some fonts where the metrics are roughly the same between printer font and screen font. So far, Modern and Verdana come closest, with Modern printing a little under the screen font width, and Verdana printing a tiny bit over the screen font width. Does anyone know how MS Word manages to keep them the same? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank D. Engel, Jr. Sent: Thursday, January 06, 2005 11:41 AM To: How to use Revolution Subject: Re: More on Windows printing... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You should be able to use any TTF with Rev. The issue with different font metrics is a Windows problem, not a font problem. This issue does not exist on the Mac, for example. Arial is a good example of a TrueType font. However, the printer metrics are still different from the screen metrics. Go figure. Two real solutions: print a bitmap containing the text (slow and painful, resolution can be a killer in terms of both speed and quality), or switch to the Mac (not always an option when developing for other people to use, but hey, I had to suggest it anyway; it does work correctly on the Mac). On Jan 6, 2005, at 11:16 AM, Lynch, Jonathan wrote: Are there any fonts that are the same on screen as on printer? Some are shorter, some are longer, but I have yet to find one that comes out the same. Normally, one would use a truetype font for this purpose. Is there any sort of true type font we can use in Rev? ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB3WoW7aqtWrR9cZoRAqzzAJ4z1uuUXX1HgyGrKIO8wbry+KBT6gCdE314 OGLppBwVYnn8suTPom8XKU4= =VTP3 -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: More on Windows printing...
Lynch, Jonathan wrote: But - somehow MS word manages to look the same between both. Not to sound paranoid or anything, but I tend to imagine it was designed that way on purpose to make it tougher for competing programs. It seems you're not paranoid at all. The decades' old rumors of Micro$oft using undocumented APIs in their own apps were confirmed in some of the anti-trust lawsuits won against them by more than two dozen governments worldwide in recent years. References: http://www.usdoj.gov/atr/cases/ms_tuncom/public/20/mtc-00019410.htm http://www.internetweek.com/breakingNews/INW20021101S0005 http://www.informationweek.com/langaletter/040799langa.htm http://www.techweb.com/article/printableArticle.jhtml?articleID=26800416site_section= More: http://www.google.com/search?q=microsoft+undocumented+APIs+lawsuit Maybe the most entertaining read on the subject is Penfield Jackson's Finding of Facts on the case: http://usvms.gpo.gov/ms-findings2.html Excerpt: Microsoft has demonstrated that it will use its prodigious market power and immense profits to harm any firm that insists on pursuing initiatives that could intensify competition against one of Microsoft's core products. The ultimate result is that some innovations that would truly benefit consumers never occur for the sole reason that they do not coincide with Microsoft's self-interest. -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Answer to a question no one asked
On Jan 6, 2005, at 8:40 AM, James Hurley wrote: What is the perpendicular distance between a point and a line? This is a nice example of breaking out a small general problem into a separate function. Good work. Some nit-picking (without trying it): I think of distance as always positive. If the abs() is needed, then maybe it should be pushed into the function. The alternative of defining the special meaning of distance in this case is more work. The names p1, p2 and p3 look like peer names, but p2 and p3 are bound together by being the end points of the same line segment. I stumble over abbreviations such as grc. I'll get over it. Rats. I couldn't find any divide-by-zero problems. Dar ** DSC (Dar Scott Consulting Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ** ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: automatically create fields from xml tree
At 23:28 05/01/2005, you wrote: Bob, It depends on what your XML structure looks like: For instance if your XML looks like: Hi Chipp. Well I gave this a try and made sure the text.xml file was in the same directory. It originally looked like this Database Version=6.0 Rec ID=217089 Arc=1 Dirty=1 Delete=1 Field ID=GENRComedy/Field Field ID=TITLBig Fishies/Field Field ID=RATGPG-13/Field Field ID=YEAR2003/Field Field ID=SEEN Type=11/Field /Rec Rec ID=217090 Field ID=GENRComedy/Field Field ID=TITLTwo Weeks Notice/Field Field ID=RATGPG-13/Field Field ID=YEAR2002/Field Field ID=SEEN Type=10/Field /Rec Rec ID=217091 Field ID=GENRDrama/Field Field ID=TITLRoad to Perdition/Field Field ID=RATGR/Field Field ID=YEAR2002/Field Field ID=SEEN Type=11/Field /Rec /Database and I eddited it to look like this FieldComedy/Field FieldBig Fishies/Field FieldPG-13/Field Field2003/Field Field1/Field Then tried the script in button but it did not do anything fieldName/field fieldAddress 1/field fieldAddress 2/field fieldCity/field fieldState/field buttonCancel/button Then have the script of a btn on mouseUp put URL(file:text.xml) into tXML repeat for each line L in tXML put getTag(L) into tTagName switch tTagName case field create field getTagData(L,field) break case button create button getTagData(L,button) break end switch end repeat end mouseUp function getTagData pTagData,pTagName filter pTagData with pTagName * replace pTagName with in pTagData replace / pTagName with in pTagData return pTagData end getTagData function getTag pStr put offset(,pStr) into tStart put offset(,pStr) into tEnd return char tStart+1 to tEnd-1 of pStr end getTag I then changed the script to function getTagData pTagData,pTagName filter pTagData with pTagName * replace pTagName with in pTagData replace / pTagName with in pTagData return pTagData end getTagData function getTag pStr put offset(,pStr) into tStart put offset(,pStr) into tEnd return char tStart+1 to tEnd-1 of pStr end getTag on mouseUp put URL(file:text.xml) into tXML repeat for each line L in tXML put getTag(L) into tTagName switch tTagName case field create field getTagData(L,field) break case button create button getTagData(L,button) break end switch end repeat end mouseUp Just in case it needed the function before the on mouseup handler. Still no luck. I'll have a go later in the weekend. cheers bob This will create a field for each field element and a button for each button element. Hope that helps, Chipp Bob Hartley wrote: Hi all. Is it possible to automatically create fields from an xml tree using the runrev xml commands or do I need to know the names of the xml items? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 12/30/2004 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.8 - Release Date: 03/01/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.8 - Release Date: 03/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: icon's
Thanks On Wednesday, January 5, 2005, at 09:57 PM, Erik Hansen wrote: --- Chipp Walters [EMAIL PROTECTED] wrote: Here's one.. www.altuit.com/webs/altuit2/ StandaloneBuilderTutorial/ BuildingIconsforMacOSXandWindowsXP.htm hello Chipp, i tried to hunt down a StandaloneBuilderTutorial but could not find it. also there was something a bout a browser in another post or is that part of Hemingway? got no result from the Search field. hope this doesn't sound persnikkity, feedback on sites, just a single perspective of course, is one contribution it seems OK to make. thanks again for all of the help, Erik Hansen = [EMAIL PROTECTED]http://www.erikhansen.org __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: More on Windows printing...
Well - after creating a stack that takes an image of a field and puts it right underneath the field, so that I can print it out and compare the screen font width to the printed font width for various fonts... I have concluded that Modern and Garamond are the two best fonts to use, if one is hoping to have the printout look similar to the screen. When printed, both of those fonts are just a teeny bit less wide than they are on screen. Thus, words in fields are not likely to get cut off after printing, and the spacing will be similar. I have a variety of ideas on how to make it print exactly like it is supposed to - but all of these ideas are really very complicated. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Gaskin Sent: Thursday, January 06, 2005 12:55 PM To: How to use Revolution Subject: Re: More on Windows printing... Lynch, Jonathan wrote: But - somehow MS word manages to look the same between both. Not to sound paranoid or anything, but I tend to imagine it was designed that way on purpose to make it tougher for competing programs. It seems you're not paranoid at all. The decades' old rumors of Micro$oft using undocumented APIs in their own apps were confirmed in some of the anti-trust lawsuits won against them by more than two dozen governments worldwide in recent years. References: http://www.usdoj.gov/atr/cases/ms_tuncom/public/20/mtc-00019410.htm http://www.internetweek.com/breakingNews/INW20021101S0005 http://www.informationweek.com/langaletter/040799langa.htm http://www.techweb.com/article/printableArticle.jhtml?articleID=2680041 6site_section= More: http://www.google.com/search?q=microsoft+undocumented+APIs+lawsuit Maybe the most entertaining read on the subject is Penfield Jackson's Finding of Facts on the case: http://usvms.gpo.gov/ms-findings2.html Excerpt: Microsoft has demonstrated that it will use its prodigious market power and immense profits to harm any firm that insists on pursuing initiatives that could intensify competition against one of Microsoft's core products. The ultimate result is that some innovations that would truly benefit consumers never occur for the sole reason that they do not coincide with Microsoft's self-interest. -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Open-source: Presentation software
Some time ago I created a commercial product called Multimedia Generator. This is presentation software that was designed for the education market. We ended up getting users in many different markets over time. The software is pretty easy to use, but does lack some polish and features from talented folks like you. If you are interested in joining an open-source effort to make a better presentation tool using Rev, please join the group I have created at Yahoo:http://groups.yahoo.com/group/mmgen/ Thanks for taking a look! -- Best regards, Mark Talluto http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Open-source: Presentation software
Mark I checked out your Yahoo groups page - the project sounds potentially interesting but it's hard to know how interesting in the absence of more info. Best Gordon --- Mark Talluto [EMAIL PROTECTED] wrote: Some time ago I created a commercial product called Multimedia Generator. This is presentation software that was designed for the education market. We ended up getting users in many different markets over time. The software is pretty easy to use, but does lack some polish and features from talented folks like you. If you are interested in joining an open-source effort to make a better presentation tool using Rev, please join the group I have created at Yahoo:http://groups.yahoo.com/group/mmgen/ Thanks for taking a look! -- Best regards, Mark Talluto http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution = :: Gordon Webster :: ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Open-source: Presentation software
What kind of objects does your presentation software use? By that, I mean, I assume it does fields, pictures, audio, and video. Any other types of objects? I have been thinking that a 3-D object viewer would be a great object. (I hope no one objects to my overuse of the word 'object' here, which, objectively speaking, I am definitely overusing). I also think a 3-D animated character generator that speaks to the viewer, using whatever text is sent to it from a handler, would be nifty. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Talluto Sent: Thursday, January 06, 2005 2:24 PM To: Revolution use Revolution Subject: Open-source: Presentation software Some time ago I created a commercial product called Multimedia Generator. This is presentation software that was designed for the education market. We ended up getting users in many different markets over time. The software is pretty easy to use, but does lack some polish and features from talented folks like you. If you are interested in joining an open-source effort to make a better presentation tool using Rev, please join the group I have created at Yahoo:http://groups.yahoo.com/group/mmgen/ Thanks for taking a look! -- Best regards, Mark Talluto http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Open-source: Presentation software
On Jan 6, 2005, at 11:32 AM, Gordon Webster wrote: Mark I checked out your Yahoo groups page - the project sounds potentially interesting but it's hard to know how interesting in the absence of more info. Hi Gordon, I am very new at working in an open-source project. Ask me what you want to know and I'll tell you what I can. I am probably missing all the key marketing phrases to excite the senses. It really is pretty simple though. I am no longer selling my commercial presentation software called Multimedia Generator. I have decided to open up the code to those that are interested in improving it. Some of you might just want to download it and use it for your own use. Others might have a bent on making it one of the best alternatives to Keynote or Powerpoint. My intended user base was educators. They did not want a huge product that could do everything under the sun. Most just wanted to import pictures of their students for end of the year presentations. Others used it as a HyperStudio replacement when they switched to OS X. It has become difficult to compete with the big guys and their offerings. Price and simplicity are its key features. It is lacking in certain areas. It could really use a visual representation of each slide as an example. Beginners may like taking it apart and seeing how things work. As I look at it years later, I shake my head and ask What was I thinking? As we grow in skill, we find that there is always more than one way to do a task. It seems that my early years chose some pretty strange yet effective methods. The good part is that it is commented pretty well. I am working on putting in the license on the about screen. I just gutted the registration code so that anyone can use it. I'll post the stack on the yahoo group in about 20 minutes. -- Best regards, Mark Talluto http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Open-source: Presentation software
On Jan 6, 2005, at 11:32 AM, Lynch, Jonathan wrote: What kind of objects does your presentation software use? By that, I mean, I assume it does fields, pictures, audio, and video. Any other types of objects? I have been thinking that a 3-D object viewer would be a great object. (I hope no one objects to my overuse of the word 'object' here, which, objectively speaking, I am definitely overusing). I also think a 3-D animated character generator that speaks to the viewer, using whatever text is sent to it from a handler, would be nifty. It supports static fields (they do not move...yet), images, audio for each slide, background audio for all slides, video, and simple draw graphics. It supports formats that QT supports. Thus it would be possible to use QTVR as well as Flash 4. A 3-D control would be very cool! -- Best regards, Mark Talluto http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Open-source: Presentation software
Well, if you need an autoflow script, to allow formatted text to automatically continue from one field to another, I can offer that. It is useful for creating text that wraps around pictures, or columns that continue across different pages. I also have a script for resizing pictures with the mouse while keeping the aspect ratio the same. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Talluto Sent: Thursday, January 06, 2005 2:45 PM To: How to use Revolution Subject: Re: Open-source: Presentation software On Jan 6, 2005, at 11:32 AM, Lynch, Jonathan wrote: What kind of objects does your presentation software use? By that, I mean, I assume it does fields, pictures, audio, and video. Any other types of objects? I have been thinking that a 3-D object viewer would be a great object. (I hope no one objects to my overuse of the word 'object' here, which, objectively speaking, I am definitely overusing). I also think a 3-D animated character generator that speaks to the viewer, using whatever text is sent to it from a handler, would be nifty. It supports static fields (they do not move...yet), images, audio for each slide, background audio for all slides, video, and simple draw graphics. It supports formats that QT supports. Thus it would be possible to use QTVR as well as Flash 4. A 3-D control would be very cool! -- Best regards, Mark Talluto http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: 3D Object Viewer (was: Open-source: Presentation software)
A 3D object viewer for rev, now you're talking! My personal dream would be to see a set of openGL bindings for rev that would allow you to create a 3D viewport window on a rev stack - perhaps embedded in an image object the way Chipp's altBrowser is. BTW: OpenGL is cross-platform too :-) Gordon --- Lynch, Jonathan [EMAIL PROTECTED] wrote: What kind of objects does your presentation software use? By that, I mean, I assume it does fields, pictures, audio, and video. Any other types of objects? I have been thinking that a 3-D object viewer would be a great object. (I hope no one objects to my overuse of the word 'object' here, which, objectively speaking, I am definitely overusing). I also think a 3-D animated character generator that speaks to the viewer, using whatever text is sent to it from a handler, would be nifty. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Talluto Sent: Thursday, January 06, 2005 2:24 PM To: Revolution use Revolution Subject: Open-source: Presentation software Some time ago I created a commercial product called Multimedia Generator. This is presentation software that was designed for the education market. We ended up getting users in many different markets over time. The software is pretty easy to use, but does lack some polish and features from talented folks like you. If you are interested in joining an open-source effort to make a better presentation tool using Rev, please join the group I have created at Yahoo:http://groups.yahoo.com/group/mmgen/ Thanks for taking a look! -- Best regards, Mark Talluto http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution = :: Gordon Webster :: ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Open-source: Presentation software
On Jan 6, 2005, at 11:48 AM, Lynch, Jonathan wrote: Well, if you need an autoflow script, to allow formatted text to automatically continue from one field to another, I can offer that. It is useful for creating text that wraps around pictures, or columns that continue across different pages. I also have a script for resizing pictures with the mouse while keeping the aspect ratio the same. Both of those features would be very useful. Please join the group and post your ideas and code there. That way we will have a record of ideas and access to your code. We might start out by creating a list of features that you want to see implemented. I have a list of small bugs and feature requests from users as well. I want to make one thing super clear. I do not expect anything from anyone. Joining the group is not a binding act in any way. :) It is just a place where we can meet when you have time, talk about improvements, and make them happen. Everyone has their day job including myself. MMG has been slipping and has not been touched in three years. I would like to work on it in the wee hours when time permits and improve it. Now that you know there are no dotted lines to sign onjoin up and download it and see what we have to work with. It should be up very soon now. -Mark ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: 3D Object Viewer (was: Open-source: Presentation software)
I have been thinking extensively about that very idea! It would require having custom properties for each object that would appear in the 3-D space that defines that object's location in 3-D space. Then, when the card preloads, you take the data for all objects inside the group with the image that will show the 3-D picture, and create an array of all 3-D pixels. Empty/transparent pixels would not be included in the array (otherwise it would get too large to be practical). Although this interim array step would slow down the loading up of a card, it would speed up the calculations needed for navigating in the 3-D space. Then, a script calculates a line that is perpendicular to each point on an imaginary plane (the imaginary plane being the view perspective). Whatever point in the array of points that is closest to the imaginary plane, along the line that is perpendicular to that point, is placed in the Z-buffer. When the Z-buffer is full, and thus the entire viewpoint for the imaginary plane has been mapped out, then the Z-buffer is transferred into the viewing image. It sounds easy, but there is a lot to consider - like optimizing calculations so that moving through the 3-D space does not take forever, and figuring out the parallax equations, so that large objects appear to taper into the distance. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Webster Sent: Thursday, January 06, 2005 2:52 PM To: How to use Revolution Subject: RE: 3D Object Viewer (was: Open-source: Presentation software) A 3D object viewer for rev, now you're talking! My personal dream would be to see a set of openGL bindings for rev that would allow you to create a 3D viewport window on a rev stack - perhaps embedded in an image object the way Chipp's altBrowser is. BTW: OpenGL is cross-platform too :-) Gordon --- Lynch, Jonathan [EMAIL PROTECTED] wrote: What kind of objects does your presentation software use? By that, I mean, I assume it does fields, pictures, audio, and video. Any other types of objects? I have been thinking that a 3-D object viewer would be a great object. (I hope no one objects to my overuse of the word 'object' here, which, objectively speaking, I am definitely overusing). I also think a 3-D animated character generator that speaks to the viewer, using whatever text is sent to it from a handler, would be nifty. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Talluto Sent: Thursday, January 06, 2005 2:24 PM To: Revolution use Revolution Subject: Open-source: Presentation software Some time ago I created a commercial product called Multimedia Generator. This is presentation software that was designed for the education market. We ended up getting users in many different markets over time. The software is pretty easy to use, but does lack some polish and features from talented folks like you. If you are interested in joining an open-source effort to make a better presentation tool using Rev, please join the group I have created at Yahoo:http://groups.yahoo.com/group/mmgen/ Thanks for taking a look! -- Best regards, Mark Talluto http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution = :: Gordon Webster :: ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 3D Object Viewer (was: Open-source: Presentation software)
Recently, Gordon Webster wrote: A 3D object viewer for rev, now you're talking! My personal dream would be to see a set of openGL bindings for rev that would allow you to create a 3D viewport window on a rev stack The iGame3D guys have it. The developed a game for uDevGames with it here: http://www.igame3d.com/ Regards, Scott Rossi Creative Director Tactile Media, Development Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: controls on each card
At 9:17 AM -0500 1/6/05, Thomas McGrath III wrote: But, doesn't a group need to have backgroundBehaviour true FIRST in order to show up in the Place Group submenu? No. (Just checked, in case a bug like that had sneaked in.) You can place any group (as long as it's not already placed on the current card - can't place the same group twice on the same card). -- jeanne a. e. devoto ~ [EMAIL PROTECTED] http://www.jaedworks.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 3D Object Viewer
A 3D object viewer for rev, now you're talking! I don't know if Bill Griffin (one of the iGame3D guys) is ready to share his mind-boggling development work with the world (it's pretty complicated stuff) but as a licensee, I'm hoping to provide a subset of what the iGame guys are doing as a simple 3D tool. http://www.tactilemedia.com/download/3dsample.pdf This is pretty niche stuff, so development time is scarce, but hopefully, it will happen later this year. Props to the iGame guys -- they're doing great things. Regards, Scott Rossi Creative Director Tactile Media, Development Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 3D Object Viewer
At 20:37 06/01/2005, you wrote: A 3D object viewer for rev, now you're talking! I don't know if Bill Griffin (one of the iGame3D guys) is ready to share his mind-boggling development work with the world (it's pretty complicated stuff) but as a licensee, I'm hoping to provide a subset of what the iGame guys are doing as a simple 3D tool. http://www.tactilemedia.com/download/3dsample.pdf This is pretty niche stuff, so development time is scarce, but hopefully, it will happen later this year. Props to the iGame guys -- they're doing great things. Hi Scott. I use a lot of high end imaging apps that cost 4-10,000 dollars each license. Indeed in our last place we spent 25,000 dollars on 5 licenses of one app alone. These apps do an incredible amount of things that most people don't need. If you need any pointers on an app that would sell in droves for 200 dollars a piece, let me know and I'll pass on the info. cheers bob Regards, Scott Rossi Creative Director Tactile Media, Development Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.8 - Release Date: 03/01/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.8 - Release Date: 03/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Answer to a question no one asked
On Thu, 6 Jan 2005 07:40:10 -0800, James Hurley [EMAIL PROTECTED] wrote: What is the perpendicular distance between a point and a line? Application for which there is no redeeming social value: if x3-x2 is 0 then return (x1-x2) else put (y3-y2)/(x3-x2) into m -- The slope return (m*(x1-x2)-(y1-Y2))/sqrt(1+m*m) end if Oddly, this is the answer to a question I asked on another users list for another programming environment, months ago -- netlogo-users. For a drawing utility, I needed to create a query that returns the set of patches (grid cells) with a perpendicular distance of N from the line between two arbitrary cells. Using your formula, I can now use this (netlogo) code: set line-patches ( patches with [ ( perpdist myself start-point end-point ) n ] The prior solution was extremely verbose, convoluted, and slow. This seems like it will be faster. Thanks! ~~James ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 3D Object Viewer
on Thu, 06 Jan 2005 Scott Rossi wrote: The iGame3D guys have it. The developed a game for uDevGames with it here: http://www.igame3d.com/ Hi Scott, Are they working in versions for OS X and Windows? Last time i contacted Bill, it was only for OS X... :-( al = Visit my site: http://www.geocities.com/capellan2000/ __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Compress folders
Hi, I need to upload a folder containing files and subfolders to a webserver. No problems in setting that up using RR, but I need to compress the folder first... The compress function only works on files, has anyone created a FolderCompresser which works on both Mac and PC? The result should be a compressed file which can be uncompressed on a Windows server using WinZip. Any help would be welcome. Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com Met vriendelijke groeten, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: More on Windows printing...
[ Re: differences in text rendering on screen vs. on printer in windows, and the absense of differences in macintosh ] The main reason there's a difference is the huge difference in resolution on the two surfaces. Screens are around 90 dots per inch (my 17 LCD is about 105 dpi). Printers now-a-days are from 300 to 1200 dpi. That means scaling happens, and that means rounding choices in the rendering can make a big difference. The underlying source of the problem is the code that reports the height and width of a rendered chunk of text, allowing other code to decide where the word-wrap point is, or what the size of the bounding box is, or whatever. If the code cheats, it might be rounding results to the nearest pixel, or integer pixel, or something, rather than returning some more precise value. Since on-screen text generally requires at least a 1 pixel gap between characters, whereas a printer does not have that limitation (rather, it's pixels are much, much smaller), differences are almost certain, at some point. Likewise, depending on the interlocked layers of api and other code used, there may be multiple conversions from pixels to twips to inches or centimeters and back again. Firther, when a printer (or printer driver) renders the same text using it's own rendering engine (or whatever printer rendering api or home-grown solution the application uses), it may get different results. Another source of error is in the defined thicknesses of elements like field borders, bounding boxes, and the like: on screen, they may be rounded up or down to whole pixels, but on printer, they are drawn more precisely. It's probable that the Mac text rendering API is more precise, and more closely tied to the printing renderer -- thus the consistancy between media. It's also probable that Microsoft does NOT use the standard text rendering API or printing API (or, at least, not the same one that revolution uses) in MS Word, but rather a more precise one, likewise tuned for consistancy. Though, I'll note that I have seen Word, Excel, Access AND Powerpoint butcher carefully laid out text in the translation to printer on many occaisions. So, if all this rationalizing and conjecture is true, the most reliable solution would be to give up trying to precisely fill text fields. Leave slack. Do your own wrapping or clipping, and tend to wrap or clip sooner, rather than later. If rev has it, use a function/method that returns the size of rendered text, and scale the results. Some applications actually use a seperate form for composing the printed version of the page, optimized to reduce errors in rendering for print. I hope there is a better answer out there than that. ~~James. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: More on Windows printing...
I am trying to figure out if the definitions for printer fonts can be used like an image, or translated into an image, and then set the image of a character, as it is typed or pasted in, to the image of the printer font. It sounds like torture to me, and like it would evoke all sorts of kerning problems - but maybe... I was also wondering if there was a way to create a high-rez image, piece-meal - that is, creating a direct translation of each object, and each character, to a single image with very high resolution, and then print the image. That sounds even more difficult - but maybe. My other thought was to create a custom font - or custom set of fonts, fully defined within Rev rather than in the O.S. - and to set the imagedata for each character to the appropriate image of the character in the custom font (with fontsize accomplished by adjusting the size of the image. It might work better to do such a thing in an image rather than a field - or in a group rather than a field. I was also wondering if there is a way to condense or expand the kerning between characters in microscopic steps. Then, for printing, a script could adjust the kerning as needed to keep the width the same as on the screen. The last sounds easiest - but I don't know if kerning is possible. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Steiner Sent: Thursday, January 06, 2005 5:10 PM To: How to use Revolution Subject: Re: More on Windows printing... [ Re: differences in text rendering on screen vs. on printer in windows, and the absense of differences in macintosh ] The main reason there's a difference is the huge difference in resolution on the two surfaces. Screens are around 90 dots per inch (my 17 LCD is about 105 dpi). Printers now-a-days are from 300 to 1200 dpi. That means scaling happens, and that means rounding choices in the rendering can make a big difference. The underlying source of the problem is the code that reports the height and width of a rendered chunk of text, allowing other code to decide where the word-wrap point is, or what the size of the bounding box is, or whatever. If the code cheats, it might be rounding results to the nearest pixel, or integer pixel, or something, rather than returning some more precise value. Since on-screen text generally requires at least a 1 pixel gap between characters, whereas a printer does not have that limitation (rather, it's pixels are much, much smaller), differences are almost certain, at some point. Likewise, depending on the interlocked layers of api and other code used, there may be multiple conversions from pixels to twips to inches or centimeters and back again. Firther, when a printer (or printer driver) renders the same text using it's own rendering engine (or whatever printer rendering api or home-grown solution the application uses), it may get different results. Another source of error is in the defined thicknesses of elements like field borders, bounding boxes, and the like: on screen, they may be rounded up or down to whole pixels, but on printer, they are drawn more precisely. It's probable that the Mac text rendering API is more precise, and more closely tied to the printing renderer -- thus the consistancy between media. It's also probable that Microsoft does NOT use the standard text rendering API or printing API (or, at least, not the same one that revolution uses) in MS Word, but rather a more precise one, likewise tuned for consistancy. Though, I'll note that I have seen Word, Excel, Access AND Powerpoint butcher carefully laid out text in the translation to printer on many occaisions. So, if all this rationalizing and conjecture is true, the most reliable solution would be to give up trying to precisely fill text fields. Leave slack. Do your own wrapping or clipping, and tend to wrap or clip sooner, rather than later. If rev has it, use a function/method that returns the size of rendered text, and scale the results. Some applications actually use a seperate form for composing the printed version of the page, optimized to reduce errors in rendering for print. I hope there is a better answer out there than that. ~~James. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Compress folders
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well, on the Mac side, you could use the zip utility, which is a terminal command (use the shell() f'n in Rev). On the PC side, you would need to provide such a tool for the program (download one to a known location), but there are a number of them around. On Jan 6, 2005, at 4:47 PM, Ton Kuypers wrote: Hi, I need to upload a folder containing files and subfolders to a webserver. No problems in setting that up using RR, but I need to compress the folder first... The compress function only works on files, has anyone created a FolderCompresser which works on both Mac and PC? The result should be a compressed file which can be uncompressed on a Windows server using WinZip. Any help would be welcome. Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com Met vriendelijke groeten, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB3buw7aqtWrR9cZoRAmU+AJ9jsgJ/c7hmNMAXWUScrCpTu1AkzgCcDP7x 573Rl0IsIAzEjZDEdly0aow= =SLKg -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Compress folders
Would it be possible to load the entire folder into a custom property on a stack, compress the stack - then do the reverse upon uncompressing? Or... Write a script to compress each file in a folder, create a folder on the server, and copy each compressed file to that folder? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank D. Engel, Jr. Sent: Thursday, January 06, 2005 5:29 PM To: How to use Revolution Subject: Re: Compress folders -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well, on the Mac side, you could use the zip utility, which is a terminal command (use the shell() f'n in Rev). On the PC side, you would need to provide such a tool for the program (download one to a known location), but there are a number of them around. On Jan 6, 2005, at 4:47 PM, Ton Kuypers wrote: Hi, I need to upload a folder containing files and subfolders to a webserver. No problems in setting that up using RR, but I need to compress the folder first... The compress function only works on files, has anyone created a FolderCompresser which works on both Mac and PC? The result should be a compressed file which can be uncompressed on a Windows server using WinZip. Any help would be welcome. Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com Met vriendelijke groeten, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB3buw7aqtWrR9cZoRAmU+AJ9jsgJ/c7hmNMAXWUScrCpTu1AkzgCcDP7x 573Rl0IsIAzEjZDEdly0aow= =SLKg -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 3D Object Viewer
Recently, Alejandro Tejada wrote: Are they working in versions for OS X and Windows? Last time i contacted Bill, it was only for OS X... :-( I thought they were doing both, but perhaps Mac is getting more attention because the number of Mac tools out there is slim. Best to check with Bill. Regards, Scott Rossi Creative Director Tactile Media, Development Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Compress folders
I'll go fo the ZIP command, let's see if I can get it working. The windows version will be next. Tnx Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com On 06 Jan 2005, at 23:31, Lynch, Jonathan wrote: Would it be possible to load the entire folder into a custom property on a stack, compress the stack - then do the reverse upon uncompressing? Or... Write a script to compress each file in a folder, create a folder on the server, and copy each compressed file to that folder? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank D. Engel, Jr. Sent: Thursday, January 06, 2005 5:29 PM To: How to use Revolution Subject: Re: Compress folders -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well, on the Mac side, you could use the zip utility, which is a terminal command (use the shell() f'n in Rev). On the PC side, you would need to provide such a tool for the program (download one to a known location), but there are a number of them around. On Jan 6, 2005, at 4:47 PM, Ton Kuypers wrote: Hi, I need to upload a folder containing files and subfolders to a webserver. No problems in setting that up using RR, but I need to compress the folder first... The compress function only works on files, has anyone created a FolderCompresser which works on both Mac and PC? The result should be a compressed file which can be uncompressed on a Windows server using WinZip. Any help would be welcome. Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com Met vriendelijke groeten, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB3buw7aqtWrR9cZoRAmU+AJ9jsgJ/c7hmNMAXWUScrCpTu1AkzgCcDP7x 573Rl0IsIAzEjZDEdly0aow= =SLKg -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: More on Windows printing...
Anyone try this? Jerry Daniels says it solved his printing woes. Description Use the formatForPrinting property to improve printout appearance on Windows systems. Value: The formatForPrinting of a stack is true or false. By default, the formatForPrinting property of newly created stacks is set to false. Comments: Windows systems may use different font versions for printing and for screen display, and the spacing of the print version may differ from the spacing of the screen version. This can result in layouts and line breaks differing between the screen display and the printed result. For the best appearance of printed cards in a stack, make sure the stack is closed (and not in memory), then set the stack's formatForPrinting property to true before opening the stack to print it. Richard Gaskin wrote: Lynch, Jonathan wrote: But - somehow MS word manages to look the same between both. Not to sound paranoid or anything, but I tend to imagine it was designed that way on purpose to make it tougher for competing programs. It seems you're not paranoid at all. The decades' old rumors of Micro$oft using undocumented APIs in their own apps were confirmed in some of the anti-trust lawsuits won against them by more than two dozen governments worldwide in recent years. References: http://www.usdoj.gov/atr/cases/ms_tuncom/public/20/mtc-00019410.htm http://www.internetweek.com/breakingNews/INW20021101S0005 http://www.informationweek.com/langaletter/040799langa.htm http://www.techweb.com/article/printableArticle.jhtml?articleID=26800416site_section= More: http://www.google.com/search?q=microsoft+undocumented+APIs+lawsuit Maybe the most entertaining read on the subject is Penfield Jackson's Finding of Facts on the case: http://usvms.gpo.gov/ms-findings2.html Excerpt: Microsoft has demonstrated that it will use its prodigious market power and immense profits to harm any firm that insists on pursuing initiatives that could intensify competition against one of Microsoft's core products. The ultimate result is that some innovations that would truly benefit consumers never occur for the sole reason that they do not coincide with Microsoft's self-interest. -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 12/30/2004 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Compress folders
Ton Kuypers wrote: I need to upload a folder containing files and subfolders to a webserver. No problems in setting that up using RR, but I need to compress the folder first... The compress function only works on files, has anyone created a FolderCompresser which works on both Mac and PC? If you'll be using Rev to decompress the files also you could write a loop that gets all the contents of the folder and compresses them into separate custom properties in a stack file. -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: More on Windows printing...
It's not the answer to world peace, but formatForPrinting property keeps the fonts consistent looking between printer and screen on Windows...at least it did with Rev 2.2. Haven't had to try it with 2.5. -Jerry On Jan 6, 2005, at 4:48 PM, Chipp Walters wrote: Anyone try this? Jerry Daniels says it solved his printing woes. Description Use the formatForPrinting property to improve printout appearance on Windows systems. Value: The formatForPrinting of a stack is true or false. By default, the formatForPrinting property of newly created stacks is set to false. Comments: Windows systems may use different font versions for printing and for screen display, and the spacing of the print version may differ from the spacing of the screen version. This can result in layouts and line breaks differing between the screen display and the printed result. For the best appearance of printed cards in a stack, make sure the stack is closed (and not in memory), then set the stack's formatForPrinting property to true before opening the stack to print it. Richard Gaskin wrote: Lynch, Jonathan wrote: But - somehow MS word manages to look the same between both. Not to sound paranoid or anything, but I tend to imagine it was designed that way on purpose to make it tougher for competing programs. It seems you're not paranoid at all. The decades' old rumors of Micro$oft using undocumented APIs in their own apps were confirmed in some of the anti-trust lawsuits won against them by more than two dozen governments worldwide in recent years. References: http://www.usdoj.gov/atr/cases/ms_tuncom/public/20/mtc-00019410.htm http://www.internetweek.com/breakingNews/INW20021101S0005 http://www.informationweek.com/langaletter/040799langa.htm http://www.techweb.com/article/printableArticle.jhtml? articleID=26800416site_section= More: http://www.google.com/search?q=microsoft+undocumented+APIs+lawsuit Maybe the most entertaining read on the subject is Penfield Jackson's Finding of Facts on the case: http://usvms.gpo.gov/ms-findings2.html Excerpt: Microsoft has demonstrated that it will use its prodigious market power and immense profits to harm any firm that insists on pursuing initiatives that could intensify competition against one of Microsoft's core products. The ultimate result is that some innovations that would truly benefit consumers never occur for the sole reason that they do not coincide with Microsoft's self-interest. -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 12/30/2004 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: More on Windows printing...
I just tried it, and it was different. Maybe it depends on the font or something. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jerry Daniels Sent: Thursday, January 06, 2005 6:10 PM To: [EMAIL PROTECTED]; How to use Revolution Subject: Re: More on Windows printing... It's not the answer to world peace, but formatForPrinting property keeps the fonts consistent looking between printer and screen on Windows...at least it did with Rev 2.2. Haven't had to try it with 2.5. -Jerry On Jan 6, 2005, at 4:48 PM, Chipp Walters wrote: Anyone try this? Jerry Daniels says it solved his printing woes. Description Use the formatForPrinting property to improve printout appearance on Windows systems. Value: The formatForPrinting of a stack is true or false. By default, the formatForPrinting property of newly created stacks is set to false. Comments: Windows systems may use different font versions for printing and for screen display, and the spacing of the print version may differ from the spacing of the screen version. This can result in layouts and line breaks differing between the screen display and the printed result. For the best appearance of printed cards in a stack, make sure the stack is closed (and not in memory), then set the stack's formatForPrinting property to true before opening the stack to print it. Richard Gaskin wrote: Lynch, Jonathan wrote: But - somehow MS word manages to look the same between both. Not to sound paranoid or anything, but I tend to imagine it was designed that way on purpose to make it tougher for competing programs. It seems you're not paranoid at all. The decades' old rumors of Micro$oft using undocumented APIs in their own apps were confirmed in some of the anti-trust lawsuits won against them by more than two dozen governments worldwide in recent years. References: http://www.usdoj.gov/atr/cases/ms_tuncom/public/20/mtc-00019410.htm http://www.internetweek.com/breakingNews/INW20021101S0005 http://www.informationweek.com/langaletter/040799langa.htm http://www.techweb.com/article/printableArticle.jhtml? articleID=26800416site_section= More: http://www.google.com/search?q=microsoft+undocumented+APIs+lawsuit Maybe the most entertaining read on the subject is Penfield Jackson's Finding of Facts on the case: http://usvms.gpo.gov/ms-findings2.html Excerpt: Microsoft has demonstrated that it will use its prodigious market power and immense profits to harm any firm that insists on pursuing initiatives that could intensify competition against one of Microsoft's core products. The ultimate result is that some innovations that would truly benefit consumers never occur for the sole reason that they do not coincide with Microsoft's self-interest. -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 12/30/2004 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: More on Windows printing...
formatForPrinting from the Rev Docs Comments: Windows systems may use different font versions for printing and for screen display, and the spacing of the print version may differ from the spacing of the screen version. This can result in layouts and line breaks differing between the screen display and the printed result. For the best appearance of printed cards in a stack, make sure the stack is closed (and not in memory), then set the stack's formatForPrinting property to true before opening the stack to print it. Important! Do not edit field text in a stack whose formatForPrinting is true. Doing so can cause display anomalies. Set the formatForPrinting property to false before you make changes to text in fields. The spacing of printer font versions usually results in a difficult-to-read display when these fonts are used for screen viewing. To avoid display problems, set the formatForPrinting property to true only when printing. To let the user preview the appearance of the printed output, set the formatForPrinting property to true before opening the stack. On Jan 6, 2005, at 5:11 PM, Lynch, Jonathan wrote: I just tried it, and it was different. Maybe it depends on the font or something. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jerry Daniels Sent: Thursday, January 06, 2005 6:10 PM To: [EMAIL PROTECTED]; How to use Revolution Subject: Re: More on Windows printing... It's not the answer to world peace, but formatForPrinting property keeps the fonts consistent looking between printer and screen on Windows...at least it did with Rev 2.2. Haven't had to try it with 2.5. -Jerry On Jan 6, 2005, at 4:48 PM, Chipp Walters wrote: ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: More on Windows printing...
Jonathan, This comment may account for the anomalous behavior you encountered (again, from Rev Docs): Important! Fonts inherited from another stack are not updated when you set the formatForPrinting of a stack. If the stack will be printed, make sure that either the stack's textFont property is set to a font name (not set to empty), or all fields to be printed have their own font rather than inheriting it. If the stack's formatForPrinting property is true, the setting of the windowBoundingRect property is ignored when the stack is opened or maximized. On Jan 6, 2005, at 5:11 PM, Lynch, Jonathan wrote: I just tried it, and it was different. Maybe it depends on the font or something. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jerry Daniels Sent: Thursday, January 06, 2005 6:10 PM To: [EMAIL PROTECTED]; How to use Revolution Subject: Re: More on Windows printing... It's not the answer to world peace, but formatForPrinting property keeps the fonts consistent looking between printer and screen on Windows...at least it did with Rev 2.2. Haven't had to try it with 2.5. -Jerry On Jan 6, 2005, at 4:48 PM, Chipp Walters wrote: ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: More on Windows printing...
I checked the docs one last time and discovered that nausea and dizziness are not among the side effects of using formatForPrinting. GRIN -Jerry On Jan 6, 2005, at 5:22 PM, Jerry Daniels wrote: Jonathan, This comment may account for the anomalous behavior you encountered (again, from Rev Docs): Important! Fonts inherited from another stack are not updated when you set the formatForPrinting of a stack. If the stack will be printed, make sure that either the stack's textFont property is set to a font name (not set to empty), or all fields to be printed have their own font rather than inheriting it. If the stack's formatForPrinting property is true, the setting of the windowBoundingRect property is ignored when the stack is opened or maximized. On Jan 6, 2005, at 5:11 PM, Lynch, Jonathan wrote: I just tried it, and it was different. Maybe it depends on the font or something. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jerry Daniels Sent: Thursday, January 06, 2005 6:10 PM To: [EMAIL PROTECTED]; How to use Revolution Subject: Re: More on Windows printing... It's not the answer to world peace, but formatForPrinting property keeps the fonts consistent looking between printer and screen on Windows...at least it did with Rev 2.2. Haven't had to try it with 2.5. -Jerry On Jan 6, 2005, at 4:48 PM, Chipp Walters wrote: ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: More on Windows printing...
I appreciate your feedback on this. I tried setting it to format for printing, closing it, purging from memory, then printing. I created the stack to make an image of the field, and put the image right underneath the field - so when it prints, I can compare the width of the two fonts very carefully. Unfortunately, there is still a difference between the two. It is a small difference, but it is there. I am not too worried about it for this project, because, for my purposes, I can just use either the Modern or Garamond fonts, for which the printer fonts are quite close, but a teeny bit smaller, so it wont get clipped at the edges of fields. For a future project I have in mind, I would really like to be able to have a document that one just works on, with whatever fonts are desired, and it comes out exactly as you see. Having to work on the layout in one mode, then switch to another to see what the layout will look like, is just too clunky for a practical work flow, when dealing with many documents. Then again, if I have no choice, then I have no choice - we'll see. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jerry Daniels Sent: Thursday, January 06, 2005 6:23 PM To: How to use Revolution Subject: Re: More on Windows printing... Jonathan, This comment may account for the anomalous behavior you encountered (again, from Rev Docs): Important! Fonts inherited from another stack are not updated when you set the formatForPrinting of a stack. If the stack will be printed, make sure that either the stack's textFont property is set to a font name (not set to empty), or all fields to be printed have their own font rather than inheriting it. If the stack's formatForPrinting property is true, the setting of the windowBoundingRect property is ignored when the stack is opened or maximized. On Jan 6, 2005, at 5:11 PM, Lynch, Jonathan wrote: I just tried it, and it was different. Maybe it depends on the font or something. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jerry Daniels Sent: Thursday, January 06, 2005 6:10 PM To: [EMAIL PROTECTED]; How to use Revolution Subject: Re: More on Windows printing... It's not the answer to world peace, but formatForPrinting property keeps the fonts consistent looking between printer and screen on Windows...at least it did with Rev 2.2. Haven't had to try it with 2.5. -Jerry On Jan 6, 2005, at 4:48 PM, Chipp Walters wrote: ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Why multiple votes in Bugzilla?
I think that 5 is the maximum number of votes allowed per user per bug. I allocate 5 to any bugs that really cause me problems, realizing that other people may find them irrelevant. I'm not sure how much the RunRev people use the vote counts to assign their priorities, but it can't hurt to pile in the 5's on issues that are critical to you. Sarah On 6 Jan 2005, at 11:38 pm, Michael D Mays wrote: Does it make any difference if I use all my votes on one problem? Will that increase the likely hood of the problem getting fixed or will it just show that it is a very serious problem for me? Michael ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Writing externals
I'm a pretty experienced Revolution user, but I'm new to externals in the form of dlls. I'd like to create these, but I only have the Borland C++ compiler which I hear doesn't work for externals. Could someone please come up with a list of the languages or compilers that are compatible? Hopefully those compilers are available for free. The guide in RunRevExternalSDK seems a little complicated. Maybe it would help to have a simple example. It'd be cool for someone to make an IDE for creating externals in C. I'll do it as soon as I understand myself. -Ben ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
[no subject]
What is the perpendicular distance between a point and a line? Application for which there is no redeeming social value: Thanks for sharing that code, James. I'm taking calculus right now and that type of thing might come in handy. Also thanks for not using repeat until the mouse is up. I always make that mistake because of hypercard habits. -Ben ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Webserver
Hi Ton, I've actually just started a program that would do just that. It uses a DOS command-line utility(http://www.7-zip.org/http://www.7-zip.org/) to zip the files, (I guess this won't work on PC, unless you can find a OSX shell program?). When I'm done - like next week - I'll let you know if you want. The intention of my program is to batch compress or uncompress a lot of files at once. -Ben Hi, I need to upload a folder containing files and subfolders to a webserver. No problems in setting that up using RR, but I need to compress the folder first... The compress function only works on files, has anyone created a FolderCompresser which works on both Mac and PC? The result should be a compressed file which can be uncompressed on a Windows server using WinZip. Any help would be welcome. Warm regards, ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: More on Windows printing...
Unfortunately, there is still a difference between the two. It is a small difference, but it is there. I am not too worried about it for this project, because, for my purposes, I can just use either the Modern or Garamond fonts, for which the printer fonts are quite close, but a teeny bit smaller, so it wont get clipped at the edges of fields. For a future project I have in mind, I would really like to be able to have a document that one just works on, with whatever fonts are desired, and it comes out exactly as you see. Having to work on the layout in one mode, then switch to another to see what the layout will look like, is just too clunky for a practical work flow, when dealing with many documents. Not knowing what your projects are... I would ask: Is such a degree of concordance really that important that it's worth spending so much time and energy on it? Is it essential to the application's function? If that is the case, if that is the most important thing, one has to wonder if this is the best tool to use for your application. Perhaps a lower-level developement environment would be better? Or a higer one? Word macros? ~~James. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: More on Windows printing...
then set the stack's formatForPrinting property to true before opening the stack to print it. How is this done? Do you change the setting, close the stack and then reopen it, or can it be added to a preopenstack handler? If the stack's formatForPrinting property is true, the setting of the windowBoundingRect property is ignored when the stack is opened or maximized. Is this a bug or is there some reason? I checked the docs one last time and discovered that nausea and dizziness are not among the side effects of using formatForPrinting. I'm not so sure about the dizziness, after following this thread! This process is way too complicated for frequent printing-editing cycles. I'd still like to be able to print an address on an envelope in the right place. So far, I can manage labels on windows, but if the paper size is changed (as for an envelope), I've had no luck getting it anywhere close to the right position. Dave ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: More on Windows printing...
On 1/6/05 10:56 PM, David Squance wrote: If the stack's formatForPrinting property is true, the setting of the windowBoundingRect property is ignored when the stack is opened or maximized. Is this a bug or is there some reason? It's a necessary design decision. Normally the windowBoundingRect prevents stacks from exceeding the screen boundaries. On smaller screens, a stack representing a full-sized page of text (11 inches tall) might well exceed the boundaries of the windowBoundingRect. If the stack is to be printed, the whole height of the card has to be displayed even if it is taller than the screen and extends visually beyond it. Stacks opened for printing ignore the screen boundaries as a convenience, and they open at their full height (or width) which ensures that the entire card contents will print. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution