More OSX Appearance Confusion

2006-05-01 Thread Arthur Urban
All my controls appear correctly under OSX, but the window backdrop does not have that light horizontal striping that is typical of Aqua/Quartz application windows. Instead it's just plain white. Have I missed a setting in Rev? Thanx! ___

Optimize This!

2006-05-01 Thread Todd Geist
Hello Everyone, I had the need to search large binary files for a string. The files could be over a gigabyte in size, so I decided not to load the whole file into ram but digest in chunks instead. This is the routine I came up with, it seems to work very quickly but I am wondering if

Re: Optimize This!

2006-05-01 Thread Scott Rossi
Recently, Todd Geist wrote: I had the need to search large binary files for a string. The files could be over a gigabyte in size, so I decided not to load the whole file into ram but digest in chunks instead. This is the routine I came up with, it seems to work very quickly but I am

Re: Optimize This!

2006-05-01 Thread Todd Geist
On May 1, 2006, at 1:20 AM, Jan Schenkel wrote: Hi Todd, Have you looked at the 'seek' command? It allows you to go straight to a certain position in the file, and then you can use 'read' to grab the chunk you're after - no repeat needed. -- open file tFilePath seek to 3 in file tFilePath

RE: Which is the best and easy-to-use database for RR

2006-05-01 Thread Scott Kane
Hi Alex, I am doing a project. I plan to use RR and a reliable database for the project. I have some questions: 1. What is the best, easy-to-use and easy-to-learn database for RR? 2. Where can I find tutorials about RR and database? I favour AltSQL from www.altuit.com Chipp and the

Re: Optimize This!

2006-05-01 Thread Alex Tweedly
Todd Geist wrote: Hello Everyone, I had the need to search large binary files for a string. The files could be over a gigabyte in size, so I decided not to load the whole file into ram but digest in chunks instead. This is the routine I came up with, it seems to work very quickly but I

Re: Optimize This!

2006-05-01 Thread Mark Smith
Todd, the only problems I see are 1) that you might miss ocurrences where the looked for string crosses chunk boundaries, and 2) You never close the file, and as I understand it from the docs, Rev will only close the file for you when the application quits. Scotts point about the size of

Re: More OSX Appearance Confusion

2006-05-01 Thread Jan Schenkel
--- Arthur Urban [EMAIL PROTECTED] wrote: All my controls appear correctly under OSX, but the window backdrop does not have that light horizontal striping that is typical of Aqua/Quartz application windows. Instead it's just plain white. Have I missed a setting in Rev? Thanx! Hi

Re: More OSX Appearance Confusion

2006-05-01 Thread Mark Schonewille
Hello Arthur, You could make a 16x16 pixels small screenshot of the background pattern you want and import that as an image control. Then set the backdrop to the id number of that image. You can also use the numbers 1 to 164 (built-in patterns). Best, Mark -- Economy-x-Talk

Re: Is WMV possible in Rev

2006-05-01 Thread Mark Schonewille
Jesse, Have you tried Flip4Mac? Having to install additional software is not very attractive for software that is distributed, but if re-encoding is not an option, Flip4Mac might be the solution. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com

Re: Optimize This!

2006-05-01 Thread Alex Tweedly
Mark Smith wrote: Todd, the only problems I see are 1) that you might miss ocurrences where the looked for string crosses chunk boundaries, and 2) You never close the file, and as I understand it from the docs, Rev will only close the file for you when the application quits. Scotts point

Re: Optimize This!

2006-05-01 Thread Jan Schenkel
--- Todd Geist [EMAIL PROTECTED] wrote: Hi Jan I did look at the seek command, but I don't get how it can be applied here. I don't know the position of the string in the file so how could I seek to it. I may be misunderstanding what seek does? Todd Oops, my bad: I hadn't

Re: Optimize This!

2006-05-01 Thread Mark Smith
I am the king of the infinite loop - in real handlers I've got into the habit of putting repeat (conditions) if the optionKey is down then exit to top until I'm sure I've got things right. I've had to force quit too many times :) Mark On 1 May 2006, at 12:09, Alex Tweedly wrote:

Re: Is WMV possible in Rev

2006-05-01 Thread Jesse Sng
Jesse, Have you tried Flip4Mac? Having to install additional software is not very attractive for software that is distributed, but if re-encoding is not an option, Flip4Mac might be the solution. Best, Mark Flip4Mac works as a Mac solution. But what if you want to embed WMV inside a

Re: Optimize This!

2006-05-01 Thread Todd Geist
Thanks Alex and Mark! I have it in place now and it is working great. Here is the final version I settled on. NOTE in my scenario, I open and close the file further up the chain because I call this function 4 times in a row. FUNCTION GetPositionInBinaryFile pPath, pString, pStart,

Re: stamp copy methods

2006-05-01 Thread Thomas McGrath III
Kurt, You may want to check out GarageBand on the Mac side that comes with the iLife software from Apple. I have been playing with it for a few months now and find it incredibly easy to use but full of powerful features. The reason I mention this is that the music notation aspect of it

Re: More OSX Appearance Confusion

2006-05-01 Thread Sean Shao
modeless stack stackName _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ use-revolution

ASCII Font?

2006-05-01 Thread Ken Ray
Does anyone know where to find a special font that was created way back in the dim times (OS 7, I believe) that displayed for each character slot a reduced character with the corresponding ASCII codes directly beneath them? So if you had a phrase like: Hey, everyone! and then changed the

Re: ASCII Font?

2006-05-01 Thread Phil Davis
Hi Ken, This isn't what you're asking for, but you might be able to modify it to give you what you need in the interim. From your message box: go stack url http://pdslabs.net/stacks/HexViewer.rev; HTH - Phil Davis Ken Ray wrote: Does anyone know where to find a special font that was

