Re: Help with paste...

2004-04-09 Thread Chipp Walters
Yeah, I already figured that part out. Turns out it's a Win engine bug only. I've bugzilla'ed it. BTW, Ken Ray tested on the MC IDE and it still didn't work correctly. Thanks to all for the help! best, Chipp Mark Wieder wrote: Chipp- Verified the error with Win2k rev v2.1.2 and 2.2 in

Re: RegEx question

2004-04-09 Thread Dar Scott
On Friday, April 9, 2004, at 12:02 AM, Yves COPPE wrote: Can someone help me to make it run fine ? Your regex will match a string that has a date in it someplace, that is, anyplace. Put a \A at the start of the regex to match the start of the string. Put a \z at the end of the regex to match

RE: RegEx question

2004-04-09 Thread Ken Ray
Put a \A at the start of the regex to match the start of the string. Put a \z at the end of the regex to match the end of the string. Interesting! I always used ^ for the beginning and $ for the end of a string match; apparently both work... Ken Ray Sons of Thunder Software Email: [EMAIL

Re: RegEx question

2004-04-09 Thread Dar Scott
On Friday, April 9, 2004, at 12:33 AM, Ken Ray wrote: Put a \A at the start of the regex to match the start of the string. Put a \z at the end of the regex to match the end of the string. Interesting! I always used ^ for the beginning and $ for the end of a string match; apparently both work...

Re: range error - or How to take the factorial of a huge number

2004-04-09 Thread Dar Scott
On Thursday, April 8, 2004, at 11:05 PM, Jim Witte wrote: This is factorial in acculator-passing-style, which is closely related to continuation-passing-style, but I can't do the CPS in my head, Is this the same as tail recursion optimization? Dar Scott

Re: RegEx question

2004-04-09 Thread Yves COPPE
Le 9 avr. 04, à 08:22, Dar Scott a écrit : On Friday, April 9, 2004, at 12:02 AM, Yves COPPE wrote: Can someone help me to make it run fine ? Your regex will match a string that has a date in it someplace, that is, anyplace. Put a \A at the start of the regex to match the start of the string.

[no subject]

2004-04-09 Thread Beat Cornaz
Hello everyone, I'm new to Rev (coming from Hypercard) and I'm delighted with the many new possibilities of Rev. My question : I made a script to move and change direction of a line (a graphic). Works well until I want the former top to be beneath the former bottom. E.g. My line runs from

Re: Help with paste...

2004-04-09 Thread Wilhelm Sanke
On Thu, 08 Apr 2004, Chipp Walters [EMAIL PROTECTED] wrote: Open up two separate copies of Rev (any version past 2.1 will do) type into the msg (don't hit return) this;that select the text and cut it go into the 2nd copy of rev and paste it into the msg. In my copies of Rev, the ';' is

A beginner's journey

2004-04-09 Thread Norman Winn
Hello again, I have received such good response, both on and off list, from my initial 'renegade from Filemaker' post that I am encouraged to continue my journey into RR even though I have not yet made much progress. If it is acceptable to the list I'd like to provide feedback of my learning

Re: Help with paste.

2004-04-09 Thread Wilhelm Sanke
Addendum. I just wrote: Tried with the 2.2RC1 and 2.2. Rev engines in the Metacard IDE using WindowsXP: Loss of ; verified if you copy between versions. This holds also when you paste into a field of the *other* version. Pasting into a word processor document like WordPad does not loose the

Opening a window on Windows?

2004-04-09 Thread Ian Wood
After a few searches of the list and the docs I've found no answer, so... I want to open a window to show the user a load of new JPEG files that have just been generated by my app. On Mac this is easily achieved with a couple of lines of AppleScript. Is there any way of recreating this on

Re: RegEx question

2004-04-09 Thread Yves COPPE
Hi Dar, Le 9 avr. 04, à 08:22, Dar Scott a écrit : On Friday, April 9, 2004, at 12:02 AM, Yves COPPE wrote: Can someone help me to make it run fine ? Your regex will match a string that has a date in it someplace, that is, anyplace. Put a \A at the start of the regex to match the start

A RunRev IDE Run Mystery!

2004-04-09 Thread David Burgun
Hi, I don't seem to understand correctly how the IDE works with regard to how the Browse and Pointer modes work. I have a Stack and before I saved it as a standalone, when I double-clicked the .rev file, it opened in the IDE but didn't actually run. Now when I double click it, it runs! I

stackFiles BUG?

2004-04-09 Thread Kevin
In the current release of Revolution one can set the stackFiles property via the Property Inspector the format of entries created is short name,long namereturn this is also true when it is accessed via transcript using get the stackFiles of stack However, when the stackFiles property

Re: Re: range error - or How to take the factorial of a huge

2004-04-09 Thread Stephen Messimer
Jim Thanks for your help. After looking at your first response I thought that It might be possible to combine the two sets of calculations and sum them but as it turns out the factorial of any number 169 results in an overflow error so it seems doing the factorials of numbers = 169 and

Can I Extract A Sound From A Stack?

2004-04-09 Thread Rob Cozens
Hi All, Problem: Find on all my computers can't find the original .au file I imported into the premier release of Serendipity Library. Question: The documentation for Export says it applies to videoClips but not audioClips. Is there a way to export an audioClip from stack to .au file, or to

Write-to-File script?

2004-04-09 Thread Gray Steifel
Help! Have converted a Hcard stack database where I use extensively a Write-to-File script to create a text file of the data base. I then convert the text file to an Excel spreadsheet where I can do further analysis, etc. But that is not relevant to my question. I cannot seem to get the

Pasing/Saving/Restoring a Card's Contents

2004-04-09 Thread David Burgun
Hi, I am trying to work out the best way to handle saving a card' contents. If I have a stack that is run from another stack in order to obtain some values from the User, what is the best way to: 1. Save the State of the Card (all it's controls). 2. Obtain the Values of the Controls from the

Re: Write-to-File script?

2004-04-09 Thread FlexibleLearning
Help! Have converted a Hcard stack database where I use extensively a Write-to-File script to create a text file of the data base. I then convert the text file to an Excel spreadsheet where I can do further analysis, etc. I cannot seem to get the scripting language in Rev. to create the file,

Re: Bugs in Bugzilla Was Re: Hello from a Filemaker renegade (Geoff Canyon)

2004-04-09 Thread Geoff Canyon
On Apr 8, 2004, at 8:50 AM, Dar Scott wrote: On Thursday, April 8, 2004, at 09:35 AM, Geoff Canyon wrote: -- Is it crashing people in Revolution? I have noticed that I have been crashing. Dar If the issue isn't in bugzilla, please enter it. If it is, great. regards, Geoff Canyon [EMAIL

Re: Can I Extract A Sound From A Stack?

2004-04-09 Thread Klaus Major
Hi Rob, Hi All, Problem: Find on all my computers can't find the original .au file I imported into the premier release of Serendipity Library. Question: The documentation for Export says it applies to videoClips but not audioClips. Is there a way to export an audioClip from stack to .au

Re: Message path question

2004-04-09 Thread Martin Baxter
Hello Kevin, Short answer is yes, I keep all my generalised handlers and functions that may be called from anywhere in library stacks and then use them. My UI stacks mostly contain local scripts that directly relate to the specific stack and the objects within it, and the mainstack contains only

Re: A beginner's journey

2004-04-09 Thread Mark Brownell
On Friday, April 9, 2004, at 02:26 AM, Norman Winn wrote: If it is acceptable to the list I'd like to provide feedback of my learning experience. I ask in this way as, being a reasonably experienced programmer, much of my report will seem like criticism of what, to many of you, will be your

Re: RegEx question

2004-04-09 Thread Dar Scott
On Friday, April 9, 2004, at 06:34 AM, Yves COPPE wrote: function CheckDate pDateToCheck return matchText(pDateToCheck,\A([1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0- 9][0-9][0-9][0-9])\z) end CheckDate doesn't give the good effect Then I goofed. I'll look at it in a couple hours. -- Dar

Re: range error - or How to take the factorial of a huge

2004-04-09 Thread Dar Scott
On Friday, April 9, 2004, at 07:15 AM, Stephen Messimer wrote: I will use the information you provided in your earlier post and see if that works. Didn't Jim provide some cool info? A couple ideas: 1. Instead of fact(200)/fact(196) do this: 197 * 198 * 199 * 200 2. Work with logs of

Re: Help with paste...

2004-04-09 Thread Pierre Sahores
Hello Chipp, This don't happen under the MacOS X 10.3.3/PWB G4 12 1Ghz nor the Suse-Linux 8.2/KDE 3.1.1/ Sony Laptop platforms. I did the test in cutting/pasteling the this;that chunk between Rev's 2.1.2 and 2.2 issues (2.1.2 to 2.1.2, 2.1.2 to 2.2, 2.2 to 2.2) without any troubble. Could we

Re: Can I Extract A Sound From A Stack?

2004-04-09 Thread Rob Cozens
copy ac sssds.au to stack xyz works fine Thank you kindly, Klaus. I'm on my way to try it now. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee. from The Triple Foole by John

Re: Editing Line Graphic [was: no subject]

2004-04-09 Thread Martin Baxter
Hello Beat and welcome, I'm not exactly clear what you are doing, but there are some oddities in editing a line graphic with the mouse and I think you have run into them. The way I would script changes to a line graphic is to set its points property by script (without selecting it). This property

Re:

2004-04-09 Thread Mark Wieder
Beat- Friday, April 9, 2004, 2:02:34 AM, you wrote: BC My question : I made a script to move and change direction of a line BC (a graphic). Works well until I want the former top to be beneath the I change the direction of lines by reversing the endpoints. See the documentation on the set the

Re: range error - or How to take the factorial of a huge

2004-04-09 Thread Stephen Messimer
Message: 4 Date: Thu, 8 Apr 2004 23:59:06 -0600 From: Dar Scott [EMAIL PROTECTED] Subject: Re: range error - or How to take the factorial of a huge number To: How to use Revolution [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII; format=flowed On

Re: stackFiles BUG?

2004-04-09 Thread J. Landman Gay
On 4/9/04 7:49 AM, Kevin wrote: In the current release of Revolution one can set the stackFiles property via the Property Inspector the format of entries created is short name,long namereturn this is also true when it is accessed via transcript using get the stackFiles of stack However,

Re: Opening a window on Windows?

2004-04-09 Thread Martin Baxter
Hello Ian, Depends what you mean by a window. If you mean a file selection dialog, you could use: answer file select a jpeg with filter JPEG Files,*.jpg,*.jpeg or if you want to get a list of files in a folder and display it in a window of your own you could use the files() function and filter

Re: Editing Line Graphic [was: no subject]

2004-04-09 Thread Richard Gaskin
My question : I made a script to move and change direction of a line (a graphic). Works well until I want the former top to be beneath the former bottom. E.g. My line runs from bottom left to top right. Now I grab the top right side and drag it down. All goes well until the the top comes within 2

Re: stackFiles BUG?

2004-04-09 Thread Kevin
In version 2.2 using the Property Inspector if you select Stack File in the drop down and set a stack file the format of the stackFiles property will be what I listed in the previous email. -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and

Re: Pasing/Saving/Restoring a Card's Contents

2004-04-09 Thread Jan Schenkel
--- David Burgun [EMAIL PROTECTED] wrote: Hi, I am trying to work out the best way to handle saving a card' contents. If I have a stack that is run from another stack in order to obtain some values from the User, what is the best way to: 1. Save the State of the Card (all it's

Re: range error - or How to take the factorial of a huge

2004-04-09 Thread Jim Witte
2. Work with logs of expressions. The MathWorld page on Stirling's approximation gives a formula for (log n!) as well. The first formula gives an *exect* (I think) derivation for ln n! as ln n! = sum(k=1..n, ln k) which is approximately (by changing that summation to an integral from 1..n

Re: use-revolution Digest, Vol 7, Issue 55

2004-04-09 Thread Cubist
In a message dated 4/9/04 9:23:30 AM, [EMAIL PROTECTED] writes: Message: 3 Date: Fri, 9 Apr 2004 11:26:16 +0200 From: Norman Winn [EMAIL PROTECTED] Subject: A beginner's journey To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII; format=flowed

Re: range error - or How to take the factorial of a huge

2004-04-09 Thread Dar Scott
On Friday, April 9, 2004, at 12:36 PM, Jim Witte wrote: The MathWorld page on Stirling's approximation gives a formula for (log n!) as well. The first formula gives an *exect* (I think) derivation for ln n! as ln n! = sum(k=1..n, ln k) This is mathematically exact, but computationally it

Re: use-revolution Digest, Vol 7, Issue 55

2004-04-09 Thread Dar Scott
On Friday, April 9, 2004, at 12:50 PM, [EMAIL PROTECTED] wrote: Thus, since the squaring the square root of a number yields the original number, on what grounds would one assert that taking the square root is *not* the inverse of squaring? Therefore, this would appear to be a case where f(x) is

Re: Opening a window on Windows?

2004-04-09 Thread Ian Wood
Sorry, I didn't make it clear enough- I want Windows to open a window showing the files on the hard drive, the equivalent of a Finder window on Mac OS. That way the user can manually do things with the files afterwards. The app makes video sequences from QTVR panoramas. If Rev could turn

Re: Opening a window on Windows?

2004-04-09 Thread Martin Baxter
Ah, I think I understand now, you want to open a Windows Explorer Window at your directory - yes?. In that case, you'll need a shell command I think. I'm hardly the world's expert on those, but the following works for me on XP. Obviously substitute your own filepath and watch that the delimiters

Re: Opening a window on Windows?

2004-04-09 Thread Ian Wood
Thanks, that looks like it should do the business, I'll try it next week when I have access to a Windows machine again. The perils of doing cross-platform development when you only have access to one of the platforms ;-) Ian On 9 Apr 2004, at 22:08, Martin Baxter wrote: Ah, I think I

controlids

2004-04-09 Thread Wouter
Hi all, A little question: In transcript one can call the cardnames, the cardids, the backgroundnames, the backgroundids of a stack. Then wouldn't it be nice to be able to do it with the controlnames and the controlids as well as these are also unique for each stack? If there is already such a

Re: Hello from a Filemaker renegade

2004-04-09 Thread Geoff Canyon
On Apr 8, 2004, at 10:55 PM, Bruce Robertson wrote: well multiple users accessing a database in a single tier enviroment are realy matter of the RDBMS, if you settle for multi-tier then it's easy to program it's logic. That's really not much of an answer, and that is one thing that continues to

Re: Hello from a Filemaker renegade

2004-04-09 Thread Brian Yennie
That's really not much of an answer, and that is one thing that continues to strike me about Rev database access discussions. They seem quite shallow and unrealistic. All the multi-user record locking etc is built into Filemaker, it is robust and easy to use. Even so, there is a long range of

ISP disables cfFile - can I use runrev as cgi?

2004-04-09 Thread John Rule
I know this was probably covered many many times...but its my turn! My ISP no longer allows cfFile (coldfusion file manipulation) on my server (for security reasons), and I need a way to write a text file to the server disk. It would also work if I can save a stack with custom propeties set, so

RE: Checking Large Fonts (was Windows defaut font gets messed up

2004-04-09 Thread Ken Ray
Jim, You can check for Large Fonts this way: on mouseUp if stsHasLargeFonts() then -- whatever you want to do end if end mouseUp function stsHasLargeFonts switch (the systemVersion) case NT 5.1 -- Windows XP case NT 5.0 -- Windows 2000 put

Re: Help with paste...

2004-04-09 Thread Sannyasin Sivakatirswami
I'm having a similar and serious problem on OSX that may relate and could possibly be the clipboard issue that Pierre mentions. I'm not so sure yet we can simply blame WinXP... witness these related problems with paste: If I Open InDesign and copy a piece of text It's (That's: curly quote,

Re: Help with paste...

2004-04-09 Thread J. Landman Gay
On 4/9/04 11:28 PM, Sannyasin Sivakatirswami wrote: If I Open InDesign and copy a piece of text It's (That's: curly quote, capital Eye, lower case t, curly apostrophe, s) Now, if I paste this into a field into Rev 2.2 on OSX, select it and run this script against it: on mouseup put the

Re: stackFiles BUG?

2004-04-09 Thread J. Landman Gay
On 4/9/04 12:49 PM, Kevin wrote: In version 2.2 using the Property Inspector if you select Stack File in the drop down and set a stack file the format of the stackFiles property will be what I listed in the previous email. I'm not seeing that here. If I click on the little folder icon and

open file with default app on Windows?

2004-04-09 Thread iMP
Hi: Does anyone know the recipe for opening a file with its default app on Windows, based on the filename extension? For example, I get a list of files in a folder. One ends with .xls. How can I open that file with Microsoft Excel and present it to the user (bring it to the frront)? Thanks