Re: user groups : educators
Nice to hear there is good interest there. Came across some new names as well, which is always nice. I have started encoding the names and email addresses of the ones who were interested in this. I guess something I should tell as I don't like to have any hidden agenda. I signed a document which says that I accept to become a Revolution Community Partner. There is information about this on the forums: http://forums.runrev.com/phpBB2/viewtopic.php?t=343 The original post, by Lynn Fredricks, on July 24 stated that: If you want to set up a Revolution User’s Group or a special interest group in your local computer group, Runtime Revolution wants to hear from you about becoming a Revolution Community Partner. Revolution Community Partners are local liaisons who are interested in influencing and expanding the use of Runtime Revolution and willing to present Revolution at their local user groups or even participate in local conferences, conventions and industry shows! Runtime is looking for Community Partners who have good presentation skills, know their Revolution and are reliable. And what do you get out of it? How about: 1. Coolness Factor. In our references lists (consultants and third party vendors), Community Partners who are listed will get a special designation. We are establishing the frequency but this will mean a special designation for X amount of time after participating in an event. 2. Exposure. Since we are doing this for both local events and also trade shows, its an opportunity to meet and greet some Runtime partners whom are very influential in the software industry. 3. $$$. We have a compensation model based on sales that result from your efforts. You will get assigned a special code with each event, then receive compensation based on sales that result from your efforts. If you are interested in becoming a Revolution Community Partner, please contact me directly to work out participation. You can ask questions here but compensation in general is handled directly with Runtime. The exact form of my involvement is being discussed. Nothing official or formal as for now. I can just say that there is a big stand in a local bookstore. Change the world. Plenty of books like Meaning Inc.: The Rise of the 21st Century Company http://www.amazon.co.uk/Meaning-Inc-Rise- Century-Company/dp/1861978839, Happiness 9 to 5, etc. etc. Well, going for a meaningful life, at home and at work, seems to be the trend of the moment ;-). What follows is not really part of these activities (as anyway there is nothing official yet anyway), more a personal initiative. For any new member, you may be interested in checking out this discussion we had some discussion between users on revolution's possible contribution to education. This was in May-July 2005, right after they created the revolution-education list. This discussion can be found in the revolution-education list archive http://mail.runrev.com/pipermail/education-revolution/2005-May/ date.html http://mail.runrev.com/pipermail/education-revolution/2005-June/ date.html http://mail.runrev.com/pipermail/education-revolution/2005-July/ date.html It can also be found on this wiki, with the posts reorganized by theme/argument being made. http://revolution.widged.com/wiki/tiki-index.php? page=EducationWhatIsNeeded I wouldn't invite everybody to start a big discussion right now on this list. But what I am interested is thoughts about how to organize ourselves to avoid the problem we faced 1-2 years ago where discussion and enthusiasm was not transformed into concrete results. Then, possibly not discuss this at full length before we have set up some efficient enough way to organize ourselves, however, let's start thinking about this. To minimize a possible dissipation of energy, I would suggest to keep a notepad at hand with you over the week or two to come and jot down some ideas and reflections. Let's keep the what Revolution Ltd (the company) should do for us educators out of the picture for now. This has to come into the picture, of course. However if from the start we take the attitude that we just expect to sit there and wait for somebody else to enable everything, well, we will simply get the same results as 1-2 years ago. Let's rather think of what we, as education users, want to do/achieve and what we believe to be our personal/social responsibility in helping this to happen. How can we organize ourselves and collaborate so to maximise any return on the time we may be able to put in to help for each one of us? The truth is that we always tend to think that our life will be easier if *others* were to change the way they treated us. In any situation like that, two persons are in control of what happens next. That other person and yourself. As users, each one of us has some degree of control and power on the situation and
Re: OT: Quicktime Streaming Server on LInux
OK it seems unbeknownst to me two others on the team had already gotten the Dreahost account... (talk about the left hand not knowing what the right hand is doing!) which is good because setting up QT server on Fedora Core 3 doesn't seem to be a smart thing to try to do. (Fedora Core 4 and up... its a snap...) and Dreamhost offered Code Monster accounts to US non-profits for free...(tax break thing) we are just going to use it as repository and link the media into our web pages on our main server (kind of like a mini akamai server for us) So, we are getting up to speed here... its back to the delivery specs: We are talking about 100MB movie files that are the size of the file *after* being encoded to QT Pro's MPEG4 15fps, keyframes 150 data rate 400. 320 X 240...(really too small if there is any display type in the original for-full-screen-design) So, I will start testing again with the users who were complaining before. Ganga in Australia (on windows) says nothing will work on her box at home, when she came here, it worked fine... nothing wrong with our Rev stack at all. My next question then is: Can anyone verify this: I'm told that you *must* deliver all three versions of any given movie, because QT streaming server will try to grok the connection speed of the client and then deliver the highest quality option available on the server. if the client's perceived data rate is below anything you have on the web server, then QT server, just won't serve anything at all! And to make matters more complicated, deep in the innards of QT are user settable prefs, that I doubt any naive user would ever go tinker with...but which hold key info on how the client QT app is going to interact with the streaming server. So how does this all play out for revolution players? I guess I will just try and see.. but are you all really putting up three different movies for every one movie you are trying to stream into a Rev Player? Aside: I see the macho news sites developed by the famed Rob Conroy ...see www.naplesnews.com for his latest creation, he even has enticed former Google engineers to join him with 6 figure pay checks...Rob has since been recruited by the Washington Post to head up their interactive media team.. despite their 2 milliion dollar a year ticket for the web site + all the expertise they *still* off a download option for every movie they serve... even their 120 megabyte 6PM News which is telling it says: No way are we going to able to guarantee a streamed experience for every visitor... so if you want to just download and view, here you go So the question then is (similar to what Stephan asked before) is there someway for Rev to ascertain if streaming will work and if not, then tell the user Your system will not support streaming video, please click Download to first save the movie to your hard drive. We estimate this will take 25 minutes on your connection. Trevor offered in response to Stephan The EnhancedQT external lets you query the download state of the url being loaded in the player using qtGetMovieLoadState() if you end up needing to monitor that. I suppose that will help us. Stephan did you get your 4-5 megabyte movies to appear? Klaus Major wrote: Hi Richard and all, We've taken perhaps 100 25-50 MB quicktime movies (all at 450 x 340, full color, 30 fps) please don't forget that you can even save some MBs if you encode your moves with only 25 or 24 fps, if possible, maybe even lower rates, let your eyes decide. 30 fps is what the US TV standard NTSC is using and not really necessary for even heavy action in movies. DV and the european TV standard PAL use 25 fps and Film (as seen in cinemas :-) 24 fps. and compressed them down to typically 3-6 MB each using Quicktime Pro's mpeg-4 compressor with relatively little degradation. These have then been put into an account at Streamhoster.com. We've found that streaming these into our Rev app works reliably and has turned out to be a low cost solution. Richard Miller Imprinter Technologies 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 -- Om shanti (In Peace) Sivakatirswami www.himalayanacademy.com Get Hinduism Today Digital Edition. It's Free! http://www.hinduismtoday.com/digital/ ___ 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: user groups : educators
On cross posting, receive the usual apologizes. I copied the last email on the use-list because the education list has been largely inactive over the last year. I will now stick to the education list for education discussion. If you are interested in following this up, you can subscribe to the revolution-education list at: http://lists.runrev.com/mailman/listinfo/education-revolution I will also duplicate the information on the forums and education list, at least in the form of link pointing from one to another (though I do prefer to publish on the forums where I can reedit my post and correct the various spelling mistakes I leave in my text... I am a non-native speaker of English). 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: Once upon a time?
Thanks guys! Now I wonder which will be fastest: get wordOffset(word1, tText) if (it 0) AND (it = (wordOffset(word2, tText) - 1)) then or put space into P put replaceText(once upon a time,\s+,P) into cleanVar put Ponce uponP is in PcleanVarP = true ___ 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
Script Hierarchy
I am writing a handler to walk the script hierarchy - which means I have got to get to the bottom of exactly how the message passing happens. My question is basically how the hierarchy works exactly with front and backscript and used stacks. The front go in the front, the used after the stack hierarchy and the back in the back - and the order in pop in pop out. What is puzzling me is that the order of the libraries seems to make no difference - it is as if they were all in one big script space. Some of my handlers in the libraries call others and if the hierarchy was strict this should lead to a script error in that the handler should be effectively missing - when it is below the library in the hierarchy (sorry about the mouthful). For instance if I have 2 used libraries and library one calls a handler in library 2 - it does not seem to matter which way around the libraries are added - the call is always found? Is it the case that libraries of the same type (forn,used, and back) are effectively all in one flat space - as if they were in a single script, and that the order only affects the order the scripts are added to this space (in case there are multiple handlers of the same name)? ___ 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: Once upon a time?
The first (wordOffset), by a factor of 100 or so, on my machine. Best, Mark On 3 Feb 2007, at 13:24, David Bovill wrote: Thanks guys! Now I wonder which will be fastest: get wordOffset(word1, tText) if (it 0) AND (it = (wordOffset(word2, tText) - 1)) then or put space into P put replaceText(once upon a time,\s+,P) into cleanVar put Ponce uponP is in PcleanVarP = true ___ 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: Once upon a time?
That is a big difference! ___ 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: Script Hierarchy
On Sat, 3 Feb 2007 15:04:29 +0100, David Bovill wrote: Is it the case that libraries of the same type (forn,used, and back) are effectively all in one flat space - as if they were in a single script, and that the order only affects the order the scripts are added to this space (in case there are multiple handlers of the same name)? Yup... :-) Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Memory Problem?
I've a program written in Rev 2.7.4 running under Max OS X 10.3.9 Server which copies 50+ backup files from one partition of a FireWire drive to another using the revCopyFile command. The size of each backup file varies from 350Mb up to 7Gb. During the copy process a log is written to a text file, showing the start time of the session, the details of each file copied and the end time of the session. Each file is copied one after another with the log entry being added after each file has been copied. The program always copies all files and the log file is complete with both session start and end time. However, once the copying is finished (taking some 90 minutes or so overnight), my Rev program is now frozen, not responding to any mouse clicks or attempts to open any of its menus (the Mac is otherwise working OK, no other problems with any other running programs). This means using the Apple menu Force Quit... after every run of the program. This program is supposed to run in the background all the time monitoring other activities and then doing the copying of the backup files overnight, but can't be used this way as it's always frozen after the copying!! I deliberately used the revCopyFile command instead of the put URL command because of the advantages listed on the Rev help: However, the revCopyFile command provides certain advantages. It copies file attributes (such as file type) and Mac OS resource forks along with the file. It also does not require reading the entire file into memory, so even extremely large files can be copied. According to the above from the help, memory shouldn't be a problem. However, the symptoms seem to be of a memory problem. Any suggestions please? ___ 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
A hard challenge anyone?
This is an example of a general nesting problem. take a line of Revolution code which contains a few nested functions: put aFunction(bFunction(1)) + cFunction(dFunction(eFunction(fFunction(2 The function I would like to write (extractFunctionCallsOfLine) is one which takes a line or Rev code like the one above and returns the names of the four function calls: aFunction bFunction cFunction dFunction eFunction fFunction I have come across this design pattern a few times and never been able to successfully deal with it - which is strange as it is fairly common / basic? It is the basic situation where you need to parse a nested piece of marked up text. It comes up with XML - but we can use Revs externals to help - but it also comes up in other situations. The problems is that the script has to figure out if what an actual node is - that is it needs to ignore and nested nodes and grab till the end of the node. In the past I have written functions which use offset to count forwards for opening and closing brackets - while they start simple these functions grow to monsters that never quite work 100% Then I tried regular expressions, but not quite got the hang of greedy - non-greedy etc and any way i am not sure they are able to figure out exactly what a node is and extract it by themselves. Well here is an the function that I have at the moment: on script_ExtractFunctionCallOfLine scriptLine, @fName, @bracketedStuff -- could test recursively for nested functions here put word 2 to -1 of scriptLine into scriptLine put (.+)[^\(]*(\(.*\)).* into regularExpression if matchText(scriptLine, regularExpression, fName, bracketedStuff) is true then put word -1 of fName into fName# there is a space bug in regex if script_DictionaryTerm(fName) is true then return false else if fName is ( then return false else return true end if else put empty into fName put empty into bracketedStuff return false end if end script_ExtractFunctionCallOfLine The idea is to look for a function call in a script - and if so extract the name of the function and the stuff inside the brackets. It seems that providing we have already stripped out any comments and quoted text - see function below: on script_CleanForCalls @someScript script_ExtractAndStripMultiLineComments someScript, mulitLineComment put text_Strip(someScript, \, space) into someScript put text_StripQuoted(someScript, •••) into someScript replace ( with ( in someScript replace ) with ) in someScript end script_CleanForCalls ... we can know there is a function by looking for () and getting the word before the brackets as the function name. This seems to work with a few other checks on the function name returned. The problem is when the Rev gurus start writing nested function calls like: put someFunction(anotherFunction(Test)) So how do i extract one node - that is everything inside the first topLevel brakets - this technique would then allow the construction of a recursive function to extract all the function names however many nested levels there were - perhaps there is another way? ___ 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
Funny remote control
I remember in the early 90's when Apple first came of with voice controlled commands, Someone running down the hall shouting: Computer Shutdown! Very funny, Glenn ...and for a laugh, here's how you can put Vista to work telling itself what to do: http://blogs.zdnet.com/Ou/?p=416 -- -Mark Wieder [EMAIL PROTECTED] -- Glenn E. Fisher University of Houston - Retired 22402 Diane Dr. Spring, Tx 77373 [EMAIL PROTECTED] http://www.uh.edu/~fisher http://home.houston.rr.com/thegefishers/ http://homepage.mac.com/gefisher ___ 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: Script Hierarchy
I guess there is one difference with regard to the way pass works? on mouseUp testHierarchy end mouseUp on testHierarchy answer 1 pass testHierarchy end testHierarchy on testHierarchy answer 1 end testHierarchy In that the second testHierarchy does not get called in a single script - but would if it were in the right place in the hierarchy of used stacks for instance? ___ 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: Script Hierarchy
Which makes me think that pass works according to a strict hierarchy. If you pass a handler call it will nto find anything in any of the libraries below it in the hierarchy. While on the other hand a straight call to the handler from a script behave completely differently in that it will be picked up by any of the libraries regardless of whether the calling handler was above the found handler in the hierarchy. ___ 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: OT: Quicktime Streaming Server on LInux
Great news you guys don't have to pay for your Dreamhost account as a non-profit. Stephan did you get your 4-5 megabyte movies to appear? Yes, by checking for existence of the movie first in a folder in 'Documents' then downloading the video before viewing if it's not there. My app uses hierarchical menus to list available movies on a remote server in different folders that represent the hierarchy. When the file list from the server is updated for the menus it also checks for any movies not on the server anymore and deletes them. This works amazingly well. The movies I created in something called iShowU use the Apple Animation codec, 15 FPS, compressed and hinted for streaming. These are 'screen movies', to show how an application works. These did not take well to streaming as they would not 'fill in the blocks' on big scene changes (like a window appearing) and it looked pretty ugly. Probably had something to do with keyframes. Also they had to have the extra step of 'flattening'. Turned out to be a much bigger hassle (for me) than the method I described above, which probably won't work for you. This is good for my application where I need simple help videos. But for the most part I'm not showing 'reality' video, just screen movies - they're steady and clean and compress well.. -- 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: Memory Problem?
I don't think this will be a memory problem - more likely an IAC type problem in that revCopyFile uses AppleScript and the equivalent on windows. If the delay between starting the event and completing it is very large and in the mean time you have issued a cue of events - I guess things are getting clogged. I think the way around it is to figure out a way of monitoring when the copy has completed and only then issuing the next revCopyFile command. However I am not sure how you would do this - one thing that you could try as well is to make a zip, issue one copy then unzip? I'd love to know how you get on as it is a situation that does come up from time to 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: Memory Problem?
Hi Peter, Since Revolution uses AppleScript, a much better way to do this task is to open each file for binary read, open a destination for binary write, and use a repeat loop to read and write small chunks, something like 200K. When done, close both files and continue with the next. You will be surprised about the speed and if you include a wait command with messages in the repeat loop, you have still control over the GUI to show e.g. a progress bar. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 3-feb-2007, om 16:06 heeft Peter Reid het volgende geschreven: I've a program written in Rev 2.7.4 running under Max OS X 10.3.9 Server which copies 50+ backup files from one partition of a FireWire drive to another using the revCopyFile command. The size of each backup file varies from 350Mb up to 7Gb. During the copy process a log is written to a text file, showing the start time of the session, the details of each file copied and the end time of the session. Each file is copied one after another with the log entry being added after each file has been copied. The program always copies all files and the log file is complete with both session start and end time. However, once the copying is finished (taking some 90 minutes or so overnight), my Rev program is now frozen, not responding to any mouse clicks or attempts to open any of its menus (the Mac is otherwise working OK, no other problems with any other running programs). This means using the Apple menu Force Quit... after every run of the program. This program is supposed to run in the background all the time monitoring other activities and then doing the copying of the backup files overnight, but can't be used this way as it's always frozen after the copying!! I deliberately used the revCopyFile command instead of the put URL command because of the advantages listed on the Rev help: However, the revCopyFile command provides certain advantages. It copies file attributes (such as file type) and Mac OS resource forks along with the file. It also does not require reading the entire file into memory, so even extremely large files can be copied. According to the above from the help, memory shouldn't be a problem. However, the symptoms seem to be of a memory problem. Any suggestions please? ___ 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
Will Rev Window XP builds run on VISTA?
Does anyone know if Rev Window XP builds will run on VISTA? 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: A hard challenge anyone?
Hi David, Your problem is more of a mind-bender than I have time for right now; so my purpose in this reply is not to solve it, but to maybe introduce another way of looking at it. But I just set the script of a button to your initial one-line code example: put aFunction(bFunction(1)) + cFunction(dFunction(eFunction(fFunction(2 ... and ran it through this code (residing in another button): on mouseUp put the script of btn 1 into tScript repeat with x = 1 to the number of tokens in tScript put token x of tScript cr after tData end repeat put tData end mouseUp ... and got this output: put aFunction ( bFunction ( 1 ) ) + cFunction ( dFunction ( eFunction ( fFunction ( 2 ) ) ) ) To me this looks easier to deal with than the one-line version of same. FWIW - Phil Davis David Bovill wrote: This is an example of a general nesting problem. take a line of Revolution code which contains a few nested functions: put aFunction(bFunction(1)) + cFunction(dFunction(eFunction(fFunction(2 The function I would like to write (extractFunctionCallsOfLine) is one which takes a line or Rev code like the one above and returns the names of the four function calls: aFunction bFunction cFunction dFunction eFunction fFunction I have come across this design pattern a few times and never been able to successfully deal with it - which is strange as it is fairly common / basic? It is the basic situation where you need to parse a nested piece of marked up text. It comes up with XML - but we can use Revs externals to help - but it also comes up in other situations. The problems is that the script has to figure out if what an actual node is - that is it needs to ignore and nested nodes and grab till the end of the node. In the past I have written functions which use offset to count forwards for opening and closing brackets - while they start simple these functions grow to monsters that never quite work 100% Then I tried regular expressions, but not quite got the hang of greedy - non-greedy etc and any way i am not sure they are able to figure out exactly what a node is and extract it by themselves. Well here is an the function that I have at the moment: on script_ExtractFunctionCallOfLine scriptLine, @fName, @bracketedStuff -- could test recursively for nested functions here put word 2 to -1 of scriptLine into scriptLine put (.+)[^\(]*(\(.*\)).* into regularExpression if matchText(scriptLine, regularExpression, fName, bracketedStuff) is true then put word -1 of fName into fName# there is a space bug in regex if script_DictionaryTerm(fName) is true then return false else if fName is ( then return false else return true end if else put empty into fName put empty into bracketedStuff return false end if end script_ExtractFunctionCallOfLine The idea is to look for a function call in a script - and if so extract the name of the function and the stuff inside the brackets. It seems that providing we have already stripped out any comments and quoted text - see function below: on script_CleanForCalls @someScript script_ExtractAndStripMultiLineComments someScript, mulitLineComment put text_Strip(someScript, \, space) into someScript put text_StripQuoted(someScript, •••) into someScript replace ( with ( in someScript replace ) with ) in someScript end script_CleanForCalls ... we can know there is a function by looking for () and getting the word before the brackets as the function name. This seems to work with a few other checks on the function name returned. The problem is when the Rev gurus start writing nested function calls like: put someFunction(anotherFunction(Test)) So how do i extract one node - that is everything inside the first topLevel brakets - this technique would then allow the construction of a recursive function to extract all the function names however many nested levels there were - perhaps there is another way? ___ 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: Script Hierarchy
David Bovill wrote: Which makes me think that pass works according to a strict hierarchy. If you pass a handler call it will nto find anything in any of the libraries below it in the hierarchy. Right. Passing a handler or function call follows the message hierarchy. While on the other hand a straight call to the handler from a script behave completely differently in that it will be picked up by any of the libraries regardless of whether the calling handler was above the found handler in the hierarchy. I think a lot of your questions are answered here: http://support.runrev.com/scriptingconferences/ Download the conference stack about the message hierarchy. -- 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
Visibility Problem Update
After a lot of experimentation, I have found that Rev Window XP builds that has a lot of entry fields show up with the text missing when they are dragged onto to the Parallels screen and the app is launched. I have checked the Appearance setting in the Display Properties and tried the Clear Type but it did not correct the problem. Oddly enough if a simple Rev app with a few fields using various fonts, including Arial works. All of the experimentation was done with Rev. 2.7.4. I also tried using both a zipped file and unzipping it and a cd for installation of my app with the same results. When I tried my app on a Windows computer running XP, I have none of the display problems that were readily apparent on Parallels. I also did not have any problems on Windows 2000. I have reported this problem to Parallels but they have not responded. So, at this time this appears to be a Parallels problem. If anyone else is using Parallels for the Mac, please e-mail me privately. Thanks to everyone for their suggestions! Charles Szasz [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Trapping for the Return Key on keypad of a Windows machine
Does anyone have a suggestion on how to trap the Return key on the keypad of a Windows machine running Windows 2000 and XP? In my application, the last text entry when it is completed is supposed to enable a button for calculation. It works using the standard Return key on the keyboard but is does not work using the Return key on the keypad when the number lock is set. 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
finding renamed files
I am looking for a quick and dirty method for walking a directory and finding files that have been renamed by the user. I don't need to find them all, just as many as possible. The folders are likely to originally contain matching stems and progressive numbers pjf017.jpg, pjf018 .jpg, pfj019 .jpg etc. etc, with the user renamed files standing out completely arbitrarily by not following the pattern . At the moment I do this using the eyeball test, which is remarkably quick and efficient but very very very boring because there are often thousands of files to scan. One approach I thought of is to progressively filter the folders' contents by nibbling a character off the end of the first filename. If it is completely unique (and possibly therefore renamed), nothing will happen. However if 9 other files disappear, it was a name representative of progressive pattern. Nibble another character, and so on until it is gone, and any filenames left over didn't fit the dominant pattern in the folder. Yes? No? . Any other suggestions? Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk ___ 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: Once upon a time?
On 2/3/07 5:24 AM, David Bovill [EMAIL PROTECTED] wrote: Now I wonder which will be fastest: get wordOffset(word1, tText) if (it 0) AND (it = (wordOffset(word2, tText) - 1)) then or put space into P put replaceText(once upon a time,\s+,P) into cleanVar put Ponce uponP is in PcleanVarP = true RegEx is a slower technique almost every time. The larger the text block, the more hits, and the larger the number text blocks all add to the demand. Regex is an engine that actually scans back and forth through a text block and follows rules. The simpler the rules you give it, the shorter the processing time. Using Rev's chunking ability will always about 10-100 times faster. However, a field of 100 lines will not be noticeable. I use some heavy regEx to parse web pages everyday, every minute because I need pin-point accuracy and data mining vs fasted execution. Lots of rules, lots of steps. Chunking just won't do it without a lot of 'IF' statements. In Rev, this is actually very fast. You can extract only the words on the lines where they live by: repeat for each line LNN in textBlock repeat for each word WRD in LNN put WRD space after newTextBlock end repeat delete last char of newTextBlock put cr after newTextBlock end repeat delete last char of newTextBlock Of course this example strips the punctuation and tabs 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: Visibility Problem Update
Charles Szasz wrote: After a lot of experimentation, I have found that Rev Window XP builds that has a lot of entry fields show up with the text missing when they are dragged onto to the Parallels screen and the app is launched. How may is a lot? 40? 400? 4000? 4? -- 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: A hard challenge anyone?
On 2/3/07 7:09 AM, David Bovill [EMAIL PROTECTED] wrote: This is an example of a general nesting problem. take a line of Revolution code which contains a few nested functions: put aFunction(bFunction(1)) + cFunction(dFunction(eFunction(fFunction(2 Quick question: Is the script code you are analyzing something you wrote or someone else's? You have posed the question of looking for functions by the parens, but you need to consider the other construction that Rev can use to do the same thing put textWithoutCommas(textBlock) into newText textWOCommasHander textBlock put the result into newText The first is a function, the second a handler call function textWithoutCommas pBlock --code lines return pBlock end textWithoutCommas on textWOCommasHander pBlock --code lines return pBlock end textWOCommasHander They both do the same thing, but handlers will not be nested as functions can be. 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
Window Options
Hi All, Is there a method by which we can choose to have windows in OSX Revolution exhibit the same or similar window frame that we get with OS 9 and earlier? I really don't like the OSX type windows. TIA, Joe Wilkins ___ 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: finding renamed files
Hi David - If the last modified date of all non-name-changed files is the same (as I suspect they would be if they came from a digital camera), you could use 'the detailed files' to identify all files in the directory with dates different than that 'standard' mod date. Those would be the changed ones. Of course from that you won't know what was changed about them, only that they were changed. HTH - Phil Davis David Glasgow wrote: I am looking for a quick and dirty method for walking a directory and finding files that have been renamed by the user. I don't need to find them all, just as many as possible. The folders are likely to originally contain matching stems and progressive numbers pjf017.jpg, pjf018 .jpg, pfj019 .jpg etc. etc, with the user renamed files standing out completely arbitrarily by not following the pattern . At the moment I do this using the eyeball test, which is remarkably quick and efficient but very very very boring because there are often thousands of files to scan. One approach I thought of is to progressively filter the folders' contents by nibbling a character off the end of the first filename. If it is completely unique (and possibly therefore renamed), nothing will happen. However if 9 other files disappear, it was a name representative of progressive pattern. Nibble another character, and so on until it is gone, and any filenames left over didn't fit the dominant pattern in the folder. Yes? No? . Any other suggestions? Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk ___ 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: finding renamed files
What I said earlier is not true. On Mac OS X at least, the last mod date (item 5 of each line in the detailed files) doesn't reflect name changes. Sorry! Phil Phil Davis wrote: Hi David - If the last modified date of all non-name-changed files is the same (as I suspect they would be if they came from a digital camera), you could use 'the detailed files' to identify all files in the directory with dates different than that 'standard' mod date. Those would be the changed ones. Of course from that you won't know what was changed about them, only that they were changed. HTH - Phil Davis David Glasgow wrote: I am looking for a quick and dirty method for walking a directory and finding files that have been renamed by the user. I don't need to find them all, just as many as possible. The folders are likely to originally contain matching stems and progressive numbers pjf017.jpg, pjf018 .jpg, pfj019 .jpg etc. etc, with the user renamed files standing out completely arbitrarily by not following the pattern . At the moment I do this using the eyeball test, which is remarkably quick and efficient but very very very boring because there are often thousands of files to scan. One approach I thought of is to progressively filter the folders' contents by nibbling a character off the end of the first filename. If it is completely unique (and possibly therefore renamed), nothing will happen. However if 9 other files disappear, it was a name representative of progressive pattern. Nibble another character, and so on until it is gone, and any filenames left over didn't fit the dominant pattern in the folder. Yes? No? . Any other suggestions? Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk ___ 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: Script Hierarchy
Thanks - taking a look. This is my fourth version of a recursive function to walk the message hierarchy - itching to get it just right :) ___ 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: A hard challenge anyone?
On 03/02/07, Phil Davis [EMAIL PROTECTED] wrote:Hi David, Your problem is more of a mind-bender Sure is - but thanks for the pointer at using token On 03/02/07, Jim Ault [EMAIL PROTECTED] wrote: Quick question: Is the script code you are analyzing something you wrote or someone else's? It is aimed at analyzing anyones code. The first is a function, the second a handler call function textWithoutCommas pBlock --code lines return pBlock end textWithoutCommas on textWOCommasHander pBlock --code lines return pBlock end textWOCommasHander Yes - I have separate handlers to deal with commands, messages and custom property calls. They are not causing a problem (yet) - nested function calls are - so i am only dealing with real user defined function calls. At the moment I extract the function call and then filter out Rev, External and user defined function calls. Once I've got the user defined function calls I search the script hierarchy for the matching handler if it exists - the final result is a graph. The hard bit is to be able to match the function call - and extract whatever is between the brackets - then I can recurse the bit between the brackets if it in turn contains a (user defined) function call. My guess is that this is something that a regexp could deal with or do I have to go back to the techique of counting opening and closing brackets? ___ 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: Script Hierarchy
David Bovill wrote: Thanks - taking a look. This is my fourth version of a recursive function to walk the message hierarchy - itching to get it just right :) You might want to check the list archives -- there have been a couple of threads on this and a number of good handlers presented. -- 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: Window Options
Joe Lewis Wilkins wrote: Hi All, Is there a method by which we can choose to have windows in OSX Revolution exhibit the same or similar window frame that we get with OS 9 and earlier? I really don't like the OSX type windows. Set the lookAndFeel property to Macintosh (or use the menu item under the View menu in the IDE.) But if the stacks are for public consumption, you'll probably get complaints from OS X users. -- 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
Endless Looping
Hi Everyone Is there a way for me to stop a running script that’s caught in an endless loop so I can fix my scripting error? Joe Orlando, Florida ___ 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: Endless Looping
Hi Joe, There was a release whose allowInterrupts was set to false by default. If you make sure that it is set to true, you can abort running scripts with command-period (control-period on Windows). Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 3-feb-2007, om 21:56 heeft [EMAIL PROTECTED] het volgende geschreven: Hi Everyone Is there a way for me to stop a running script that’s caught in an endless loop so I can fix my scripting error? Joe Orlando, Florida ___ 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: A hard challenge anyone?
The hard bit is to be able to match the function call - and extract whatever is between the brackets - then I can recurse the bit between the brackets if it in turn contains a (user defined) function call. My guess is that this is something that a regexp could deal with or do I have to go back to the techique of counting opening and closing brackets? Hi David, To solve a problem of this type, what matters is to be able to unambiguously know the status of the unit your regular expression or whatever has identified. If you go from left to right, you can't because you never know if a ( parenthesis will be followed by more ( or not. The minimal unit, that is the unit that you know not to contain any further function itself is the ([^)]*) group, which corresponds to function(...) where what is enclosed within the parentheses is not allowed to contain any parenthesis. What you may want to try, therefore, is to recurse with a regular expression, that looks somehow like this (I let you get the correct one): [^\b()]*( [^)]* ) (I put tabs for increased legibility; \b means any character that is a word boundary... check the doc to be sure this correspond to what you want). The alternative is to look for a ) character... then look from right to left for the first ( character. You unambiguously know this forms a minimal unit. Another alternative, if you insist to go from left to right is to look for a pattern of this type (...)[^)]. Again, you know you have unambiguously come across a minimal unit that doesn't enclose any further unit. You don't try to find out what functions are enclosed within the big ones. You rather try to identify the parent of each function. Once you have a table with nodeparent bfctafct cfctbfct you can sort it and read it any way you want. You may want to run a google search on 'linked list data structure' for some additional insights http://cslibrary.stanford.edu/103/ LinkedListBasics.pdf http://www.gamedev.net/reference/programming/features/uds1/ http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=176 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: Endless Looping
Hi Joe, Another way is: repeat if the shiftKey is down then exit repeat doMyMainStuff end repeat Phil Davis Mark Schonewille wrote: Hi Joe, There was a release whose allowInterrupts was set to false by default. If you make sure that it is set to true, you can abort running scripts with command-period (control-period on Windows). Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 3-feb-2007, om 21:56 heeft [EMAIL PROTECTED] het volgende geschreven: Hi Everyone Is there a way for me to stop a running script that’s caught in an endless loop so I can fix my scripting error? Joe Orlando, Florida ___ 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
Visibility Problem Update
Richard, The sample app had four or five fields while my app has 45 fields. I did not include any scripting in the sample app. 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: A hard challenge anyone?
On 2/3/07 12:11 PM, David Bovill [EMAIL PROTECTED] wrote: Yes - I have separate handlers to deal with commands, messages and custom property calls. They are not causing a problem (yet) - nested function calls are - so i am only dealing with real user defined function calls. At the moment I extract the function call and then filter out Rev, External and user defined function calls. Once I've got the user defined function calls I search the script hierarchy for the matching handler if it exists - the final result is a graph. The hard bit is to be able to match the function call - and extract whatever is between the brackets - then I can recurse the bit between the brackets if it in turn contains a (user defined) function call. My guess is that this is something that a regexp could deal with or do I have to go back to the techique of counting opening and closing brackets? Depending on how you extracted the functions you should end up with get funcA(param1, param2, funcB(param1, param2), funcC(param)) get put ... into bestAnswer assuming you handle both kinds of comments (-- and #) there should be no commented-out lines(?) but one side note.. .I frequently use the following divider - rect math fcns() - which may not have an even number of dashes Now back to the list of functions.. Try the following to see if it makes sense replace cr with --cr in fcnListing = dividers replace ( with cr ( in fcnListing replace ) with )cr in fcnListing Now each open paren starts a line you could use some line-scanning technique Or perhaps a cleaner implementation would be get line x of fcnListing replace ( with cr ( in it replace ) with )cr in it --no need for dividers 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: Endless Looping
If you forgot to do the previous suggestions, you can try to put a mouse clicked breakpoint in the script window next to a line of code that will be executed and the debugger will see this and be triggered. This requires that the script editor be open to the handler and loop that you are enjoying. This can be done while the loop is spinning. Jim Ault Las Vegas On 2/3/07 1:42 PM, Phil Davis [EMAIL PROTECTED] wrote: Hi Joe, Another way is: repeat if the shiftKey is down then exit repeat doMyMainStuff end repeat Phil Davis Mark Schonewille wrote: Hi Joe, There was a release whose allowInterrupts was set to false by default. If you make sure that it is set to true, you can abort running scripts with command-period (control-period on Windows). Mark Op 3-feb-2007, om 21:56 heeft [EMAIL PROTECTED] het volgende geschreven: Hi Everyone Is there a way for me to stop a running script that¹s caught in an endless loop so I can fix my scripting error? Joe Orlando, Florida ___ 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: finding renamed files
Take a look at the filter command with wild cards instead of regEx Very speedy, and easy to do progressive 'nibbles' + counting On 2/3/07 10:46 AM, David Glasgow [EMAIL PROTECTED] wrote: I am looking for a quick and dirty method for walking a directory and finding files that have been renamed by the user. I don't need to find them all, just as many as possible. The folders are likely to originally contain matching stems and progressive numbers pjf017.jpg, pjf018 .jpg, pfj019 .jpg etc. etc, with the user renamed files standing out completely arbitrarily by not following the pattern . At the moment I do this using the eyeball test, which is remarkably quick and efficient but very very very boring because there are often thousands of files to scan. One approach I thought of is to progressively filter the folders' contents by nibbling a character off the end of the first filename. If it is completely unique (and possibly therefore renamed), nothing will happen. However if 9 other files disappear, it was a name representative of progressive pattern. Nibble another character, and so on until it is gone, and any filenames left over didn't fit the dominant pattern in the folder. Yes? No? . Any other suggestions? ___ 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: A hard challenge anyone?
David Bovill wrote: The hard bit is to be able to match the function call... What is this to be used for? If this is a code base analysis tool, one in which you might already have had occasion to obtain a list of function names, might it simplify things to search for those? -- 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: finding renamed files
David Glasgow wrote: I am looking for a quick and dirty method for walking a directory and finding files that have been renamed by the user. I don't need to find them all, just as many as possible. The folders are likely to originally contain matching stems and progressive numbers pjf017.jpg, pjf018 .jpg, pfj019 .jpg etc. etc, with the user renamed files standing out completely arbitrarily by not following the pattern . At the moment I do this using the eyeball test, which is remarkably quick and efficient but very very very boring because there are often thousands of files to scan. One approach I thought of is to progressively filter the folders' contents by nibbling a character off the end of the first filename. If it is completely unique (and possibly therefore renamed), nothing will happen. However if 9 other files disappear, it was a name representative of progressive pattern. Nibble another character, and so on until it is gone, and any filenames left over didn't fit the dominant pattern in the folder. Yes? No? . Any other suggestions? I'd try to exploit the fact that such file names usually follow a pattern of prefixnumber.suffix So the *really* quick and dirty method uses that, and also simply assumes that the number part will be 4 digits (true for most cameras) ... (beware typos - not tested) set the itemDel to . repeat for each line f in the files if char -4 to -1 of (item 1 to -2 of f) is not a number then put f CR after theChangedList end repeat Obviously, there are less quick, and less dirty, variants that actually check the prefix is used multiple times - but for me, this would be good enough. -- Alex Tweedly mailto:[EMAIL PROTECTED] www.tweedly.net ___ 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
Core Image Transition Parameters
Hey, I was playing around with Core Image transitions, and while I found the Core Image Sampler stack very helpful, I am still a little confused about the parameters involved in a Core Image transition. The transition I am using is CIRippleTransition and the line I use looks like this: show grp Shields with visual effect CIRippleTransition slow with center (175,275) and extent (0,0,0,0) and scale -10 and width 30 and shadingImage id 2455 The center I found to be where the center of the transition, relative to what is being revealed or hidden. The extent I am really confused about, it looks like it might be a rect, but I can't figure out how to work it. The scale and width I have been able to play with until I got the desired effect, but I honestly couldn't explain why those numbers work. The shadingImage seems to be in the wrong format any time I pass it anything except an empty image. What should a proper shadingImage look like and what format should it be in? Really, I am trying to get the effect that OSX uses when adding a widget to the dashboard. If anyone knows more about this, could you please help me out? Thank You, Bridger Maxwell Christa McAuliffe Space Education Center ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Endless Looping Chapter 2
In a message dated 2/3/07 3:57:24 PM, [EMAIL PROTECTED] writes: Hi Everyone Is there a way for me to stop a running script that’s caught in an endless loop so I can fix my scripting error? Joe Orlando, Florida I tried “AllowInterrupts” it didn’t allow me to break in, even when I put it into the offending handler. The other suggestions assume I know in advance which handler will cause a problem. Is there a universal solution I can apply at startup to allow me to break a script? Joe Orlando, Florida ___ 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: Endless Looping Chapter 2
Joe, allowInterrupts is a global (and persistent, I think) property of the IDE (which defaults to true, in 2.7.4 at least). As long is it is set to true you should be able to interrupt a runaway loop by holding command - period (Mac) or control - period (Windows). There was a version (2.7.2?) which wrongly defaulted to false, and before I realised what was going on, I just got into the habit of putting if the controlKey is down then exit repeat inside every loop, until I was sure the loop was ok. The cmnd/cntrl period should work, though. Best, Mark On 4 Feb 2007, at 04:22, [EMAIL PROTECTED] wrote: In a message dated 2/3/07 3:57:24 PM, [EMAIL PROTECTED] writes: Hi Everyone Is there a way for me to stop a running script that’s caught in an endless loop so I can fix my scripting error? Joe Orlando, Florida I tried “AllowInterrupts” it didn’t allow me to break in, even when I put it into the offending handler. The other suggestions assume I know in advance which handler will cause a problem. Is there a universal solution I can apply at startup to allow me to break a script? Joe Orlando, Florida ___ 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: Endless Looping Chapter 2
Hi Joe, Short of universal execution controllers (which I'm not aware of), I would recommend you do something like this: First, identify where the problem is. - comment out most of your code, just leaving some very basic stuff. - save. - run a test. - uncomment a little code. - save. - do another test. - repeat this cycle until you get a failure. When you finally get a failure, you'll know it's associated with the code you most recently uncommented. Second, use one of the methods you now know from previous posts to interrupt the endless loop when it happens. HTH - Phil Davis [EMAIL PROTECTED] wrote: In a message dated 2/3/07 3:57:24 PM, [EMAIL PROTECTED] writes: Hi Everyone Is there a way for me to stop a running script that’s caught in an endless loop so I can fix my scripting error? Joe Orlando, Florida I tried “AllowInterrupts” it didn’t allow me to break in, even when I put it into the offending handler. The other suggestions assume I know in advance which handler will cause a problem. Is there a universal solution I can apply at startup to allow me to break a script? Joe Orlando, Florida ___ 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: Endless Looping Chapter 2
[EMAIL PROTECTED] wrote: I tried “AllowInterrupts” it didn’t allow me to break in, even when I put it into the offending handler. It's a global property, you set it once and forget about it. Put this into the message box: set the allowinterrupts to true After that, command-period should allow you to break into any script and stop it. The property will be persisitent for the entire session. If you are using the latest release of 2.7.4, then the allowInterrupts should be set to true automatically by the IDE, and doing the above won't change anything. But if you are using the last release before this one, it shipped with this property set to false and command-period didn't work. Setting it in the message box will fix it. -- 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: Will Rev Window XP builds run on VISTA?
Charles- Saturday, February 3, 2007, 10:24:45 AM, you wrote: Does anyone know if Rev Window XP builds will run on VISTA? That's much too generic a question. The short answer is yes, if you build an app in XP it will run in Vista. As long as you don't need to store data in areas that are no longer allowed. Or try to install an app for all users without having Admin privileges. Or any number of other gotchas. U3 builds won't work, of course. But otherwise you've got a good chance of coming out OK. Oh, and we've also had problems with installers. -- -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