Re: A Collaboration on Shafer's Books?
On Jan 24, 2005, at 3:08 PM, Thomas Gutzmann wrote: - somebody has to take the initiative to set up the Wiki (I cannot help here - what about you, Gordon?) - somebody must provide the resources (I'm willing to help with hte resources of my company) - there must be a team of people supervising the Wiki (should be people form this list) - and finally, there must be the commitment of RunRev to contribute and to help the the supervisors (which may be the biggest problems) I've had a wiki up for several years now. There's even a book outline on there that I put together back in 2003. It's open to edit at: http://www.mathfieldday.com:8080/revdocs/Book:Outline There was some vandalism on the site a long time ago, so I put a password on it. HyperCard users will appreciate the password: username: rev password: magic Feel free to use the site, or take a different course. regards, Geoff Canyon [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
thanks
By the way, it's really great to see your presence here on the list, Kevin - I've been on a lot of 'geek-lists' and this is by far the greatest bunch of guys I've hung out with online - very intelligent, helpful and giving. We stay (mostly) on topic and potential flame wars are drowned out with kindness and logic. Most of all, we get a lot of expert help, and fast! It's very reassuring to us to hear from 'headquarters' once in a while... thanks. sqb Hi Dan, Please don't get discouraged! Success, it seems, is in the eye of the beholder. .. Kevin ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Line offset of an item (and other similar functions).
Sarah Reichelt wrote: I do want to match only whole items, so as to avoid false positives (i.e. item alex1 should not match alex123) lineOffset will give me the line number - but there's no way to say match whole items only itemOffset will find the right instance (given wholeMatches set to true), but it gives me item number, not line number matchChunk will find it for me - but gives character positions, not line number I'm hoping there's some way to inveigle one of the 'offset' functions to do this. The docs say wholeMatches works with lineOffset, so if it doesn't, you should bugzilla that as either a bug or a docs error. wholeMatches does just what it says it will - match only if the string matches the whole line. I'm looking for a way to match whole items - but get line numbers as a result. Jacqueline gave me the perfect way, using get the number of lines in item 1 to itemOffset(tString, tData) in tData -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Hard Drive serial number
Paul Salyers wrote: RB gobbledygook snipped This is the code I have in VB for a hard drive serial number. Can some one help me convert this to Rev? I can't tell what the RB code does - but if it really is get the hard drive serial number then you should be able to find the function that Ken Ray recently published to this list. A search of the archive should find it (around mid-January). It is multi-platform, so if you only need the Win part of it, it could be shortened. -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT -- Mac OSX or Classic?
By and large, those who still use Classic don't but much software. Seems likely, Richard, but not totally insignificant. To date, standAlone downloads of The Scripter's Scrapbook have been: 15% for for OS9 47% for OSX 38% for Windows These exclude the large number of plugIn Rev stack version downloads for which platform numbers are unknown. Numbers may also reflect the make-up of the (largely) Revolution-based user base at this time that (my impression) is more Macintosh than Windows. /H ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Printing Hell
Well, it's not just text, it's the whole printed card, including my nice, neat graphic boxes. The size difference translates to about 2 points of text size. I don't generally do much printing with my rev apps, but the two or three times I've had a go, this size difference has come up. I doubt if I'd have minded much, except for the fact that it generally means the card won't fit on the page, so it's not especially subtleis it just me? This has been on two different OS X laptops, and two different printers, across perhaps 3 or 4 versions of Rev, which is why I've assumed that it's Rev that's doing or not doing something that it should. Is there some OS setting I should know about? BTW, I will now eat humble pie for my misplaced sarcasm to Kevin, I have indeed got an unlock key for the RevOnline Tutorials, so apologies to Kevin. Haven't yet finished reading, but so far no mention of some of the issues I've been whinging about. Cheers, Mark On 25 Jan 2005, at 03:44, [EMAIL PROTECTED] wrote: Whoops, sorry. I remembered wrong. I've never noticed a point-size difference, but I've never needed pixel-exact reproduction either. Is this discrepancy always there, or only when printing specific stacks? -- 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
Re: Line offset of an item (and other similar functions).
Alex Tweedly wrote: J. Landman Gay wrote: Like this: get the number of lines in item 1 to itemoffset(tString,tData) of tData Thank You ! I seem to have a mental block against item expressions that cross line boundaries. My over-structured brain *knows* that items are small things that fit within lines; this is the 3rd or 4th time I've missed something because of that blinkered view. Nope, spoke too soon. That looks convincing, and worked on my initial testing - but doesn't actually work properly in all cases. The problem is that the CRs are included within items - so given data like a,abc,1 b,def,2 c,qwe,3 etc., item 1 is a, item 2 is abc, item 3 is 1 b (i.e. including the cr), item 4 is def, etc. Clearly, that means itemOffset will never match what I think of as items that are first (or last) on each line. In the above case, I want to be able to search for the line containing item b and find the second line. Currently I'm using function findItemAsLineNumber pItem, pData local i, L set wholeMatches to true -- set the itemDel to TAB put 0 into i repeat for each line L in pData add 1 to i if itemOffset(pItem, L) 0 then return i end repeat return 0 end findItemAsLineNumber but I still think there should be an easier (or at least faster, shorter, better) way. -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Line offset of an item (and other similar functions).
Alex Tweedly wrote: J. Landman Gay wrote: Like this: get the number of lines in item 1 to itemoffset(tString,tData) of tData Thank You ! I seem to have a mental block against item expressions that cross line boundaries. My over-structured brain *knows* that items are small things that fit within lines; this is the 3rd or 4th time I've missed something because of that blinkered view. Nope, spoke too soon. That looks convincing, and worked on my initial testing - but doesn't actually work properly in all cases. The problem is that the CRs are included within items - so given data like a,abc,1 b,def,2 c,qwe,3 etc., item 1 is a, item 2 is abc, item 3 is 1 b (i.e. including the cr), item 4 is def, etc. Clearly, that means itemOffset will never match what I think of as items that are first (or last) on each line. In the above case, I want to be able to search for the line containing item b and find the second line. Currently I'm using function findItemAsLineNumber pItem, pData local i, L set wholeMatches to true -- set the itemDel to TAB put 0 into i repeat for each line L in pData add 1 to i if itemOffset(pItem, L) 0 then return i end repeat return 0 end findItemAsLineNumber but I still think there should be an easier (or at least faster, shorter, better) way. -- Alex. Hmmm. Since L is a separate chunk each time (a single Line), I don't know why it won't work. However, try this. function findItemAsLineNumber pItem, pData local i, L set wholeMatches to true -- set the itemDel to TAB put 0 into i repeat for each line L in pData add 1 to i if pItem is among the items of L then return i end repeat return 0 end findItemAsLineNumber You might also try If pitem is an item of L then return i. There is also a filter pData with pitem -- but you'd need to put pData into a temporary variable since it eliminates the rest of the data list except for the line it finds. It also has the the ability to use simple regex arguments in the filter. Raymond E. Griffith ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Line offset of an item (and other similar functions).
Alex Tweedly wrote: J. Landman Gay wrote: Like this: get the number of lines in item 1 to itemoffset(tString,tData) of tData Thank You ! I seem to have a mental block against item expressions that cross line boundaries. My over-structured brain *knows* that items are small things that fit within lines; this is the 3rd or 4th time I've missed something because of that blinkered view. Nope, spoke too soon. That looks convincing, and worked on my initial testing - but doesn't actually work properly in all cases. The problem is that the CRs are included within items - so given data like a,abc,1 b,def,2 c,qwe,3 etc., item 1 is a, item 2 is abc, item 3 is 1 b (i.e. including the cr), item 4 is def, etc. Clearly, that means itemOffset will never match what I think of as items that are first (or last) on each line. In the above case, I want to be able to search for the line containing item b and find the second line. Currently I'm using function findItemAsLineNumber pItem, pData local i, L set wholeMatches to true -- set the itemDel to TAB put 0 into i repeat for each line L in pData add 1 to i if itemOffset(pItem, L) 0 then return i end repeat return 0 end findItemAsLineNumber but I still think there should be an easier (or at least faster, shorter, better) way. -- Alex. Hmmm. Come to think of it, there should also be a lineoffset function. put lineoffset(pItem,pData) into ptestline No need for a repeat for each line construct, although you'd need to turn wholeMatches to false. If you are concerned with making sure that you get an entire item and not a part of it, then you could do a test on it, as, repeat while ptestline 0 if pItem is an item of line ptestline of pData then return ptestline else put lineoffset(pItem,pData,ptestline) into ptestline end if end repeat Just a thought. Raymond E. Griffith ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Line offset of an item (and other similar functions).
Raymond E. Griffith wrote: Alex Tweedly wrote: Nope, spoke too soon. That looks convincing, and worked on my initial testing - but doesn't actually work properly in all cases. The problem is that the CRs are included within items - so given data like a,abc,1 b,def,2 c,qwe,3 etc., item 1 is a, item 2 is abc, item 3 is 1 b (i.e. including the cr), item 4 is def, etc. Clearly, that means itemOffset will never match what I think of as items that are first (or last) on each line. In the above case, I want to be able to search for the line containing item b and find the second line. Currently I'm using function findItemAsLineNumber pItem, pData local i, L set wholeMatches to true -- set the itemDel to TAB put 0 into i repeat for each line L in pData add 1 to i if itemOffset(pItem, L) 0 then return i end repeat return 0 end findItemAsLineNumber but I still think there should be an easier (or at least faster, shorter, better) way. -- Alex. Hmmm. Since L is a separate chunk each time (a single Line), I don't know why it won't work. The code fragment above does work - that's my working but inefficient/large version. What fails is the one-liner using get the number of lines in item 1 to itemOffset(tNeedle, tData) in tData That fails because of the CR-within-item issue. There is also a filter pData with pitem -- but you'd need to put pData into a temporary variable since it eliminates the rest of the data list except for the line it finds. It also has the the ability to use simple regex arguments in the filter. As far as I can see, the filter expressions are not capable of identifying items within a line, they're just too far short of proper regex, so 'filter' can't be used. If there is a way to do it, please let me know. Regex can do it easily enough, so there is the option of put [,^]( pID )[,$] into tRegex put matchChunk(pData, tRegex, t1, t2) into t if t then get the number of lines in char 1 to t2 of pData else get 0 end if I'm not sure if that is much easier or as readily understandable as the longer scripted version - but it's probably faster. or Robert suggested the alternative of adding extra itemDelimiters at the start and end of each line in the data structure, which would be a confusing but feasible way to do it. Thanks everyone - I now have a few ways to do it; I'll stick to the scripted version for maintainability, and if performance becomes an issue I'll benchmark the regex method and the additional delimiter version and see which wins. Thanks -- Alex. No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Line offset of an item (and other similar functions).
Raymond E. Griffith wrote: Hmmm. Come to think of it, there should also be a lineoffset function. put lineoffset(pItem,pData) into ptestline No need for a repeat for each line construct, although you'd need to turn wholeMatches to false. If you are concerned with making sure that you get an entire item and not a part of it, then you could do a test on it, as, repeat while ptestline 0 if pItem is an item of line ptestline of pData then return ptestline else put lineoffset(pItem,pData,ptestline) into ptestline end if end repeat Yes, I tried that approach. The full code fragment isn't quite that straightforward (need to add the offset each time round the loop): put lineOffset(pID, pData) into tLineCount repeat while tLineCount 0 if pID is among the items of line tLineCount of pData then exit repeat else put lineoffset(pID,pData,tLineCount) into t if t = 0 then put 0 into tLineCount exit repeat end if add t to tLineCount end if end repeat and it also works. But this too is much less obvious, and long enough that it would need to be put into a separate function anyway. It's on the list of alternatives to be benchmarked if performance is a problem. Thanks -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Hard Drive serial number
At 05:06 AM 1/25/2005, you wrote: Paul Salyers wrote: RB gobbledygook snipped This is the code I have in VB for a hard drive serial number. Can some one help me convert this to Rev? I can't tell what the RB code does - but if it really is get the hard drive serial number then you should be able to find the function that Ken Ray recently published to this list. A search of the archive should find it (around mid-January). It is multi-platform, so if you only need the Win part of it, it could be shortened. -- Alex. I got that code, but some reason the code produces a different serial number than out current VB code, We need a code in Rev that produces the same serial number as out current VB code. EX: VBCode serial number is 1350804678 Out program currently has this serial number. Rev serial number is 5083-A4C6 I found last nite VB code that also produces this code So we need a serial number code in Rev that will produce a number like the first VB code to work with current programs. Any suggestions? Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: RAD contest...;-)
I believe a full featured word processor would be quite possible. It would require a substantial amount of scripting, but it would be more time consuming than difficult. The issue comes down to how we think of fields. If we want the ability to manipulate every single character as if it were an object - then the basic field in a word processing program would actually need to be a group, containing a background field that is used for all of the background and border issues, and a separate field for each character that is placed on top of the background field as it is typed in. Yes, it would require that every single text field function be scripted, including navigation keys, selecting text - all of that. Thus, working out the script for one of these pseudo-fields (lets call them Xfields just 'cause X is a fun letter) would take a bit of time. However, once scripted, you would have them and be able to do anything you want with them. This means you could have functionalities built into them that go far beyond what standard word processors do. ('cept, I still cannot see a way to do high-quality rotated text) Kerning would be easy. Center, left, right, and full-line alignment would be but a few lines of code. Overlapping characters - no problem. Making the characters wrap around pictures, or conform to the boundaries of a picture would be a little more challenging, but still quite possible. Xfields would take up a fair bit of memory, so that would be a disadvantage. But memory is not so much of a problem on most systems these days. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chipp Walters Sent: Tuesday, January 25, 2005 2:23 AM To: How to use Revolution Subject: Re: RAD contest...;-) Peter, While you are correct in your assumption that a full-featured Word Processing program is not currently possible in RunRev, I have written a pretty snappy script/html/css editor which can be found at: http://www.altuit.com/webs/hemingway/HemTools/HTMLGadget.htm It's not yet final, so some of the menus don't work correctly on Macs, but it 'gets the job done.' The support for drag and drop and colorized script formatting is one of the cooler parts of HTMLgadget. best, Chipp Peter T. Evensen wrote: It is not easy to create a Word Processing program in Revolution. Each edit field only has one alignment style, one set of tabs, etc. So the only way to have separate paragraph styles is to have multiple edit fields and flow between them. As to why would someone want to create a word processing program? Simple: as an educational software publisher, we are developing a number of titles that call for a word processing program that provided guided writing instruction. We need to have tight integration and control of the word processor, and also keep it appropriate for the grade level. ___ 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: Hard Drive serial number
VBCode and Rev number are the same 5083A4C6 is the hexadecimal value of 1350804678 baseConvert(5083A4C6,16,10) convert from hexa to decimal Hope it helps. Thierry On 2005, Jan 25, , at 15:26, Paul Salyers wrote: At 05:06 AM 1/25/2005, you wrote: Paul Salyers wrote: RB gobbledygook snipped This is the code I have in VB for a hard drive serial number. Can some one help me convert this to Rev? I can't tell what the RB code does - but if it really is get the hard drive serial number then you should be able to find the function that Ken Ray recently published to this list. A search of the archive should find it (around mid-January). It is multi-platform, so if you only need the Win part of it, it could be shortened. -- Alex. I got that code, but some reason the code produces a different serial number than out current VB code, We need a code in Rev that produces the same serial number as out current VB code. EX: VBCode serial number is 1350804678 Out program currently has this serial number. Rev serial number is 5083-A4C6 I found last nite VB code that also produces this code So we need a serial number code in Rev that will produce a number like the first VB code to work with current programs. Any suggestions? Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ 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: Trouble with graphics display in OS X
Message: 3 Date: Mon, 24 Jan 2005 17:39:15 -0600 From: J. Landman Gay [EMAIL PROTECTED] Subject: Re: Trouble with graphics display in OS X To: How to use Revolution use-revolution@lists.runrev.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii; format=flowed On 1/24/05 4:15 PM, James Hurley wrote: I was astonished to discover how much slower Windows was in executing Move relative and MoveStopped. The only one of the four which works for me is Set the loc. My only problem is the fact that it is so much slower in OS X than OS 9 or Windows. I think the test speed results are all highly dependent on the graphics card driver and CPU, so they will vary on different machines. OS X uses a much higher quality graphics rendering engine than OS 9, which is still using the very old QuickDraw. OS X is slower to draw in every respect, in any app. You might be able to even out the speed difference by setting the move distances to 2 pixels apart in OS X. I don't think it will be visually noticeable and the move should only take half as long. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com Jacque, There is also a considerable amount of speed variation depending on CPU usage--as much as 30%. When RunRev is fresh in the morning, with few applications competing for attention, a cycle may take 60 ticks. Later in the day, when all the kids are up, and demanding to be noticed, the cycle make slow to 90 ticks. I'm sure all you moms out there are familiar with this. Just for my own understanding of the display problem, I would like to know what determines when the screen is refreshed. There are some RunRev actions which have no effect of the display, for example, add 3 to myVariable, set the myCustomProperty to 3,4, etc. and some that do, for example, add 3 to field 1, set the loc of button myButton to 3,4, set the points of graphic myGraphic to 3,4 return 40,50, etc. Does RunRev engine trigger a screen refresh after the screen action events, or is the refresh independent of RunRev's activity? It would appear, at least in OS X, that RunRev activities which affect the screen do not trigger a screen refresh--adding 1 repeatedly to a field, for example, will display only a few intermittent figures. Naive minds want to know. Jim ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Hard Drive serial number
At 08:41 AM 1/25/2005, Thierry Arbellot wrote: VBCode and Rev number are the same 5083A4C6 is the hexadecimal value of 1350804678 baseConvert(5083A4C6,16,10) convert from hexa to decimal Hope it helps. Thierry I tryed this but it didn't work: on mouseUp --put stsGetSerialNumber(C:) into fld 1 --Hex number this works put baseConvert(stsGetSerialNumber,16,10) into fld 1 --Trying to convert hex to dec --baseConvert(5083A4C6,16,10) --Your suggestion end mouseUp What am I doing wrong the above code didn't produce the same code as our VB programs Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Hard Drive serial number
does this work ? put baseConvert(stsGetSerialNumber(C:),16,10) into fld 1 On 2005, Jan 25, , at 16:03, Paul Salyers wrote: At 08:41 AM 1/25/2005, Thierry Arbellot wrote: VBCode and Rev number are the same 5083A4C6 is the hexadecimal value of 1350804678 baseConvert(5083A4C6,16,10) convert from hexa to decimal Hope it helps. Thierry I tryed this but it didn't work: on mouseUp --put stsGetSerialNumber(C:) into fld 1 --Hex number this works put baseConvert(stsGetSerialNumber,16,10) into fld 1 --Trying to convert hex to dec --baseConvert(5083A4C6,16,10) --Your suggestion end mouseUp What am I doing wrong the above code didn't produce the same code as our VB programs Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ 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: Hard Drive serial number
Paul Salyers wrote: At 08:41 AM 1/25/2005, Thierry Arbellot wrote: VBCode and Rev number are the same 5083A4C6 is the hexadecimal value of 1350804678 baseConvert(5083A4C6,16,10) convert from hexa to decimal Hope it helps. Thierry I tryed this but it didn't work: on mouseUp --put stsGetSerialNumber(C:) into fld 1 --Hex number this works put baseConvert(stsGetSerialNumber,16,10) into fld 1 --Trying to convert hex to dec --baseConvert(5083A4C6,16,10) --Your suggestion end mouseUp No, this is trying to convert the string stsGetSerialNumber from hex to decimal. Try this on mouseUp put stsGetSerialNumber(C:) into tmpVar put baseConvert(tmpVar,16,10) into fld 1 end mouseUp if that doesn't work, try putting the value at each stage and see if it's obvious. (is there any extra character in tmpVar ?) If not, get back to us - WITH the info of what each step gave you. -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Web database suggestions
I'm looking for a simple solution for storing and accessing data on a hosted server. Initially, the database need hold only about 1000 records, containing simple contact information (15 fields). Reading and writing data is the main purpose... only a small amount of searching need take place. Access will be directly from a Rev application (not a browser or html file). Suggestions? I've been experimenting with placing a simple text file on the server and accessing it as if it was a local file, using lines like: put line 1 of url ftp://myaddress.com/data.txt; into var1 This seems to work reasonably well for testing purposes, but access time is rather slow (even through a broadband connection) and the file seems prone to corruption. Comments? Thanks. Richard Miller Imprinter Technologies ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT -- Mac OSX or Classic?
[EMAIL PROTECTED] wrote: By and large, those who still use Classic don't but much software. Seems likely, Richard, but not totally insignificant. To date, standAlone downloads of The Scripter's Scrapbook have been: 15% for for OS9 47% for OSX 38% for Windows Do the percentages differ among paid registrations? -- 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: Web database suggestions
Richard Miller wrote: I'm looking for a simple solution for storing and accessing data on a hosted server. Initially, the database need hold only about 1000 records, containing simple contact information (15 fields). Reading and writing data is the main purpose... only a small amount of searching need take place. Access will be directly from a Rev application (not a browser or html file). Suggestions? SQL, like Andre said. Or, if there's a reason to avoid it, a simple CGI script that will read the file and send lines as needed. Or (depending on the hosted server characteristics), a Rev based server using a different socket. But you should be able to do simple text file - so read on I've been experimenting with placing a simple text file on the server and accessing it as if it was a local file, using lines like: put line 1 of url ftp://myaddress.com/data.txt; into var1 I'd do whole file transfers, rather than (implied) single lines at a time. put url ftp://myaddress.com/data.txt; into tData put line 1 of tData into var1 I'd consider compressing the file (depending on what other uses it is being put to). Guessing each field at an average 20 bytes, you have 1000 * 15 * 20 = 30kbytes - could compress to 10-20K depending on data, and so half the transfer time. This seems to work reasonably well for testing purposes, but access time is rather slow (even through a broadband connection) and the file seems prone to corruption. Comments? It's very worrying that you say the file is liable to corruption - ftp shouldn't do that :-). Is it being accessed by multiple clients at same time ? How are you doing the writes to the remote file ? -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Printing Hell
On Jan 24, 2005, at 7:27 PM, J. Landman Gay wrote: On 1/24/05 8:53 PM, Timothy Miller wrote: Ultimately, the form printed with PERFECT registration. I didn't have to change anything, except to adjust the stack size and the printmargins. No Printing Hell, for me, so far. Praise enter your preferred Supreme Being here ! Oh good. :) After following this saga over a couple of different mailing lists, I have to ask: in Revolution, do you still need the wait statement between sending mouseups to your buttons? (For the curious, Tim was having messaging problems in HyperCard when running a series of send commands.) Why not have the buttons call a handler, and then simply call the handler as often as you like? No send mouseUp, no wait-ing. regards, Geoff Canyon [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: externals kit
on Mon, 24 Jan 2005 Ben Fisher wrote: I'm planning on making a kit/instructions on how to create externals for rev (in c++). I would include a detailed pdf on C++ and have examples of common tasks for externals. This would all use a free compiler such as Dev-C++. These are great news! :-)) Would anyone be interested in paying a modest fee for this? What features or content would you like to have? I could pay US$ 10.00 for each set of specific instructions for the following platforms: Windows, MacOS X and Linux (Debian-Linspire) that makes $30.00 Features or content? How the external could get any information from the card? What information available in the card is not available to the external? You could give examples of mind numbing fast number, text or image processing, like fractals, image filters or text encrypting... (maybe all these are examples too simple, don't know) The way to return this processed information back to the card inside an image, a field, a variable and even a file in the hard disk. Or something alike... ;-) By the way, Ben, looks like you have quite experience in this area of c++ programming, so: Could it be possible to create an external for RunRev that permits to use common dlls (not custom made dlls) from this platform? I think that i've seen such creation for other development platforms, but now, i could not find the reference. Thanks in advance. al = Visit my site: http://www.geocities.com/capellan2000/ __ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
cory richter (cryrichter@yahoo.com)
i have a question is road runner good and could i get it in in bright? respond - Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term' ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Web database suggestions
Alex Tweedly wrote: I'd consider compressing the file (depending on what other uses it is being put to). Guessing each field at an average 20 bytes, you have 1000 * 15 * 20 = 30kbytes - could compress to 10-20K depending on data, and so half the transfer time. Oops - failed Arithmetic 5 (That's Arithmetic 101 for you guys in the US) 1000 * 15 * 20 = *300* kb Definitely SQL is looking like a good bet, depending on the access pattern esp. for reads. If you are reading without searching, does that imply the client needs all, or most, of the data from the file ? If so, simple (compressed) text transfer may be the way to go. -- Alex. No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Web database suggestions
Richard, Considering putting a single text file for each record on your server. That way you won't have all the overhead of downloading the whole thing. Do your business logic (search sort etc) in the client. Have a single index file on the server with all the record .txt files. Hope this makes sense. best, Chipp Richard Miller wrote: I'm looking for a simple solution for storing and accessing data on a hosted server. Initially, the database need hold only about 1000 records, containing simple contact information (15 fields). Reading and writing data is the main purpose... only a small amount of searching need take place. Access will be directly from a Rev application (not a browser or html file). Suggestions? I've been experimenting with placing a simple text file on the server and accessing it as if it was a local file, using lines like: put line 1 of url ftp://myaddress.com/data.txt; into var1 This seems to work reasonably well for testing purposes, but access time is rather slow (even through a broadband connection) and the file seems prone to corruption. Comments? Thanks. Richard Miller Imprinter Technologies ___ 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: OT -- Mac OSX or Classic?
Nicolas, Apple has not shipped a computer that will boot into OS 9 for over a year. At some point in the not too distant future they will no longer support the use of OS 9 Classic inside of OS X. All of the new Apple applications (iTunes, iPhoto, Pages, Keynote, etc.) are OS X only. Somewhere between 10.2 and 10.3, OS X became a better OS than OS 9. If money is a concern (and when is it not) I'd suggest the eMac. It has proven to be a solid computer with a good built-in monitor and ample external expansion. By the time you would add monitor, keyboard and mouse to a Mac mini, you would have the price of an eMac - but the eMac has two RAM slots (instead of the mini's one) and a larger, faster 3 1/2 inch hard drive (instead of a laptop-sized 2 1/2). If you go the eMac route, I'd suggest getting the tilt/swivel stand for it - not only does this let you position the monitor more accurately and easily, it also frees up some desk space because the stand takes up less space than the computer. Paul Looney ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Rev WIKI offline browsing
Geoff Canyon wrote: I've had a wiki up for several years now. There's even a book outline on there that I put together back in 2003. It's open to edit at: http://www.mathfieldday.com:8080/revdocs/Book:Outline Feel free to use the site, or take a different course. Hi Geoff, Thanks a lot for keeping alive this resource for RR and MC developers! :-)) How could i download the whole contents of this wiki to my hard disk, for offline browsing? With this mail list, i could download all files or just a part of them as needed. I see this as an advantage. Thanks in advance for your answer. :-) al = Visit my site: http://www.geocities.com/capellan2000/ __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
How could i save a compressed stack without a file replace warning?
Hi Developers, I'm opening and modifying compressed stacks within an standalone using a Tools palette stack, but when i'm going to save the changes back (compressing again the stack), the program shows a message asking me if i want to replace the archive: file.gz How could i save this compressed stack, and not receive this replace file warning? Thanks in advance. al = Visit my site: http://www.geocities.com/capellan2000/ __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
externals kit
Alejandro Tejada wrote: Could it be possible to create an external for RunRev that permits to use common dlls (not custom made dlls) from this platform? I think that i've seen such creation for other development platforms, but now, i could not find the reference. Look, i've find something alike to a dll translator: ActiveXToNeoBook (ATN) Wizard allows you to convert virtually any ActiveX control into a ready to use NeoBook Plug-in - No Programming Required! The easy-to-use wizard takes you through the whole process in less than 1 minute. ActiveX provides a way for Windows developers and users to incorporate ready-made, modular components, called ActiveX controls, into their applications. Now you can add these same modular components to NeoBook http://www.flashnpack.com/neobook/index.asp Do you think it's possible to make something similar for this platform, Ben? Thanks in advance. al = Visit my site: http://www.geocities.com/capellan2000/ __ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Hard Drive serial number
On 1/25/05 8:41 AM, Thierry Arbellot [EMAIL PROTECTED] wrote: VBCode and Rev number are the same 5083A4C6 is the hexadecimal value of 1350804678 Ah, that's why! Thanks, Thierry! (I was wondering...) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Web database suggestions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 MySQL is only recently ACID compliant, and that only with InnoDB tables (MySQL supports several types), but that is only the beginning. MySQL is only now starting to add support for views, stored procedures, triggers, and so on... PostgreSQL and other mainstream DBs have had these features for years; PostgreSQL has known installed databases of 1TB in size. It is an industrial-strength solution. I see MySQL as more of a toy anymore. And as mentioned, PostgreSQL can be used freely in commercial projects, so long as a few (easily handled) requirements are met -- like displaying the license along with your own, etc. On Jan 25, 2005, at 11:22 AM, Andre Garzia wrote: PostgreSQL got the advantage of being free for commercial purposes so it's a better catch then MySQL, also, experts says that is a better DB as well but I really don't know why, I think it's because it's ACID compliant and I don't know if MySQL is. - --- 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) iD8DBQFB9o7p7aqtWrR9cZoRAnuEAKCANZFo7pCZ6DBIr8TSSI8xXUONNwCeN7rf vbQdj+2asMuxJrYrANQZ7m4= =odcy -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: 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? I was grading my daughter's math papers and thought of a couple things related to this. 1. It is possible to create the general line parameters A, B and C of Ax + By + C =0 without any division, so no 'if' is needed. This can be normalized by dividing by sqrt( A^2 + B^2 ), and since both A and B can't be 0 (assuming the two points defining the line are not identical), there is no division by zero here either. 2 If you save the line description in normal form at mouse down then you can calculate the distance at mouseMove faster. It is simply Ax + By + C, where (x,y) is the point of interest. This is the normalized A, B, C where A = cos(omega) etc., the form you mentioned in other mail. Dar Scott ** 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: [ANN] FixDocs - Remove annoying dialog box in Rev 2.5 docs
At 19:39 24/01/2005, you wrote: Fix docs is now on revonline under utilities or nijinsky's user space. Put there on behalf of Ken. Cheers Bob Until RunRev delivers a fully revised set of docs that includes this, I've created a patch stack that will change your current version of the Rev Docs so that it will no longer attempt to search or filter after typing, but *only* after you hit return. This eliminates the annoying No match dialog box that many of you have experienced. I've uploaded it to RevOnline, but for some reason I can't run it from there, so here's how to use it: 1) Launch Rev 2) Open the docs 3) Open the message box and type: go stack url http://www.sonsothunder.com/FixDocs.rev; 4) Click the Fix Docs button 5) Enjoy the docs! I'd mentioned that I'd do this at the LA RUG meeting on Friday of last week, so here you go... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ 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.7.2 - Release Date: 21/01/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 21/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] GetInLine Updated
Recently, Ken Ray wrote: btw, it tried to go to the thank you screen and it got a 404 trying to go to http://www.cyberhaunt.com/site/thankyou.html Thanks for noticing this -- forgot about the return page variable (haven't used PayPal in a long time). Should be fixed now but I'm guessing yours might be only contribution to come in. :-) Thanks again, Scott Rossi Creative Director Tactile Media, Multimedia 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: Printing Hell
On 24/1/05 6:52 pm, Timothy Miller [EMAIL PROTECTED] wrote: If this is going to be a serious obstacle to a transition to Rev, I think I'll stick with HC until Rev's printing problems are fixed. Are they going to be fixed? Any guess as to when? Do the people at Rev consider them problems? While it will be possible to design the printing features to be more intuitive, and we will certainly do that, the printing features are not broken! There are literally hundreds of commercial applications that do perfect, precise, printing from within Rev, many of them cross-platform. It is perfectly possible to print anything you may want to, including complex reports. Furthermore, once you are used to all the various aspects of the printing system, it is straightforward and flexible. It is true that we can do better in making this area more intuitive, and will do so over time, but the system as it stands now is highly capable. Kind regards, Kevin Kevin Miller ~ [EMAIL PROTECTED] ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Printing Disaster (slightly renamed)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There is at least one serious shortcoming with Rev's current printing system under Windows (refer to bug 2520, an enhancement request relating to this). Rev's printing system works OK for some kinds of printouts, but not for others. I am down to implementing an external which directly accesses the win32 printing APIs at this point in order to do one specific type of printout that I need for my project. On Jan 25, 2005, at 3:38 PM, Kevin Miller wrote: On 24/1/05 6:52 pm, Timothy Miller [EMAIL PROTECTED] wrote: If this is going to be a serious obstacle to a transition to Rev, I think I'll stick with HC until Rev's printing problems are fixed. Are they going to be fixed? Any guess as to when? Do the people at Rev consider them problems? While it will be possible to design the printing features to be more intuitive, and we will certainly do that, the printing features are not broken! There are literally hundreds of commercial applications that do perfect, precise, printing from within Rev, many of them cross-platform. It is perfectly possible to print anything you may want to, including complex reports. Furthermore, once you are used to all the various aspects of the printing system, it is straightforward and flexible. It is true that we can do better in making this area more intuitive, and will do so over time, but the system as it stands now is highly capable. Kind regards, Kevin Kevin Miller ~ [EMAIL PROTECTED] ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ___ 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) iD8DBQFB9rI+7aqtWrR9cZoRAj57AJ9ZFrkXyHvNBxvq1V/GdDj/992LqQCgirDY MyzrGRl43mO9pot3XLl/vpY= =I2Rt -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
Mouse move
is there an command to have: if mouseMove 5 then quit else end if tried everything I could think of no help. Sorry VB programming still a habit! Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Printing Hell
Hi Kevin, On Jan 25, 2005, at 2:38 PM, Kevin Miller wrote: perfect, precise, printing from within Rev, many of them cross-platform. It is perfectly possible to print anything you may want to, including complex I don't think it is possiible to print Unicode documents, ie fields with unicode chars, from within Rev using its current commands. If there is, please correct me. reports. Furthermore, once you are used to all the various aspects of the printing system, it is straightforward and flexible. It is true that we can do better in making this area more intuitive, and will do so over time, but the system as it stands now is highly capable. Kind regards, Kevin Ron ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Printing Disaster (slightly renamed)
Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There is at least one serious shortcoming with Rev's current printing system under Windows (refer to bug 2520, an enhancement request relating to this). Rev's printing system works OK for some kinds of printouts, but not for others. I am down to implementing an external which directly accesses the win32 printing APIs at this point in order to do one specific type of printout that I need for my project. Which Win API will make their font metrics identical to OS X's? Or do I misunderstand BZ#2520? Dan Friedman had a different issue related to line widths, but I couldn't find it in BZ. Dan, what's the #? -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] FixDocs - Remove annoying dialog box in Rev 2.5 docs
Bob Hartley wrote: At 19:39 24/01/2005, you wrote: Fix docs is now on revonline under utilities or nijinsky's user space. Put there on behalf of Ken. Thanks Bob. But especially, thanks Ken. This is really cool ! In fact, I was inspired by this to modify the stack to fix my own favourite annoyance in the docs. I find it intensely irritating that when you try to filter the dictionary on, say, word you get not only the 5 or 6 matches that you wanted, but you also get another 400 or so matches like # keyword $ keyword . abbr keyword etc. But being naturally cautions, and MUCH less experienced than Ken, I'd rather not release it immediately, without some brave souls downloading it and either testing it and/or looking it over. Brave souls (only) can find it atwww.tweedly.net/RunRev/FixDocs2.rev or very in msg box, type go stack url http://www.tweedly.net/RunRev/FixDocs2.rev; Note - even after this change (fix) you can still find, for instance, all the keywords by using a filter string which starts with the space character, as in keyword) (i.e. (space)keyword) -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Printing Disaster (slightly renamed)
I would still appreciate it if one of you guys with printing trouble would give my windows printing script a try. It works great for me - and after some recent tweaking it can handle multiple font sizes on the same line, and subscripted characters. I don't know if it will work for others' uses, but it would be good to find out. If you try it and it does not work, I won't be offended or anything. I will just use the feedback to keep tweaking it until it is perfect. Cheers, Jonathan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Gaskin Sent: Tuesday, January 25, 2005 4:06 PM To: How to use Revolution Subject: Re: Printing Disaster (slightly renamed) Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There is at least one serious shortcoming with Rev's current printing system under Windows (refer to bug 2520, an enhancement request relating to this). Rev's printing system works OK for some kinds of printouts, but not for others. I am down to implementing an external which directly accesses the win32 printing APIs at this point in order to do one specific type of printout that I need for my project. Which Win API will make their font metrics identical to OS X's? Or do I misunderstand BZ#2520? Dan Friedman had a different issue related to line widths, but I couldn't find it in BZ. Dan, what's the #? -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.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: Printing Disaster (slightly renamed)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It doesn't say anything about being identical to OS X's metrics, and I don't need them to be. The APIs referenced (there is a URL in the BZ entry for that bug) make TTF *screen* and *printer* metrics identical under Windows (effectively eliminating the need for formatForPrinting when using TTFs exclusively, a restriction which suits me just fine). On Jan 25, 2005, at 4:06 PM, Richard Gaskin wrote: Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There is at least one serious shortcoming with Rev's current printing system under Windows (refer to bug 2520, an enhancement request relating to this). Rev's printing system works OK for some kinds of printouts, but not for others. I am down to implementing an external which directly accesses the win32 printing APIs at this point in order to do one specific type of printout that I need for my project. Which Win API will make their font metrics identical to OS X's? Or do I misunderstand BZ#2520? Dan Friedman had a different issue related to line widths, but I couldn't find it in BZ. Dan, what's the #? -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.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) iD8DBQFB9rkH7aqtWrR9cZoRAhzLAKCPtnVuxXvY4gYS7B99Ah0sYk3A6QCePBjI ka8YCjnvuHe6vuR27gByRoo= =0ckQ -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: Web database suggestions
Thanks for the database comments. This list remains a great resource. Richard ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Mouse move
Hi Paul - Looking at your example, I'm guessing you want a script that quits if the mouse has been moved more than 5 pixels in any direction since some starting time. Is that correct? If I'm mistaken, can you shed some light? Thanks. Phil Davis Paul Salyers wrote: is there an command to have: if mouseMove 5 then quit else end if tried everything I could think of no help. Sorry VB programming still a habit! Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Printing Disaster (slightly renamed)
On Jan 25, 2005, at 2:06 PM, Richard Gaskin wrote: Which Win API will make their font metrics identical to OS X's? I have taken a sophomoric glance at openType (and some of this might apply to trueType). It specifies (for example) three ways to calculate vertical leading: the right way, the Windows way and the Mac way. The latter two are there for compatibility reasons. This is complicated by the indication that the Windows way is sometimes used to detect overlap. This is only a trivial part of the whole problem, but I would expect that it would be possible to get font table info in either OS. Perhaps some uniform calculations can then be made for some metric values. I have no idea how useful those metics would be in writing to the screen and the printer using interesting (eg. unicode friendly) APIs. Just babbling. 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: Printing Hell
At 9:27 PM -0600 1/24/05, J. Landman Gay wrote: On 1/24/05 8:53 PM, Timothy Miller wrote: Ultimately, the form printed with PERFECT registration. I didn't have to change anything, except to adjust the stack size and the printmargins. No Printing Hell, for me, so far. Praise enter your preferred Supreme Being here ! Oh good. :) After following this saga over a couple of different mailing lists, I have to ask: in Revolution, do you still need the wait statement between sending mouseups to your buttons? (For the curious, Tim was having messaging problems in HyperCard when running a series of send commands.) Hi Jacque, Sorry about the saga g. This particular episode just tested printing registration. All the problems with sending mouseups to checkbox buttons happened in another script in another stack that assembles the data, from itself and other stacks and sends it to the 8.5 X 11 inch stack that actually gets printed. Rev will likely find these other stacks indigestible in their present state. It really seems to have been an speed problem. HyperCard somehow got ahead of itself. I understand that Rev executes much faster than HC, so I don't expect a problem, but I won't know for a couple of weeks. I'll let you know if anything interesting happens. Tim ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Mouse move
On Jan 25, 2005, at 1:57 PM, Paul Salyers wrote: is there an command to have: if mouseMove 5 then I'm guessing at what you want... Look at the screenMouseLoc property. It is a pair of numbers. Script like this: Get the x and y coordinates of the mouse location. Periodically get it again and see if either of the new x or y is greater than some amount from the original value. Best wishes on your screen saver. 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
Printing problem
I didn't get a response on this earlier, but I'm wondering if anyone knows if setting printrotated to true can mess up the printer default settings in some way. I'm going to be in deep kaka at work, if I can't get this fixed. I tested an app on a couple of PCs at work, not having a windows machine at home, and now we can't seem to get them back to having portrait as default. Is there some simple solution? Thanks, Dave ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Printing Hell
Kevin wrote: It is perfectly possible to print anything you may want to, including complex reports. Where do we find the recipe for multi-page reports based on a source stack with scrolling fields? Headers? Footers? Paul Looney ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Line offset of an item (and other similar functions).
On 1/25/05 6:32 AM, Alex Tweedly wrote: Nope, spoke too soon. That looks convincing, and worked on my initial testing - but doesn't actually work properly in all cases. The problem is that the CRs are included within items - so given data like a,abc,1 b,def,2 c,qwe,3 etc., item 1 is a, item 2 is abc, item 3 is 1 b (i.e. including the cr), item 4 is def, etc. Clearly, that means itemOffset will never match what I think of as items that are first (or last) on each line. Oh. Right. I forgot about wholematches when I sent the script. I tinkered some more with this, but couldn't find anything better than Geoff's suggestion. I guess you'll have to do some benchmarking, but his method looks pretty good. -- 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
Re: Printing Hell
On 1/25/05 6:08 AM, Mark Smith wrote: Well, it's not just text, it's the whole printed card, including my nice, neat graphic boxes. The size difference translates to about 2 points of text size. I don't generally do much printing with my rev apps, but the two or three times I've had a go, this size difference has come up. I doubt if I'd have minded much, except for the fact that it generally means the card won't fit on the page, so it's not especially subtleis it just me? This has been on two different OS X laptops, and two different printers, across perhaps 3 or 4 versions of Rev, which is why I've assumed that it's Rev that's doing or not doing something that it should. Is there some OS setting I should know about? Not an OS setting, but it may be due to the printable page area of the printer. All printing scripts have to account for that. It sounds like your card is too large to accomodate the printable page area. Every printer has a minimum side-edge margin beyond which it will not print. Laser printers are usually about half an inch, most inkjets are about a quarter of an inch. To be safe and keep things simple, I usually allow half an inch on each side for a total of one inch of paper where I can't put anything. That means that the maximum card width that will fit on a page is 7.5 inches (U.S. paper size). Multiply screen resolution at 72 pixels per inch times that printable area and you get a card size that can't be larger than 540 pixels wide. If your card is wider than that, you'll run off the page. The actual, visual printing margins are a combination of the allowable printer page width and the printmargins that you set in your handler. If your printer needs .25 inch on each edge before it will lay down ink (18 pixels) and you want a half-inch visual margin, then you'd set the printmargins to 18 on all sides (18,18,18,18). This would give you 18 pixels white space where the printer won't print, plus 18 pixels from the printmargins settings, for a total of 36 pixels of white space, which is half an inch. If you were to set the printmargins to 0,0,0,0 instead, you'd get a quarter-inch margin because the printer won't print any closer to the edge than that. The top and bottom of the printable area varies widely from one printer to another. Almost always, if you allow a one inch top and bottom margin, your page will fit. My inkjet will print down to a quarter inch at the bottom of the page but requires a half inch at the top. Other printers are different. You have to do the same math for top and bottom margins as you do with the left and right margins, but allow a full inch to be safe. The other solution, which you discovered, is to ignore all this math and just scale the entire page down to 85% or whatever fits. -- 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
Re: RAD contest...;-)
Another idea would be to look for a cross-platform library module that does rich text processing and formatting and glue it into Rev as an external. Trolltech (makers of Qt) has a promising-sounding module/solution in their 3.0 release. I am sure there are lots of others. Dan On Jan 25, 2005, at 6:36 AM, Lynch, Jonathan wrote: I believe a full featured word processor would be quite possible. It would require a substantial amount of scripting, but it would be more time consuming than difficult. The issue comes down to how we think of fields. If we want the ability to manipulate every single character as if it were an object - then the basic field in a word processing program would actually need to be a group, containing a background field that is used for all of the background and border issues, and a separate field for each character that is placed on top of the background field as it is typed in. Yes, it would require that every single text field function be scripted, including navigation keys, selecting text - all of that. Thus, working out the script for one of these pseudo-fields (lets call them Xfields just 'cause X is a fun letter) would take a bit of time. However, once scripted, you would have them and be able to do anything you want with them. This means you could have functionalities built into them that go far beyond what standard word processors do. ('cept, I still cannot see a way to do high-quality rotated text) Kerning would be easy. Center, left, right, and full-line alignment would be but a few lines of code. Overlapping characters - no problem. Making the characters wrap around pictures, or conform to the boundaries of a picture would be a little more challenging, but still quite possible. Xfields would take up a fair bit of memory, so that would be a disadvantage. But memory is not so much of a problem on most systems these days. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chipp Walters Sent: Tuesday, January 25, 2005 2:23 AM To: How to use Revolution Subject: Re: RAD contest...;-) Peter, While you are correct in your assumption that a full-featured Word Processing program is not currently possible in RunRev, I have written a pretty snappy script/html/css editor which can be found at: http://www.altuit.com/webs/hemingway/HemTools/HTMLGadget.htm It's not yet final, so some of the menus don't work correctly on Macs, but it 'gets the job done.' The support for drag and drop and colorized script formatting is one of the cooler parts of HTMLgadget. best, Chipp Peter T. Evensen wrote: It is not easy to create a Word Processing program in Revolution. Each edit field only has one alignment style, one set of tabs, etc. So the only way to have separate paragraph styles is to have multiple edit fields and flow between them. As to why would someone want to create a word processing program? Simple: as an educational software publisher, we are developing a number of titles that call for a word processing program that provided guided writing instruction. We need to have tight integration and control of the word processor, and also keep it appropriate for the grade level. ___ 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
Memory error on exit
Hi, I'm new to Revolution and am building my first standalone on a Windows XP machine. My application uses MySQL 4.1.8. When I quit the application I issue revCloseDatabases dbID close this stack The application window exits but then I get a Windows complaint: Application Error: The instruction at 0x10001bdf referenced memory at 0x01520d30. The memory could not be read. Click on OK to terminate the program. Can anyone point out what I may be doing wrong? -- Harvey ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Memory error on exit
At 06:47 PM 1/25/2005, you wrote: Hi, I'm new to Revolution and am building my first standalone on a Windows XP machine. My application uses MySQL 4.1.8. When I quit the application I issue revCloseDatabases dbID close this stack The application window exits but then I get a Windows complaint: Application Error: The instruction at 0x10001bdf referenced memory at 0x01520d30. The memory could not be read. Click on OK to terminate the program. Can anyone point out what I may be doing wrong? -- Harvey Hope so, I get it with non rev programming, I think it's a gift Billy Boy gave us to deal with! Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Memory error on exit
On Jan 25, 2005, at 4:47 PM, Harvey Toyama wrote: Hi, I'm new to Revolution and am building my first standalone on a Windows XP machine. My application uses MySQL 4.1.8. When I quit the application I issue revCloseDatabases dbID close this stack The application window exits but then I get a Windows complaint: Application Error: The instruction at 0x10001bdf referenced memory at 0x01520d30. The memory could not be read. Click on OK to terminate the program. Can anyone point out what I may be doing wrong? Hi Harvey. I'm not sure if this is the cause but there isn't a command name revCloseDatabases. Try changing it to revCloseDatabase without the s. -- Trevor DeVore Blue Mango Multimedia [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Having RunRev Standalone accept and reply to AppleEvents?
I have a one card stack in RunRev that gets saved as an application, and is used to catch, process and reply to AppleEvents. It is supposed to be controllable via AppleEvents. I've gone through over 20 iterations to try to duplicate some existing functionality in an existing Hypercard stack/standalone application. I scanned all the example stacks and RunRev docs I could find that mention AppleScript. Nothing talks about these issues. I can get the standalone app to reply to the first appleevent but then after that it is deaf. But, if I uncomment the two answer lines, this application will reply to all the appleevents sent to it. Second weirdness is that the on appleEvent takes the script to a library stack and for this to work at all, I have to actively go back to the one single card in my standalone application, interact with the buttons and fields, and then go back to whatever stack I got diverted to when processing the appleEvent. To my mind that is completely weird behavior. But if I do not do it, this stack doesn't even work the first time. Oh yes, the docs say that on appleEvent can be in a card script but doing that causes it to not catch a misc class wth a dosc ID appleevent. Here's the stack script: on preOpenStack -- I put the name of the standalone into a global so that I can get back to this standalone stack -- when processing an AppleEvent to do the tasks. global thisStackName start using revSOAP put the name of this stack into thisStackName end preOpenStack on appleEvent theClass,theID -- execute a set of statements global thisStackName -- When I uncomment this answer line, and the other one below, it works more than once -- answer theClass theID if theClass is misc and theID is dosc then request appleEvent data -- get the content of the AppleEvent put it into thedata -- the other answer line that gets uncommented -- answer thedata with thedata push card -- OK this is strange. I'm in this stack script but in actual fact, I'm in some runrev library when -- I'm at this point in the script and unless I actively go back to the stack where this script -- is located, I cannot interact with the fields or buttons of this standalone. So this -- push and pop moves me back to where I would normally think I was. go to stack thisStackName -- this line executes the first time through and then after that, thedata never makes it into the field -- uncomment the answer lines and this line executes as do the remaining lines put thedata into field theSQL -- doSQL takes the SQL and sends it to the database and then puts the results into the soapResult field send doSQL to button execute SQL put field soapResult into theResult -- Since I'm in this stack, and for some reason RunRev wants me to be in another stack, I pop back -- to the library where I am supposed to be. That's the theory at least. pop card -- I format the text for a Mac. replace return with numtochar(13) in theResult -- this sends the data back to the application that sent the appleEvent. reply theResult else -- it is my understanding that if I do not reply then I must pass AppleEvent -- it is also my understanding that if I do reply I do not pass appleEvent pass appleEvent end if end appleEvent So why is this not working? Any ideas? Thanks in advance. Kee Nethery ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: externals kit
Alejandro Tejada wrote: Could it be possible to create an external for RunRev that permits to use common dlls (not custom made dlls) from this platform? I think that i've seen such creation for other development platforms, but now, i could not find the reference. There's a GlueXTRA for Director that does this. Look, i've find something alike to a dll translator: ActiveXToNeoBook (ATN) Wizard allows you to convert virtually any ActiveX control into a ready to use NeoBook Plug-in And on Windows Director directly supports ActiveX in the usual half-*ssed way it does everything! It'd be handy to have Windows DLL support in Rev. But that would stray from RunRev's admirable cross-platform-ism. Good job for a third party though. Jim Lambert ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
ANN: Online FAQ Server and a Plugin.
Hi folks I just created a silly as hell online FAQ Server. It's a simple stack that will connect to a online database and allow user to browse, search and view common FAQs. Any user is also encouraged to upload as many Questions as he can... the database is empty for now but anyone can upload and edit data. Full text search is also implemented. The online database is a MySQL running at my domain WeCode.org. The database routines are those from LibDatabase from Trevor DeVore so this lil app is also a simple demo of database application... The stack is unlocked to anyone can peep and change my code, I put this togheter in the last two hours so it's just a quick script but it might get usefull as people upload their questions (and answers!!!) The stack is available under utilities and also under my username 'soapdog' at revOnline. for those that are not able to access revOnline point your browsers to http://wecode.org/FAQ.rev Cheers andre -- Andre Alves Garzia 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Printing Hell
On 1/25/05 4:01 PM, [EMAIL PROTECTED] wrote: Where do we find the recipe for multi-page reports based on a source stack with scrolling fields? Headers? Footers? In the button revPrintBack of stack revLibrary. This is the library script that gets inserted for printing. See the revPrintText handler in particular. -- 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
len(right(number, 3))
How is this statement wrote in Rev, len(right(number, 3) this in VB will take the number ex: number = 12345678 and cut it down to number = 678 starting at the right and give you the first 3 numbers. I need to do this in Rev. I searched len and got put char (length(it) - 3) to (length(it)) of it into myExtension but don't understand what it means. Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Memory error on exit
Hi, I figured this one out. It turned out that my container for holding the database connection ID wasn't valid in the exit script. With the correct ID the Windows memory fault notice went away. Thanks Trevor and Paul for your replies -- they got me thinking. -- Harvey ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: len(right(number, 3))
put char -4 to -1 of hello world gives you: orld Paul Salyers wrote: How is this statement wrote in Rev, len(right(number, 3) this in VB will take the number ex: number = 12345678 and cut it down to number = 678 starting at the right and give you the first 3 numbers. I need to do this in Rev. I searched len and got put char (length(it) - 3) to (length(it)) of it into myExtension but don't understand what it means. Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ 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: len(right(number, 3))
sez [EMAIL PROTECTED]: How is this statement wrote in Rev, len(right(number, 3) this in VB will take the number ex: number = 12345678 and cut it down to number = 678 starting at the right and give you the first 3 numbers. I need to do this in Rev. I searched len and got put char (length(it) - 3) to (length(it)) of it into myExtension but don't understand what it means. Fortunately, it's simpler than that -- you don't need to worry about the length() function at all! CHar -1 of a string is *always* its *last* character; char -2 of a string, it's next-to-last character; and so on. Like so: put char -3 to -1 of it into myExtension ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution