RE: docs
I agree. And this wiki-revdocs would realy add value to the product, but what i was really talking to was the guts, the latin, of the interprter, how and why and when the great Oz pulls his levers. Reading the great books on hypercard and you began to undeestand the mind of god. maybe this said more about the profound elegance of the hypercard kernal, but knowing the interpretor meant knowing how to write scripts and build stacks. -Original Message- From: Peter Alcibiades [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: 1/16/2008 10:56 PM Subject: docs supercard docs leave the user reverse enginering for dollars Yes. Yes, so true. The problem is not with the existing docs, which are just fine for what they do. The problem, for people learning it, is that they are like a cookbook all about ingredients but with no recipes for dishes. Its like trying to find how to make apple pie from a book which has very fine informative entries for apple, pastry, sugar - but no entry for pie. What you need when you are learning however is a cookbook that starts from tasks. The great Carla Schroder's Linux Cookbook is a fine example. By the time I have learned Rev properly, if I am spared that long, I'll have personally written one in the form of notes on topics encountered as problems to solve, and so will many of us. It would be a great collaborative project were something like this to be done right. It would probably make a significant contribution to Rev's success and adoption if there were one available. If everyone on the group just contributed one a month, it would be a fantastic resource, and would grow to a respectable size very fast. I'd be happy to help. Not with writing recipes (which might be a bit of a disaster) but with editing and so on. Revolution Recipes. It has a nice ring to it? Peter ___ 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: importing a bunch of files
set the uTest[some\thing] of this stack to test cautioning against naming custom properties anything that wouldn't be legal for variables, on the grounds that it may work now but might not work forever. Where can we see more about: be legal for variables ? Regards, Thierry ___ 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: importing a bunch of files
Hi Randall, If you follow shuch a scheme, ... All of this points to why it makes sense at times to interface your stack to a professional data base and let it do all of this structural efficiency heavylifting (that is what it is there for). I like to build my own cause i like to learn... But the obsession is almost killing me. Well, as far as I can see with your emails, it seems you're full alive :-) Thanks for all your remarks. M, without explaining all the project, I can give some rules which can be seen as formal facts: - No database engine wanted ! - No databases needed for this tree files It's only a tree ! These files are Text and only Text , and they are read only once, but don't know when and in which order. - From the user's point of view, it will makes no differences at all ( even fully invisible ) that the file is read from the disk or from whatever revolution's container where the text will be stored in. - Revolution will be absolutely ignorant about the meaning of these files - If all the files to be imported in a stack are too big, they can be compressed as an option. - must work on Mac/Windows/Linux boxes Here is the context of my question about transforming a tree of files. By now, I will try to do this with custompropertysets, and see what happens. Regards, Thierry ___ 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
Time Conversion Problem
Hi All, I am reading a file that contains date and time data. The Date/Time is represented as a 4 byte integer and is defined as the number of seconds since 1/1/1904 (Apple Date/Time format). Does anyone know if there is a way to convert this to a displayable format, e.g. Thursday, January 17, 2008 1:35 PM. If there isn't a way of doing this in RunRev, does anyone know how to go about doing this? Thanks a lot All the Best Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: An interesting project?
Hello Tim As far as I know RR cannot play two simultaneous sounds. This is the most important limitation about RR for us as game developers. Regards, Andres Martinez www.baKno.com On Jan 16, 2008, at 5:19 PM, Timothy Miller wrote: Hi, Can I post a youtube link here? Well, here goes. http://www.youtube.com/watch?v=wreP8FMupyM If you don't feel like clicking on the link, it demonstrates a cool drumbeat machine with a GUI, sort of. I lusted after it for a moment, then realized it's limited, probably not commercially available, and likely very expensive. It then occurred to me that it probably would be pretty easy to emulate in RR. It probably would not be hard to add additional sounds, maybe two measures instead of one, maybe sixteeenth notes, and maybe different time signatures. Speed could be an issue. Not certain. Maybe that's already been done. I dunno. I don't think I'm up to it. Maybe someone else is. I thought I'd mention it, fwiw. Cheers, Tim 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 ___ 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: Weird RunRev IDE Problem
On 17 Jan 2008, at 14:44, Richard Gaskin wrote: Dave wrote: I always set the Variable checking by default preference on so that Local's have to be defined. This has been working fine for at least 6 months (when I installed this version on RunRev). Now today, I get an error on the following code: function TestFunc local myValue put it into myValue return empty end testFunc The problem is that it's complaining that the it is not defined! Is that the full code for that handlers? Where is the value of it assigned? Here's the full code for the function: -- -- -- LibiPodTranslateField -- -- function LibiPodTranslateField theFieldName,theFieldValue local myFieldValue put theFieldValue into myFieldValue switch theFieldName case DateAdded case ModDate case PlayedDate case TrackSkippedDate convert myFieldValue to long date and long time put it into myFieldValue break end switch return myFieldValue end LibiPodTranslateField After a bit of playing around, I discovered that if I change the code to use: convert 60 to long date and long time Then it works, if I use: convert myFieldValue to long date and long time Then I get the error. How can I pass a seconds value other than a literal??? Also, why, after getting the error can I no longer open the prefs dialog? Thanks a lot All the Best Dave -- 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 ___ 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: Weird RunRev IDE Problem
Dave wrote: I always set the Variable checking by default preference on so that Local's have to be defined. This has been working fine for at least 6 months (when I installed this version on RunRev). Now today, I get an error on the following code: function TestFunc local myValue put it into myValue return empty end testFunc The problem is that it's complaining that the it is not defined! Is that the full code for that handlers? Where is the value of it assigned? -- 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: Weird RunRev IDE Problem
Hi Dave, All this sounds normal to me :-) 'it' is not defined here. To define 'it', you must put a value into or request a command, like get, read from file, convert, ask or answer that feed 'it' automatically. Le 17 janv. 08 à 15:39, Dave a écrit : Hi All, I always set the Variable checking by default preference on so that Local's have to be defined. This has been working fine for at least 6 months (when I installed this version on RunRev). Now today, I get an error on the following code: function TestFunc local myValue put it into myValue return empty end testFunc The problem is that it's complaining that the it is not defined! As I say, I've been using it and referencing it and result ok (without the quotes), now for no apparent reason it gives the error: expression: unquoted literal I tried removing the into myValue so it just reads put it but I still get the same error. Also, once I've hit this error, it fails to open the preference panel when selected from the Menubar, the only way I can get it the preferences up after this is to quit RunRev and re-launch. Any ideas on how to overcome this or what is going wrong? I'm dead in the water now as code that used to compile ok, suddenly doesn't!!! All the Best Dave 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
Weird RunRev IDE Problem
Hi All, I always set the Variable checking by default preference on so that Local's have to be defined. This has been working fine for at least 6 months (when I installed this version on RunRev). Now today, I get an error on the following code: function TestFunc local myValue put it into myValue return empty end testFunc The problem is that it's complaining that the it is not defined! As I say, I've been using it and referencing it and result ok (without the quotes), now for no apparent reason it gives the error: expression: unquoted literal I tried removing the into myValue so it just reads put it but I still get the same error. Also, once I've hit this error, it fails to open the preference panel when selected from the Menubar, the only way I can get it the preferences up after this is to quit RunRev and re-launch. Any ideas on how to overcome this or what is going wrong? I'm dead in the water now as code that used to compile ok, suddenly doesn't!!! All the Best Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Time Conversion Problem
From the docs: 'The seconds function returns the total number of seconds since midnight, January 1, 1970 GMT.' In theory, you can work out the number of seconds from 1904 to 1970. Then take this away from the Apple seconds to to get 'Rev seconds'. Once it's in that format you can use the convert function to get many different formats. Ian On 17 Jan 2008, at 13:36, Dave wrote: Hi All, I am reading a file that contains date and time data. The Date/Time is represented as a 4 byte integer and is defined as the number of seconds since 1/1/1904 (Apple Date/Time format). Does anyone know if there is a way to convert this to a displayable format, e.g. Thursday, January 17, 2008 1:35 PM. If there isn't a way of doing this in RunRev, does anyone know how to go about doing this? Thanks a lot All the Best Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ 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: Weird RunRev IDE Problem
On 17 Jan 2008, at 15:04, Eric Chatonet wrote: From Convert docs: If the dateAndTime is a container, the converted date and time is placed in the container, replacing the previous contents. If the dateAndTime is a string, the converted date and time is placed in the it variable. So in your case, returned value is not in 'it' but in 'myFieldValue' Opps! Missed that bit! What happens if you use 0 + myFieldValue? (which is how I got around the problem) All the Best Dave Le 17 janv. 08 à 15:54, Dave a écrit : Is that the full code for that handlers? Where is the value of it assigned? Here's the full code for the function: -- -- -- LibiPodTranslateField -- -- function LibiPodTranslateField theFieldName,theFieldValue local myFieldValue put theFieldValue into myFieldValue switch theFieldName case DateAdded case ModDate case PlayedDate case TrackSkippedDate convert myFieldValue to long date and long time put it into myFieldValue break end switch return myFieldValue end LibiPodTranslateField After a bit of playing around, I discovered that if I change the code to use: convert 60 to long date and long time Then it works, if I use: convert myFieldValue to long date and long time Then I get the error. How can I pass a seconds value other than a literal??? Also, why, after getting the error can I no longer open the prefs dialog? Thanks a lot All the Best Dave 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 ___ 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: Weird RunRev IDE Problem
From Convert docs: If the dateAndTime is a container, the converted date and time is placed in the container, replacing the previous contents. If the dateAndTime is a string, the converted date and time is placed in the it variable. So in your case, returned value is not in 'it' but in 'myFieldValue' Le 17 janv. 08 à 15:54, Dave a écrit : Is that the full code for that handlers? Where is the value of it assigned? Here's the full code for the function: -- -- -- LibiPodTranslateField -- -- function LibiPodTranslateField theFieldName,theFieldValue local myFieldValue put theFieldValue into myFieldValue switch theFieldName case DateAdded case ModDate case PlayedDate case TrackSkippedDate convert myFieldValue to long date and long time put it into myFieldValue break end switch return myFieldValue end LibiPodTranslateField After a bit of playing around, I discovered that if I change the code to use: convert 60 to long date and long time Then it works, if I use: convert myFieldValue to long date and long time Then I get the error. How can I pass a seconds value other than a literal??? Also, why, after getting the error can I no longer open the prefs dialog? Thanks a lot All the Best Dave 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
Re: Weird RunRev IDE Problem
Hi, I've changed it now. I agree it is awful, but overwriting input parameters is almost as bad. The problem here is that convert is a command rather than a function, it would be *much* better to make it a function and return the result. All the Best Dave On 17 Jan 2008, at 15:41, Eric Chatonet wrote: It works but why would you prefer the most complicated when the simpler is available? BTW I avoid to use 'it' every time it appears possible and prefer to declare a variable of my own: 'it' can be changed by some commands along a handler and this is able to put a mess :-) Le 17 janv. 08 à 16:24, Dave a écrit : On 17 Jan 2008, at 15:04, Eric Chatonet wrote: From Convert docs: If the dateAndTime is a container, the converted date and time is placed in the container, replacing the previous contents. If the dateAndTime is a string, the converted date and time is placed in the it variable. So in your case, returned value is not in 'it' but in 'myFieldValue' Opps! Missed that bit! What happens if you use 0 + myFieldValue? (which is how I got around the problem) All the Best Dave 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 ___ 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: cancel a wait
Chris, The waitDepth property might also help you. It will return the number of currently running handlers paused at a 'wait with messages' statement. On Jan 16, 2008, at 9:32 PM, Kay C Lan wrote: On Jan 17, 2008 1:27 AM, Chris Sheffield [EMAIL PROTECTED] wrote: Is there any way to cancel a wait command? So I'm wondering, if a user moves to that second card before the audio of the first card finishes, is there some way to cancel that wait...with messages? Does that make sense? Let me know if I need to clarify. I just created a quick test stack, two buttons, one with a script to beep, wait 5 seconds with messages then beep again. The other button with a script exit to top. Clicking the second button prevented the second beep from occurring. The docs says to use exit to top 'to stop executing the current handler and suppress pending messages' Suppress pending messages being what you're looking for I think. My guess is a well placed 'exit to top' at the very end of a closeCard handler in your first card might do the trick. I've also used this technique successfully. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Weird RunRev IDE Problem
It works but why would you prefer the most complicated when the simpler is available? BTW I avoid to use 'it' every time it appears possible and prefer to declare a variable of my own: 'it' can be changed by some commands along a handler and this is able to put a mess :-) Le 17 janv. 08 à 16:24, Dave a écrit : On 17 Jan 2008, at 15:04, Eric Chatonet wrote: From Convert docs: If the dateAndTime is a container, the converted date and time is placed in the container, replacing the previous contents. If the dateAndTime is a string, the converted date and time is placed in the it variable. So in your case, returned value is not in 'it' but in 'myFieldValue' Opps! Missed that bit! What happens if you use 0 + myFieldValue? (which is how I got around the problem) All the Best Dave 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
Re: docs
On Jan 16, 2008, at 11:56 PM, Peter Alcibiades wrote: supercard docs leave the user reverse enginering for dollars Yes. Yes, so true. The problem is not with the existing docs, which are just fine for what they do. The problem, for people learning it, is that they are like a cookbook all about ingredients but with no recipes for dishes. Its like trying to find how to make apple pie from a book which has very fine informative entries for apple, pastry, sugar - but no entry for pie. What you need when you are learning however is a cookbook that starts from tasks. The great Carla Schroder's Linux Cookbook is a fine example. Just to remind everyone--there is a fine cookbook of recipes included in the Rev documentation, albeit easily overlooked. Just open Documentation Getting Started, then choose Sample Projects or Sample Scripts. This is not an exhaustive list, but does give a good taste of how things are done in Rev. These recipes are also searchable using the Search feature of the Documentation (Thanks, Eric!) Search also lets you search the mail list archives and several key web sites maintained by Rev developers. The Search feature is under-promoted and so often overlooked. It has saved my bacon many times. By the time I have learned Rev properly, if I am spared that long, I'll have personally written one in the form of notes on topics encountered as problems to solve, and so will many of us. It would be a great collaborative project were something like this to be done right. It would probably make a significant contribution to Rev's success and adoption if there were one available. If everyone on the group just contributed one a month, it would be a fantastic resource, and would grow to a respectable size very fast. I'd be happy to help. Not with writing recipes (which might be a bit of a disaster) but with editing and so on. Revolution Recipes. It has a nice ring to it? See comments above. :-) Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: importing a bunch of files
On Jan 17, 2008, at 5:56 AM, Thierry wrote: set the uTest[some\thing] of this stack to test cautioning against naming custom properties anything that wouldn't be legal for variables, on the grounds that it may work now but might not work forever. Where can we see more about: be legal for variables ? From our tutorials at http://revolution.byu.edu/transcript/ Transcript1.php A Revolution variable name: May be any single string (no spaces) of letters, numbers, or underscores. Must begin with a letter or underscore (never a number). Cannot be a Transcript key word. Is not case sensitive, but capital letters are often useful to improve readability. I forget where I found these rules, but they were somewhere in the documentation. (Which begs the question that things should be easier to find in the docs. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Weird RunRev IDE Problem
Hi, Revolution is an XTalk: Probably 'convert value to short date and long time' is more English like than 'put convert(value,short date,long time) into something' :-) I assume this has been carefully thought out since decades... Le 17 janv. 08 à 16:50, Dave a écrit : The problem here is that convert is a command rather than a function, it would be *much* better to make it a function and return the result. 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
Re: importing a bunch of files
On Jan 17, 2008, at 9:29 AM, Devin Asay wrote: On Jan 17, 2008, at 5:56 AM, Thierry wrote: Where can we see more about: be legal for variables ? From our tutorials at http://revolution.byu.edu/transcript/ Transcript1.php A Revolution variable name: May be any single string (no spaces) of letters, numbers, or underscores. Must begin with a letter or underscore (never a number). Cannot be a Transcript key word. Is not case sensitive, but capital letters are often useful to improve readability. I forget where I found these rules, but they were somewhere in the documentation. (Which begs the question that things should be easier to find in the docs.) Ah, found it: The Revolution User Guide PDF, section 5.5.5 - Variable Names. (Open Documentation, click User Guide, then launch PDF.) Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: docs
Hi Devin, Le 17 janv. 08 à 17:17, Devin Asay a écrit : These recipes are also searchable using the Search feature of the Documentation (Thanks, Eric!) Search also lets you search the mail list archives and several key web sites maintained by Rev developers. The Search feature is under-promoted and so often overlooked. It has saved my bacon many times. Thanks for the kind word :-) This Search Engine is under-promoted: yes :-( And it has many unknown features: For instance, it is able to display stacks uploaded to RevOnline for a week or a month. This should prevent many to ask 'where is this stack?' on the list :-) Talking of which, it allows also to subscribe/unsubscribe to any Rev list, find the definition of 'FTP', revise operator precedence and so much more. I wanted it to be a Swiss knife: probably too much blades without making any hole in your pocket ;-) 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
Re: An interesting project?
Recently, Andres Martinez wrote: As far as I know RR cannot play two simultaneous sounds. Using player objects, you can play several sounds simultaneously (one sound assigned to each player). You can also play an imported sound and a player simultaneously. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ 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: An interesting project?
Thank you Scott It will help our developments tremendously! I am going to start playing with it right now. Regards, Andres Martinez www.baKno.com On Jan 17, 2008, at 12:28 PM, Scott Rossi wrote: Recently, Andres Martinez wrote: As far as I know RR cannot play two simultaneous sounds. Using player objects, you can play several sounds simultaneously (one sound assigned to each player). You can also play an imported sound and a player simultaneously. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ 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 PerlTk from runrev - does this work on mac?
Hi Franz, It looks like OS X has some Perl libraries, but not PerlTK. I get this in the lower field when I hit the button: Can't locate Tk.pm in @INC (@INC contains: /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at -e line 1. BEGIN failed--compilation aborted at -e line 1. This is on OS X 10.4.11 (Tiger) Josh --- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I have done a little stack which runs a perl script embedded as a custom property. This works for me on my win pcs and servers with perl installed and on the linux. Does this work on a modern mac (= do you have PerlTk normally on your macs?). If it would work on mac too it would allow to extend runrev on any machine with the power of perl everytime we need it ... you can go stack URL http://animabit.de/runrev/perl.rev; or test it on your own: [button] on mouseUp replace cr with empty in field perl put field perl into auftrag replace quote with (\ quote) in auftrag put perl -e quote auftrag quote into auftrag set the hideConsoleWindows to true --answer auftrag put shell(auftrag) into field ergebnis end mouseUp [text of field perl] use strict;use Tk;my $main = new MainWindow;$main-Label(-text = At the top (default) \x{5DB}\x{5DC}\x{5DE} \x{fe95}\x{fe95})-pack;$main-Label(-text = 'At the bottom')-pack(-side = 'bottom'); $main-Label(-text = 'The middle remains')-pack; my $top1 = $main-Toplevel; $top1-Label(-text = 'Left')-pack(-side = 'left');$top1-Label(-text = 'Right')-pack(-side = 'right'); $top1-Label(-text = '?Bottom?')-pack(-side = 'bottom');my $top2 = $main-Toplevel;my $frame = $top2-Frame; $frame-pack;$frame-Label(-text = 'Left2')-pack(-side = 'left'); $frame-Label(-text = 'Right2')-pack(-side = 'right');$top2-Label(-text = 'Bottom2')-pack(-side = 'bottom'); MainLoop; thank you, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 To: use-revolution@lists.runrev.com Cc: [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
OT: MacWorld keynote
Missed the MacWorld keynote? Here it is condensed down to sixty seconds: http://www.youtube.com/watch?v=Yz1-cPx0cIk -- 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: importing a bunch of files
Have you written a file tree spider? -Original Message- From: Thierry [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: 1/17/2008 4:54 AM Subject: Re: importing a bunch of files Hi Randall, If you follow shuch a scheme, ... All of this points to why it makes sense at times to interface your stack to a professional data base and let it do all of this structural efficiency heavylifting (that is what it is there for). I like to build my own cause i like to learn... But the obsession is almost killing me. Well, as far as I can see with your emails, it seems you're full alive :-) Thanks for all your remarks. M, without explaining all the project, I can give some rules which can be seen as formal facts: - No database engine wanted ! - No databases needed for this tree files It's only a tree ! These files are Text and only Text , and they are read only once, but don't know when and in which order. - From the user's point of view, it will makes no differences at all ( even fully invisible ) that the file is read from the disk or from whatever revolution's container where the text will be stored in. - Revolution will be absolutely ignorant about the meaning of these files - If all the files to be imported in a stack are too big, they can be compressed as an option. - must work on Mac/Windows/Linux boxes Here is the context of my question about transforming a tree of files. By now, I will try to do this with custompropertysets, and see what happens. Regards, Thierry ___ 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: Weird RunRev IDE Problem
Dave- I've changed it now. I agree it is awful, but overwriting input parameters is almost as bad. The problem here is that convert is a command rather than a function, it would be *much* better to make it a function and return the result. Agreed, but you'd have to change the syntax. You've used it like a command: convert myFieldValue to long date and long time if you wanted to use it as a function you'd have to say put convert(myFieldValue, long date, long time) into myFieldValue The docs list convert as a command. If you really need to, there's nothing (theoretically) stopping you from making a function that does what you want, but IMO it would be better in the long run just to get used to using the convert command the way it's documented to work: FUNCTION ConvertTheHardWay pValue, pDateFormat, pTimeFormat local tConvertedValue put pValue into tConvertedValue IF pTimeFormat is not empty THEN do convert tConvertedValue to pDateFormat AND pTimeFormat ELSE do convert tConvertedValue t pDateFormat END IF return tConvertedValue END ConvertTheHardWay put ConvertTheHardWay(theFieldValue, long date, long time) into myValue This doesn't save any work (there's actually more typing to do) and you have to remember the syntax each time you go to use it... -- 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
rawKeyDown not working in SAs?
I've got a scrolling group (named OverlayAndImageGroup ) that is composed of an image of a map, and numerous text fields and other smaller groups. I have been trying to add the capability to use the mouse's scrolling wheel to scroll the group OverlayAndImageGroup up and down. When I add to the group OverlayAndImageGroup the script --below 3 handlers added 2007-12-18 on rawKeyDown theKeyNumber --put theKeyNumber into msg if theKeyNumber is 65308 then increaseScroll -- mouse wheel down else if theKeyNumber is 65309 then decreaseScroll -- mouse wheel up else pass rawKeyDown -- don't forget this! end rawKeyDown on decreaseScroll set the vScroll of group OverlayandImageGroup to the vScroll of group OverlayandImageGroup - 51 put the ScreenmouseLoc into thisLoc --below done to get calcLatLong run to update latitude set the ScreenmouseLoc to item 1 of thisLoc, item 2 of thisLoc + 1 end decreaseScroll on increaseScroll set the vScroll of group OverlayandImageGroup to the vScroll of group OverlayandImageGroup + 51 put the ScreenmouseLoc into thisLoc--below done to get calcLatLong run to update latitude set the ScreenmouseLoc to item 1 of thisLoc, item 2 of thisLoc - 1 end increaseScroll it works perfectly as long as I am in the development environment. I also have built into this Map stack, the ability to measure distances areas, etc., from a mouseDown handler in the Map stack script, and to get latitude - longitude read outs from a mouseMove handler in the Map stack's card level script. It, too works perfectly as long as I am in the development environment (one has to open a Tools palette to start measuring, a process that sets globals that control the measuring processes). BUT when I create a standalone (for both Mac and Windows), neither the mouse scrolling wheel works to scroll the group OverlayandImageGroup up or down, nor does the ability to measure distances, areas, etc. work. The mouseMove does, however, continue to feed into my lat-longitude script and give me lat long. Has anyone else run into this kind of a problem? One can download the offending rev stack (18.2 MB unzipped, 6.5 MB zipped) from the url http://ddm.geo.umass.edu/ddm-umass/ddm-umass-2008-01-17-rev.zip if you want to get to SAs that do work, visit the web page http://ddm.geo.umass.edu/ddm-umass/index.html I'm using Intel Macs (a MacBookPro and desktop Pro) and OS 10.4 10.5 and both Rev 2.8.1 and 2.9.0-dp-3 Build 520 and all behavior is the same on the platforms, and on the Windows SA's I've created. ___ Along the same lines, is there a rawKeyDown code for left-right scrolling? I've used Sarah's KeyCoder.rev project (thanks, Sarah!) with no joy as well as the code: on rawKeyDown pKey put pKey into msg end rawKeyDown in a v and h scrolling field and get no rawKeyCode when i try to scroll left-right appreciate help. Chris -- Dr. Christopher D. Condit, Associate Prof., Dept. of Geosciences Univ. Massachusetts, 611 North Pleasant St., Amherst, MA, 01003-9297 [EMAIL PROTECTED] 413-545-0272 My Web Page: http://www.geo.umass.edu/faculty/condit.htm Revolution Dynamic Digital Maps: http://ddm.geo.umass.edu ___ 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: Delete lines in files (text files)
On Jan 17, 2008, at 12:05 PM, Till Bandi wrote: Hi all is there a way to delete lines in a text file from Revoution? - i did not see how this can be done but probably it is very simple. Till, You have to read it in then write it back out. You can do it in one line like this (assume you want to delete the first line): put line 2 to -1 of url file:/path/to/file.txt into url file:/path/ to/file.txt Just modify the range of lines you want to have in the final file. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
using PerlTk from runrev - does this work on mac?
Hello, I have done a little stack which runs a perl script embedded as a custom property. This works for me on my win pcs and servers with perl installed and on the linux. Does this work on a modern mac (= do you have PerlTk normally on your macs?). If it would work on mac too it would allow to extend runrev on any machine with the power of perl everytime we need it ... you can go stack URL http://animabit.de/runrev/perl.rev; or test it on your own: [button] on mouseUp replace cr with empty in field perl put field perl into auftrag replace quote with (\ quote) in auftrag put perl -e quote auftrag quote into auftrag set the hideConsoleWindows to true --answer auftrag put shell(auftrag) into field ergebnis end mouseUp [text of field perl] use strict;use Tk;my $main = new MainWindow; $main-Label(-text = At the top (default) \x{5DB}\x{5DC}\x{5DE} \x{fe95}\x{fe95})-pack;$main-Label(-text = 'At the bottom')-pack(-side = 'bottom');$main-Label(-text = 'The middle remains')-pack;my $top1 = $main-Toplevel;$top1-Label(-text = 'Left')-pack(-side = 'left');$top1-Label(-text = 'Right')-pack(-side = 'right');$top1-Label(-text = '?Bottom?')-pack(-side = 'bottom');my $top2 = $main-Toplevel;my $frame = $top2-Frame;$frame-pack; $frame-Label(-text = 'Left2')-pack(-side = 'left'); $frame-Label(-text = 'Right2')-pack(-side = 'right'); $top2-Label(-text = 'Bottom2')-pack(-side = 'bottom');MainLoop; thank you, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 To: use-revolution@lists.runrev.com Cc: [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: An interesting project?
On Jan 17, 2008, at 7:25 AM, Andres Martinez wrote: Hello Tim As far as I know RR cannot play two simultaneous sounds. This is the most important limitation about RR for us as game developers. While it is true that you can only play one audio clip at a time using the play command, you can play audio files simultaneously using player objects. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Delete lines in files (text files)
Hi all is there a way to delete lines in a text file from Revoution? - i did not see how this can be done but probably it is very simple. Thanks Till ___ 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: Delete lines in files (text files)
On Jan 17, 2008, at 12:37 PM, Randall Lee Reetz wrote: Wow, i gave the supercard syntax, lots more verbose, (better question: how do you delete a line of script?). How about (not tested): get the script of btn myBtn delete line 4 of it set the script of btn myBtn to it I think you might run up against the 10-line script limitation if you were doing this in a standalone app. Anybody know for sure? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: importing a bunch of files
Where can we see more about: be legal for variables ? Regards, Thierry The 'rules' for this might not be documented. I've had problems with custom properties that are named like this: 1 a number or begin with a number can be a problem 2 spaces in the name doesn't always work 3 use only alphanumeric characters except for underscore (and maybe dashes) 4 no command token names 5 no object property names this is why Richard's 'Hungarian Notation' works for this: 'c' prefix for custom property cSQBMailPreferences--good custom prop name - this will always work cSQB_mailPreferences --with an underscore delimiter of course any character, even binary is welcome inside any custom property. We're talking about property NAMES and Array key names. -- 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
Directory Walkers and barking spiders
Have you written a file tree spider? -Original Message- I think around these parts we call them 'Directory Walkers' and several here have contributed versions, some elaborate examples complete with scrolling fields and icons. I'm sure someone will chime in here once we get the nomenclature. -- 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: Delete lines in files (text files)
You open the file You read the contents odd the file You put it into a var or field or customprop You close the file You delete the lines in your container You open the file again You write that container to the file You close the file -Original Message- From: Till Bandi [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: 1/17/2008 11:05 AM Subject: Delete lines in files (text files) Hi all is there a way to delete lines in a text file from Revoution? - i did not see how this can be done but probably it is very simple. Thanks Till ___ 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: Delete lines in files (text files)
Devin Asay wrote: On Jan 17, 2008, at 12:37 PM, Randall Lee Reetz wrote: Wow, i gave the supercard syntax, lots more verbose, (better question: how do you delete a line of script?). How about (not tested): get the script of btn myBtn delete line 4 of it set the script of btn myBtn to it I think you might run up against the 10-line script limitation if you were doing this in a standalone app. Anybody know for sure? Any script longer than 10 lines cannot be put into an object at runtime. Randall, why do you need to edit the script at runtime? I'll bet there's a more efficient solution we may be able to come up with for you. -- 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: Delete lines in files (text files)
Wow, i gave the supercard syntax, lots more verbose, (better question: how do you delete a line of script?). randall -Original Message- From: Devin Asay [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: 1/17/2008 11:25 AM Subject: Re: Delete lines in files (text files) On Jan 17, 2008, at 12:05 PM, Till Bandi wrote: Hi all is there a way to delete lines in a text file from Revoution? - i did not see how this can be done but probably it is very simple. Till, You have to read it in then write it back out. You can do it in one line like this (assume you want to delete the first line): put line 2 to -1 of url file:/path/to/file.txt into url file:/path/ to/file.txt Just modify the range of lines you want to have in the final file. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ 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: Delete lines in files (text files)
Randall- The ten-line limit is only for standalone apps. If you're running in the IDE there's no limit. Does that help? -- 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: Delete lines in files (text files)
Actually richard, this thread ran away on me... But i didn't know about this ten line limit? That seems strange. Why is that limit there? And, yes i want to know how to fake it. randall -Original Message- From: Richard Gaskin [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: 1/17/2008 11:52 AM Subject: Re: Delete lines in files (text files) Devin Asay wrote: On Jan 17, 2008, at 12:37 PM, Randall Lee Reetz wrote: Wow, i gave the supercard syntax, lots more verbose, (better question: how do you delete a line of script?). How about (not tested): get the script of btn myBtn delete line 4 of it set the script of btn myBtn to it I think you might run up against the 10-line script limitation if you were doing this in a standalone app. Anybody know for sure? Any script longer than 10 lines cannot be put into an object at runtime. Randall, why do you need to edit the script at runtime? I'll bet there's a more efficient solution we may be able to come up with for you. -- 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 ___ 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: Directory Walkers and barking spiders
You know what i hate, i will be proud that i made a walker in ten lines of script and someone will upload a one that is only a single char! I met a guy at apple once the called n-1 (though he did die of a brain tumor). My code is more in line with a more geriactric meaning of walker. r -Original Message- From: Stephen Barncard [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: 1/17/2008 11:51 AM Subject: Directory Walkers and barking spiders Have you written a file tree spider? -Original Message- I think around these parts we call them 'Directory Walkers' and several here have contributed versions, some elaborate examples complete with scrolling fields and icons. I'm sure someone will chime in here once we get the nomenclature. -- 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: Delete lines in files (text files)
Was joking. -Original Message- From: Devin Asay [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: 1/17/2008 11:44 AM Subject: Re: Delete lines in files (text files) On Jan 17, 2008, at 12:37 PM, Randall Lee Reetz wrote: Wow, i gave the supercard syntax, lots more verbose, (better question: how do you delete a line of script?). How about (not tested): get the script of btn myBtn delete line 4 of it set the script of btn myBtn to it I think you might run up against the 10-line script limitation if you were doing this in a standalone app. Anybody know for sure? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ 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: Delete lines in files (text files)
Hi Randall, Le 17 janv. 08 à 21:00, Randall Lee Reetz a écrit : But i didn't know about this ten line limit? That seems strange. Why is that limit there? And, yes i want to know how to fake it. This limit is just to prevent malicious guys to fake Rev itself :-) 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
Issues with start using stack
Hello all, I am hoping someone can help me with this... I have a library stack that I call using the start using stack command. The script was originally contained in stack1's stack script. Now I have several other stacks that need to do the same basic things, so I created stack2 as a library stack. I removed the stack scripting in stack1. I call the start using stack command in the preOpenStack handler of stack1. Now some handlers work fine, but other handlers give me errors, stating object is not found. There seems to be no rhyme or reason to this. (Example: I can show group readMe on the card just fine, but setting the style of scrollbar loudness on the same card gives me an error.) I can not seem to figure out what the problem is. Has anyone experienced something similar when using a library stack? I currently have no handlers in stack1 that are also in stack2 (the library stack) so I am pretty sure it is not a hierarchy problem. Any insights? Thanks, Sharon _ Sharon Stamps Testing Development English Language Center Brigham Young University [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: Delete lines in files (text files)
Hi Randall, If you were allowed to set any script to any value (i.e. thousands of lines of code), you could build a standalone, the stacks of which would be able to clone all Rev features. This limitation has been introduced to prevent this. Just a security measure :-) Le 17 janv. 08 à 23:18, Randall Lee Reetz a écrit : I dont get it... Please explain. -Original Message- From: Eric Chatonet [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: 1/17/2008 12:35 PM Subject: Re: Delete lines in files (text files) Hi Randall, Le 17 janv. 08 à 21:00, Randall Lee Reetz a écrit : But i didn't know about this ten line limit? That seems strange. Why is that limit there? And, yes i want to know how to fake it. This limit is just to prevent malicious guys to fake Rev itself :-) Best regards from Paris, Eric Chatonet. 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
Another Revolution?
So, while visiting Macworld San Francisco this week, I chanced upon a small booth that had the word HyperCard in the description. I was prepared to dismiss whatever goofball developments the guys there were showing, but after talking to them for a while, I think they have an interesting take on x-talk (for them it's HyperTalk). Called TileStack, their intention is to create a HyperCard-type development environment, but starting from the Web side using Javascript libraries and server-based logic, instead of starting from the desktop side. All coding will use the HyperTalk (TileTalk?) language and if I recall correctly, the initial IDE will be a Web-based front end. The interesting possibility about this is that, if it is ever released, stacks will be immediately sharable by a much larger audience than x-talk tools which require players/standalones (I believe only Javascript is needed to run a stack, thus the potential for delivery could be equal to or maybe even greater than Flash, which requires a player). Obviously, there are a lot of questions to be answered, and it wasn't clear to me how far along they are, but they have a simple puzzle demo on their site and they are collecting email addresses of interested parties for early access. http://tilestack.com/ FWIW. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ 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: Delete lines in files (text files)
But isnt 10 a bit draconian? -Original Message- From: Eric Chatonet [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: 1/17/2008 2:27 PM Subject: Re: Delete lines in files (text files) Hi Randall, If you were allowed to set any script to any value (i.e. thousands of lines of code), you could build a standalone, the stacks of which would be able to clone all Rev features. This limitation has been introduced to prevent this. Just a security measure :-) Le 17 janv. 08 à 23:18, Randall Lee Reetz a écrit : I dont get it... Please explain. -Original Message- From: Eric Chatonet [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: 1/17/2008 12:35 PM Subject: Re: Delete lines in files (text files) Hi Randall, Le 17 janv. 08 à 21:00, Randall Lee Reetz a écrit : But i didn't know about this ten line limit? That seems strange. Why is that limit there? And, yes i want to know how to fake it. This limit is just to prevent malicious guys to fake Rev itself :-) Best regards from Paris, Eric Chatonet. 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 ___ 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: Issues with start using stack
Hi Sharon, When a library acts on objects/controls in another stack, it's usual to refer to these objects using their long name/ID to be sure to address the right object: just try it :-) This means that a param passes the long name of an object and your lib acts as follows: 'set the width of pObj to value' for instance. Then no matter what is the defaultStack or such issues that lead to errors like 'No such object'. Le 17 janv. 08 à 22:38, Sharon Stamps a écrit : I am hoping someone can help me with this... I have a library stack that I call using the start using stack command. The script was originally contained in stack1's stack script. Now I have several other stacks that need to do the same basic things, so I created stack2 as a library stack. I removed the stack scripting in stack1. I call the start using stack command in the preOpenStack handler of stack1. Now some handlers work fine, but other handlers give me errors, stating object is not found. There seems to be no rhyme or reason to this. (Example: I can show group readMe on the card just fine, but setting the style of scrollbar loudness on the same card gives me an error.) I can not seem to figure out what the problem is. Has anyone experienced something similar when using a library stack? I currently have no handlers in stack1 that are also in stack2 (the library stack) so I am pretty sure it is not a hierarchy problem. Any insights? Thanks, Sharon 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
Re: Delete lines in files (text files)
Randall- But isnt 10 a bit draconian? Yep - it's draconian and it's arbitrary. And every time I get riled up about it I calm down and figure out a way to do what I want without having to break the limits. Sometimes by realizing that my app really can be better placed as a plugin stack, in which case the script limits don't apply; sometimes by coming up with an alternate plan that doesn't involve changing stack scripts after all - self-modifying code does get a bit gnarly to debug. ...and if you *really* need to modify more than ten lines of scripts you can state your case to the runrev team and apply for a waiver of the limits. In theory, anyway - I've never run into anyone who actually needed to do this. -- 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: Delete lines in files (text files)
Well... All limits are arbitrary and this does not apply to Rev only :-) See scriptLimits function in the dictionary: * the number of statements permitted when changing a script (normally 10 in a standalone application) * the number of statements permitted in a do command (normally 10 in a standalone application) * the number of stacks permitted in the stacksInUse (normally 50 in a standalone application) * the number of objects permitted in the frontScripts and backScripts (normally 10 in a standalone application) But AFAIK a 'if then end if' (three lines) is counted as one line only for instance. Le 17 janv. 08 à 23:47, Randall Lee Reetz a écrit : But isnt 10 a bit draconian? -Original Message- From: Eric Chatonet [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: 1/17/2008 2:27 PM Subject: Re: Delete lines in files (text files) Hi Randall, If you were allowed to set any script to any value (i.e. thousands of lines of code), you could build a standalone, the stacks of which would be able to clone all Rev features. This limitation has been introduced to prevent this. Just a security measure :-) Le 17 janv. 08 à 23:18, Randall Lee Reetz a écrit : I dont get it... Please explain. -Original Message- From: Eric Chatonet [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: 1/17/2008 12:35 PM Subject: Re: Delete lines in files (text files) Hi Randall, Le 17 janv. 08 à 21:00, Randall Lee Reetz a écrit : But i didn't know about this ten line limit? That seems strange. Why is that limit there? And, yes i want to know how to fake it. This limit is just to prevent malicious guys to fake Rev itself :-) Best regards from Paris, Eric Chatonet. Best regards from Paris, Eric Chatonet. 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
RE: Delete lines in files (text files)
I dont get it... Please explain. -Original Message- From: Eric Chatonet [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: 1/17/2008 12:35 PM Subject: Re: Delete lines in files (text files) Hi Randall, Le 17 janv. 08 à 21:00, Randall Lee Reetz a écrit : But i didn't know about this ten line limit? That seems strange. Why is that limit there? And, yes i want to know how to fake it. This limit is just to prevent malicious guys to fake Rev itself :-) 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 ___ 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: Time Conversion Problem
I am reading a file that contains date and time data. The Date/Time is represented as a 4 byte integer and is defined as the number of seconds since 1/1/1904 (Apple Date/Time format). Does anyone know if there is a way to convert this to a displayable format, e.g. Thursday, January 17, 2008 1:35 PM. If there isn't a way of doing this in RunRev, does anyone know how to go about doing this? This will need testing, but I think HyperCard used the 1904 starting date for it's seconds, so my old HyperCard to Rev function should work: function HCtoRevSeconds pSecs if pSecs is empty OR pSecs is not a number then return the seconds put pSecs - 2082880800 into revSecs return revSecs end HCtoRevSeconds Then you have the date time in Rev seconds and you can format it using the usual methods. From your example, you could use something like this: put HCtoRevSeconds(tFileTime) into tRevTime convert tRevTime to long system date and short system time 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: Another Revolution?
I saw their small ad in MacWorld and was very interested. Will be great to see how they fare in the marketplace! Neal Campbell www.abrohamnealsoftware.com AIM:nealk3nc On Jan 17, 2008, at 5:48 PM, Scott Rossi wrote: So, while visiting Macworld San Francisco this week, I chanced upon a small booth that had the word HyperCard in the description. I was prepared to dismiss whatever goofball developments the guys there were showing, but after talking to them for a while, I think they have an interesting take on x-talk (for them it's HyperTalk). Called TileStack, their intention is to create a HyperCard-type development environment, but starting from the Web side using Javascript libraries and server-based logic, instead of starting from the desktop side. All coding will use the HyperTalk (TileTalk?) language and if I recall correctly, the initial IDE will be a Web- based front end. The interesting possibility about this is that, if it is ever released, stacks will be immediately sharable by a much larger audience than x- talk tools which require players/standalones (I believe only Javascript is needed to run a stack, thus the potential for delivery could be equal to or maybe even greater than Flash, which requires a player). Obviously, there are a lot of questions to be answered, and it wasn't clear to me how far along they are, but they have a simple puzzle demo on their site and they are collecting email addresses of interested parties for early access. http://tilestack.com/ FWIW. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ 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: Another Revolution?
ho ho ho there's a trend forming... I can see a nice future... with or without tilestack... :-D Cheers andre ___ 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 PerlTk from runrev - does this work on mac?
I get the same as Josh using OS X 10.5.1 (except that it is using Perl 5.8.8). Sarah On Jan 18, 2008 3:22 AM, Joshua Lawrence [EMAIL PROTECTED] wrote: Hi Franz, It looks like OS X has some Perl libraries, but not PerlTK. I get this in the lower field when I hit the button: Can't locate Tk.pm in @INC (@INC contains: /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at -e line 1. BEGIN failed--compilation aborted at -e line 1. This is on OS X 10.4.11 (Tiger) Josh --- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I have done a little stack which runs a perl script embedded as a custom property. This works for me on my win pcs and servers with perl installed and on the linux. Does this work on a modern mac (= do you have PerlTk normally on your macs?). If it would work on mac too it would allow to extend runrev on any machine with the power of perl everytime we need it ... you can go stack URL http://animabit.de/runrev/perl.rev; or test it on your own: [button] on mouseUp replace cr with empty in field perl put field perl into auftrag replace quote with (\ quote) in auftrag put perl -e quote auftrag quote into auftrag set the hideConsoleWindows to true --answer auftrag put shell(auftrag) into field ergebnis end mouseUp [text of field perl] use strict;use Tk;my $main = new MainWindow;$main-Label(-text = At the top (default) \x{5DB}\x{5DC}\x{5DE} \x{fe95}\x{fe95})-pack;$main-Label(-text = 'At the bottom')-pack(-side = 'bottom'); $main-Label(-text = 'The middle remains')-pack; my $top1 = $main-Toplevel; $top1-Label(-text = 'Left')-pack(-side = 'left');$top1-Label(-text = 'Right')-pack(-side = 'right'); $top1-Label(-text = '?Bottom?')-pack(-side = 'bottom');my $top2 = $main-Toplevel;my $frame = $top2-Frame; $frame-pack;$frame-Label(-text = 'Left2')-pack(-side = 'left'); $frame-Label(-text = 'Right2')-pack(-side = 'right');$top2-Label(-text = 'Bottom2')-pack(-side = 'bottom'); MainLoop; thank you, Franz Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 To: use-revolution@lists.runrev.com Cc: [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 ___ 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: Another Revolution?
Their site generates only errors for me. Too bad. Latest Firefox if it makes a difference. len morgan Scott Rossi wrote: ... but they have a simple puzzle demo on their site and they are collecting email addresses of interested parties for early access. http://tilestack.com/ FWIW. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ 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
drag question
I have an image that resides below a group and is not part of the group. The group consists of a collection of fields which have no scripts and are not focusable. In the group script I placed the handler: on mouseDown grab image artwork end mouseDown This works if don't select directly over a field, and I can adjust the position of the image by dragging it around.If I click over a field it doesn't work. I'm assuming the mouseDown if being trapped by the field. But shouldn't it be passed along to the group script? I'm not outside the bounds of the image. Can anyone clarify what is happing here, or suggest another approach to being able to move the image around? Thanks, Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Another Revolution?
I was able to play the tile game on Safari. Slow, but it worked. Mark On Jan 17, 2008, at 6:45 PM, Len Morgan wrote: Their site generates only errors for me. Too bad. Latest Firefox if it makes a difference. len morgan Scott Rossi wrote: ... but they have a simple puzzle demo on their site and they are collecting email addresses of interested parties for early access. http://tilestack.com/ FWIW. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ 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 Thanks, Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Another Revolution?
Just out of curiosity, I pulled IE out of the closet and the site worked fine with it so I guess it's a problem with tilestack and Firefox. len Mark Swindell wrote: I was able to play the tile game on Safari. Slow, but it worked. Mark On Jan 17, 2008, at 6:45 PM, Len Morgan wrote: Their site generates only errors for me. Too bad. Latest Firefox if it makes a difference. len morgan Scott Rossi wrote: ... but they have a simple puzzle demo on their site and they are collecting email addresses of interested parties for early access. http://tilestack.com/ FWIW. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ 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 Thanks, Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ 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: Another Revolution?
Cleverly concealed on the bottom right side of the screen below a signup invitation: Looking for the Tile Out stack? On Jan 17, 2008, at 7:07 PM, Joe Lewis Wilkins wrote: I didn't even see a Tile Game! Just a place to sign up and another if I had been invited. Joe Wilkins On Jan 17, 2008, at 6:57 PM, Mark Swindell wrote: I was able to play the tile game on Safari. Slow, but it worked. Mark On Jan 17, 2008, at 6:45 PM, Len Morgan wrote: Their site generates only errors for me. Too bad. Latest Firefox if it makes a difference. len morgan Scott Rossi wrote: ... but they have a simple puzzle demo on their site and they are collecting email addresses of interested parties for early access. http://tilestack.com/ FWIW. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ 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 Thanks, Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ 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 Thanks, Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Another Revolution?
I didn't even see a Tile Game! Just a place to sign up and another if I had been invited. Joe Wilkins On Jan 17, 2008, at 6:57 PM, Mark Swindell wrote: I was able to play the tile game on Safari. Slow, but it worked. Mark On Jan 17, 2008, at 6:45 PM, Len Morgan wrote: Their site generates only errors for me. Too bad. Latest Firefox if it makes a difference. len morgan Scott Rossi wrote: ... but they have a simple puzzle demo on their site and they are collecting email addresses of interested parties for early access. http://tilestack.com/ FWIW. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ 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 Thanks, Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ 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: Another Revolution?
Neal, Out of curiosity, why do you use Firefox instead of Safari? I know a lot of people do, but Safari has always worked great for me. TIA, Joe Wilkins On Jan 17, 2008, at 7:42 PM, Neal Campbell wrote: It worked fine with Firefox on my leopard system. Neal On Jan 17, 2008 10:10 PM, Mark Swindell [EMAIL PROTECTED] wrote: Cleverly concealed on the bottom right side of the screen below a signup invitation: Looking for the Tile Out stack? On Jan 17, 2008, at 7:07 PM, Joe Lewis Wilkins wrote: I didn't even see a Tile Game! Just a place to sign up and another if I had been invited. Joe Wilkins On Jan 17, 2008, at 6:57 PM, Mark Swindell wrote: I was able to play the tile game on Safari. Slow, but it worked. Mark On Jan 17, 2008, at 6:45 PM, Len Morgan wrote: Their site generates only errors for me. Too bad. Latest Firefox if it makes a difference. len morgan Scott Rossi wrote: ... but they have a simple puzzle demo on their site and they are collecting email addresses of interested parties for early access. http://tilestack.com/ FWIW. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ 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 Thanks, Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ 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 Thanks, Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ 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: Another Revolution?
It worked fine with Firefox on my leopard system. Neal On Jan 17, 2008 10:10 PM, Mark Swindell [EMAIL PROTECTED] wrote: Cleverly concealed on the bottom right side of the screen below a signup invitation: Looking for the Tile Out stack? On Jan 17, 2008, at 7:07 PM, Joe Lewis Wilkins wrote: I didn't even see a Tile Game! Just a place to sign up and another if I had been invited. Joe Wilkins On Jan 17, 2008, at 6:57 PM, Mark Swindell wrote: I was able to play the tile game on Safari. Slow, but it worked. Mark On Jan 17, 2008, at 6:45 PM, Len Morgan wrote: Their site generates only errors for me. Too bad. Latest Firefox if it makes a difference. len morgan Scott Rossi wrote: ... but they have a simple puzzle demo on their site and they are collecting email addresses of interested parties for early access. http://tilestack.com/ FWIW. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ 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 Thanks, Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ 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 Thanks, Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ 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: Delete lines in files (text files)
I guess that would be a good solution - my only problem is that the file has 5.6 Gigabytes. So I can't put it all in memory. My real problem is here: put 1 into vStartwert set the cursor to watch open file tFileIn open file tFileOut repeat forever read from file tFileIn at vStartwert for 100 lines put it into vChunk replace ; with tab in vChunk replace , with . in vChunk write vChunk to file vFileOut at end add number of chars of vChunk to vStartwert end repeat close file tFileIn close file tFileOut This works until the output file reaches 2 Gigabytes. So I think vStartwert is getting to big and doesn't work anymore. Therefore I wanted to delete the Lines I already treated in the input file so I could always start at the first line. Maybe there is a better solution? Till Am 17.01.2008 um 20:25 schrieb Devin Asay: On Jan 17, 2008, at 12:05 PM, Till Bandi wrote: Hi all is there a way to delete lines in a text file from Revoution? - i did not see how this can be done but probably it is very simple. Till, You have to read it in then write it back out. You can do it in one line like this (assume you want to delete the first line): put line 2 to -1 of url file:/path/to/file.txt into url file:/ path/to/file.txt Just modify the range of lines you want to have in the final file. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ 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: Delete lines in files (text files)
Till, Sounds to me as if you need to make some better arrangements; file- size-wise that is. You are in control of the situation; are you not? Joe Wilkins On Jan 17, 2008, at 10:22 PM, Till Bandi wrote: I guess that would be a good solution - my only problem is that the file has 5.6 Gigabytes. So I can't put it all in memory. My real problem is here: put 1 into vStartwert set the cursor to watch open file tFileIn open file tFileOut repeat forever read from file tFileIn at vStartwert for 100 lines put it into vChunk replace ; with tab in vChunk replace , with . in vChunk write vChunk to file vFileOut at end add number of chars of vChunk to vStartwert end repeat close file tFileIn close file tFileOut This works until the output file reaches 2 Gigabytes. So I think vStartwert is getting to big and doesn't work anymore. Therefore I wanted to delete the Lines I already treated in the input file so I could always start at the first line. Maybe there is a better solution? Till Am 17.01.2008 um 20:25 schrieb Devin Asay: On Jan 17, 2008, at 12:05 PM, Till Bandi wrote: Hi all is there a way to delete lines in a text file from Revoution? - i did not see how this can be done but probably it is very simple. Till, You have to read it in then write it back out. You can do it in one line like this (assume you want to delete the first line): put line 2 to -1 of url file:/path/to/file.txt into url file:/ path/to/file.txt Just modify the range of lines you want to have in the final file. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ 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