Save problem
Hope someone can unravel this one. In all cases, the same development file is used which consists of a main stack and 5 substacks. 1. Using V2.2 for OSX (10.2.8), when Save is selected from the file menu the following appears: Can't save stack (name) due to error: Can't open stack file. When OK is clicked, the save routine takes over and for each of the other substacks the same error msg appears. 2. Using V2.2 in the Classic mode, Save operates as it should. 3. Using 2.1.2 for OSX (10.2.8), Save operates as it should. Also noted that using V2.2 for OSX(10.2.8), Open Recent File does not list a current file. Assume that it is associated with 1. above. Regards Bob [EMAIL PROTECTED] http://home.earthlink.net/~rep.shareware ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Save problem
Hope someone can unravel this one. The same development file is used which consists of a main stack and 5 substacks. 1. Using V2.2 for OSX (10.2.8), when Save is selected from the file menu the following appears: Can't save stack (name) due to error: Can't open stack file. When OK is clicked, the save routine takes over and for each of the other substacks the same error msg appears. 2. Using V2.2 in the Classic mode, Save operates as it should. 3. Using 2.1.2 for OSX (10.2.8), Save operates as it should. Also noted that using V2.2 for OSX(10.2.8), Open Recent File does not list a current file. Assume that it is associated with 1. above. [EMAIL PROTECTED] http://home.earthlink.net/~rep.shareware ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: NumberFormat in field
Gray Steifel [EMAIL PROTECTED] wrote: How, if possible, does this work in Revolution? There is nothing as practical in RR ;-) Though, you use the format function, as below: In a budget stack, I have two sets of flds the first one to note the expenses by category, one by line the second set contains sums by category (the name prefixed par a s) the summation is provoked by a closefield (handler placed in the group script) to use the sum function I have to replace the cr by comma = on closefield put the short name of the target into lechamp replace comma with . in fld lechamp -- to replace the comma used here in Europe put fld lechamp into montants replace return with comma in montants put S lechamp into letotal put format(%3.2f,sum(montants)) into fld letotal end closefield -- Vous parlez français ? faites un tour sur le groupe francophone ! [EMAIL PROTECTED] Jetez un oeil sur RevoBlog http://revoblog.free.fr ! ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Typing in field grinds to near halt
Can you try the same task on your machine? If the situation is otherwise similar, then memory is a likely culprit (although not certainly). regards, Geoff Canyon [EMAIL PROTECTED] On Apr 10, 2004, at 5:33 PM, Sannyasin Sivakatirswami wrote: Could be... with OSX... what should I tell me beta user to do to test this? I'm a bit spoiled with a G4 with 1 gig RAM, so hard to emulate.. On Apr 10, 2004, at 11:06 AM, Geoff Canyon wrote: Could it be a memory issue? regards, Geoff Canyon [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: 2.2 WARNING - AATCHAAAAAAAA
Richard, I made a button in 2 minutes to clear all GM props took 10 seconds per object to reset the props and voila, now it works ok... This was not so hard... but why did it happen in the first place? Anyway, when the GM does work, it's a great time saver. It's fast and it is consistent. It lacks a couple features but it does the job. Thanks nonetheless for the tips and help. Xavier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Richard Gaskin Sent: Saturday, April 10, 2004 22:21 To: How to use Revolution Subject: Re: 2.2 WARNING - A MisterX wrote: Xavier wrote - Well, since 2.2, the GM crashed RR, has completely resized my fields in the wrong place (162 controls in the discrete browser I dont wish to script in a resizestack handler!) Just curious: how long did it take you to assign the Geometry Manager properties for those controls? And of the 162 controls, how many are repositioned/resized when the stack is resized? Roughly one third - roughly 60 controls. I spent around 1 to 3 hours adjusting the offsets! At a generous 30 seconds per object, if you had scripted a resizeStack handler you would have been done in half an hour and have total control over the resize behavior. -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
empty selectedChunks fails to return insertion Point values
I have a palette of html mark up tools that operate on the top window. I am unable to get the insertion point for an empty cursor from the selectedChunk function (it used to work!). A test button in the palette with its traversalOn set to false (so as not to deselect text in the top Stack). Simply: on mouseUp put the selectedChunk end mouseUp If text is selected in the top window we do get the expected response, e.g. char 4633 to 4654 of field 1 so my button, the field, and the selectedChunk function are apparently OK. But, if we simply insert the cursor somewhere and press the same button we get empty, zippo. But, the function, as documented, should return a string like this for just an insertion point: char 51 to char 50 of field 1 ===docs: Comments: The return value reports the selected text: the startChar is the first character of the selection, and the endChar is the last character. If no text is selected but the text insertion point is in a field, the startChar is the character after the insertion point, and the endChar is the character before the insertion point. In this case, the endChar is one less than the startChar. Why is this not working? OS X... Rev 2.2 Can anyone confirm this is failing also on their Mac? OS X 10.3.3 This is a nuisance, (obviously) as I have to now prompt the user to select an empty space for insertion of stand alone elements like hr class=mainHeadLineRule / br / when what is wanted is to simply place the cursor then click those respective buttons on the palette. ?? TIA Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery [EMAIL PROTECTED] www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: empty selectedChunks fails to return insertion Point values
Sannyasin, Same problem coming from a palette, but if the button is on the same stack, it works (OS 10.3.3, Rev 2.2)... Sounds like a bug to me. In fact it seems like it might have been posted before, so you might want to check Bugzilla. Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sannyasin Sivakatirswami Sent: Sunday, April 11, 2004 11:55 AM To: [EMAIL PROTECTED] Subject: empty selectedChunks fails to return insertion Point values I have a palette of html mark up tools that operate on the top window. I am unable to get the insertion point for an empty cursor from the selectedChunk function (it used to work!). A test button in the palette with its traversalOn set to false (so as not to deselect text in the top Stack). Simply: on mouseUp put the selectedChunk end mouseUp If text is selected in the top window we do get the expected response, e.g. char 4633 to 4654 of field 1 so my button, the field, and the selectedChunk function are apparently OK. But, if we simply insert the cursor somewhere and press the same button we get empty, zippo. But, the function, as documented, should return a string like this for just an insertion point: char 51 to char 50 of field 1 ===docs: Comments: The return value reports the selected text: the startChar is the first character of the selection, and the endChar is the last character. If no text is selected but the text insertion point is in a field, the startChar is the character after the insertion point, and the endChar is the character before the insertion point. In this case, the endChar is one less than the startChar. Why is this not working? OS X... Rev 2.2 Can anyone confirm this is failing also on their Mac? OS X 10.3.3 This is a nuisance, (obviously) as I have to now prompt the user to select an empty space for insertion of stand alone elements like hr class=mainHeadLineRule / br / when what is wanted is to simply place the cursor then click those respective buttons on the palette. ?? TIA Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery [EMAIL PROTECTED] www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Typing in field grinds to near halt
Well I have yet to do a long typing test, but if the player is set to a QT movie, as soon as I open the stack my CPU activity monitor peaks out completely... and this is on a G4 with 1Gig Ram. It drops back to about half, but then as asoon as I start typing in the field with a fairly normal speed, something strange happens: the CPU monitor starts jumping up to 75% usage... just as a result of typing...if I do something silly like paste huge chunks of text over and over again into the field, i can get the CPU monitor to peak right out, full. but, I'm not able to emulate failure to update the field as I type... it remains fully responsive, inserting text as fast as I can type. meanwhile the user who complained of a slow down has a G4 with only 512 K RAM... I asked him simply to quit the application and re-open it... the slow down went away. The QT audio file that is being play by the player is a 64 megabyte On Apr 11, 2004, at 5:59 AM, Geoff Canyon wrote: Can you try the same task on your machine? If the situation is otherwise similar, then memory is a likely culprit (although not certainly). regards, Geoff Canyon [EMAIL PROTECTED] On Apr 10, 2004, at 5:33 PM, Sannyasin Sivakatirswami wrote: Could be... with OSX... what should I tell me beta user to do to test this? I'm a bit spoiled with a G4 with 1 gig RAM, so hard to emulate.. On Apr 10, 2004, at 11:06 AM, Geoff Canyon wrote: Could it be a memory issue? regards, Geoff Canyon [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: empty selectedChunks fails to return insertion Point values
Yes indeed, Bugzilla Bug 1085 still unresolved.. On Apr 11, 2004, at 7:01 AM, Ken Ray wrote: Sounds like a bug to me. In fact it seems like it might have been posted before, so you might want to check Bugzilla. Ken Ray ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: xml book...
If I had to buy a book that would work well with the xml lib in rr, which book would it be to master xml tech tools? TIA, Andrew ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Telnet with RR
I'm interested in being able to telnet into a mail server and do such things as list the messages, download and delete messages. I'm a little clueless on how to do such a thing in Revolution 2.2. I know how to do it in Telnet though. Can anyone help me get started? Derek Bump Dreamscape Software Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Save problem
At 7:23 PM -0700 4/10/2004, Robert Presender wrote: 1. Using V2.2 for OSX (10.2.8), when Save is selected from the file menu the following appears: Can't save stack (name) due to error: Can't open stack file. When OK is clicked, the save routine takes over and for each of the other substacks the same error msg appears. Rev creates a backup file when it saves (with the same name as the file being saved, plus a ~ added to the end of the name), to prevent trashing the file if there's a problem during the save process. When the ~ file is saved, the original file is removed and the saved ~ file is renamed to the original file's name. This error sounds like it can't create the backup file. Is it possible that the path is too long or contains diacritical characters? (I think there was a known bug with this reported the other day.) I'd experiment with moving the stacks to another folder - closer to your home directory level and with no diacriticals or long folders names - and see whether that fixes it for the moment. -- jeanne a. e. devoto ~ [EMAIL PROTECTED] http://www.jaedworks.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RegEx question
Yves COPPE [EMAIL PROTECTED] wrote: I have a function to check if a string is a date in European format : DD/MM/ Date problems are daunting ;-) First, are you sure that the user's system date follows the DD/MM/ scheme? Second, in this sort of problem, I tend to do a convert, such as: convert tDate from system date to english date then do a simple test: if tDate is a date then dosomething else doanotherthing because the is a date test works only for the the english date format (if I am not wrong) -- Vous parlez français ? faites un tour sur le groupe francophone ! [EMAIL PROTECTED] Jetez un oeil sur RevoBlog http://revoblog.free.fr ! ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RegEx question
Le 11-avr.-04, à 22:06, Dom a écrit : Yves COPPE [EMAIL PROTECTED] wrote: I have a function to check if a string is a date in European format : DD/MM/ Date problems are daunting ;-) First, are you sure that the user's system date follows the DD/MM/ scheme? Second, in this sort of problem, I tend to do a convert, such as: convert tDate from system date to english date then do a simple test: if tDate is a date then dosomething else doanotherthing because the is a date test works only for the the english date format (if I am not wrong) Thank for the tip ! Greetings. Yves COPPE [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
How do I make a large scrolling window?
Looking at the TD, it seems that to get a window to scroll, you make a group of all the objects in it, make it the same size as the stack (iw. the same size as the window the user sees), and give the group a scrollbar. The TD and the cookbook remain silent on the question of how you get something which **needs** to scroll, i.e. how you get objects into the space outside the boundaries of the group. Clearly this must be possible, otherwise there would be no need to scroll the group in the first place. To some extent I found I can work by making the group as big as possible, putting objects into it, and then making it smaller again so that it fits the window to be scrolled. I managed it, although I find it counterintuitive, but it left me with a problem. What is not clear is what happens if you want to have the scroll distance a lot larger (let's say higher) than the available screen size: how do you get to see the far-off parts of the group in order to populate it in the first place, using the usual method of positioning objects visually? My specific requirement is to have succession of small graphics (a bit like thumbnails in a photo album, tho actually buttons, with some other accompanying objects), one above the other, covering a vertical distance of perhaps 4000 pixels. It doesn't appear that the IDE provides a way of positioning these appropriately. I would like to define the height of the group to be (say) 4000 pixels, and then make the scrollbar active immediately so that I can put my thumbnails in the appropriate places in the 'invisible' part of the scrolling window by scrolling to the appropriate part of the group. I tried this, but it didn't work (as soon as the group got bigger than the window - i.e. stack - dimensions, the scrollbar ceased to operate, as far as I could see). Clearly I'm missing something, as IMO this is quite a common requirement. Can anyone give a simple recipe to get this working? This seems like the kind of thing that has been mentioned in recent discussions about the documentation - there is no clear, illustrated 'how to' info about scrollbars, unless of course I've missed it. TIA Graham --- Graham Samuel / The Living Fossil Co. / UK France ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: xml docs from rr
from docs: Example Code -- on revStartXMLTree -- prepare a stack to hold a data subset ask Get XML data for which publisher? --[this i get if it is empty then exit to top -- stop parsing --[this i get set the currPublisher of this stack to myPublisher -- store value --[this i dont get clone stack Subtree of this stack -- new stack to hold data subset --[this i dont get end revStartXMLTree this does not make sense to me, is this correct, or missing some info here??? Help. Andrew ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: xml book...
On Sunday, April 11, 2004, at 10:44 AM, [EMAIL PROTECTED] wrote: If I had to buy a book that would work well with the xml lib in rr, which book would it be to master xml tech tools? TIA, Andrew Andrew, It depends on what you might mean by xml tech-tools. Some application developers have used XML editors to teach the use of writing in an XML editor with a back up transformation app that transforms that XML into a styled HTML page or website. So when it comes to tech-tools for content providers validated XML through the use of a schema type forces the user to add data properly for easy website deployment. Other uses for XML might be in the form of middle-ware applications for RDBMS programers or managers. Some application developers have made their own type specific versions of XML to backup application development collaborations. XML has become a recognized standard. I for instance am an anti-well-formed SGML/XML radical with my own easy version of MTML user. If you want a generalized beginning to XML as a whole then I would look at this website: http://www.xml.com/ , O'Reilly, XML.com. There are so many uses for XML that if you have a specific need you might want to learn about XML by the topic or area of interest best suited to your needs. Mark Brownell ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How do I make a large scrolling window?
The group does not need to be bigger then the window, infact, in this case, you want the group to be exactly as big as the stack. Then you set the scrollbar. Very important is to set the lockLoc of the group to true (on Size Position in the inspector check Lock Position and Size). Now to get things scrolling you could set something within the group to the target size. For example (use message box for this): set the loc of image placeholder to 10, 4000 now your group is scrollable up to 4000 pixels. You can also drag your controls within the group around to get things scrolling, just use the select grouped controls mode and drag them out of bounds. another aproach could be to generate your real controls using a script: start editing group Your groups name here put 12,20 into myCoords repeat for 200 times create button set the loc of it to myCoords --set other properties of it here add 20 to item 2 of myCoords end repeat If this is all too complex for you then just ask again! On Sonntag, Apr 11, 2004, at 22:58 Europe/Zurich, Graham Samuel wrote: ... What is not clear is what happens if you want to have the scroll distance a lot larger (let's say higher) than the available screen size: how do you get to see the far-off parts of the group in order to populate it in the first place, using the usual method of positioning objects visually? ... ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Variables
Hi, I am having trouble with stuff If I say: put button ID 1004 into gVar it appears to be accepted. So why can't I use the variable in the same way I use the button? Why do I want to do this? I am hoping to have a two-dimensional array of buttons so that, instead of referring to each button by name, I can refer to it using an array reference. Instead of saying: set the backgroundColor of button B2 to green I want to say something like: set the backgroundColor of gArray[3][7] to green Please put me out of my misery, Norman ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: use-revolution Digest, Vol 7, Issue 55
Reason numero uno: A rational number *is* a real number -- the former is a subset of the latter Is 1/3 the same as 0.333. (0.333 recurring)? Squaring 1/3 = 1/9. What does squaring 0.. give? It is a long while since I did my mathematical studies, so I could be wrong. However, my memory is that the definition of the number 1 as a real is the limit of 0.9 recurring. Anyway, I am willing to be wrong on this. I am not at home so cannot consult the books from which my learning came. All results, when using real numbers, are limits. However, as to squaring being the inverse of taking a square root try this: Take any calculator, computer, abacus, pen and paper - whatever calculating device you like - and take the square root of 2. Repeat a large number of times. Eventually you end up with the answer 1. (The OS X calculator, when it first shows 1, still holds a decimal part - continuing long enough makes it disappear). Square 1 as many times as you like and you will not get back to 2. This 'inaccuracy' can appear to be an artefact of the limits of the calculating device. It is not. The problem is that, once a result needing an infinite number of decimal places to represent it enters the system, most operations on it do not have an inverse. Take pi. This number is known to great accuracy. When taking the square root of pi do you operate on: 3.14 3.142 3.1416 Clearly, however many decimal places you choose, squaring the result will not yield pi. Algebraically, this is no problem. Anyway, I suggest any mathematical castigation I deserve be sent off list as I don't won't to clog up the list, Norman ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Hello from a Filemaker renegade
Hi, As the person originating this thread and considering moving from Filemaker to RR I am aware that I must recreate my interface and set about choosing, learning an SQL type database system. My concerns in contemplating this move are: 1. Can I reproduce enough of my interface to satisfy my client? 2. Can I solve my speed bottlenecks? This is not unrelated to (1) as, if the client sees big speed improvements here, he is likely to be tolerant of interface differences. In this respect, I think the possibilities look very good. 3. Is there anything I cannot replicate with enough effort? 4. After the initial learning curve will my productivity be greater than with competing tools? 5. As RR's scripting is proprietary it is most critical the company stick around so my investment in time will not be lost. I cannot over emphasise how important the activity and supportiveness of this list is in providing reassurance. The potential benefits of the effort are large. If I take on the problems I have a solution that I own i.e. no runtime licences, that I can sculpt in myriad fashions not available in FM. I have data/interface separation. The solution is useable over WANs. I believe I get live backups with the right DB. I have better version control and more fluid update procedure ... Norman Winn ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Telnet with RR
I'm interested in being able to telnet into a mail server and do such things as list the messages, download and delete messages. I'm a little clueless on how to do such a thing in Revolution 2.2. I know how to do it in Telnet though. There's a pop library at http://www.troz.net/Rev/ that would probably serve our needs better than telnet. Cheers Monte ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Command-click in a field
On 4/11/04 3:10 PM, Bruce Lewis wrote: Hi all, Command-click in an unlocked field seems to send a mouseup message to the field. This happens whether traversal is on or off. This does not seem to be documented. Is there any reason not to use it? It is standard behavior that has been around since the beginning, so yes, you can use it. I'll bet it is documented somewhere, though I haven't checked. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: xml uses and books to read
In a message dated 04/11/2004 08:34:20 PM, [EMAIL PROTECTED] writes: There are so many uses for XML that if you have a specific need you might want to learn about XML by the topic or area of interest best suited to your needs. -- Since custom props can't have arrays (and using prop sets are a hack from my pov) -- yet, I am using xml as a data structure only. will this help narrow down the book i should read. I am finding the rr docs to be poor and poor examples too, sorry. This is my second pass on the rr docs. But am determined to master xml, just wish I didnt have to work so hard on it. Andrew ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: xml uses and books to read
[EMAIL PROTECTED] wrote: There are so many uses for XML that if you have a specific need you might want to learn about XML by the topic or area of interest best suited to your needs. -- Since custom props can't have arrays (and using prop sets are a hack from my pov) -- yet, I am using xml as a data structure only. will this help narrow down the book i should read. I am finding the rr docs to be poor and poor examples too, sorry. This is my second pass on the rr docs. But am determined to master xml, just wish I didnt have to work so hard on it. What aspects are giving you trouble? XML is just data given structure by putting it between starting and ending tags. Though an increasing number of applications use it for data storage, its primary benefit is in exchanging data with other apps. So once you find a task for which XML would be a good way to exchange data, find out which tags the others apps use and parse those out to get the data you're after. Even better for Rev users, Rev includes a good XML library that does most of the parsing for you. If you need something in native Transcript, Ken has a great Transcript-based XML lib: http://www.sonsothunder.com/index2.htm?http://www.sonsothunder.com/products/products.htm If you need to dig deeper, the XML spec is defined at the W3C site: http://www.w3c.org/XML/ So dive in - the waters are well charted. And if you get stuck in a marsh or rapids drop in here and decribe the terrain you've encountered and chances are someone else has already navigated it and can share the benefit of their experience. -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Revolution Threaded Message Board
Is anyone interested in using a Threaded Message Board for discussing Revolution? I have the Web Space and I'd like to build one. I just want to make sure people will use it. There was a discussion some time ago on having a web based interface to this list. I prefer to use email and rules to keep my inbox clean. Cheers Monte ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Hello from a Filemaker renegade
Norman Winn wrote: As the person originating this thread and considering moving from Filemaker to RR I am aware that I must recreate my interface and set about choosing, learning an SQL type database system. My concerns in contemplating this move are: 1. Can I reproduce enough of my interface to satisfy my client? Probably more so. User interfaces are primarily event-driven, responsing to user gestures on controls. FMP is pretty much limited to two events: mouseUp on a button and menuPick in a menu item. In FMP you have only one modifiable menu, so if you need a custom file import routine you can't put it in the File menu where a user would expect it, but must place it in the Scripts menu. Rev has dozens of events to respond to, so the flexibility is almost mind-boggling when coming from FMP. For example, it's quite common for a double-click event in a list to trigger the default action, usually a button in the layout. This triggering is not possible in FMP, but is a trival extra to include in Rev: on mouseDoubleUp click at the loc of btn 1 end mouseDoubleUp Other advantages I like are the flexibility and ease of parsing using chunk expressions (get word 1 of line 2 of gMyGlobalVar), and being able to use true global variables rather than needing to add fields to a table, and many others 2. Can I solve my speed bottlenecks? This is not unrelated to (1) as, if the client sees big speed improvements here, he is likely to be tolerant of interface differences. In this respect, I think the possibilities look very good. I would be surprised if you find areas where FMP's DB outperforms the highly-optimized MySQL engine, or its UI outperforms Rev. And I don't know if this is now and option in FMP7, but in previous versions windows were not double-buffered, which gave layouts a bit of a clumsy effect during redraw (akin to Mac Classic dialogs, in which controls are drawn directly to screen one at a time rather than into a buffer and having the buffer copied over in one move). Rev allows you control over double-buffering (just set the alwaysBuffer of a stack to true), making for a very smooth, modern-feeling redraw. 3. Is there anything I cannot replicate with enough effort? I've come across nothing I can't deliver more gracefully in Rev. Some things are easier than others, as it true with any system, but overall the balance I find with Rev is quite favorable. I still like FMP for internal databases -- my billing system is built in FMP (though I'm slowly migrating portions to Rev). FMP is a great way to put together workgroup solutions really quickly with minimal effort. But for client deliverables, though I like to include FMP in our tools evaluation matrix at the outset of a new project, it usually gets booted early on because of its minimal UI flexibility. 4. After the initial learning curve will my productivity be greater than with competing tools? In my experience, yes. As a true scripting language you'll get farther than with the confines of FMP's point-and-click scripting, and as a very-high-level language you'll get more done per line than in most other languages. 5. As RR's scripting is proprietary it is most critical the company stick around so my investment in time will not be lost. I cannot over emphasise how important the activity and supportiveness of this list is in providing reassurance. The Rev engine was acquired by Runtime Revolution Ltd. last year, after having been in the market for 13 years under its former name, MetaCard. With almost no marketing, MetaCard Corp. was able to keep expanding the engine and the number of supported platforms without difficulty, and with Runtime Revolution Ltd's strong marketing efforts (they just won a MacEddy for v2.2) there should be no reason for this growth to slow down. Of course, if you've been in the business as long as I have you know that products come and go, even from big companies like Oracle and Sybase. But enough people have enough invested in the engine and it has a sufficiently strong and well-demonstrated value proposition that I have confidence in it being around for many years to come. MySQL, of course, looks like it's going to be here a very, very long time. The potential benefits of the effort are large. If I take on the problems I have a solution that I own i.e. no runtime licences, that I can sculpt in myriad fashions not available in FM. I have data/interface separation. Amen. De-coupling UI, logic, and data carries tremendous value, and is easy to do with Rev. In a way, Rev could be said to be far closer to 4D than to FMP, as 4D provides a rich programming language and event-driven UIs. But even then, IMNSHO comparisons favor Rev's simpler language and greater variety of supported platforms, not to mention the strength of relying on MySQL for storage and retrieval, which is fast becoming a de-facto standard. -- Richard Gaskin Fourth
Re: precision and reals
sez [EMAIL PROTECTED] Reason numero uno: A rational number *is* a real number -- the former is a subset of the latter Is 1/3 the same as 0.333. (0.333 recurring)? Yes, it is. Squaring 1/3 = 1/9. What does squaring 0.. give? If you square the infinitely recurring decimal .. you get the infinitely recurring decimal .1... So yes, squaring 1/3 gives you 1/9 regardless of whether you do it as real or rational. Just for grins, try squaring .3, .33, .333, and so on, with an ever-increasing number of 3s after the decimal point. Are there any discernable patterns in the results? It is a long while since I did my mathematical studies, so I could be wrong. However, my memory is that the definition of the number 1 as a real is the limit of 0.9 recurring. It is -- but .9... is *not* what you get when you square .... You appear to be confusing two different quantities here. All results, when using real numbers, are limits. Nope. All results, when using *limited-precision approximations of* real numbers, are limits. However, as to squaring being the inverse of taking a square root try this: Take any calculator, computer, abacus, pen and paper - whatever calculating device you like - and take the square root of 2. Repeat a large number of times. Eventually you end up with the answer 1. (The OS X calculator, when it first shows 1, still holds a decimal part - continuing long enough makes it disappear). Square 1 as many times as you like and you will not get back to 2. This 'inaccuracy' can appear to be an artefact of the limits of the calculating device. It is not. Sure it is. A calculating device with *infinite* precision *would not* exhibit the behavior you describe above. The problem is that, once a result needing an infinite number of decimal places to represent it enters the system, most operations on it do not have an inverse. Nope. There's the infinite-precision real number you'd *like* to work with... and there's the *approximation to* that real number that you're *forced* to work with, when your system only allows for *finite* precision. Two different numbers, even if they are generally very close to one another. Take pi. This number is known to great accuracy. When taking the square root of pi do you operate on: 3.14 3.142 3.1416 You use whichever you like; just be aware that each of those numbers is merely an *approximation* *of* the *true* value of pi. How close of an apporximation is good enough? You tell me... Clearly, however many decimal places you choose, squaring the result will not yield pi. Sure -- because any *finite* number of decimal places in the expansion of pi *is* *not* *pi*. Why would you expect to get *pi*, if you square the root of some number which *isn't* pi? Anyway, I suggest any mathematical castigation I deserve be sent off list as I don't won't to clog up the list, Actually, I thought that your misconception touched on a point that's well worth reminding people of: The limits of precision in our computing machinery. Just as the map is not the territory, so it is that an N-digit approximation of a real number is not *the number*! ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: use-revolution Digest, Vol 7, Issue 66
On Apr 11, 2004, at 8:32 PM, Graham wrote: Looking at the TD, it seems that to get a window to scroll, you make a group of all the objects in it, make it the same size as the stack (iw. the same size as the window the user sees), and give the group a scrollbar. The TD and the cookbook remain silent on the question of how you get something which **needs** to scroll, i.e. how you get objects into the space outside the boundaries of the group. ... and shortly after, BVG wrote: ... Now to get things scrolling you could set something within the group to the target size. ... This is the best way I have found to do this. I make a graphic object as big as the expected contents of the group. It can be adjusted later if needed. Make the graphic small at first, then group it, add the scroll bar to the group, size the group to the window and lock it, then set the dimensions of the graphic. You can also drag your controls within the group around to get things scrolling, just use the select grouped controls mode and drag them out of bounds. I've not had any luck with this method. Between the automatic sizing and scrolling of the group while you are trying to work, the group gets really twitchy and things can get stuck, or dance around while you try to drag them. Having a panel to work off of calms it down, but it's still tricky to work with manually. You'll notice that the scroll bar disappears when you are in edit group mode, so you have to leave that mode to scroll the group. To make it even trickier (with Rev 2.1.2 on OS X) the arrow tool won't operate it when you first leave edit group mode; you have to select the browse tool, then the arrow tool again. If you are putting lots of the same type of object in the group, you can use this trick: don't use edit group mode; put the first object in the group, then use Select Grouped Controls and select and duplicate the object -- since it is in a group, the copy is too. HTH, Jim Lyons ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Save problem
Hi Jeanne. Thank you for your response. Names are short and no diacritical characters. Put all stacks into a new folder without success. Finally created a new main stack and new substacks to mimic the original. Then I copied the cards of all the original stacks to their new respective stacks. Also copied the scripts of the original stacks to their respective new stacks. This solved the Save problem. Since all scripts in the new stacks and copied cards are the same, I am at a loss as to what went wrong in the original using OSX, Rev 2.2 . Anyway, it is working now. Regards Bob At 7:23 PM -0700 4/10/2004, Robert Presender wrote: 1. Using V2.2 for OSX (10.2.8), when Save is selected from the file menu the following appears: Can't save stack (name) due to error: Can't open stack file. When OK is clicked, the save routine takes over and for each of the other substacks the same error msg appears. Rev creates a backup file when it saves (with the same name as the file being saved, plus a ~ added to the end of the name), to prevent trashing the file if there's a problem during the save process. When the ~ file is saved, the original file is removed and the saved ~ file is renamed to the original file's name. This error sounds like it can't create the backup file. Is it possible that the path is too long or contains diacritical characters? (I think there was a known bug with this reported the other day.) I'd experiment with moving the stacks to another folder - closer to your home directory level and with no diacriticals or long folders names - and see whether that fixes it for the moment. -- jeanne a. e. devoto ~ [EMAIL PROTECTED] http://www.jaedworks.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How do I make a large scrolling window?
Hi Graham, Date: Sun, 11 Apr 2004 22:58:13 +0200 From: Graham Samuel [EMAIL PROTECTED] Subject: How do I make a large scrolling window? What is not clear is what happens if you want to have the scroll distance a lot larger (let's say higher) than the available screen size: how do you get to see the far-off parts of the group in order to populate it in the first place, using the usual method of positioning objects visually? --- Make a large image and group it a smaller size so that it scrolls. Then edit the group, adding objects where you want them. I made a metamap set that scrolls via mousemove techniques. I could have added scrollbars to the group, but I didn't want them in that case. The large map is 3ft x 4 ft. That's waaay offscreen and even waaay way larger than the window it's in. As such, it's a big file, and not practical for emailing. However, you're in luck. I made a demo that shows how it works, same basic scripts. I added a couple of buttons just now by editing the group. This I can send if you want to take a look. It scrolls via the scrollbars _or_ the mousemove routine, which backscrolls the scrollbars correctly at the same time. Might give you some ideas. OK to send it to you offlist? Ken N. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: xml kinds
In a message dated 04/11/2004 09:57:29 PM, [EMAIL PROTECTED] writes: If you like, you can look at my XML Library, which is done totally in Transcript. The docs are really clear about XML and how the library is used. -- before I study using your flavor of xml, how is better or different from rrxml? the xml.com site has overwhelming info, where do I start reading and not to become frustrated with features not in rrevxml tools? I maybe slow sometimes, but once I get it, its gotten deep into me ;-) andrew ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
[no subject]
Looking at the TD, it seems that to get a window to scroll, you make a group of all the objects in it, make it the same size as the stack (iw. the same size as the window the user sees), and give the group a scrollbar. The TD and the cookbook remain silent on the question of how you get something which **needs** to scroll, i.e. how you get objects into the space outside the boundaries of the group. Clearly this must be possible, otherwise there would be no need to scroll the group in the first place. To some extent I found I can work by making the group as big as possible, putting objects into it, and then making it smaller again so that it fits the window to be scrolled. I managed it, although I find it counterintuitive, but it left me with a problem. What is not clear is what happens if you want to have the scroll distance a lot larger (let's say higher) than the available screen size: how do you get to see the far-off parts of the group in order to populate it in the first place, using the usual method of positioning objects visually? Make the scrolling group, as described above as height that fits in your window design. Now lock the size and position. Click the select Grouped button in the Rev task bar Select a button that is in your group and duplicate it. Move it downward until it almost disappears at the bottom of the group mover the thumb position of the groups elevator down. Now duplicate another button. Using this method you can create a a group that contains a column containing a fairly large number of buttons all of which may be assigned icons. Regards, Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 http://www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools -- version 1.0.5 available Now! ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: xml kinds
If you like, you can look at my XML Library, which is done totally in Transcript. The docs are really clear about XML and how the library is used. -- before I study using your flavor of xml, how is better or different from rrxml? RR's XML is done with a DLL, was written in C++ (I believe) and supports SOAP and DTDs. The documentation is what you have in the Transcript Dictionary and the SOAP examples. My XML Library is done in pure Transcript and the documentation is included. No DLLs need to be used, and if you get the Standard version, you can tweak the XML parsing to your heart's content to make custom decisions based on certain tags (if you like). Main difference is that the RR XML DLL is faster and does more, but is not as flexible or well documented as my library. HTH, Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Hello from a Filemaker renegade
In a way, Rev could be said to be far closer to 4D than to FMP, as 4D provides a rich programming language and event-driven UIs. But even then, IMNSHO comparisons favor Rev's simpler language and greater variety of supported platforms, not to mention the strength of relying on MySQL for storage and retrieval, which is fast becoming a de-facto standard. Just remember that according to the terms of the MySQL license, if you haven't used the commercial license (and I suspect most people conveniently ignore this) you are obligated to release the source of your solution for free. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: empty selectedChunks fails to return insertion Point values
I have a palette of html mark up tools that operate on the top window. I am unable to get the insertion point for an empty cursor from the selectedChunk function (it used to work!). A test button in the palette with its traversalOn set to false (so as not to deselect text in the top Stack). Does this not work? on mouseUp go stack myStack put the selectedChunk end mouseUp /H ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RegEx question
Date problems are daunting ;-) First, are you sure that the user's system date follows the DD/MM/ scheme? Second, in this sort of problem, I tend to do a convert, such as: convert tDate from system date to english date then do a simple test: if tDate is a date then dosomething else doanotherthing because the is a date test works only for the the english date format (if I am not wrong) Hmmm... Not exactly, Yves: put the seconds is a date returns true. /H ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Hello from a Filemaker renegade
Le 12 avr. 04, à 01:43, Norman Winn a écrit : Hi, As the person originating this thread and considering moving from Filemaker to RR I am aware that I must recreate my interface and set about choosing, learning an SQL type database system. My concerns in contemplating this move are: 1. Can I reproduce enough of my interface to satisfy my client? Yes, for sure. 2. Can I solve my speed bottlenecks? This is not unrelated to (1) as, if the client sees big speed improvements here, he is likely to be tolerant of interface differences. In this respect, I think the possibilities look very good. Yes. RR + a rock-solid SQL db server (PostgreSQL or FireBird prefered there) will let you get more speed improvements than you will ever need. In using this kind of solutions, both the speed and the security/integrity of the dats are never going to be a problem anymore. Under the *nixes platforms, to handle the same tasks, the RR engine runs 60 times faster than the 1.4.x issue of the JVM. On the database side, it's no really ways to compare FileMaker and PostgreSQL in about speed considerations : As a basic datafiles system FMP is going slower and slower with the growing files where the response-time to queries is almost not indexed on the length and the number of the tables handled by a PostgreSQL server. 3. Is there anything I cannot replicate with enough effort? No. 4. After the initial learning curve will my productivity be greater than with competing tools? Yes. Three months after switching from a flat-files db paradigm to PostgreSQL, i had learned all what i needed to know about running PostgreSQL as an RR back-end db system. 5. As RR's scripting is proprietary it is most critical the company stick around so my investment in time will not be lost. I cannot over emphasise how important the activity and supportiveness of this list is in providing reassurance. To get the confidence of the customers, the best is to explain (and show by the results) how much the use of RR+SQL, instead of Java+object/relational mapping+SQL as an example, make sense in both terms of Time-to-Market and Security... In about security, Java coding and against the last tendances who says it's good to use as many frameworks as possible to integreate prebuild jsp/java-beans, we have to remerber that only core java coding let us control what we are putting in the boxes... The potential benefits of the effort are large. If I take on the problems I have a solution that I own i.e. no runtime licences, that I can sculpt in myriad fashions not available in FM. I have data/interface separation. The solution is useable over WANs. I believe I get live backups with the right DB. I have better version control and more fluid update procedure ... True ! I'm using MC/RR to build WAN Web/ERP's n-tier apps since 1998 and, even if i'm always watching around to learn how others are doing (Java, PHP and so on...), i just know that there are no best ways, for me, to design, code, deploy and handle such kind of apps than in using MC/RR in about the application's logic and a rock-solid ACID SQL datawarehouse solution as the backend system. Hope this can help :) Best, Pierre Norman Winn ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours [EMAIL PROTECTED] GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom:+33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection académique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire delta de productivité ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Command-A not working in OSX Standalones
OS X 10.3.3 rev 2.2 Please try this and confirm or tell me you can get it workging: I have this button contents in pulldown button menu named Edit Select All/A Cut/X Copy/C Paste/P and this in the script: on menuPick pWhich switch pWhich case Cut cut break case Copy copy break case Paste paste break case Select All if the mode of the topStack is not 1 and the selectedField is empty then beep exit menuPick end if if the selectedField is not empty then if the lockText of the selectedField then exit to MetaCard select text of the selectedField end if end switch end menuPick this works in the IDE... but if I build a stand alone and use it as a player and open a stack with the above button... the cmd-X, cmd-C, cmd-P all work as expected when text is selected. But if the insertion point is in a field and you hit cmd-A, nothing happens... if I chose it from the menu, it works, but now with the cmd-A key?? Any clues on how to fix this? Cmd-A to select text is a universally expected behavior. Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery [EMAIL PROTECTED] www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution