Re: Localization
The htmltext property does not let you display html - but a very narrow subset of html - so the html entities will need to be converted in your script. On 12 February 2010 05:24, Jeffrey Massung mass...@gmail.com wrote: Are there any examples out there of not only localizing a Rev stack's UI, but also displaying localized data downloaded from the internet? For example, I have a field and I download an HTML page with Russian on it. Even though everything is encoded properly (e.g. #1072;#1089; ...) and I'm using a font that can display cyrillic, everything I see in my field is just a jumbled mess (using the htmlText property). I'm likely just missing a simple step like selecting a language or have unicode disabled or some-such. Any help appreciated! Jeff M.___ 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: Words Indexing strategies
On Fri, Feb 12, 2010 at 3:24 AM, Alejandro Tejada capellan2...@gmail.com wrote: I have a dll named: dbsqlite.dll (452 K) in my Rev Studio instalation. If an experienced database developer could lend a hand, i would be really grateful. Hi Alejandro Ok, since you don't know anything about databases, I'm assuming that it is also going to be quite a lot of work to deal with compiling the sqlite FT plugin for the different platforms too. (I've no idea how hard that would be or what problems you might meet with - but in general these things are always harder than they are supposed to be). So, let's consider a Rev-only solution, and if that looks like a hopeless case then it will make the work required to deal with databases and compilation more worthwhile. As I'm slow on the uptake, I am still not entirely sure what I think it is you are trying to do. Am I right that given these search terms: baboon OR monkey AND fruit and index file b.tgz contains a line like this: baboon: 1,5,9 index file m.tgz contains a line like this: monkey: 2,7,17 index file f.tgz contains a line like this: fruit: 3,7,23 you would want the result of your search to be: 7 i.e. the number of the article that matches the boolean search? Unless I've misunderstood, what you want to do is combine indexes in order to satisfy boolean combinations of search terms. However, it looks to me like the existing indexes don't contain enough information for you to calculate frequency of occurrence (a measure of relevance). And depending on how these pre-existing indexes have been constructed they may not have any stemming information in them. You might be able to build some kind of rough stemming algorithm in Rev (by doing rough pluralization like 'baboon*', but as Richard pointed out more complex plurals like 'children' will be where the work comes). Are you looking for an approximate solution? Or do you need greater flexibility of scope and relevance scores, etc. ? Bernard ___ 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
Behavior Nightmare
Does anyone know what the message order is for behaviors assigned to multiple objects? I have a set behaviors assigned to a card, and a set of behaviors assigned to a group that is placed on the same card. It seems that the behavior scripts of card are being handled *before* the behavior scripts of the group. Is this expected behavior? Is there some way I can have the scripts of group processed before those of the card? I've been trying to migrate a bunch of object/card/stack scripts to behaviors and it has been a major pain trying to get messages to naturally fall between objects the same way messages work in the normal message hierarchy. I can't use a single set of behaviors for all the objects because there are common mouse event messages that need to be handled across objects depending on what object is clicked (ie mouseDown on the group does something different than mouseDown on the card). Thanks for any advice/suggestions (needed to have this done 2 days ago and am beating my head against the wall). Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Localization
Jeff, There is a very nice product available from revSelect called NativeSpeak. http://www.runrev.com/products/related-software/nativespeak/ Having set up the localization of an application from scratch and being painstakingly aware of all the issues you will run into, which go far beyond mere translation and involve things like adjusting object sizes and fonts and many other things, as well as the time it takes, it is well worth its price. Aloha from Hawaii, Jim Bufalini -Original Message- From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution- boun...@lists.runrev.com] On Behalf Of Jeffrey Massung Sent: Thursday, February 11, 2010 7:24 PM To: How to use Revolution Subject: Localization Are there any examples out there of not only localizing a Rev stack's UI, but also displaying localized data downloaded from the internet? For example, I have a field and I download an HTML page with Russian on it. Even though everything is encoded properly (e.g. #1072;#1089; ...) and I'm using a font that can display cyrillic, everything I see in my field is just a jumbled mess (using the htmlText property). I'm likely just missing a simple step like selecting a language or have unicode disabled or some-such. Any help appreciated! Jeff M.___ 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: use-revolution Digest, Vol 77, Issue 29
Jim Lambert wrote: Jacque wrote: on mousemove x,y put the helptext of the target into fld help field end mousemove With rev messages that are called very frequently, like mousemove, I generally do a test to see if the overhead of refreshing a field is really necessary. on mousemove x,y if the myLastTarget of fld help field the target then put the helptext of the target into fld help field set the myLastTarget of fld help field to the target end if end mousemove But this is just habit and superstition on my part. Opinions? I like it. ;-) Especially if handlers are long ones. Aloha from Hawaii, Jim Bufalini ___ 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: Behavior Nightmare
Been using behaviors for a while now - and they have seemed unproblematic and intuitive to me. I may well have missed something as I use them in a particular way, but this is as far as i know the situation (shoot me down if I get something wrong). Behaviors are effectively backscript for the object they are attached to - so a behavior on a group will be called before a card unless the group is a background in which case it will be called after the card? On 12 February 2010 11:04, Scott Rossi sc...@tactilemedia.com wrote: Does anyone know what the message order is for behaviors assigned to multiple objects? I have a set behaviors assigned to a card, and a set of behaviors assigned to a group that is placed on the same card. It seems that the behavior scripts of card are being handled *before* the behavior scripts of the group. Is this expected behavior? Is there some way I can have the scripts of group processed before those of the card? I've been trying to migrate a bunch of object/card/stack scripts to behaviors and it has been a major pain trying to get messages to naturally fall between objects the same way messages work in the normal message hierarchy. I can't use a single set of behaviors for all the objects because there are common mouse event messages that need to be handled across objects depending on what object is clicked (ie mouseDown on the group does something different than mouseDown on the card). Some thoughts: - a group behavior would be triggered before the card script unless background behavior is true - mouse events wont be sent to a group even if opaque unless an actual control is clicked on - card scripts can intercept and over-ride local group behaviors by using dispatch or checking for card properties - use as many groups as you want to nest behaviors ___ 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: Behavior Nightmare
On Feb 12, 2010, at 6:04 AM, Scott Rossi wrote: Does anyone know what the message order is for behaviors assigned to multiple objects? I have a set behaviors assigned to a card, and a set of behaviors assigned to a group that is placed on the same card. It seems that the behavior scripts of card are being handled *before* the behavior scripts of the group. Is this expected behavior? Is there some way I can have the scripts of group processed before those of the card? Scott, A Behavior acts just like the script of the object it is attached to so the message hierarchy remains unchanged. Have you confirmed that scripts are being executed out of order using logging? -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: 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: Behavior Nightmare
Do the groups have their 'backgroundBehavior' property set by any chance? In theory, a behavior acts like an object-specific backscript, but the message path for background groups is a tad strange when it comes to the card script, so who knows? Can you confirm this with simple logging to a text field? Jan Schenkel = Quartam Reports PDF Library for Revolution http://www.quartam.com = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) --- On Fri, 2/12/10, Scott Rossi sc...@tactilemedia.com wrote: From: Scott Rossi sc...@tactilemedia.com Subject: Behavior Nightmare To: Revolution Mail List use-revolution@lists.runrev.com Date: Friday, February 12, 2010, 3:04 AM Does anyone know what the message order is for behaviors assigned to multiple objects? I have a set behaviors assigned to a card, and a set of behaviors assigned to a group that is placed on the same card. It seems that the behavior scripts of card are being handled *before* the behavior scripts of the group. Is this expected behavior? Is there some way I can have the scripts of group processed before those of the card? I've been trying to migrate a bunch of object/card/stack scripts to behaviors and it has been a major pain trying to get messages to naturally fall between objects the same way messages work in the normal message hierarchy. I can't use a single set of behaviors for all the objects because there are common mouse event messages that need to be handled across objects depending on what object is clicked (ie mouseDown on the group does something different than mouseDown on the card). Thanks for any advice/suggestions (needed to have this done 2 days ago and am beating my head against the wall). Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Words Indexing strategies
Bernard Devlin wrote: However, it looks to me like the existing indexes don't contain enough information for you to calculate frequency of occurrence (a measure of relevance). Once again, MetaCard to the rescue! :) Raney included this little gem in MC's Examples stack, and using repeat for each and arrays it's blazing fast, able to make a frequency table for even large files in almost no time at all: on mouseUp put empty into field result answer file Select a text file for input: if it is empty then exit mouseUp # let user know we're working on it set the cursor to watch put it into inputFile open file inputFile for read read from file inputFile until eof put it into fileContent close file inputFile # wordCount is an associative array, its indexes are words # with the contents of each element being number of times # that word appears repeat for each word w in fileContent add 1 to wordCount[w] end repeat # copy all the indexes that is in the wordCount associative array put keys(wordCount) into keyWords # sort the indexes -- keyWords contains a list of elements in array sort keyWords repeat for each line l in keyWords put l tab wordCount[l] return after displayResult end repeat put displayResult into field result end mouseUp -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv ___ 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: Reading/Deleting Last Line Of File
Jeff Massung wrote: I'm still new to Rev, but in other languages this is dead simple: ... // nuke everything else at the end of the file trunctate(fp, new_len); ... Done. Now, maybe this isn't as easy in Rev as it is in C and *many* other languages. But it should be [if it isn't]. That is *exactly* the problem - Rev doesn't expose ftruncate() (or ftell() either), so what should be very simple becomes very difficult. In C, or Python, or even shell it is simple, but Rev's incomplete interface to the file system causes the problem. I opened a RQCC report (#1851) in 2004 to request the enhancement of providing a way to get the file position (i.e. ftell()). That report remains Unconfirmed. Given that response, I have not chosen to waste any time entering an enhancement request for truncate. -- Alex. ___ 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: Reading/Deleting Last Line Of File
Richard Gaskin wrote: That looks similar to what I posted here on the 9th: open file tFile for update seek relative -1000 in file tFile repeat read from file tFile until cr if it is not empty then put it after tBuffer else delete last line of tBuffer write tBuffer to file tFile end if end repeat close file tFile Does that not do what you need? No, it doesn't. If a file is opened for 'update' then any write to the file simply overwrites any existing characters at the appropriates position(s), and leaves everything following that unchanged. There is no EOF implied by a write in update mode. There is an EOF inserted after a write if the file is opened in 'append' mode - but then you cannot read from it. (Actually, there is another additional reason - each time you do a 'read' that updates the file pointer, so the subsequent write would begin at the file position immediately *after* the last read, not where the read had been done from; you would have needed another seek before write (or do a 'write at x') to have a chance, but you'd still need Rev to provide access to truncate() after your write.) -- Alex. ___ 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: Reading/Deleting Last Line Of File
Jim Bufalini wrote: Just one thing Alex, you need to: put URLDecode(the detailed files) into t in case the file name has, for example, a space in it. Thanks Jum, I didn't spot that. But then, if the file name had a comma in it, I'd be caught out. I think what I needed was to URLEncode(pFile) to use in the filter : on deletelastline pFile constant K = 1000 put the detailed files into t filter t with URLEncode(pFile) ,* put item 2 of t into tFileLength open file pFile for read seek to tFileLength-K in file pFile read from file pFile until end close file pFile put the number of chars in the last line of it into tNum open file pFile for append write empty to file pFile at (tFileLength-tNum-3) close file pFile end deletelastline -- Alex. ___ 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: Help message Broadcasting system
Cool, I am going to meditate on the responses and come up with something that will take care of my needs. Thank you all for the quick input and elaborate responses! On Thu, Feb 11, 2010 at 6:46 PM, Trevor DeVore [via Runtime Revolution] ml-node+1477997-959398...@n4.nabble.comml-node%2b1477997-959398...@n4.nabble.com wrote: On Feb 11, 2010, at 4:33 PM, Andrew Kluthe wrote: I am converting my noble little app into the glx framework, as I've realized that what it does will be invaluable to me in the long run. Welcome aboard Andrew. I think you will find the framework very useful for application development as it provides the vital pieces that you need for creating and maintaining an application in Revolution. The alternative is to spend time writing your own equivalents. While that would be an educational experience you don't get much bang for your buck. There is still a lot of areas that need more thorough documentation so if you have a question ask. That usually gives me enough incentive to add a few lessons. There is a Google Group you can send questions to. The link is on the main GLX Application Framework page. http://www.bluemangolearning.com/revolution/software/libraries/glx-application-framework/ A feature that was requested a couple of days ago, and I assume needs to be developed early in the process, is for a Help system. For Example: ... Reading up on GLX, it said something about handling broadcasting. Can I use GLX's broadcasting features to do something like this? Am I misunderstanding the purpose of broadcasting? Am I spinning off into the wrong quadrant of space? I would go with the advice you have received from others rather than using the broadcasting feature of the framework. In your situation you have multiple objects that are trying to display information in a central location. The data is flowing into the help display but nobody else really needs to know that the help display has been updated. The broadcasting APIs included with the framework are relevant when you have lots of parties interested in any changes made to a single object (the reverse of what you are doing). Basically broadcasting providers a way for any number of objects to sign up and say, Hey, I want to know when object A's property is changed or such and such an event occurs. When object A's property is changed or the event occurs object A sends out a broadcast. The Broadcasting API dispatches messages to all the objects that signed up to be notified. Object A doesn't need to know who is signed up. One concrete example that may prove useful - in one of my apps I have a lesson table in a SQL database. The title of a lesson can be displayed in a number of different places in the UI. Each UI element that displays the lesson title has signed up to be notified when the lesson title is changed in the database. When the lesson title is changed a broadcast is made and a message is sent out to each object that signed up to be notified. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com ___ use-revolution mailing list [hidden email]http://n4.nabble.com/user/SendEmail.jtp?type=nodenode=1477997i=0 Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- View message @ http://n4.nabble.com/Help-message-Broadcasting-system-tp1477816p1477997.html To unsubscribe from Help message Broadcasting system, click here (link removed) ==. -- View this message in context: http://n4.nabble.com/Help-message-Broadcasting-system-tp1477816p1478638.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
Encoding h.264 videos on Windows 7 through Rev
What do I need to install to have h.264 show up as an option in the Rev video compression dialog box under Windows 7? Is there a codec I need to install? Thanks. Richard Miller ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Localization
Thank you both for the thoughts and the link. NativeSpeak looks nice. Currently, while localizing the interface of my app is something I will have the distinct pleasure of looking forward to /sarcasm, my interest is mostly on displaying unicode (or non-ANSI) characters in a field that are read from the internet. Let me run through a sample of what I'm talking about to explain why I'm so perplexed and maybe someone can point out what's wrong. 1. Create a new stack. 2. Create 3 fields: src, dst, and rep 3. Create a button to perform the test 5. Go to www.google.ru and copy some Cyrillic text from the upper-left toolbar 6. Paste the text into field src At this point it should be noted that the text does - in fact - display the correct Russian characters. I haven't changed the font of the field or done anything else special as setup for the field to receive unicode characters. This is good. Next, I'll modify the button script like so: on mouseUp put the unicodeText of fld src into fld dst set the unicodeText of fld rep to fld dst end mouseUp What I expect to happen is field dst should now contain all the bytes that comprise the unicode string and rep should be a copy of the original source text. But that isn't what happens. Hell, even just doing a copy of src - rep doesn't even work: set the unicodeText of fld rep to the unicodeText of fld src ## or... put fld src into fld rep I don't mind writing a lot of functions to handle manipulation of unicode strings at the byte level. But if I can't even get unicode characters from one field to appear in another, I might as well be throwing darts at a bullseye on the floor blindfolded; I'll just end up with bloody feet and a terrible score. If anyone can suggest how I can end up getting the above example to work, I'm all ears... and feet. ;-) Jeff M. ___ 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: Localization
On Feb 12, 2010, at 10:21 AM, Jeff Massung wrote: on mouseUp put the unicodeText of fld src into fld dst set the unicodeText of fld rep to fld dst end mouseUp Try: set the unicodeText of field dst to the unicodeText of field src When you put into a field you are setting the text property. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: 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: Localization
Wow, I could swear I tried that before with terrible results. Just tried again with a fresh stack and it works. In fact, modifying dst to be a variable instead of a field to hold the temporary data works as well. Sorry, I feel a little sheepish. Thanks, Trevor. Jeff M. ___ 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: Localization
On Feb 12, 2010, at 10:30 AM, Jeff Massung wrote: Wow, I could swear I tried that before with terrible results. Just tried again with a fresh stack and it works. In fact, modifying dst to be a variable instead of a field to hold the temporary data works as well. Sorry, I feel a little sheepish. Thanks, Trevor. No worries. It isn't always clear what is happening when you put things into a field since the property you are affecting is implicit rather than explicit. Personally I always just set the property of the field so that it is clear. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: 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
[ANN] Move controls in tRev Object Browser with the new ZOOM!
Fellow Rev developers, We just posted this video showing the new control manipulation in tRev's snapshot mode: http://reveditor.com/need-to-move-controls-in-card-snaps-zoom Here are the details: NEW Controls in Zoom: - zoomed cards now show a fully functional list of controls - control line items in list are draggable and names are editable - zoomed cards also have the scratch pad Move controls in Zoom: - controls in snaps can be dragged - controls in snaps can be moved with arrows - - plain arrow = 1 pixel - - shift arrow = on 10 pixel grid - - option arrow = align to next controls side Tabs: - first tab is always and only for the browser - New Tab menu item removed from File and Tab menus. Enhanced: - larger/smaller font size on view menu w shortcut - White on Black (aka Chalkboard) now on view menu w shortcut Optimized: - drag-n-drop in lists is more responsive, faster - auto-scrolling during drag-n-drop in lists is faster, less quirky - scrolling in all list fields and code field faster - code displays faster - browser columns populate faster (raw number of lines) Fixed: - tRev icon in Rev now remembers its location from session to session - control counter no longer counts the controls in dataGrids - inflated control counts kept script line counts from appearing in controls column - alignment of all fields and buttons now perfecto Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/not-enough-detail-in-a-card-snap-zoom-it ___ 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: Reading/Deleting Last Line Of File
Alex Tweedly wrote: Richard Gaskin wrote: That looks similar to what I posted here on the 9th: open file tFile for update seek relative -1000 in file tFile repeat read from file tFile until cr if it is not empty then put it after tBuffer else delete last line of tBuffer write tBuffer to file tFile end if end repeat close file tFile Does that not do what you need? No, it doesn't. If a file is opened for 'update' then any write to the file simply overwrites any existing characters at the appropriates position(s), and leaves everything following that unchanged. There is no EOF implied by a write in update mode. Good catch. Seems my instinct to use append in my first version of that was closer to the mark. But FWIW, I tried your version and it seemed to leave the file unchanged - is this a user error on my end, or does it have a limitation I overlooked? on deletelastline pFile constant K = 1000 put the detailed files into t filter t with URLEncode(pFile) ,* put item 2 of t into tFileLength open file pFile for read seek to tFileLength-K in file pFile read from file pFile until end close file pFile put the number of chars in the last line of it into tNum open file pFile for append write empty to file pFile at (tFileLength-tNum-3) close file pFile end deletelastline -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv ___ 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: altRevBrowser Noob
Hi all. Thanks for the replies. Well the whole idea was to be able to go full screen as soon as it opens without user intervention, something that apparently Adobe will not allow with flash, because it poses a security risk. So my plan is to either trap for a rawkeydown and have it quit when he types the Q key, or else have a QuicKey shortcut that launches the app, then wait for user input mouse click, then finish the QuicKey by quitting the app. Bob On Feb 11, 2010, at 5:39 PM, Sarah Reichelt wrote: Thanks! I did get the thing running by copy/pasting everything in the browser card of the sample. Now my problem is, when I create a button the size of the stack in front of the browser with a script to quit, the click never gets to the button. I moved the object to the front all right, but it seems when the browser is displaying content, the browser is the frontmost object. I can kind of see why this is the case, but now that breaks my idea of being able to click and have the app quit. Anyone have any ideas on this last hurdle? Could you just use the standard window close widget to lose the browser quit? 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: Reading/Deleting Last Line Of File
Richard Gaskin wrote: But FWIW, I tried your version and it seemed to leave the file unchanged If your original file ends in a cr then Alex's code would end in absolutely no change. ;-) Aloha from Hawaii, Jim Bufalini ___ 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: Our place in Hawaii....
That did the trick! Now I'm rockin Tom McGrath III Lazy River Software 3mcgr...@comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Feb 11, 2010, at 9:03 PM, Sivakatirswami wrote: Thomas McGrath III wrote: Slideshow is great but NO music here??? Safari 4.0.4 OSX 10.6.2 Tom McGrath III Lazy River Software 3mcgr...@comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html Thomas... try now... and for the music lovers, we now offer the famed Arunthati Shree Ranganathan singing Veda Satiran http://www.himalayanacademy.com/slideshows/aadheenam/2009/ka_2009-12-30_thushyanthan-aadheenam/ but with this embed code... embed src='http://www.himalayanacademy.com/resources/books/yogaswami/natchintanai/Various-Other-Natchintanai/pg-28_Veyda-Satthiran_AR.mp3' autostart='true' width='0' height='0'/embed is it running on Window? On Feb 10, 2010, at 11:32 PM, Jim Ault wrote: Slide show and music run fine on OSX 10.5.8 G5 PPC FF Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 GTB6 Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] Move controls in tRev Object Browser with the new ZOOM!
On Fri, Feb 12, 2010 at 9:54 AM, Jerry Daniels jerry.dani...@me.com wrote: Fellow Rev developers, We just posted this video showing the new control manipulation in tRev's snapshot mode: http://reveditor.com/need-to-move-controls-in-card-snaps-zoom Here are the details: NEW Controls in Zoom: - zoomed cards now show a fully functional list of controls - control line items in list are draggable and names are editable - zoomed cards also have the scratch pad Move controls in Zoom: - controls in snaps can be dragged - controls in snaps can be moved with arrows - - plain arrow = 1 pixel - - shift arrow = on 10 pixel grid - - option arrow = align to next controls side Hey Jerry, I can't say that I ever found any difficulties with previous versions, but I just finished trying out the new zoom and move control features and they are awesome! It seems that I am always tweaking on control positioning, so I have a tendency to spend more time in the Rev editor than in tRev... I believe that will now change with these new additions. Can't speak for anyone else, but I appreciate all the work you are doing on tRev. ...it's just good stuff! Best regards, David C. ___ 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
Spell check
How is the easiest way to incorporate spell checking into a standalone on different platforms? Are there spellcheck Rev stacks that have been created that can be placed in the script hierarchy? Thanks. ___ 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: altRevBrowser Noob
Recently, Bob Sneidar wrote: Well the whole idea was to be able to go full screen as soon as it opens without user intervention, something that apparently Adobe will not allow with flash, because it poses a security risk. Maybe you know this already, but Adobe has a an online security manager that, among other things, allows Flash to run/access local files. http://www.macromedia.com/support/documentation/en/flashplayer/help/setting s_manager04.html Maybe you can enable something there that will allow Flash to do what you want. Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: AW: Andre's house - completely offtopic
On Feb 10, 2010, at 6:00 AM, Björnke von Gierke wrote: Hi I made a google maps entry that is open for anyone to edit. If you have a google account of any sorts, you can go here, and click on save to my maps and then edit to add your own location: http://maps.google.com/maps/ms?ie=UTF8hl=enmsa=0msid=103560329393675966954.00047f3f26dbe66f71c2dll=17.978733,12.304688spn=124.244284,268.242188t=hz=2 Caveats: This could be a spam magnet, I'll test it out and if it doesn't work, I'll delete it again. I tried to import the old map from Frappr. However, there where several problems, so I opted to not use that import, and start fresh. Some example problems: Images didn't come trough There where more incomplete or broken entries then real ones Those entries which did work where strangely merged ie. the name would be put into the comment field, doubled text, etc. Ok. I screwed up my entry. I could not figure out how to edit the entry so that I could put my name in instead of my address. The Edit button is ghosted. Now I have two entries with my address. Help...Please. Best regards, Mark Talluto http://www.canelasoftware.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: Reading/Deleting Last Line Of File
Jim Bufalini wrote: Richard Gaskin wrote: But FWIW, I tried your version and it seemed to leave the file unchanged If your original file ends in a cr then Alex's code would end in absolutely no change. ;-) Thanks, Jim. I tried it both ways; no change to the file's contents, although the mod date gets updated so I know it's trying. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv ___ 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: Spell check
On Fri, Feb 12, 2010 at 12:39 PM, Jim Beckmann jimbeckm...@comcast.net wrote: How is the easiest way to incorporate spell checking into a standalone on different platforms? Are there spellcheck Rev stacks that have been created that can be placed in the script hierarchy? Thanks. I haven't used the product, but have a look at RunRevPlanet SpellCheck in the RevSelect store: https://secure.runrev.com/store/browse/?category=6 Best Regards, David C. ___ 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: Our place in Hawaii....
Music does not play on safari - iPhone Sent from my iPhone On Feb 12, 2010, at 7:50 AM, Thomas McGrath III mcgra...@mac.com wrote: That did the trick! Now I'm rockin Tom McGrath III Lazy River Software 3mcgr...@comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Feb 11, 2010, at 9:03 PM, Sivakatirswami wrote: Thomas McGrath III wrote: Slideshow is great but NO music here??? Safari 4.0.4 OSX 10.6.2 Tom McGrath III Lazy River Software 3mcgr...@comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html Thomas... try now... and for the music lovers, we now offer the famed Arunthati Shree Ranganathan singing Veda Satiran http://www.himalayanacademy.com/slideshows/aadheenam/2009/ka_2009-12-30_thushyanthan-aadheenam/ but with this embed code... embed src='http://www.himalayanacademy.com/resources/books/yogaswami/natchintanai/Various-Other-Natchintanai/pg-28_Veyda-Satthiran_AR.mp3' autostart='true' width='0' height='0'/embed is it running on Window? On Feb 10, 2010, at 11:32 PM, Jim Ault wrote: Slide show and music run fine on OSX 10.5.8 G5 PPC FF Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 GTB6 Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ 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: More on Revolution
I suppose it's too late to ask for all the money back that we lent/gave to almost every country in the last century, that now thinks us the bad guys? It would go a long way to solving our present economical problems. No matter, we have no intention of paying back the Chinese, who are funding our debt now anyway. ;-) Also, Maybe next time there's a disaster in a country that could never hope to pay us back, and we come to the rescue anyway, instead of accusing us of trying to take over, maybe give us a pat on the back for always being there when needed? But let me say that it is my observation in life that when people say they, they most often don't even know who exactly they mean. It's just really easy to think of an unrecognizable mass of humanity, all the unknown individuals of which are conspiring to do what you don't like, and then demonize them. It makes the forwarding of other foreign (or personal) policies much easier to justify. The actual truth is much more complicated, and much harder to sort out, and no one really wants to work that hard at knowing anything anyway. This is true, not only for countries, but for any organization of people. When Freedom of the Press was initially instituted, the press really WAS the people looking out for the best interests of the people. If it has now become the PR group for a particular party, or worse yet, the propaganda machine for that party, then that is on the people. Just be clear about which theys you are speaking of here. Still, it's because of Freedom of the Press that there can even be alternative media organizations in America that can say what they think, and no one can stop them. At least not yet. One great strength of America is also it's greatest weakness, and that is we get a whole new group of theys every 4 to 8 years. You need to specify which group of theys you mean. I am not particularly fond of the theys we have right now, and I was not entirely happy in the end with the previous theys, but probably not for the same reasons you were not entirely happy. But at least we can hope to correct our mistakes, God willing. It is because of the willful ignorance of Americans, that they seem to keep voting for theys that end up being self serving. Americans in general have become politically lazy, and morally uncertain, but there are signs that is changing. Do I smell revolution on the wind? So think of elections in America as a whole new revolution every 4 to 8 years, only without the bullets and bombs and such. And remember that revolutions don't always work out for the better, but they have and they can, especially when the revolution has a real moral foundation to it. Now a bit on foreign policy. If 2 guys walk up to me on the street, and one of them punches me in the nose, I am going to hit that guy as hard as I can, then I am going to start in on the second one, because I have to assume he is in on it. Then I am going to go back to the first guy and finish the job. If I am mistaken, then I will only say the second guy should have chosen his friends more wisely. If those guys have been threatening me and my sister for the last two weeks prior to that, I might not wait for the first guy to punch me at all. Think of that as my personal foreign policy. So if America went to kick Bin Laden's arse, and then turned around and started in on one of his friends, I can forgive America for that, especially when that friend was mocking and jeering, and threatening the whole while that they had a really big gun they were going to go it get and shoot us with it. Has everyone forgotten that Saddam Hussein had been boasting the entire time that he was developing chemical and biological weapons, and intended to use them? No one likes a bully, either in school on in the world. Everyone (except the bully) is plenty glad when the new kid shows up and fairly kicks the bully's buttocks. From time to time there arises a world leader who thinks he knows best how to run not only his own country, but the entire world, and then goes about implementing his grand plan for perfection. When that happens, the guy you want to come help is the biggest baddest meanest kid in the neighborhood. Don't hate him later, if he leaves the bully in a bloody heap in the street, with several of his friends beside him, and then goes home to watch TV. He may seem heartless. He may make you uneasy. But luckily for you he doesn't really want to take over the neighborhood. Frankly it's too much work. And you might want to say a little thank you next time you see him. Bob On Feb 11, 2010, at 5:04 PM, -= JB =- wrote: That is absolutely true. But they want to make sure you invest with them even if you don't like their policy or they will prevent you from investing in one. It is their concept of freedom. Similar to freedom of press in America. The news media have the freedom to report anything they want as long as
Re: [ANN] Move controls in tRev Object Browser with the new ZOOM!
David, Have to say, that's great to hear. Sometimes virtual shops like ours almost operate in a vacuum. Glad that you're liking the product and the new zoom feature! Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/need-to-move-controls-in-card-snaps-zoom On Feb 12, 2010, at 12:09 PM, David Coker wrote: On Fri, Feb 12, 2010 at 9:54 AM, Jerry Daniels jerry.dani...@me.com wrote: Fellow Rev developers, We just posted this video showing the new control manipulation in tRev's snapshot mode: http://reveditor.com/need-to-move-controls-in-card-snaps-zoom Here are the details: NEW Controls in Zoom: - zoomed cards now show a fully functional list of controls - control line items in list are draggable and names are editable - zoomed cards also have the scratch pad Move controls in Zoom: - controls in snaps can be dragged - controls in snaps can be moved with arrows - - plain arrow = 1 pixel - - shift arrow = on 10 pixel grid - - option arrow = align to next controls side Hey Jerry, I can't say that I ever found any difficulties with previous versions, but I just finished trying out the new zoom and move control features and they are awesome! It seems that I am always tweaking on control positioning, so I have a tendency to spend more time in the Rev editor than in tRev... I believe that will now change with these new additions. Can't speak for anyone else, but I appreciate all the work you are doing on tRev. ...it's just good stuff! Best regards, David C. ___ 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: [ANN] Move controls in tRev Object Browser with the new ZOOM!
Bonjour, Great update Jerry ! I particularly appreciate that the first tab is now always and only for the browser That makes it very easy to go to and fro between the browser and the object's code tabs (don't know if between is necessary! ;-))) Thank a lot Good week-end to all Best regards from Grenoble André Le 12 févr. 10 à 16:54, Jerry Daniels a écrit : Fellow Rev developers, We just posted this video showing the new control manipulation in tRev's snapshot mode: http://reveditor.com/need-to-move-controls-in-card-snaps-zoom Here are the details: NEW Controls in Zoom: - zoomed cards now show a fully functional list of controls - control line items in list are draggable and names are editable - zoomed cards also have the scratch pad Move controls in Zoom: - controls in snaps can be dragged - controls in snaps can be moved with arrows - - plain arrow = 1 pixel - - shift arrow = on 10 pixel grid - - option arrow = align to next controls side Tabs: - first tab is always and only for the browser - New Tab menu item removed from File and Tab menus. Enhanced: - larger/smaller font size on view menu w shortcut - White on Black (aka Chalkboard) now on view menu w shortcut Optimized: - drag-n-drop in lists is more responsive, faster - auto-scrolling during drag-n-drop in lists is faster, less quirky - scrolling in all list fields and code field faster - code displays faster - browser columns populate faster (raw number of lines) Fixed: - tRev icon in Rev now remembers its location from session to session - control counter no longer counts the controls in dataGrids - inflated control counts kept script line counts from appearing in controls column - alignment of all fields and buttons now perfecto Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/not-enough-detail-in-a-card-snap-zoom-it ___ 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: [ANN] Move controls in tRev Object Browser with the new ZOOM!
Andre, That the second congratulations posted today. Glad you like the update! Very gratifying to hear. You guys are making my weekend great and it's only Friday! Jerry Daniels The latest Rev Editor Video: http://reveditor.com/need-to-move-controls-in-card-snaps-zoom On Feb 12, 2010, at 1:22 PM, Andre.Bisseret wrote: Bonjour, Great update Jerry ! I particularly appreciate that the first tab is now always and only for the browser That makes it very easy to go to and fro between the browser and the object's code tabs (don't know if between is necessary! ;-))) Thank a lot Good week-end to all Best regards from Grenoble André Le 12 févr. 10 à 16:54, Jerry Daniels a écrit : Fellow Rev developers, We just posted this video showing the new control manipulation in tRev's snapshot mode: http://reveditor.com/need-to-move-controls-in-card-snaps-zoom Here are the details: NEW Controls in Zoom: - zoomed cards now show a fully functional list of controls - control line items in list are draggable and names are editable - zoomed cards also have the scratch pad Move controls in Zoom: - controls in snaps can be dragged - controls in snaps can be moved with arrows - - plain arrow = 1 pixel - - shift arrow = on 10 pixel grid - - option arrow = align to next controls side Tabs: - first tab is always and only for the browser - New Tab menu item removed from File and Tab menus. Enhanced: - larger/smaller font size on view menu w shortcut - White on Black (aka Chalkboard) now on view menu w shortcut Optimized: - drag-n-drop in lists is more responsive, faster - auto-scrolling during drag-n-drop in lists is faster, less quirky - scrolling in all list fields and code field faster - code displays faster - browser columns populate faster (raw number of lines) Fixed: - tRev icon in Rev now remembers its location from session to session - control counter no longer counts the controls in dataGrids - inflated control counts kept script line counts from appearing in controls column - alignment of all fields and buttons now perfecto Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/not-enough-detail-in-a-card-snap-zoom-it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: More on Revolution
Bob, is there a chance that you posted this to the wrong revolution list? ___ 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: [ANN] Move controls in tRev Object Browser with the new ZOOM!
I have to second David's comments. TRev is coming together nicely, a piece at a time. The new fixed Browser tab is a welcome improvement over the previous Tab implementation. It's hard for me to use the built-in Rev editor at this point, and I'm relying less and less on the Application Browser. Mark On Feb 12, 2010, at 10:09 AM, David Coker wrote:, On Fri, Feb 12, 2010 at 9:54 AM, Jerry Daniels jerry.dani...@me.com wrote: Fellow Rev developers, We just posted this video showing the new control manipulation in tRev's snapshot mode: http://reveditor.com/need-to-move-controls-in-card-snaps-zoom Here are the details: NEW Controls in Zoom: - zoomed cards now show a fully functional list of controls - control line items in list are draggable and names are editable - zoomed cards also have the scratch pad Move controls in Zoom: - controls in snaps can be dragged - controls in snaps can be moved with arrows - - plain arrow = 1 pixel - - shift arrow = on 10 pixel grid - - option arrow = align to next controls side Hey Jerry, I can't say that I ever found any difficulties with previous versions, but I just finished trying out the new zoom and move control features and they are awesome! It seems that I am always tweaking on control positioning, so I have a tendency to spend more time in the Rev editor than in tRev... I believe that will now change with these new additions. Can't speak for anyone else, but I appreciate all the work you are doing on tRev. ...it's just good stuff! Best regards, David C. ___ 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: Help message Broadcasting system
What about combining the custom property idea with the db idea. Eventually the data for my application will be in a remote mySQL and I would like to be able to update help information and have it get changed on the client end as its updated in the db. I need non-tech folks that work for our company who know the purposes of the items in this software to be able to enter help info into the db and it be spit out. So maybe a have a handler that watches for the custom message property to determine what control it is and the hanlder gets info from the db to put into the help. Is this going to put too much stress on my db? -- View this message in context: http://n4.nabble.com/Help-message-Broadcasting-system-tp1477816p1490365.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: OT: Our place in Hawaii....
You are right, NO music plays in Safari on the iPhone. Tom McGrath III Lazy River Software 3mcgr...@comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Feb 12, 2010, at 2:05 PM, Sannyasin Sivakatirswami wrote: Music does not play on safari - iPhone Sent from my iPhone On Feb 12, 2010, at 7:50 AM, Thomas McGrath III mcgra...@mac.com wrote: That did the trick! Now I'm rockin Tom McGrath III Lazy River Software 3mcgr...@comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Feb 11, 2010, at 9:03 PM, Sivakatirswami wrote: Thomas McGrath III wrote: Slideshow is great but NO music here??? Safari 4.0.4 OSX 10.6.2 Tom McGrath III Lazy River Software 3mcgr...@comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html Thomas... try now... and for the music lovers, we now offer the famed Arunthati Shree Ranganathan singing Veda Satiran http://www.himalayanacademy.com/slideshows/aadheenam/2009/ka_2009-12-30_thushyanthan-aadheenam/ but with this embed code... embed src='http://www.himalayanacademy.com/resources/books/yogaswami/natchintanai/Various-Other-Natchintanai/pg-28_Veyda-Satthiran_AR.mp3' autostart='true' width='0' height='0'/embed is it running on Window? On Feb 10, 2010, at 11:32 PM, Jim Ault wrote: Slide show and music run fine on OSX 10.5.8 G5 PPC FF Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 GTB6 Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ 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
Php Framework for Rev based Development Strategy
I'm looking for a php framework that will allow a php based team to work together with a Rev based team. The aim is to use revLets to rapidly prototype interfaces, and when these are settled and tested where appropriate replace these with AJAX / php based interfaces. The legacy php project is a classic old-school mix of php and html - and I figure the best way to get both development environments to play together is to use an MVC / n-tier php framework where the GUI is distinct from the backend layers - so that both revLet interfaces and html / AJAX interfaces can call the same php backend. Does anyone with php experience have any recommendations of frameworks or strategies that would allow this type of rapid prototyping with revLet based interfaces? ___ 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: Localization
On Feb 12, 2010, at 8:21 AM, Jeff Massung wrote: snip If anyone can suggest how I can end up getting the above example to work, I'm all ears... and feet. ;-) Jeff, I don't know if you have gotten it working yet, or at what level you are with unicode, but a couple of years ago I wrote an article to try to unravel some of the confusion surrounding using unicode in Rev. You may find it useful. See it at: http://revolution.byu.edu/unicode/unicodeInRev.php Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[ANN] RunRev Community Linux 0.0.2
Hello Folks, I've made an update to our little Revolution enabled distro. I've added revMedia, some big Gnome packages and some network, media and printing packages as well. My connection at home is terribly slow, it takes about six hours to download the vmware image here, so most of my testing was done remotely which is not a good way to test things. So if you take your time to run this, please send me feedback. Over time, I will work some FAQs and howtos as well. http://andregarzia.com/revlinux = Useful Information = The username is revolution The password is linux (Also used for any administrator dialog) All Revolution versions are installed in: /home/revolution/apps Apache, PostgreSQL and MySQL are running. Apache home folder is: /srv/www (for the static files) /srv/www/cgi-bin (for the CGIs) files with the .rev extension are mapped to the MIME type application/x-revolution. The desktop icons are .desktop files inside /home/revlution/Desktop those files are text based and can be edited if someone wants to fiddle with the settings. You can install new software by going to the computer menu - Install Software. If you install software on the LiveCD version, it will be gone by the time you reboot but on the VMWare image or USB Drive, it will be installed fine so you can customize your experience. If you install any package that you think is useful for Revolution development and testing of Linux applications and resources, drop me a line and I will try to get it bundled in the default build of this distro. Cheers andre -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Drag and drop from browser bug?
Thought this used to work? Do earlier versions set the dragdata correctly when you drag and drop an image from the browser? Testing on OSX - but images that you can successfully drag and drop onto the desktop - but you are unable to get useful data out of the dragdata. I'd expect that the dragdata [files] would be set to the url of the image - but it is empty and the dragdata [text] is vaguely related to the url of the image in that it often is - but sometimes can be a useless piece of javaScript like javascript:void(0);. The Finder obviously handles the dragdata correctly - so is this an OSX bug or? ___ 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: Spell check
Jim, The RunRevPlanet SpellCheck stack should meet your requirements. You can make the rrpSpellCheck.rev stack a substack and so it become part of Standalone application, which means no extra files to distribute with your app. After it is made a substack, you can spell check a field with just a few lines of revTalk. The two Tutorial chapters in the http://www.runrevplanet.com/downloads/rrpSpellCheck-Guide-Reference.pdf SpellCheck Stack Guide and Reference detail how to use it. It can be kept as a separate stack, if that better suits your application design. Scott, www.runrevplanet.com -- View this message in context: http://n4.nabble.com/Spell-check-tp1483817p1490489.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: Drag and drop from browser bug?
David Bovill wrote: Thought this used to work? Do earlier versions set the dragdata correctly when you drag and drop an image from the browser? Testing on OSX - but images that you can successfully drag and drop onto the desktop - but you are unable to get useful data out of the dragdata. I'd expect that the dragdata [files] would be set to the url of the image - but it is empty and the dragdata [text] is vaguely related to the url of the image in that it often is - but sometimes can be a useless piece of javaScript like javascript:void(0);. The Finder obviously handles the dragdata correctly - so is this an OSX bug or? Which version of Rev? In 4.0, if the image has a link, I get the link URL. If there is no link, I get the URL to the source image on the server. These are in the text value. The files value is empty. -- Jacqueline Landman Gay | jac...@hyperactivesw.com 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: Localization
On Feb 12, 2010, at 3:33 PM, Devin Asay wrote: Jeff, I don't know if you have gotten it working yet, or at what level you are with unicode, but a couple of years ago I wrote an article to try to unravel some of the confusion surrounding using unicode in Rev. You may find it useful. See it at: http://revolution.byu.edu/unicode/unicodeInRev.php Regards, Devin Devin, Thanks for the link. Yes, I'm very familiar and comfortable with unicode. After what Trevor pointed out it took me very little time to put together a function that performs the actions I need. However, it would appear that Rev renders unicode characters *incredibly* slow. :-( I have a field in a data grid template that needs to display unicode characters. Sadly, regardless of caching controls, fixed row heights, whatever, scrolling the data grid or resizing it is just unbearable (note: the function I wrote is called as outside the data grid behavior and the only thing done in the data grid is a set the unicodeText ... to pDataArray[text]). Hopefully there's yet something else that I'm missing. Jeff M.___ 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
strange option menu behavior
I may be doing something that option menus were not intended for, so I want to check if others are seeing the same behavior. Using Rev 4.0, I'm creating an option menu in a stack with all the possible menu items I need in it. However, some of these menu items need to be disabled at different points. So I'm simply running a disable menuitem 2 command, and that works great on the Mac side. But when I do this on the Windows side, the menu items do not appear disabled, and they're displaying the ( before the disabled items. What's strange, though, is when I select one of these items, my menuPick handler does not fire, but the menuHistory of the button changes to the item I selected. So there's kind of some weird mixed behavior going on. Anyone else seeing this? Is it normal? Is there a workaround? Should I not be using an option menu this way? Thanks for any suggestions. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.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: altRevBrowser Noob
Thanks for all your help everyone. I was able to get it to work, not with a key click but with a keystroke. I just trap for rawkeydown 113 and quit the app. Too simple for my belabored brain. Bob On Feb 12, 2010, at 10:41 AM, Scott Rossi wrote: Recently, Bob Sneidar wrote: Well the whole idea was to be able to go full screen as soon as it opens without user intervention, something that apparently Adobe will not allow with flash, because it poses a security risk. ___ 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: More on Revolution
heh heh. That bit about the enemy being US got my goat a bit. :-) On Feb 12, 2010, at 11:27 AM, Colin Holgate wrote: Bob, is there a chance that you posted this to the wrong revolution list? ___ 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: Spell check
On Sat, Feb 13, 2010 at 4:39 AM, Jim Beckmann jimbeckm...@comcast.net wrote: How is the easiest way to incorporate spell checking into a standalone on different platforms? Are there spellcheck Rev stacks that have been created that can be placed in the script hierarchy? I wrote a Mac only solution using AppleScript. You can read about it's development and get the demo stacks here http://sarahrev.blogspot.com/search/label/Scripting%3A%20advanced (start reading at the bottom of the page). There is a final step which I have done but not yet blogged, where the spell checking script becomes a behavior and so can be assigned to any field needing checking. 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: [ANN] Move controls in tRev Object Browser with the new ZOOM!
Yes I feel myself being inexorably drawn into the world of tRev. I think when the script editor from GLX2 is reintroduced, (I forget who is working on that) I will use tRev exclusively. tRev's editor is awesome in lots of ways, but there are still times I have to have a step debugger, so the combination of tRev and the ability to switch to another debugger on the fly is like the perfect world. Bob On Feb 12, 2010, at 12:11 PM, Mark Swindell wrote: I have to second David's comments. TRev is coming together nicely, a piece at a time. The new fixed Browser tab is a welcome improvement over the previous Tab implementation. It's hard for me to use the built-in Rev editor at this point, and I'm relying less and less on the Application Browser. Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Reading/Deleting Last Line Of File
Jim Bufalini wrote: Richard Gaskin wrote: But FWIW, I tried your version and it seemed to leave the file unchanged If your original file ends in a cr then Alex's code would end in absolutely no change. ;-) That's not what my testing showed (or appeared to show). Here's the short version of the test script, and the corresponding output note the first example has a single final CR, the second has no CR and the third one has multiple CRs, and each is correctly truncated. (I missed a few test cases here - empty file, single line of data, etc. but it is only reasonably tested) The test stack can be downloaded from http://www.tweedly.org/deletelastline.rev (btw - I don't currently have access to a mac, so it's only tested on Windows. Could that cause the different result for Richard ?) on mouseUp put empty into field F put abcdefg CR into t put 1234567 CR after t put t into URL (file:a,b.txt) put abcdefg CR into t put 1234567 after t put t into URL (file:b.txt) put abcdefg CR into t put 1234567 CR CR after t put t into URL (file:c.txt) putfile a,b.txt deletelastline a,b.txt putfile a,b.txt putfile b.txt deletelastline b.txt putfile b.txt putfile c.txt deletelastline c.txt putfile c.txt end mouseUp on putfile p put file p CR after field F put URL (file: P) after field F put endoffile CR after field F end putfile giving file a,b.txt abcdefg 1234567 endoffile file a,b.txt abcdefg endoffile file b.txt abcdefg 1234567endoffile file b.txt abcdefendoffile file c.txt abcdefg 1234567 endoffile file c.txt abcdefg 1234567 endoffile -- Alex. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: strange option menu behavior
That sounds like the standard behavior of option menus on Windows - there's no way to disable any of the menu items (nor to insert separator lines, for that matter). The same goes for combo-boxes, by the way. The only solution I've been able to cook up, is to use a popup menu - use the 'at' parameter of the 'popup' command to make the menu appear in a fixed spot rather than under the mouse. HTH, Jan Schenkel = Quartam Reports PDF Library for Revolution http://www.quartam.com = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) --- On Fri, 2/12/10, Chris Sheffield cmsheffi...@gmail.com wrote: I may be doing something that option menus were not intended for, so I want to check if others are seeing the same behavior. Using Rev 4.0, I'm creating an option menu in a stack with all the possible menu items I need in it. However, some of these menu items need to be disabled at different points. So I'm simply running a disable menuitem 2 command, and that works great on the Mac side. But when I do this on the Windows side, the menu items do not appear disabled, and they're displaying the ( before the disabled items. What's strange, though, is when I select one of these items, my menuPick handler does not fire, but the menuHistory of the button changes to the item I selected. So there's kind of some weird mixed behavior going on. Anyone else seeing this? Is it normal? Is there a workaround? Should I not be using an option menu this way? Thanks for any suggestions. Chris -- Chris Sheffield ___ 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: altRevBrowser Noob
Whoops! Spoke too soon. It seems that once you click in the browser window, neither clicks nor keystrokes ever make it into the Rev engine ever again. On the Mac as well as in Windows, if the browser is not clicked, hitting the Q key will quit the app (because I trap that rawkeydown and quit). Once the user clicks however, it's game over. So if anyone really understands the inner workings of the altRevBrowser, could you tell me if there is any way to get the browser to allow events to get to the IDE? I would think that the browser would pass events to the IDE, but I may be mistaken. For the future, it might be better if the browser works within an object like a field or an image or a button, instead of splashing in front of every object. Admittedly, this is not a problem for most people, because you would never put a rev object where the browser is being rendered. For now I will put a small Quit button at the top of the window and that will have to suffice for now. Bob Thanks for all your help everyone. I was able to get it to work, not with a key click but with a keystroke. I just trap for rawkeydown 113 and quit the app. Too simple for my belabored brain. Bob ___ 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: Reading/Deleting Last Line Of File
Richard Gaskin wrote: Jim Bufalini wrote: Richard Gaskin wrote: But FWIW, I tried your version and it seemed to leave the file unchanged If your original file ends in a cr then Alex's code would end in absolutely no change. ;-) Thanks, Jim. I tried it both ways; no change to the file's contents, although the mod date gets updated so I know it's trying. I strongly suspect it only works on Windows :-( Sorry. I don't have either a Mac or Linux box to try it on, however I did just try it on the on-rev server (as an .irev script) and it also appears to leave the file unchanged there. In fact, it gives an error (error in offset expression) on the seek, because the test file is less than 1000 chars - an error which didn't get flagged up on Windows. I changed the line from seek tFileLength-K in file pFile to if tFileLength-k 0 then seek tFileLength-K in file pFile to avoid the error. But it then leaves the file unchanged. I suspect the *trick* of opening a file for append, then seeking back into the middle of the file before doing a write is OS-dependent. It's certainly not documented (either way), and I was surprised when Jim said that it could be done. Intuitively, 'append' should mean that the existing file is unchangable - all you can do is add to it. Playing around some more, it appears that the results of write to file in these odd cases are not always what you'd expect. I would have expected the following two fragments to be equivalent seek to 2 in file b.txt write x to file b.txt and write x to file b.txt at 2 to be equivalent, but they are not. The latter truncates the file after the write, but the former does not (in Windows). Could you try this in your multi-line msg box and let me know what it does on Mac ? put abcdefg CR into URL file:b.txt put URL file:b.txt open file b.txt for append write x to file b.txt at 2 close file b.txt put URL file:b.txt after msg on Win, it produces abcdefg abx Thanks -- Alex. ___ 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: [ANN] Move controls in tRev Object Browser with the new ZOOM!
Bob, Glad you are grooving on tRev. tRev has definitely changed the way I personally develop apps, mentor and work on projects for people. But the area where I've seen the most change in my own habits is in the debugging arena. I used to debug in GLX2's and Rev's modal debugger a lot. I was quite dependent upon it. In fact, I think I was using it as part of my coding environment. My code got sloppier—I figured, Hey, I'll catch any problems in the debugger. Time spent coding was, well surprisingly lengthy. It would wear me out. I didn't realize it at the time, but in retrospect, that's what I think was happening. I'd have to say that using tRev has changed my coding habits in general. 1. I spend much less time coding. 2. I spend about 80 to 90% less time debugging now as well. Why is that? I was somewhat mystified by this discovery, myself. Here's what I think has happened: my mind started working differently when I started using tRev. I really organize my code in the folders it provides in the handler lists, especially since I can drag and drop handlers wherever I like in the handler list's folders. I can actually find my handlers—even from older projects. The scratch pad containing links of frequently-worked handlers helps me find the handlers I'm working on, as do the links to handlers peppered through out my code, thanks to tRev. The biggest thing I discovered about coding in RevTalk and xTalk is this: it's about the handlers. How you get to them, how you organize them. The stats function in tRev even tells me my average handler size in a script. If the lines per handler is getting too big in a script, then I know I'm asking for rough sledding and wasting time. Coding in tRev is ALL about the handlers. When I realized this, I slapped my forehead and said: It's the handlers, stupid! tRev has puts me in a better frame of mind: simple order. That's how I'd describe it. tRev has really made it easier and encouraged me by its example (you could say). It's easier to follow my own simple coding standards (naming vars with good names, not using nested functions, indexing repeats with var names, not x, etc.). And the autocomplete feature really cut down on typos. So, firstly, my need to debug is less, because my code was getting better. Then, when I did debug in tRev (we call it decoding), one glance at the decoder and errors seemed to jump out at me. Most of the time I don't even step through the breakpoints. That said, our decoder (a modeless debugger that appears after a script has run with an historical record stored in a database of breakpoints) still has some features coming. We are working on better support for multi-dimensional arrays and fixing some display anomalies. We're also adding support for breakpoints in repeat loops that let you walk through the iterations of variable content in a loop— after the code has run, of course. The biggest advantage of the debugger: its design/architecture keeps it completely out of Rev's way. It cannot really crash Rev or tRev. It's like a good doctor that does no harm. People using tRev are challenged by the decoder because it is a completely different model. There is no debugger like it. But once you get to using it, and let it work on your head, you'll find some real rewards. I am a very productive 61 year old coder and developer. You see here on this list just how often I update tRev with new features. I also do a significant amount of mentoring and project work for others. I also have a life with my family, community and friends outside of the technical world. But since using tRev, I spend less time coding/developing and much more time enjoying it, blogging about it. tRev seems to give me a certain clarity of mind that GLX2, Galaxy, Constellation and Rev script editors did not. Again, glad you're enjoying the product. It's encouraging to hear. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/need-to-move-controls-in-card-snaps-zoom On Feb 12, 2010, at 5:15 PM, Bob Sneidar wrote: Yes I feel myself being inexorably drawn into the world of tRev. I think when the script editor from GLX2 is reintroduced, (I forget who is working on that) I will use tRev exclusively. tRev's editor is awesome in lots of ways, but there are still times I have to have a step debugger, so the combination of tRev and the ability to switch to another debugger on the fly is like the perfect world. Bob On Feb 12, 2010, at 12:11 PM, Mark Swindell wrote: I have to second David's comments. TRev is coming together nicely, a piece at a time. The new fixed Browser tab is a welcome improvement over the previous Tab implementation. It's hard for me to use the built-in Rev editor at this point, and I'm relying less and less on the Application Browser. Mark ___ use-revolution mailing
Re: [ANN] Move controls in tRev Object Browser with the new ZOOM!
I meant to say: The biggest advantage of the decoder (not debugger) in my previous post. On Feb 12, 2010, at 6:26 PM, Jerry Daniels wrote: The biggest advantage of the debugger: its design/architecture keeps it completely out of Rev's way. It cannot really crash Rev or tRev. It's like a good doctor that does no harm. ___ 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: Reading/Deleting Last Line Of File
Alex Tweedly wrote: I suspect the *trick* of opening a file for append, then seeking back into the middle of the file before doing a write is OS-dependent. It's certainly not documented (either way), and I was surprised when Jim said that it could be done. Intuitively, 'append' should mean that the existing file is unchangable - all you can do is add to it. Playing around some more, it appears that the results of write to file in these odd cases are not always what you'd expect. I would have expected the following two fragments to be equivalent seek to 2 in file b.txt write x to file b.txt and write x to file b.txt at 2 to be equivalent, but they are not. The latter truncates the file after the write, but the former does not (in Windows). I have never used the *seek* that both you and Richard had in your code examples for write. I've never even used seek for a read, preferring to keep track of offsets myself. This is why, in the example that I gave back on the 9th (and tested at the time), I used *open for append - write at offset - close*. I also have never written an empty, but some truncated data. So, I just assumed and it sounded logical that seeking and then writing an empty was the equivalent of what I knew worked. I guess not. Good to know. In any case, I do know that if you open for append and write at least one char at an offset, it does truncate the file at the end of that char. And I know this works on at least PC and Mac. Aloha from Hawaii, Jim Bufalini ___ 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: Reading/Deleting Last Line Of File
Alex Tweedly wrote: I strongly suspect it only works on Windows :-( Sorry. I don't have either a Mac or Linux box to try it on, however I did just try it on the on-rev server (as an .irev script) and it also appears to leave the file unchanged there. I wonder if it has to do with the OS-dependent line-ending conversion that the engine does when it writes to text files. If you open the file as binfile instead of plain file you'll avoid that conversion. It might work differently that way. Playing around some more, it appears that the results of write to file in these odd cases are not always what you'd expect. I would have expected the following two fragments to be equivalent seek to 2 in file b.txt write x to file b.txt and write x to file b.txt at 2 That looks right. The write command always begins writing at the postion after the pointer. But when you specify an exact postion in particular, it writes where you tell it. -- Jacqueline Landman Gay | jac...@hyperactivesw.com 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: Reading/Deleting Last Line Of File
J. Landman Gay wrote: Alex Tweedly wrote: I strongly suspect it only works on Windows :-( Sorry. I don't have either a Mac or Linux box to try it on, however I did just try it on the on-rev server (as an .irev script) and it also appears to leave the file unchanged there. I wonder if it has to do with the OS-dependent line-ending conversion that the engine does when it writes to text files. If you open the file as binfile instead of plain file you'll avoid that conversion. It might work differently that way. I'll withdraw this, it's wrong. Whatever OS your script is on, the file it writes will will have matching line endings. So nope. If I finish all the other stuff I need to do this weekend I'll try some of the tests everyone posted. -- Jacqueline Landman Gay | jac...@hyperactivesw.com 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: Localization
On Feb 12, 2010, at 5:51 PM, Jeffrey Massung wrote: However, it would appear that Rev renders unicode characters *incredibly* slow. :-( I have a field in a data grid template that needs to display unicode characters. Sadly, regardless of caching controls, fixed row heights, whatever, scrolling the data grid or resizing it is just unbearable (note: the function I wrote is called as outside the data grid behavior and the only thing done in the data grid is a set the unicodeText ... to pDataArray[text]). Hopefully there's yet something else that I'm missing. It would seem that there is something else going on to cause such a slowdown. I often load UTF-8 data into a Data Grid and then convert to UTF-16 and assign to the unicodeText property in FillInData. I haven't noticed any slowdown. There is absolutely nothing else going on? If not can you send a sample stack to me off-list? -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: 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: Help message Broadcasting system
On Sat, Feb 13, 2010 at 4:13 AM, Andrew Kluthe and...@rjdfarm.com wrote: What about combining the custom property idea with the db idea. Eventually the data for my application will be in a remote mySQL and I would like to be able to update help information and have it get changed on the client end as its updated in the db. Yes, that would work I need non-tech folks that work for our company who know the purposes of the items in this software to be able to enter help info into the db and it be spit out. I'd suggest you implement something in your registration key code that identifies who are 'normal' users, and who are 'company' users. I think you could then proceed in at least two ways (with Rev there's sure to be more:-) A simple method of checking for the 'optionKey is down' on mouseUp if ((the optionKey is down) and (the cRego of this stack contains PLEH)) then --present a field with the current Help message --allow for updating Help messages else --normal process end mouseUp That way, a company worker who comes across a Help message error, can click on the object (with the optionKey down) and update the Help message right then and there. Of course you may have other plans for option/command/alt/control key combinations. Another option could be 'company' users have an extra checkbox on their Preference page (or an extra Menu Item, that allows them to enter 'Update mode', which removes all the data from the fields and leaves a blank card with all the fields and buttons which can be clicked and Help messages individually updated. So maybe a have a handler that watches for the custom message property to determine what control it is and the hanlder gets info from the db to put into the help. If you are referring to the getProp message, I don't see a reason in this situation to use it. Assuming your DB is large or bigger, then you'd need to organise some scheme of keeping track of updates in portions of the DB, (ie just prices, products added removed, Help info updated) so when users go online a quick check is done and then they are given the option to update the latest info. Is this going to put too much stress on my db? I doubt it very much. HTH -- View this message in context: http://n4.nabble.com/Help-message-Broadcasting-system-tp1477816p1490365.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 ___ 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] Google Buzz - Beware
2010/2/12 Björnke von Gierke b...@mac.com: Uhm.. just so that no one is confused, adding yourself to the map does _not_ reveal your email at google to anyone (tho 99% of the times it's of course going to be username@gmail.com). For those Gmail users who had Buzz turn up and just accepted it: http://en.kioskea.net/news/14946-google-buzz-tweaked-amid-privacy-complaints Better late than never I guess. ___ 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: Reading/Deleting Last Line Of File
On Sat, Feb 13, 2010 at 8:25 AM, Alex Tweedly a...@tweedly.net wrote: Could you try this in your multi-line msg box and let me know what it does on Mac ? put abcdefg CR into URL file:b.txt put URL file:b.txt open file b.txt for append write x to file b.txt at 2 close file b.txt put URL file:b.txt after msg on Win, it produces abcdefg abx Alex, on OS X.6.2, MBP, Rev 4.0 abcdefg abcdefg x :-( ___ 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: Reading/Deleting Last Line Of File
Kay C Lan wrote: On Sat, Feb 13, 2010 at 8:25 AM, Alex Tweedly a...@tweedly.net wrote: Could you try this in your multi-line msg box and let me know what it does on Mac ? put abcdefg CR into URL file:b.txt put URL file:b.txt open file b.txt for append write x to file b.txt at 2 close file b.txt put URL file:b.txt after msg on Win, it produces abcdefg abx Alex, on OS X.6.2, MBP, Rev 4.0 abcdefg abcdefg x I did some quick tests and it looks like the write command is broken on OS X. Endian issue with Intel Macs maybe. Don't open a file for write until they fix it, you can lose data. I'll file a bug report. The reason I just noticed this is because I was testing some of these suggestions. The version of open file we should be using, the one which truncates contents, is the open for write command. However, no matter at what position I write to the file, the entire contents were replaced. Don't go there if you're on a new Mac. You won't lose data with other types of open file, but the write position may be off. It sounds like it works okay on Windows, and I suspect Linux is okay too. I remember using open file for write on my PPC machine and had no trouble, which is why I suspect an Intel issue. -- Jacqueline Landman Gay | jac...@hyperactivesw.com 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: AW: Andre's house - completely offtopic
On Fri, Feb 12, 2010 at 11:02 AM, Mikey mikeyt...@gmail.com wrote: I know this was largely tongue in cheek, but since I've been all over the region between Hawaii, RMI and FSM, just a comment: Glad you picked up in that, I was starting to get tongue cramp ;-) 1) Johnston used to be serviced by both Continental Air Micronesia (Air Mike) and Air Marshall Islands (AMI pronounced AIMEE), until it was mostly decommissioned after its chemical weapons disposal mission ended. There is essentially nothing to see there any more. Now when there WAS, you had to pull the shades on your seats before landing, and while on the ground. (This was also the case for quite a while on Kwajalein). Nothing to see maybe, but I think the half life of Plutonium is about 24,000 years. Whilst it is an idyllic vacation dive spot, I don't think the ever decreasing local population has anything to do with too much paradise to handle. ___ 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: Reading/Deleting Last Line Of File
Kay C Lan wrote: On Sat, Feb 13, 2010 at 8:25 AM, Alex Tweedly a...@tweedly.net wrote: Could you try this in your multi-line msg box and let me know what it does on Mac ? put abcdefg CR into URL file:b.txt put URL file:b.txt open file b.txt for append write x to file b.txt at 2 close file b.txt put URL file:b.txt after msg on Win, it produces abcdefg abx Alex, on OS X.6.2, MBP, Rev 4.0 abcdefg abcdefg x I get what Kay got on OS X 10.5.8, which is the correct behavior. Append is supposed to force any writes to the end of the existing file. I tested some more with the open for write command, which should do what Alex was after -- truncating the text at the character offset, and adding any new data at that position. This fails on both Windows and Mac. Bug report has been submitted. For details, see: http://quality.runrev.com/qacenter/show_bug.cgi?id=8614 -- Jacqueline Landman Gay | jac...@hyperactivesw.com 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: Spell check
I'd love to use these routines, but when I run your demo stack nothing happens in the field that should be checked, except the flagged words become unflagged. In the listBadWords handler, when the Applescript command is executed I get tErrorList = execution error -- which is not trapped for, so it fails silently. I'm using a MacBook, OSX 10.5.8, Rev Studio 4.0.0-gm-1, build 950. Does this stack require Snow Leopard? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Feb 12, 2010, at 6:12 PM, Sarah Reichelt wrote: On Sat, Feb 13, 2010 at 4:39 AM, Jim Beckmann jimbeckm...@comcast.net wrote: How is the easiest way to incorporate spell checking into a standalone on different platforms? Are there spellcheck Rev stacks that have been created that can be placed in the script hierarchy? I wrote a Mac only solution using AppleScript. You can read about it's development and get the demo stacks here http://sarahrev.blogspot.com/search/label/Scripting%3A%20advanced (start reading at the bottom of the page). There is a final step which I have done but not yet blogged, where the spell checking script becomes a behavior and so can be assigned to any field needing checking. 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 ___ 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] Google Buzz - Beware
I realise the horse has already bolted, but for those who haven't turned Buzz off, another link: http://techcrunch.com/2010/02/12/google-buzz-privacy/ On Sat, Feb 13, 2010 at 11:14 AM, Kay C Lan lan.kc.macm...@gmail.com wrote: 2010/2/12 Björnke von Gierke b...@mac.com: Uhm.. just so that no one is confused, adding yourself to the map does _not_ reveal your email at google to anyone (tho 99% of the times it's of course going to be username@gmail.com). For those Gmail users who had Buzz turn up and just accepted it: http://en.kioskea.net/news/14946-google-buzz-tweaked-amid-privacy-complaints Better late than never I guess. ___ 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: Spell check
No, I wrote it originally on 10.5. After installing the XSpell scripting addition, maybe you need to restart Rev to get it to know about the addition. I don't remember if I did that when I first installed. Cheers, Sarah On Sat, Feb 13, 2010 at 3:53 PM, Peter Brigham MD pmb...@gmail.com wrote: I'd love to use these routines, but when I run your demo stack nothing happens in the field that should be checked, except the flagged words become unflagged. In the listBadWords handler, when the Applescript command is executed I get tErrorList = execution error -- which is not trapped for, so it fails silently. I'm using a MacBook, OSX 10.5.8, Rev Studio 4.0.0-gm-1, build 950. Does this stack require Snow Leopard? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Feb 12, 2010, at 6:12 PM, Sarah Reichelt wrote: On Sat, Feb 13, 2010 at 4:39 AM, Jim Beckmann jimbeckm...@comcast.net wrote: How is the easiest way to incorporate spell checking into a standalone on different platforms? Are there spellcheck Rev stacks that have been created that can be placed in the script hierarchy? I wrote a Mac only solution using AppleScript. You can read about it's development and get the demo stacks here http://sarahrev.blogspot.com/search/label/Scripting%3A%20advanced (start reading at the bottom of the page). There is a final step which I have done but not yet blogged, where the spell checking script becomes a behavior and so can be assigned to any field needing checking. ___ 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: [ANN] RunRev Community Linux 0.0.2
Great work. I'll download and have a bash. Andre, we really owe you much thanks for this work. What we need now is for Rev to agree formally that this (or something else if they prefer) is a reference distribution, and bring specification and performance on this into line. Specification should include the user manual. As my old quality managers used to say, quality means that you do what you say you are doing. If you can't change what you do, you must change what you say you are doing. -- View this message in context: http://n4.nabble.com/ANN-RunRev-Community-Linux-0-0-2-tp1490459p1536368.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