Need for Speed ppps

2007-07-17 Thread Beynon, Rob
Two questions came up: 1. Did I set write up for append? (Jacqueline) 2. What is the size of the output file? (Mark) I *think* I set up append properly... and the output file would be typically 1-2MB (quite small) I always think exposing my code in public is the equivalent of the dream where

Re: use-revolution Digest, Vol 46, Issue 30

2007-07-17 Thread David Glasgow
k On 16 Jul 2007, at 6:00 pm, Phil Jimmieson wrote: Hi David, do you use a relative filename for the movie? If so, try getting the filename and turning it into an absolute one. I had a problem where quicktime movies with relative filenames would work on OSX and Mac OS9, but not on

Re: QT on Windows

2007-07-17 Thread David Glasgow
Oooops! Forgot the subject line. Sorry. On 16 Jul 2007, at 6:00 pm, Phil Jimmieson wrote: Hi David, do you use a relative filename for the movie? If so, try getting the filename and turning it into an absolute one. I had a problem where quicktime movies with relative filenames would

Re: Need for Speed ppps

2007-07-17 Thread Mark Smith
Ah, I think that would explain why the append method is not providing much of a speed gain. I think it only does when the data starts getting big enough that the engine may be moving 10s of megabytes around in memory. Even so, the fact that append 'kept up with RAM with data of just 1-2

data loss in a standalone... a bug?[correction]

2007-07-17 Thread Michael Binder
Hi to all, with morning light and rested eyes, I see a mistake in my original post I wrote: In the big complex app that I have been working on, I do have a workaround. I simply repeat this line twice: set the customproperties[allDataProps] of stack whichFile \ to the

Custom Properties vs globals

2007-07-17 Thread Michael Binder
Hi Kay, so I can avoid the 'gos, now I need to change all those to .. because I need to.' moments ;-) One reason to avoid globals... suppose you have a working app that is (just for example) a calendar. It can create and save a calendar as a document (data file). You use a

Toolbar Buzilla Request

2007-07-17 Thread Scott Kane
Have added a feature request to Bugzilla item # 4443 (posted originally by Shao Shaun). Would love to see some extra votes for this. While adding a real toolbar that is crossplatform may not be entirely practical presently for the dev team I believe the addition of the little button to the

Re: Custom Properties vs globals

2007-07-17 Thread Kay C Lan
On 7/17/07, Michael Binder [EMAIL PROTECTED] wrote: If you use a substack as a calendar viewer/editor, and set the saveFlag of substack 'myCalendarViewer' to true, you can then clone the substack as many times as you like and each clone will have its own 'saveFlag'. Thanks Michael, yes I

Re: Toolbar Buzilla Request

2007-07-17 Thread Jan Schenkel
--- Scott Kane [EMAIL PROTECTED] wrote: Have added a feature request to Bugzilla item # 4443 (posted originally by Shao Shaun). Would love to see some extra votes for this. While adding a real toolbar that is crossplatform may not be entirely practical presently for the dev team I

Re: Toolbar Buzilla Request

2007-07-17 Thread Scott Kane
From: Jan Schenkel [EMAIL PROTECTED] That would be feature request number 706 http://quality.runrev.com/qacenter/show_bug.cgi?id=706 Jan - yes. I just realized this myself. Anyway - whichever - it's a feature we lack that is important in HIG related matters of Rev and one that RealBugs -

Re: Need for Speed (databases)

2007-07-17 Thread viktoras didziulis
sharing the info on how to use sqlite in memory databases from within Revolution. Just tested in on my Rev, it works, so it may be useful for you too. Say we have my.db database file. We wish to load it as an in memory database to increase query performance. Here is the algorithm in SQL:

Re: Custom Properties vs globals

2007-07-17 Thread David Bovill
On 17/07/07, Kay C Lan [EMAIL PROTECTED] wrote: I just wish to confirm that although you can: put line 3 of the cMyCustomProp of stack myStack into myVar you can't: set line 3 of the cMyCustomProp of stack myStack to myLine Yes - the latter may read well and is a nice feature request- but

Generic setprop (was: Re: Custom Properties vs globals)

2007-07-17 Thread Eric Chatonet
Hi David, Le 17 juil. 07 à 14:45, David Bovill a écrit : unfortunatley you cannot pass arrays to setprop handlers True. But this reminded me of a non documented way to handle GetProp and SetProp in Rev allowing to trigger any prop in a given custom property set in one single handler:

Stupid menubar questions

2007-07-17 Thread Ian Wood
I've not worked much with multi-window apps (apart from palettes), but am about to. OS X - if I want the same menubar to appear no matter which window is frontmost I'm going to have to copy the menubar group to each 'main' stack and set it as the menubar, correct? Sounds like a recipe for

Re: Controlling Rev apps from the command line?