Re: ASCII Font?

2006-05-01 Thread Ken Ray
On 5/1/06 12:29 PM, Phil Davis [EMAIL PROTECTED] wrote: Hi Ken, This isn't what you're asking for, but you might be able to modify it to give you what you need in the interim. From your message box: go stack url http://pdslabs.net/stacks/HexViewer.rev; That's pretty cool, Phil!

Re: ASCII Font?

2006-05-01 Thread Roger . E . Eller
Does anyone know where to find a special font that was created way back in the dim times (OS 7, I believe) that displayed for each character slot a reduced character with the corresponding ASCII codes directly beneath them? ... I'm *dying* for this font, as it is a real help in debugging

Re: ASCII Font?

2006-05-01 Thread Chipp Walters
Hi Roger, How long does all this take? [EMAIL PROTECTED] wrote: For the purpose you describe, you can probably use this to -make- an ASCII font. This service used to be free, but now it costs $9 per font. I used it and it works pretty good. You write (or type) onto the template what you

Re: ASCII Font?

2006-05-01 Thread Roger . E . Eller
... and it works pretty good. You write (or type) onto the template what you want each letter to look like, upload it, and a font file is auto-generated. http://www.fontifier.com/ Chipp Walters wrote: Hi Roger, How long does all this take? The font generation is almost immediate. I

Re: ASCII Font?

2006-05-01 Thread Ken Ray
On 5/1/06 1:57 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Does anyone know where to find a special font that was created way back in the dim times (OS 7, I believe) that displayed for each character slot a reduced character with the corresponding ASCII codes directly beneath them? ...

Upgrading to 2.7.1

2006-05-01 Thread Gregory Lypny
Hello everyone, I just upgraded to Enterprise 2.7.1 from 2.7 and noticed that the folder Revolution Enterprise contains a sub-folder folder named 2.7.0-gm-1 with a copy of the old version of the application. Do I need to keep it? Regards, Greg

CSV and REV?

2006-05-01 Thread Garrett Hylltun
Rev 2.6.1 Greetings, I'm trying to setup a small CSV editor. I was using the itemdel and setting it to a comma, but that's not good enough for working with CSV files since most use a quote comma quote separation which allows commas to be used within the item. In another language I used, I

Re: CSV and REV?

2006-05-01 Thread Alex Tweedly
Garrett Hylltun wrote: I'm trying to setup a small CSV editor. I was using the itemdel and setting it to a comma, but that's not good enough for working with CSV files since most use a quote comma quote separation which allows commas to be used within the item. In another language I used,

Re: CSV and REV?

2006-05-01 Thread Garrett Hylltun
Alex Tweedly wrote: Not a tutorial as such - but there was a long and fruitful discussion that can be found in the archives (June and July 2004, under the subject line Another Revolution Success Story). My summary : If possible and practical, use TSV instead (tab separated values). If it

Re: CSV and REV?

2006-05-01 Thread Richard Gaskin
Garrett Hylltun wrote: Alex Tweedly wrote: My summary : If possible and practical, use TSV instead (tab separated values). If it needs to be CVS, then find this thread in the archives. There's code in there to handle the more common cases, and there was some discussion on just how weird

Changing Script In Standalone

2006-05-01 Thread Bridger Maxwell
Hey, In one of my programs I use the Set the script of object to string alot, but when I recently switched over to 2.7.1 Studio and started to make standalone programs, I noticed that this no longer works. For my test I made a field and two buttons, one button set the script of the other button

RevCon West Early Bird Deadline Extended 4 days

2006-05-01 Thread Dan Shafer
I've had a couple of emails from people asking me if we could PLEASE extend the Early Bird deadline for registratoin for the upcoming RevCon West 2006 gathering in Monterey on June 16-17. Without going into detail, there were some pretty creative arguments. Chipp and I are sufficiently amused

Re: Which is the best and easy-to-use database for RR

2006-05-01 Thread Dan Shafer
Alex. Asking which is best, easy-to-use and easy-to-learn database for RR is a bit like asking How long is a piece of string? There are so many variables that inform such a decision. Here are a few off the top of my head. 1. Do you really need a database or can you successfully store the

Re: Upgrading to 2.7.1

2006-05-01 Thread Dan Shafer
That's part of the new version-reversion strategy for Rev installs. Each new version goes into its own folder so you can always revert back to an earlier release easily if it becomes necessary. So I'm keeping my 2.7.0-gm-1 folder around as well as my 2.7.0-gm-1 folder. But I'm using the new

Re: Changing Script In Standalone

2006-05-01 Thread Dan Shafer
Bridger At leat part of the problem is that Revolution does not permit on-the-fly modification of data of any kind in a stack (app) at runtime in the standalone environment. You get around that particular limitation by storing the changeable data in a sub-stack of your app's mainstack and

Re: Changing Script In Standalone

2006-05-01 Thread Stephen Barncard
It should be mentioned that there are script limits in a standalone. 10 lines, as I remember. sqb Bridger At leat part of the problem is that Revolution does not permit on-the-fly modification of data of any kind in a stack (app) at runtime in the standalone environment. You get around

Re: Changing Script In Standalone

2006-05-01 Thread Jim Ault
Correct on the 10 'statement' limit. You may need to use create a sub stack, set the script of the stack, then start using stack 'substackname'. You are allowed 50 stacksInUse. From the Docs (2.6.1 Mac)-- Returns the limits on script length for scripts

Re: Changing Script In Standalone

2006-05-01 Thread Sarah Reichelt
This is not quite true. Rev does permit modification of data in a standalone, but this new data will not be saved unless it is a separate file to the main program. This can be a sub-stack or any external data storage mechanism. In this case, the script change should happen, provided it fits