Re: URL download and Cache problems
On 15 Dec 2004, at 23:33, Alex Tweedly wrote: At 12:59 15/12/2004 -0800, Richard Gaskin wrote: This conversation raises a question - There are currently two ways to download files, the load command and get URL. 3 if you count libURLDownloadToFile (though it's for ftp only) This works with http too. (Perhaps you were thinkig of libUrlFtpUploadFile.) It used to be the case that load was a better option for longer downloads and/or if you need to update a progress bar, since it was the only one of the two that was non-blocking and you could querty the urlStatus for those downloads. But now that we have the libUrlStatusCallback option, which provides periodic messages for get URL, is there any benefit to using load? Yes, lots of them (I think). But they can all probably be summarized under one heading, i.e load is good when you need to get on with something else while the stuff is downloading. Richard's thought may stem from a similar experience to mine. Previously, load was often preferred because it was the only way to show progress of the download, and not because there was a need to do other processing. In my own apps, I almost always need to pause other things until a download completes. (e.g. a learner chooses a lesson to open, and can't work on it until it has downloaded) load wasn't ideal for this. But load was often recommended over get because of this ability to show progress. With the libUrlStatusCallback option, I now rarely need to use load. It's much simpler to use get. Caveat: when using get, there's no obvious way to abort a download before it completes. This should probably go on the to-do list. Cheers Dave ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: crashing Rev - bugz 1642
Thanks again Chipp! If you come near benelux, lunch is on me at one of my favorite restaurants! -=- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 Chipp Walters [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 16.12.2004 09:05 Please respond to chipp; Please respond to How to use Revolution To: [EMAIL PROTECTED], How to use Revolution [EMAIL PROTECTED] cc: (bcc: Xavier Bury/CLEARSTREAM/GDB) Subject:Re: crashing Rev - bugz 1642 . Hi X, I, too have seen this. Here's how I fixed it. After you close your stack type into msg: set the breakpoints to empty and see if it still crashes rev. best, Chipp MisterX wrote: I have now 2 stacks which when closed, will crash runrev with a single click in the revmenubar. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: crashing Rev - bugz 1642
Hi X, I, too have seen this. Here's how I fixed it. After you close your stack type into msg: set the breakpoints to empty and see if it still crashes rev. best, Chipp MisterX wrote: I have now 2 stacks which when closed, will crash runrev with a single click in the revmenubar. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re[2]: Windows Dos window doesn't work?
Hi, Just Let You Know, i'v been working a lot with open process in Rev, and without a Tutorial first approach, struggled a bit. But after a while, everything works fine for me. As i did a lot of tries and learnt a lot of Rev at the same time, do not remember very well all my struggles.. today, this is a Industry Product which uses the open process, reads few information at the start, and a report at the end. In between, the 2 processes ( Rev and Perl ) communicate via Sockets. This works on Win98, NT systems and with Rev Express 2.1. But, this thread scarres me a bit :-( So, i'm probably going to do some more severe testing aound this. Bonne journee a tous ! Best regards, thierry ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: The Programmer As Wordsmith
Mark Wieder wrote: Interesting article on designing text in user interfaces to be used by real people instead of programmers. Watch the wordwrap here - if it can't be pieced back together, go to www.embedded.com and find the article entitled The Programmer As Wordsmith. http://www.embedded.com/showArticle.jhtml;jsessionid=UIAIHHO3P0PECQSNDBCSKH0CJ UMEKJVN?articleID=53700319 Good article. I recognised many of the crimes (including some I've committed...). Also makes me salute Jeanne again! Ben Rubinstein | Email: [EMAIL PROTECTED] Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com| Fax : +44 (0)1273-728866 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL download and Cache problems
At 08:31 16/12/2004 +, Dave Cragg wrote: On 15 Dec 2004, at 23:33, Alex Tweedly wrote: 3 if you count libURLDownloadToFile (though it's for ftp only) This works with http too. (Perhaps you were thinkig of libUrlFtpUploadFile.) No, I was thinking of libURLDownloadToFile, and believing what I read in the docs :-) First line of libURLDownloadToFile entry says Downloads a file from an Internet server asynchronously via FTP. Funny thing is, looking back at a couple of my stacks, I've used it to download via HTTP - but forgot that while writing that email. BZ entry coming soon -- Alex. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN} libEXIF v0.9
At 11:48 15/12/2004 -1000, Sivakatirswami wrote: Aloha, from Hawaii, Alex: OK ideas here goes: I deal with digital images virtually *every* day of my life.. so this is very interesting news. Do you know if the catalog information that is applied to images in Photoshop CS is stored as EXIF metadata? Yes, I believe it is. I don't have Photoshop CS, so I tested using Photoshop Elements - but I'd be surprised if they were very different. It stores things like (as output by my Test button) Image ,ImageDescription,This is the actual caption,ASCII,182 Image ,Software,Adobe Photoshop Elements 2.0,ASCII,261 Image ,DateTime,2004:12:16 00:53:32,ASCII,290 [ Note - it changed but left the DateTimeOriginal unchanged] Image ,Artist,Alex Tweedly,ASCII,310 Image ,Copyright,(c) Eleane,ASCII,323 EXIF ,DateTimeOriginal,2004:10:18 09:50:39,ASCII,770 An application we would be very interested in (and I think could be a commercially viable product in the real world) would go like this: in a real world scenario: Our photographer in Nepal (Thomas Kelly, as somewhat famous photographer who also does assignments in Nepal and India for Hinduism Today) goes on a photo shoot of some particular event. Like most photographers, he will take even up to 500 shots in a 3 day period But for the article that will use them in the next issue of the magazine, we only need perhaps 8 of them. Does he really individually catalog all 500 of them ? Or is there some batch process in PSCS to apply the same File Info to all of them ? (PS Elements has some batch process methods, but I don't see one to apply File / File info Enter Revolution: We make a stand alone application for Thomas.. He works in Photoshop... enters his captions, then we have Revolution stack reads all the photos into an external substack which creates lo-resolution 2 X 3 inch thumbnails., but the metadata from the photoshop info (which I hope is EXIF) is read into a field below the photo... he clicks a button, the substack is saved, compressed and sent FTP to us here... our editors review all the images, and the can read the captions, the respond to him saying We want these 8 shots then opens his revolution stack and clicks on a list of chosing those 8 images, these are in turn compressed and sent to use by FTP.. but the EXIF data somehow accomanies them. When the photos actually go into InDesign... the editor can pull out the EXIF data for the captions. I hate to talk myself out of an app to write - but you can do almost all of that in PS already. Add the FIle / File Info. Use Batch Process to resize them all (to say 200 pixels width, low res) - this retains the Exif data from the captioning. FTP the directory to the editor editor looks at the thumbnails - Exif data is available in PS selects the filename of the ones he wants full-size copies of FTP the full size images of the selected photos Exif data is still in these full-size jpg files. No need for any new manipulations of Exif data; you could have a small Rev app to display thumbnails and Exif data. right now I have a small application working for remote photographers, but the caption info is external to the image... when they ship to us here... (usually by email) I get 01someImage.jpg 01SomeImage.txt # this being the caption But, there are challenges with this system.. what if someone renames the image later ..etc. files get separated... in some contexts i don't want any text files in the working directory...etc. It would be much better if there was a way to for the photographer to insert this metadata into the photo file itself, so that it could piggyback along with the files as a single entity. Look into the File / File info command in PS - allows you to set Title, Author, Copyright status and copyright string, and Caption (unlimited length text string). We work with lots of photographers, both high end and lo end... and I don't see any of them with these kinds of functional tools. There could be a niche market for some application along these lines. -- Alex. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL download and Cache problems
On 16 Dec 2004, at 08:56, Chipp Walters wrote: Dave Cragg wrote: Richard's thought may stem from a similar experience to mine. Previously, load was often preferred because it was the only way to show progress of the download, and not because there was a need to do other processing. In my own apps, I almost always need to pause other things until a download completes. (e.g. a learner chooses a lesson to open, and can't work on it until it has downloaded) load wasn't ideal for this. But load was often recommended over get because of this ability to show progress. With the libUrlStatusCallback option, I now rarely need to use load. It's much simpler to use get. I love libUrlStatusCallback! It also works great with POST and ftp uploads/downloads. Caveat: when using get, there's no obvious way to abort a download before it completes. This should probably go on the to-do list. In my apps, I issue 'resetAll' which stops the download. Dave, you once mentioned a command something like libURLResetAll? I think it does the same thing. Then it's detention for you, Chipp. :-) All resetAll does is call libUrlResetAll. liburlResetAll is the preferred and official command. (Because there's a high chance someone has a library or stack script with a resetAll handler which does something completely unrelated, but more understandable such as resetting a set of preferences to their defaults.) Then I need to reinitialize my libUrlStatusCallback. This can present problems when calling from the IDE as it kills all socket activity for the engine everywhere, so best be careful. Be very careful! libUrlResetAll is a particularly brutal way to stop a download. I don't recommend it to anyone. For me, it's just a development tool and never include it in a distributed stack. But if anyone feels the need to include it in an app, be sure that libUrlResetAll is the last libUrl call in the handler where it appears. But until I add an official way to cancel a get download, here's a little tidbit. You can cancel a download by using this command: ulCancelRequest url This is an internal handler used by libUrl during the unload url procedure. This handler alone should happily stop a get request too. WARNING: If you use this in a stack, be prepared to change it when a future libUrl release adds an official interface. Cheers Dave ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Disabled submenu items on Win XP
Hi all, Some weeks ago, I asked for a question about disabled menu items but I probably was not clear enough and I got no answer. So: Imagine a menu with submenus. For somes reasons depending on the context, the first item in a submenu has to be disabled but the following ones in the submenu are enabled. On Mac OS, there is no problem: so long you are in the menu area, flying over enabled or disabled menu items makes no difference and the menu stays. On Windows, if the first submenu item is disabled, you cant catch the following enabled submenu items: the menu vanishes :-( Is that correct behavior according to some guide lines I dont know on Windows or is it a kind (...) of bug ? Any clue would be appreciated, Thanks, Amicalement, Éric Chatonet 24, Boulevard de Port-Royal 75005 Paris Fixe : 33 1 43 31 77 62 Mobile :33 6 20 74 50 89___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Disabled submenu items on Win XP
Bonjour Eric, just as an example, look in revolution menu, The Text Menu. if you don't select any text, everything is disabled, from all the items of the menu to all the sub-items ( like the Fonts )... This is normal behavior on Windows, well at least on my computer :-) or do I miss something more subtle ? HTH, thierry ÉC For somes reasons depending on the context, the first item in a submenu ÉC has to be disabled but the following ones in the submenu are enabled. ÉC On Mac OS, there is no problem: so long you are in the menu area, ÉC flying over enabled or disabled menu items makes no difference and the ÉC menu stays. ÉC On Windows, if the first submenu item is disabled, you cant catch the ÉC following enabled submenu items: the menu vanishes :-( ÉC Is that correct behavior according to some guide lines I dont know on ÉC Windows or is it a kind (...) of bug ? ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Word keyword
The other reason, I think, why it is sometimes called a hard space is because in WP where you fully justify text (to both right and left margins) a 'hard' or non-breaking' space will not be 'stretched' or 'squeezed' the way ordinary spaces are to achieve the justification. In that sense it is hard rather than flexible. Regards James -- James J Richards [EMAIL PROTECTED] Tel. +44 (0)15394 43063 On Wed, 15 Dec 2004 21:37:22 -0500, Gregory Lypny wrote: Yes I was referring to a non-breaking space. Sorry for the terminology. In my mind, the word hard made sense given its (the space's) inflexibility. Greg On Dec 15, 2004, at 6:06 PM, [EMAIL PROTECTED] wrote: --- Gregory Lypny wrote: Thanks Dar, Jacqueline, and Richard for your suggestions. I was able to fix it in the meantime by getting the rftText and replacing the hard spaces with regular spaces. what is a hard space? thanks, Erik Hansen ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Digital Photo workflow in Photoshop [was Re: [ANN} libEXIF v0.9]
At 11:24 16/12/2004 +, Alex Tweedly wrote: At 11:48 15/12/2004 -1000, Sivakatirswami wrote: Do you know if the catalog information that is applied to images in Photoshop CS is stored as EXIF metadata? Yes, I believe it is. I don't have Photoshop CS, so I tested using Photoshop Elements - but I'd be surprised if they were very different. Oh how naive of me !! It turns out that Photoshop CS uses Adobe's new format XMP instead of (or as well as) Exif. Whether it's instead of or as well as depends on which version of PS CS, which source the photo came from, ... and which web page you believe :-) However, that shouldn't affect the summary of what I said - that Photoshop etc. already support what you need for the kind of workflow you described. InDesign also supports XMP, and eventually all Adobe products will support it (many of them already do, though PS Elements doesn't appear to yet). See http://www.adobe.com/products/xmp/main.html http://www.adobe.com/products/xmp/pdfs/XMP_for_CreativePros2004.pdf for more details. -- Alex. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Re[2]: Windows Dos window doesn't work?
On Dec 16, 2004, at 3:18 AM, thierry wrote: today, this is a Industry Product which uses the open process, reads few information at the start, and a report at the end. In between, the 2 processes ( Rev and Perl ) communicate via Sockets. Socket communication is a good idea. This works on Win98, NT systems and with Rev Express 2.1. You might have found a scheme that works but might not with small changes, or some things do not work as well as they should and you don't know, or things have been fixed, or Dar was up too late 30 months ago. Dar Scott DSC http://www.swcp.com/dsc/ Programming Services and Software ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Improper code or a bug in Revolution?
On Dec 16, 2004, at 12:32 PM, Silver, Jason wrote: If explicitVariables was even set to true, I haven't figured out any way to get into the stack to edit the script. I find it hard to believe that a badly written stack can bring down the entire IDE. Is my stack hosed? Where do I go from here? Hello Jason, Try opening up Rev. Then click on the messages button in the toolbar. This will prevent messages from passing. Then try opening up your stack. This should get you back into business. -- Best regards, Mark Talluto http://www.canelasoftware.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Card within a card (or subforms)
At 3:36 PM -0700 12/15/2004, Dar Scott wrote: It might be fun to dream about asking for a control which is a view into a stack. I remember chatting about this at some point, but I don't know whether it's in Bugzilla. One possible use (other than for a subform) would be to create splittable panes in a window. -- jeanne a. e. devoto ~ [EMAIL PROTECTED] http://www.jaedworks.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Card within a card (or subforms)
Dar Scott wrote: Frank's idea of a background on several cards is the good base-line solution. It requires that all instances of that subform be in the same position and only in that form. Jonathan's approach gives more flexibility in multiple subforms in the same form. It might run into problems when windows are dragged, causing a subform to chase after a form. It might be best for kiosks and similar applications. Another approach is to use several groups of which only one is visible. Another is to update data based on a control. You can mix and match these. It might be fun to dream about asking for a control which is a view into a stack. Hmmm I had thought there was a request in Bugzilla for viewers (that's what RADBuilder calls 'em) To myself, groups feel like the most natural second choice in a world without viewer objects. The tough part is managing the showing/hiding of them. Perhaps if some kind soul had a spare 20 hours they could build a tool to make editing nested groups easier. With a frontscript you could have a libSubCard trap the mouseDoubleUp message to open a custom editor when groups have a property that identifies it as being a SubCardGroup. The SubCard editor could copy all the subgroups to new cards in an editing windows, and when you save it tucks them all back into the master group. -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Card within a card (or subforms)
On Dec 16, 2004, at 3:10 PM, Richard Gaskin wrote: To myself, groups feel like the most natural second choice in a world without viewer objects. The tough part is managing the showing/hiding of them. Perhaps if some kind soul had a spare 20 hours they could build a tool to make editing nested groups easier. With a frontscript you could have a libSubCard trap the mouseDoubleUp message to open a custom editor when groups have a property that identifies it as being a SubCardGroup. The SubCard editor could copy all the subgroups to new cards in an editing windows, and when you save it tucks them all back into the master group. An alternate approach might be something that translates a stack into a bunch of subgroups of a group. Dar DSC (Dar Scott Consulting) http://www.swcp.com/dsc/ Programming Services and Software ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Card within a card (or subforms)
Dar Scott wrote: On Dec 16, 2004, at 3:10 PM, Richard Gaskin wrote: To myself, groups feel like the most natural second choice in a world without viewer objects. The tough part is managing the showing/hiding of them. Perhaps if some kind soul had a spare 20 hours they could build a tool to make editing nested groups easier. With a frontscript you could have a libSubCard trap the mouseDoubleUp message to open a custom editor when groups have a property that identifies it as being a SubCardGroup. The SubCard editor could copy all the subgroups to new cards in an editing windows, and when you save it tucks them all back into the master group. An alternate approach might be something that translates a stack into a bunch of subgroups of a group. Precisely. It would ideally work in both directions. -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Newbie: find, search command
I have a tab delimited list I want to be able to search, say I have a list of names for example; Father XmasIs Drunk New YearsIs after Xmas RudolphThe Reindeer Merry XmasTo all I want to search for ALL instances of Xmas and display the whole matching line of each found in a list field. So far I can get it to display the first line only ( Father XmasIs Drunk) ! Any help would appreciated!!! I have checked the tutorials for help but couldn't find what I was looking for, is there an example stack or notes anyone may know of? The filter command is the fastest method, but be careful as it is a destructive search i.e. it deletes the liens that don't match, so copy your original data into a variable, filter that and keep the original intact. e.g. put field Data into tList filter tList with *Xmas* put tList into fld Finds Using the * before after the search word allow the lines to have characters before and after the word. If you filtered with Xmas*, you would only get lines that started with Xmas. Cheers, Sarah ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Disabled submenu items on Win XP
Le 16 déc. 04, à 18:01, [EMAIL PROTECTED] a écrit : Bonjour Eric, just as an example, look in revolution menu, The Text Menu. if you don't select any text, everything is disabled, from all the items of the menu to all the sub-items ( like the Fonts )... This is normal behavior on Windows, well at least on my computer :-) or do I miss something more subtle ? May be ;-) I am talking about an ENABLED menu item which has a submenu. In this submenu, the first submenu item is disabled and all followings submenu items are enabled: But you cant catch any one of these enabled submenu items on Win32 because the whole menu just vanishes when the mouse is flying over the first disabled submenu item: enabled menu item 1 enabled menu item 2 DISABLED submenu item 21 enabled submenu item 22 enabled submenu item 23 enabled menu item 3 etc. With Rev Win32, you are not able to select submenu item 22 or 23 :-( On Mac OS X, no problem :-) Any idea? HTH, thierry ÉC For somes reasons depending on the context, the first item in a submenu ÉC has to be disabled but the following ones in the submenu are enabled. ÉC On Mac OS, there is no problem: so long you are in the menu area, ÉC flying over enabled or disabled menu items makes no difference and the ÉC menu stays. ÉC On Windows, if the first submenu item is disabled, you cant catch the ÉC following enabled submenu items: the menu vanishes :-( ÉC Is that correct behavior according to some guide lines I dont know on ÉC Windows or is it a kind (...) of bug ? Éric Chatonet 24, Boulevard de Port-Royal 75005 Paris Fixe : 33 1 43 31 77 62 Mobile :33 6 20 74 50 89 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Newbie: find, search command
D.Rothe wrote: Hi, I have a tab delimited list I want to be able to search, say I have a list of names for example; Father XmasIs Drunk New YearsIs after Xmas RudolphThe Reindeer Merry XmasTo all I want to search for ALL instances of Xmas and display the whole matching line of each found in a list field. So far I can get it to display the first line only ( Father XmasIs Drunk) ! Any help would appreciated!!! I have checked the tutorials for help but couldn't find what I was looking for, is there an example stack or notes anyone may know of? For short lists (50,000 lines) you may be pleasantly surprised by the speed of what might look like clunkly Transcript: function FindData pStringToFind, pDataToSearch repeat for each line tLine in pDataToSearch if pStringToFind is in tLine then put tLine cr after tFoundData end repeat return tFoundData end FindData You can call it simply enough: on mouseUp put FindData(Xmas, fld stuff) end mouseUp -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Card within a card (or subforms)
On Dec 16, 2004, at 4:05 PM, Richard Gaskin wrote: An alternate approach might be something that translates a stack into a bunch of subgroups of a group. Precisely. It would ideally work in both directions. It might be, if there are many rough edges and gotchas, that this would have to be considered a tool that does 95% of the work during design time and the designer must clean up the rest. The building the stack might be considered an easy way to spec the fancy group. An alternate approach I have pondered is a control that puts a picture of some card of the stack in an image an collects events to the image and distributes them to the stack. The stack might be open, but invisible. Maybe the work in repeatedly taking pictures is too heavy and if you take pictures only after events, then moving and pulsating gets lost. Dar Scott DSC (Dar Scott Consulting) http://www.swcp.com/dsc/ Programming Services and Software ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Newbie: find, search command
On 11/16/04 4:58 PM, D.Rothe wrote: Hi, I have a tab delimited list I want to be able to search, say I have a list of names for example; Father XmasIs Drunk New YearsIs after Xmas RudolphThe Reindeer Merry XmasTo all I want to search for ALL instances of Xmas and display the whole matching line of each found in a list field. So far I can get it to display the first line only ( Father XmasIs Drunk) ! Any help would appreciated!!! I have checked the tutorials for help but couldn't find what I was looking for, is there an example stack or notes anyone may know of? Here's one way: on mouseUp answer getLines(Xmas,fld 1) end mouseUp function getLines tString,tData put 0 into tOffset repeat get lineoffset(tString,tData,tOffset) if it = 0 then exit repeat put line it+tOffset of tData cr after tNewList add it to tOffset end repeat return tNewList end getLines -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Newbie: find, search command
Except that you need to delete the last cr before putting it into the list, or you will have a blank line at the bottom; just add one line to the code: function FindData pStringToFind, pDataToSearch repeat for each line tLine in pDataToSearch if pStringToFind is in tLine then put tLine cr after tFoundData end repeat delete the last char of tFoundData return tFoundData end FindData On Dec 16, 2004, at 6:32 PM, Richard Gaskin wrote: D.Rothe wrote: Hi, I have a tab delimited list I want to be able to search, say I have a list of names for example; Father XmasIs Drunk New YearsIs after Xmas RudolphThe Reindeer Merry XmasTo all I want to search for ALL instances of Xmas and display the whole matching line of each found in a list field. So far I can get it to display the first line only ( Father Xmas Is Drunk) ! Any help would appreciated!!! I have checked the tutorials for help but couldn't find what I was looking for, is there an example stack or notes anyone may know of? For short lists (50,000 lines) you may be pleasantly surprised by the speed of what might look like clunkly Transcript: function FindData pStringToFind, pDataToSearch repeat for each line tLine in pDataToSearch if pStringToFind is in tLine then put tLine cr after tFoundData end repeat return tFoundData end FindData You can call it simply enough: on mouseUp put FindData(Xmas, fld stuff) end mouseUp -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
ChatRev Client
Dear Revolution users, A new version of ChatRev 1.2M, my implementation of Björnke von Gierke's ChatRev client, has been released. ChatRev is an application that can connect to a ChatRev Server. ChatRev 1.2M19 is fully compatible with the current ChatRev protocol. Major features include: - on-line English dictionary using Babylon - file transfer to and from other clients - sending colourised text using menus or a palette - compatibility with the new ChatRev forum format - speech - clickable web links - automatic linking to Bugzilla - graphical smileys - optional interpreting of HTML tags - an opportunity to sponsor the project The stack and standalone versions of ChatRev 1.2M19 can be downloaded at http://home.wanadoo.nl/mark.sch/software/main.html. From there, follow the link to ChatRev. Quick start: If you open ChatRev for the first time, choose the default url http://www.revolutionboard.de/bvg/ip.txt from the IP URL menu. An IP number will appear in the IP menu. Enter 80 into the Port field. Also, enter a user name and a password and click on the Connect button. If you haven't registered before, you will be asked to register. Fill out the form and click on Okay. Then click on Connect again. To improve this client, it is very important that bugs are reported. If you encounter any problems with the client or have other comments, please send an e-mail to mailto:[EMAIL PROTECTED]. Include an extensive description of what you did before the problem occurred and add what you expected to happen instead. Also list the hardware and relevant software you are using, e.g. computer model, built-in memory, free hard disk space, and operating system. I hope to meet you on ChatRev, soon! Best regards, Mark Schonewille -- eHUG coordinator mailto:[EMAIL PROTECTED] fax: +1 501 633 94 04 http://home.wanadoo.nl/mark.sch http://www.ehug.info ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Newbie: find, search command
On 12/16/04 5:42 PM, Frank D. Engel, Jr. wrote: Except that you need to delete the last cr before putting it into the list, or you will have a blank line at the bottom; just add one line to the code: function FindData pStringToFind, pDataToSearch repeat for each line tLine in pDataToSearch if pStringToFind is in tLine then put tLine cr after tFoundData end repeat delete the last char of tFoundData return tFoundData end FindData Sometimes, but it depends on what you're doing. Revolution is forgiving enough that a lot of the time it doesn't matter. For example, the number of lines will return the same number whether the carriage return is at the end or not. This has come up before, and it isn't a bug, it's a feature. Commas work the same way. On Dec 16, 2004, at 6:32 PM, Richard Gaskin wrote: D.Rothe wrote: Hi, I have a tab delimited list I want to be able to search, say I have a list of names for example; Father XmasIs Drunk New YearsIs after Xmas RudolphThe Reindeer Merry XmasTo all I want to search for ALL instances of Xmas and display the whole matching line of each found in a list field. So far I can get it to display the first line only ( Father Xmas Is Drunk) ! Any help would appreciated!!! I have checked the tutorials for help but couldn't find what I was looking for, is there an example stack or notes anyone may know of? For short lists (50,000 lines) you may be pleasantly surprised by the speed of what might look like clunkly Transcript: function FindData pStringToFind, pDataToSearch repeat for each line tLine in pDataToSearch if pStringToFind is in tLine then put tLine cr after tFoundData end repeat return tFoundData end FindData You can call it simply enough: on mouseUp put FindData(Xmas, fld stuff) end mouseUp -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
mySQL Query... need some help
I'm a genuine newbie and have been having a major difficulty in trying to format a mySQL query and thought that maybe someone can point me in the right direction. All I'm trying to accomplish at this point is to search for a specific record and display the info in the proper fields. Here's how I have things set up... Currently the DB is connected when the card opens DB name is: mybuddies Table name is :revprogrammers DB Fields: FirstName (Primary) LastName PhoneNumber Text Fields In Stack: ShowFirstName ShowLastName ShowPhoneNumber Query Field: myQuery I *think* this is the right general direction (not working, obviously) on mouseUp get revDataFromQuery(,,SELECT * FROM mybuddies WHERE FirstName = field 'myQuery') end mouseUp I'd jump for joy if someone could point out what I'm doing wrong or point me to a *really simple* mySQL tutorial/stack to learn from Thanks, -Doc- ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: mySQL Query... need some help
I'm a genuine newbie and have been having a major difficulty in trying to format a mySQL query and thought that maybe someone can point me in the right direction. All I'm trying to accomplish at this point is to search for a specific record and display the info in the proper fields. Here's how I have things set up... snip I'd jump for joy if someone could point out what I'm doing wrong or point me to a *really simple* mySQL tutorial/stack to learn from Thanks, -Doc- At my web site, I have a MySQLtest.rev stack which I used when teaching myself all this stuff. It has buttons to make the connection, list tables, show table structures and perform queries as well as a rather crude interface for editing table structures. It might help you get going anyway. Cheers, Sarah [EMAIL PROTECTED] http://www.troz.net/Rev/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Making a Rev-built app hoist itself to the foreground
On Dec 15, 2004, at 7:07 AM, Richard Gaskin wrote: Geoff Canyon wrote: Thanks, but I need something that will bring the whole Revolution app to the foreground when other applications are in front of it. go this stack brings that window to the front of the Rev app, but doesn't change the layer of the app itself. You can use the Activate AppleScript command on OS X; with Windows having interleaved windows from the beginning there is no concept of bringing an application to the front, so you'd probably have to move each window forward by itself. Unfortunately, activate doesn't seem to work for apps called through the command line. In fact, clicking on their windows doesn't bring them to the front either. I asked on an OS X list if this were correctable, but haven't had a successful response yet. regards, Geoff Canyon [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL download and Cache problems
Dave Cragg wrote: Richard's thought may stem from a similar experience to mine. Previously, load was often preferred because it was the only way to show progress of the download, and not because there was a need to do other processing. In my own apps, I almost always need to pause other things until a download completes. (e.g. a learner chooses a lesson to open, and can't work on it until it has downloaded) load wasn't ideal for this. But load was often recommended over get because of this ability to show progress. With the libUrlStatusCallback option, I now rarely need to use load. It's much simpler to use get. I love libUrlStatusCallback! It also works great with POST and ftp uploads/downloads. Caveat: when using get, there's no obvious way to abort a download before it completes. This should probably go on the to-do list. In my apps, I issue 'resetAll' which stops the download. Dave, you once mentioned a command something like libURLResetAll? I think it does the same thing. Then I need to reinitialize my libUrlStatusCallback. This can present problems when calling from the IDE as it kills all socket activity for the engine everywhere, so best be careful. -Chipp ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Quartam Reports
Hi Everybody, This one's directed primarily to Jan Schenkel. Can you advise when rank-and-file Revolutionaries like myself will have a chance to actually get to see and play with the fabled Quartam Reports? From the brief description given after Malta, it sound like something I've been hoping a long time to see. Kind regards, Alan Gayne ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Digital Audio File/Quicktime Help
Hey Fred, I think I can help- No problem on cutting a chunk from a larger file. There are several ways to do so. I use QuickTime Pro and iMovie for this, but there are lots of software options. iMovie will allow you to fade the audio up and/or down so the start and stop are not so abrupt. On the other question--creating jump links inside QuickTime. I haven't done this in a while but I used to use a tool called Electrifer to accomplish just what you are describing. In effect the buttons are additional image tracks that sit in a layer atop the main video track. Each of these images can be hot-linked to a time interval (min:sec:frames). Tell me more? Steve Is there anyone out there who knows the insides of digital audio files? I am writing an application where it would be helpful to be able to manipulate these files. For example, I'd like to create a new sound file that consists of just a portion of a larger sound file. I have no idea if it is even possible to dig inside a sound file without messing it up. I would also like to find someone who knows the insides of Quicktime. I am needing to use Quicktime in some slightly unorthodox ways. For example, I need to allow the user to click a mouse to play a portion of a Quicktime file with no time lag -- in other words as soon as the user clicks the mouse, the music plays. Thanks Fred Moyer ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution -- -- Steve Bonham Director, Faculty Technology Development Laboratory Center for Excellence in Teaching - Georgia Southern University Statesboro, GA 30460-8143 -- ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: New Revolution Game
On Dec 15, 2004, at 10:18 PM, James Russell wrote: Yep, I'm seeing this too. On Dec 15, 2004, at 2:43 PM, Thomas McGrath III wrote: When I lost in the arena while my guys were working out they did not die. They were still working out but could not do anything else. They were like ghosts. Almost ghosts, they are just lacking extra graphics. Basically you require a graveyard to store the dead bodies, otherwise they take up space when they die. On Dec 15, 2004, at 2:17 PM, Frank D. Engel, Jr. wrote: An OS X version would be quite nice, yes... OS 9 wouldn't hurt either, but if you are cross-developing from Windows you won't be able to build for OS 9. Should still be able to build an OS X version, though... I have an old powerpc lying around and have been meaning to set it up I shall try to do that before x-mas. I did a OS X build, but since I have never touched OS X Im unsure as to how successful it will be. There is two differnt builds for OS X, hopefully one of them will work. If neither work, Im up for some pointers :) Version 1 works (and looks) fine. Nice and smooth. If you want a custom icon and don't have tools for OS X icon creation, just put together a 128x128 image for it. I have Iconographer here and can get the OS X, Windows, and OS 9 icons for you rather quickly. Yes, OS X can use 128x128 icons. They're quite large. (You can actually zoom in on the Finder windows and the desktop, not to mention the dock...) Jeremy [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Improper code or a bug in Revolution?
Hello all, Several weeks ago I posted to the use-revolution list to ask for advice on making transparent buttons, used in a handset simulation. I'd like to thank all of you who replied to my posting; the Revolution developer community is a very friendly and helpful place! Now, onto my question. I seem to have hit a roadblock with the simulation, and unfortunately I cannot open my sim stack without crashing Revolution. I had two snippets of code in the sim, but I'm fairly sure they wouldn't have caused problems. The first bit was in my main stack Handset simulation, used to find out how many cards I had in a sub-stack, named Contacts (this would be the database for the address book application): on OpenStack global numberOfAddressBookEntries get the number of cards of the stack Contacts put it into numberOfAddressBookEntries --Testing statement: answer The number of address cards is numberOfAddressBookEntries end OpenStack The other bit of code was with my transparent buttons. They were in a group called Keypad, and I was trying to script the group instead of each individual button: on mouseUp -- copy the label of the button clicked on into the buttonPressed variable put the label of the target into buttonPressed -- Testing statement: answer buttonPressed has been pressed! end mouseUp Everything seemed to work fine, but I think a problem occurred after installing Devolution. I fooled around with the Explicit variables option, which led to this disaster. I uninstalled everything, reinstalled Revolution (still on trial, waiting for the company to purchase a license), and now I get these errors: http://img91.exs.cx/img91/7342/reverror27qo.png http://img11.exs.cx/img11/145/reverror14qp.png It looks like something is messing with the license.rev file. Two interesting things to notice: - In the Application Browser window, my Handset Simulation stack doesn't even show up. - The error dialog that appears changes, and I have no idea why. If explicitVariables was even set to true, I haven't figured out any way to get into the stack to edit the script. I find it hard to believe that a badly written stack can bring down the entire IDE. Is my stack hosed? Where do I go from here? Thank you for your help. Sincerely, Jason Silver Human Factors Engineer, Sr. jsilver at qualcomm DOT com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Newbie: find, search command
Hi, I have a tab delimited list I want to be able to search, say I have a list of names for example; Father XmasIs Drunk New YearsIs after Xmas RudolphThe Reindeer Merry XmasTo all I want to search for ALL instances of Xmas and display the whole matching line of each found in a list field. So far I can get it to display the first line only ( Father XmasIs Drunk) ! Any help would appreciated!!! I have checked the tutorials for help but couldn't find what I was looking for, is there an example stack or notes anyone may know of? Thanks D.Rothe ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution