Re: Duration of non supported applications
I agree with Ken. It would not hurt and would probably help to update your materials to the newest version of rev. At a minimum, you should re-build the portal standalone with the latest rev engine. In my view that would help legacy stacks survive longer. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University Good morning and thanks to both Ken Ray and you for your advice. When you say the latest rev engine, do you mean 2.8? I have only 2.7, if I bought 2.8 would I have to install Vista? What about testing on Window XP then? Can both systems be present at the same time? Signe Marie ___ 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
[OFF] Input/Info Requested
Hi everyone, I'm helping to prepare some data sheets for RunRev on the topics of FileMaker, SuperCard, and Visual Basic. Basically, trying to understand how Revolution compares with those products in real-world usage. The result would be some narrative, concrete examples, and a comparison chart for each. If you have knowledge using these other products I would very much appreciate talking with you about your experiences and in which situations you would use either Rev or the other product. Please contact me off-list at: bill.marriott(at)runrev.com Thanks in advance! - Bill ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Printing and previewing
Hi Martin When you say invisible do you mean you can see the image by using 'show image'? invisible means invisible, since that was in YOUR code: ... create invisible image imgname in group Pages of stack PrintPreview export snapshot from rect trect of window tWinID to pictvar as JPEG put pictvar into image imgname of stack PrintPreview ... There could be platform / rev version differences at play. invisible is in fact crossversion and crossplatform ;-) 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: Duration of non supported applications
Hello Signe Marie, I agree with Ken. It would not hurt and would probably help to update your materials to the newest version of rev. At a minimum, you should re-build the portal standalone with the latest rev engine. In my view that would help legacy stacks survive longer. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University Good morning and thanks to both Ken Ray and you for your advice. When you say the latest rev engine, do you mean 2.8? I have only 2.7, if I bought 2.8 would I have to install Vista? What about testing on Window XP then? Can both systems be present at the same time? No no, you don't have to install VISTA to use 2.8, have mercy :-D 2.8 is the latest Rev (or MC engine) release and is now compatible with Windows VISTA, that's all. Signe Marie 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
Bkgnd process that returns immediately
A 2005 thread (from Brian, Xavier, Chipp, et. al) talked about re-direction to achieve a non-blocking shell call, using get shell(mycommand mylogfile.log ) My brain cannot get this to work. Let's say I want Rev to start C:\blah.html using shell(), and then continue executing downstream Rev handlers. I've tried variations of get shell(start C:\blah.html ) and get shell(start C:\shellTemp.txt ) where shellTemp.text contains C:\blah.html among other variations but nothing works. The following get shell(start C:\blah.html ) does work, but it is blocking. I understand the ampersand performs a handoff but am ignorant of the overall sequence of events. What am I doing wrong? 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: Bkgnd process that returns immediately
Hi Mark, I just dont use the ampersand and it works like a charm... cheers -=- Xavier [EMAIL PROTECTED] wrote on 16/03/2007 13:21:54: A 2005 thread (from Brian, Xavier, Chipp, et. al) talked about re-direction to achieve a non-blocking shell call, using get shell(mycommand mylogfile.log ) My brain cannot get this to work. Let's say I want Rev to start C:\blah.html using shell(), and then continue executing downstream Rev handlers. I've tried variations of get shell(start C:\blah.html ) and get shell(start C:\shellTemp.txt ) where shellTemp.text contains C:\blah.html among other variations but nothing works. The following get shell(start C:\blah.html ) does work, but it is blocking. I understand the ampersand performs a handoff but am ignorant of the overall sequence of events. What am I doing wrong? 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 Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Société anonyme is organised with limited liability in the Grand Duchy of Luxembourg RC Luxembourg B 60911. - Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER ___ 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: Thank for suggest to build website by runrev.
Bill Marriott wrote: Also, just because it can be used as a CGI doesn't mean this is the only way to use Rev to build a website. You can write a desktop-based content management system in Rev that uploads static HTML files via FTP, for example. And many other possibilities. Indeed: http://www.macworld.com/2003/03/reviews/reviewsinbrief03/ http://www.fourthworld.com/products/webmerge/gallery.html :) -- 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
altBrowser: copy and paste does not work on OSX !
Thanks - good to know. And better to know it works on Windows :) On 14/03/07, Terry Judd [EMAIL PROTECTED] wrote: From: David Bovill [EMAIL PROTECTED] Reply-To: How to use Revolution use-revolution@lists.runrev.com Date: Wed, 14 Mar 2007 15:43:23 +0100 To: How to use Revolution use-revolution@lists.runrev.com Subject: OSX - copy and paste in altBrowser? I still cannot figure out how to get copy and paste work between RunRev and altBrowser? Is this not possible? Or is it a case of being an OSX focus issue, whcih can be got round with some scripting? I'd like to be able to transfer text generated in RunRev or copied from another application to a form shown in an altBrowser window. No go or am I missing something? David - looks to me like this just doesn't work on OSX (works just fine under Windows). You might be able to come up with some sort of horrible hack that involves one or other of the altBrowser callbacks (e.g. XBrowser_click elementID,browserID) and setting the htmlText of the browser directly but it won't be much fun to either implement or use. Sorry I can't be more helpful. Regards, Terry... -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 ___ 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: Bkgnd process that returns immediately
Xavier wrote: I just dont use the ampersand and it works like a charm... Which one of the literal examples works for you? get shell(start C:\blah.html) get shell(start C:\shellTemp.txt) If the second, then what is in the targeted file? ___ 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
Signe - while I'd agree with the purely technical advice given, I'd have to be frank and say that I would never advise the University to do this. It would be a waisted effort in my opinion for you or the university to spend any further resources on software that neither has an internal developer available or proper external support. They have in my opinion three options: 1) Redevelop the software using standard web technology for which there are many developers available. 2) Buy a commercial package 3) Adopt a mixed open source strategy The first 2 will involve a significant up front cost, and most likely result in limited (perhaps severely limited) functionality compared with a RunRev approach, but will work out in the longer run. Either of these are the safe bet. The last approach means a painstaking and somewhat risky attempt to share development resources with other similar institutions and members of this community (you mentioned Sivakatirswami). Unfortunately the present community is not set up to develop open source projects where there is not a strong vested interest (the Metacard IDE). This will I believe and hope will change for the better in the near future. It has the advantage of costing only time - but that is a cost. It also has no guarantee of success, but putting more time into upgrading RunRev based software - without the likelihood of gaining another dedicated developer is not going to work either. If you think you would like to explore the latter (3), my guess is you may get a few people on this list interested enough to look at how we could host and develop shared code for use in Educational environments (you can include me) - if there is a will within the University and it matches a similar need outside - then you have an open source project. That backed with a little petty cash to pay developers (not me :) from this list and your in business. If not I'd advise against using Rev and go for 1) or 2). Hope that doesn't put a downer on things. On 16/03/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I agree with Ken. It would not hurt and would probably help to update your materials to the newest version of rev. At a minimum, you should re-build the portal standalone with the latest rev engine. In my view that would help legacy stacks survive longer. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University Good morning and thanks to both Ken Ray and you for your advice. When you say the latest rev engine, do you mean 2.8? I have only 2.7, if I bought 2.8would I have to install Vista? What about testing on Window XP then? Can both systems be present at the same time? Signe Marie ___ 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
Export Snapshot question
Hi, I need to export a snapshot in a non-compressed format, from looking at the documentation I can export in the following formats: JPEG GIF PNG PBM PGM PPM JPEG is no good for what I want since it is lossy. GIF is no good because it only supports 8 bit color and I need 24 bit (if not 32 bit with Alpha Channel) I'm not sure what PBM, PGM or PPM are? Which leaves PNG which uses lossless compression, however what are the defaults for the image? (Pixel Size, Component Size etc.). Also, is there a way to specify the settings? 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: [OFF] Input/Info Requested
Oh, and add to the list, RealBASIC and Director Bill Marriott [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi everyone, I'm helping to prepare some data sheets for RunRev on the topics of FileMaker, SuperCard, and Visual Basic. Basically, trying to understand how Revolution compares with those products in real-world usage. The result would be some narrative, concrete examples, and a comparison chart for each. If you have knowledge using these other products I would very much appreciate talking with you about your experiences and in which situations you would use either Rev or the other product. Please contact me off-list at: bill.marriott(at)runrev.com Thanks in advance! - Bill ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Linux questions for Jacque
Jacque: I'll try the experiment you suggest, but I think your last suggestion is probably the best one. I'll do it over the weekend if I can. And don't forget that I said I couldn't even TYPE accented characters correctly into a field. That applies not only on my own computer where Ubuntu is installed in English and I need a special key-sequence for the accented chars on my American International Keyboard, it also applies to my wife's machine where she has Ubuntu installed in Portuguese and she uses an ABNT keyboard. Whatever is wrong with Rev/Linux 2.6.1 in this respect won't of course get fixed, but it would be a good idea to try and make sure as far as possible that none of this difficulty appears in the next release. When I send Technical Support a copy of my test program, if you REALLY wanted to, i.e. you are dying of curiosity, you could see what I am talking about yourself simply by copying Rev/Linux and my example project to the Desktop of a running Ubuntu Live CD. It's as simple as that: no installation of Linux or Rev is necessary. Just a thought... [I'd just like to see someone do that with Windows!!!] Bob Bob Warren wrote: put the length of field test 290 put the textfont of char 1 to 290 of field test EMPTY!! put the textfont of char 2 to 3 of field test EMPTY Aha! Jacque wrote: Actually, this is probably correct. Fields can have a textfont property independent of the text chunks inside it. That allows you to have a field's textfont set to Courier and a text chunk in the same field set to something else. If you haven't specifically set the textfont of char 1 to 290, then it will be empty and instead it will inherit the field's font. What this tells me though is that it is most likely not a unicode issue. I was wondering if your problem might be related to the printing failure of Japanese fonts that popped up in another thread. Guess not. One more thing to try: instead of pasting the accented characters from another app, try putting them in using numToChar(). Your fonts may differ from the ones I have on my Mac, but in Courier, for example, the two accented es are numToChar(142) and numToChar(143). I could insert these into a field without pasting by saying: put numToChar(143) into char 1 of fld 1 I wonder if doing it this way would produce characters that Rev can print. Maybe there is something about pasting from another program that is making a difference. If that doesn't work, then a short, 1-card stack with a sample field that fails to print would be a good thing to submit to the QC Center. It should print, RR has verified that, so if it doesn't it needs fixing. ___ 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: Export Snapshot question
Recently, Dave wrote: I need to export a snapshot in a non-compressed format, from looking at the documentation I can export in the following formats: JPEG GIF PNG PBM PGM PPM JPEG is no good for what I want since it is lossy. GIF is no good because it only supports 8 bit color and I need 24 bit (if not 32 bit with Alpha Channel) I'm not sure what PBM, PGM or PPM are? I believe these are formats for Unix but someone else may know better. Which leaves PNG which uses lossless compression, however what are the defaults for the image? (Pixel Size, Component Size etc.). Not sure what you mean by 'defaults' but if you have a 400 x 300 image, it will export with those dimensions at (I believe) the native display resolution. I don't believe there are any configurable settings for PNG. Also, you may not want to rule out JPEG. Depending on what your app does, a JPEG image with minimum compression (JPEGQuality = 100) should have very minimal loss. If you need alpha channel support, however, PNG is your only option. Regards, 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 Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Memory Leak on export png????
Hi All, Please take a look at the handler copied below. This is an adaptation of Ian Wood's export snapshot.rev stack that can be downloaded from Rev Online. I have changed in to use .png files instead of JPEG file, changed the counter rectangle graphic object to have an all green background (RGB = 0,255,0), I then select 500 iterations and press the export from snapshot from object button, this writes 288 files and then gives an execution error: export can't write to file, mask file or container 289.png export snapshot from grp counter to file tDest as PNG I also tried this without setting the background color and this does write all 500 files, but RunRev crashes (unexpectedly quits) doing something unrelated a short while later. Also when this is running, the first 50 to 100 files go quite quickly but after that it starts to slow down. Has anyone else seen this? I'm running on a Mac Pro, Mac OS 10.4.9 RunRev 2.8.0.350. I really need to get this to work correctly as I have do another demo next week and this is 90% of it! Thanks a lot All the Best Dave on doExport tType local tNum local twID local tFol local tDest put text of fld number into tNum put the windowID of this stack into twID put text of fld export folder into tFol if there is not a folder tFol then answer Export folder not found! exit to top end if 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 -- do all your animation etc. here put x into fld counter of grp counter -- now export the file -- if using rev 2.7 and above you can use the 'object' syntax where the image will not be affected by other objects or windows on top of the object if tType is object then export snapshot from grp counter to file tDest as PNG end if -- If using Rev 2.6 or below, you will have to do use the older syntax and makes sure this is the frontmost window! if tType is area then export snapshot from rect (rect of grp counter) of window twID to file tDest as PNG end if end repeat answer Done! end doExport ___ 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 questions for Jacque
Phil Davis wrote: I haven't been following this thread very closely, but I've used the htmlText to correctly display Arabic (after reversing the order of the entities). There's more to it than that, but... If you can manage the display of Arabic using the htmlText field property, maybe something similar could work for Japanese. Food for thought... --- I've also tried mucking around with htmlText myself in an attempt to find a workaround (in Portuguese that is). No luck so far. 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: [OFF] Input/Info Requested
One thought bringing another. Various persons have complained about the absence of good resources for newbies... well, all tools are there to create these resources. If on wikibooks, anybody has the opportunity to correct anything at anytime. Joe, any way some of the material you wrote at: http://www.macinstruct.com/codemojo Or Devin, the excellent material at: http://revolution.byu.edu/chum281.001/schedule.html http://revolution.byu.edu/chum381/schedule.php Could be used to create a revolution programming textbook on wikibooks: http://en.wikibooks.org/wiki/Ruby_Programming http://en.wikibooks.org/wiki/Non-Programmer%27s_Tutorial_for_Python/ Hello%2C_World Any other material out there we may have the right to re-use if we were to start a few pages on revolution programming there? Best regards, Marielle Marielle Lange (PhD), http://widged.com Bite-size Applications for Education ___ 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
image resize syntax in rev 2.8
Hi, Somehow I am not able to find description of image resize function in dictionary of revstudio 2.8. I think it is implemented in rev 2.8 (quite recently have seen it advertised somewhere, just can't remember where..), but can't find any usage instructions... Would be much grateful for any hint on syntax of this function. All the best! Viktoras ___ 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: Export Snapshot question
On 16 Mar 2007, at 17:12, Scott Rossi wrote: Recently, Dave wrote: I need to export a snapshot in a non-compressed format, from looking at the documentation I can export in the following formats: JPEG GIF PNG PBM PGM PPM JPEG is no good for what I want since it is lossy. GIF is no good because it only supports 8 bit color and I need 24 bit (if not 32 bit with Alpha Channel) I'm not sure what PBM, PGM or PPM are? I believe these are formats for Unix but someone else may know better. Which leaves PNG which uses lossless compression, however what are the defaults for the image? (Pixel Size, Component Size etc.). Not sure what you mean by 'defaults' but if you have a 400 x 300 image, it will export with those dimensions at (I believe) the native display resolution. I don't believe there are any configurable settings for PNG. Also, you may not want to rule out JPEG. Depending on what your app does, a JPEG image with minimum compression (JPEGQuality = 100) should have very minimal loss. If you need alpha channel support, however, PNG is your only option. Regards, Thanks Scott, this for TV broadcast equipment and 100% cannot have any loss of data. For the PNG option I meant what is the Pixel Size for the PNG file? 8 Bit, 24 Bit or 32 Bit? The documentation says it will output an alpha channel but I not sure how it decides to do this? 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: [OFF] Input/Info Requested
Marielle Lange wrote: Any other material out there we may have the right to re-use if we were to start a few pages on revolution programming there? I'm not sure it's necessary to replicate content, but you're welcome to link to any of the fine articles community members have contributed to revJournal over the years: http://www.revjournal.com/ -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.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: Linux-specific technical problems
Don wrote: If he is opening the ps file in a text editor, he might want to check what text encoding the editor is using. He probably needs it to be set to WindowsLatin1 or Western European 8859-1 or Western European 1250. These all seem to work for me, but his system and printer may be different. Before copying the Portuguese text from the Ubuntu Text Editor into the field of the Rev stack, I have tried altering the Set Language option (Text Editor) by changing from English (American) to Portuguese (Brazilian). The appearance of the text in the Rev field is exactly the same, and it still fails to produce a correct PS file. --- Bob, Send the file directly to me, but if you can, zip it first to prevent any encoding changes by the email program. As I told Jacqueline, I'm not an expert, but I have had some success. Fonts are definitely the hardest part. DONE. Thanks very much for your interest, Don. ___ 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: Please take a look at the handler copied below. This is an adaptation of Ian Wood's export snapshot.rev stack that can be downloaded from Rev Online. I have changed in to use .png files instead of JPEG file, changed the counter rectangle graphic object to have an all green background (RGB = 0,255,0), I then select 500 iterations and press the export from snapshot from object button, this writes 288 files and then gives an execution error: export can't write to file, mask file or container 289.png export snapshot from grp counter to file tDest as PNG I also tried this without setting the background color and this does write all 500 files, but RunRev crashes (unexpectedly quits) doing something unrelated a short while later. Also when this is running, the first 50 to 100 files go quite quickly but after that it starts to slow down. Has anyone else seen this? I'm running on a Mac Pro, Mac OS 10.4.9 RunRev 2.8.0.350. I simplified the script to make it easier to set up here, and since you're using v2.8 I removed the portion for earlier versions: on mouseUp local tNum local twID local tFol local tDest 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 export snapshot from grp 1 to file tDest as PNG end repeat answer Done! end mouseUp Running this script twice in both MC and Rev completed without error, and afterwards the memory allocation for each was roughly the same as before. What suggests this crash is specifically a memory leak? -- 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 16 Mar 2007, at 17:25, Dave wrote: Hi All, Please take a look at the handler copied below. This is an adaptation of Ian Wood's export snapshot.rev stack that can be downloaded from Rev Online. Oops. What I *hadn't* said about the stack is that it was put together as part of a bug-hunting exercise which I haven't yet reported on Bugzilla. :-( Export snapshot appears not to release RAM once it has been used an unknown number of times. BUT - it's only in the IDE as standalones are fine. This is with 10.4.8, Rev 2.7.4 2.8.0. How did I find this out? Running a soak test on my QTVR to video app, only to come back later and find that a G5 with 4GB RAM was running out of memory... 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: [OFF] Input/Info Requested
Marielle Lange wrote: Any other material out there we may have the right to re-use if we were to start a few pages on revolution programming there? I'm not sure it's necessary to replicate content, but you're welcome to link to any of the fine articles community members have contributed to revJournal over the years: http://www.revjournal.com/ Thanks for this, Richard. I am against replication as well... more trying to find a way to integrate all different resources into one good manual ;-). Marielle ___ 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 3/16/07 10:25 AM, Dave [EMAIL PROTECTED] wrote: Please take a look at the handler copied below. This is an adaptation of Ian Wood's export snapshot.rev stack that can be downloaded from Rev Online. I also tried this without setting the background color and this does write all 500 files, but RunRev crashes (unexpectedly quits) doing something unrelated a short while later. Also when this is running, the first 50 to 100 files go quite quickly but after that it starts to slow down. Has anyone else seen this? I'm running on a Mac Pro, Mac OS 10.4.9 RunRev 2.8.0.350. I really need to get this to work correctly as I have do another demo next week and this is 90% of it! I don't do much of this, but there are a couple bug reports dealing with import, export and images. You might check this out before building too much on something that is not fixed yet. The slow down part is probably related to the Mac Finder and the HD maint. I see the same type of speed change writing text files on WinXP. You might see if -- adding a slight wait of 30 milliseconds helps Rev -- exporting from a substack that you close out of Rev memory and thus maybe purge a dangling heap address in the subStack (possible cause of a crash) --re-think the demo as a beta that runs slower --run as a slower-timed background process --does the crash occur if tested by exporting to a single variable repeatedly, thus not dealing with the hard drive file writing Of course, there may be a more robust way of doing this with an AppleScript app as an agent. Hope this helps 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: Bkgnd process that returns immediately
Hi Mark, actually neither of those will do anything... you forgot to put in a command between start and the '' redirect command... for example: (diruse gets you the size of a folder for example) get shell(diruse /m thisshare findstr /i sub-total) -- retrieves the size of a share on a server which can take lots of time! works but blocks ya waiting for an answer... so what you should do is put diruse /m,* \\buffet\mysharename \\buffet\spacelogs$\diruse\bufduser20061127.log into mycommand get start cmd /c quote mycommand quote get shell(it) this will do what you want! as simple and stupid as you think DOS can be, there's always more to learn and remember which may not always be so intuitive!! cheers Xavier [EMAIL PROTECTED] wrote on 16/03/2007 16:52:36: Xavier wrote: I just dont use the ampersand and it works like a charm... Which one of the literal examples works for you? get shell(start C:\blah.html) get shell(start C:\shellTemp.txt) If the second, then what is in the targeted file? ___ 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 Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Société anonyme is organised with limited liability in the Grand Duchy of Luxembourg RC Luxembourg B 60911. - Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER ___ 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 16 Mar 2007, at 17:59, Richard Gaskin wrote: I simplified the script to make it easier to set up here, and since you're using v2.8 I removed the portion for earlier versions: on mouseUp local tNum local twID local tFol local tDest 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 export snapshot from grp 1 to file tDest as PNG end repeat answer Done! end mouseUp Running this script twice in both MC and Rev completed without error, and afterwards the memory allocation for each was roughly the same as before. What suggests this crash is specifically a memory leak? Hi, Just a guess really, I have had this kind of problem when my external commands (not being used in this test) had a memory leak and the performance went right down and RunRev acted in a similar way. Not really sure if it is a leak, just seems like the most likely. It's interesting that it works on you setup though. What version of Mac OS are you using? 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: Memory Leak on export png????
On 16 Mar 2007, at 18:02, Ian Wood wrote: On 16 Mar 2007, at 17:25, Dave wrote: Hi All, Please take a look at the handler copied below. This is an adaptation of Ian Wood's export snapshot.rev stack that can be downloaded from Rev Online. Oops. What I *hadn't* said about the stack is that it was put together as part of a bug-hunting exercise which I haven't yet reported on Bugzilla. :-( Export snapshot appears not to release RAM once it has been used an unknown number of times. BUT - it's only in the IDE as standalones are fine. This is with 10.4.8, Rev 2.7.4 2.8.0. How did I find this out? Running a soak test on my QTVR to video app, only to come back later and find that a G5 with 4GB RAM was running out of memory... Ok, thanks for this. I only have 2GB of RAM so it hits the problem sooner. Richard reports that it works ok on his system, - Richard did you set the Fill Color of the Graphic to Green? Actually any color seems to cause it. 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
Anyone see this same ?bug?
Seems to be a bug, or just an inconsistency. Am I missing something about Rev? Error = if: missing 'then' if Version Alpha is among the lines of the cardnames then answer This has already been linked to a card exit to top end if This version works by adding parens if Version Alpha is among the lines of (the cardnames) then answer This has already been linked to a card exit to top end if Mac OSX 10.4.7, Rev 2.7.2 IDEnvironment 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: Duration of non supported applications
David, 1) Redevelop the software using standard web technology for which there are many developers available. 2) Buy a commercial package 3) Adopt a mixed open source strategy Unfortunately I cannot agree with you on *ANY* of these recommendations. There's no guarantee (and I would argue, little potential) that these paths are going to ensure better long-term survivability than a Rev-based application that is running just fine on Windows Vista and Mac OS X today. Regarding #1) - So-called standard web technology is a moving target, faster-moving even than operating systems. - It's a lot of development work and testing to get something approaching interactive multimedia on all major browser platforms today. - When you do so, you're still relying on underlying multimedia libraries - Revolution out-of-the-box provides superior capabilities for the end-user experience. Regarding #2) - There's very likely no such animal as an existing off-the-shelf product that does exactly what the existing solution does. - Shoe-horning the solution into a product that might be close enough is simply trading one set of problems for another. - Commercial products ain't free Regarding #3) - This is typical pie-in-the-sky open source solves everything wishful thinking and hand-waving - Most of the issues that pertain to #2 and #3 apply here - Anyone who's worked with open source knows it has its own bugs, issues and traps Now, at BEST what you are saying is that you should spend significant time/effort/money NOW to solve a problem that may not occur for several years, if at all. Why? For all we know, the solution works fine as-is on current operating systems. If for some reason it doesn't (I suppose Vista is the most vulnerable) then, just grab Revolution 2.8 and re-save the standalone. Voila, you've just added 5 to 10 years of compatibility. At WORST you are saying you should throw out perfectly good work for dubious returns with little guarantee that the end result will have the same functions and user experience... just because. Vista just came out yesterday and Intel-based Macs are not that much older. Do you really think a new generation of operating systems is going to be released imminently -- OSes that will somehow by default and unavoidably break hundreds of existing applications? And that large organizations are going to adopt that new paradigm, replace their hardware, and sacrifice their software infrastructure ... overnight? Now a meta-comment: If you really believe this, why the heck are you using Rev at all? These arguments could be used against any desktop application built with Rev, and undermine anyone trying to sell software based on the Rev platform. For what it's worth, when I was testing Windows Vista I ran a standalone I created in July 2003 with Rev without recompiling. It worked just great. Of course I wasn't doing tricky stuff like registry edits but then again, how many standalones do that, and what is the chance an educational solution does so? The truth is, Rev is the one development platform that just works across a vast array of operating systems and versions. You can run it on Windows 98. You can run it on Mac OS X 10.4.9. Yeah, I know there are glitches here and there, and you have to use 2.6.1 for Linux and Mac Classic (that will change). But understand that it DOES work and is remarkably robust. I'm not sure if MetaCard was available in 1997, but for all intents and purposes, those stacks still work fine a DECADE later, on both Windows 98 and Vista. As for resources there are thousands of users of Rev, more each day, and I'm sure any of them would appreciate a referral for consulting should that dark day arrive when the apps finally, really do have to be updated or replaced. THAT is the time to worry about putting the train on different tracks... not today. (The Aztecs seem to think it's all over in 2012. Whatever comes first -- Rev apps breaking or the end of the world.) I think for all practical purposes the answer to the original poster is: Find a Vista machine and try your stuff out. If for some reason it doesn't work, try re-building the standalone with Rev 2.8. It will undoubtedly work great and continue to do so for the forseeable future. I'f I'm somehow misunderstanding you, please help clarify. - Bill ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OFF] Input/Info Requested
Hi Marielle, A few weeks back I broached that very issue. Or, maybe, even more ambitiously, about the total scope of available resources for RunRev. It had become pretty obvious to me that there are just tons and tons of materials, suggestions, approaches, et. out there, but the newbie to Rev has got to be bewildered. When I was working heavily with FutureBasic, I was pushing for the design of a few really good templates to be used by newbies of FB a starting point. We even did a few; and, except for its Mac only capabilities, FB is the best, fastest and easiest there is. Lots of it are in assembly language, and like this list, the FB lists are impressive, though not as hurried. Were it not for the fact that I am now simply swamped with architectural commitments, I thoroughly intended to pursue the template concept of Macinstruct.com;but it turns out that I'm actually having to take an hiatus from my column on Revolution there; perhaps for as long as a couple of months. Frankly, templates make less sense with Rev, because the interface design is so simple to begin with; meaning that an evaluation of the available resource when pursuing a specific type of design, plus a heads up with respect to the potential gotchas, is probably a better approach. Break down the kinds of things that might be attempted by someone, and they outline an approach that they might use to achieve those ends. I don't think there is a lot of new ground that would have to be broken, just guidance as to where to look for an specific challenge; since you can spend a lifetime reading all the stuff that is available, but not really find the things that a person might need at the time. I'm just running off at the mouth, so excuse me. I know you understand, probably far better than I do. With FB, I tried to recruit a team to work with me on the template approach, and got a few takers, but ended up doing most of it myself. I assume it would be the same here, and I don't currently have the free time to take somethng like this on. Much as I would love the challenge. Joe Wilkins On Mar 16, 2007, at 10:33 AM, Marielle Lange wrote: One thought bringing another. Various persons have complained about the absence of good resources for newbies... well, all tools are there to create these resources. If on wikibooks, anybody has the opportunity to correct anything at anytime. Joe, any way some of the material you wrote at: http://www.macinstruct.com/codemojo Or Devin, the excellent material at: http://revolution.byu.edu/chum281.001/schedule.html http://revolution.byu.edu/chum381/schedule.php Could be used to create a revolution programming textbook on wikibooks: http://en.wikibooks.org/wiki/Ruby_Programming http://en.wikibooks.org/wiki/Non-Programmer% 27s_Tutorial_for_Python/Hello%2C_World Any other material out there we may have the right to re-use if we were to start a few pages on revolution programming there? Best regards, Marielle ___ 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 16 Mar 2007, at 18:13, Jim Ault wrote: On 3/16/07 10:25 AM, Dave [EMAIL PROTECTED] wrote: Please take a look at the handler copied below. This is an adaptation of Ian Wood's export snapshot.rev stack that can be downloaded from Rev Online. I also tried this without setting the background color and this does write all 500 files, but RunRev crashes (unexpectedly quits) doing something unrelated a short while later. Also when this is running, the first 50 to 100 files go quite quickly but after that it starts to slow down. Has anyone else seen this? I'm running on a Mac Pro, Mac OS 10.4.9 RunRev 2.8.0.350. I really need to get this to work correctly as I have do another demo next week and this is 90% of it! I don't do much of this, but there are a couple bug reports dealing with import, export and images. You might check this out before building too much on something that is not fixed yet. The slow down part is probably related to the Mac Finder and the HD maint. I see the same type of speed change writing text files on WinXP. You might see if -- adding a slight wait of 30 milliseconds helps Rev -- exporting from a substack that you close out of Rev memory and thus maybe purge a dangling heap address in the subStack (possible cause of a crash) --re-think the demo as a beta that runs slower --run as a slower-timed background process --does the crash occur if tested by exporting to a single variable repeatedly, thus not dealing with the hard drive file writing Of course, there may be a more robust way of doing this with an AppleScript app as an agent. Hope this helps Thanks Jim, I am doing some playing around now. I'm sure one of your suggestions will help. Have a Great Weekend. 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
Implications of limited writes to flash drives
Flash memory has an inherent limitation on the number of reliable write operations. Unfortunately, that number is measured not in millions, but in thousands: Like all flash memory devices, flash drives can sustain only a limited number of write and erase cycles before failure. Mid-range flash drives under normal conditions will support several hundred thousand cycles, although write operations will gradually slow as the device ages. This should be a consideration when using a flash drive to run application software or an operating system. http://en.wikipedia.org/wiki/USB_flash_drive#Strengths_and_weaknesses The implications for applications are significant, esp. those which might seek the user convenience of an auto-save feature. Have any of you had a flash drive fail on writes? How serious do you think this limitation is in practical use? -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.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: Export Snapshot question
Just FYI, PPM is a very simple non-compressed format which can be binary ( filesize about that of TIFF) or ASCII text (file size several times bigger). http://netpbm.sourceforge.net/doc/ppm.html Best, Mark On 16 Mar 2007, at 17:43, Dave wrote: Thanks Scott, this for TV broadcast equipment and 100% cannot have any loss of data. For the PNG option I meant what is the Pixel Size for the PNG file? 8 Bit, 24 Bit or 32 Bit? The documentation says it will output an alpha channel but I not sure how it decides to do this? 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 ___ 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
On Mar 16, 2007, at 1:25 AM, [EMAIL PROTECTED] wrote: I agree with Ken. It would not hurt and would probably help to update your materials to the newest version of rev. At a minimum, you should re-build the portal standalone with the latest rev engine. In my view that would help legacy stacks survive longer. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University Good morning and thanks to both Ken Ray and you for your advice. When you say the latest rev engine, do you mean 2.8? I have only 2.7, if I bought 2.8 would I have to install Vista? What about testing on Window XP then? Can both systems be present at the same time? 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. The comments of others indicate that chances are very high that Rev apps and stacks will just work on Vista. 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: [OFF] Input/Info Requested
[various comments about the wealth of resources available for Rev newbies] I do appreciate there's a lot of good stuff out there. As a not-so-newbie I still find it bewildering where to look, and the landscape is constantly changing. It seems even a mere directory of these is a daunting challenge. It's my opinion that we (you can consider that we the company, or the community, or both) need to develop a ore complete library of self-contained starter kits for various tasks that Revolution is well-suited for. A kit being: narrative; code snippets; sample stacks, etc. That library should be at runrev.com, and actively maintained. They should all - share the same look-and-feel in stacks - use consistent style-sheets/templates for documentation - meet standards of professionalism - be dead-simple for the newcomer (no weird xTalk tricks or fancy-shmancy footwork) I think a good example currently is the XML stack. Anyone who's tried to understand the revXML library is familiar with it. Many of the newsletter articles we've seen over the past few months are candidates. I'm curious about what some other kits might consist of. Email client? Media organizer? What does the community think the topics should be? And is there anyone interested in writing them? ___ 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
On Mar 15, 2007, at 4:23 AM, Signe Marie Sanne wrote: So far I have used MetaCard and engine 2.6.6. The programs make use of a portal stack (thanks to Sivakatirswami) which downloads/opens the various educational programs. This downloading is done by http. Signe, I'd be interested in hearing more about this. I'm developing a similar approach with Rev, which I'm calling the Learning Web. You can take a look at it by downloading the beta version at Mac OS X: http://asay.byu.edu/LW_MacOSX.dmg Windows: http://asay.byu.edu/LW_setup.exe A couple of people on the list have allowed me to link to stacks they've created as a demonstration of the concept. There are also links to a couple of stacks I've created and one that one of my students did. We ought to explore the creation of a repository of web-based instructional stacks that could be run in this way. Tell me what you think. 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
Unusual Problem
I am using Rev. 2.7.4 Studio for the Mac with OS 10.4.8. I set up my printing routine to print three pages that are marked. Based on the user's responses, there is an optional fourth page or card that can be printed if additional scores are entered by the user with the other three pages at the same time. I used the Switch command to include the fourth page if there is or is not something to be printed. The routine works beautfiul but here are my two questions: 1. When the printing is completed that has four pages or cards, the user is on the fourth screen that has the optional page that was printed. The print button is located on the third page where the user started the printing. This occurs on both XP and OS X standalones. I am using the print card command with Open Printing. Why is the user not returned to the third card where the print button is after printing is completed? 2. Why are pages that are printed not in collated order? On both XP and OS X, the page are printed with pages numbered page 3, page 1, page 2 and page 4 in this order. This occurs in both the IDE and standalones. I know I don't give the user to choose collation as an option but you would think that the marked pages would be printed in the same order (1,2,3) which coincides with the marked order of the cards. These are small quirks but I am curious why this happens? 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: [OFF] Input/Info Requested
Bill Marriott wrote: It's my opinion that we (you can consider that we the company, or the community, or both) need to develop a ore complete library of self-contained starter kits for various tasks that Revolution is well-suited for. A kit being: narrative; code snippets; sample stacks, etc. That library should be at runrev.com, and actively maintained. They should all - share the same look-and-feel in stacks - use consistent style-sheets/templates for documentation - meet standards of professionalism - be dead-simple for the newcomer (no weird xTalk tricks or fancy-shmancy footwork) These meet all the above requirements for basic newcomer info: /http://support.runrev.com/scriptingconferences/ They are not specifically task-related, though; they are more concept-related. They do contain sections for narrative, code snippets, and example stacks, all wrapped in a consistent interface. The goal in producing these tutorial stacks was to provide a consistent library of basic instruction, located on Runtime's site. I'd be happy to make the template stack accessible to anyone who wants to use it for task-specific tutorials. The template stack has already been standardized for branding, appearance, and presentation. -- 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: Memory Leak on export png????
Dave wrote: What suggests this crash is specifically a memory leak? Just a guess really, I have had this kind of problem when my external commands (not being used in this test) had a memory leak and the performance went right down and RunRev acted in a similar way. Not really sure if it is a leak, just seems like the most likely. It's interesting that it works on you setup though. What version of Mac OS are you using? Mac OS X 10.4.8, MacBook Pro 2.16GHz Core Duo, 2GB RAM Richard reports that it works ok on his system, - Richard did you set the Fill Color of the Graphic to Green? Actually any color seems to cause it. I just added a line to set the color of the group to a random color -- works just as well: 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. -- 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: [OFF] Input/Info Requested
On Mar 16, 2007, at 2:32 PM, Bill Marriott wrote: [various comments about the wealth of resources available for Rev newbies] I do appreciate there's a lot of good stuff out there. As a not-so- newbie I still find it bewildering where to look, and the landscape is constantly changing. It seems even a mere directory of these is a daunting challenge. It's my opinion that we (you can consider that we the company, or the community, or both) need to develop a ore complete library of self- contained starter kits for various tasks that Revolution is well-suited for. A kit being: narrative; code snippets; sample stacks, etc. That library should be at runrev.com, and actively maintained. They should all - share the same look-and-feel in stacks - use consistent style-sheets/templates for documentation - meet standards of professionalism - be dead-simple for the newcomer (no weird xTalk tricks or fancy- shmancy footwork) I think a good example currently is the XML stack. Anyone who's tried to understand the revXML library is familiar with it. Many of the newsletter articles we've seen over the past few months are candidates. I'm curious about what some other kits might consist of. Email client? Media organizer? What does the community think the topics should be? And is there anyone interested in writing them? Aren't there already a lot of these out there? I've done several myself for my classes. The Online chat tutorials that Jacque moderated a few months back have same great tutorial stacks. You're right Bill. It ought to be shepherded by runrev and kept in a consistently-maintained repository at runrev.com. That's gonna be stop 1 for newbies looking for online help with Rev. 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: Unusual Problem
Charles Szasz wrote: 1. When the printing is completed that has four pages or cards, the user is on the fourth screen that has the optional page that was printed. The print button is located on the third page where the user started the printing. This occurs on both XP and OS X standalones. I am using the print card command with Open Printing. Why is the user not returned to the third card where the print button is after printing is completed? Your script probably goes to each card to print it, so you are left on the last card that was sent to the printer. Just add a line after the printing routine that goes back to card 3. 2. Why are pages that are printed not in collated order? On both XP and OS X, the page are printed with pages numbered page 3, page 1, page 2 and page 4 in this order. This occurs in both the IDE and standalones. I know I don't give the user to choose collation as an option but you would think that the marked pages would be printed in the same order (1,2,3) which coincides with the marked order of the cards. Are your cards in logical order, so that the third card the user sees is really card 3 in the stack? When Rev prints marked cards, it does them in the stack order. If the card that the user sees as the second card is really in the stack's fourth position, it will be printed fourth. -- 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: [OFF] Input/Info Requested
On Mar 16, 2007, at 2:58 PM, J. Landman Gay wrote: Bill Marriott wrote: It's my opinion that we (you can consider that we the company, or the community, or both) need to develop a ore complete library of self-contained starter kits for various tasks that Revolution is well-suited for. A kit being: narrative; code snippets; sample stacks, etc. That library should be at runrev.com, and actively maintained. They should all - share the same look-and-feel in stacks - use consistent style-sheets/templates for documentation - meet standards of professionalism - be dead-simple for the newcomer (no weird xTalk tricks or fancy- shmancy footwork) These meet all the above requirements for basic newcomer info: /http://support.runrev.com/scriptingconferences/ They are not specifically task-related, though; they are more concept-related. They do contain sections for narrative, code snippets, and example stacks, all wrapped in a consistent interface. The goal in producing these tutorial stacks was to provide a consistent library of basic instruction, located on Runtime's site. I'd be happy to make the template stack accessible to anyone who wants to use it for task-specific tutorials. The template stack has already been standardized for branding, appearance, and presentation. Thanks, Jacque for that reminder--I took the chance to revisit some of the scripting conference stacks, and was reminded again how well- done they are. It seems like this series could be easily adapted and extended beyond just the scripting conference. I'd be happy, for instance, to contribute a unicode tutorial. Some of the comments here have been right on target--there is plenty of material out there; it just isn't obvious to the newcomer what the best source is. In fact, I admit myself that I'm a bit bewildered at the amount of good material out there. Happy St. Paddy's Day, everyone! 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: Anyone see this same ?bug?
I get the same error every once in a while, but I just rearrange it, or add parentheses and then it works again. It has only happened two or three times, and has always been fairly easy to solve, but I never am able to see why it is throwing an error. Good to know I am not the only one. TTFN Bridger Christa McAuliffe Space Education Center On 3/16/07, Jim Ault [EMAIL PROTECTED] wrote: Seems to be a bug, or just an inconsistency. Am I missing something about Rev? Error = if: missing 'then' if Version Alpha is among the lines of the cardnames then answer This has already been linked to a card exit to top end if This version works by adding parens if Version Alpha is among the lines of (the cardnames) then answer This has already been linked to a card exit to top end if Mac OSX 10.4.7, Rev 2.7.2 IDEnvironment 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 ___ 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: Switching screen res on OS X
On Mar 15, 2007, at 9:30 PM, Sarah Reichelt wrote: Hi All, Several times people have asked how to change screen resolution programmatically. I usually recommended the Terminal command cscreen but it is no longer under development and it does not handle all resolutions especially the stretched ones. I have now found another option called SwitchResX http://www.switchres.info/html/SRX/About.html. It is not free, but it is a lot more powerful and as it is AppleScriptable, you can use it in your scripts once it is installed. Cheers, Sarah Good info Sarah. Thanks! 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
OT Adobe Serial/Ethical Question
Ethics and logistics question: I just bought a used iMac with GoLive CS installed on it. It didn't come with the install disks, but the program is authorized for the computer. I'm wondering if I technically have the right to use it? If the answer is yes, then do I have the right to move it to another HD/CPU and delete the original? Of course, I don't know how to access the serial number on the iMac to authorize the copied program, but I'm curious if I should even wonder about it, or just dump it. Ideally, I'd like to be able to move the program to my main computer, and reformat the iMac and give it to my mom... the original plan. If I'm being a scurvy dog, I can just dump the CS version and continue to use my purchased copy of GoLive in Classic mode. But I'm curious... Thanks Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Implications of limited writes to flash drives
Richard Gaskin wrote: Like all flash memory devices, flash drives can sustain only a limited number of write and erase cycles before failure. Mid-range flash drives under normal conditions will support several hundred thousand cycles, although write operations will gradually slow as the device ages. This should be a consideration when using a flash drive to run application software or an operating system. http://en.wikipedia.org/wiki/USB_flash_drive#Strengths_and_weaknesses --- Interestingly, the maker of Puppy Linux has attempted to minimize this problem, since the operating system itself as well as application software can be run totally from a flash drive. How successful he has actually been I am not yet in a position to evaluate. 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: Can REV create Excel files?
Just continuing down the path which Ken helped put me on, I thought I'd share my little routine which uses vbscript to get the Names in an Excel workbook and the ranges to which they refer: function getXLNames put Dim ObjXL,tRetVal,tName cr \ Set ObjXL = GetObject(, q(Excel.Application) ) into tScript put cr For Each tName In ObjXL.ActiveWorkbook.Names cr \ tRetVal = tRetVal tName.Name tName.RefersTo vbCrLf cr Next after tScript put cr tRetVal = Left(tRetVal,Len(tRetVal) - 2) cr \ WScript.Echo tRetVal after tScript put tmpfolder/VBSTemp.vbs into tFile --tmpfolder is a global var holding a path put tScript into url(file: tFile) set the hideconsolewindows to true get shell(cscript.exe //nologo tFile) send delete file q(tFile) to me in 1 second if char -1 of it is cr then delete char -1 of it return it end getXLNames ___ 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: Implications of limited writes to flash drives
Probably just keeps settings on the stick and runs the rest in RAM. Some 'Live' CD distros do the same onto the HD. Cheers, Luis. On 17 Mar 2007, at 0:43, Bob Warren wrote: Richard Gaskin wrote: Like all flash memory devices, flash drives can sustain only a limited number of write and erase cycles before failure. Mid-range flash drives under normal conditions will support several hundred thousand cycles, although write operations will gradually slow as the device ages. This should be a consideration when using a flash drive to run application software or an operating system. http://en.wikipedia.org/wiki/ USB_flash_drive#Strengths_and_weaknesses -- - Interestingly, the maker of Puppy Linux has attempted to minimize this problem, since the operating system itself as well as application software can be run totally from a flash drive. How successful he has actually been I am not yet in a position to evaluate. 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 ___ 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: baltic fonts not supported ?..
hi viktoras, how about this: 1) write the text outside (notepad or whatever) 2) paste into the text field 3) get the textFont of the field then see if you can set the textFont to that field permanently and get better results? i use macintosh so have no clever ideas. i also don't know any lithuanian. but when i used my text input on the macintosh to input in unicode lithuanian (just romanization of english words, alas), and converted it to HTML, it returned the font Gnveva CE (for Central European). Is there such a font on uour machine? On Dec 28, 2006, at 6:35 AM, Viktoras Didziulis wrote: Windows XP, Rev Studio 2.6. Can't type Baltic (Lithuanian) fonts into text field. Yes, regional settings and keyboard's language bar selection are correct and working for any other app except for Rev... No problems with typing Cyrillic (Russian) text or Japanese, but when I try typing my native language it prints accented characters instead. It seems that the only way to get Lithuanian text into that field is to print it outside Rev (in Notepad, or any other text editor) and then copy/paste it into the field. Tried many combinations of set the textFont of fld fText to Verdana Baltic, then Lucida Sans Unicode,Unicode and even Times New Roman Lithuanian (and here the studio crashed :-)). Is there anything left that could do the trick?.. Otherwise it seems my programs are limited to foreign market only, when there are ~3 500 000 of us :-) Best wishes Viktoras ___ 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
date and time entry group/stack
Hi folks I made a little date and time entry group. It's based on a stack by Marty Knapp from revOnline (thanks Marty!). You can find my stack on revOnline (as Calendar date and time selector by BvG), or on my Homepage: http://bjoernke.com/runrev/stacks.php Detailed documentation within the stack. If you have questions or suggestions, don't hesitate to join chatrev, or mail me. -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL http://homepage.mac.com/bvg/chatrev1.3.rev; ___ 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: Implications of limited writes to flash drives
Richard- Friday, March 16, 2007, 10:46:28 AM, you wrote: Have any of you had a flash drive fail on writes? How serious do you think this limitation is in practical use? Sheesh. You're worried about several hundred thousand write cycles? I don't write to flash drives all that often - read cycles are much more prevalent. I think more to the point is that I've outgrown my smaller flash drives and had to move to newer and bigger ones. There's a wonderful tradition that started many years ago when monks began transcribing manuscripts. I believe they called it backups. I don't have *anything* on a flash drive that I don't have backed up somewhere safe. Usually multiple copies. But then that's just me being paranoid that my media might self-destruct some day. -- -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: [OFF] Input/Info Requested
Bill- Here's my VB-to-xtalk cheat sheet. Hope you find something useful in it. The formatting looks all wonky to me today for some reason. I'm not sure why. Everything used to line up nicely, but now it all seems staggered. Let me know if you have trouble with it and I'll try to reformat it again into something more useful. -- -Mark Wieder [EMAIL PROTECTED]Visual Basic-to-xTalk Cheat Sheet: XTalk languages follow a natural-language approach. In general, statements are of the imperative form in which there is an implied second-person subject of the statement (you) and the verb is the first word of the line: put value into container, add 1 to someVariable, etc. Thus the VB syntax in which some statements have an implied verb (X=4 instead of LET X=4) must be translated to xTalk syntax put 4 into x. lblTemperature.Text = 98.6 put 98.6 into field lblTemperature xyz = xyz + 1 add 1 to xyz let x = 3.14put 3.14 into x In most cases a direct translation of VB to xTalk is not the best way to code any given problem. As with any programming language, there are many ways to accomplish any task. Direct translation will provide the fastest way to get a project converted, but from there out a rethinkng of the code will provide code that executes faster in fewer lines, is more readable and maintainable, and may offer new insights into how to solve a problem. Arrays: Arrays in xTalk are associative - the index may be, but does not need to be, numeric in order to access array elements. The VB array syntax arrayName(index) is replaced by arrayName[index]. There is no VB equivalent for a non-numeric array index. arrayName(4) = hello put hello into arrayName[4] put hello into arrayName[greeting] put bonjour into arrayName[greeting,tCurrentLanguage] The odd VB syntax of returning a value from a function (procedure) by assigning the value to the name of the procedure is replaced in xTalk by the more standard return keyword. PROCNAME = someValuereturn someValue Similarities: xTalk, like VB, is not case-specific: somevariable is the same as someVariable, as are SOMEVARIABLE and sOmEvArIAblE. Unless explicitVars is set to true (enable variable checking in the menu) variables do not need to be declared before use. This is similar to VB's OPTION EXPLICIT. In xTalk single-word string literals should be, but in general do not have to be (unless explicitVars is true), quoted: put red into tCurrentColor put black into tCurrentColor answer hello answer hello, sailor The following are not necessary in xTalk: REDIM LET PI is already defined as a constant The following VB constants map directly to the following xTalk keywords: vbCRLF return vbKeyReturn return vbNewLine cr vbKeyBack 8 vbOKOnlyOK vbNullStringempty vbBlack black vbWhite white vbRed red vbBlue blue vbGreen green vbYellowyellow vbMagenta magenta vbCyan cyan more direct mapping: ' (comment indicator) -- or # DIM X AS INTEGERlocal x or global x PROCEDURE SomeProc function SomeProc DO repeat WHILE repeat while WENDend while LOOPend while SELECT CASE switch (use break statement between cases) END SELECT end switch CASE ELSE default OPEN fileName as xopen file fileName CLOSE x close file fileName OPTION EXPLICIT explictVars TRIM(SomeString)word 1 to -1 of SomeString The following VB keywords have no mapping: ON ERROR(use try/catch construct) The following constructs have no direct equivalent: WITH END WITH label: GOTO label dot notation: instead of lblMyLabel.Height use the height of field MyLabel Timer controls possibly use invisible buttons with send 'Timer' to me in the interval of me milliseconds System and ActiveX controls in external libraries VB screen coordinates are in Twips rather than in pixels. There are usually 15 twips per pixel, although this can vary depending on display
Re: date and time entry group/stack
Hey Björnke, You're welcome! Glad that you could use my stack. It actually started life as a WindowScript (anybody remember that?) window in Hypercard, way back when. Marty Knapp Hi folks I made a little date and time entry group. It's based on a stack by Marty Knapp from revOnline (thanks Marty!). You can find my stack on revOnline (as Calendar date and time selector by BvG), or on my Homepage: http://bjoernke.com/runrev/stacks.php Detailed documentation within the stack. If you have questions or suggestions, don't hesitate to join chatrev, or mail me. ___ 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: Implications of limited writes to flash drives
Richard, How serious do you think this limitation is in practical use? The thing that comes to mind immediately for me is Vista's ReadyBoost feature, which could easily reach that number of writes in a short period of time! ___ 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
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