2007-07-17 Thread Ian Wood
This one was never answered, but by while looking for something else I finally came across the $ entry in the dictionary... Ian On 22 May 2007, at 12:52, Ian Wood wrote: Later this year I'll be adding batch processing to one of my applications. On OS X this will be via Ken's excellent

Re: Stupid menubar questions

2007-07-17 Thread Klaus Major
Hi Ian, I've not worked much with multi-window apps (apart from palettes), but am about to. OS X - if I want the same menubar to appear no matter which window is frontmost I'm going to have to copy the menubar group to each 'main' stack and set it as the menubar, correct? Sounds like a

Re: What I did with Rev last night

2007-07-17 Thread Heather Nagey
Dear Viktoras, I'm looking at turning this thread into a series of articles for the Newsletter. I wonder if you would be interested in participating? This would make an interesting article, which would be quite easy to write up, a lot of it is here already. An article needs to be about 6

Re: Stupid menubar questions

2007-07-17 Thread Ian Wood
On 17 Jul 2007, at 15:59, Klaus Major wrote: Don't worry, check out the defaultmenubar prop in the docs :-) Doh! Win - doing the same as above (copy of group on each stack) is going to lead to duplicated screen space. Any ideas to make it look less 'cluttered'? Well, erm, there is no

Re: Paste into field issue

2007-07-17 Thread J. Landman Gay
Timothy Miller wrote: I copy a web page. A page out of Wikipedia, actually. Command-A, then Command-C. It's not a real big page. Maybe three screens. I move to my stack, already open, put the cursor in a field, and try to paste. The edit menu item blinks blue for a moment, but nothing

Re: Need for Speed ppps

2007-07-17 Thread J. Landman Gay
Beynon, Rob wrote: I *think* I set up append properly... and the output file would be typically 1-2MB (quite small) I always think exposing my code in public is the equivalent of the dream where you're walking down a street naked, but here goes... Heh. :) I know exactly what you mean. But

Re: Stupid menubar questions

2007-07-17 Thread Klaus Major
Hi Ian, On 17 Jul 2007, at 15:59, Klaus Major wrote: Don't worry, check out the defaultmenubar prop in the docs :-) Doh! :-) Win - doing the same as above (copy of group on each stack) is going to lead to duplicated screen space. Any ideas to make it look less 'cluttered'? Well, erm,

Re: Custom Properties vs globals

2007-07-17 Thread Ken Ray
On Tue, 17 Jul 2007 09:59:28 +0800, Kay C Lan wrote: I'm just trying to formulate some 'rules of thumb' of when to use custom props and when globals, so I can avoid the 'gos, now I need to change all those to .. because I need to.' moments ;-) One thing to keep in mind is that

[OT] project subcontract possiblity - COM interface

2007-07-17 Thread Jim Ault
Greetings, to those on the list who know what MS COM is and does. I am bidding on a project that will include a server communications portion that needs to work with the following: ( from their docs ) an out of process COM interface and uses XML document format for all data and system

Re: Controlling Rev apps from the command line?

2007-07-17 Thread Jim Ault
On 7/17/07 7:36 AM, Ian Wood [EMAIL PROTECTED] wrote: This one was never answered, but by while looking for something else I finally came across the $ entry in the dictionary... On 22 May 2007, at 12:52, Ian Wood wrote: Later this year I'll be adding batch processing to one of my

Re: Custom Properties vs globals

2007-07-17 Thread David Bovill
A related question I have is - say you have the principle of not changing a stack but keeping all changes external - so you want to purge everything. I guess you can still use custom properties as long as they don't get saved - so how do you ensure the stack doesnt get saved - can you use the

Need for Speed: Arrays

2007-07-17 Thread Beynon, Rob
Dick Kriesel not only suggested trying arrays but wrote some code to test this. The least I could do was try it. Hit a bug on first pass, but Dick, the filtering (searching) section took 248seconds, or 4min 13 sec. So, I guess the speed gain is once again modest. Does this mean that Rev is

Re: Paste into field issue

2007-07-17 Thread Timothy Miller
Thanks, Jim, All I can add is that I tried both command-V and paste from the Edit menu. Neither worked. On the other hand, both worked if I was copying from the Sticky note, but neither worked when copying and pasting from the web page. I wonder if this is the same bug. Maybe Jacque's on

Re: Paste into field issue

2007-07-17 Thread Jim Ault
On 7/17/07 11:23 AM, Timothy Miller [EMAIL PROTECTED] wrote: Thanks, Jim, All I can add is that I tried both command-V and paste from the Edit menu. Neither worked. On the other hand, both worked if I was copying from the Sticky note, but neither worked when copying and pasting from the

Re: Controlling Rev apps from the command line?

2007-07-17 Thread Ian Wood
On 17 Jul 2007, at 17:52, Jim Ault wrote: The reason I did not reply earlier when I saw the post is that I am interested but not very familiar with command line, etc. My take is that the environmental global variables $var are owned by apps and cannot be directly accessed, but require

Re: RC4 Implentation from pseudocode

2007-07-17 Thread Javier Miranda V.
Thank you Mark, now I'll check carefully your code to learn from it, I will also check the part concerning bitXor. Saludos and thanks again to every body in the list, hope this series of post help the people interestend in base conversions and encrypting. Javier Miranda V.

Re: Paste into field issue

2007-07-17 Thread Timothy Miller
Hi Jacque, I'm using the Harry Potter page on wikipedia for test purposes. By first doing command-A, then judiciously shift-clicking, I have isolated the source of the problem, unless I screwed it up. It appears to be the In Other Languages sidebar at the far left side of the page. It

video player time display

2007-07-17 Thread Sieg Lindstrom
I'm working for the first time with players. I'd like my stack, which will be used to work with video, to include include a running timer display (in the format minutes:seconds.tenths of seconds). I know to do the currentTime/timeScale calculation and then go from there to display in

Re: Controlling Rev apps from the command line?

2007-07-17 Thread Jim Ault
On 7/17/07 11:48 AM, Ian Wood [EMAIL PROTECTED] wrote: I've been through a fair amount of the docs regarding AppleScript, but there doesn't seem to be anything regarding VB. Any pointers? good page to read for cross-plat hints http://www.sonsothunder.com/devres/revolution/tips/iac001.htm

Re: Controlling Rev apps from the command line?

2007-07-17 Thread Ken Ray
On Tue, 17 Jul 2007 19:48:04 +0100, Ian Wood wrote: On 17 Jul 2007, at 17:52, Jim Ault wrote: The reason I did not reply earlier when I saw the post is that I am interested but not very familiar with command line, etc. My take is that the environmental global variables $var are owned by

Re: Controlling Rev apps from the command line?

