Re: Mouse messages while down
On 3/18/07 12:12 AM, Sarah Reichelt [EMAIL PROTECTED] wrote: I'm now doing the politically correct mouseMove instead of using repeat while mouse is down. But it still leaves me having to check the location all the time to see whether it is inside one of my 400 buttons. It seems that the mouseControl should be able to report where the mouse is without me having to check it manually. But mouseControl gets stuck when you click down and never changes until the mouse comes up again. Here's another technique for identifying the object at the mouseLoc. This technique is different because it works with no repeat loop, no checking the visible or the rect of any object, no formulas based on the mouseLoc, and no reference to the mouseControl. Create a button named mouseObject with the following script: -- script local sMouseObject on mouseObject if line 1 of the frontscripts is not long id of me then insert script of me into front lock screen click at the mouseloc unlock screen remove script of me from front return sMouseObject end if end mouseObject on mousedown end mousedown on mouseUp put long id of the target into sMouseObject end mouseUp -- script/ Then to test it, put the following handler into the stack script: -- script on mouseMove call mouseObject of button mouseObject of me put the result end mouseMove -- script/ The technique passed my tests. Does it work for you? -- Dick ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Flash and Rev question....
Yes - but I have two problems with that. Apart from not manageing yet to be able to copy and paste text into an altBrowser window on Mac (still think this should be possible by scripting focus issues) is that I can't do transitions between movies. If somene has knowledge of how to do this inside Flash - ie play lists of FLV files then I can either do something server side to pass the playlist to Flash or if it is possible in Flash 5 I could even use the player - but I doubt Flash 5 supports FLV - I think FLV came in with Falsh 7? On 18/03/07, Klaus Major [EMAIL PROTECTED] wrote: Hi David, My understanding is that QuickTime as used in Rev applications can handle Flash tracks - but only Flash 5 tracks? Also there was a problem with the fact that as of last September Flash track support was turned of by default and needed to be manually reset by the user (ot sure if this is still the case) My question is directed at swf movies such as those commonly found on the internet that cannot be played currently by QuickTime is it possible to create a player in Flash 5 format? I guess not, but if so cannot that player be used as a Falsh QuickTime track so that we can play these movies in Rev? Hint: Use the altBrowser external with your stack and display them ALL*** inside of Rev! ;-) ***As long your user does have all necessary internet plugins installed, which is true in most of the cases! Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Installing Ubuntu or other Linuxes
In my last post, I recommended a short article of simple, practical (layman's) advice for those considering the possibility of trying Linux (or my favourite, Ubuntu) and Rev/Linux 2.6.1 for the first time. It has now been properly presented, and you can view it at the following URL if you are interested: http://www.howsoft.com/runrev/installing_ubuntu_or_other_linuxes.htm There is one other simple piece of advice I would like to offer in addition to that given in the article. After downloading ISO files from Ubuntu or any other source, CHECK THE BYTE COUNT IS CORRECT before burning your CD or attempting to install. Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Flash and Rev question....
Dreamhost supports the streaming of FLV files. they also offer an online file converter to FLV. Can't answer the question about transitions. example http://www.burnoutworld.com/cgi-bin/emAlbum.cgi?c=show_thumbs;p=Cars/Car%20Burnout%20Videos http://dreamhost.com Yes - but I have two problems with that. Apart from not manageing yet to be able to copy and paste text into an altBrowser window on Mac (still think this should be possible by scripting focus issues) is that I can't do transitions between movies. If somene has knowledge of how to do this inside Flash - ie play lists of FLV files then I can either do something server side to pass the playlist to Flash or if it is possible in Flash 5 I could even use the player - but I doubt Flash 5 supports FLV - I think FLV came in with Falsh 7? -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Linux-specific technical problems
A few days back I had 2 outstanding Rev/Linux questions that I hadn't managed to clear up on-List. One of them was elegantly solved by Mark Wieder. The other did not have an immediate answer: In Rev Linux 2.6.1, can foreign symbols (with accents) be printed on the printer or not? Some discussion has taken place off-List between myself, Technical Support (Jacque) and Don Jungk who has been extremely helpful. The short answer to the question appears to be No, not in #2.6.1. The first thing to note is the following extract from the Rev Help (Print command) in this respect: Cross-platform note: On Mac OS and Windows systems, the print command uses the current printer. On Unix systems, the print command creates a PostScript file and runs the program specified in the printCommand property, with the file as input. The trouble is that as far as any of us have discovered, there is no way that Rev can create a correctly formatted PS file when attempting to print a whole card. If the text contained by the fields is entirely in English, then there is no problem, but if it contains accented characters, Rev gets its knickers in a twist and produces a file which cannot even be displayed, let alone printed. Our colleague Don is so well up on the question of PS files, that he has diagnosed the problem in the format of the PS file produced by Rev under these circumstances and corrected it! The version he produced displays and prints perfectly! Technical support are therefore registering it as a bug, and although it might not have a workaround in Rev 2.6.1, it is to be hoped that this difficulty will be fixed before the next Rev/Linux release. Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Linux-specific technical problems
Two other morsels of info about the problem of printing accented characters from a card in Rev/Linux 2.6.1: Rev's performance has only been tested using Ubuntu 6.06.1 and Mepis 6.0.1. Technical Support now have an Ubuntu computer available, so queries to them about Rev/Linux (or at least Rev/Ubuntu) can now be quickly understood without exchanging too many e-mails. Progress! Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Memory Leak on export png????
Hi, Mac OS X 10.4.8, MacBook Pro 2.16GHz Core Duo, 2GB RAM Ok, are you using the standard RunRev IDE and not running anything other that the standard RunRev stuff? I set the fill color via the Property Inspector, not via a script, not sure if that would make a difference. I have removed all fill colors and I still get the error when writing file number 289. I've also tried making the object/rectangle smaller, still stops on file 289. Then I tried adding a wait .25 seconds after the export operation, same problem. I then replaced the repeat statement like this: repeat with x = (1 + 288 to (tNum + 288) And it still gave an error on 289! I then tried (300) to (tNum + 300) and got the error on file 608! Then 290 to (tNum + 290), the error occurred on file 298. This is very strange problem! It happens every time on my system and Ian appears to have had the same problem too. would be good to track why it works ok on yours. All the Best Dave on mouseUp local tNum local twID local tFol local tDest put the colorNames into tColors -- NEW put 500 into tNum put the windowID of this stack into twID put /Users/rg/Desktop/untitled folder/ into tFol set the defaultfolder to tFol repeat with x = 1 to tNum if the mouse is down then exit to top end if put x .png into tDest put x into fld counter set the backgroundColor of grp 1 to any line of tColors -- NEW export snapshot from grp 1 to file tDest as PNG end repeat answer Done! end mouseUp Then I added a graphic in case there was something specific to that object type, changing the color of the graphic instead of the group. Same good result. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Unusual Problems
Actually, the first four cards were created in a 1-2-3-4 sequence. This was done after I had completed an earlier version of the program that had 20 cards. So, I decided to do a revision of the program to reduce the number of cards and to correct the printing problem. Since I had run into this problem with the first revision, I decided to create the first four cards in sequence to see it would correct this problem. The first three cards are marked but the fourth card is not marked. I will go ahead and try Jim's suggestion of push and pop, which I am not unfamiliar with. In the meantime any other suggestions? Charles Szasz [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Duration of non supported applications
Thanks for correcting my misunderstanding, Bill. Devin On Mar 16, 2007, at 11:40 PM, Bill Marriott wrote: I can't answer all your Windows question with authority, but let me just point out that if you have Rev 2.7 already, 2.8 is a free upgrade, as 2.9 will be. - Revolution 2.8 is free to users who had an active license as of its release on February 19, 2007, per the usual licensing arrangement. - Revolution 2.9 will be free to anyone who had an active license as of February 1, 2006, or purchased any version after that date. Thus, there are some customers for whom 2.9 will be free, but 2.8 is not. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Memory Leak on export png????
Hi, Some more information on this. If I delete the Text counter object from the group that gets exported the it will output many more images (once it actually did all 500) before stopping. Doing this it will just continue forever, e.g. Most of the time I don't get the error dialog and mouseUp handler never exits. I looked at the system activity monitor and found that 1.68 GB OUT of my 2 GB was allocated to RunRev, so I guess it really is leaking! I also tried storing the image into a variable instead of a file and get the same problems. Not sure what else to try? Would be interesting to find out why it works on your system and not mine or Ian's. Anyone what to try this on their system? Haven't tried this at all under Windows. Thanks a lot and All the Best Dave Hi, Mac OS X 10.4.8, MacBook Pro 2.16GHz Core Duo, 2GB RAM Ok, are you using the standard RunRev IDE and not running anything other that the standard RunRev stuff? I set the fill color via the Property Inspector, not via a script, not sure if that would make a difference. I have removed all fill colors and I still get the error when writing file number 289. I've also tried making the object/rectangle smaller, still stops on file 289. Then I tried adding a wait .25 seconds after the export operation, same problem. I then replaced the repeat statement like this: repeat with x = (1 + 288 to (tNum + 288) And it still gave an error on 289! I then tried (300) to (tNum + 300) and got the error on file 608! Then 290 to (tNum + 290), the error occurred on file 298. This is very strange problem! It happens every time on my system and Ian appears to have had the same problem too. would be good to track why it works ok on yours. All the Best Dave on mouseUp local tNum local twID local tFol local tDest put the colorNames into tColors -- NEW put 500 into tNum put the windowID of this stack into twID put /Users/rg/Desktop/untitled folder/ into tFol set the defaultfolder to tFol repeat with x = 1 to tNum if the mouse is down then exit to top end if put x .png into tDest put x into fld counter set the backgroundColor of grp 1 to any line of tColors -- NEW export snapshot from grp 1 to file tDest as PNG end repeat answer Done! end mouseUp Then I added a graphic in case there was something specific to that object type, changing the color of the graphic instead of the group. Same good result. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Installing Ubuntu or other Linuxes
Bob Warren wrote: In my last post, I recommended a short article of simple, practical (layman's) advice for those considering the possibility of trying Linux (or my favourite, Ubuntu) and Rev/Linux 2.6.1 for the first time. It has now been properly presented, and you can view it at the following URL if you are interested: http://www.howsoft.com/runrev/installing_ubuntu_or_other_linuxes.htm Thanks for that, Bob. One thing I love about Ubuntu, and which bodes well for its broad adoption, is that they have probably the easiest, most convenient, one-CD-image install I've seen. Your article makes it even easier. Good work. There is one other simple piece of advice I would like to offer in addition to that given in the article. After downloading ISO files from Ubuntu or any other source, CHECK THE BYTE COUNT IS CORRECT before burning your CD or attempting to install. Providing checksums seems a relatively common practice these days, but it raises a question: if a hacker can replace the download, what's to prevent them from also replacing the checksum string? I've had a few customers from large organizations ask me to provide a checksum for WebMerge, and when I've asked them that question they've had no answer. Any insight into what I'm overlooking on this would be appreciated. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Memory Leak on export png????
Dave wrote: Some more information on this. If I delete the Text counter object from the group that gets exported the it will output many more images (once it actually did all 500) before stopping. Doing this it will just continue forever, e.g. Most of the time I don't get the error dialog and mouseUp handler never exits. I looked at the system activity monitor and found that 1.68 GB OUT of my 2 GB was allocated to RunRev, so I guess it really is leaking! Is that physical memory or virtual? On OS X I've seen seemingly small apps take up a surprising amount of virtual memory, but operate in a much smaller physical space. Although FWIW I've not seen my Rev usage climb that high while running these tests. Are there plugins or other stacks running which may play a role here? I also tried storing the image into a variable instead of a file and get the same problems. Not sure what else to try? Would be interesting to find out why it works on your system and not mine or Ian's. Anyone what to try this on their system? Haven't tried this at all under Windows. Thanks a lot and All the Best Dave Hi, Mac OS X 10.4.8, MacBook Pro 2.16GHz Core Duo, 2GB RAM Ok, are you using the standard RunRev IDE and not running anything other that the standard RunRev stuff? I did the test both in Rev with only the default installaton, and in MetaCard loaded up with several megs of my own tools. Same good result with each. I set the fill color via the Property Inspector, not via a script, not sure if that would make a difference. I have removed all fill colors and I still get the error when writing file number 289. I've also tried making the object/rectangle smaller, still stops on file 289. In theory it should make no difference, since the Inspector is setting the same property I set in script. If anything, one might expect the script to do a better job of exposing any issue with that since it's working harder, setting the color over and over with each iteration. Unfortunately this week I'm up to my gills in client work, so I won't be able to run another test on this. It may be helpful to submit a test stack which reproduces the problem reliably on your system to [EMAIL PROTECTED], so they can reproduce it there. With their low-level debugging tools I'm sure that if they can reproduce it they'll be able to fix it in short order. -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Memory Leak on export png????
On 19 Mar 2007, at 14:56, Richard Gaskin wrote: Is that physical memory or virtual? On OS X I've seen seemingly small apps take up a surprising amount of virtual memory, but operate in a much smaller physical space. Although FWIW I've not seen my Rev usage climb that high while running these tests. Are there plugins or other stacks running which may play a role here When I tried it, Rev was grabbing 3.5GB of physical RAM (out of 4GB), and quite a bit of virtual RAM as well. Ian ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Revolution and Unicode
On Mar 17, 2007, at 10:19 PM, kee nethery wrote: My primary problem is that I need to access a web page that is UTF8, and convert it to unicode so that I can edit it and save it out as a file of unicode. There are a few good examples of how to deal with unicode in revolution but so far no examples of using get URL http:// ... to obtain the UTF8 web page and convert it to unicode. Here are things I have learned about revolution and unicode after many hours of searching: The DVD from Revcon 2006 has the talk by Devin Asay on unicode and it covers lots of the gotchas on using Unicode. http://www.runrev.com/offers/conference_dvd.php Devin has a web page with some similar content http://revolution.byu.edu/unicode/unicodeInRev.html His stack from the Revcon 2006 presentation has the example scripts that he referred to and although I have a copy from the conference, I cannot find any references to it online to provide a url. Kee, Try: go stack URL http://revolution.byu.edu/unicodeInRev.rev; and: go stack URL http://revolution.byu.edu/unicodeExamples.rev; If this is hopeless using get URL http:// ... to grab utf8 and convert it to unicode it would be great to know that now. Both of these stack show examples of how to read and write utf-8 files. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Memory Leak on export png????
On 19 Mar 2007, at 15:14, Ian Wood wrote: On 19 Mar 2007, at 14:56, Richard Gaskin wrote: Is that physical memory or virtual? On OS X I've seen seemingly small apps take up a surprising amount of virtual memory, but operate in a much smaller physical space. Although FWIW I've not seen my Rev usage climb that high while running these tests. Are there plugins or other stacks running which may play a role here When I tried it, Rev was grabbing 3.5GB of physical RAM (out of 4GB), and quite a bit of virtual RAM as well. Ian Yes, I've just verified it again, it takes 1.8 GB and never gives it back. If I put the counter field back, it stops at file 289 with a write error, if I don't have the counter (or if the counter is pushed behind the rectangle (which is filled with red)) then it writes a lot more files before it hangs. Did you try this on Windows or just on the Mac? Thanks a lot All the Best Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Revolution and Unicode
On Mar 19, 2007, at 9:19 AM, Devin Asay wrote: Devin has a web page with some similar content http://revolution.byu.edu/unicode/unicodeInRev.html His stack from the Revcon 2006 presentation has the example scripts that he referred to and although I have a copy from the conference, I cannot find any references to it online to provide a url. Kee, Try: go stack URL http://revolution.byu.edu/unicodeInRev.rev; and: go stack URL http://revolution.byu.edu/unicodeExamples.rev; Oooops! That should be: go stack URL http://revolution.byu.edu/unicode/unicodeInRev.rev; go stack URL http://revolution.byu.edu/unicode/unicodeExamples.rev; If this is hopeless using get URL http:// ... to grab utf8 and convert it to unicode it would be great to know that now. Both of these stack show examples of how to read and write utf-8 files. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
OS X Standalone Icon Problems
I have completed my standalones for windows and OS X. The icons that I used for windows in the standalone worked fine. I was able to assign my application icons to use in dialogs for my OS X application but I have not had any success with OS X standalones. I cannot replace the generic application icon. Maybe it is wrong size of the OS X application icon. What is the icon size for OS X applications? I have tried opening the information for the application and deleting the icon but that has not worked. Any suggestions? Charles Szasz [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Moving a button
I have tried to move a button based on the properties of two buttons but this does not work. Here is the script: on preopenCard if the label of button check3 is not visible and the label of button check6 is visible then set the location of button check6 to the location of this card end if end preopenCard If I just type set the location of button check6 to the location of this card in the message box, it works. But with the if statement the above does not work. Any suggestions? Charles Szasz [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Moving Checkbox
I have tried to move a button based on the properties of two buttons but this does not work. Here is the script: on preopenCard if the label of button check3 is not visible and the label of button check6 is visible then set the location of button check6 to the location of this card end if end preopenCard If I just type set the location of button check6 to the location of this card in the message box, it works. But with the if statement the above does not work. Any suggestions? Charles Szasz [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Linux-specific technical problems
Don Jungk wrote: Hi Bob, OK, your PS file does have accented characters in it. It appears they are just in the wrong place. This code that I will paste in here is something I use when I have to re-encode a Macintosh font to work on my Linux computer. This should be put after all of the original encoding because it is going to change it. Jacqueline Landman Gay wrote: snip Wow. That's just...wow. The level of expertise on this list never ceases to amaze me. - And if that's your reaction, imagine mine! It's the first time I've even seen a Postscript file. OK Don, thanks very much. I'll sit down calmly and see if I can manage to implement your suggestion, and when inevitably I have problems I'll get back to you. Tell you what, I'll include the whole PS file that does NOT work below. I did think of uploading it to my site, but in the end I decided that perhaps other users could more easily benefit from your explanations with the file in front of them. Perhaps some users will complain about the length of it, so I apologise in advance. Jacque: Thanks for your further suggested experiments. I'll come back with the answers, but it might take a little time because I have quite a lot of non-programming work to do over the next few days. -- THE FOLLOWING POSTSCRIPT FILE DOES NOT DISPLAY CORRECTLY USING THE EVINCE UTILITY IN UBUNTU: -- %!PS-Adobe-3.0 %%Creator: MetaCard 2.6.6 %%DocumentData: Clean8Bit %%MCOrientation Portrait %%BoundingBox: 72 72 540 720 %%EndComments %%BeginProlog /isolatin1encoding [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright /parenleft /parenright /asterisk /plus /comma /minus /period /slash /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question /at /A /B /C /D /E /F /G /H /I /J /K /L /M /N /O /P /Q /R /S /T /U /V /W /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore /quoteleft /a /b /c /d /e /f /g /h /i /j /k /l /m /n /o /p /q /r /s /t /u /v /w /x /y /z /braceleft /bar /braceright /asciitilde /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclamdown /cent /sterling /currency /yen /brokenbar /section /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree /plusminus /twosuperior /threesuperior /acute /mu /paragraph /periodcentered /cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf /threequarters /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis ] def /symbolencoding [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclam /universal /numbersign /existential /percent /ampersand /suchthat /parenleft /parenright /asteriskmath /plus /comma /minus /period /slash /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question /congruent /Alpha /Beta /Chi /Delta /Epsilon /Phi /Gamma /Eta /Iota /theta1 /Kappa /Lambda /Mu /Nu /Omicron /Pi /Theta /Rho /Sigma /Tau /Upsilon /sigma1 /Omega /Xi /Psi /Zeta /bracketleft /therefore /bracketright /perpendicular /underscore /radicalex /alpha /beta /chi /delta /epsilon /phi /gamma /eta /iota /phi1 /kappa /lambda /mu /nu
Did you notice a change in the forums?
Anyone notice any changes in the forums? :-) Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution Ltd http://www.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Memory Leak on export png????
On 19 Mar 2007, at 14:56, Richard Gaskin wrote: Dave wrote: Some more information on this. If I delete the Text counter object from the group that gets exported the it will output many more images (once it actually did all 500) before stopping. Doing this it will just continue forever, e.g. Most of the time I don't get the error dialog and mouseUp handler never exits. I looked at the system activity monitor and found that 1.68 GB OUT of my 2 GB was allocated to RunRev, so I guess it really is leaking! Is that physical memory or virtual? On OS X I've seen seemingly small apps take up a surprising amount of virtual memory, but operate in a much smaller physical space. Real Memory, I can watch free memory drop and get allocated to RunRev until around 1.7 GB level then thing start to slow way down and I either get the error dialog, RunRev hangs or it manages to finish ok. When it does finish ok, if I run it again Free Memory continues to shrink until it reaches the point where I get the error dialog or it hangs. If I close the stack it still doesn't get de-allocated, the only thing that appears to cause it to be de-allocated is quitting RunRev. Although FWIW I've not seen my Rev usage climb that high while running these tests. Are there plugins or other stacks running which may play a role here? The only plug-in I have loaded is the stackFormat plugin, other than that it's a Standard RunRev Install. I have tried it with the stackFileVersion property set to 2.4 and 2.7. I also tried storing the image into a variable instead of a file and get the same problems. Not sure what else to try? Would be interesting to find out why it works on your system and not mine or Ian's. Anyone what to try this on their system? Haven't tried this at all under Windows. Thanks a lot and All the Best Dave Hi, Mac OS X 10.4.8, MacBook Pro 2.16GHz Core Duo, 2GB RAM Ok, are you using the standard RunRev IDE and not running anything other that the standard RunRev stuff? I did the test both in Rev with only the default installaton, and in MetaCard loaded up with several megs of my own tools. Same good result with each. I set the fill color via the Property Inspector, not via a script, not sure if that would make a difference. I have removed all fill colors and I still get the error when writing file number 289. I've also tried making the object/rectangle smaller, still stops on file 289. In theory it should make no difference, since the Inspector is setting the same property I set in script. If anything, one might expect the script to do a better job of exposing any issue with that since it's working harder, setting the color over and over with each iteration. Unfortunately this week I'm up to my gills in client work, so I won't be able to run another test on this. It may be helpful to submit a test stack which reproduces the problem reliably on your system to [EMAIL PROTECTED], so they can reproduce it there. With their low-level debugging tools I'm sure that if they can reproduce it they'll be able to fix it in short order. Ok will do. All the Best Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Did you notice a change in the forums?
Hi Lynn, Anyone notice any changes in the forums? :-) No :-) Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution Ltd http://www.runrev.com Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Moving a button
Charles, the label of a button is a property of that button and does not have properties of it's own. I think what you need to test for is the showName property of the button itself. if the showName of button check3 is not true and the showName of button check6 is true then set the location of button check6 to the location of this card end if Best, Mark On 10 Mar 2007, at 19:31, Charles Szasz wrote: I have tried to move a button based on the properties of two buttons but this does not work. Here is the script: on preopenCard if the label of button check3 is not visible and the label of button check6 is visible then set the location of button check6 to the location of this card end if end preopenCard If I just type set the location of button check6 to the location of this card in the message box, it works. But with the if statement the above does not work. Any suggestions? Charles Szasz [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Memory Leak on export png????
Hi, Some more information: I built a standalone, this writes 288 files but I don't get the error dialog and it doesn't complete correctly, e.g. I don't get the Done! dialog at the end. Looking at the System Activity Monitor it only grabs around 35 MB of real memory 377 MB of virtual - it doesn't allocate the Gigabytes as it does while running under the IDE. Anyone got *any* ideas how to work around this? I am working on a demo and need this to work ASAP, otherwise I may as well just stop work on it now. All the Best Dave On 19 Mar 2007, at 15:14, Ian Wood wrote: On 19 Mar 2007, at 14:56, Richard Gaskin wrote: Is that physical memory or virtual? On OS X I've seen seemingly small apps take up a surprising amount of virtual memory, but operate in a much smaller physical space. Although FWIW I've not seen my Rev usage climb that high while running these tests. Are there plugins or other stacks running which may play a role here When I tried it, Rev was grabbing 3.5GB of physical RAM (out of 4GB), and quite a bit of virtual RAM as well. Ian Yes, I've just verified it again, it takes 1.8 GB and never gives it back. If I put the counter field back, it stops at file 289 with a write error, if I don't have the counter (or if the counter is pushed behind the rectangle (which is filled with red)) then it writes a lot more files before it hangs. Did you try this on Windows or just on the Mac? Thanks a lot All the Best Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Moving a button
Yes, Charles. I'd put a couple of beeps into your script, or some puts to msg, so that you know the various parts of the script are even being called. I suspect your ifs are blocking the flow for some reason. Also, your naming of buttons may not be exactly correct. Joe Wilkins On Mar 10, 2007, at 11:31 AM, Charles Szasz wrote: I have tried to move a button based on the properties of two buttons but this does not work. Here is the script: on preopenCard if the label of button check3 is not visible and the label of button check6 is visible then set the location of button check6 to the location of this card end if end preopenCard If I just type set the location of button check6 to the location of this card in the message box, it works. But with the if statement the above does not work. Any suggestions? Charles Szasz [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Moving Checkbox
Hi Charles, I have tried to move a button based on the properties of two buttons but this does not work. Here is the script: on preopenCard if the label of button check3 is not visible and the label of button check6 is visible then set the location of button check6 to the location of this card end if end preopenCard If I just type set the location of button check6 to the location of this card in the message box, it works. But with the if statement the above does not work. Any suggestions? What exactly do you mean? the label of btn xyz is a string that is displayed instead of the button's name and does not have a property visible per se! Showing/hiding a LABEL (the name) only works by setting the showname of btn xyz to true or false. Maybe this is what you are after? ... if the showname of button check3 = false and the showname of button check6 = true then set the location of button check6 to the location of this card end if ... Charles Szasz [EMAIL PROTECTED] Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Did you notice a change in the forums?
On Mar 19, 2007, at 10:27 AM, Klaus Major wrote: Hi Lynn, Anyone notice any changes in the forums? :-) No :-) I think he means that you no longer have to log in to read the forums (fora?). Only to post. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Bkgnd process that returns immediately
put start /MAX C:\foo.html C:\foo.txt into MyCom set the hideConsoleWindows to true get start cmd /c quote MyCom quote get shell(it) To keep the console window from flashing in the snippet above, Xavier responded use start /b to hide the window. I have tried this, in both line 1 and line 3, and in various ordering. But the console still flashes. What am I doing wrong? What is the entire single line of script with the /b in the recommended position? Gratefully, Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Re: MatchText, MatchChunk and the needle in the haystack
Jim, Thanks for the script snippet. It didn't quite work as shown, but it did get me to think about the problem more carefully. I came up with this: put -Jan-,-Feb-,-Mar-,-Apr-,-May-,-Jun-,-Jul-,-Aug-,-Sep-,-Oct-,-Nov-,-Dec- into mthStrings -- i seemed to need to separate the routine here, running it with the loops as shown didn't function as expected. repeat for each item mth in mthStrings put makeOffsets(mth,textBlock) after varOffsets end repeat sorts line of varOffsets numeric -- note that i added a third param in case i need to force the routine to start elsewhere. it is set to 0 when i run this on the string in question (which by the way is about 5000 chars long) function makeOffsets mth,textBlock,posStart if posStart = empty then put 0 into pos else put posStart into pos end if repeat until varOffset = 0 put offset(mth, textBlock, pos) into varOffset if varOffset 0 and varOffset posStart then if pos 0 then put posreturn after newText end if add varoffset+length(mth)+1 to pos else exit repeat end if end repeat return newText end makeOffsets There is another routine that then does some manipulation on the returned offsets since I need to put the return in BEFORE the date and as luck would have it the day part of the date (format is day-month-year) is not always two characters so I had to add in a routine to check for numerics back from the offset position. Here is the odd thing though. As far as I can see the script should work perfectly on a string without any delims and a bunch of dates in it. Oddly this is not the case. It mostly works (which means I've made a mistake or the file isn't quite as neat as I think it is) but gets thrown off and does not find offsets that it should. It does not seem to matter how long or short the record is nor does it happen consistently in the same place. But it always happens. I've looked for possible length errors (did I overshoot a record) but that does not seem possible or the whole thing would be broken. What happens is, randomly it seems, some lines contain multiple records in a single string. Thoughts greatly appreciated. I could (and probably will) write another routine for expediency to walk through the lines of the partially correct records to see if there is another date line item in it, but I have to say I am stumped as to how it could be skipping over some records and then finding them just fine after the error occurs. I checked for random oddball chars and confirmed that the dates not found are in fact properly formatted as x or xx-JAN-xx. And oh yes, I am able to find the offset(-Nov-, fld 1) in the field that the resulting partially recovered list is placed in. So it does not appear to be an offset bug, not one that I can see anyway. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: MatchText, MatchChunk and the needle in the haystack
Hi, Not 100% sure, but should you start from 1? e.g. put 0 into pos should be: put 1 into pos All the Best Dave On 19 Mar 2007, at 17:24, Bryan McCormick wrote: -- note that i added a third param in case i need to force the routine to start elsewhere. it is set to 0 when i run this on the string in question (which by the way is about 5000 chars long) function makeOffsets mth,textBlock,posStart if posStart = empty then put 0 into pos else put posStart into pos end if repeat until varOffset = 0 put offset(mth, textBlock, pos) into varOffset if varOffset 0 and varOffset posStart then if pos 0 then put posreturn after newText end if add varoffset+length(mth)+1 to pos else exit repeat end if end repeat return newText end makeOffsets ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Revolution and Unicode
Oooops! That should be: go stack URL http://revolution.byu.edu/unicode/unicodeInRev.rev; go stack URL http://revolution.byu.edu/unicode/unicodeExamples.rev; Thanks, these were the stacks I had from the conference and simple as they are, they are extremely useful (probably because they are simple). Thanks for providing the links (and of course for building them). Kee ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Re:MatchText, MatchChunk and the needle in the haystack
Dave, Sadly it does not impact the outcome. Mind you I tried it just in case. I have played with all the vars that I can think of and it does nothing. It does not even appear to matter (as I thought) if there are multiple months (i.e -Jan-) of the same type in a row (thought it might be finding the first and missing the others somehow, but no), it doesn't matter if the date is of xx-Month-xx, or x-Month-XX, nor does it matter the order or how often these appear in the string and it doesn't seem to matter how long or short the record or the file happens to be. It should work as far as I can see. I am stumped at this point. It is an error for sure (on my end) it is just really subtle it seems. Or it will be until someone points the magic finger and says here it is you idiot! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Installing Ubuntu or other Linuxes
Bob Warren wrote: In my last post, I recommended a short article of simple, practical (layman's) advice for those considering the possibility of trying Linux (or my favourite, Ubuntu) and Rev/Linux 2.6.1 for the first time. It has now been properly presented, and you can view it at the following URL if you are interested: http://www.howsoft.com/runrev/installing_ubuntu_or_other_linuxes.htm Richard Gaskin wrote: Thanks for that, Bob. One thing I love about Ubuntu, and which bodes well for its broad adoption, is that they have probably the easiest, most convenient, one-CD-image install I've seen. Your article makes it even easier. Good work. There is one other simple piece of advice I would like to offer in addition to that given in the article. After downloading ISO files from Ubuntu or any other source, CHECK THE BYTE COUNT IS CORRECT before burning your CD or attempting to install. Providing checksums seems a relatively common practice these days, but it raises a question: if a hacker can replace the download, what's to prevent them from also replacing the checksum string? I've had a few customers from large organizations ask me to provide a checksum for WebMerge, and when I've asked them that question they've had no answer. Any insight into what I'm overlooking on this would be appreciated. --- Thank you, and you're welcome. Any flashes of insight will be immediately transmitted. In general terms, perhaps the reliability of the source of the download is the main defence. I've never thought of a checksum as being anything other than a guide to the reliability of the download. In fact, I know absolutely nothing about checksums nowadays, but thinking back to about 35 years ago when I used to work professionally in the computer field, I remember that a checksum was far more than a simple byte count. If the checksum of the file in one's possession did not correspond to the checksum at the source, then it had been altered in some way. So for example, two different files with the same byte counts could certainly be distinguished by their checksums. The most important thing is that the CHECKSUM itself (i.e. a pure number) should be received from a reliable source: the file can therefore be put in the hands of a potentially UNreliable source. But how does one view or calculate the checksum of a file anyway? I don't even know how to do that. It must depend on the TYPE of checksum, i.e. the algorithm used to calculate it. The algorithm needs to guarantee that a unique number is produced for the file, and if a single byte is replaced, the checksum is different. You can probably invent your own algorithm which produces a private style of checksum. Whatever, it remains that the number itself needs to be received from a reliable source, otherwise, nothing doing. If the calculated checksum of the file does not correspond to the number you have been given independently, then it has been hacked. I think that the answer to your question is that if you do not protect your information about this precious little number and provide a reliable source for transmitting it to the person who is going to receive the file, there is no way you can protect your file, wherever it is. I've deliberately let myself rave on like a lunatic, talking a lot of rubbish. Such things can sometimes provoke the creative flash of insight you are looking for. Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: MatchText, MatchChunk and the needle in the haystack
On 3/19/07 10:49 AM, Bryan McCormick [EMAIL PROTECTED] wrote: Dave, Sadly it does not impact the outcome. Mind you I tried it just in case. I have played with all the vars that I can think of and it does nothing. It does not even appear to matter (as I thought) if there are multiple months (i.e -Jan-) of the same type in a row (thought it might be finding the first and missing the others somehow, but no), it doesn't matter if the date is of xx-Month-xx, or x-Month-XX, nor does it matter the order or how often these appear in the string and it doesn't seem to matter how long or short the record or the file happens to be. It should work as far as I can see. I am stumped at this point. It is an error for sure (on my end) it is just really subtle it seems. Or it will be until someone points the magic finger and says here it is you idiot! A couple ideas -1--- make sure that you are not changing the length of the textBlock with replacements. This could accumulate to a significant offset error, depending on how you build your loops. -2--- test for null chars [00 ascii] used in some file formats put length(textBlock) into origCharCnt replace null with empty answer length(textBlock) - origCharCnt -3--- do inspections to see if something is creating a false hit or false miss put the number of lines in textBlock into foundMth repeat for each month string, -Jan-, -Feb-, etc. replace -Jan- with cr Jan- in textBlock get the number of lines in textBlock - sum(foundMth) put it ,after foundMth breakpoint --now inspect the textBlock foundMth for any odd occurrences -- optional is tofilter textBlock without *Jan- thus purging as you go end repeat Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: MatchText, MatchChunk and the needle in the haystack
On Mar 19, 2007, at 11:24 AM, Bryan McCormick wrote: Jim, Thanks for the script snippet. It didn't quite work as shown, but it did get me to think about the problem more carefully. I came up with this: put -Jan-,-Feb-,-Mar-,-Apr-,-May-,-Jun-,-Jul-,-Aug-,-Sep-,-Oct-,- Nov-,-Dec- into mthStrings Bryan, Is it possible that the original text string is not using hyphens consistently? Could there perhaps be en-dash and/or em-dash characters there, which look just like hyphens in monospaced fonts. If the original text was created in MS Word, for example, it often auto-substitutes en- or em-dashes for hyphens. Just a thought. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Linux-specific technical problems
Sorry about that last enormous post under this thread which has polluted the list and is out of sequence. It was held up by the moderator because it was a little over the maximum length allowed for the UR-List, but now it seems that it has finally been released! Way back, I substituted it with a shorter message and a link to the PS info concerned. Just ignor it if you can! Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OS X Standalone Icon Problems
Charles, Finder icons (and Windows application icons) must be in a specific format to work. How are you creating your icons? Devin On Mar 19, 2007, at 9:59 AM, Charles Szasz wrote: I have completed my standalones for windows and OS X. The icons that I used for windows in the standalone worked fine. I was able to assign my application icons to use in dialogs for my OS X application but I have not had any success with OS X standalones. I cannot replace the generic application icon. Maybe it is wrong size of the OS X application icon. What is the icon size for OS X applications? I have tried opening the information for the application and deleting the icon but that has not worked. Any suggestions? Charles Szasz [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Bkgnd process that returns immediately
Hi Mark, One thing you might find helpful is the 'start' Help info. Open a command line (aka DOS) window and at the prompt type: help start ... or if you want to have the info in a text file type: help start my-start-help.txt (the file will be created in the directory indicated on the prompt line) HTH - Phil Davis Mark Powell wrote: put start /MAX C:\foo.html C:\foo.txt into MyCom set the hideConsoleWindows to true get start cmd /c quote MyCom quote get shell(it) To keep the console window from flashing in the snippet above, Xavier responded use start /b to hide the window. I have tried this, in both line 1 and line 3, and in various ordering. But the console still flashes. What am I doing wrong? What is the entire single line of script with the /b in the recommended position? Gratefully, Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE:MatchText, MatchChunk and the needle in the haystack
Dave and Jim, Thanks for the suggestions. I think I have now exhausted all but the ugly walk through by hand and find the errors/solutions. For the record: 1) The textBlock length is not changing since I am not deleting anything from the block (or adding). I am using pos to advance the search ahead in the string so that removal is not necessary. Or at least it should not be. This is confirmed. 2) Did the test for nulls. Nuttin' honey. Good idea though I had forgotten what a pain those can be. I am nonetheless flushing all the text before processing by removing nulls if they exists (they don't so far but that is not to say they might not happen in one or two of the files so it won't hurt). 3) Because these records are very simple and do not contain a whole lot, I was able to blow off any ascii below 32 and above 127. Doing this confirmed that the hyphens all appear to be hyphens. That was a good idea though, it could easily have been an oddball character. 4) Just to double check (it's more than double now but you get the drift) I checked to see if I could find known values in the suspect strings: for example I searched for 5-Jan-99 explicitly because it is one of the errors. here is a fragment of the string it is in. form5-Jan-99War And yes, it is there when I type in put offset(form5-Jan-99War, fld 1) into the msg box. Finds the offset without issue. So the good news is at least the text is not getting munged in some awful way. Unfortunately that means that there is just something brain-dead obvious yet hidden in the script. I am going to take a rest before I have a melt and come back to it in a little while. The better news is at least there are lines that can be checked now. Remember these were single long strings before this stage so if I have to do the ugly and go line by line, at least now I have have lines. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re:MatchText, MatchChunk and the needle in the haystack
Sorry Devin, I did mean Devin not Dave in that last lengthy note. Definitely time to give it a rest. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Bkgnd process that returns immediately
Phil Davis wrote: One thing you might find helpful is the 'start' Help info. Yes, I have done that. What it indicates is that /B is an optional argument to start that starts an application without creating a new window. But what is not clear is, which of the two lines where 'start' is used actually get the argument, and how is the full line supposed to read. put start /MAX C:\foo.html C:\foo.txt into MyCom set the hideConsoleWindows to true get start cmd /c quote MyCom quote get shell(it) Some things I have tried for line 1 that do not work put start /B /MAX C:\foo.html C:\foo.txt into MyCom put start /MAX /B C:\foo.html C:\foo.txt into MyCom put start C:\foo.html /MAX /B C:\foo.txt into MyCom put start /b /MAX C:\foo.html C:\foo.txt into MyCom put start /MAX /b C:\foo.html C:\foo.txt into MyCom put start C:\foo.html /MAX /b C:\foo.txt into MyCom and some attempts at line 3 get start cmd /c /b quote MyCom quote get start cmd /b /c quote MyCom quote get start cmd /c /B quote MyCom quote get start cmd /B /c quote MyCom quote As you can tell, I am aimlessly trying to pin a tail on the donkey. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Bluetooth
Does anyone know of the way that I could use BlueTooth to connect to my Palm Pilot through Revolution? I am on a PowerBook G4 and would use the built in Bluetooth. I know that i would have to use something like open socket, but I don't know which socket to open. The purposes of this is that I would like to have a program that would make the computer act like an external keyboard. -- Matthew Peterson Programmer Christa McAuliffe Space Education Center ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OS X Standalone Icon Problems
On 3/20/07, Charles Szasz [EMAIL PROTECTED] wrote: I have completed my standalones for windows and OS X. The icons that I used for windows in the standalone worked fine. I was able to assign my application icons to use in dialogs for my OS X application but I have not had any success with OS X standalones. I cannot replace the generic application icon. Maybe it is wrong size of the OS X application icon. What is the icon size for OS X applications? I have tried opening the information for the application and deleting the icon but that has not worked. Any suggestions? I find that trick to be unreliable. Try zipping unzipping the application or copying (not moving) the app to another folder. If the icon is correcttly formatted but not displaying, that should fix it. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Sending Web Queries to Excel
I have been looking at Ken Ray's scripts for exchanging data from a worksheet to and from RunRev and Excel. I also see that Gary Rathbone had a tutorial on Web Queries and Excel but I cannot find that information anywhere on it (Gary site appears to be gone). Does anyone have any idea where this is? I'd appreciate guidance on how to send the query in VB form to Excel. I can see how to get the data back once it is on a sheet, so that isn't an issue. The reason for needing to send the query in script form is that there is a requirement to do a large batch. I could do it all in Excel, but as it turns out munging the data is actually a lot easier once it is in RunRev. Thanks so much. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OS X Standalone Icon Problems
On Mar 19, 2007, at 2:10 PM, Sarah Reichelt wrote: On 3/20/07, Charles Szasz [EMAIL PROTECTED] wrote: I have completed my standalones for windows and OS X. The icons that I used for windows in the standalone worked fine. I was able to assign my application icons to use in dialogs for my OS X application but I have not had any success with OS X standalones. I cannot replace the generic application icon. Maybe it is wrong size of the OS X application icon. What is the icon size for OS X applications? I have tried opening the information for the application and deleting the icon but that has not worked. Any suggestions? I find that trick to be unreliable. Try zipping unzipping the application or copying (not moving) the app to another folder. If the icon is correcttly formatted but not displaying, that should fix it. The two techniques I use lately are: 1. If you have PathFinder installed, you can touch the file and it will set the icon up for you. 2. You can option drag the application and it will copy it with the icon in place on the copy. Mark Talluto -- CANELA Software http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Bluetooth
On Mon, 19 Mar 2007 15:08:45 -0600, Matt wrote: Does anyone know of the way that I could use BlueTooth to connect to my Palm Pilot through Revolution? I am on a PowerBook G4 and would use the built in Bluetooth. I know that i would have to use something like open socket, but I don't know which socket to open. The purposes of this is that I would like to have a program that would make the computer act like an external keyboard. Sorry, Matt... I don't know what port you need either. Shame you're on a Mac... there's a Windows program called TapSmart KeyLink for PCs that does exactly what you are asking for: http://www.mobilityware.com/KeyLink/KeyLinkProduct.htm Rated 5 stars on PalmGear.com from the couple dozen people who reviewed it. Maybe this works through Parallels? Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Stackrunner and Databases
Hello all! I'm trying to do two things at once that may not be possible - at least I haven't figured out how yet. I want to use stackRunner to load and run a stack from a URL. This stack needs to access a PostreSQL database on the same server as the stack will come from. The stack works fine in the IDE but when I try to run it from stackRunner with a URL, I get a database error (wrong database type). My question is where do I need to put the database drivers? Can I keep them on the same server as the stacks? I want to have the minimum footprint on the client machines and using a shared or network drive is not a viable option. Any ideas? Len Morgan ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Do you Ubuntu?
Hello all, Im wearing my Paradigma hat here (hey, if you can to RevCon 2005 you could have had one too!) but I also have my Runtime kilt handy. It seems that, in the span of the last two years, Ubuntu has come out of nowhere to achieve an unprecidented popularity. Paradigma is finalizing V4REV Linux and well, Linux you know is something on the minds of folks at Runtime too. Of you running on Linux, how many are using Rev with Ubuntu? Knowing the level of interest in Ubuntu usage would be helpful for both companies. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution Ltd http://www.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Do you Ubuntu?
On Mar 19, 2007, at 3:35 PM, Lynn Fredricks wrote: Hello all, Im wearing my Paradigma hat here (hey, if you can to RevCon 2005 you could have had one too!) but I also have my Runtime kilt handy. It seems that, in the span of the last two years, Ubuntu has come out of nowhere to achieve an unprecidented popularity. Paradigma is finalizing V4REV Linux and well, Linux you know is something on the minds of folks at Runtime too. Of you running on Linux, how many are using Rev with Ubuntu? Knowing the level of interest in Ubuntu usage would be helpful for both companies. I Ubuntu with my CANELA Software hat on all the time. It is great fun! Mark Talluto -- CANELA Software http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Do you Ubuntu?
On Mon, 19 Mar 2007 15:35:17 -0700, Lynn Fredricks wrote: Hello all, Im wearing my Paradigma hat here (hey, if you can to RevCon 2005 you could have had one too!) but I also have my Runtime kilt handy. It seems that, in the span of the last two years, Ubuntu has come out of nowhere to achieve an unprecidented popularity. Paradigma is finalizing V4REV Linux and well, Linux you know is something on the minds of folks at Runtime too. Of you running on Linux, how many are using Rev with Ubuntu? Knowing the level of interest in Ubuntu usage would be helpful for both companies. I use it sporadically with Ubuntu and Kubuntu the only other distro I have loaded on a machine here is Red Hat, but I haven't used that in quite a long time... Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Do you Ubuntu?
Occasional use of Ubuntu and Kubuntu (you really need things to work with both Gnome and KDE desktops). Mainly SuSE with KDE as our standard environment here. Agree though, that Ubuntu is making lots of waves for all the right reasons. Cheers, Rishi. On Tuesday 20 March 2007 09:35, Lynn Fredricks wrote: Hello all, Im wearing my Paradigma hat here (hey, if you can to RevCon 2005 you could have had one too!) but I also have my Runtime kilt handy. It seems that, in the span of the last two years, Ubuntu has come out of nowhere to achieve an unprecidented popularity. Paradigma is finalizing V4REV Linux and well, Linux you know is something on the minds of folks at Runtime too. Of you running on Linux, how many are using Rev with Ubuntu? Knowing the level of interest in Ubuntu usage would be helpful for both companies. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution Ltd http://www.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Do You Ubuntu?
Hello. I primarily use Mac, but my Linux distro of choice is Ubuntu. Last fall I researched all the major distros (Suse, Red Hat, FreeBSD) and it fell at the top (Although Red Hat did come close behind). Thanks, Brent Anderson Christa McAuliffe Space Education Center ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Do you Ubuntu?
Lynn Fredricks wrote: Of you running on Linux, how many are using Rev with Ubuntu? Me, as of yesterday. I'm not sure that counts yet, but it probably will eventually. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Do you Ubuntu?
Lynn Fredricks wrote: Of you running on Linux, how many are using Rev with Ubuntu? Me too, mostly out of curiosity more than need right now. I want to be ready with a Linux option when my clients start looking into it. Phil Davis ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Do you Ubuntu?
Hi Lynn, Of you running on Linux, how many are using Rev with Ubuntu? Knowing the level of interest in Ubuntu usage would be helpful for both companies. I used to be pretty huge on Debian-based Linspire as the best Linux flavor for complete technophobes/newbies. Then I learned that Linspire just partnered with Ubuntu to share technologies. The Linspire operating system will transition to using Ubuntu as their baseline. Linspire will do their Click-And-Run thing for Ubuntu. Ubuntu is clearly the flavor-of-the-month. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Do you Ubuntu?
Of you running on Linux, how many are using Rev with Ubuntu? Knowing the level of interest in Ubuntu usage would be helpful for both companies. I used to be pretty huge on Debian-based Linspire as the best Linux flavor for complete technophobes/newbies. Then I learned that Linspire just partnered with Ubuntu to share technologies. The Linspire operating system will transition to using Ubuntu as their baseline. Linspire will do their Click-And-Run thing for Ubuntu. Ubuntu is clearly the flavor-of-the-month. Hmmm, sounds like I should give Linspire a call again :-) Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution Ltd http://www.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Do you Ubuntu?
Lynn Fredricks wrote: Hello all, Im wearing my Paradigma hat here (hey, if you can to RevCon 2005 you could have had one too!) but I also have my Runtime kilt handy. It seems that, in the span of the last two years, Ubuntu has come out of nowhere to achieve an unprecidented popularity. Paradigma is finalizing V4REV Linux and well, Linux you know is something on the minds of folks at Runtime too. Of you running on Linux, how many are using Rev with Ubuntu? Knowing the level of interest in Ubuntu usage would be helpful for both companies. I'm on Ubuntu, laptop and bigbox, Gnome. Every time the system gets up on its hind legs and runs out to update various software components, all on its own, I get goosebumps. Jerry ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Do you Ubuntu?
Bill Marriott wrote: Ubuntu is clearly the flavor-of-the-month. As far as I can remember it has number one on the distrowatch.com list for a few years now :) Out of the dozen or so distros I've installed over the years.. Xubuntu is my favourite and have had no problems. Got a new rack unit to setup so I am keen to play around with RHEL 5 (or the centos version when ported) and investigate some of the new features they're touting. regards alex ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Bug with token chunk type?
This: put token 1 of s800 ...returns s800, but this: put token 1 of 800s ...returns 800. bug? -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Bug with token chunk type?
And put token 1 of s800s returns s800s The docs say: 'Use the token keyword to parse a Revolution statement.' (I assume that means a transcript statement, in the old parlance). So maybe these strings don't count as Revolution statements? Best, Mark On 20 Mar 2007, at 01:33, Richard Gaskin wrote: This: put token 1 of s800 ...returns s800, but this: put token 1 of 800s ...returns 800. bug? -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Bug with token chunk type?
It appears that only the letters a,b,c,d,e,f, and x operate the way you are expecting. on mouseUp repeat for each char x in abcdefghijklmnopqrstuvwxyz put 111 x into wholeThing put token 1 of wholeThingreturn after fld 1 end repeat end mouseUp put token 1 of s800 ...returns s800, but this: put token 1 of 800s ...returns 800. bug? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Bug with token chunk type?
Bill Marriott wrote: It appears that only the letters a,b,c,d,e,f, and x operate the way you are expecting. on mouseUp repeat for each char x in abcdefghijklmnopqrstuvwxyz put 111 x into wholeThing put token 1 of wholeThingreturn after fld 1 end repeat end mouseUp put token 1 of s800 ...returns s800, but this: put token 1 of 800s ...returns 800. So it's hex. Not sure where the x fits in though. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Bug with token chunk type?
Jacqueline, So it's hex. Not sure where the x fits in though. Ah, brilliant. The x is also used in Hex notation. For example, see the Windows CSIDL values at http://tinyurl.com/7hei ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Bug with token chunk type?
J. Landman Gay wrote: Bill Marriott wrote: It appears that only the letters a,b,c,d,e,f, and x operate the way you are expecting. on mouseUp repeat for each char x in abcdefghijklmnopqrstuvwxyz put 111 x into wholeThing put token 1 of wholeThingreturn after fld 1 end repeat end mouseUp put token 1 of s800 ...returns s800, but this: put token 1 of 800s ...returns 800. So it's hex. Not sure where the x fits in though. If it's hex, then the number really isn't a separate part of the string. So I can see why those are treated differently, but I don't believe they're treated correctly. Why should s be parsed as a separate token from the numeric portion if it trails or is anywhere in the middle, but only if it's at the beginning then it's considered a part of the alphanumeric string? :\ Unless someone can come up with a good reason why this is what one should expect I'll log it as a bug tomorrow. -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Do you Ubuntu?
Lynn- I've got a Kubuntu box at home and we're changing our red hat machines at work over to Kubuntu as well. -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Did you notice a change in the forums?
Devin- Monday, March 19, 2007, 8:41:09 AM, you wrote: I think he means that you no longer have to log in to read the forums (fora?). Only to post. ...and it took how many months of us (well, me at any rate) carping about why this should be done? -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution