Re: LiveCode Personal Banner
On Nov 15, 2010, at 1:01 PM, Kevin Miller wrote: On 15/11/2010 17:42, Peter Haworth p...@mollysrevenge.com wrote: I understand Kevin. I just don't like the fact that a standalone application I create from code I have written myself on my own computer still has this delay in it when I run it on my own computer. Ah, I see. But why build a standalone for your own computer? Sorry to be blunt, but isn't that a bit of a silly question? If the personal edition is for personal use, and RunRev's position is why build a standalone for your own computer? then why offer it as a feature of the personal edition at all? I haven't looked at the personal edition, so maybe it's also used for academic licenses or for distributing stacks among an academic institution (in which case I understand the feature). But, I imagine that there's other ways that could be done as well without the use of a banner. For example, perhaps when the standalone is built there was an option to bind the executable to a specific domain name or subdomain where any machine in that range can run the application with no banner popup? 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: LiveCode Personal Banner
Comparing LC - a development environment - to a generic piece of software (like GC or Notepad), is like comparing apples and oranges. One splash/nag is there because you haven't paid and is encouraging/reminding you that software isn't free and could you please support them by paying for the use you are getting out of it. LC and other dev environments are about creating software that can potentially be distributed to another user. So if you were going to compare it to other software creation environments, compare it to BlitzBasic, LispWorks, Dolphin Smalltalk, REALbasic, or similar. Some have nags, some don't. Some allow compiling w/o a commercial license, some don't. Some limit compiled application runtime duration or memory usage, some don't. I'm not advocating for or against the banner, less time, more time, or something else. I'm just saying that a $20 (or whatever) image conversion piece of nagware that is trying to convince you to buy is very difference from a low-cost personal edition of a development environment that allows you to create your own software, but let's future potential users know what was used to create it so maybe they'll purchase it as well. Jeff M. On Nov 15, 2010, at 3:53 PM, Judy Perry wrote: But Andre, the 157 secs for GraphicConverter doesn't happen once you've actually *paid* for it; it's nagware to encourage you to buy it. (How do I know this? Because I haven't paid for it since they had a long-standing bug that annoyed me; prior to that, I paid for it and no nagware banner). Judy On Mon, 15 Nov 2010, Andre Garzia wrote: snip I also think that 10 seconds splash screen is not unreasonable, I have software here with splash screens that take up to 157 seconds to vanish (Graphic Converter) and I am not mad at it. I know we live on times where everything is instantaneous and any process that makes us wait fells criminal to us. Waiting 10 secs is a small price to pay for a 99 USD license. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
On Nov 2, 2010, at 10:44 PM, J. Landman Gay wrote: On 11/2/10 11:41 PM, J. Landman Gay wrote: On 11/2/10 10:40 PM, Jim Ault wrote: Also try put the number of items in a,b,c \ the number of items in a,b, \ the number of items in a,b Right. You can't have an empty last item, and if you try, the last delimiter is removed. There's a comment about it in the dictionary under item. Meant to add: this is also consistent with the number of lines, where a trailing cr doesn't count either. Just tossing this out there, but I *love* this behavior. I'm sure there are situations where it's undesirable, but are easily compensated for by just adding another delimiter. Begin able to do the following is very handy and makes the code clean: put foo cr after fld x put bar cr after fld x put the number of lines of fld x Having that return 2 is extremely convenient. 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: [OT] GameOver Mr. Jobs
On Apr 29, 2010, at 3:45 AM, Richmond Mathewson wrote: On 29/04/2010 08:38, Randall Lee Reetz wrote: Apple is in it for the money? Really? I thought they were a non-profit like Microsoft and Google. Stupid me. Yes, really! They are in the profit for it as the Linux people are also, only their model is different. Nobody is in the computer business out of sheer love for humanity; there is always some other motivation; and sooner or later it comes down to the fact that the fridge doesn't fill itself. Yes, but there are the occasional groups, companies, and individuals who are content doing something that has a social benefit (http://en.wikipedia.org/wiki/Social_contract_theory). While they still are required to fill the fridge - and do want that ;-) - they are also fine with not having the funds to keep buying a new, bigger fridge every year. Then there's always the people who really just end up loving what they do... Turning a profit is wonderful and necessary to keep the ball rolling, but usually companies that have profit as the primary bullet point on their mission statement isn't going to survive long-term. But, sadly, this is rare. 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: [OT] GameOver Mr. Jobs
On Apr 24, 2010, at 7:42 AM, Peter Brigham MD wrote: They call it duel-boot. Is that a Freudian slip, or just an ordinary one? An ordinary one. A Freudian slip is when you say one thing and mean your mother. Adding to my random .sig. I actually LOL'ed when I read that. :-) 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: convert does not understand daylight savings?
On Apr 17, 2010, at 3:33 PM, Sivakatirswami wrote: [.. snip ..] returns... pubDateSat, 17 Apr 2010 00:00:01 PST/pubDate but it should be returning pubDateSat, 17 Apr 2010 00:00:01 PDT/pubDate Have you tried using the internet date instead of english date? That should return -0500 instead of -0600. You can then convert the military hour offset to the proper time zone if you wish. For my RSS reader app, here's a little field I put together to do the conversions: GMT,+ BST,+0100 IST,+0100 WET,+ WEST,+0100 CET,+0100 CEST,+0200 EET,+0200 EEST,+0300 MSK,+0300 MSD,+0400 NST,-0330 NDT,-0230 AST,-0400 ADT,-0300 EST,-0500 EDT,-0400 CST,-0600 CDT,-0500 MST,-0700 MDT,-0600 PST,-0800 PDT,-0700 AKST,-0900 AKDT,-0800 HAST,-1000 HADT,-0900 NFT,+1130 AEST,+1000 AEDT,+1100 ACST,+0930 ACDT,+1030 AWST,+0800 AWDT,+0900 CXT,+0700 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
Grouping cloned objects
Sorry if this is in the documentation and I just haven't seen it, but... I have a group of objects that - at runtime, I'll be cloning. Simple enough, but when I clone it, I'd also like to add some objects to the group, but I haven't found any simple way of adding objects to an already existing group via code at runtime. Is there a simple way of doing this other than getting all the controls in the group, selecting them (and the new objects) and regrouping the controls? Thanks! 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: Script for tagging email addresses
On Mar 26, 2010, at 10:40 PM, Sivakatirswami wrote: anyone have an efficient script for tagging email address with links? I have used the algorithm below several time for similar needs. The basic concept is as follows: * Create a regular expression matching what you are looking for * Loop over the field finding matches and * Turning them into links I usually do the algorithm below in a field and just set the textStyle to link and change the linkText of the chunk. I've modified it for you to accept input text and create a new output text string with the HTML tags inserted. I don't know if that's what you really want, but it should give you an idea of how to proceed regardless. Note, since I'm modifying code from my library, it is untested and from memory, but should be close. function linkEmails pText local tPos local tStart local tEnd local tOutput local tRegex local tEmail put \b([a-z0-9._%...@[a-z0-9.-]+\.[a-z]{2,4})\b into tRegex put 1 into tPos -- loop over the entire input text repeat until matchChunk(char tPos to -1 of pText, tRegex, tStart, tEnd) is false add tPos to tStart add tPos to tEnd -- first dump everything up to the email address and extract the address put char tPos to tStart - 1 ater tOutput put char tStart - 1 to tEnd -1 of pText into tEmail -- now put the email link put a href= quote mailto:; tEmail quote tEmail /a after tOutput -- advance and continue put tEnd into tPos end repeat -- dump what's left over put char tPos to -1 of pText into tOutput return tOutput end linkEmails ___ use-revolution mailing list use-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: Cursor questions
After taking this to the next level and using my own image as a cursor... my cursor (a 16x16 imported PNG image) is turning into 100% white when I set the cursor to it. The shape is correct, but just all the colors are white. I can't find anything in the documentation about this. Any hints as to what I'm doing wrong? 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
Popup location and direction
Is there any way to force a popup to go in a certain direction? For example, if I have a popup button at the bottom of a stack, I'd like it to always appear above the popup button. 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: Popup location and direction
On Mar 18, 2010, at 12:27 PM, stephen barncard wrote: From the docs: * popup {stack | button} [at location]* Yes, I know. But that only deals with location, not direction as well. I'd like the popup to only grow in the up direction or down direction (based on context) and only extend beyond the Y coordinate in the provided location assuming the popup was too big for the screen. 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: Win7 Close stack
On Mar 18, 2010, at 3:46 PM, Andrew Kluthe wrote: If someone closes one of the menu palletes and I didn't have it set to kill the program on the close of one of these, the user would not be able to reopen that menu pallete. Is this a bug in rev or just a feature of win7 (Is there a difference, lol)? In my opinion, this is a UI bug in your app (not a Rev or Win7 issue). Win7 just brought this issue to light. A palette window usually indicates an optional window that can be open or closed. For example, the tools or inspector palette in the Rev IDE. You can close them, but can always get them back easily. Of course, the above assumes you aren't using a palette window for something else, like a download progress window that is meant to prevent the user from doing anything while the download is in progress. If that's the case, I would use the on cloneStack handler in the palette window to perform an implicit cancel or similar operation (assuming it isn't done yet). 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
Cursor questions
First, I have a splitter bar I've created that works fine, except in a standalone, the cursor I use (image ID 65) doesn't exist and therefore the app just uses the standard arrow cursor. Any way for me to ensure this cursor ends up in the standalone? Second, is it possible for me to detect that the mouse is over a link and change the cursor to something else (i.e. the hand icon/cursor)? I know there's changes coming w/ 4.5 that look promising. I haven't bothered to download the developer preview as I really don't want to risk is, but if some of these concerns go away with 4.5 and someone can just email me them (instead of breaking NDA on the list), that'd be fine, too. (mass...@gmail.com). Thanks! 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: Cursor questions
That took about 5 seconds to implement. Thanks, Sarah. 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
Possible virus warning
Just got the following email sent directly to me: From: zeeshan aamir shani.run...@gmail.com Subject:Communication between JADE (NetBeans) and Runrev Date: March 18, 2010 9:57:58 PM CDT To: shani.run...@gmail.com Has a nice attachment, which I obviously didn't open. Anyway, just believe this is likely phishing or some other kind of wonderful infection attempt by someone just hitting everyone in the list. If that isn't the case, my apologies to Mr. Aamir. But everyone should take care 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: DataGrid AddData issue
Thanks, Trevor. Just curious, though.. for a form data grid, what's the difference between lines and indices? 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: Using the brush tool
I haven't ever tried this with Rev, but remembering way back to my high school years and ol' Hypercard, you may want to just put a rectangle object out in your card somewhere, and do a card script something like this (pseudo-code, untested): on mouseDown if the mouseLoc is within the rect of graphic My Draw Area then select the brush tool end if end mouseDown on mouseUp select the run tool end mouseUp on mouseRelease select the run tool end mouseRelease Jeff M. On Mar 15, 2010, at 6:33 PM, Mike Brown wrote: Hello, I am trying to create use the brush tool (choose brush tool) to paint within an image. How do you turn the brush tool on and off so that you can select other buttons or objects in a stack? Currently, I have a row of buttons (one for each color) but once I select a color and choose the brush tool, I can paint within my image but cannot switch to a different color or select a button. The stack kind of locks up accept for painting with the single color within the image. Is there a tutorial stack for this? Thanks, Mike Mike Brown Cyber-NY Interactive 212-475-2721 Ext. 306 www.cyber-ny.com m...@cyber-ny.com Follow Us On Twitter http://www.twitter.com/cyberny ___ use-revolution mailing list use-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: DataGrid AddData issue
On Mar 13, 2010, at 7:48 AM, zryip theSlug wrote: 2010/3/13 Jeffrey Massung mass...@gmail.com: So, I'm not quite sure the best way around this problem, hoping Trevor or someone here can help... It looks like AddData doesn't instantly add the data to a DG form (haven't tried a table). So, for example, if I were to do the following: ## inside the DG group control on doSomething -- .. construct some data .. addData tData get the dgNumberOfLines of me get the dgDataControlOfIndex[it] of me -- .. do something with the data control .. The problem here is that the data control I get back is not of the row I just added, but rather the row previous to it. This is really problematic as I'd like to call a handler on that control, but only when it's created. I also can't wait a little bit of time because several rows may be added in between. My best work-around thought for now is to have a flag in tData that is set to true so that FillInData can check it and call the appropriate handler and set it to false, but that's pretty hacky and I'd prefer being able to do it some other way. Hello Jeffrey, Have you tried to refresh the data with the RefreshList command after the addData instruction? Yes. No change. It just refreshes the controls that are already there. Either that or it's just queuing up a refresh to happen at a later time (understandable, if so). 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: Add file to Custom Property
On Mar 13, 2010, at 1:17 PM, Bill Vlahos wrote: I want to add a file from disk to a custom property, encrypt it, and save it. Then I want to be able to extract the file from the custom property and open it in the appropriate application. read from file lFileToRead until end put base64Encode(lFileToRead) into lBinaryFile -- not sure if this is needed lFileToRead is the name of the file, not the data that was read from the file. Use 'it' to access the data that was read from lFileToRead. And, as a side note given the first sentence of your email... base64 encoding is not a form of encryption, nor is it a type of compression. Base64 encoding is a means of taking binary data and turning it into something that can be sent via email, posted to a website, etc (read: no spaces, line feeds, nulls, etc). If you want to actually encrypt the data, you should do that first before base64 encoding it (with the encrypt command). But, you should be aware that the encrypt command requires a password/key, which will also be needed to decrypt the data. While you may be able to encrypt it with the message box or via some other means, you'll need the password/key in a script somewhere to decrypt it... thereby nullifying any hope of secrecy for whatever the data happens to contain. 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: Add file to Custom Property
On Mar 13, 2010, at 8:08 PM, J. Landman Gay wrote: Bill Vlahos wrote: Is there a way to skip the writing to disk part and just open it directly? If it is another stack, then Rev can open it from memory. Otherwise, no. The usual solution is to write to the temp directory, with an obscure name if you want, and then delete the file later when you're done with it. I just feel it important to note that (depending upon your needs) this is very far from secure. First, the temporary file can be intercepted mid-operation by a secondary process that's monitoring yours and watching the OS for new open file handles (all easily doable). Second, you'd have to blast the disk sectors where the temporary file happened to be written to with random data (perhaps several times over) to ensure that you eradicated the once you were done with it. Sorry if that's way over-the-top, but when someone mentions encryption, network security, copy protection, etc, I just want to make sure someone doesn't leave thinking something is a great solution when it possibly isn't (again, given your needs, this may be more than adequate). 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
Data grids don't refresh/redraw when disabled?
Just wondering if this was intentional behavior for a reason or not? Often times I find myself disabling a DG while doing a large operation (like downloading a webpage) and then re-enabling it afterwards. If I disable it, though, any resizes won't redraw the DG. Currently my only choice is to overlay a large rectangle on top of the DG that the user can't click through and not just disable it. Anyone have any other suggestions? 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: Revolution Standalone + Norton Internet Security
Just noting that 2 of my apps are running on Windows XP Vista machines without this issue at all (this includes machines with either Norton or McAfee). That said, if you figure out what's causing it and how to stop it, I'd very much like to know so I can watch for it with my future releases. Jeff M. On Mar 12, 2010, at 8:22 PM, mstray...@comcast.net wrote: The first time I tried run the standalone I was rewarded with multiple messages for NIS stating that the application was behaving suspiciously . I told NIS to allow the application to continue running and everything works fine. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
DataGrid AddData issue
So, I'm not quite sure the best way around this problem, hoping Trevor or someone here can help... It looks like AddData doesn't instantly add the data to a DG form (haven't tried a table). So, for example, if I were to do the following: ## inside the DG group control on doSomething -- .. construct some data .. addData tData get the dgNumberOfLines of me get the dgDataControlOfIndex[it] of me -- .. do something with the data control .. The problem here is that the data control I get back is not of the row I just added, but rather the row previous to it. This is really problematic as I'd like to call a handler on that control, but only when it's created. I also can't wait a little bit of time because several rows may be added in between. My best work-around thought for now is to have a flag in tData that is set to true so that FillInData can check it and call the appropriate handler and set it to false, but that's pretty hacky and I'd prefer being able to do it some other way. Any other ideas 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
Re: lubURL nuances
Richard, I've spent quite a bit of time figuring out #1 and #2 of your question list. I have a couple... URL intensive apps, and I used to get the previous request error all the time. Here's what I've learned through experimentation. 1. Blocking... The PUT URL command is only blocking _within the context of the current handler_. You can think of it as if it was written like so in code: get url http://...; WITH MESSAGES Meaning that the current handler stops what it's doing waiting for the HTTP fetch to complete, but you can still resize the window, watch GIFs animate, and even click buttons. 2. Previous request errors... You'll get these because of the behavior that PUT URL has (the fact that it allows messages to keep being processed). This behavior is actually a good thing, but means you need to be careful. For example, if you have a button that does a PUT URL on mouseUp, you can click that button many times really fast, and all of them will execute and yield in their handlers once they get to the PUT URL command. The first one will be in the process of fetching the URL when the second one hits the same line of code and trip the previous request error. --- Now on to solutions... I've found 2 solutions to this problem that appear to work best. 1. Use LOAD URL exclusively whenever you can. Sadly, this approach fails if you have to do any POST commands, because you can't perform a POST with a callback; it always acts like a PUT URL. This means the POST can fail. But, when it does fail, it fails instantly, you know it failed, and you can try again immediately. 2. Don't trust the LOAD URL message queue that Rev comes with built-in. Sadly, while their message queue for loading URLs is just fine, it doesn't let you inspect it (you can't tell if a URL is currently being loaded, what it is, or what the status of it is). Instead, roll your own. This also has the nice ability of being able to debug easily: global gHttpCmdQ on postHttpCmd pAction, pURL, pTarget, pCallback get gHttpCmdQ is empty ## insert the command onto the queue to be processed later put pAction tab pURL tab pTarget tab pCallback cr after gHttpCmdQ ## if there were no commands on the queue, process this new one now if it is true then processHttpCmds end if end postHttpCmd on processHttpCmds local tAction local tURL local tTarget local tCallback get the first line of gHttpCmdQ if it is empty then exit processHttpCmds end if ## pop the command off the queue delete the first line of gHttpCmdQ set the itemDelimiter to tab put item 1 of it into tAction put item 2 of it into tURL put item 3 of it into tTarget put item 5 of it into tCallback switch tAction case GET get URL tURL break case POST post ... break ## more command types here end switch if the result is not empty then dispatch tCallback to tTarget with error , the result else dispatch tCallback to tTarget with cached , it end if ## continue processing messages from the queue send processHttpCmds to me in 0 seconds end processHttpCmds --- Anyway, I use something very similar in my apps and I have yet to run into any problems. YMMV, though. HTH, Jeff M. On Mar 11, 2010, at 7:23 AM, Richard Gaskin wrote: While working with Dan Friedman to diagnose some FTP issues, he came up with some questions I couldn't answer so I'm bringing them to y'all to see what we can find: 1. Is put url... a blocking command? I believe it's supposed to be, but find I can sometime do other things while it's running, including submitting subsequent put url... commands. 2. In such a circumstance, the second attempt to put url... meets with an error, Previous request not completed. I've found that once that error hits the original request sometimes runs into trouble, requiring me to use libUrlResetAll and try again. Is there a more graceful way to handle that error? ___ use-revolution mailing list use-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: Regular expression
regex should be if matchText(tInputString, src='([^']*)', tSourceMatched) is true then put tSourceMatched end if Of course, many of the other suggestions posed by others w/o using regex are fine, too. Just letting you know how to do this with regex as well. Jeff M. On Mar 10, 2010, at 5:30 AM, paolo mazza wrote: To me regular expressions are tricky! I need to extract the string HTTPWEB from the string xx src='HTTPWEB' width='3845' height='334' x If I use the regular expression (src='.*') and the matchChunk command, I get this string : src='HTTPWEB' width='3845' height='334'(see the following RevTalk script) Which is the regular expression to get just the argument of the src variable ( HTTPWEB in this example)? Thanks a lot Paolo Mazza SAMPLE CODE on mouseUp local TESTO,STRINGA,VAR1,VAR2 put xx src='HTTPWEB' width='3845' height='334' x into TESTO put (src='.*') into STRINGA put matchText(TESTO,STRINGA) return into message if matchChunk(TESTO,STRINGA,VAR1,VAR2) then PUT char VAR1 to VAR2 of TESTO into message else put not found! into message end if end mouseUp ___ use-revolution mailing list use-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: missing fields in Application Browser
Not sure if this would cause the problem, but once I had gotten myself into a pretty ugly situation that was causing some very odd behaviors: * I had a group (A) that happened to contain another group (B). * While editing group A, I had accidentally clicked group B (with that selectGroupedControls property turned on). * When I clicked Edit group in the toolbar to stop editing group A I actually started editing group B. To make a long story short, I somehow ended up regrouping everything a second time (so group A was now a subgroup of Z), and that ended up causing me no end of grief until I figured it out and ungrouped them. Jeff M. On Mar 8, 2010, at 4:18 AM, Scott Morrow wrote: Hello Martin, I did check that, thanks. I'm suspicious that it may have something to do with the selectGroupedControls property that Sarah mentioned. Changing this setting for these groups has no effect at this point and they behave as if the property is stuck as true. -Scott On Mar 8, 2010, at 1:59 AM, Martin Blackman wrote: Could it be the autohilite property? On 3/8/10, Scott Morrow sc...@elementarysoftware.com wrote: Recently, in one of my projects, the Application Browser stopped showing fields that were in a group. Furthermore, the fields in this group no longer allow text to be hilited. (The text can still be edited, but not something that is really usable.) The fields are obviously still there and running put the num of flds of this cd into the message box returns 18 Yet only one field shows in the Application browser. The field that does show is not in a group. I've tried trashing the preferences file and reinstalling rev. I was hoping not to deconstruct and rebuild the groups. Has anyone else run across this? Thoughts? Rev 4.0 Enterprise Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email sc...@elementarysoftware.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 ___ use-revolution mailing list use-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: Replace colors in imageData under linux doesn't work
Is the Linux machine you are on PPC (read: big endian)? Jeff M. On Mar 7, 2010, at 8:27 AM, Ludovic Thébault wrote: Hello, I've made a map wih several sectors. Each sector have a specific color. For example sector one have this color : 245, 255, 255 sector two : 215,255,255 sector three : 194,255,255 ... The map appear in blue (each sector with a different blue) Under MacOS and Windows, a script replace the color of a sector with an other. But under linux (Ubuntu, Mandriva, Xubuntu) it doesn't work. I've tested with Rev Studio 2.91 and RevMedia 4. the script : get the imageData of image carte replace (numToChar(0) numtochar(230) numtochar(255) numtochar(255)) with \ (numToChar(0) numtochar(45) numtochar(155) numtochar(90)) in it Under Linux, my map appear yellow ! Here, a screenshot with the original map, the new map under MacOS and under Linux http://img.skitch.com/20100307-11umgehf9gmes8p9k6yknc7w8d.jpg Any ideas ? and any workaround ? 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 ___ use-revolution mailing list use-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: popup command cross-platform
On Mar 4, 2010, at 7:11 PM, Ken Ray wrote: All I can suggest is what I ended up having to do... make sure that the popup command was the last thing encountered in the mouseDown handler, and then have the menuPick of the btn being popped handle what happens when they release the mouse button. If you need to pass data between the button calling the popup command and the button being popped, you can use custom properties or globals, etc. Ken, Thanks for the reply. Sadly this doesn't work 100% because menuPick won't get called if no menu item is actually selected (i.e. the user clicks outside the popup and it goes away). And yes, I agree on the mouseDown... which is what I have in my script, I just get so used to typing mouseUp... ;-) 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: [On-Rev] sending email thru sendmail?!
I can't remember where I found this code, but I've been using it quite successfully with On-Rev: -- escape shell characters: use this function before passing data to the shell function shellEscape pText repeat for each char tChar in \`$ quote replace tChar with \ tChar in pText end repeat return pText end shellEscape -- send an email message to someone command sendMail pFrom, pTo, pSub, pBody -- fix each of the parameters of the email put shellEscape(pFrom) into pFrom put shellEscape(pTo) into pTo put shellEscape(pSub) into pSub put shellEscape(pBody) into pBody -- send the mail using the shell command get shell(echo -e quote pBody quote | mail -s quote pSub quote quote pTo quote -- -f quote pFrom quote) end sendMail HTH, Jeff M. On Mar 3, 2010, at 7:55 AM, Andre Garzia wrote: Aloha Folks, Did anyone here is able to send email using sendmail in On-Rev, my code that I use everywhere is not working anymore, somehow it can't open the sendmail process. function sendMail pFrom, pTo, pSubject, pBody switch the platform case Linux put /usr/sbin/sendmail -t into mprocess open process mprocess for write write From: pFrom crlf to process mprocess write To:pTocrlf to process mprocess write Subject: pSubjectcrlf crlf to process mprocess write pBody crlf to process mprocess close process mprocess wait until mprocess is not among the lines of the openprocesses return the result break end switch end sendMail -- 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 ___ use-revolution mailing list use-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][UPDATE] Revolution.mode - Revolution syntax coloring for CODA and SubEhtaEdit
If I could suggest 1 more change: the current string regex uses \ as an escape character when Rev has no such thing (or uses a different one that I'm unaware of). So if I use a \ in my strings it mucks up the highlighting for the rest of the file. Again, tho, bravo on the Coda mode. :-) Jeff M. On Mar 1, 2010, at 2:24 PM, stephen barncard wrote: Whoops! I forgot to add support for the comment syntax I never use. (Thanks to Jerry Daniels) Now supports all 4 Rev comment styles: /* */ -- ## and // ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Detecting popup menu cancelation
I have a popup button that, when clicked, I change the background color of a field so as to really highlight for the user exactly what their action is going to be taken on. However, currently, I have no way of detecting if the user chooses to do nothing (cancel the popup) and subsequently return the field's background color to its default. Is there some message I can key off of or some other way for me to accomplish this behavior? Thanks! 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: Detecting popup menu cancelation
On Feb 28, 2010, at 11:21 AM, J. Landman Gay wrote: Jeffrey Massung wrote: I have a popup button that, when clicked, I change the background color of a field so as to really highlight for the user exactly what their action is going to be taken on. However, currently, I have no way of detecting if the user chooses to do nothing (cancel the popup) and subsequently return the field's background color to its default. Is there some message I can key off of or some other way for me to accomplish this behavior? Do you mean by cancel that the user slides off the menu without selecting an option? If so, try mouseRelease. Yes, that's what I mean by cancel. And no, mouseRelease doesn't work. Tried it. :-( Thanks for the reply. 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: [ANN] Revolution.mode - Revolution syntax coloring for CODA
Kick ass. I have nothing more to say. ;-) Jeff M. On Feb 28, 2010, at 5:33 PM, stephen barncard wrote: REVOLUTION.MODE FOR CODAhttp://fulton.barncard.com/downloads/rev-coda-mode.zip ___ use-revolution mailing list use-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: Possible data grid bug?
On Feb 27, 2010, at 5:39 PM, Sarah Reichelt wrote: So basically, you can't do what you have in mind. Would it work to lock the screen, go to the second card, draw the DG and then go back to where you were? This is what I've done to fix the problem (and how I first learned that changing cards works). Sadly, this defeats my UI goals, but I'm sure I can come up with something else. The end goal is to actually go to the card with the DG on it, but while it's filling in with its initial dataset, I'm showing a progress indicator. Locking the screen prevents the progress indicator (an animated GIF in this instance) from updating. Thanks for the reply and link, though! 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
On-Rev and setting cookies
I'm having one helluva time trying to get a single cookie set from my irev files. It doesn't seem to matter what I do, unless I manually set it using the meta tag, the cookie doesn't show up on my system. put test=foobar; into tCookie put header Set-Cookie: tCookie This just doesn't work no matter what I do, where I put it, etc. Everything I read on the On-Rev forums leads me to believe that it should. Note: I actually can't get any 'put header' calls to do what they are supposed to (redirects, etc). Am I missing something? Thanks! 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: Conference-DVDs arrived
On Feb 25, 2010, at 6:34 PM, Kay C Lan wrote: On Fri, Feb 26, 2010 at 3:47 AM, Richmond Mathewson richmondmathew...@gmail.com wrote: I learnt something extremely useful when I was at Carbondale from my MA supervisor: NEVER, NEVER, under any circumstances let your personal problems interfere with your professional obligations, AND, NEVER use them as an excuse for failing in any professional obligations. His name wasn't Morely was it? So let me get this straight, when my son was 3 he was bitten by a bamboo snake (can be lethal to children) and lay dying in a hospital emergency room and I was due to catch a flight to Tokyo for business and you're saying I should have left him there and gone - actually that's exactly how 'the company' reacted, so I guess i now know there are more people in the world who think like that:-( While some people may think one choice is correct and the other isn't, that certainly isn't the case. To each his/her own. It's a matter of personal priorities. For myself, family comes above all else; there's always another job or business opportunity around the corner, but I only have one daughter, and she's the pride of my life. That said, I think the premise is that you can't have your cake and eat it, too. Once you've made a choice, be prepared to accept the consequences of it. With the example of your son, I know I would have stayed with him (in your shoes), but had I been told the next day I was fired, I'd have been equally alright with that (and honestly, who would want to work for such a company anyway?). Every customer - and more importantly - potential customers - aren't going to be aware of personal problems. And, frankly, they won't care most of the time. It's sad that often times business isn't more personal. A personal relationship between supplier and customer can add a lot. But, for many customers, business (and time) is strictly about money. Their priorities won't match yours. That's okay. Just be willing to accept the fallout. 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
revBrowserExecuteScript problems
Ugh, I've been at this for *hours* now and I can't seem to see what's different that's causing my issue. Hopefully someone here can point me to the correct solution... I have a revBrowser instance that opens a webpage. Simple. The browserDocumentComplete message gets sent and i receive it just fine. Once the page is loaded I try and execute two javascript functions from the page. All of these script calls fail and throw an exception: 573,47,1,revBrowserExecuteScript However, if I open up the message box and type the _exact same line of code_ (i.e. I copy paste it from the source file into the message box), then it works. I'm hoping there's something really simple here that I'm missing, because this is starting to get a tad frustrating. ;-) Thanks! 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: revBrowserExecuteScript problems
Figured out the issue. For posterity... revBrowserExecuteScript is a function, meaning I can't just call it and ignore the return value. I have to do get revBrowserExecuteScript(..), which the message box does implicitly. Facepalming complete. 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: on-rev and coda
Thanks! This worked like a charm... so much nicer. ;-) Jeff M. On Feb 23, 2010, at 4:09 PM, Igor de Oliveira Couto wrote: Dear Jeffrey, On 23/02/2010, at 3:52 PM, Jeffrey Massung wrote: Has anyone here successfully connected to on-rev with coda for editing their web pages? If so, what were the settings you used? This seems to work for me: [.. snipped ..]___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
on-rev and coda
Has anyone here successfully connected to on-rev with coda for editing their web pages? If so, what were the settings you used? 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: the files, get URL and Unicode File Names
On Feb 21, 2010, at 5:50 PM, J. Landman Gay wrote: Igor de Oliveira Couto wrote: I hear that a new version (4.5) is in the works. If this does not break any confidentiality agreements, can a beta tester tell us perhaps if any unicode issues are being addressed in this new version? The road plan is confidential so we can't really say here. But rest assurred that unicode is a big part of future development. RR knows they need it to be internationally accepted. And I believe Mark Waddingham has now finished reading the 6000 pages of the unicode specs. :) While the road plan may be confidential, after my evaluation period was up and I was considering a purchase, I emailed RR with a list of my concerns and asked what was in the pipe to address them. They were quite prompt with a reply. I learned that some of my problems/concerns were already handled (the reply even had sample code to give examples), some were being actively addressed - and I was told how - and some were just given lip-service so likely weren't on the road map. I'd take some time, email RR, tell them your business, why certain features may be important to you, and ask them to be frank about where those features are on their roadmap (if they are at all). I think you'll be pleasantly surprised at the professionalism in the response you get. My 2 cents. 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
Data Grid brain fart
Sorry, but I'm not seeing this in the documentation. I'm adding a row to a DG form, and after I add it, I'd like to get the dgDataControl of the row I just added so I can send a couple messages to it. Is this doable? 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: [Q] cocoa/objective-c based rev
I don't know about all 3rd party app tools for the iPhone/iPod, but the two I know and have used don't actually compile directly to the iPod. Instead, they create a iPhone Cocoa project (literally, at compile time), generate the Obj-C source code from your project, and then launch GCC to compile it, linking against their custom frameworks. It still requires the end-user to pay the $100 developer fee in order to test their app on actual hardware or distribute it. As for Apple reviewing the code, they do not. They can hook up hardware and see all the system calls being made, however, and there are certain things that your app is not allowed to do (which may be troublesome for a few Rev users). Namely, you aren't allowed to execute scripted or generated code. So, you couldn't - as an example - link Perl into your iPhone app and then run Perl scripts from within your app. For Rev, it might mean RevMobile wouldn't be allowed to use the DO command on the iPhone (and there's probably other similar commands that might have a hard time getting past Apple). Things may have changed, but these were my experiences a year ago. Jeff M. On Feb 21, 2010, at 8:48 PM, stephen barncard wrote: I believe the Apple SDK will still be needed (which is free). But what one needs to actually build and submit shouldn't cost more than the $100 developer fee. sqb - Stephen Barncard San Francisco http://houseofcubes.com/disco.irev ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Destroying cloned stacks
I assume this is a pretty simple problem, but it just caused me to lose a good 3 hours of work (teach me to not backup!)... I have an app that is similar to a multi-document app. User says File - Open and a clone of the document stack opens up. The user does some stuff and then closes it. Many documents may be open at once. My code generally goes like so (which may be wrong as I just lost 3 hrs and am typing this before trying again).. Main Stack: on newDocument clone stack Document ## setup document stack here... go to it end newDocument Document stack: on closeStack destroy this stack end closeStack Now, the reason for the destroyStack is that I don't want the Application Browser (or my app when I save it) to be bombarded with clone after clone of my document stack. But, as things are what they are, I closed the _actual_ document stack and BAM, lots of work gone. So, my questions: 1. Am I going about creating a document stack the right way? 2. How can I nuke clones and not the primary document stack? Thanks! 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
Displaying stack images in revBrowser?
Is this possible? I'm never loading an external page as opposed to generating the HTML I want to display. I'd like to put an img src=My_Image in the HTML, but it doesn't work. Any clues? 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: Displaying stack images in revBrowser?
What full path name? To be clear: I know I can use file:// and ship the image along with the app as a resource. I'd prefer not to do that and just use the image that's already embedded in the stack file (if possible). Jeff M. On Feb 20, 2010, at 11:22 AM, stephen barncard wrote: try using full pathnames ___ use-revolution mailing list use-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: How to enter a time of day
You may want to take a look at Windows' task scheduler or whatever it is on the platform you are targeting. While it's possible to come up with something better and easier, I usually find that straying from UI paradigms that users are accustomed to can end up causing a lot of needless pain for the developer: annoying bug reports that aren't really bugs and feature requests to make something act normal. If you want something graphical, I'd make the input a selection (like a date picker) or typed in, and perhaps have an analog clock graphic that can indicate to the user potential problems. My 2 cents. Jeff M. On Feb 20, 2010, at 11:35 AM, Marty Knapp wrote: Hi Peter, I don't know if it would help, but I have a stack at RevOnline called Marty's Sliders that would give you more flexibility and could perhaps be adapted for your use. At the end of the mouseMove handler there's a line that computes a value and puts it into a field to in effect show the thumbPosition of the slider. Marty Knapp I have a need for users to enter a start and end time of an event and I'm trying to come up with a graphical way for them to do that to ensure that the time is in the correct format. What appeals to me the most is to use some sort of slider that would increment/decrement the time of day in 15 minute intervals. I was hoping the rev slider control would be the answer to it but it only seems to deal with whole numbers on its scale, haven't been able to figure out how to deal with time-based numbers. Any recommendations on how to set about implementing this? Pete Haworth ___ use-revolution mailing list use-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: Displaying stack images in revBrowser?
Ah yes! Forgot about that in HTML. Danke! Jeff M. On Feb 20, 2010, at 1:55 PM, David Coker wrote: Is this possible? I'm never loading an external page as opposed to generating the HTML I want to display. I'd like to put an img src=My_Image in the HTML, but it doesn't work. Any clues? I had the same questions a month or two ago... this solution provided as a courtesy from Shao Sean: You need to embed the image inline as base64 data.. img src=data:[MIMETYPE];base64,[DATA] ___ use-revolution mailing list use-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: How to enter a time of day
Pete, If your app runs exclusively on the Mac you may want to just look at integrating iCal into it with AppleScript and handle it that way... When your app launches or whenever is appropriate, let the user select a calendar file that's exclusive to your app. The user could open it in iCal to adjust things or open it through your app. You could likely then use AppleScript to get various date/times from it to do your tasks. I don't use iCal (much) and have never looked to see what functionality is provided for it through AppleScript. But you may end getting a very win-win out of this: let the user thing awesome! because it just works with iCal and let's you relax and let iCal do most of the heavy lifting in this department. :-) Jeff M. On Feb 20, 2010, at 1:17 PM, Peter Haworth wrote: Thanks Marty and Jeff. I will take a look at at your stack Marty. Jeff, you raise a good point, I hadn't thought about. I'm mainly running on a Mac and people tend to schedule things with tasks/appointments in iCal although various third party tools have their own built in schedulers with their own ways of entering times. Pete Haworth ___ use-revolution mailing list use-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
Menu visuals on Vista/Win 7
So, I don't know how to describe this as I don't have access to a vista/7 machine (I use XP), but friends who are testing my RSS app have sent me screenshots (which I can post later if needed) that clearly show the menu bar only going to the edge of the help menu and then ending. On XP the menu likely ends abruptly as well, instead of using the entire stack width, but is unnoticeable since the menu background is the same as the stack background color. Anyway, I was wondering if there was a simple fix for this. Can I just set the width of the menu group to the stack width and it just work or am I going to have to do something a little more inventive? Thanks! 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
Popup menu selection
I have a couple pop-up button menus that I create on-the-fly (in mouseDown) based on what's going on. They also act as combo box selections, where one of the items is current, with !r in front of it. Is it possible for me to somehow tell the popup to auto-magically scroll down to the current selection instead of always reopening the menu at the top? ___ use-revolution mailing list use-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: Newsfeeder - an RSS reader
On Feb 17, 2010, at 8:23 AM, Jim Bufalini wrote: Jeff Massung wrote: Again, for those of you who use RSS regularly, I'd be interested in knowing what features are important to you... and better still, what is lacking from the current reader you use. Thanks for the compliments, everyone. I am also not a heavy RSS user and the reason is I don't want to be inundated or have to scan through tons of information that I am not interested in. To the best of my knowledge, when you subscribe to an RSS feed, you receive any changes to that site, or portion of site. If the site is an active forum, for example, this can be TMI (Too Much Information). So, while you say: Yes. That's the idea. For example, if you were had a lot of news feeds, and typed iran into filter area, the only headlines that would appear would be those that had Iran somewhere in the title or body of the headline. What I would really like is to be able to have a preference that is *specific to each feed* I subscribe to, and be able to type in some filter words or phrases. If the word or phrase is in the headline or body of that feed, then notify or otherwise show me the headline. Otherwise, automatically and completely delete the headline item from the database or however you are storing these (I also don't need my HD being filled up with info I will never read). Jim, That's an interesting idea. I'll have to think about how best to incorporate such a feature into the user interface. I can definitely see how a filter / feed could be very useful. Addressing your HD being filled up issue, know that I'm against such things as well. I had no desire for Newsfeeder to be a newsgroup reader that downloaded and saved every headline and marked them as read or not. Newsfeeder will tell you if an RSS feed has new headlines since the last time you viewed it, you will be informed, but it doesn't track anything on a per-headline basis and doesn't save anything to the HD. Each time you start up the app, everything is fresh. Note: I have considered adding support for saving headlines that you love or want to read later so they don't go away, and similarly considered letting you delete headlines that you never want to see again. But I need to get more use out of the app - and more user opinions - before I go down that road. Thank you for your thoughts. 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: ANN: Newsfeeder - an RSS reader
On Feb 16, 2010, at 11:36 PM, Kay C Lan wrote: On Wed, Feb 17, 2010 at 6:09 AM, Sarah Reichelt sarah.reich...@gmail.com wrote: Looks very neat Jeff. My only suggestion would be to allow people to set the font and font size. Jeff, I'm not a big RSS users so take my suggestion with a grain of salt, but I notice all bar one Title is truncated and for the TEDTalks, three truncate the presenters name and the fourth is completely missing. I like TEDTalks and the presenters name could be a deciding factor in my decision to follow the link (I realise it does appear in the text, but skimming headlines is what RSS is all about). Kay, Thanks for the feedback! Please know that I've tried *many* different ways of presenting the headlines, and this one seems to provide the best information given the space I want to allot to each. However, RSS feeds - even though it's an optional xml tag - usually support the author tag. Perhaps an option to turn that on and have the author's name appear directly below the title as a subtext (similar to the post date) might fit that need? I love TED talks as well, but I can also see someone wanting to follow a specific blogger, editor, or reporter that they like on CNN, etc. Not a bad idea. 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: [OT] Google Buzz - Beware
I think right now it's just a matter of expectations (at least in the US). People expect their emails to be private; they don't expect their Facebook page, Twitter feed, or other forms of social media to be private. Note: I'm not suggesting that my actual email text is public through Buzz, just that email paradigm as a whole has a stigma of private around it. That perception/expectation may change in coming years with the current generation of teens, though. On Feb 15, 2010, at 10:37 AM, Mikey wrote: It doesn't really make it public per se (now I'm sounding like an apologist but) - it does things similar to fb, linkedIn, etc. in terms of network expansion. On Mon, Feb 15, 2010 at 11:34, Bob Sneidar b...@twft.com wrote: Leo LaPorte also had a segment in his radio program about Buzz. He mentioned that Google changed Buzz from opt-out to opt-in within 2 days of it's release because there were so many complaints. Fore those who don't know what the problem is, Buzz makes your google address book public, or so I've been told. It's fine to make your own address public, but to publish everyone else's is a huge brain fart on the part of Google. ___ use-revolution mailing list use-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: Newsfeeder - an RSS reader
Well, this is really a half announcement. I've been working on this in my spare time now for about a month, and have it somewhere - I'd guess - around 80% ready for release. I'm posting a couple screenshots here, telling you about a few of the features, and (for have those of you who use RSS readers) hoping you'll give me what your general impressions, etc. Newsfeeder is designed to be easy and minimalistic. It's not intended to be a remember every headline I've ever read from any feed... ever like a newsgroup/usenet reader (which is what most RSS readers do). It is also not intended to display HTML pages, as opposed to giving you a very quick overview of headlines so you only have to go to web pages that really interest you. -- A couple screenshots so you can get a feel for the user interface: http://massj.on-rev.com/downloads/Newsfeeder_Screenshot.png http://massj.on-rev.com/downloads/Newsfeeder_Screenshot_2.png Current feature set: * Can read RSS, FEED (ATOM), and RDF news feeds. * Strips out extraneous HTML markup from descriptions. * Share headlines via email, Twitter, Blogger, Digg, Reddit, and Facebook * Headline filtering (search) as-you-type * Unique tagging feature to quickly sort and navigate subscriptions * QuickTime/media support for podcast audio and video There's several other features that I'm working on as well, but don't want to discuss them in case they don't make the final cut for version 1.0. Any thoughts/comments very much appreciated. Thanks! 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
revXML... issue
So, after days of trying to figure what my unicode bugs were, I've finally figured out the problem: revXML (which I'm assuming is using Expat or similar library) is attempting to translate encoded characters during tree parsing as opposed to letting the application handle it later on. For example: ?xml version=1.0? testThis is #1039; a test/test The above tree - upon being parsed - will convert #1039; into 2 bytes instead of leaving it encoded. The result is a blob of text that's composed of both single-byte characters and double-byte characters. This is no good. So, is there a way to get the XML parser in Rev to not touch the data in the tags and let me do it? Or better yet, how about making revXML adhere to the useUnicode global, so either all the returned data is single-byte or it's all double-byte? 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 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
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
Re: Reading/Deleting Last Line Of File
On Feb 10, 2010, at 11:26 PM, Brian Yennie wrote: Jeff, This line: put the length of url file:myfile.txt into tEnd Loads the entire file into memory in order to get its length. That's a joke, right? :-( A freakin' OS call could get that just by touching an I-Node. Please, God, tell me Rev was smart enough to do it the right way? 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