Re: Problem saving files
I have never used filter with the ask command, but here is what I think is happening: When you ask for a file, if a new file name is types in, you get just the name with no extension. If you select an existing file, then you get the filename PLUS it's extension. Your script then adds the extension regardless, so extensions will accumulate. You need to add a check to see if the file extension is already there, and only append it to the file name if it is missing. Cheers, Sarah Hello Sarah and thanks for replying. I'm using filter so that the user will see only the files with like extensions, but I've tried it without the filtering as well, with no luck. I think the heart of the issue is that when asked if the user wants to overwrite a file and they affirm that they do... ..the file *should* be overwritten instead of duplicating the name with a doubled up extension. As a point of reference, I'm using Windows 7 for development and initial testing, yet no other app on the machine (or any Windows machine I have ever used) behaves the same way when presented with a replace file option. Is that a bug in Rev or a coding error on my part? Does anyone else experience the same issue? 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: last available version of revBrowser.dll (windows) ?
Thanks Mark and Alejandro, I will try each one to see if it's one of them best suited to support HTML5/CSS3. If yes, i will report it there ;-) Kind Regards, Pierre Le 2 juil. 2010 à 13:46, Alejandro Tejada a écrit : Hi Pierre and Mark, Looks like there have been many recent versions of revBrowser DLLs... But, Where are the Release notes for each version? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/last-available-version-of-revBrowser-dll-windows-tp2272925p2276336.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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.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: Data Grid Form question - How do I select a field of a certain line or index in a Data Grid Form?
On Jul 2, 2010, at 3:13 PM, Josh Mellicker wrote: Let's say you add a row or record to a Data Grid, and want to automatically select the text of a field in that row so the user can start typing. What is the easiest way to do this? If you are already opening the field editor then this lesson shows you how to select the text in the editor when it opens: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/10102-How-Can-I-Select-The-Text-in-the-Edit-Field-When-It-Opens- Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-www.screensteps.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: Build settings for Mac OSX
Richard Gaskin wrote: stephen barncard wrote: In the early 90s I registered a creator code BARN and a document code rtfd I know the document codes are not registered anymore (and Apple uses *rtfd*now). But my question is : Do I own my creator code forever? As forever as your memory allows: creator codes were hotly contested within Apple when the NeXT team took over, marked for deprecation a few years later, and no longer supported as of Snow Leopard. They're sort of supported. If there is no other way to determine the owner of the file, the creator code will be used if there is one. It's the last choice though. -- 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: Problem saving files
David C. wrote: I'm using filter so that the user will see only the files with like extensions, but I've tried it without the filtering as well, with no luck. I think the heart of the issue is that when asked if the user wants to overwrite a file and they affirm that they do... ..the file *should* be overwritten instead of duplicating the name with a doubled up extension. I think Sarah's right, your code isn't checking to see if the file already has the same extension. Add this to your save handler after you get the user's file name: put .ext into tExtension -- use yours set the itemDelimiter to . if last item of tFileName tExtension then put tExension after tFilename Now you shouldn't get duplicate extensions and if the file exists it will be overwritten. -- 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: Build settings for Mac OSX
J. Landman Gay wrote: Richard Gaskin wrote: stephen barncard wrote: In the early 90s I registered a creator code BARN and a document code rtfd I know the document codes are not registered anymore (and Apple uses *rtfd*now). But my question is : Do I own my creator code forever? As forever as your memory allows: creator codes were hotly contested within Apple when the NeXT team took over, marked for deprecation a few years later, and no longer supported as of Snow Leopard. They're sort of supported. If there is no other way to determine the owner of the file, the creator code will be used if there is one. It's the last choice though. True, worth noting for files that have no extension. But a drag for a few end-users. Here's my favorite example: Fireworks uses PNG files as their native format, storing the vector info in an unused portion of the file while keeping a rasterized copy in the normal image data portion of the file. In the olden days (read before Snow Leopard) my Fireworks-created PNGs would open Fireworks when double-clicked, but PNGs created by other programs would launch those other programs. This let me have my FW PNGs work seamlessly with FW, while leaving everything else set to work seamlessly with the apps that created them. But under Snow Leopard, the seams are showing: by default all PNGs open with Preview, and in Get Info I was able to change that so that all PNGs open with FW. An improvement, but ideally I'd prefer to have only files made with FW launch FW and leave others alone. I can do that file-by-file, but that's not much of an improvement. :( Four bytes is such a small amount of metadata that I'm not sure what the problem was in maintaining creator codes, beyond the ego value of the NeXT team being able to push the older Mac team around (oh what a controversy this was on the Apple HI Dev list; they pulled the list offline for more than a year as the only way to stop the bickering). I suspect we're due for another sweeping OS revision, on the order of the Classic-OS X transition or the move from PPC-Intel, but this time involving file systems. (Backward compatibility? What's that?- Apple). I wouldn't mind so much if the move were to adopt the Linux file system (rumors that it would be the Sun file system died about a year before that platform did), removing one more arbitrary distinction between Mac and other platforms. But I guess we'll see what the removal of creator codes is for somewhere down the road -- 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: Problem saving files
I think Sarah's right, your code isn't checking to see if the file already has the same extension. Add this to your save handler after you get the user's file name: put .ext into tExtension -- use yours set the itemDelimiter to . if last item of tFileName tExtension then put tExension after tFilename Now you shouldn't get duplicate extensions and if the file exists it will be overwritten. -- Jacqueline Landman Gay Since it correctly prompts about the file replacement, I really thought that it would be handled accordingly by the Rev engine... live and learn as they say. :) I really appreciate the help folks and will give it a go as soon as I'm back on the project this afternoon.. 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: Problem saving files
BTW Jacque, This is the project we briefly discussed consultation options for, off list. I basically did an almost full re-write, greatly simplified the user interface, found the offending code that was slowing the performance and gained between 300-400 percent in the speed department. I'm a really happy camper now. :) 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: Problem saving files
David C. wrote: I think Sarah's right, your code isn't checking to see if the file already has the same extension. Add this to your save handler after you get the user's file name: put .ext into tExtension -- use yours set the itemDelimiter to . if last item of tFileName tExtension then put tExension after tFilename Now you shouldn't get duplicate extensions and if the file exists it will be overwritten. -- Jacqueline Landman Gay Since it correctly prompts about the file replacement, I really thought that it would be handled accordingly by the Rev engine... live and learn as they say. :) I just ran a test and was unable to reproduce the prompt: I used ask file whatever, and in the OS putfile dialog I typed the name of an existing file but without the extension. The dialog did not prompt that this was a duplicate name. I also tried a different extension, with the same result. The only time I could get the OS dialog to report that the file name was the same as an existing file was when I included the file extension matching the existing file. This is consistent with Rev's behavior too, since it will only overwrite the file if the complete name of the file is an exact match of an existing one. Do you have a recipe for getting the OS dialog to report a duplicate name when the extension is different? Which OS are you using? -- 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: Data Grid Form question - How do I select a field of a certain line or index in a Data Grid Form?
I thought the field editor only applied to tables, not forms? On Jul 6, 2010, at 7:40 AM, Trevor DeVore li...@mangomultimedia.com wrote: On Jul 2, 2010, at 3:13 PM, Josh Mellicker wrote: Let's say you add a row or record to a Data Grid, and want to automatically select the text of a field in that row so the user can start typing. What is the easiest way to do this? If you are already opening the field editor then this lesson shows you how to select the text in the editor when it opens: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/10102-How-Can-I-Select-The-Text-in-the-Edit-Field-When-It-Opens- Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-www.screensteps.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problem saving files
I just ran a test and was unable to reproduce the prompt: I used ask file whatever, and in the OS putfile dialog I typed the name of an existing file but without the extension. The dialog did not prompt that this was a duplicate name. I also tried a different extension, with the same result. The only time I could get the OS dialog to report that the file name was the same as an existing file was when I included the file extension matching the existing file. This is consistent with Rev's behavior too, since it will only overwrite the file if the complete name of the file is an exact match of an existing one. Do you have a recipe for getting the OS dialog to report a duplicate name when the extension is different? Which OS are you using? -- Richard Gaskin Hi Richard, I'm using the code exactly as was shown in my original post, with the exception of the actual filename and extension which I made more generic for the sake of example. Here is the code again as well: on SaveTheFile ask file Save project as: with filter MYFL file,*.myfl if it then put it into tfile put fld save list into tFiletoSave put tFileToSave into url (file: tfile .myfl) else exit to top end if end SaveTheFile I'm running Windows 7 Home Premium with admin privileges and the UAC turned on. 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: Data Grid Form question - How do I select a field of a certain line or index in a Data Grid Form?
On Jul 6, 2010, at 11:40 AM, Josh Mellicker wrote: I thought the field editor only applied to tables, not forms? You can use it with both. It is just built-in with the table. The lesson you left a comment on yesterday actually explains how to use it with a form: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7336-How-Can-The-User-Edit-Field-Content-in-a-Data-Grid-Form- Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-www.screensteps.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
Audio Plugin Update; Franklin 3D Mailing List
Hello all, Just a quick update on the audio plugin - we've picked out a set of libraries and the developers (we have two assigned to this project) are making sure the libraries are good enough for, at a minimum, Windows and Mac OS X. I think also Linux is a possibility but its still a bit early. The licensing will be about what you expect - unlimited deployment, X # of months of updates. There should be a mailing list going up soon too for it, just like we set one up for Franklin 3D (yesterday). The Franklin 3D list is here and you can subscribe to it the usual way: http://franklin3d.com/cgi-bin/mailman/listinfo/developers Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ___ use-revolution mailing list use-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: Problem saving files
David C. wrote: I just ran a test and was unable to reproduce the prompt: I used ask file whatever, and in the OS putfile dialog I typed the name of an existing file but without the extension. The dialog did not prompt that this was a duplicate name. I also tried a different extension, with the same result. The only time I could get the OS dialog to report that the file name was the same as an existing file was when I included the file extension matching the existing file. This is consistent with Rev's behavior too, since it will only overwrite the file if the complete name of the file is an exact match of an existing one. Do you have a recipe for getting the OS dialog to report a duplicate name when the extension is different? Which OS are you using? -- Richard Gaskin Hi Richard, I'm using the code exactly as was shown in my original post, with the exception of the actual filename and extension which I made more generic for the sake of example. Here is the code again as well: on SaveTheFile ask file Save project as: with filter MYFL file,*.myfl if it then put it into tfile put fld save list into tFiletoSave put tFileToSave into url (file: tfile .myfl) else exit to top end if end SaveTheFile I'm running Windows 7 Home Premium with admin privileges and the UAC turned on. Ah, I was testing on Mac. I'm not at my Win box so I won't be able to confirm there, but I suspect this is a bug/feature in Windows. Whether it's a bug or a feature depends on one's point of view; IMO it should only warn of an overwrite with an exact match, but there may be a valid reason why the OS is using a more loose definition. -- 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: Problem saving files
On Tue, Jul 6, 2010 at 10:49 AM, David C. davidoco...@gmail.com wrote: I just ran a test and was unable to reproduce the prompt: I used ask file whatever, and in the OS putfile dialog I typed the name of an existing file but without the extension. The dialog did not prompt that this was a duplicate name. I also tried a different extension, with the same result. The only time I could get the OS dialog to report that the file name was the same as an existing file was when I included the file extension matching the existing file. This is consistent with Rev's behavior too, since it will only overwrite the file if the complete name of the file is an exact match of an existing one. Do you have a recipe for getting the OS dialog to report a duplicate name when the extension is different? Which OS are you using? -- Richard Gaskin Hi Richard, I'm using the code exactly as was shown in my original post, with the exception of the actual filename and extension which I made more generic for the sake of example. Here is the code again as well: on SaveTheFile ask file Save project as: with filter MYFL file,*.myfl if it then put it into tfile put fld save list into tFiletoSave put tFileToSave into url (file: tfile .myfl) else exit to top end if end SaveTheFile I'm running Windows 7 Home Premium with admin privileges and the UAC turned on. Best regards, David C. Richard, After reading your message again I realized that just typing in the filename of an existing file *does not* create the prompt as you described *and* does overwrite the file without duplicating the extension. However, if I select the file using the mouse, I then get the prompt with the file duplication and doubled up extension. Sorry for not paying closer attention to your message. 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: Audio Plugin Update; Franklin 3D Mailing List
I look forward... J'attends avec impatience Bon souvenir de Paris René Le 6 juil. 2010 à 17:52, Lynn Fredricks a écrit : Hello all, Just a quick update on the audio plugin - we've picked out a set of libraries and the developers (we have two assigned to this project) are making sure the libraries are good enough for, at a minimum, Windows and Mac OS X. I think also Linux is a possibility but its still a bit early. The licensing will be about what you expect - unlimited deployment, X # of months of updates. There should be a mailing list going up soon too for it, just like we set one up for Franklin 3D (yesterday). The Franklin 3D list is here and you can subscribe to it the usual way: http://franklin3d.com/cgi-bin/mailman/listinfo/developers Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ___ use-revolution mailing list use-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: Running revlets on the iPad
Ooooh. My new iChat icon!! Bob On Jul 2, 2010, at 10:52 AM, Alejandro Tejada wrote: Hi Bob, Bob Sneidar-2 wrote: None of this applies to me either. I am a very gifted and well trained Chimpanzee. http://www.awrsd.org/oak/teched/computer-monkey-210.jpg ROTFL :-D -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Running-revlets-on-the-iPad-tp2273949p2276755.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
Re: Build settings for Mac OSX
Richard Gaskin wrote: I wouldn't mind so much if the move were to adopt the Linux file system (rumors that it would be the Sun file system died about a year before that platform did), removing one more arbitrary distinction between Mac and other platforms. But I guess we'll see what the removal of creator codes is for somewhere down the road I think the rationale is explained pretty well at the link I mentioned: http://www.appleinsider.com/articles/09/09/22/inside_snow_leopards_uti_apple_fixes_the_creator_code.html Apparently they were running out of creator code combinations, and it was too limited to support some of the more advanced file management Apple wants to implement: However, Apple didn't schedule a deprecation of Creator Codes just for fun, or just to be lazy, or just to fit in with lowest common denominator operating systems. Type and Creator Codes simply weren't good enough to support new OS features Apple had on the drawing board. Rather than trying to get by with doing less, Apple was set on doing more, and Creator Codes weren't up to the task. -- 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: Problem saving files
David C. wrote: BTW Jacque, This is the project we briefly discussed consultation options for, off list. I basically did an almost full re-write, greatly simplified the user interface, found the offending code that was slowing the performance and gained between 300-400 percent in the speed department. I'm a really happy camper now. :) Great! It's always better when you do it yourself. :) -- 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: Build settings for Mac OSX
On 07/06/2010 07:47 PM, J. Landman Gay wrote: Richard Gaskin wrote: I wouldn't mind so much if the move were to adopt the Linux file system (rumors that it would be the Sun file system died about a year before that platform did), removing one more arbitrary distinction between Mac and other platforms. But I guess we'll see what the removal of creator codes is for somewhere down the road I think the rationale is explained pretty well at the link I mentioned: http://www.appleinsider.com/articles/09/09/22/inside_snow_leopards_uti_apple_fixes_the_creator_code.html Apparently they were running out of creator code combinations, and it was too limited to support some of the more advanced file management Apple wants to implement: However, Apple didn't schedule a deprecation of Creator Codes just for fun, or just to be lazy, or just to fit in with lowest common denominator operating systems. Type and Creator Codes simply weren't good enough to support new OS features Apple had on the drawing board. Rather than trying to get by with doing less, Apple was set on doing more, and Creator Codes weren't up to the task. This is all rather like the Y2K problem, the IP address problem and the internet domain problem. Nobody can see exactly how things will pan out in the future. And, because of the above, the rationales that are usually dished up when the system begins to creak at the joints are usually specious. Way back when I remember an article in MacAddict that stated that Apple were to continue developing Mac OS 9 as well as launching a completely new type of OS (what morphed into OS X); of course what happened was that Mac OS 9 went down the toilet of history (or expediency ???); Mac OS X was launched (remember the truly awful Mac OS X beta ) and then the GUI was 'refined' to increasingly resemble aspects of the Mac OS 9 GUI (such as having Media and icons on a desktop). As I was moving from the UAE to Scotland while this went on I don't know what 'words of wisdom' were trotted out to justify that Apple had actually renaged on their own words: but I am sure that mostly they were a pack of half-truths spiced up with some 'sexy' buzz-words. No, I'm sure Apple didn't schedule a deprecation of Creator Codes just for fun, or just to be lazy, or just to fit in with lowest common denominator operating systems.; they probably had to deprecate them because they were up against their elastic limit; or, put it another way; Apple were unable to foresee umwhiles what was going to happen latterly. ___ use-revolution mailing list use-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: Problem saving files
On 07/06/2010 07:56 PM, J. Landman Gay wrote: David C. wrote: BTW Jacque, This is the project we briefly discussed consultation options for, off list. I basically did an almost full re-write, greatly simplified the user interface, found the offending code that was slowing the performance and gained between 300-400 percent in the speed department. I'm a really happy camper now. :) Great! It's always better when you do it yourself. :) I didn't know that camp people did it by themselves . . . :) ___ use-revolution mailing list use-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: Build settings for Mac OSX
Richmond wrote: No, I'm sure Apple didn't schedule a deprecation of Creator Codes just for fun, or just to be lazy, or just to fit in with lowest common denominator operating systems.; they probably had to deprecate them because they were up against their elastic limit; or, put it another way; Apple were unable to foresee umwhiles what was going to happen latterly. Well, to be fair, the creator/type codes were introduced almost 30 years ago. To forsee something 30 years into the future, especially in technology, would be a pretty good trick. -- 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
Devawriter Pro
On 07/02/2010 08:26 PM, Richmond wrote: Gosh, there's that professorship in Sanskrit poetry at the University of Vaikuntha just coming up; wouldn't your Mum be proud! 'Tis Devawriter Pro Demo 3 folks . . . :) With new, improved Tilaka. And for those of you who are getting FFFed off the use of function keys 'F2' and 'F3' for toggling between consonants and vowels has been replaced by a bidirectional TAB key. All owing to the good offices of Sivakatirswami. An export-crippled Demo version of my first release candidate is available here: http://andregarzia.on-rev.com/richmond/dwriterpro.html go, get it, and get typing; before you know it you'll bag that professorship. sincerely, Richmond Mathewson. ___ use-revolution mailing list use-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: Build settings for Mac OSX
On 07/06/2010 08:22 PM, J. Landman Gay wrote: Richmond wrote: No, I'm sure Apple didn't schedule a deprecation of Creator Codes just for fun, or just to be lazy, or just to fit in with lowest common denominator operating systems.; they probably had to deprecate them because they were up against their elastic limit; or, put it another way; Apple were unable to foresee umwhiles what was going to happen latterly. Well, to be fair, the creator/type codes were introduced almost 30 years ago. To forsee something 30 years into the future, especially in technology, would be a pretty good trick. Exactly; and it gave me the excuse I've been looking for to use 'umwhiles' . . . :) ___ use-revolution mailing list use-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: Build settings for Mac OSX
Hi Jacqueline Many thanks, brilliant answer, I can understand why it may have taken a little while. Best regards Cheers Steve ___ use-revolution mailing list use-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: Build settings for Mac OSX
Richmond wrote: Well, to be fair, the creator/type codes were introduced almost 30 years ago. To forsee something 30 years into the future, especially in technology, would be a pretty good trick. Exactly; and it gave me the excuse I've been looking for to use 'umwhiles' . . . :) I had to look it up, I thought it was a typo. You Scotts... -- 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: Build settings for Mac OSX
J. Landman Gay wrote: Richard Gaskin wrote: I wouldn't mind so much if the move were to adopt the Linux file system (rumors that it would be the Sun file system died about a year before that platform did), removing one more arbitrary distinction between Mac and other platforms. But I guess we'll see what the removal of creator codes is for somewhere down the road I think the rationale is explained pretty well at the link I mentioned: http://www.appleinsider.com/articles/09/09/22/inside_snow_leopards_uti_apple_fixes_the_creator_code.html Apparently they were running out of creator code combinations, and it was too limited to support some of the more advanced file management Apple wants to implement: However, Apple didn't schedule a deprecation of Creator Codes just for fun, or just to be lazy, or just to fit in with lowest common denominator operating systems. Type and Creator Codes simply weren't good enough to support new OS features Apple had on the drawing board. Rather than trying to get by with doing less, Apple was set on doing more, and Creator Codes weren't up to the task. Thanks for the link, Jacque. I figured there was a good reason for it, and like I said we'll have to wait and see what they mean by new OS features Apple had on the drawing board. Ars Technica provides a lot of good background on this too: http://arstechnica.com/search/#snow+leopard+creator+codes The irony with the current state of things is that it's ostensibly to provide more capabilities, but at the moment provides fewer. -- 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: Problem saving files
David C. wrote: Hi Richard, I'm using the code exactly as was shown in my original post, with the exception of the actual filename and extension which I made more generic for the sake of example. Here is the code again as well: on SaveTheFile ask file Save project as: with filter MYFL file,*.myfl if it then put it into tfile put fld save list into tFiletoSave put tFileToSave into url (file: tfile .myfl) else exit to top end if end SaveTheFile I'm running Windows 7 Home Premium with admin privileges and the UAC turned on. Best regards, David C. Richard, After reading your message again I realized that just typing in the filename of an existing file *does not* create the prompt as you described *and* does overwrite the file without duplicating the extension. However, if I select the file using the mouse, I then get the prompt with the file duplication and doubled up extension. Sorry for not paying closer attention to your message. Thanks for following up on that. It seems like maybe you've found a bug in either Rev or Windows, possibly caused by using the default Win settings of hiding file name extensions. If you have file name extensions hidden and select an item in the putfile dialog, it may reflect that setting by keeping it hidden from view but it's still there, giving rise to the prompt about the duplicate file name. If everything was working as expected, the string you get back would include a file name extension even if it's hidden from the user's view, so your program would be able to know exactly which file to write to. If the Windows API is returning the string to Rev without the extension even though it's present, that would be a bug in Windows. But if there's an API for returning the actual name and Rev is either using it incorrectly or using a less diligent API, that would be a bug in Rev. Either way, it may be worth a moment to file a bug report on it: http://quality.runrev.com/ Thanks for turning that up. Good find. -- 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: Problem saving files
It seems like maybe you've found a bug in either Rev or Windows, possibly caused by using the default Win settings of hiding file name extensions. On my system, I have it set where it does not hide file name extensions.. except for the hidden system files of course. If you have file name extensions hidden and select an item in the putfile dialog, it may reflect that setting by keeping it hidden from view but it's still there, giving rise to the prompt about the duplicate file name. If everything was working as expected, the string you get back would include a file name extension even if it's hidden from the user's view, so your program would be able to know exactly which file to write to. If the Windows API is returning the string to Rev without the extension even though it's present, that would be a bug in Windows. But if there's an API for returning the actual name and Rev is either using it incorrectly or using a less diligent API, that would be a bug in Rev. The inconsistency between typing or selecting with a mouse is what was throwing me for such a loop... of course it didn't help that I was too tired (brain dead) to keep track of all of the code varieties that I tried. :( Still haven't had a chance to try Jacque's work around yet, but I'm confident that she has me out of seep water. Either way, it may be worth a moment to file a bug report on it: http://quality.runrev.com/ Thanks for turning that up. Good find. Will do on the bug report... ...first one I have personally ever run across using Rev, having used it to one degree or another for almost five years now. The degrees of use though has changed quite a lot though, since I have seldom used anything but Rev over the last couple of years. 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
[Data Grid] Infinite loop with DG Table
Dear List and especially DG users, Could someone confirm this infinite loop: 1) Save your current work 2) Create a DG Table in a stack 3) Create 2 or 3 columns 4) Add 3 lines in the content tab of your DG 5) Open your message watcher 6) With the mouse, set your DG height to show only 1 or 2 lines 7) In the columns tab, hide all the columns What's happens for you in the message watcher? Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-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: Problem saving files
On Jul 6, 2010, at 10:50 AM, J. Landman Gay wrote: put .ext into tExtension -- use yours set the itemDelimiter to . if last item of tFileName tExtension then put tExension after tFilename A minor correction: the last item of tFileName in this snippet will be something like ext -- not .ext. So you should do something like the following: put ext into tExtension -- use yours -- note the absence of the dot set the itemDelimiter to . if the number of items of tFileName = 1 then -- no extension provided by user put . tExtension after tFilename else -- extension provided if item -1 of tFileName tExtension then -- wrong extension put tExtension into item -1 of tFilename end if end if -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-revolution mailing list use-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: Problem saving files
Peter Brigham MD wrote: On Jul 6, 2010, at 10:50 AM, J. Landman Gay wrote: put .ext into tExtension -- use yours set the itemDelimiter to . if last item of tFileName tExtension then put tExension after tFilename A minor correction: the last item of tFileName in this snippet will be something like ext -- not .ext. So you should do something like the following: put ext into tExtension -- use yours -- note the absence of the dot set the itemDelimiter to . if the number of items of tFileName = 1 then -- no extension provided by user put . tExtension after tFilename else -- extension provided if item -1 of tFileName tExtension then -- wrong extension put tExtension into item -1 of tFilename end if end if Oops. You're absolutely correct. Wasn't thinking. -- 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: Problem saving files
David C. wrote: Will do on the bug report... Before you submit a report, could you do a test? I don't have Win7 to test on, but we should make sure it's really excluding the extension. Try something like this from the multi-line pane in the message box: ask file Choose a file: put it When you select a file, use your click method to choose it. Then see if the extension is in the file path that appears in the message box. If it is, I don't think Rev's misbehaving. If it isn't, then Richard's on to something and there's a problem. -- 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: Problem saving files
Before you submit a report, could you do a test? I don't have Win7 to test on, but we should make sure it's really excluding the extension. Try something like this from the multi-line pane in the message box: ask file Choose a file: put it When you select a file, use your click method to choose it. Then see if the extension is in the file path that appears in the message box. If it is, I don't think Rev's misbehaving. If it isn't, then Richard's on to something and there's a problem. Jacque, As requested I entered your code in the message box.. It popped up the file dialog as expected and when I selected an existing file using the mouse, it gave me the replace file? prompt, then returned the following in the message box: C:/Users/david/Desktop/sample project/testme.txt Which is correct for the file chosen. Still running behind and haven't had a chance to try the code you and Peter cooked up. (Thanks Peter) 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
Having strange problem with the 'clone' command
I'm just trying to create a simple array of rectangles . I've created one (called, with great imagination :), R1) which has all the correct characteristics, including a width and height of 8 But when I clone it to create my other shapes, the widths and heights all come out to 120 instead of 8. I can fix this up (as I do in the following code), but I don't understand why that would be necessary (or what other properties might be different from what I expect). repeat with y = 0 to 5 repeat with x = 0 to 4 put _h01_ x y into tName clone grc R1 set the name of it to tName put the width of grc tName the width of grc R1 CR after field F set the loc of grc tName to 100 + 20*x, 150 + 20*y set the width of grc tName to 8 set the height of grc tName to 8 set the visible of grc tName to true put the width of grc tName the width of grc R1 CR after field F put grc quote tName quote and space after tGroupList end repeat end repeat what shows up in the field is 120 8 8 8 120 8 8 8 120 8 8 8 120 8 8 8 etc. I tried to create a tiny sample stack to show the problem, and initially succeeded, but at some point as I tried minor variations, it started working - and now I can't get it to fail again. The time it started working was when I changed clone invisible grc R1 to simply clone grc R1 but changing that back didn't cause the problem to recur. Any ideas ? 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
What about the new language from Apple?
Hi, I read some post about a new language that will be replace the Objective-c called xLang. Any idea? This can affect the next releases of Rev? http://9to5mac.com/node/19165 We’re leaving this one open to the floor for comment, but would like to note that operating systems must also grow, and development environments must continue to re-invent themselves as rationale to give this one air time, but there's a rumor Apple's developing a new dev language to succeed Objective-C... DF reports via Michael Tsai one Jesper, who writes: “After watching the eminently early and freely available WWDC 2010 session videos, I think my scales have finally tipped. It is my belief that Apple is definitely working on a new language to surpass Objective-C as their intended, primary, publicly recommended programming language, which I will call “xlang”.” Clang, according to Wikipedia, is a compiler front end for the C, C++, and Objective-C programming languages. It uses the Low Level Virtual Machine (LLVM) as its back end. Its goal is to offer a replacement to the GNU Compiler Collection (GCC). Development is sponsored by Apple, and the source code is licensed using a BSD-like open-source license. This could be part of the company’s plans as developers seem to be beginning to wax lyrical on how Objective-C may need tweaking. Your thoughts? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-about-the-new-language-from-Apple-tp2280329p2280329.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: Writing Externals in Pascal?
Peter, Thanks for your tips from using Free Pascal with Rebol. You have confirmed what I though from the Free Pascal Compiler (FPC) documentation, that it should be able to make libraries that are indistinguishable from those made from a C compiler. Now it is more a question of time, as I am busy with some other (paying) projects written in Revolution, and so the FPC Externals SDK really is just a side project to do in those spare(?!) moments. -- Scott McDonald RunRevPlanet.com Components, Stacks, Tools and Resources for Runtime Revolution www.runrevplanet.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: Audio Plugin Update; Franklin 3D Mailing List
Thanks for the update, Lynn. Just a quick update on the audio plugin - we've picked out a set of libraries and the developers (we have two assigned to this project) are making sure the libraries are good enough for, at a minimum, Windows and Mac OS X. I think also Linux is a possibility but its still a bit early. -- - Stephen Barncard San Francisco ___ use-revolution mailing list use-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: Problem saving files
A minor correction: the last item of tFileName in this snippet will be something like ext -- not .ext. So you should do something like the following: put ext into tExtension -- use yours -- note the absence of the dot set the itemDelimiter to . if the number of items of tFileName = 1 then -- no extension provided by user put . tExtension after tFilename else -- extension provided if item -1 of tFileName tExtension then -- wrong extension put tExtension into item -1 of tFilename end if end if -- Peter Okay folks, finally had a chance to try this, but it still doesn't seem to be quite right. Here's my new adjusted code: on SaveTheFile ask file Save project as: with filter MYFL file,*.myfl if it then put it into tFileName put myfl into tExtension -- use yours -- note the absence of the dot set the itemDelimiter to . if the number of items of tFileName = 1 then -- no extension provided by user put . tExtension after tFilename else -- extension provided if item -1 of tFileName tExtension then -- wrong extension put tExtension into item -1 of tFilename end if end if put fld save listinto tFiletoSave put tFileToSave into url (file: tFileName) else exit to top end if end SaveTheFile I verified that it works as intended when typing in a new file name. It does in fact save the data correctly. Good to go! Next, when selecting an existing file with the mouse, it *does* give me the replace file prompt, but *appears* to not overwrite the file at all. (Checking the time-stamp on the file that should have been overwritten, before and after shows that it does not change.) Yet when I open the file to read the content, the changes were in fact made! How weird is that? Does my implementation of the code that Jacque and Peter supplied look okay or maybe I should be looking for something else? Maybe I shouldn't be concerned since it is working sans the time stamp on the file. ? 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: What about the new language from Apple?
a good start is http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars/9 If I understand well, its about finer granularity and management of concurrent process. To allow, this, objective-c has be extended with new entities called blocks. Blocks have a very small footprint by comparison to threads, so actually it is easer to program because you use them extensively with almost no worry. Le 7 juil. 2010 à 01:46, JosepM a écrit : Hi, I read some post about a new language that will be replace the Objective-c called xLang. Any idea? This can affect the next releases of Rev? http://9to5mac.com/node/19165 We’re leaving this one open to the floor for comment, but would like to note that operating systems must also grow, and development environments must continue to re-invent themselves as rationale to give this one air time, but there's a rumor Apple's developing a new dev language to succeed Objective-C... DF reports via Michael Tsai one Jesper, who writes: “After watching the eminently early and freely available WWDC 2010 session videos, I think my scales have finally tipped. It is my belief that Apple is definitely working on a new language to surpass Objective-C as their intended, primary, publicly recommended programming language, which I will call “xlang”.” Clang, according to Wikipedia, is a compiler front end for the C, C++, and Objective-C programming languages. It uses the Low Level Virtual Machine (LLVM) as its back end. Its goal is to offer a replacement to the GNU Compiler Collection (GCC). Development is sponsored by Apple, and the source code is licensed using a BSD-like open-source license. This could be part of the company’s plans as developers seem to be beginning to wax lyrical on how Objective-C may need tweaking. Your thoughts? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-about-the-new-language-from-Apple-tp2280329p2280329.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
Re: Problem saving files
Does my implementation of the code that Jacque and Peter supplied look okay or maybe I should be looking for something else? Maybe I shouldn't be concerned since it is working sans the time stamp on the file. ? Sounds to me like your script and Rev are behaving fine, but Windows isn't updating the folder data immediately. OS X does that too. You have to close the current folder, open a different one, and then re-open the first to force an update. -- 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: Problem saving files
David C. wrote: As requested I entered your code in the message box.. It popped up the file dialog as expected and when I selected an existing file using the mouse, it gave me the replace file? prompt, then returned the following in the message box: C:/Users/david/Desktop/sample project/testme.txt Which is correct for the file chosen. Looks like it works okay, I don't see anything bug-worthy. -- 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: Having strange problem with the 'clone' command
Alex Tweedly wrote: I tried to create a tiny sample stack to show the problem, and initially succeeded, but at some point as I tried minor variations, it started working - and now I can't get it to fail again. The time it started working was when I changed clone invisible grc R1 to simply clone grc R1 but changing that back didn't cause the problem to recur. Any ideas ? Yeah. You've entered the Twilight Zone. Too weird. It shouldn't happen. Did you mess with the templategraphic at all? That's the only thing I can think of that might have an impact, even though it isn't supposed to. -- 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: Having strange problem with the 'clone' command
You probably know you're running into the default object size -- not sure why. Out of curiosity, you might see if the behavior occurs in a standalone, just to see if there's some gremlin in your stack. Also, in addition to the clone command, you could try using the template graphic + the create command. Scott RossiCreative DirectorTactile Media, UX Design -Original Message- From: Alex Tweedly a...@tweedly.net Sender: use-revolution-boun...@lists.runrev.com Date: Wed, 07 Jul 2010 00:23:12 To: Revolution Mail Listuse-revolution@lists.runrev.com Reply-To: How to use Revolution use-revolution@lists.runrev.com Subject: Having strange problem with the 'clone' command I'm just trying to create a simple array of rectangles . I've created one (called, with great imagination :), R1) which has all the correct characteristics, including a width and height of 8 But when I clone it to create my other shapes, the widths and heights all come out to 120 instead of 8. I can fix this up (as I do in the following code), but I don't understand why that would be necessary (or what other properties might be different from what I expect). repeat with y = 0 to 5 repeat with x = 0 to 4 put _h01_ x y into tName clone grc R1 set the name of it to tName put the width of grc tName the width of grc R1 CR after field F set the loc of grc tName to 100 + 20*x, 150 + 20*y set the width of grc tName to 8 set the height of grc tName to 8 set the visible of grc tName to true put the width of grc tName the width of grc R1 CR after field F put grc quote tName quote and space after tGroupList end repeat end repeat what shows up in the field is 120 8 8 8 120 8 8 8 120 8 8 8 120 8 8 8 etc. I tried to create a tiny sample stack to show the problem, and initially succeeded, but at some point as I tried minor variations, it started working - and now I can't get it to fail again. The time it started working was when I changed clone invisible grc R1 to simply clone grc R1 but changing that back didn't cause the problem to recur. Any ideas ? 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 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution