Re: Export graph image

2004-11-24 Thread xbury . cs
If you scale up the window/graph 4 times or more you will get a decent printeable image (you'll have to reduce it's size in your program or change the DPIs in your image editor. You can also cover up anything else in the screen using the systemwindow stack property (but this is not available

Re: Reading a (BIG) text file one line at a time - in reality...

2004-11-24 Thread Richard Gaskin
J. Landman Gay wrote: On 11/23/04 10:17 PM, Richard Gaskin wrote: If any of you have time to improve the buffering method below I'd be interested in any significant changes to your test results. If we want the buffering method to be as fast as possible, so as to test the method itself rather

Re: Export graph image

2004-11-24 Thread Richard Gaskin
[EMAIL PROTECTED] wrote: You can also cover up anything else in the screen using the systemwindow stack property (but this is not available for macs...) and then take your screenshot... Or you can grab the window's offscreen buffer directly -- all in script, as noted in Ken Ray's handy tip

Re: Reading a (BIG) text file one line at a time - in reality...

2004-11-24 Thread xbury . cs
Richard, There is also the issue with the buffer size which can significantly reduce the number of file reads (depending on block size, file size, number of words or lines or etc to be parsed)... There's different optimizations for this to be considered and usually on case by case basis. It's

Re: Reading a (BIG) text file one line at a time - in reality...

2004-11-24 Thread Richard Gaskin
[EMAIL PROTECTED] wrote: We still don't know the business specifics of the original poster to know if this is at all useful to him, but assuming it will be to others down the road the next logical questions are: 1. How can we generalize this so one handler can be used to feed lines to another

Re: Reading a (BIG) text file one line at a time - in reality...

2004-11-24 Thread xbury . cs
Maybe such a handler could look like this: ReadBuffered pFileName, pChunkType, pCallbackMessage, pBufferSize Your routine calls ReadBuffered and the ReadBuffered command sends the callback message to you with the next chunk as its param. Here's a challenge: can we implement callbacks in a way

Re: Reading a (BIG) text file one line at a time - in reality...

2004-11-24 Thread Richard Gaskin
[EMAIL PROTECTED] wrote: Maybe such a handler could look like this: ReadBuffered pFileName, pChunkType, pCallbackMessage, pBufferSize Your routine calls ReadBuffered and the ReadBuffered command sends the callback message to you with the next chunk as its param. Here's a challenge: can we

Re: audio input level

2004-11-24 Thread Luc Vanturenhout
ce 24/Nov/2004Mer 07:24, Dan Soneson [EMAIL PROTECTED] a écrit dans audio input level : I am trying to set the audio input level (called input volume in the Sound pane of the system preferences in Mac OS X 10.3) from within Revolution. Anyone have any experience doing this or any suggestions

Invoicing made simple

2004-11-24 Thread Bill
Has anyone written an invoicing stack? Ideally with a mySQL database -- that has lots of commenting in the code and could easily be integrated into other renrev applications. There is a filemaker pro invoice program that is called blue box which would be wonderful ported to runrev. And the sell

Re: open printing with dialog -- Windows equiv?

2004-11-24 Thread Frank D. Engel, Jr.
I was able to fix the image size problem by setting the lockLoc of the image objects to true. Still can't get the formatForPrinting, though. My code currently does something like this: close stack set formatForPrinting to false open stack make changes close stack set formatForPrinting to true

Re: Reading a (BIG) text file one line at a time

2004-11-24 Thread Gregory Lypny
Hello everyone, I've benefited immeasurably from the thoughtful comments of everyone on this list, so I'm throwing in my two cents for you to critique. The following is a primitive handler (because I'm a primitive scripter) I wrote in MetaCard a couple of years ago for reading and processing

Re: Reading a (BIG) text file one line at a time

2004-11-24 Thread xbury . cs
Gregory... Excellent tip regarding optimizing... This is quite akin to genetic algorithms (GA) in AI where a change/mutation is induced in the factors that drive the function to find the best combination among many. Your approach has the slight problem that GA avoids. If you find a better

Re: Invoicing made simple

2004-11-24 Thread Mark Talluto
On Nov 24, 2004, at 4:26 AM, Bill wrote: Has anyone written an invoicing stack? Ideally with a mySQL database -- that has lots of commenting in the code and could easily be integrated into other renrev applications. There is a filemaker pro invoice program that is called blue box which would be

Re: Reading a (BIG) text file one line at a time

2004-11-24 Thread Gregory Lypny
Agreed! Greg On Nov 24, 2004, at 10:01 AM, Xavier wrote: GA in RunRev are probably over kill. Like Neural Networks, they are better relayed to an external or a separate application via shell or applescripts. cheers Xavier ___ use-revolution

Re: Paragraph-level formatting

2004-11-24 Thread Kevin Miller
On 20/11/04 9:20 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: As I recall from a long time ago, the limitations are due to the embedded text engine that would need to be completely replaced. No indeed, a redo would not be required and this is most certainly on our to-do list for the near

Re: Reading a (BIG) text file one line at a time

2004-11-24 Thread Kevin Miller
On 23/11/04 3:58 pm, Richard Gaskin [EMAIL PROTECTED] wrote: Did you mean #2341? If so, it needn't be a show-stopper: while the Geometry Manager is a nice convenience it's by no means essential. Since long before the GM existed the engine has provided a resizeStack message which can be

Re: Reading a (BIG) text file one line at a time

2004-11-24 Thread Chipp Walters
Kevin Miller wrote: There are 3rd party tips and hints available for using this tool. Only where you get to an extreme level of complexity would it be necessary or even desirable to write your own script. Just to remind folks, I've a set of video tutorials (viewable on both Mac and PC) for the

Two questions: Drawing Normal Curve and setting start end

2004-11-24 Thread Salinas, Ruben (GE Healthcare)
I think this is getting close to what I want to do, but where do I find this DistHistoBox graphic? Is it built in? ...what am I missing here? When you say insert a graph, would that be a pre-drawn graph of a curve I put in? Sorry if these questions sound too basic.

answered! Two questions: Drawing Normal Curve and setting start end

2004-11-24 Thread Salinas, Ruben (GE Healthcare)
Never mind my questions...I got it to work. That was brilliant! Thank you Michael! ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Re: Standalone built sucessfully but uncomplete: known 2.5

2004-11-24 Thread Joël Guillod
Rob Cozens [EMAIL PROTECTED] wrote: All your libraries are there...it's just that your standalone doesn't know how to find them in the components of a Mac OS application bundle. Control-click on the standalone icon, and select Show Package Contents Sorry Rob, when I did already check that the

Re: Standalone built sucessfully but uncomplete: known 2.5

2004-11-24 Thread Frank D. Engel, Jr.
On Nov 24, 2004, at 12:46 PM, Joël Guillod wrote: Rob Cozens [EMAIL PROTECTED] wrote: All your libraries are there...it's just that your standalone doesn't know how to find them in the components of a Mac OS application bundle. Control-click on the standalone icon, and select Show Package

Re: audio input level

2004-11-24 Thread Ken Norris
On Nov 23, 2004, at 10:24 PM, [EMAIL PROTECTED] wrote: Date: Tue, 23 Nov 2004 17:09:31 -0500 From: Dan Soneson [EMAIL PROTECTED] Subject: audio input level I am trying to set the audio input level (called input volume in the Sound pane of the system preferences in Mac OS X 10.3) from within

Re: Reading a (BIG) text file one line at a time

2004-11-24 Thread Richard Gaskin
Kevin Miller wrote: I know that old-timers are used to writing scripts and this works great, but if you are a new Revolution user and want controls to lay out automatically as a window resizes, the Geometry Manager should be your first port of call. You're not dependent on it, its not your only

Re: Find command

2004-11-24 Thread David Squance
Further to my last post, the find works when the field is specified, but that wasn't necessary for other fields. Dave ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Re: audio input level

2004-11-24 Thread Frank D. Engel, Jr.
do set volume input volume 100 as AppleScript On Nov 24, 2004, at 3:58 PM, Ken Norris wrote: On Nov 23, 2004, at 10:24 PM, [EMAIL PROTECTED] wrote: Date: Tue, 23 Nov 2004 17:09:31 -0500 From: Dan Soneson [EMAIL PROTECTED] Subject: audio input level I am trying to set the audio input level

Re: Two questions: Drawing Normal Curve and setting start end

2004-11-24 Thread Michael J. Lew
At 12:00 PM -0500 24/11/04, Ruben wrote: I think this is getting close to what I want to do, but where do I find this DistHistoBox graphic? Is it built in? ...what am I missing here? It's just a graphic. Choose the Rectangle tool (you may need to click the Show Paint Draw Tools disclosure

Re: giving thanks...

2004-11-24 Thread Meitnik
Thank you to those who have helped me and others over the year(s)... Andrew ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Re: giving thanks...

2004-11-24 Thread Frank D. Engel, Jr.
Ditto On Nov 24, 2004, at 5:44 PM, [EMAIL PROTECTED] wrote: Thank you to those who have helped me and others over the year(s)... Andrew ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

audio on windows not playing

2004-11-24 Thread C List
Hi list I am in quite a fix. I am trying to get an audio file to play on windows. I am busy with this already for well about 10 hours to no avail. On my mac it's no problem at all but on the windows box (windows 2000 profesional) I can't get the file to play. I have both an aif and a wav file

Memory-type stacks (was: New stack on REV-online (Klaus Major))

2004-11-24 Thread Wilhelm Sanke
On Monday Nov 22 Klaus wrote: thanks to Cragg-san, my little memory stack is now available for download via Rev-online... Check for: klausimausi - Simple memory (about 110 KB) Enjoy! ..and examine every script!!! This stack - probably a reflection of Klaus' contribution to the Malta conference

Re: audio on windows not playing

2004-11-24 Thread Troy Rollins
On Nov 24, 2004, at 5:48 PM, C List wrote: I have both an aif and a wav file and neither will play with runrev. The aif file won't play in the windows media player either but the wav file will. (could this mean something is wrong with the media player (it's mplayer2 vers 6.42) AIF is native to

RE: audio input level

2004-11-24 Thread Dan Soneson
Frank D. Engel Jr. wrote: do set volume input volume 100 as AppleScript Thanks for the suggestion, Frank. But I get compiler errors when I try this in Rev, and in the Script Editor for Applescript, the syntax checker balks at it as well. I was hoping it would be a simple Applescript, but not

BBEdit Language Module for xTalk

2004-11-24 Thread Sivakatirswami
Last year some posted they had created an xTalk module for BBEdit. I really need that, for CGI work... Is that still available, Anyone know where? Thanks Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery [EMAIL PROTECTED] www.HimalayanAcademy.com,

Re: giving thanks...

2004-11-24 Thread Judy Perry
Yes, and thank you, Andrew, for your recipe for turkey function stew... ;-) Judy On Wed, 24 Nov 2004 [EMAIL PROTECTED] wrote: Thank you to those who have helped me and others over the year(s)... Andrew ___ use-revolution mailing list [EMAIL

Re: BBEdit Language Module for xTalk

2004-11-24 Thread Trevor DeVore
On Nov 24, 2004, at 6:39 PM, Sivakatirswami wrote: Last year some posted they had created an xTalk module for BBEdit. I really need that, for CGI work... Is that still available, Anyone know where? You can get it here: http://mangomultimedia.com/developer/revolution.htm -- Trevor DeVore Blue

Text-field validation

2004-11-24 Thread Lince m lawrence
What should I do the validate a Text-field for only numbers (including decimals)? When I used if theKey is not a number then this returns false for decimals. I need to turn it true. I am just a day old with rev (and this is my first step with programming). Please help. Thanks, Lince M

Re: Text-field validation

2004-11-24 Thread Jan Schenkel
--- Lince m lawrence [EMAIL PROTECTED] wrote: What should I do the validate a Text-field for only numbers (including decimals)? When I used if theKey is not a number then this returns false for decimals. I need to turn it true. I am just a day old with rev (and this is my first step