Re: rev cgi - put url read from
Hi Jim, Usually, I use open/read/close file, because it gives me more control over the size of the chunks to be read. This allows be to create a very smooth user experience. I never checked it, but I presume that libUrl uses the same read/write/ close file commands to deal with local files, while it uses socket communication for non-local files. If I am right, issueing the read command yourself is a tiny fraction of an i'th of a millisecond faster than using the put url command. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum/ Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 20 sep 2008, at 06:32, Jim Sims wrote: I've switched my rev cgi from my local Leopard webserver test area to jaguarpc and it seems that I must change some code. I have a rev stack used as cgi and where put url worked on my Leopard webserver it doesn't on jaguarpc. So, I changed to open file - read from - close file. My question is, does the open - read - close cycle of events chew up more time than the put url? Is open-read-close the best way or is there some other means of putting a file into a variable (I already use custom properties in the stack for storing files and using them but am experimenting with the cgi stack grabbing files for use). sims ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: rev cgi - put url read from
On 20 Sep 2008, at 05:32, Jim Sims wrote: I have a rev stack used as cgi and where put url worked on my Leopard webserver it doesn't on jaguarpc. So, I changed to open file - read from - close file. I'm surprised by this. (Not doubting you. :-)) But I've never come across a case of open-read-close working where get/put url didn't. What kind of error do you see in the result? Are the file paths identical in both cases? On the other hand, I don't think there is any noticeable speed difference in both approaches. Mark Schonewille wrote: I never checked it, but I presume that libUrl uses the same read/ write/close file commands to deal with local files, while it uses socket communication for non-local files. Mark, libUrl only handles url commands for internet urls (http, ftp). The engine handles the file protocol urls directly. (Or did I misunderstand you?) Cheers 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: GLX2 and Rev 3.0
Holá Tiemo, Just to make things clear: I'm working with W2k AND XP! Same reaktion on both systems. Best Regards Horst Tiemo Hollmann TB wrote: Hi, I've just installed Rev 3.0 and noticed two things 1. The reaction time on menu mouseclicks (I reported before) in Rev IDE 3.0 on Win XP (with and without stacks open) is still a crawl. Anybody else (beside of Horst) having performance problems with the IDE? 2. When trying to open a script with activated GLX2, nothing happens. After deactivating GLX2 the scripts are opened in the new Rev editor. I didn't found any deinstall procedure fro GLX2. What is the appropriate way to do it. Just remove the GLX2 plugins from the plugins folder and that's it? Thanks Tiemo ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- View this message in context: http://www.nabble.com/GLX2-and-Rev-3.0-tp19570535p19583924.html Sent from the Revolution - User mailing list archive at Nabble.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: rev cgi - put url read from
Hi Dave, Thanks for interfering. I've read the docs once more and now I see that you're right. The form put URL file:... doesn't need libUrl. Sims, this means that the put command might be slightly faster than open/read/close. I don't think it matters much though. I'd worry more about the blocking nature of the put command. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum/ Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 20 sep 2008, at 11:17, Dave Cragg wrote: Mark, libUrl only handles url commands for internet urls (http, ftp). The engine handles the file protocol urls directly. (Or did I misunderstand you?) Cheers 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: rev cgi - put url read from
On Sep 20, 2008, at 11:17 AM, Dave Cragg wrote: I have a rev stack used as cgi and where put url worked on my Leopard webserver it doesn't on jaguarpc. So, I changed to open file - read from - close file. I'm surprised by this. (Not doubting you. :-)) But I've never come across a case of open-read-close working where get/put url didn't. What kind of error do you see in the result? Are the file paths identical in both cases? More than likely (certainly) you are correct. I'll go back in a bit and retry it with the paths that now work with open-read-close. Been quite a trip going from something that worked well on my powerbook to transferring it onto jaguarpc:-/ I'm now trying to figure out what happened to my nice clean css layout :-) Dang fields are way off to the right almost over to Cloe's desk ;-) Fun, but a bit confusing. sims ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: rev cgi - put url read from
On 20 Sep 2008, at 10:43, Jim Sims wrote: I'm now trying to figure out what happened to my nice clean css layout :-) Dang fields are way off to the right almost over to Cloe's desk ;-) If I were a field, i'd head her way too and dang the CSS. :-) Cheers 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
Editing the Rev Environment
Quick question. How does one edit the stacks that make up the Rev development environment? Thanks, J. ___ use-revolution mailing list use-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: Editing the Rev Environment
Bonjour J. Le 20 sept. 08 à 15:57, J. Downs a écrit : Quick question. How does one edit the stacks that make up the Rev development environment? The best way to access IDE objects is: 1. In Preferences General pane check the 'Contextual menus work in Revolution windows' box. 2. Then use Shift/Control/Option (Alt) click to make the contextual menu showing up. 3. Edit all you want. 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: Editing the Rev Environment
Much obliged, Eric! :) J. On Sep 20, 2008, at 9:19 AM, Eric Chatonet wrote: Bonjour J. Le 20 sept. 08 à 15:57, J. Downs a écrit : Quick question. How does one edit the stacks that make up the Rev development environment? The best way to access IDE objects is: 1. In Preferences General pane check the 'Contextual menus work in Revolution windows' box. 2. Then use Shift/Control/Option (Alt) click to make the contextual menu showing up. 3. Edit all you want. 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: rev cgi - put url read from
Ciao Sims, there's no libURL in the CGI engines, did you copied libURL yourself to your CGI? If you didn't then you can't use url calls. The trick is to use a shell() call to the command curl that is bundled with almost all linuxes to do the url calls. I've put my little RocketsCURL.Rev library available to you at http://andregarzia.com/RocketsCURL.rev.zip The library allows you to do some pretty nice URL stuff like resume downloads and the like. :-D You can check about curl my doing a man curl in the terminal or by checking their homepage at http://curl.haxx.se/ A alternative to using curl is the use of wget and wput shell commands. Curl has more options and is more standard, some places don't have wput in place only wget. Xoxo 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
[OT] Free Images
Judy Perry wrote: What about using Flickr? Because: not a great fan of social networking: (more like anti-social in my case :) I want to see the uptake on my images. Frankly joining the group does not seem too great a cost for the images. There's more now: http://groups.yahoo.com/group/RMimages/?yguid=254544547 sincerely, Richmond Mathewson. A Thorn in the flesh is better than a failed Systems Development Life Cycle. ___ use-revolution mailing list use-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] Free Images
And joining a group is anti-social HOW?? Judy On Sat, Sep 20, 2008 at 12:19 PM, Richmond Mathewson [EMAIL PROTECTED] wrote: Judy Perry wrote: What about using Flickr? Because: not a great fan of social networking: (more like anti-social in my case :) I want to see the uptake on my images. Frankly joining the group does not seem too great a cost for the images. There's more now: http://groups.yahoo.com/group/RMimages/?yguid=254544547 sincerely, Richmond Mathewson. A Thorn in the flesh is better than a failed Systems Development Life Cycle. ___ use-revolution mailing list use-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: Problems with the focusedObject
Bonsoir Eric The TraversalOn of my Edit button (the relevant one) is set to false. I found out by experiment that 'the focusedObject' does work as expected if I have create a simple one-card stack with fields on the card and a button on the same card that examines the fields (I mean it has a script that displays the focusedObject). The focusedObject points to a field as long as the cursor is flashing in it, even when the field is empty and nothing in the field is actually selected: when there is text in the field, the focusedObject also points to it, whether the text is selected or not. I haven not yet looked at the selectedField, but I believe it works in the same way as the focusedObject. I don't know why my original menu thing doesn't work, but it could be a side-effect of using GLX2 (I haven't tried it outside the development environment). I'll do some more research. Graham PS My 'France profonde' is about 20 km West of Carcassonne in the Aude - a village with less than 300 inhabitants. If you like, I can send you a picture (but not of course to this text-only list). On Fri, 19 Sep 2008 19:04:31 +0200, Eric Chatonet [EMAIL PROTECTED] wrote: Bonsoir Graham, This just means that invoking your menu item deselects the selected field. Does you menu button has its traversalOn set to false? BTW, You speak about 'la France profonde': which one exactly? ;-) Le 19 sept. 08 à 18:55, Graham Samuel a écrit : Bonjour Eric Thanks for the quick reply. Sadly the selectedField returns empty in the circumstances. I do find this very mysterious. For example, if I put some text in a field and invoke my 'cut' menu, which executes this script fragment from the menuPick handler dealing with Cut: cut if clipboardData[text] is not empty then put the selectedfield The clipboard data can be shown to be as expected (i.e. what was in the field), but the selectedField is just empty. There must be some way for the handler in the menu to detect what the cut (or paste or clear) operation was operating on, but I can't find it. Best wishes from la France profonde Graham Best regards from Paris, Eric Chatonet. ___ use-revolution mailing list use-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: Problems with the focusedObject
Bonsoir Graham, As you said in a previous email that 'Ha! The 'cut' command kills the selectedField', I would have thought that the problem was solved by retrieving the selectedField before calling the command. Just tell us if you need something more :-) As for the 'Aude', yes, it's a wonderful place with wonderful people: send me a picture off-list. The list is sometimes a bit virtual: putting a face or an environment is welcome :-) Le 20 sept. 08 à 22:41, Graham Samuel a écrit : Bonsoir Eric The TraversalOn of my Edit button (the relevant one) is set to false. I found out by experiment that 'the focusedObject' does work as expected if I have create a simple one-card stack with fields on the card and a button on the same card that examines the fields (I mean it has a script that displays the focusedObject). The focusedObject points to a field as long as the cursor is flashing in it, even when the field is empty and nothing in the field is actually selected: when there is text in the field, the focusedObject also points to it, whether the text is selected or not. I haven not yet looked at the selectedField, but I believe it works in the same way as the focusedObject. I don't know why my original menu thing doesn't work, but it could be a side-effect of using GLX2 (I haven't tried it outside the development environment). I'll do some more research. Graham PS My 'France profonde' is about 20 km West of Carcassonne in the Aude - a village with less than 300 inhabitants. If you like, I can send you a picture (but not of course to this text-only list). 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
Text and not text in a string
I want to determine if a string contains a word but doesn't contain two other words. For example (in the message box): put Internet Work contains Work is true How do I ask if the string contains Internet but not Work or Home? Bill Vlahos ___ use-revolution mailing list use-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: Text and not text in a string
How about... put (myString contains cat) and not((myString contains dog) or (myString contains mouse)) Terry... On 21/9/08 8:35 AM, Bill Vlahos [EMAIL PROTECTED] wrote: I want to determine if a string contains a word but doesn't contain two other words. For example (in the message box): put Internet Work contains Work is true How do I ask if the string contains Internet but not Work or Home? Bill Vlahos ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
OT: Trevor -- any idea how to use this new codec?
From Slashdot: According to their website, 'Dirac is an advanced royalty-free video compression format designed for a wide range of uses, from delivering low-resolution web content to broadcasting HD and beyond, to near-lossless studio editing.' Now a stable version of the dirac-research codebase, Dirac 1.0.0, has been released. The BBC have already successfully used the new codec during the Beijing Olympics and are looking to push it to more general use throughout the organisation. The latest version of VLC (the recently released 0.9.2) has support for Dirac using the Schroedinger library. http://diracvideo.org/ Looks interesting... Thanks, Judy ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
User leaves a Rev standalone, intending to come back
Hi Everyone, For the life of me I can't remember what happens when a user decides to go to another application, or the Internet, leaving his/her Rev standalone open; when that happens I want to do something; and something else when they return? TIA, Joe Wilkins -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html Joe Lewis Wilkins [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
returning result from a function when the number of items in the result varies
I'm having trouble sorting this out. I have a function that searches through lines of tab delimited text. The number of lines varies from one to ten. The result from the search is two things. A data element and a pointer that says which kind of data element. Sometimes the result is one data element and one pointer and sometimes the result is another quantity like three data elements each with their identifier. To have this returned by the function it seems I need an array. I'm inexperienced at using arrays but I imagine that you just build it in the function and that is what is returned and then the identifiers for each data element are the keys and it makes no difference how many lines are in the array? Perhaps I also return a counter which says how many lines of data are in the array? ___ use-revolution mailing list use-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: returning result from a function when the number of items in the result varies
William, When I needed to do something like this in HC, I'd build a string consisting of several comma delimited words/values and return that string. Then I'd evaluate the string for what I needed. That should work in Rev as well. It's kind of like using an array, I suppose. (smile) HTH Joe Wilkins On Sep 20, 2008, at 5:13 PM, william humphrey wrote: I'm having trouble sorting this out. I have a function that searches through lines of tab delimited text. The number of lines varies from one to ten. The result from the search is two things. A data element and a pointer that says which kind of data element. Sometimes the result is one data element and one pointer and sometimes the result is another quantity like three data elements each with their identifier. To have this returned by the function it seems I need an array. I'm inexperienced at using arrays but I imagine that you just build it in the function and that is what is returned and then the identifiers for each data element are the keys and it makes no difference how many lines are in the array? Perhaps I also return a counter which says how many lines of data are in the array? _ ___ use-revolution mailing list use-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: returning result from a function when the number of items in the result varies
William, you've got the idea. Arrays are really useful in these circumstances, and are really worth becoming familiar with. Best, Mark On 21 Sep 2008, at 01:13, william humphrey wrote: I'm having trouble sorting this out. I have a function that searches through lines of tab delimited text. The number of lines varies from one to ten. The result from the search is two things. A data element and a pointer that says which kind of data element. Sometimes the result is one data element and one pointer and sometimes the result is another quantity like three data elements each with their identifier. To have this returned by the function it seems I need an array. I'm inexperienced at using arrays but I imagine that you just build it in the function and that is what is returned and then the identifiers for each data element are the keys and it makes no difference how many lines are in the array? Perhaps I also return a counter which says how many lines of data are in the array? ___ use-revolution mailing list use-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: returning result from a function when the number of items in the result varies
You've practically designed it! Arrays are your friend. { below not tested} function yourFunction arrayVar put Timestamp tab FDSFSDF into myArray[garbage] put toad into myArray[green] return myArray end yourFunction put yourFunction() into Array combine array with return and tab put Array -- garbagetab20080923tabFDSFSDF greentabtoad To get the number of elements in an array: number of lines in myArray even better ( I love this one - think binary): repeat for each line tKey in the keys of tArray put tArray[tKey] return after tArrayContents end repeat to sort: put the keys of myArray into myVariable sort lines of myVariable I'm having trouble sorting this out. I have a function that searches through lines of tab delimited text. The number of lines varies from one to ten. The result from the search is two things. A data element and a pointer that says which kind of data element. Sometimes the result is one data element and one pointer and sometimes the result is another quantity like three data elements each with their identifier. To have this returned by the function it seems I need an array. I'm inexperienced at using arrays but I imagine that you just build it in the function and that is what is returned and then the identifiers for each data element are the keys and it makes no difference how many lines are in the array? Perhaps I also return a counter which says how many lines of data are in the array? -- 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: returning result from a function when the number of items in the result varies
Thanks for not only answering but giving me the example. The repeat for each line in the array will work perfectly. ___ use-revolution mailing list use-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 leaves a Rev standalone, intending to come back
On Sun, Sep 21, 2008 at 9:23 AM, Joe Lewis Wilkins [EMAIL PROTECTED] wrote: Hi Everyone, For the life of me I can't remember what happens when a user decides to go to another application, or the Internet, leaving his/her Rev standalone open; when that happens I want to do something; and something else when they return? Check out the suspend resume messages. 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: User leaves a Rev standalone, intending to come back
Thanks, Sarah! My senior moment had both of those blocked. (smile) Joe Wilkins On Sep 20, 2008, at 6:04 PM, Sarah Reichelt wrote: On Sun, Sep 21, 2008 at 9:23 AM, Joe Lewis Wilkins [EMAIL PROTECTED] wrote: Hi Everyone, For the life of me I can't remember what happens when a user decides to go to another application, or the Internet, leaving his/her Rev standalone open; when that happens I want to do something; and something else when they return? Check out the suspend resume messages. 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: OT: Trevor -- any idea how to use this new codec?
On Sep 20, 2008, at 7:52 PM, Judy Perry wrote: http://diracvideo.org/ Looks interesting... I found this QuickTime component (for Mac) on their site: http://diracvideo.org/wiki/index.php/SchroQT If you install the codec then any application that uses QuickTime for playback should be able to play the videos. Just point a Revolution player control at a file that uses the Dirac codec. Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.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: OT: Trevor -- any idea how to use this new codec?
Thanks, Trevor! But how to use the codec to *compress* within QT? Is it possible? Is it a standalone kind of thing? Sorry to be dumb -- I really don't understand these sorts of things. Thanks again, Judy On Sat, Sep 20, 2008 at 6:20 PM, Trevor DeVore [EMAIL PROTECTED] wrote: On Sep 20, 2008, at 7:52 PM, Judy Perry wrote: http://diracvideo.org/ Looks interesting... I found this QuickTime component (for Mac) on their site: http://diracvideo.org/wiki/index.php/SchroQT If you install the codec then any application that uses QuickTime for playback should be able to play the videos. Just point a Revolution player control at a file that uses the Dirac codec. Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.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
Mail merge--again
This doesn't work: on mouseUp repeat with i = 1 to 5 put cr cr cr i into field 1 print this card from 142, 30 to 681,556 end repeat end mouseUp What I would like to do is print the number i, running from 1 to 5 on the fourth line down on the card. (The real objective is mail merge in a letter, but I'm trying to keep it simple here.) This handler produces 5 separate pages in Preview--on the Mac. To print the 5 pages I would have to click Print on each of the 5 pages in Preview. (I actually have a couple of hundred letters.) My objective is to build 5 pages to print in the repeat loop and send them to the printer while go out for coffee. How is that done? So far, all I can handle is the coffee part. Thanks, Jim Hurley ___ use-revolution mailing list use-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: Mail merge--again
James Hurley wrote: This doesn't work: on mouseUp repeat with i = 1 to 5 put cr cr cr i into field 1 print this card from 142, 30 to 681,556 end repeat end mouseUp What I would like to do is print the number i, running from 1 to 5 on the fourth line down on the card. (The real objective is mail merge in a letter, but I'm trying to keep it simple here.) This handler produces 5 separate pages in Preview--on the Mac. To print the 5 pages I would have to click Print on each of the 5 pages in Preview. (I actually have a couple of hundred letters.) My objective is to build 5 pages to print in the repeat loop and send them to the printer while go out for coffee. How is that done? So far, all I can handle is the coffee part. Just surround your repeat loop with open printing and close printing commands: open printing -- tell the engine to expect a print job repeat with i = 1 to 5 put cr cr cr i into field 1 print this card from 142, 30 to 681,556 -- adds to the print job end repeat close printing -- sends the whole batch to the printer as one job This way you only have to click Print once, though you'll need to wait for the repeat loop to finish before you see a print dialog. -- 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: returning result from a function when the number of items in the result varies
for some reason in my function if I say return myArray then I get an array with zero lines even when that is not true. If I say return myArray[1] (where 1 is one of the keys which has data in the array) then it does return that correctly but just with that one line of course. This is why I hate arrays. It is not working like I expected. On 9/20/08, william humphrey [EMAIL PROTECTED] wrote: Thanks for not only answering but giving me the example. The repeat for each line in the array will work perfectly. -- http://www.bluewatermaritime.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: returning result from a function when the number of items in the result varies
HEY! that's not fair to the arrays. :) They REALLY are useful and amazing. Honestly, once you have you're aha moment you'll understand it. Your code is working as expected. For now, Just imagine the array to be a package of little ordinary variables that can be easily manipulated. put array into fld output-- won't be seen You can't see an array when put it - it's still there but you can't put it into anything except another array (or save it as a custom property) put array into array2 set the customproperty[myarray] of this stack to array If you want to see the elements you gotta take it apart. combine does that. combine with return and tab which turns the array into a single text string or the repeat for each line tKey in the keys of array put tKey return after tOut end repeat put tOut for some reason in my function if I say return myArray then I get an array with zero lines even when that is not true. If I say return myArray[1] (where 1 is one of the keys which has data in the array) then it does return that correctly but just with that one line of course. This is why I hate arrays. It is not working like I expected. On 9/20/08, william humphrey [EMAIL PROTECTED] wrote: Thanks for not only answering but giving me the example. The repeat for each line in the array will work perfectly. -- 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: OT: Trevor -- any idea how to use this new codec?
On Sep 20, 2008, at 9:36 PM, Judy Perry wrote: Thanks, Trevor! But how to use the codec to *compress* within QT? Is it possible? Is it a standalone kind of thing? Here is a lesson I just made showing the steps I followed to export a movie using QuickTime Pro. Follow along and see if it works for you. http://trevordevore.screenstepslive.com/lessons/1904 Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.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: returning result from a function when the number of items in the result varies
william humphrey wrote: for some reason in my function if I say return myArray then I get an array with zero lines even when that is not true. If I say return myArray[1] (where 1 is one of the keys which has data in the array) then it does return that correctly but just with that one line of course. This is why I hate arrays. It is not working like I expected. Then maybe just consider a simple delimited list instead. Arrays are way cool for a great many things, but they're not the answer to every problem. Your data set is small enough that the specific operations that arrays excel at will have no noticeable performance difference doing them with a simple list. Extra bonus points for lists in your case: you can simply put the variable into a field, without having to run it through the combine command first. For small data sets performance won't matter much either way. But for large collections of things, the split and combine commands are very computationally expensive. Because they're effectively parsing and delimiting the data entire set, they're really only doing what you can do yourself with repeat for each but without the extra step. For random access of specific elements, the efficient internal hashed representation of keys makes accessing array elements several orders of magnitude faster than any method for finding lines in a list. But if you're not doing frequent random access the tradeoffs become the sort of thing where there is no best answer, it really depends on what you're doing. In your case your data set is small, so you have the luxury of doing whatever feels most comfortable. Have fun! -- 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: OT: Trevor -- any idea how to use this new codec?
Thank you so much, again, Trevor! I will follow along tomorrow and let you know! Judy On Sat, Sep 20, 2008 at 7:46 PM, Trevor DeVore [EMAIL PROTECTED] wrote: On Sep 20, 2008, at 9:36 PM, Judy Perry wrote: Thanks, Trevor! But how to use the codec to *compress* within QT? Is it possible? Is it a standalone kind of thing? Here is a lesson I just made showing the steps I followed to export a movie using QuickTime Pro. Follow along and see if it works for you. http://trevordevore.screenstepslive.com/lessons/1904 Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.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: Text and not text in a string
Terry, That did it. Thanks Terry. Bill Vlahos On Sep 20, 2008, at 3:42 PM, Terry Judd wrote: How about... put (myString contains cat) and not((myString contains dog) or (myString contains mouse)) Terry... On 21/9/08 8:35 AM, Bill Vlahos [EMAIL PROTECTED] wrote: I want to determine if a string contains a word but doesn't contain two other words. For example (in the message box): put Internet Work contains Work is true How do I ask if the string contains Internet but not Work or Home? Bill Vlahos ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Text and not text in a string
How do I ask if the string contains Internet but not Work or Home? You could also do: if (Internet is in tString) and (Work is not in tString) and (Home is not in tString) then -- whatever you want to do end if 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
show stopper with 3.0
Help! Anyone, I've been working all week with 3.0 to finalize an app that I started under 2.8. No problems most of the time. THEN... I created a standalone OSX version. First time through it worked fine. Then I started cleaning up a few minor items. Not sure exactly when it happened the first time, but finally the standalone went all the way through to the point where it said it was successfully created, but on opening the standalone none of the images were there, and the app was only 9 MB instead of the 17 or so that it had been when everything was there. While it was being created the routine, in so far as what appeared on the screen, varied. Upshot is that I cannot create a viable standalone at this time. Is there some kind of file that I need to trash, or should I just do a new 3.0 install? I'm in the stretch run and need to do something. I suppose I could go back to 2.9 and, in fact, that is what I'm going to do right now. Keep your collective fingers crossed. (smile) TIA, Joe Wilkins -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html Joe Lewis Wilkins [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: show stopper with 3.0
NO LUCK! Same results using 2.9. What in the world could have happened? Joe Wilkins On Sep 20, 2008, at 8:52 PM, Joe Lewis Wilkins wrote: Help! Anyone, I've been working all week with 3.0 to finalize an app that I started under 2.8. No problems most of the time. THEN... I created a standalone OSX version. First time through it worked fine. Then I started cleaning up a few minor items. Not sure exactly when it happened the first time, but finally the standalone went all the way through to the point where it said it was successfully created, but on opening the standalone none of the images were there, and the app was only 9 MB instead of the 17 or so that it had been when everything was there. While it was being created the routine, in so far as what appeared on the screen, varied. Upshot is that I cannot create a viable standalone at this time. Is there some kind of file that I need to trash, or should I just do a new 3.0 install? I'm in the stretch run and need to do something. I suppose I could go back to 2.9 and, in fact, that is what I'm going to do right now. Keep your collective fingers crossed. (smile) TIA, Joe Wilkins -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html ___ use-revolution mailing list use-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: show stopper with 3.0 Eureka!
It was simple, but very obscure. Fortunately, I remembered recently having checked a box for Brushes on the General page of the Standalone Application settings. As soon as I unchecked that and rebuilt (with 3.0), everything was back and good again. Someone better check that out quickly. Joe Wilkins On Sep 20, 2008, at 9:04 PM, Joe Lewis Wilkins wrote: NO LUCK! Same results using 2.9. What in the world could have happened? Joe Wilkins -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html ___ use-revolution mailing list use-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: show stopper with 3.0 Eureka!
It was simple, but very obscure. Fortunately, I remembered recently having checked a box for Brushes on the General page of the Standalone Application settings. As soon as I unchecked that and rebuilt (with 3.0), everything was back and good again. Someone better check that out quickly. Joe, if you haven't already, you should log a bug report at the RunRev QA site - that's where they look for bugs and may not see ones posted to the list as quickly. 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
Re: show stopper with 3.0 Eureka!
I tried. The first time going to RunRev.com crashed Leopard. On reboot, I couldn't log in. Too damn many passwords to remember. There's gotta be a better freekin way! Thanks for the suggestion. Maybe next time. Joe Wilkins On Sep 20, 2008, at 9:42 PM, Ken Ray wrote: Joe, if you haven't already, you should log a bug report at the RunRev QA site - that's where they look for bugs and may not see ones posted to the list as quickly. Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html Joe Lewis Wilkins [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: Mail merge--again
James Hurley wrote: This doesn't work: on mouseUp repeat with i = 1 to 5 put cr cr cr i into field 1 print this card from 142, 30 to 681,556 end repeat end mouseUp What I would like to do is print the number i, running from 1 to 5 on the fourth line down on the card. (The real objective is mail merge in a letter, but I'm trying to keep it simple here.) This handler produces 5 separate pages in Preview--on the Mac. To print the 5 pages I would have to click Print on each of the 5 pages in Preview. (I actually have a couple of hundred letters.) My objective is to build 5 pages to print in the repeat loop and send them to the printer while go out for coffee. How is that done? So far, all I can handle is the coffee part. Just surround your repeat loop with open printing and close printing commands: open printing -- tell the engine to expect a print job repeat with i = 1 to 5 put cr cr cr i into field 1 print this card from 142, 30 to 681,556 -- adds to the print job end repeat close printing -- sends the whole batch to the printer as one job This way you only have to click Print once, though you'll need to wait for the repeat loop to finish before you see a print dialog. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com Thanks Jacque. I tried your suggestion, but I only got one page printed, the first. Perhaps I need to put each letter on a separate card? Jim Hurley ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Uncomment in 3.0
Anyone else having this problem? Command/Shift - does not uncommnent the selected lines as in RR 2.x, at least on the Mac. The associated menu item does function, i.e. uncommnent the selected lines, but not the keyboard equivalent. Odd. Jim Hurley ___ use-revolution mailing list use-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: Mail merge--again
James Hurley wrote: I tried your suggestion, but I only got one page printed, the first. Perhaps I need to put each letter on a separate card? You may have to add print break at the bottom of your repeat loop. That forces the printer to start a new page. I also forgot to mention that you might want to use open printing with dialog instead of plain open printing. That shows the printer dialog. -- 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: RESTRAINING THE PENCIL IN REV
On Sep 19, 2008, at 7:11 PM, Joe Lewis Wilkins wrote: Thanks Mark, but the line tool is an object so won't work to define paintable areas the way the pencil and brush do. I'm trying to import or paste painted lines from Appleworks or some other app that does constrain pencil drawing onto a Rev card. I did it with drawings from McDraft that were originally resedit resources, but haven't had much success with this - yet! (smile) Actually, Joe, there is a line tool on the paint tools palette. It may not be obvious because it shares a button with the freehand line (AKA curve) tool. Just click down and hold on that tool and an option menu should pop up letting you choose between the line and freehand line tools. Hold down the shift key while drawing to constrain it, as Mark mentioned. HTH, Devin Joe Wilkins On Sep 19, 2008, at 6:03 PM, Mark Smith wrote: I don't think you can do that (except with your own routines, maybe), but you can use the line tool with the shift key down, which will constrain the lines (I think) to an angle some multiple of 22.5 degrees. Best, Mark On 20 Sep 2008, at 01:54, Joe Lewis Wilkins wrote: Hi Everyone, Has anyone found a way using the Rev Pencil Tool to restrain it when drawing the way Appleworks and most other pain apps do? If not, I'm going to have to draw a few fairly long lines a pixel at a time; something I don't cherish. TIA, Joe Wilkins -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution 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