Too Soon
Asked too soon. replace return with "\r\n" in myscore yields a good result. Best, Dave B. We are creating standalones and launching them in browsers. We have issues with taking in all of a field. Any help appreciated. Works: on mouseUp put "12131232" into myScore do "alert ('" & myScore & "');" in browser end mouseUp Does NOT work: on mouseUp put fld "ListOfFiles" into myScore do "alert ('" & myScore & "');" in browser end mouseUp Works: on mouseUp put line 1 of fld "ListOfFiles" into myScore do "alert ('" & myScore & "');" in browser end mouseUp WE seem to be able to put in just one line. Thanks in advance for your help. ___ 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
Newbie question re fields --> javascript
We are creating standalones and launching them in browsers. We have issues with taking in all of a field. Any help appreciated. Works: on mouseUp put "12131232" into myScore do "alert ('" & myScore & "');" in browser end mouseUp Does NOT work: on mouseUp put fld "ListOfFiles" into myScore do "alert ('" & myScore & "');" in browser end mouseUp Works: on mouseUp put line 1 of fld "ListOfFiles" into myScore do "alert ('" & myScore & "');" in browser end mouseUp WE seem to be able to put in just one line. Thanks in advance for your help. ___ 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
RSS in on-rev
I'm teaching a course from on-rev. We keep a home-grown message service going. One person has asked for RSS (really simple syndication) for this system. Has anyone tried setting up RSS with RunRev? Has anyone tried setting up RSS on on-rev? Suggestions and/or appreciated. Best, Dave B.___ 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: Debugger for On-rev
Thank you, Andre. I've not heard of this (or remembered it if I have) and I DO NOT find it in the 4.5 dictionary. Obviously this could be VERY helpful. Best, Dave B. On Jan 15, 2010, at 10:02 AM, Andre Garzia wrote: > Another cool trick for RevServer is the use of: > > set the errormode to "inline" > > during development, this will output any error to the browser screen. I use > this more than breakpoints. ___ 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: Converting Hypercard Stack -- No Scripts?
Yesterday a colleague teaching statistics brought me a HC stack he's used. He had to run it on an old machine. It was copied to a 3.5" disk and I moved it into my iMac and converted it to RunRev. I could get to a script using "put the script of ..." and copying it from the message box. (Finding a disc reader wasn't so simple either.) Right after that, this thread started -- and I remembered an earlier similar thread. Setting the HCaddressing to false does indeed permit access to button scripts. Thanks again to this list and to the extraordinary members of the RunRev community. Best, Dave B. On Nov 19, 2008, at 5:30 PM, Ben Rubinstein wrote: Joe Lewis Wilkins wrote: That also happened to me right after I got 3.0. If I remember correctly, everything was OK after I compacted the stack before opening it in Rev. Of course, that meant I had to be able to open it in HC to do that. Seems like there was something else, too. I think it was Jacqui who put me on the right track. hcAddressing? - Ben ___ 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
HyperCard Button Icons
I foolishly was so excited by the RunRev conference in Las Vegas that I agreed to teach a course in RunRev. Now that the rubber is 5 weeks away from hitting the road, I'm learning about "issues." A HyperCard demonstration came from a stack called StackStarter by Robertson Smith. The user clicks on a button named shark. That button disappears and a new button appears as a fin that 'chases' the cursor until they meet up (i.e., button catches cursor). The button icon changes to an open shark's mouth, (the first finger) cursor disappears and is replaced by an amputated stump (button icon), and a chomping sound is played. After a delay, the original button is restored, the cursor is restored, and this "jaws" button hides. Once they demonstrate a skill, fourth graders love to see how long they can evade the shark. The converted stack (HC --> RR) DOES have the icons. When those buttons are copied to a stack created in RR, they appear. Once that original stack is removed from memory, the icons are no longer available. Is there an easy way to access these icons? I did get a png file of the stack library which I suppose I can cut up to make individual image files? Finding a machine running ResEdit will take longer than carving up the png file. In any event, I'd like to learn more about this. Thanks in advance. Best, Dave B. ___ 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
Is RR too easy? RevCode
marty wrote: Is it true that most programmers say that hypercard isn't programming? Do they say that about RR? I'm running into that issue a little bit. Some of my students (8th grade and up) think that RR is not a "real" programming language. Why? It's too easy! They have the notion -- shared by a good portion of the general public -- that programming is incredibly difficult to do, hard to learn, and mastered only by geeks. Thus, since making things (even executables) using RR is so easy, it must not be programming. This viewpoint is especially expressed by students who have dabbled in other languages, like java. Yeah, I see that a lot. Rev is in a very difficult position with regard to its positioning: any programming language will be too hard for most folks to find attractive, yet Transcript is too easy for some to take it seriously. I know better than to post this. Really, I do. I left the last RunRev conference excited about the possibility of teaching RunRev. The new plug-in possibilities make this just too attractive to pass up. Since I don't normally teach this, it meant adding to my load -- something tenured faculty just don't do unless they are "on a mission." I needed to describe the course, and I've chosen to use a term introduced to me at Las Vegas by Paul Looney -- RevCode. So, I'm teaching RevCode. Now, some of you might think this is Revolution, and others transcript, and still others hypertalk-on-steroids. I'm calling it RevCode. In order for the "case" to be made, well, I'd just have to take more from Paul's justification than a good academic should. In our world of sound bytes where "script" is bad and "code" is good, why not RevCode? Best, Dave B. ___ 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: Rev cgi vs. php
I have a site that does 1.8G/week, and has done as much as 5G/week for a sustained period (months). The 1.8g traffic translates to about 1 75-page book per minute, 24/7. I've had no issues at all using [the older] rev engine for the cgi portions of this traffic. Based on something Jerry Daniels showed at RevCon West, I store data in xml-like files. Some of my students have used MySQL with similar success. The traffic slow down at the site probably is due to storing data as xml files accessed through RunRev rather than static pages that one Googles and hits directly. The functionality of the site, supporting high school chemistry teachers taking graduate courses in chemistry pedagogy, has been enhanced. There was a time when I used only HyperCard stacks as a backend. This depended upon generating and detecting an appleEvent. Because Apache does not generate appleEvents, an intermediary (ACGI Dispatcher) was used. This turns out to have what appears to be a 2^11 byte limit for data transfer. Andre Garzia developed a workaround for this. If you are interested, perhaps you see whether Andre's consulting schedule can fit you in. If you are really good with RunRev and your traffic is low, this might be a good way to go, too. WRT RunRev, both for stacks and cgi, I am a VERY satisfied customer. Best, Dave Brooks What advantages does Rev cgi have over PHP? Since I know Rev and don't know PHP, it certainly has advantages for me. But how might I argue this point to others who are familiar with PHP but not Rev? Thanks. Richard Miller ___ 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: Apple HIG updated
I've created png files and placed them in those folders -- with names like 1aaDownloads.png It is a clunky but workable anti-idiocy strategy. Best, Dave B. On Jan 23, 2008, at 3:35 AM, Sarah Reichelt wrote: I'd like to know, who's the brain trust (dare I say genius?) who decided that folders in the dock should display icons of their contents, rather than the folder icons themselves. I'm quite curious what was behind this (idiotic) decision. Yes, that was a completely crazy idea. I made myself folders inside the relevant folders, called them " Apps", " Docs" etc (note the leading space that makes then sort to the top) and gave these folders the same icons as the folders they were in. This gives me a much better representation of the folders/ 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
Re: Going to MacWorld?
I'll be at MacWorld. I'll stop by. Best, Dave B. On Jan 7, 2008, at 11:40 PM, Trevor DeVore wrote: Anyone going to MacWorld this year and want to get together? Bill Vlahos and I were chatting earlier and he mentioned that Thursday night is when folks have met in the past. My company is exhibiting this year so stop by if you are around. We are located at booth 4336 in the West Hall and we will be showing ScreenSteps 2 (made with Revolution) and ScreenSteps Live (web app). -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-www.screensteps.com Email has been scanned for viruses by Altman Technologies' email management service - www.altman.co.uk/emailsystems ___ 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: Wake Up, Work, and then Snooze
This approach seems to work very well. Thanks, Klaus. Best, Dave B. On Jan 18, 2007, at 12:38 PM, Klaus Major wrote: Hi David, I'd like to have a stack wake up (say every hour), do some work, and then go back to sleep. Has anyone got something like that working? This sounds like a case for "send xyz to ... in..." ... send "do_important_hourly_stuff" to stack xyz in 60*60 secs ... Then in the handler: on do_important_hourly_stuff ## do your important hourly stuff here ## .. send "do_important_hourly_stuff" to stack xyz in 60*60 secs end do_important_hourly_stuff I'm nervous about setting the idlerate to a rather large number, and I'm seeking suggestions about prior experiences before I try a few experiments. Using "idle" and "idlerate" for this task is a very, very, very, very, very bad idea ;-) Thanks. Dave Brooks 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
Wake Up, Work, and then Snooze
I'd like to have a stack wake up (say every hour), do some work, and then go back to sleep. Has anyone got something like that working? I'm nervous about setting the idlerate to a rather large number, and I'm seeking suggestions about prior experiences before I try a few experiments. Thanks. Dave Brooks ___ 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: Touchscreen Hardware
Thank you VERY much!! Best, Dave B. On Dec 13, 2006, at 11:27 AM, Richard Miller wrote: Dave, We use the Elo infrared touch screen technology (they call it CarrollTouch). We've tried many variations from numerous manufacturers. This infrared technology is very flexible, accepting stylus or finger touch, and can be easily adapted to different LCD's. On the LCD front, we use the Landmark sun-readable screens (landmarktek.com). They are the brightest and best LCD's for the money. Sunlight has little or no effect on their readability. Everything we do in terms of our kiosks is driven by Rev. We currently run under Windows, but there are Mac drivers available for the Elo controller boards and they work fine (we've tested them). You can contact me offline if you want any additional information in terms of hardware (sound enhancement, credit card processing, power requirements, long-distance wireless options, etc.). Richard Miller Imprinter Technologies On Dec 13, 2006, at 11:35 AM, David Brooks wrote: Any information prior about touchscreen hardware experience will be appreciated. The task is to create four interactive centers at a local zoo where children will make observations of animals and make choices based upon those observations. Our plan is to run this with RunRev on Mac Minis, and to access (service) those computers using either bluetooth or rf mice and keyboards. The users will access only through screen touches. Essentially the entire Zoo audience is aged 18 months to 9 years plus mommies and daddies. We are expecting serious wear and tear. Thanks in advance for any information or advice. Dave Brooks ___ 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 ___ 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
Touchscreen Hardware
Any information prior about touchscreen hardware experience will be appreciated. The task is to create four interactive centers at a local zoo where children will make observations of animals and make choices based upon those observations. Our plan is to run this with RunRev on Mac Minis, and to access (service) those computers using either bluetooth or rf mice and keyboards. The users will access only through screen touches. Essentially the entire Zoo audience is aged 18 months to 9 years plus mommies and daddies. We are expecting serious wear and tear. Thanks in advance for any information or advice. Dave Brooks ___ 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 Media Presentation Viewable on Web?
On Jun 28, 2006, at 11:29 AM, Dan Shafer wrote: OK, so how many of us would be willing to throw, say, a grand at a developer or team to do this project? Delivering a Rev stack/app in DHTML would be such an awesome tool that I'd use it daily. If a grand means $1,000.00, then I surely would spend at least that much. Dave B. ___ 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: Converting a RunRev App to a Web-Based App?
What kind of database is your app using right now? MySQL under Mac OS 10.4. Stack, text, SQL or other? Also, what kind of environment will your web-based app run under? Will this be a generally available application that requires authentication or will the data that the web-based app accesses be available to anyone who wants it? It's a demonstration program. After last year at RevCon, I started doing all of my work in xml-like text files. My students, on the other hand, are using MySQL. We're actually trying to learn how to take form data and dump it into MySQL through a cgi. We have this running very effectively from stacks (based upon a stack from Sarah Reichelt's site.) Doe this make sense? Best, Dave B. ___ 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
cgi & MySQL
We are using the two-year-old cgi engine and trying to manipulate MySQL databases with revExecuteSQL and revOpenDatabase. Presumably we need to find a stack to 'start using' that empowers these two functions. Does anyone know which stack it is? Where can we get a copy?? Thanks. ___ 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: Using Revolution as a CGI
I was introduced to RunRev at the 2004 MacWorld. I spent the better part of the next 15 or so months converting a HC cgi backend to a RunRev backend -- with success. The biggest challenge was in getting Apache to produce AppleEvents. At RunRev West in 2005, Jerry Daniels showed some programs that kept data in xml-like text files. I was in little mood for this having just spent so much time on my conversion. However, the speed was compelling. I now have 4 projects running under transcript cgi-s with no other scripting. I'm very happy with this. One of these projects has some public stuff available: dwbrr.unl.edu/ Zoo Another, the Advanced Placement chemistry descriptive chemistry practice site, will go public in about 2 weeks. Last semester I ran my course entirely from RunRev cgi scripts, and I've just completed making the system more friendly to mulltiple users. Several of my students are working on projects developing thin Web clients. I see us developing some Ajax stuff with transcript, too. Developing these cgi systems is much harder than developing stacks because of the development tools. I've built a few stacks to 'test' cgi scripts, and will share these when they become more robust. Meanwhile, many folks here have developed free and/or low cost tools that I recommend. Look at Jerry Daniels, Richard Gaskin, and Ken Ray as outstanding sources. (Daniels inspection gadget tool has saved me a couple of hours.) For starters, the written materials developed by Jackie Gay on cgi are very, very helpful. Overall, I'm VERY pleased with transcript cgi-s. Dave Brooks On Jan 8, 2006, at 2:34 PM, Sivakatirswami wrote oops, I lied (smile) we do have PMWIKI running and that is PHP... but I don't have to touch it, other than set some values in conf files. So, yes, I guess we are like JB: 1% php... On Jan 08, 2006, at 9:55 AM, jbv wrote: ___ 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: Meeting at MacWorld SF in January 2006
I will be at MacWorld and would like to attend any RunRev or RunRev- related sessions. Dave Brooks On Jan 5, 2006, at 9:39 AM, Lynn Fredricks wrote: I never saw a summary of when we can meet at Macworld. I also suggest Tuesday unless some other night has been selected. Please let us know. ___ 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
XML in cgi
I'm using Revolution to handle cgi scripts under Apache. Works well with text files. I'm encountering trouble when trying to use XML commands/functions. Because revCreateXMLTreeFromFile was added in Ver. 2, I'm assuming it is a part of the currently available Darwin engine (used for cgi). This function does not seem to be working in cgi (see examples). Any suggestions? Thanks. Dave B. _ Works: #!revolution on startup put ("Content-Type: text/plain" & cr & cr) into xxx put "Hello World!" after xxx put "/Library/WebServer/CGI-Executables/CHEM869J-Dave_Brooks.xml" into studentFilePath put URL("file:"&studentFilePath) into rrr put rrr after xxx put xxx end startup _ Fails: #!revolution on startup put ("Content-Type: text/plain" & cr & cr) into xxx put "Hello World!" after xxx put "/Library/WebServer/CGI-Executables/CHEM869J-Dave_Brooks.xml" into studentFilePath put revCreateXMLTreeFromFile(studentFilePath,true,true,false) into studentRecordXML_ID put xxx end startup ___ 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: CGI and AppleScript
I've used Dispatcher successfully BUT if the form has a textarea space, it quickly can send in many bytes. In my hands, there seems to be a 2^11 (2048) byte cut off in what dispatcher will forward to RunRev. Dave Brooks On Jun 29, 2005, at 3:32 PM, Robert Brenstein wrote: And if so is there any way to call AppleScript from a CGI? It is possible but you need acgi dispatcher http://www.sentman.com/acgi/ We use this and it works quite well. Many of the code generation algorithms we run are hypertalk in a hypercard standalone. (We also are the store for it.) Kee Nethery Kagi ___ 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: Using libSMTP to send an e-mail
I've had GREAT luck with the new version of Shao Sean's libSMTP, and dealt with the "Subject" issue recently. For the Subject, just put "SUBJECT: xxx yyy "&return as the first line of your message, and things will work well. I think the other entities (e.g., "CC:") work the same way. Your mail will appear with "xxx yyy " as the subject line. The Shao Sean's script works better than the old HyperCard XCMD that I've used in my older software for a decade. Good luck! Dave B. Hi All, I'm trying to get to grips with using Shao Sean's libSMTP to send an e-mail. I've so far had limited success, in that I can send a message, but all of the TO,FROM,SUBJECT information is empty. Furthermore, the e-mails I have been sending must look dodgy because my ISP keeps blocking my account after I use libSMTP to send something! I've been reading that there's another library by Shao Sean to format the mail (libMail?), but I can't find it to download anywhere. So, I guess I'm wondering... 1. Can I get the libMail library? If so, where? And if not 2. How do I format the data I send using libSMTP so that e-mail clients will understand it? Many thanks, Tim. ___ 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
AppleEvents: Revo is back
We use RunRev with appleEvents on Macs as Web backends. (Yes, it's old fashioned, but that's the way we are.) To keep the profession from becoming overcrowded, RunRev has changed the magic 4-letter creator code at various times from MCRD to/from Revo. It seems as if RunRev 2.5 is MCRD. RunRev 2.6 seems to be Revo. Many thanks to Randy Sargent (who helped us develop the means of connecting RunRev to Apache through a perl script) for pointing this out. Randy was tripped by a version change away from Revo. Today we discovered that we were being tripped up in 2.6 because --- Revo is back! Dave B. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution