Re: revBrowser or revGoURL?
If you are on MS windows, one option is to load your tests in a separate hta window. To do this first create an empty html file template and save it with .hta extension, then insert the following tag into the head section of the html (right after title section): everything else is like in an ordinary html document, including javascript and css. So either put your tests right there (it can be run from a website too), or additionally create a frame or an iframe where you load your tests in. In this case the iframe should contain a few additional properties: src="http://tests.html"; application="yes" trusted = "yes". If you store this hta file locally, then tests can be loaded and executed in the iframe. I am not experienced with revBrowser though... One more way would be to load the tests in a popup window using javascript like this: test1 Maybe someone will provide better alternatives... Regards! Viktoras Sharon Stamps wrote: Hello all, I am looking at two possible ways to approach a requested feature...I am working with ESL teachers and they are using a service to create a grammar test - an HTML javaScript test. They would like to use these pre-created tests in conjunction with a login and would also like to make sure the students cannot navigate from the test or see the address of the test. So, my questions... 1. I tried to work with revBrowser but was unable to get the javaScript to work. Is there a way to get javaScript to function in revBrowser like it does in the web browser? 2. Can I call the file to open in the web browser using revGoURL but make sure the navigation bar isn't visible and prevent students from navigating away from the test? Answers to these questions and/or any other suggestions/solutions would be much appreciated! I am still wrapping my mind around all of Rev's internet capabilities and I'm sure I've missed something... Thanks! Sharon ___ 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: strange nested groups behaviour
Mark, I'm aware of that and usually name my objects with french words. In my previous posts I used "date" and "day" for the only purpose of my demonstration for an english-speaking audience. Best, JB > jbv- > > In addition to the above weirdnesses with the owner of a group, I think it's > also bad form to use a keyword as the name of an object. You'll probably > stay out of trouble more if you name it something like "grpDate". YMMV. > ___ 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: strange nested groups behaviour
On 10 Sep 2007, at 23:03, Mark Wieder wrote: jbv- In addition to the above weirdnesses with the owner of a group, I think it's also bad form to use a keyword as the name of an object. You'll probably stay out of trouble more if you name it something like "grpDate". YMMV. Can you elaborate on why that would be bad form? I never had problems with naming things the same as a keyword, as long as I quoted the name, which I always do. I did however have problems with using only numbers as names, or starting a stack's name with "rev". -- 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: strange nested groups behaviour
Hello Björnke, Mark and all, Le 11 sept. 07 à 12:47, Björnke von Gierke a écrit : On 10 Sep 2007, at 23:03, Mark Wieder wrote: jbv- In addition to the above weirdnesses with the owner of a group, I think it's also bad form to use a keyword as the name of an object. You'll probably stay out of trouble more if you name it something like "grpDate". YMMV. Can you elaborate on why that would be bad form? I never had problems with naming things the same as a keyword, as long as I quoted the name, which I always do. I did however have problems with using only numbers as names, or starting a stack's name with "rev". I think that Mark wanted to point out that using 'reserved' word for controls names, variables, etc. is, in itself, not a good idea. Sure if you quote all controls names (as I do it :-) there should not be any problem: it's only a question of 'right' behavior to avoid issues when coding. Making variables explicit, not using 'reserved words' (BTW 'date' is the same word in English and French :-), quoting all controls names is probably more exigent but prevents many errors ;-) As for stacks prefixed with 'rev', yes, the IDE treats them in another way (for instance, such stacks are hidden when editing a script). Actually it's very interesting to use this prefix when building plugins but it is a bit touchy, in particular when debugging (you have to set the gRevDevelopment global variable to true to be able to debug). There are many other differences, of course and 'rev' prefix should be only used when building tools for the IDE. If I remember well, the IDE displays a well documented confirmation dialog when you attempt to name a stack with a 'rev' prefix :-) Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [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
Searching through binary/text files efficiently
I have several thousand files which contain a mixture of text and binary data. I need to "look inside" all of them and determine which ones contain a specific text string such as "baj_sese_ 20070105.rk". What is the most efficient rev method to do this? These files are of various sizes ranging from 700kb to 10mb. Roger Eller <[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: strange nested groups behaviour
I think it's always a good idea to NOT name anything with system keywords. And you're in for real problems naming custom properties with the same name as system properties, quotes or no quotes. Rev doesn't like that. Custom Properties, too sometimes have problems when they start with a number. On 10 Sep 2007, at 23:03, Mark Wieder wrote: jbv- In addition to the above weirdnesses with the owner of a group, I think it's also bad form to use a keyword as the name of an object. You'll probably stay out of trouble more if you name it something like "grpDate". YMMV. Can you elaborate on why that would be bad form? I never had problems with naming things the same as a keyword, as long as I quoted the name, which I always do. I did however have problems with using only numbers as names, or starting a stack's name with "rev". -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Searching through binary/text files efficiently
I'd just load the whole file and use "is in"... put URL ("file:" & tFile) into tData return someString is in tData In my experience, there isn't much to be gained by loading the file in chunks (open file...read from file etc). It usually seems to be most efficient to hand as much work off to the engine as possible. Best, Mark On 11 Sep 2007, at 15:12, [EMAIL PROTECTED] wrote: I have several thousand files which contain a mixture of text and binary data. I need to "look inside" all of them and determine which ones contain a specific text string such as "baj_sese_ 20070105.rk". What is the most efficient rev method to do this? These files are of various sizes ranging from 700kb to 10mb. Roger Eller <[EMAIL PROTECTED]> ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Searching through binary/text files efficiently
I don't know how long it will take to do this using RR's built-in search function, but the most efficient algorithm in general is the Boyer-Moore-Sunday algorithm for doing general text processing. The problem you are going to have is that BMS assumes that it is searching normal text space. However, you can use the concepts of BMS to write a very fast search algorithm. If you need help, please let me 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
Re: Searching through binary/text files efficiently
Mikey wrote: I don't know how long it will take to do this using RR's built-in search function, but the most efficient algorithm in general is the Boyer-Moore-Sunday algorithm for doing general text processing. The problem you are going to have is that BMS assumes that it is searching normal text space. However, you can use the concepts of BMS to write a very fast search algorithm. If you need help, please let me know. If you have a BNS in Transcript that would be handy. :) I wonder which algo Rev uses -- anyone here know? This raises a point that may be of interest to the original poster: By default, Rev searches are case-insensitive, so some searches of binary strings may yield false positives. This can be corrected by setting the caseSensitive global property to true first: set the caseSensitive to true if tMySearchString is in tMyData then -- 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: strange nested groups behaviour
Björnke- It's hard to add to much to what Eric and Stephen have already posted, but let me also point out that while you (and I) may always quote object names, the rev engine isn't always so consistent about it. Create a new stack with a single button named "date". Then get the short name of button 1. On mouseUp local tObj local tQuotedObj put the short name of button1 into tObj put quote & tObj & quote into tQuotedObj do "put the" && tObj do "put the" && tQuotedObj End mouseUp -- 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
RealBasic pulls MySQL support
Apparently RealBasic will no longer support MySQL as a database option except through external ODBC drivers. It seems that their plugin was developed under a GPL license. http://www.macintouch.com/readerreports/development/index.html -- 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: strange nested groups behaviour
On mouseUp local tObj local tQuotedObj put the short name of button 1 into tObj put quote & tObj & quote into tQuotedObj do "put the" && tObj --do "put the" && tQuotedObj End mouseUp So if I fix your code to work (as above), and use a button with the short name set to an existing property, it'll output the property. However, that is completely expected, as using a string that results in a property will give you the property. Coincidentally, using the above script with a button that is not a property, will just give you an error. So your code is only useful if the button is expected to be named as a property to begin with, and your code would be faulty if that is not the sole purpose of it. The commented line 'do "put the" && quote & "existingProperty" & quote' should in my opinion result in an error, but puts the actual text entered. However, RunRev will argue that this is a design decision, not a bug (At least i'd guess they would). To verify, enter 'put the "something"' into the message box (no single quotes). Bjoernke -- 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: Titlebar-less application question
I'm a little late on this but... Setting the style of the no-titlebar stack to modeless will also get it to show up in the taskbar. Provided you don't need to edit anything in the window you should be OK. Terry... ___ 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: strange nested groups behaviour
Hi JB, This is not the perfect approach but should solve the strange behaviour. If this fragment was put in place of the line that has "the owner of the owner of me" repeat with x = 1 to 12 if the id of group ("search" & x) is in the long name of me then exit repeat end repeat put ("search" & x) into tMyGrandparent -- now you have the name of the ultimate owner of the field. In my nested group heirarchy I set a custom attribute for the sub groups and objects in the group called "parent_group". That way I can get the parent_group of the owner of me... HTH John >-Original Message- >From: Stephen Barncard [mailto:[EMAIL PROTECTED] >Sent: Wednesday, September 12, 2007 01:42 AM >To: 'How to use Revolution' >Subject: Re: strange nested groups behaviour > >I think it's always a good idea to NOT name anything with system keywords. >And you're in for real problems naming custom properties with the >same name as system properties, quotes or no quotes. Rev doesn't like >that. Custom Properties, too sometimes have problems when they start >with a number. > >>On 10 Sep 2007, at 23:03, Mark Wieder wrote: >> >>>jbv- >>> >>>In addition to the above weirdnesses with the owner of a group, I think it's >>>also bad form to use a keyword as the name of an object. You'll probably >>>stay out of trouble more if you name it something like "grpDate". YMMV. >> >>Can you elaborate on why that would be bad form? I never had >>problems with naming things the same as a keyword, as long as I >>quoted the name, which I always do. >> >>I did however have problems with using only numbers as names, or >>starting a stack's name with "rev". >> > >-- > > >stephen barncard >s a n f r a n c i s c o >- - - - - - - - - - - - > > > >___ >use-revolution mailing list >use-revolution@lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription >preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > ___ 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: RealBasic pulls MySQL support
Apparently RealBasic will no longer support MySQL as a database option except through external ODBC drivers. It seems that their plugin was developed under a GPL license. http://www.macintouch.com/readerreports/development/index.html I prefer BSD type licenses, but basically, the GPL disallows people from taking the code, change it slightly, then patent it. In regards to mySQL externals that contain GPL'ed code, they need to release the external under the GPL as it counts as derivative work. However, using said external in a closed source project is not prohibited. On the other hand, if the code of RealBasic and the GPL mySQL external share one data space, they're considered as one program. Of course, only the people that made the external interact with RealBasic can really answer that. Excerpt from the GPL 2 regarding non derivative, independent code: " These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. " Source: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html From the GPL2 FAQ: " Can I release a non-free program that's designed to load a GPL-covered plug-in? It depends on how the program invokes its plug-ins. If the program uses fork and exec to invoke plug-ins, then the plug-ins are separate programs, so the license of the plug-in makes no requirements about the main program. If the program dynamically links plug-ins, and they make function calls to each other and share data structures, we believe they form a single program, which must be treated as an extension of both the main program and the plug-ins. " Source: http://www.gnu.org/licenses/old-licenses/gpl-2.0- faq.html#NFUseGPLPlugins Have fun Bjoernke -- 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: Searching through binary/text files efficiently
On Sep 11, 2007, at 12:27 PM, Mikey wrote: I don't know how long it will take to do this using RR's built-in search function, but the most efficient algorithm in general is the Boyer-Moore-Sunday algorithm for doing general text processing. The problem you are going to have is that BMS assumes that it is searching normal text space. However, you can use the concepts of BMS to write a very fast search algorithm. If you need help, please let me know. I Googled to bone up on BMS and found the following site: http://www-igm.univ-mlv.fr/~lecroq/string/ which has terrific step-by-steps and code snippets for us algorithm fans. t -- Tereza Snyder Califex Software, Inc. ___ 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
CFP: SITE 2008 Tech & Teacher Ed. Conference
The deadline for submissions is Oct. 22. If there are any teacher ed educators on the list who would like to collaborate, please contact me off-list. Otherwise, I will try to put something together in the form of a demo or tutorial. Unless I am greatly mistaken, I believe that the conference, March 3-7 2008, is close in time and space to the RevCon. Information below. Judy LAS VEGAS! City of... > Shopping: http://www.aace.org/conf/cities/lasvegas/shopping.htm > Dining: http://www.aace.org/conf/cities/lasvegas/dining.htm > Attractions: http://www.aace.org/conf/cities/lasvegas/attractions.htm > Shows: http://www.aace.org/conf/cities/lasvegas/shows.htm > Tours: http://www.aace.org/conf/cities/lasvegas/tours.htm __ >> Call for Participation Deadline: October 22 << ** Join with 1,200+ Colleagues from 50 Countries ** * Please forward to a colleague * http://site.aace.org/conf/ __ SITE 2008 Society for Information Technology and Teacher Education International Conference March 3-7, 2008 * Las Vegas, Nevada (Riviera Hotel & Casino Convention Center) CALL FOR PARTICIPATION ** Submissions Due: Oct. 22, 2007 ** Organized by Society for Information Technology and Teacher Education (SITE) http://site.aace.org/ and Association for the Advancement of Computing in Education (AACE) http://www.aace.org/ __ ** What are your colleagues saying about SITE conferences? ** http://site.aace.org/conf/testimonials.htm COLOR POSTER--SITE 2008 CALL FOR PARTICIPATION Available to Print & Distribute (PDF to print; 200kb) http://site.aace.org/conf/SITE08poster.pdf >> CONTENTS & LINKS (details below) << 1. Call for Papers and Submission & Presenter Guidelines, Deadline Oct. 22th: http://site.aace.org/conf/call.htm http://site.aace.org/conf/submitguide.htm http://site.aace.org/conf/PresenterLounge 2. Scope & Major Topics: http://site.aace.org/conf/topics.htm 4. Presentation Categories: http://site.aace.org/conf/categories.htm 5. Proceedings & Paper Awards: http://site.aace.org/pubs/ 6. Corporate Participation: http://site.aace.org/conf/corporate.htm 7. For Budgeting Purposes: http://site.aace.org/conf/rates.htm 8. Las Vegas: http://www.aace.org/conf/Cities/LasVegas 9. Deadlines: http://site.aace.org/conf/deadlines.htm INVITATION: SITE 2008 is the 19th annual conference of the Society for Information Technology and Teacher Education. This society represents individual teacher educators and affiliated organizations of teacher educators in all disciplines, who are interested in the creation and dissemination of knowledge about the use of information technology in teacher education and faculty/staff development. SITE is a society of AACE. You are invited to participate in this international forum which offers numerous opportunities to explore the research, development, and applications in this important field. All proposals are peer reviewed. SITE is the premiere international conference in this field and annually attracts more than 1,200 leaders in the field from over 50 countries. --- To submit a proposal, complete the online form at: http://site.aace.org/conf/submitguide.htm (online soon) For Presentation and AV guidelines, see: http://site.aace.org/conf/PresenterLounge - PROGRAM ACTIVITIES: * Keynote Speakers * Invited Panels/Speakers * Papers (Full & Brief) * Posters/Demonstrations * Corporate Showcases & Demonstrations * Tutorials/Workshops * Roundtables * Symposia SCOPE: The Conference invites proposals from the introductory through advanced level on all topics related to: (1) the use of information technology in teacher education, and (2) instruction about information technology in * Preservice * Inservice * Graduate Teacher Education * Faculty & Staff Development Proposals which address the theory, research and applications as well as describe innovative projects are encouraged. MAJOR TOPICS GENERAL TOPICS: * Assessment and E-folios * Corporate * Distance/Flexible Education * Electronic Playground * Equity and Social Justice * Evaluation and Research * Information Technology Diffusion/Integration * International * Latino/Spanish Speaking Community * Leadership * New Possibilities with Information Technologies * Graduate Education and Faculty Development * Video Cases * Web/Learning Communities * Workforce Education CONTENT AREA TOPICS:
OSX 10.2 hardware info
I've been unsuccessful in discovering a scripted technique for returning processor and memory information under OSX 10.2 This is the sort of thing that System Profiler can return but for some reason I seem unable to query it correctly in OSX 10.2 Any suggestions? -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email [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: OSX 10.2 hardware info
On Sep 12, 2007, at 6:18 AM, Scott Morrow wrote: I've been unsuccessful in discovering a scripted technique for returning processor and memory information under OSX 10.2 This is the sort of thing that System Profiler can return but for some reason I seem unable to query it correctly in OSX 10.2 Any suggestions? Terminal system_profiler will get you lots of information about the machine. sims ___ 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