2007-07-17 Thread Jim Ault
On 7/17/07 11:48 AM, Ian Wood [EMAIL PROTECTED] wrote: To be honest, the environmental variables part has me stumped (and doesn't apply to Windows anyway). I *think* it means that you can set the value of globals but it's not totally clear. Some test stacks will probably make things clearer.

Re: Paste into field issue

2007-07-17 Thread J. Landman Gay
Timothy Miller wrote: Hi Jacque, I'm using the Harry Potter page on wikipedia for test purposes. By first doing command-A, then judiciously shift-clicking, I have isolated the source of the problem, unless I screwed it up. It appears to be the In Other Languages sidebar at the far left side

Re: Filtering Columnar Data

2007-07-17 Thread Gregory Lypny
Hello Josh, Here's the final version of the function. Thanks to everyone for their suggestions. I know there are other features and better error- checking that can be added. Maybe later. It can extract roughly 75 records from 700 in 1 tick on an Intel-based iMac. Regards,

Location of a Function

2007-07-17 Thread Gregory Lypny
Hello everyone, I have a main stack with a number of stack files. The main stack is loaded, and it automatically opens the others. If I want a certain custom function to be accessible to all the stacks, where do I place it? I put it in the stack script of the main stack, but when I

Re: Paste into field issue

2007-07-17 Thread David Bovill
Jaque - I am sure this is a bug, and it has been there since MetaCard days. It would seem that the same issue effect setting the clipboardData - so its a general problem. I think this problem will become more and more important as people start to integrate web pages into their apps using

Re: Location of a Function

2007-07-17 Thread Ken Ray
On Tue, 17 Jul 2007 16:30:33 -0400, Gregory Lypny wrote: Hello everyone, I have a main stack with a number of stack files. The main stack is loaded, and it automatically opens the others. If I want a certain custom function to be accessible to all the stacks, where do I place it? I

Re: Generic setprop (was: Re: Custom Properties vs globals)

2007-07-17 Thread Mark Wieder
Eric- !!! -- Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: video player time display

2007-07-17 Thread Ken Ray
On Tue, 17 Jul 2007 11:54:31 -0700, Sieg Lindstrom wrote: I'm working for the first time with players. I'd like my stack, which will be used to work with video, to include include a running timer display (in the format minutes:seconds.tenths of seconds). I know to do the currentTime/timeScale

Re: Location of a Function

2007-07-17 Thread Richard Gaskin
Ken Ray wrote: On Tue, 17 Jul 2007 16:30:33 -0400, Gregory Lypny wrote: Hello everyone, I have a main stack with a number of stack files. The main stack is loaded, and it automatically opens the others. If I want a certain custom function to be accessible to all the stacks, where do I

Re: Paste into field issue

2007-07-17 Thread Timothy Miller
On Jul 17, 2007, at 12:53 PM, J. Landman Gay wrote: Timothy Miller wrote: Hi Jacque, I'm using the Harry Potter page on wikipedia for test purposes. By first doing command-A, then judiciously shift-clicking, I have isolated the source of the problem, unless I screwed it up. It appears to

Re: Location of a Function

2007-07-17 Thread David Bovill
I thought that calls from script in substacks pass and get trapped by scripts in their mainstack? Thats my experience and thats also what Richards nice little tutorial shows? On 17/07/07, Richard Gaskin [EMAIL PROTECTED] wrote: Put it into a backscript or a library... personally for this

Re: Paste into field issue

2007-07-17 Thread David Bovill
No - its definitely a bug and IMO a serious one. Yes there are also issues with funny characters - but in general using clipboard data / copy / paste is not reliable. On 17/07/07, Timothy Miller [EMAIL PROTECTED] wrote: On Jul 17, 2007, at 12:53 PM, J. Landman Gay wrote: Timothy Miller

Re: Paste into field issue

2007-07-17 Thread J. Landman Gay
Timothy Miller wrote: On Jul 17, 2007, at 12:53 PM, J. Landman Gay wrote: set the htmltext of fld 1 to the clipboardData[html] Well, sure. That isn't hard. The problem is going to occur with unsophisticated users, like me, who don't understand what the problem is, and suffer frustration

Re: Location of a Function

2007-07-17 Thread Ken Ray
On Tue, 17 Jul 2007 23:18:34 +0100, David Bovill wrote: I thought that calls from script in substacks pass and get trapped by scripts in their mainstack? Thats my experience and thats also what Richards nice little tutorial shows? That's true, but in Gregory's case, the stacks being opened

Re: Paste into field issue

2007-07-17 Thread J. Landman Gay
David Bovill wrote: Jaque - I am sure this is a bug, and it has been there since MetaCard days. It would seem that the same issue effect setting the clipboardData - so its a general problem. I think this problem will become more and more important as people start to integrate web pages into

Re: Custom Properties vs globals

2007-07-17 Thread Kay C Lan
Dave, Thanks for confirming that you can't set a custom prop chunk it must always be done as a whole. Ken, Thanks for the reminder about the ability to save custom props, part of my rule of thumb is if it's ever likely to end up as a 'user preference' - font size or colour etc, then make it a

Re: Generic setprop (was: Re: Custom Properties vs globals)

2007-07-17 Thread Kay C Lan
On 7/17/07, Eric Chatonet [EMAIL PROTECTED] wrote: But this reminded me of a non documented way to handle GetProp and SetProp in Rev allowing to trigger any prop in a given custom property set in one single handler: Now this is why I posted my original question, I was expecting someone to

Re: Generic setprop (was: Re: Custom Properties vs globals)

2007-07-17 Thread David Bovill
I'm a little lost in this thread - isn't this what i posted earlier - ie: To make the syntax easier I create a small suite of handlers so that i can use something like: set the model_IndexLine [3,cMyCustomProp] of stack myStack to myLine which I often abbreviate to: set the model_IndexLine

Re: Generic setprop (was: Re: Custom Properties vs globals)

2007-07-17 Thread Kay C Lan
On 7/18/07, David Bovill [EMAIL PROTECTED] wrote: I'm a little lost in this thread - isn't this what i posted earlier - ie: which I often abbreviate to: set the model_IndexLine [3] of stack myStack to myLine Yes David, I do appreciate that you did provide a one liner, but only if you've

Re: video player time display

2007-07-17 Thread Josh Mellicker
Here is a suggestion: Instructions: 1. Rename myCardName myStackName with your card and stack names 2. make a field called runningTimecode 3. then, just call the handler updateTC once It updates 10 times per second. handlers: on updateTC put convertTime(round(the

Re: Filtering Columnar Data

2007-07-17 Thread Josh Mellicker
Nice. Once again, I suggest not hardwiring theColNum because it could change... but you could always make a separate handler that figured out the column number from a header row, lookup table or other criteria, then call this handler. On Jul 17, 2007, at 1:26 PM, Gregory Lypny wrote:

Re: Need for Speed: Arrays

2007-07-17 Thread J. Landman Gay
Beynon, Rob wrote: Dick Kriesel not only suggested trying arrays but wrote some code to test this. The least I could do was try it. Thanks for taking the time, I really was curious. Hit a bug on first pass, but Dick, the filtering (searching) section took 248seconds, or 4min 13 sec. So, I

How can I zip a standalone on Win for mailing to Mac?

2007-07-17 Thread Tiemo Hollmann TB
Hello, I tried to zip the whole standalone directory with it's structure and all additional file, like plist and pkginfo and sent it to a Mac user for testing. After unzipping it he never get it to run with an error message I just don't have with me. Without knowing, what the Mac unzipper does I