Re: rev sockets driven apps...
Hi Troy, Le 23 mars 06 à 03:26, Troy Rollins a écrit : On Mar 15, 2006, at 4:41 PM, Pierre Sahores wrote: Gohead and don't hesite about more details, if that can help ;-) Perhaps could you have a look at this link and binded example app material : it's a short resume of the way i'm running Rev TCP sockets application's servers under Linux and OSX since 1998. Don't hesite to ask for more closely explaintions. http://istream.homeunix.com/insead/index_en.html Hi Pierre, I've finally had a chance to review the documents above. That is very cool stuff, but leaves me wondering... if what I want is a socket server, why do I need apache and php? I don't have any need of web pages or html, strictly socket communications. Is there some other advantage that I am missing, or are we really talking about two different things? Yes ;) Because Apache, PHP or PostgreSQL are natively working in multiprocessing mode, any time you stick a Rev application in betwin them, this Rev app will be coached by those three other components in multiprocess mode even if Rev (monoprocess able only) will not have to deal by it-self about multiprocessing. In practice, Rev just have to care about replying to the Apache-PHP requests it receive and the queries order is fully managed by Apache-PHP when Rev is acting as the httpd client app and by PostgreSQL when Rev is acting as the PostgreSQL application server app. The main advantage is that this way make us sure that Rev has just to do its own job (run transcript code) without having to manage any multiprocessing or multithreading queue tasks. On both sides of the Rev app, Apache-PHP and the SQL deamon are full handling this for Rev. So, even if you just want to use Rev to run text containts (instead of html) trough TCP sockets, it's always a rock-solid solution to have Apache running in front in your Rev server. Second : with the PHP sockets listener running in betwin Apache and Rev, the socket translation betwin Apache:80 and Rev:what you want is always a very good solution to make sure that your Rev app is 100% unbindable from the intenet outside world. Only Apache is authorised to speak to it : in about the task of the security of your n-tier app, this can realy do matter... Best, Thanks. -- Troy RPSystems, Ltd. http://www.rpsystems.net -- Pierre Sahores www.sahores-conseil.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Ftp and cross platform issues...
Mark Wieder wrote: John- Thursday, March 23, 2006, 11:36:57 AM, you wrote: My new question is what Firewall exception needs to be entered in the built in WindowsXP Firewall software to make the FTP stack work, without having to turn the built in Windows Firewall completly off? Well, my opinion, take it or leave it, is that there's no excuse for having the builtin firewall turned on. No excuse ? What would you do with a laptop that sometimes gets used on public networks (e.g. Internet cafes, public wifi nets, etc.)? I keep Win-XP Firewall on most of the time, and disable it temporarily when I have a problem and if it is safe to do so. If I have (e.g. Rev FTP problems) while using an unsafe network, I find another way to do it. (Plea - auto-updating stacks *should* provide a way to download the update to somewhere local and up date from there, please. Not only does it help with this problem, but also helps if you have multiple machines and a slow network connection - e.g. when your DSL is down, and you are using your fall-back dial-up connection). That's one of the first things I check for when I'm troubleshooting a system with network problems. If your computer is otherwise unprotected on a broadband connection then I think you're better off with a hardware solution - go spend a few bucks and get thee behind a router, then configure the firewall that's built into it. I generally agree - but I do think there are some circumstances where a built-in firewall is required. -- Alex Tweedly http://www.tweedly.net No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date: 20/03/2006 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Setting up a team...
At the moment we do websites and that's it. However, we've recently been bidding for bigger and bigger jobs that although the customer thinks hey, that'd be cool on a browser, I think that their users (internal that is) would feel far happier with a client application. So, as the Tech director of the company, it's my job to source the best method of doing these things. Now, I got RunRev as a hobby thing. I like programming and I like the challenge of new stuff, and this seemed a good toy to take me away from the humdrum of office life (busman's holiday I know, but us geeks are like that). However while I'm sat in a meeting the other day listening to some requirements, it hit me like a bolt that RunRev could do all and more of what was required. So, totally hypothetical at the moment, but let's say we decided to write some stuff in RunRev. We've got a small dev team of three PHP programmers and although they may find it fun, we really don't want them to take their eye off the ball. So I have a dilemma. Do I go looking for a RunRev programmer, do I freelance our requirements or do I take someone on and train them in the art of Transcript? Open discussion really, what would you do? Andy. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Setting up a team...
On 3/24/06 1:28 AM, Andy Calloway [EMAIL PROTECTED] wrote: snip Do I go looking for a RunRev programmer, do I freelance our requirements or do I take someone on and train them in the art of Transcript? You may have the best luck hiring a consultant who is very experienced in PHP to come in and go through a few meetings, then give you set of recommendations. This would be a couple days of his time, and maybe a bit of travel, but your idea seems to be a strong departure in your business model, and worth valuable investigation. The reason for the PHP background is that there would be no language barrier. A world-class consultant is worth his weight in gold. I know, because I just had a 2 hour consult with one in early Feb, and my business will be reaping the rewards for the next few years. He was able to confirm some of our conclusions, dash many of them, then put forth several nuggets that led us in highly productive directions. Less than 4 weeks later we saw results in the bottom line! PS Don't forget about some of the developed products by people on this list, such as altBrowser by Altuit, and work by Fourth World, etc. The Rev site has a list of consultants. Appropriately, I am not on that list since I only develop Rev tools for my own business use. Jim Ault Las Vegas On 3/24/06 1:28 AM, Andy Calloway [EMAIL PROTECTED] wrote: At the moment we do websites and that's it. However, we've recently been bidding for bigger and bigger jobs that although the customer thinks hey, that'd be cool on a browser, I think that their users (internal that is) would feel far happier with a client application. So, as the Tech director of the company, it's my job to source the best method of doing these things. Now, I got RunRev as a hobby thing. I like programming and I like the challenge of new stuff, and this seemed a good toy to take me away from the humdrum of office life (busman's holiday I know, but us geeks are like that). However while I'm sat in a meeting the other day listening to some requirements, it hit me like a bolt that RunRev could do all and more of what was required. So, totally hypothetical at the moment, but let's say we decided to write some stuff in RunRev. We've got a small dev team of three PHP programmers and although they may find it fun, we really don't want them to take their eye off the ball. So I have a dilemma. Do I go looking for a RunRev programmer, do I freelance our requirements or do I take someone on and train them in the art of Transcript? Open discussion really, what would you do? Andy. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: last 2.6x version
Jeff, Yes, 2.6.1 is the last 2.6.x version of Revolution for Mac OS 9. Just warning: this version doesn't seem to work in Mac OS 8.6 and earlier. Rev 2.7 is not available for Mac OS 9. If you want to continue developing for Classic Mac OS, I'd send an e-mail to support and request for a Classic engine that is compatible with Rev 2.7 and later. Best, Mark jeffrey reynolds wrote: Hi, What was the last 2.6 version or rev? was it 2.6.1? i looked on the ftp and the last thing there on the rev ftp download was v261. if there is a later version where would i look to get a copy of it. I need to support some apps in os9 so need to stay in 2.6 for this. thanks jeff -- Consultant and Software Engineer mailto:[EMAIL PROTECTED] http://www.economy-x-talk.com eHUG coordinator mailto:[EMAIL PROTECTED] http://www.ehug.info Advertise with us and reach 1000 truely interested internet users every month. See http://economy-x-talk.com/advertise.html for more information. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: somewhat OT : Rev cgi Safari
On 23 Mar 2006, at 11:18, jbv wrote: Hi list, I'm using Rev cgi and have a problem debugging a script : it's a (rather) complex subscription page to a website, with a sophisticated form and javascript functions, and on the server side a cgi with a mySQL connection. Everything works fine except for 1 version of Safari. The agent information for that version is : Mozilla/5.0 (Macintosh; U; PPC Mac OS X; fr-fr) AppleWebKit/312.8 (KHTML, like Gecko) Safari/312.6 in short, some elements of the HTML form are skipped when the user clicks the submit button... And to make things even more difficult (to reproduce and correct the bug, or find a workaround), this seems to happen only sporadically; i mean that using that specific version of Safari doesn't systematically lead to the bug... Coming late to this. Are you sure the problem is with Safari and not at the CGI end? When you say some elements of the form are being skipped, what appears at the CGI end? Are some arbitrary form elements missing, or is it that the posted data is truncated? (I'm assuming the form is using POST and not GET. If not, you can ignore this?) If it appears that the data is truncated, it may be the reading of the data in the CGI that is the problem. There is a known issue concerning reading from stdin in a cgi script if you just do this: read from stdin for $CONTENT_LENGTH To be sure you get all the data, you need to do something like this: put empty into tBuf repeat while length(tBuf) $CONTENT_LENGTH read from stdin for $CONTENT_LENGTH put it after tBuf end repeat If you know all this, my apologies. But just in case you're looking in the wrong place. Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: somewhat OT : Rev cgi Safari
Dave, Thanks for your reply, but yes, I'm sure the problem is with Safari only (and more specifically with a previous version of Safari)... On the cgi end I'm using the solution you describe since 2001 or so (when it was posted by Andu Kovac on the MC list AFAIR) and never had any form data truncated using a POST method... And finally I'm sure that some form elements are skipped bacause data that are supposed to be (for instance) in elements 8 and 9 finally appear in elements 5 and 6... Thanks anyway, JB Coming late to this. Are you sure the problem is with Safari and not at the CGI end? When you say some elements of the form are being skipped, what appears at the CGI end? Are some arbitrary form elements missing, or is it that the posted data is truncated? (I'm assuming the form is using POST and not GET. If not, you can ignore this?) If it appears that the data is truncated, it may be the reading of the data in the CGI that is the problem. There is a known issue concerning reading from stdin in a cgi script if you just do this: read from stdin for $CONTENT_LENGTH To be sure you get all the data, you need to do something like this: put empty into tBuf repeat while length(tBuf) $CONTENT_LENGTH read from stdin for $CONTENT_LENGTH put it after tBuf end repeat If you know all this, my apologies. But just in case you're looking in the wrong place. Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- _ Faith is a central nervous system disease, like Alzheimer or multiple sclerosis. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Weirdness Passing Messages
Hi All, On 23 Mar 2006, at 22:00, J. Landman Gay wrote: This isn't to say it shouldn't be fixed, only that I can see how it would get mucked up. The way the sample scripts are written is fairly convoluted; I would never have thought to do the job this way. I suspect that is why this problem has never been reported in all these years, since as Richard mentioned, it really takes a very specific setup to reproduce this problem. A much better approach would be to move all the handlers into the stack script and take advantage of the natural message hierarchy, rather than relying on all those sends. This is how I used to do it and the problem with that is that you need to change a lot of scripts etc. in order to build a new app or to extend an existing app. What I am trying to achieve is the ability to drop groups into a stack (via paste) and have them just work with no code fiddling! You just saw a demo of the problem not the real app. I have developed a message passing library stack that allows this to happen. Since I was going do donate this stack to RevOnline once I have tested and improved it, I thought I'd explain how it works and what I am hoping to achieve now (since we are on the subject!) so as to get some input and ideas. I have a Stack called StackISM (Inter-Stack Messaging), this is accessed from the main stack by use of the start using statement. When a Stack instantiates StackISM the initialization routine (in StackISM) walks thru the objects (all objects in all cards) of the calling stack looking for a Handler called ISM_Initialize, if found it calls it. The ISM_initialize handler in the object of the calling stack does any object specific initialization and may then call ISM_ListenForMessages(theMessageID) if it wants to receive message of type theMessageID. It may call ISM_ListenForMessages multiple times, once for each message it wants to receive. When an event happens in an object (e.g. mouseUp in a button) that needs action to be performed by other objects, ISM_PutMessage (theMessageID,theSubCode,theMessageData) is called. This will send a message(s) to all listening objects. As a real example of this in action, take the following case. I have a simple Group that just gets a Folder from the user. The intention is that the folder will be used as a base by other groups/ objects. I have another Group that lists the files in a folder in a field, and yet another group that does something with a file selected in the File List Group. Here's how it works: GroupFolder: ISM_Initialize - Sets the Folder to empty and calls ISM_PutMessage(ISM_FolderSelected, kFolderKind, FolderPathName [empty]) GroupFolder:ButtonChooseFolder:mouseUp - Gets the folder selected by the user and calls ISM_PutMessage(ISM_FolderSelected, kFolderKind, FolderPathName) GroupFiles:FieldFileList: ISM_Initialize - calls ISM_LIstenForMessage (ISM_FolderSelected, kFolderKind) GroupFiles:FieldFileList: ISM_FolderSelected(theMessageID, theMessageKind, theFolderPathName) - Gets a list of the files in the specified folder and puts them into me (hence the problem that started this thread!). GroupFiles:FieldFileList:mouseUp - Gets line selected (file name) from me and then calls ISM_PutMessage(ISM_FileSelected, kFileKind, FileName) GroupProcessFile:FieldFileContents: ISM_Initialize - calls ISM_LIstenForMessage(ISM_FileSelected, kFileKind) GroupProcessFile:FieldFileContents: ISM_FileSelected(theMessageID, theMessageKind, theFilePathName) - Put the contents of the file into me. This is the basic mode of operation, I will do some better documentation when I release it to RevOnline. Incidentally, the above works just fine regardless of the stack/card/ object using put something into me. The problem I described yesterday was brought to light because when a new folder is selected, I wanted to select the first line (file) in the list, so inside ISM_FolderSelect(), I did a ISMPutMessage(ISM_FileSelected, kFileKind, line 1 of me), when this happened, me in the receiving handler got Beswick'ed! The really good thing about this is, say I wanted to extended this app, so it had two base folders (maybe to to give a list of the files in two folders and then compare them) and two file lists. All I need do is to paste GroupFolder twice and GroupFiles twice and change a custom property in the second folder and second file Group and hey presto it works! No changing object names! No fiddling around duping scripts! The custom property of each object contains the kind, this is used to identify the origin of the Message and Message Listeners only get the kind they are listening for! Although this may be thought of as convoluted at the atomic level, if you take a system-wide view of it, it's really much less convoluted than doing it using separate scripts in a lots of different objects and
Re: Pixel Question
great job Scott. BTW I didn't know that chartonum also worked on binary data... JB Actually, it works on the imageData format for representing image pixel colors in Rev. that's a good thing to know... so far, when manipulating imageData, I used binaryDecode and baseConvert... using chartonum is much easier... JB ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: MVC in Rev?
On 24 Mar 2006, at 06:08, Mark Wieder wrote: thierry- Thursday, March 23, 2006, 3:08:56 AM, you wrote: http://atomicobject.com/media/files/PresenterFirst.pdf ...that file is damaged and cannot be repaired... Not sure, it opens up nicely in Safari. -- -Mark Wieder [EMAIL PROTECTED] Greetings, Wouter ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Correct Syntax???!!!
Hi, I am trying to get the following to compile: set line 1 of the text of the long id of me to item 2 of myDataRecord I've tried a few different variations but can't seem to find the right one! Help Thanks a lot Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Correct Syntax???!!!
Since the text is a property of the object, I don't think you can set chunks of it...so you'll probably have to get it it first: put the text of the long id of me into temp put item 2 of myDataRecord into line 1 of temp set the text of the long id of me to temp Mark On 24 Mar 2006, at 13:36, David Burgun wrote: Hi, I am trying to get the following to compile: set line 1 of the text of the long id of me to item 2 of myDataRecord I've tried a few different variations but can't seem to find the right one! Help Thanks a lot Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RevMail Command - Sending an Email
Hi, I would like to be able to send an email using RunRev, I looked at the revMail command which does 99% of the job, however I would like to actually send the message, not just have it created. Is there any way to do this? It must work on MacOS X and Windows XP. Thanks a lot All the Best Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Correct Syntax???!!!
David, I'm not sure about what you are trying to do, but have you tried : set line 1 of me to item 2 of myDataRecord OTOH if you are trying to get the long ID of an element and change parts of this text, I think you need to put it into a variable first : get the long id of me put item 2 of myDataRecord into line 1 of it JB Hi, I am trying to get the following to compile: set line 1 of the text of the long id of me to item 2 of myDataRecord I've tried a few different variations but can't seem to find the right one! Help ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Correct Syntax???!!!
Thanks Mark, I was just about coming to that conclusion myself! I did this: delete item 1 of myDataRecord replaceText(myDataRecord,,,cr) set the text of the long id of me to myDataRecord All the Best Dave On 24 Mar 2006, at 13:58, Mark Smith wrote: Since the text is a property of the object, I don't think you can set chunks of it...so you'll probably have to get it it first: put the text of the long id of me into temp put item 2 of myDataRecord into line 1 of temp set the text of the long id of me to temp Mark On 24 Mar 2006, at 13:36, David Burgun wrote: Hi, I am trying to get the following to compile: set line 1 of the text of the long id of me to item 2 of myDataRecord I've tried a few different variations but can't seem to find the right one! Help Thanks a lot Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Correct Syntax???!!!
put item 2 of myDataRecord into line 1 of me /H I am trying to get the following to compile: set line 1 of the text of the long id of me to item 2 of myDataRecord I've tried a few different variations but can't seem to find the right one! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Correct Syntax???!!!
Hi, It used to read: put item 2 of myDataRecord into me But I have had to change it because the use of: put something into me or set the text of me to something Is not 100% reliable - see thread entitled Weirdness Passing Messages if you would like more details. All the Best Dave On 24 Mar 2006, at 14:14, jbv wrote: David, I'm not sure about what you are trying to do, but have you tried : set line 1 of me to item 2 of myDataRecord OTOH if you are trying to get the long ID of an element and change parts of this text, I think you need to put it into a variable first : get the long id of me put item 2 of myDataRecord into line 1 of it JB Hi, I am trying to get the following to compile: set line 1 of the text of the long id of me to item 2 of myDataRecord I've tried a few different variations but can't seem to find the right one! Help ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Correct Syntax???!!!
Hi, It used to read: put item 2 of myDataRecord into me But I have had to change it because the use of: put something into me or set the text of me to something Is not 100% reliable - see thread entitled Weirdness Passing Messages if you would like more details. All the Best Dave On 24 Mar 2006, at 14:03, [EMAIL PROTECTED] wrote: put item 2 of myDataRecord into line 1 of me /H I am trying to get the following to compile: set line 1 of the text of the long id of me to item 2 of myDataRecord I've tried a few different variations but can't seem to find the right one! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RevMail Command - Sending an Email
This questions gets asked a lot David that I really wish that Rev would just put it into the IDE/engine instead of the current method that they use (or have both, choices are always good). Take a look at one of the following Rev libraries that should be completely cross-platform: - libSmtp 2.5.3 by me www.shaosean.tk in the libraries section - SMTPlibrary by Sarah Troz http://www.troz.net/Rev/libraries.html Chipp has also made a wrapper library for my library that makes it a bit easier to use, but limits the functionality.. -Sean _ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[TIDBIT] googleMatch()
I wrote this to provide a search as you type filter field with google-style pattern matching: + means it has to be included - means it must not be included quotes means the whole phrase. e.g. DOG +LEAD -CAT REAL LEATHER Maybe you will find it useful. Optimization welcome! on rawkeyup put me into tPattern repeat for each line L in fld myDataList if googleMatch(tPattern,L) then put Lcr after tStdOut end repeat put char 1 to -2 of tStdOut into fld searchResult end rawkeyup function googleMatch tPattern,tTxt # NOTE: To match a + or -, use ++ or +-, or -+ or -- repeat for each word W in tPattern if W=+ or W=- then return TRUE if (char 1 of W is quoteAND char -1 of W is quote) then put char 2 to -2 of W into W if (- is char 1 of W) and (char 2 to -1 of W is in tTxt) then return FALSE if (- is char 1 of W) and (char 2 to -1 of W is NOT in tTxt) then next repeat if (+ is char 1 of W) and (char 2 to -1 of W is NOT in tTxt) then return FALSE if (+ is char 1 of W) and (char 2 to -1 of W is in tTxt) then next repeat if W is in tTxt then next repeat else return FALSE end repeat return TRUE end googleMatch /H ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Custom radio buttons
To me it is a bug. The standard is ( ) Text, but there is NO way to get Rev to do this. If the text alignment is left, you get: Text( ) If you set the alignment to right, you get: ( ) Text Neither of which matches a native radio button, so you cannot make a standard-looking custom radio button. I was just wondering if I was doing something. At 11:06 PM 3/23/2006, you wrote: On 3/23/06 4:08 PM, Peter T. Evensen [EMAIL PROTECTED] wrote: It is me, or are custom radio buttons (using icons) backwards in Revolution 2.6 2.7? If I set the icon to anything, the icon appears on the right with the label on the left, which is the reverse of what it should be. If I text align to the right, the icon goes on the left with the text right aligned on the right, which looks really weird. Is this a bug? No, meaning that if you look at it from the perspective of the text, the text *is* aligning the way you ask - it's the icon that's aligning the other way. Perhaps not what you expect, but not a bug... Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: last 2.6x version
jeffrey reynolds wrote: Hi, What was the last 2.6 version or rev? was it 2.6.1? i looked on the ftp and the last thing there on the rev ftp download was v261. if there is a later version where would i look to get a copy of it. I need to support some apps in os9 so need to stay in 2.6 for this. Yes, 2.6.1 is the last of the 2.6 releases. So that's the one you want. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Pixel Question
Scott: I am happy to say that your function appears to be OK, and not slightly inaccurate as I reported. I don't know what happened because I certainly checked the image's colour values in Photoshop before making the comparison. However, as a result of what you said below, I went back to Photoshop and checked the values again, and lo-and-behold, the values were then exactly the same as those reported by your function! Anyway, I reduced the colour-depth of the picture and re-saved it as PNG this time (rather than JPG). The RGB values reported by the function were then exactly the same as those given by Photoshop. Sorry for the confusion, and thanks again for the help. Regards, Bob Scott Rossi wrote: Recently, Bob Warren wrote: Using a mouseMove routine on the top card such as:- on mouseMove put retrievePixelColor(long id of image myImage \ of card Card2,the mouseH,the mouseV) into field \ ColourRGB of card Card1 end mouseMove - it works quite nimbly, even on my old Pentium II. However, there are some slight inaccuracies in the colours reported. For example: RED 255,0,0 is reported as 254,0,0 GREEN 0,128,0 is reported as 0,128,1 BLUE 0,0,255 is reported as 0,0,254 YELLOW 255,255,0 is reported as 255,255,1 WHITE 255,255,255 is OK. Without a better analysis of your function, I cannot see immediately what the trouble is. Can you see it Scott? Well, the function pulls the color directly from the imagedata contained in the image -- it doesn't do any manipulation, only reporting. How are you gauging the accuracy of the color values? The mouseColor? In my experience the mouseColor is sometimes off. Have you scaled the image at all? I would suggest opening your image in an image editor (Photoshop or similar) and measuring your colors there for reference. You also might want to doublecheck that you're measuring position correctly from the topleft of the image. That's about all I can think of -- I can also take a look at your image. Let us know what you find out. Regards, Scott Rossi ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: UpDate Db
On 3/24/06 2:19 PM, liamlambert [EMAIL PROTECTED] wrote: Hi Liam, I want to up date a column in a sqlLite db the column is called ticket the table is called Booking I want to update the column with the word YES I have tried put ticket into tTicket put ' cleanSQL (field tTicket) ' , after tRowBooking delete last char of tRowBooking put UPDATE Booking set (ticket) = 'yes' where bookingID = tBookingID \ VALUES(null, tRowBooking ) into tSQLbooking So final SQL looks as: UPDATE Booking SET (ticket) = 'yes' WHERE bookingID = 1 VALUES (null, 2) ? I think you have mix INSERT and UPDATE syntaxes. The correct update syntax is: UPDATE Booking SET ticket = 'yes' WHERE bookingID = 1 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Shamelessly Soliciting Windows Developers' Votes
To those of you who deploy Windows applications and have not cast your vote(s) for Tablet PC Compliance (Bugzilla #3252): Would you please give it some consideration? In case you haven't noticed, the laptops currently featured in IBM Gateway TV ads run XP TPC 2005 Edition and Origami runs a modified version of same. Even if you don't target the TPC specifically, you will sooner or later find users asking why your application isn't responding to changes in screen orientation or accept ink input. You can vote for this at http://support.runrev.com/bugdatabase/show_bug.cgi?id=3252 Vote early and often! Rob Cozens CCW, Serendipity Software Company 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 Donne (1572-1631) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Weirdness Passing Messages
David Burgun wrote: Incidentally, the above works just fine regardless of the stack/card/ object using put something into me. The problem I described yesterday was brought to light because when a new folder is selected, I wanted to select the first line (file) in the list, so inside ISM_FolderSelect(), I did a ISMPutMessage(ISM_FileSelected, kFileKind, line 1 of me), when this happened, me in the receiving handler got Beswick'ed! Which is reasonable, I think. Think about this a moment -- parameters are always evaluated before being passed. When you pass me in a parameter, the me will refer to the object currently executing the script, not the target object the script will eventually refer to later. This is normal behavior. Take this example: addNums (1+1) The addNums handler will receive a parameter of 2, not 1+1. Ditto for me, which will be interpreted as the object *currently* running the script, not the future target of the handler reference. When passing a reference parameter, use an ID or other static reference, not me which is always subject to interpretation. As you found out. ;) If you absolutely must use me then you can try putting the parameter in quotes to force it into acting as a string. Strings won't be evaluated. I don't know if this will work in your situation but you can try it. Now that I understand your usage better, I do not think this is a bug. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Correct Syntax???!!!
David Burgun wrote: It used to read: put item 2 of myDataRecord into me But I have had to change it because the use of: put something into me or set the text of me to something Is not 100% reliable - see thread entitled Weirdness Passing Messages if you would like more details. Yes, perhaps the best post to start with is this one: http://lists.runrev.com/pipermail/use-revolution/2006-March/079011.html In it I summarize the result of testing this out to discover that the circumstances needed to expose a bug related to this use of me are highly specific: The handler must reside in an object which is on an unopened card, meaning that it never gets triggered by any direct user action; thus far I know of no circumstances in which me in an object on a card that can be seen fails. So how does one trigger something that can cause me to come into play on an unopened card? It only occurs if you choose the relatively inefficient method of using send instead of any natural part of the message path. Most xTalks don't even allow sending messages to objects on unopened cards, and in Rev you can still operate on any object on any unopened card with the only exception known to date being if that object's text is affected by using me after receiving a message sent outside of the normal message path with send, and then it fails only if the card it's on is not open. In that post are also two simple workarounds to avoid this bug: a) use the long ID of me instead of simply me b) set the text directly from the script that sends the message I'm not sure it's helpful to the readers here to say that me is not 100% reliable without providing details; while narrowly accurate, it appears that me is 99.99% reliable, with only one highly specific circumstance required to expose a bug that to my knowledge has affects very few people in actual use, in a circumstance where using option a) above still relies on me and takes only a few seconds to correct for on one line with no changes required to any other code. -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: MVC in Rev?
i did open it with Firefox without any problem too and Acrobat 7.0 and the link is allright :-( i can send you the file in zip, if you like ? Regards, thierry Wouter a écrit : On 24 Mar 2006, at 06:08, Mark Wieder wrote: thierry- Thursday, March 23, 2006, 3:08:56 AM, you wrote: http://atomicobject.com/media/files/PresenterFirst.pdf ...that file is damaged and cannot be repaired... Not sure, it opens up nicely in Safari. -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: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Revolution in Seattle
Hello Bruce, I live in Seattle (Redmond actually) and I'm willing to help out any way I can. Although I consider myself a little more than a casual user, I have been somewhat inactive for the past four or five months. You can see examples of my work on RevOnline under RogerG. You can also look at the work my wife and I did for Seattle Girls School at: http://homepage.mac.com/yogitrish/SGSMaxCurr/ Let me know if I can help. Cheers, Roger On Mar 23, 2006, at 5:06 PM, [EMAIL PROTECTED] wrote: Message: 32 Date: Thu, 23 Mar 2006 17:03:35 -0800 From: Bruce Robertson [EMAIL PROTECTED] Subject: Revolution in Seattle? To: How to use Revolution use-revolution@lists.runrev.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII Got any idea how many Revolution users there might be in the Seattle area? Or good sources for demonstrations? At Seattle's Mac user group dBug http://www.dbug.org we are giving some thought to demonstrating Rev at a meeting. I'm trying to find good resources to support such an activity. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
UpDate Db
Ruslan Thank You. Liam Lambert [EMAIL PROTECTED] IRELAND ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Weirdness Passing Messages
On 24 Mar 2006, at 16:12, J. Landman Gay wrote: David Burgun wrote: Incidentally, the above works just fine regardless of the stack/ card/ object using put something into me. The problem I described yesterday was brought to light because when a new folder is selected, I wanted to select the first line (file) in the list, so inside ISM_FolderSelect(), I did a ISMPutMessage (ISM_FileSelected, kFileKind, line 1 of me), when this happened, me in the receiving handler got Beswick'ed! Which is reasonable, I think. Think about this a moment -- parameters are always evaluated before being passed. When you pass me in a parameter, the me will refer to the object currently executing the script, not the target object the script will eventually refer to later. This is normal behavior. This was just short hand to explain how I came to find the bug. What I was trying to point out is that the problem was triggered by me calling a handler in an unopened card from an object inside the same (unopened card). The actual code is: put line 1 of the text of me into myFileName get ISMPutMessage(ISM_FileSelected, kFileKind, myFileName) The problem was in the ISM_FIleSelected handler in the *destination object. Which did this: on ISM_PutMessage( heMessageID,theSubCode,theFilePathName) -- -- Other code -- put something into me --something being based on the file name. -- -- Other code -- end ISM_PutMessage Take this example: addNums (1+1) The addNums handler will receive a parameter of 2, not 1+1. Ditto for me, which will be interpreted as the object *currently* running the script, not the future target of the handler reference. I don't pass me as a parameter for the very reason you mention. The problem is in the destination handler which is a different me! When passing a reference parameter, use an ID or other static reference, not me which is always subject to interpretation. As you found out. ;) If you absolutely must use me then you can try putting the parameter in quotes to force it into acting as a string. Strings won't be evaluated. I don't know if this will work in your situation but you can try it. Now that I understand your usage better, I do not think this is a bug. The bug is that: put something into me or set the text of me to something Doesn't work 100% of the time. Sorry for the confusion, I didn't mean you to take the pseudo code I posted literally. I have found the bug now and changed the offending lines to: set the text of the long is of me to something and it works fine now. Thanks a lot All the Best Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Setting up a team...
Rev is natural to me...But I've been xtalking since 1988. My gut says hire a rev-experienced person first so management can see the thing work sooner. Quicker results = success sqb At the moment we do websites and that's it. However, we've recently been bidding for bigger and bigger jobs that although the customer thinks hey, that'd be cool on a browser, I think that their users (internal that is) would feel far happier with a client application. So, as the Tech director of the company, it's my job to source the best method of doing these things. Now, I got RunRev as a hobby thing. I like programming and I like the challenge of new stuff, and this seemed a good toy to take me away from the humdrum of office life (busman's holiday I know, but us geeks are like that). However while I'm sat in a meeting the other day listening to some requirements, it hit me like a bolt that RunRev could do all and more of what was required. So, totally hypothetical at the moment, but let's say we decided to write some stuff in RunRev. We've got a small dev team of three PHP programmers and although they may find it fun, we really don't want them to take their eye off the ball. So I have a dilemma. Do I go looking for a RunRev programmer, do I freelance our requirements or do I take someone on and train them in the art of Transcript? Open discussion really, what would you do? Andy. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Save stacks periodically to avoid crashes?
Hi, I've been using Rev for about a year. I'm sure it won't shock most of you to hear that periodically Rev just seems tired and crashes. Now I am sure that coding glitches are sometimes at fault, but generally speaking I think Rev (esp. 2.7) has stability issues. Here's the thing, though: it seems that if I am saving the stack periodically, which I would tend to do to avoid losing data in a crash, the program actually crashes less. It's as if saving has some benefit to memory management or who-knows-what-else in the engine. It's like a refresh function. Has anyone else observed this? Is there a rationale? Would it be smart to have a commercial application save its stacks regularly, not only to store user changes, but simply to confer stability? Jon ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Pasting part of an image to a specific loc by scripting?
Hi all, Is it possible to paste a copied portion of an image to another place in that same image by scripting, e.g. the topleft quarter to the topright quarter? The paste command always places the copied part of an image at the center of the image as in the following script, so what kind of parameters should be added?: on mouseUp choose select tool put the topleft of img 2 into tpos put tpos into tpos2 add 200 to item 1 of tpos2 add 200 to item 2 of tpos2 drag from tpos to tpos2 copy click at tpos # without this click a *black* rectangle is pasted paste choose browse tool end mouseUp Another script just moves the selected part of the image to the right, leaving the previous selected area as blank: on mouseUp choose select tool put the topleft of img 2 into tpos put tpos into tpos2 add 200 to item 1 of tpos2 add 200 to item 2 of tpos2 drag from tpos to tpos2 subtract 200 from item 2 of tpos2 drag from tpos to tpos2 choose browse tool end mouseUp As usual, the solution is probably quite simple, but I cannot find any relevant information how to to this in the docs. As a workaround, one could use a succession of snapshots and the deleting of the interim images, but I think there must be an easier way using paste, drag, move etc. Any suggestions are welcome! Regards, Wilhelm Sanke http://www.sanke.org/MetaMedia ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
UpDate Db
global gConID put fld bookingid into tbooking put UPDATE Booking SET ticket = 'no' WHERE BookingId = 8 into tSQLbooking -- EXECUTE SQL put revdb_execute(gConID,tSQLbooking) This works fine but if I want to use a variable in stead of 8 what is the syntaxes Liam Lambert [EMAIL PROTECTED] IRELAND ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Shamelessly Soliciting Windows Developers' Votes
Rob: This is from the Newton list. I thought it was kinda funny in a warped sort of way: http://www.geekculture.com/joyoftech/joyarchives/798.html Judy On Fri, 24 Mar 2006, Rob Cozens wrote: To those of you who deploy Windows applications and have not cast your vote(s) for Tablet PC Compliance (Bugzilla #3252): Would you please give it some consideration? In case you haven't noticed, the laptops currently featured in IBM Gateway TV ads run XP TPC 2005 Edition and Origami runs a modified version of same. Even if you don't target the TPC specifically, you will sooner or later find users asking why your application isn't responding to changes in screen orientation or accept ink input. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Shamelessly Soliciting Windows Developers' Votes
On Mar 24, 2006, at 11:06 AM, Rob Cozens wrote: Even if you don't target the TPC specifically, you will sooner or later find users asking why your application isn't responding to changes in screen orientation or accept ink input. Thanks for bringing this up. One of my current projects is specifically for TabletPC, and I planned on doing it in Revolution, which is why I just re-upped my Enterprise license. This bug could be a show-stopper for Rev on the project, which is quite large (4-6 months). So, I take it that this means they only support horizontal screen orientation, and fields can't be filled out with a stylus, right? But the stylus can still be used for mouse-clicks, menu functions, etc. Correct? I have a TabletPC arriving within a day or two. Some quick tests with it will rule Rev in, or out, of the project. -- Troy RPSystems, Ltd. http://www.rpsystems.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
HyperCard Stack conversion in RR 2.7
Is the HC - RR stack conversion broken in RR 2.7? Every HC stack I try to open in 2.7 results in an error dialog saying There was a problem opening that stack. All of these same stacks open/convert fine in 2.6.1, and once they are converted by 2.6.1 can be used in 2.7. I am using the OS X version of RR Enterprise 2.7 running on OS 10.4.5 on PowerPC hardware. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: HyperCard Stack conversion in RR 2.7
I got the same problem. Maybe it's a 2.7 bug. Greetings Paul Claude on 24-03-2006 18:10, Michael Caufield at [EMAIL PROTECTED] wrote: Is the HC - RR stack conversion broken in RR 2.7? Every HC stack I try to open in 2.7 results in an error dialog saying There was a problem opening that stack. All of these same stacks open/convert fine in 2.6.1, and once they are converted by 2.6.1 can be used in 2.7. I am using the OS X version of RR Enterprise 2.7 running on OS 10.4.5 on PowerPC hardware. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Correct Syntax???!!!
Hi, On 24 Mar 2006, at 16:12, Richard Gaskin wrote: I'm not sure it's helpful to the readers here to say that me is not 100% reliable without providing details; The details are all in the posts from the other thread, I really didn't want to cut and paste all that again. while narrowly accurate, it appears that me is 99.99% reliable, with only one highly specific circumstance required to expose a bug that to my knowledge has affects very few people in actual use, f I had read something like me is not 100% reliable 6 months ago, it would have saved me two days frustration and a lot of time and effort by a few people on this list. As it is now I have to work the weekend to get back on Track! Oh well, such is life! If there are two ways of doing something, one that is 100% reliable and one is 99.99% reliable, I think most people would choose the 100% solution, especially when it comes to software. in a circumstance where using option a) above still relies on me and takes only a few seconds to correct for on one line with no changes required to any other code. This is not *always* the case, for instance this requires more effort: set line 1 of me to something The thing is that I have: put something into me all over the place. The reason for this is that around 2 years ago when I first started using RunRev, I saw an initialization handler (in one of the Sample Stacks that came with RunRev) that did: put empty into me So I used this form from then on and the 99.99% solution got replicated over and over again! It is really obscure that you can have a tried and tested handler that stops working as soon as it's called from a handler on an unopened card and to get around the problem have to use an alternate syntax which works 100% of the time (AFAIK!) Also, seasoned RunRev'ers) or maybe MetaCard'ers seem to think that it's odd that a handler gets called on an unopened card. I guess I just haven't come from the same background. I didn't think twice about whether an object on an unopened card would be treated differently or not. As far as I know it's not explicitly mentioned in any of the documents. This could be part of the problem facing newbies. The seasoned developers have a mindset that has evolved from what *was* possible, whereas the newbie doesn't know what *was* possible so they don't think deeply about it and concentrate more on what *is* possible given the sample stacks available and the documentation. Now that I have changed all the occurrences of me to use the longer syntax it works just fine, and I must say that using my Inter-Stack Messaging (ISM) System makes re-using groups and building apps so much more simple! In fact I think I am at least 95% of the way to achieving the dream of truly re-usable objects. I just did an experiment where I took 5 Groups developed using the ISM and dropped them into a new stack. I then made a copy of all the groups (so that there are two of each) and have them all interacting perfectly. The whole operation took about 15 minutes, that's screen design, code, everything! FANTASTIC!!! This is what I love about RunRev! All the Best Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: HyperCard Stack conversion in RR 2.7
I now realize that this issue has been addressed in the Feb archives. If I knew how to effectively search the archives, I would have found these messages before I read all of Mar. archive and most of Feb. On Mar 24, 2006, at 11:21 AM, Paul Claude wrote: I got the same problem. Maybe it's a 2.7 bug. Greetings Paul Claude on 24-03-2006 18:10, Michael Caufield at [EMAIL PROTECTED] wrote: Is the HC - RR stack conversion broken in RR 2.7? Every HC stack I try to open in 2.7 results in an error dialog saying There was a problem opening that stack. All of these same stacks open/convert fine in 2.6.1, and once they are converted by 2.6.1 can be used in 2.7. I am using the OS X version of RR Enterprise 2.7 running on OS 10.4.5 on PowerPC hardware. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Deleting A Card
Hiya all, I'm still just playing with RunRev, but I've come across what appears to be a problem. I created a mainstack and added seven cards (just running through the tutorials). I've now come to do something proper with them but I can't delete any of the cards. I move to the card I want to delete, choose object- delete card, say 'yes', but nothing happens. A bug or am I missing something peculiar to RunRev? Andy. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Menus displayed off screen
Is there a bug in 2.7 where popUp and pullDown menues are displayed off screen? When popped up close to the right side of the screen the menues are not forced left so that the whole menu is on the screen. If the menu is wide part of the menu end up off screen. Vertically it works fine, when a menu is popped up close to the bottom of the screen the whole menu is displayed on screen upwards. All menues are displayed on screen in version 2.6.1. Mats Astrom ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
HyperCard Stack conversion in RR 2.7
Is the HC - RR stack conversion broken in RR 2.7? Every HC stack I try to open in 2.7 results in an error dialog saying There was a problem opening that stack. All of these same stacks open/convert fine in 2.6.1, and once they are converted by 2.6.1 can be used in 2.7. I am using the OS X version of RR Enterprise 2.7 running on OS 10.4.5 on PowerPC hardware. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: HyperCard Stack conversion in RR 2.7
You may easily search the mail archives using google.com, writing in the search box: text to search site:lists.runrev.com Greetings Paul Claude on 24-03-2006 18:28, Michael Caufield at [EMAIL PROTECTED] wrote: If I knew how to effectively search the archives, I would have found these messages before I read all of Mar. archive and most of Feb. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Setting up a team...
Hire an experienced Revolution Consultant and then program it yourself and introduce your team to it in progress. Then you have control over the project instead of someone new to REV who will probably try to fit Rev into their thinking instead of their thinking into Rev. Secondly, the consultant can teach and inform and consult on the best practices and usage during the planing stage and if you get into trouble they are already familiar with the project and can step in to help in the actual programming. You team will take the consultants lead and our lead and in the end get a great intro to Rev and it's paradigm. Sounds like a win win to me. Good luck and as someone on this list told me Go for it, Just jump in and start HTH Tom On Mar 24, 2006, at 11:47 AM, Stephen Barncard wrote: Rev is natural to me...But I've been xtalking since 1988. My gut says hire a rev-experienced person first so management can see the thing work sooner. Quicker results = success sqb At the moment we do websites and that's it. However, we've recently been bidding for bigger and bigger jobs that although the customer thinks hey, that'd be cool on a browser, I think that their users (internal that is) would feel far happier with a client application. So, as the Tech director of the company, it's my job to source the best method of doing these things. Now, I got RunRev as a hobby thing. I like programming and I like the challenge of new stuff, and this seemed a good toy to take me away from the humdrum of office life (busman's holiday I know, but us geeks are like that). However while I'm sat in a meeting the other day listening to some requirements, it hit me like a bolt that RunRev could do all and more of what was required. So, totally hypothetical at the moment, but let's say we decided to write some stuff in RunRev. We've got a small dev team of three PHP programmers and although they may find it fun, we really don't want them to take their eye off the ball. So I have a dilemma. Do I go looking for a RunRev programmer, do I freelance our requirements or do I take someone on and train them in the art of Transcript? Open discussion really, what would you do? Andy. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution Thomas J McGrath III [EMAIL PROTECTED] Lazy River Software™ - http://www.lazyriversoftware.com Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html Meeting Wear™ - http://www.cafepress.com/meetingwear Semantic Compaction Systems - http://www.minspeak.com SCIconics, LLC - http://www.sciconics.com/sciindex.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Correct Syntax???!!!
David Burgun wrote: The reason for this is that around 2 years ago when I first started using RunRev, I saw an initialization handler (in one of the Sample Stacks that came with RunRev) that did: put empty into me So I used this form from then on and the 99.99% solution got replicated over and over again! Right. While your specific setup did manage to discover a bug, perhaps the reason no one's reported this before is that they prefer to write less code. Replicated code not only takes more time to write, but as you note it takes more time to revise. Even if you were using something that worked perfectly, there may come a time when you want to enhance it. Replicated code means replicating the enhancement effort. In common practice me is rarely used, as it only affects one object. In the example shown above, a more generalized approach might be this card script: on preOpenCard repeat with i = 1 to the number of flds if the lockText of fld i is false then put empty into fld i end if end repeat pass preOpenCard end preOpenCard That simple handler accomodates any number of fields without modification to the code or the objects. You can add or delete fields at any time, and the form still clears itself before being displayed. Now suppose we later decide we want to have some fields to display default values, while still leaving others blank. We could add a simple property to any field that needs it, and we only make a small change in that one card handler: on preOpenCard repeat with i = 1 to the number of flds if the lockText of fld i is false then put the uDefaultValue of fld i into fld i end if end repeat pass preOpenCard end preOpenCard I read your outline at http://lists.runrev.com/pipermail/use-revolution/2006-March/079065.html, and although after two readings I can't figure out what its goal is my hunch is that it could be satisfied with a single backScript or library and property settings in affected objects. Such an approach keeps the code centralized, making it easier to write, maintain, and enhance. Objects could be added or removed from the behavioral management by just changing a property, never needing to even open a script editor. There's also a performance benefit to using the natural message path whenever practical. Consider these benchmarks from a simple test case* (times shown are per call): Native: 0.007ms Send:0.011ms Do: 0.013ms In a single call, the difference between native message inheritance and send is only 0.004ms, certainly not worth worrying about. But if one were building a system in which send is being used throughout as the primary means of driving things, the aggregate cost of that 50% peformance difference may make the system noticeably less responsive. Those clock cycles could probably be put to better use; even if performance appears fine for now, future enhancements may require additional load elsewhere, so it's often a good idea to keep performance in mind even when it doesn't initially seem important. There are of course times when send and do are the only way to solve a problem, but with the flexibility of frontScripts, libraries, and backScripts such cases are few. -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com * Test scenario: One stack, one card, one button with this script: on mouseUp put 1 into n -- put the millisecs into t repeat n doMe end repeat put (the millisecs - t)/n into t1 -- put the millisecs into t repeat n send doMe to this cd end repeat put (the millisecs - t )/n into t2 -- put the millisecs into t repeat n do doMe end repeat put (the millisecs - t)/n into t3 -- set the numberformat to 0.000 put Native: t1 ms cr\ Send: t2 ms cr\ Do: t3 ms end mouseUp The card script has this script, just dummy stuff as some arbitrary thing to do so we don't have an empty handler: on doMe get nothing put nothing into it end doMe Times shown above were on a PowerBook G4 1GHz. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Save stacks periodically to avoid crashes?
Powerpoint - save after every slide and after every graphic gets introduced to a slide Word - save after every paragraph, save after every copy/paste, save after every insert graphic Safari - save bookmarks after every page with many pop-ups or I will have to use History Photoshop - save after every layer is introduced and save after every filter is appied Illustrator - save after layers are introduced, save after any effect FileMakerPro - save after every template change DirectorMX - save after every import, save after place image, save after script change, save often FlashMX - save, save, save, save Freehand - save after import or major changes - not bad actually Painter - as bad as photoshop iMovie - save often iDVD - save often GarageBand - save often Every major package I own requires many many saves in every usage session. I had to learn this early on when doing graphics on Main Frame Computers like the Moonbase, Genigraphics, Zerox. If you didn't save every few minutes you would lose all of your work. Some programs require more than others and REV in my opinion by it's very nature requires lots of saves. It's programming after all. I would expect it to require lots of saves. What happens when you use a backup software or Constellation?? Does it crash less with auto back ups? Thanks Tom On Mar 24, 2006, at 12:02 PM, [EMAIL PROTECTED] wrote: It has been a hard lesson to learn - especially coming from a HyperCard background where one never needed to save. Thomas J McGrath III [EMAIL PROTECTED] Lazy River Software™ - http://www.lazyriversoftware.com Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html Meeting Wear™ - http://www.cafepress.com/meetingwear Semantic Compaction Systems - http://www.minspeak.com SCIconics, LLC - http://www.sciconics.com/sciindex.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Making the move...
On 3/21/06 4:55 PM, Sarah Reichelt [EMAIL PROTECTED] wrote: The alternatives that I see are to use script local variables or to pass an empty parameter by reference and have the function fill it. Does anyone have any other ideas or recommendations? Here is another way that you could take advantage of 'for each' and use one function, scanning the database one time, returning multiple results in one variable, without using an array. on scan --define var dbTable put dbScanner(dbTable) into dbEssence set the itemdel to ^ put item 1 of dbEssence into summer put item 2 of dbEssence into lister put item 3 of dbEssence into chimps end scan function dbScanner @dbTable set the itemDel to tab --if this is correct repeat for each line LNN in dbTable put , item 6 of LNN after itemsToSum put item 4 of LNN cr after listofItem4 if LNN contains circus monkey then put LNN cr after monkeyLines end if end repeat get sum(itemsToSum) filter listofItem4 without empty filter monkeyLines without empty return it ^ \ listofItem4 ^ \ monkeyLines end dbScanner Jim Ault Las Vegas On 3/21/06 4:55 PM, Sarah Reichelt [EMAIL PROTECTED] wrote: On 3/21/06, Geoff Canyon [EMAIL PROTECTED] wrote: Do you have an example? I agree that if you end up passing in a handful of arguments by reference, you haven't accomplished much by breaking out the routine. The question is if there isn't a better way to slice the routine, where that wouldn't be necessary. OK, I have a better example. Say I have a data set and I need to loop through it and extract three different pieces of information e.g. a list of the 4th column in each line, a list of lines that match a certain set of criteria, and a cumulative total obtained by adding a certain column in each line. Each of these could be done in a separate function, but that would mean looping through the data set three times. With a large data set, it is significantly faster to loop once, filling all three new variables in the single loop. If I separate this off into a separate function, then I need a way of passing multiple results back. The alternatives that I see are to use script local variables or to pass an empty parameter by reference and have the function fill it. Does anyone have any other ideas or recommendations? Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Any Rev VB gurus?
Hello all, I have a stack that is using VB scripts on Windows. I have a few interrelated questions and need some advice from someone familiar with both. We can take it off list if needed. Thanks in advance, Tom Thomas J McGrath III [EMAIL PROTECTED] Lazy River Software™ - http://www.lazyriversoftware.com Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html Meeting Wear™ - http://www.cafepress.com/meetingwear Semantic Compaction Systems - http://www.minspeak.com SCIconics, LLC - http://www.sciconics.com/sciindex.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: FTP and cross platform issues...
Thanks Mark and Alex! I was afraid of that :-) In my environment, school district, by default the MS firewall is turned on. We could provide info to a teacher how to temporarily turn off the firewall. Even if they forgot to turn it back on, they still be covered within the district network. But if they went to the local coffee shop and forgot to turn it on they may be vulnerable. There are more ways to download a file, however to upload and add to an file on a server(say an XML data file)I'm not too familiar with a strategy that would work to upload the file. The file would need to be used by multiple clients, however, each one would at times update the data file. I know mySQL db might be a possile solution but that increases the level of difficultyor at least I think it does, ...who knows after the trouble I had with an ftp upload :-) Good learning experience though! Thanks! Message: 19 Date: Fri, 24 Mar 2006 08:50:41 + From: Alex Tweedly [EMAIL PROTECTED] Subject: Re: Ftp and cross platform issues... To: How to use Revolution use-revolution@lists.runrev.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 Mark Wieder wrote: John- Thursday, March 23, 2006, 11:36:57 AM, you wrote: My new question is what Firewall exception needs to be entered in the built in WindowsXP Firewall software to make the FTP stack work, without having to turn the built in Windows Firewall completly off? Well, my opinion, take it or leave it, is that there's no excuse for having the builtin firewall turned on. No excuse ? What would you do with a laptop that sometimes gets used on public networks (e.g. Internet cafes, public wifi nets, etc.)? I keep Win-XP Firewall on most of the time, and disable it temporarily when I have a problem and if it is safe to do so. If I have (e.g. Rev FTP problems) while using an unsafe network, I find another way to do it. (Plea - auto-updating stacks *should* provide a way to download the update to somewhere local and up date from there, please. Not only does it help with this problem, but also helps if you have multiple machines and a slow network connection - e.g. when your DSL is down, and you are using your fall-back dial-up connection). That's one of the first things I check for when I'm troubleshooting a system with network problems. If your computer is otherwise unprotected on a broadband connection then I think you're better off with a hardware solution - go spend a few bucks and get thee behind a router, then configure the firewall that's built into it. I generally agree - but I do think there are some circumstances where a built-in firewall is required. -- Alex Tweedly http://www.tweedly.net -- next part -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date: 20/03/2006 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Any Rev VB gurus?
Hi Thomas, what do you need? ;) cheerios Xavier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas McGrath III Sent: Friday, 24 March, 2006 19:24 To: How to use Revolution Subject: Any Rev VB gurus? Hello all, I have a stack that is using VB scripts on Windows. I have a few interrelated questions and need some advice from someone familiar with both. We can take it off list if needed. Thanks in advance, Tom Thomas J McGrath III [EMAIL PROTECTED] Lazy River SoftwareT - http://www.lazyriversoftware.com Lazy River Metal ArtT - http://www.lazyriversoftware.com/metal.html Meeting WearT - http://www.cafepress.com/meetingwear Semantic Compaction Systems - http://www.minspeak.com SCIconics, LLC - http://www.sciconics.com/sciindex.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: HyperCard Stack conversion in RR 2.7
I tried that and got back about 4 hits, none of which were the Opening Hypercard Stack with Revolution 2.7 messages from the Feb. archive. Thanks for your replies, Michael On Mar 24, 2006, at 11:57 AM, Paul Claude wrote: You may easily search the mail archives using google.com, writing in the search box: text to search site:lists.runrev.com Greetings Paul Claude on 24-03-2006 18:28, Michael Caufield at [EMAIL PROTECTED] wrote: If I knew how to effectively search the archives, I would have found these messages before I read all of Mar. archive and most of Feb. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
upDate data
This works code works fine but if I want to use a variable in stead of 8 can I do this I could not find any reference to it any where or is there an other way of up dating a column global gConID put fld bookingid into tbooking put UPDATE Booking SET ticket = 'no' WHERE BookingId = 8 into tSQLbooking -- EXECUTE SQL put revdb_execute(gConID,tSQLbooking) Liam Lambert [EMAIL PROTECTED] IRELAND ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Deleting A Card
On Mar 13, 2006, at 12:24 AM, Andy wrote: Hiya all, I'm still just playing with RunRev, but I've come across what appears to be a problem. I created a mainstack and added seven cards (just running through the tutorials). I've now come to do something proper with them but I can't delete any of the cards. I move to the card I want to delete, choose object- delete card, say 'yes', but nothing happens. A bug or am I missing something peculiar to RunRev? Andy, Are all of your cards identical? If they are they may in fact be getting deleted but there is no obvious visual confirmation. After you delete the card, enter 'put number of cards' in the message box and see what it returns. You can also open the Application Browser in the Tools menu and see how many cards are listed for the stack. Also, if I'm not mistaken, Rev won't let you delete a card if there's only one left because every stack has to have at least one card. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: upDate data
On Mar 24, 2006, at 11:47 AM, liamlambert wrote: This works code works fine but if I want to use a variable in stead of 8 can I do this I could not find any reference to it any where or is there an other way of up dating a column global gConID put fld bookingid into tbooking put UPDATE Booking SET ticket = 'no' WHERE BookingId = 8 into tSQLbooking -- EXECUTE SQL put revdb_execute(gConID,tSQLbooking) Liam, Do you mean that if you use: global gConID put fld bookingid into tbooking put UPDATE Booking SET ticket = 'no' WHERE BookingId = ' tBooking ' into tSQLbooking -- EXECUTE SQL put revdb_execute(gConID,tSQLbooking) it doesn't work? I've used this approach lots of times successfully. What error message do you get back? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Save stacks periodically to avoid crashes?
Tom, I can neither confirm nor deny whether Constellation's auto save and archive process cleanses or fixes something about the Rev IDE so that you have fewer crashes. I would not think so. However, I have very few crashes in the Rev IDE and, of course, I use Constellation and it's assorted Gadgets (Object Gadget, Inspection Gadget and Transcript Gadget). Best, Jerry Buy Constellation from Runtime Revolution! http://revstudio.runrev.com/section/revselect/constellation/ On Mar 24, 2006, at 12:15 PM, Thomas McGrath III wrote: Powerpoint - save after every slide and after every graphic gets introduced to a slide Word - save after every paragraph, save after every copy/paste, save after every insert graphic Safari - save bookmarks after every page with many pop-ups or I will have to use History Photoshop - save after every layer is introduced and save after every filter is appied Illustrator - save after layers are introduced, save after any effect FileMakerPro - save after every template change DirectorMX - save after every import, save after place image, save after script change, save often FlashMX - save, save, save, save Freehand - save after import or major changes - not bad actually Painter - as bad as photoshop iMovie - save often iDVD - save often GarageBand - save often Every major package I own requires many many saves in every usage session. I had to learn this early on when doing graphics on Main Frame Computers like the Moonbase, Genigraphics, Zerox. If you didn't save every few minutes you would lose all of your work. Some programs require more than others and REV in my opinion by it's very nature requires lots of saves. It's programming after all. I would expect it to require lots of saves. What happens when you use a backup software or Constellation?? Does it crash less with auto back ups? Thanks Tom On Mar 24, 2006, at 12:02 PM, [EMAIL PROTECTED] wrote: It has been a hard lesson to learn - especially coming from a HyperCard background where one never needed to save. Thomas J McGrath III [EMAIL PROTECTED] Lazy River Software™ - http://www.lazyriversoftware.com Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html Meeting Wear™ - http://www.cafepress.com/meetingwear Semantic Compaction Systems - http://www.minspeak.com SCIconics, LLC - http://www.sciconics.com/sciindex.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
upDate data
What I want to do is to change Column ticket to where BookingId = tbookingID and change Column ticket to NO what I am getting is changing column ticket to where column ticket = NO Liam Liam Lambert [EMAIL PROTECTED] IRELAND ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Save stacks periodically to avoid crashes?
Hi Jon, it seems that if I am saving the stack periodically, which I would tend to do to avoid losing data in a crash, the program actually crashes less. I find the same results not from saving the stack per se, but from applying each handler in a script and closing reopening the Script Editor before editing a different handler. Rob Cozens CCW, Serendipity Software Company 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 Donne (1572-1631) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Shamelessly Soliciting Windows Developers' Votes
Hi Judy, This is from the Newton list. I thought it was kinda funny in a warped sort of way: http://www.geekculture.com/joyoftech/joyarchives/798.html The guy in the beard could be moi, except (a) my beard, when I have one, is darker, and (b) I wouldn't have a TPC that didn't have a 12 screen. I'm reminded of a Gandhi quote that goes something like: First they ignore you, Then they laugh at you, Then they argue with you, Then you win. Mac folks may laugh now; but I don't see any graphic-tablet based Mac with a decent size screen and handwriting voice recognition out-of-the-box. For this Foole, the pen is significantly mightier then the mouse. Rob Cozens CCW, Serendipity Software Company 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 Donne (1572-1631) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Shamelessly Soliciting Windows Developers' Votes
Troy, I take it that this means they only support horizontal screen orientation, and fields can't be filled out with a stylus, right? But the stylus can still be used for mouse-clicks, menu functions, etc. Correct? Take a look at my additional comments posted with http://support.runrev.com/bugdatabase/show_bug.cgi?id=3252. These were added after I downloaded and reviewed Microsoft's TPC SDK. The issue with orientation is that RR needs to process the messages sent when the user changes orientation or (by showing/hiding the TPC Input Panel) available screen size. The issue with field input seems to be that the Input Panel keyboard generates 8-bit characters but ink returns text as Unicode. Rob Cozens CCW, Serendipity Software Company 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 Donne (1572-1631) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Copy Image to Clipboard broke in 2.7?
Hi Mark, Thanks for the try. Interesting, never thought about exporting the image to a var. I like it! Still doesn't work in 2.7. Mark Waddingham contacted me and confirmed the clipboardData is broke but will be fixed in the next update. best, Chipp Mark Schonewille wrote: Hi Chipp, on copyToClip pImage export image pImage to myImg as PNG set the clipboardData[image] to myImg end copyToClip ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Ftp and cross platform issues...
Alex Tweedly wrote: (Plea - auto-updating stacks *should* provide a way to download the update to somewhere local and up date from there, please. Not only does it help with this problem, but also helps if you have multiple machines and a slow network connection - e.g. when your DSL is down, and you are using your fall-back dial-up connection). I agree. I'm rewriting my MagicCarpet Auto-updating Architecture to take account for that-- and also allow for the creation of portable apps. http://portableapps.com/ -chipp ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Correct Syntax???!!!
As far as I understand it, start using stack foo library stack foo insert the script of stack foo into back are all functionally equivalent. I don't think there's much to understand about backscripts. I suspect frontscripts are as simple, but I've never used one. Mark On 24 Mar 2006, at 19:34, David Burgun wrote: ISM is a library so I am using this technique.I really don't know anything about front or back scripts, and to be honest the lack of good documentation has put me off looking at them. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RevMail Command - Sending an Email
Sean Shao wrote: This questions gets asked a lot David that I really wish that Rev would just put it into the IDE/engine instead of the current method that they use (or have both, choices are always good). Take a look at one of the following Rev libraries that should be completely cross-platform: - libSmtp 2.5.3 by me www.shaosean.tk in the libraries section - SMTPlibrary by Sarah Troz http://www.troz.net/Rev/libraries.html Chipp has also made a wrapper library for my library that makes it a bit easier to use, but limits the functionality.. It's called altEmailHarness and as Sean mentions, it uses her great library. It only allows the sending of plain text messages with no enclosures. If you need more than that, you should download from the shaosean site above. Bottom of page: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm -Chipp ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Correct Syntax???!!!
David Burgun wrote: I see your point, but in practice, using the ISM approach only the objects that need to act are called whereas using the other methods all fields need to be visited. Not necessarily. Properties can also be used to determine whether an object adopts any specialized behavior. Or the objects can be added to a list for centralized management. Or the objects can call to a centralized routine which implements the actual behavior. There are many ways to get specialized behavior for objects without replicating the code that drives the behavior. When more than one object has a similar behavior, centralizing that behavior in a common script will often pay big dividends over the life cycle of a code base. I really don't know anything about front or back scripts, and to be honest the lack of good documentation has put me off looking at them. I think you'll find the documentation of the message path much enhanced in v2.7. This may also be helpful: Extending the Revolution Message Path: An introduction to using Libraries, FrontScripts, and BackScripts http://www.fourthworld.com/embassy/articles/revolution_message_path.html -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: FTP and cross platform issues...
On 23 Mar 2006, at 00:31, John Patten wrote: Hello All... I searched the archives and could not come up with a solution to an FTP problem I'm having. I have an OSX Tiger Server configured for FTP. Everything works like it supposed to with both Fetch (Mac side) and FTP Commander on the WinXP side. No problem. However, I've been trying to get the WindowsXP box and Rev to upload a simple text file to the server. No success. I have tried Andre FTP utility, a couple others from the member area, my own hacks using the examples in the rev docs, and finally Chip's FTPer utility. None of them would work. The best I could see was that I was getting a time out error. I know there has been some discussion about passive/active/firewall issues, but I wonder if something else isn't amiss. On my own local network, with Win XP firewall on, I can upload to an OS X Tiger ftp server without problems. I've had the XP firewall on since the SP2 release and have had no problems. I just reset the XP firewall settings to restore default settings and still have no problems, using both active and passive. (It seems to have upset my smb connection though. :-( ) FTP severs will generally handle both passive and active requests, unless specifically set otherwise. The problems over passive/active generally occur at routers/firewalls between the client and server. Some questions: (apologies if they have been answered already) Is the server on the local network or on the internet? Is the OSX Tiger Server running OS X Server or just plain OS X? (I think they deploy different FTP servers, in case that's relevant.) In my case, it's plain OS X. Are you running any other internet security software on either the client or server machine? Can you get some log data using libUrlSetLogField in the client? This might help pin down where the problem is occurring? What version of Rev and libUrl are you using? (put libUrlVersion() in the message box will give you the libUrl version.) Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Revolution in Seattle?
Lynn- Thursday, March 23, 2006, 7:15:25 PM, you wrote: With so many people in the Seattle area, what about an semi-regular Regarding Seattle and other places, if folks sign on at www.frappr.com/runtimerevolution it'll be easier to to mashups because you'll be able to see if there are others in your area. -- -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: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: HyperCard Stack conversion in RR 2.7
Michael- Friday, March 24, 2006, 10:38:38 AM, you wrote: I tried that and got back about 4 hits, none of which were the Opening Hypercard Stack with Revolution 2.7 messages from the Feb. archive. I had the same experience with Google. You might try my ArchiveSearch plugin in revOnline user space mwieder and change the prefs to search gmane or nabble or both. They both returned hits for this topic, even though Google came up empty. -- -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: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Correct Syntax???!!!
David Burgun wrote: on preOpenCard repeat with i = 1 to the number of flds if the lockText of fld i is false then put empty into fld i end if end repeat pass preOpenCard end preOpenCard Yes, but this only works for fields and it only works on *all* fields, what if you wanted to leave the field untouched from the last time it was used. I think the main point is that you can structure this handler any way you need to in order to accomplish a generic goal. You don't necessarily need to change every field's contents; the handler can check for a field property, field contents, a list in a global variable, anything at all, and only act when appropriate. There could be default values, updated values, values based on a calculation, no value changed, whatever you need. It doesn't have to be only fields; you can use the more generic control keyword and check everything on the card. The idea is that one or a few handlers in a central location manage everything. The script becomes universal and transportable. Maybe a better example is this. I have a preferences stack, one of the items on it is the unit of measurement, it can be set to MM, CM or Inches. I have a couple of groups in my Group Library to do with measure. One of them has the following fields: [] = a field = variable value [Width:] [ value_in_units] [Units] [Height:] [ value_in_units] [Units] If the units were set to CM and the values were 100. Now the user opens the preferences stack and changes the units to MM. I want all Units values to change from CM to MM and I want 100 CM's to now be 1000 MM's. Using ISM, I would do this in the script for the Value and Units fields: ListenForMessage(PrefsMeasureUnits,kMeasureUnits) and define the following handlers for the Units fields: on PrefsMeasureUnits theMessageID, theSubClass, theUnitValue set the text of the long id of me to theUnitValue end and on the value_in_units fields: on PrefsMeasureUnits theMessageID, theSubClass, theUnitValue put CalcualteNewValue(the text of the long id of me, theUnitValue) into myNewValue set the text of the long id of me to myNewValue end And in the script of the popup menu in the preferences stack, I'd write: get ISMPutMessage(PrefsMeasureUnits, kMeasureUnits,theNewUnitsValue) And any object in any card on any stack can listen for the message, so they all initialize to the correct value. I therefore only need to change the value once, not once for each object. I think we all do something very similar in most of our stacks, it is a very common goal. And since you now have your method working, there's no point in changing it. But for those who may be curious, I'd accomplish the goal differently and, I think, with less work and far fewer scripts. I would use Revolution's native system messages to trigger a handler which is located in the stack script, the background script, or a library script. The system message I'd trap depends on the situation, but in this case a preOpenCard message would allow the fields to change their content before the card is displayed. Instead of adding a script to each field (unnecessary overhead,) I would mark the field in some way as special; set a property, or (more typically for me) preface the field name with particular string. It doesn't matter how these fields are differentiated, it only matters that a script can test for the fact that they are controls that need to be handled. Then in my library/stack/background script, I'd have a handler: on preOpenCard doCalcStuff end preOpenCard on doCalStuff -- all actual work goes here repeat with x = 1 to the number of controls -- or flds,btns, etc. if the uUpdate of control x then whatever end repeat end doCalcStuff A doCalcStuff handler would check the Preferences stack to see what the user's measurement preference is, and re-calculate those fields that require it before the card opens. It can update both the measurement popups as well as the data calculation fields at the same time. You get the same results, with less scripting and more portability. In addition, the fields themselves do not need to take any kind of active listening role at all, nor do they need any particular scripts; they need do nothing. All the updating is handled in a single place -- a backscript or similar -- and if you need to change the behavior you only need to change the backscript. The effort required to change a measurement preference is identical to the method you are currently working with. The user makes only a single selection in the Preferences stack, and in fact no other actions take place at that time. There is no performance hit because the actual updating doesn't happen until the card is displayed, where the update is virtually instantaneous. Now, I think I know what you will say: what happens if you do need everything to update all at once? No problem. You can
Re: Any Rev VB gurus?
On 3/24/06 12:23 PM, Thomas McGrath III [EMAIL PROTECTED] wrote: Hello all, I have a stack that is using VB scripts on Windows. I have a few interrelated questions and need some advice from someone familiar with both. We can take it off list if needed. I use VB and Rev a lot; I'm ready to help if you need it... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Progress Bar Example
I would like to use a progress bar to monitor a go stack URL. I'm clueless on how to write the code. Does someone have an example of this or can someone please point me in the correct direction. Jeff ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Progress Bar Example
On 3/25/06, Jeff Honken [EMAIL PROTECTED] wrote: I would like to use a progress bar to monitor a go stack URL. I'm clueless on how to write the code. Does someone have an example of this or can someone please point me in the correct direction. Jeff I haven't done it using stacks, but I have done it for downloading pictures from the web and I guess it's much the same. Firstly, you need to use load instead of go. This is non-blocking and reports it's status so you can show what's happening. Here is part of the handler I use to start a download. It sets the status callback object to a progress bar and then starts loading. When it is finished, it's going to call the picDownloaded handler. on downloadFile pAddress libURLSetStatusCallback showStatus, the long ID of sb Progress of stack Download load URL pAddress with message picDownloaded end downloadFile In the script of the scrollbar, I have this: on showStatus pURL, pStatus if item 1 of pStatus = loading then put item 2 of pStatus into tNow put item 3 of pStatus into tEnd if the visible of sb Progress = false then -- hasn't started yet set the endValue of sb Progress to tEnd set the thumbPos of sb Progress to tNow show sb Progress else set the thumbPos of sb Progress to tNow end if else if pStatus = error then libURLSetStatusCallback set the dialogData to empty close this stack end if end showStatus which sets the range of the progress bar and shows it if not already visible, otherwise it just moves the progress bar. If there is an error, it gets out. Back in my download script, I have the handler that gets called after the download is finished. This is in the same script as the downloadFile handler: on picDownloaded pURL, pStatus libURLSetStatusCallback set the dialogData to URL pURL unload URL pURL end picDownloaded This puts the newloy downloaded data into a variable (I'm using the dialogData as it downloads from a separate dialog stack), and then unloads the file so that it isn't held in two places of memory at once. At this point, you could have a go to stack pURL line. Let me know if this doesn't work or if you have any further questions. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
The Business of Software: What is Distribution?
Hi all, If you are interested, Ive started writing a series that is posted on my blog and on Digital Pilon that one day I will compile into a book for new vendors. The first article is The Business of Software: What is Distribution? It might be useful if you are looking into the shrinkwrap market. This first one essentially gives an overview of different types of distributors and the role they play. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd Blog version: http://www.lynnfredricks.com/wp/2006/03/20/the-business-of-software-what-is- distribution/ Digital Pilon version: http://www.digitalpilon.com/en/index.php?option=com_contenttask=viewid=30; Itemid=1 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
running a process in the background
How is this done, or can it be done? Or maybe this isn't even the right question. Here's what I'm trying to do. I have a handler that generates a set of reports for my application. That handler can take a while to process if there is a lot of data to work with. So what I'm trying to do is display a modal dialog that basically just says Please wait while the reports are generated. The Please wait dialog also has the little chasing arrows animated gif and a Cancel button to stop the process if necessary. Here's what's happening. The dialog displays just fine, and the reports are generated just fine. But while the work is being done, the dialog does not respond in any way. The chasing arrows do not move and I can't click on the Cancel button. Is there any way around this? The dialog is a substack of the stack that creates the reports. In the openCard handler of the first, and only, card of the substack, I have a send DoReports in time command. And that's it. Is there any way to do what I want? Seems like I've seen it done before, but can't quite get it working. Thanks, Chris -- Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com -- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Custom radio buttons
On 3/24/06 9:02 AM, Peter T. Evensen [EMAIL PROTECTED] wrote: To me it is a bug. The standard is ( ) Text, but there is NO way to get Rev to do this. Ah, that's different! :-) I agree with you - we need to have different alignment options for text and icons. In the meantime, you can set the text alignment of the button as right, and then set the margins of the button to scoot the text over. It's not perfect, and it's not consistent (especially if you are changing text attributes of the button), but it *is* a workaround. I suggest you log it as an enhancement suggestion (or bug if you prefer) so they can address it for a future release of Rev. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Setting up a team...
Hi Andy, Why don't you come to RevCon in June? There you'll be able to meet a ton of people of the type you're looking for! Phil Davis Andy Calloway wrote: At the moment we do websites and that's it. However, we've recently been bidding for bigger and bigger jobs that although the customer thinks hey, that'd be cool on a browser, I think that their users (internal that is) would feel far happier with a client application. So, as the Tech director of the company, it's my job to source the best method of doing these things. Now, I got RunRev as a hobby thing. I like programming and I like the challenge of new stuff, and this seemed a good toy to take me away from the humdrum of office life (busman's holiday I know, but us geeks are like that). However while I'm sat in a meeting the other day listening to some requirements, it hit me like a bolt that RunRev could do all and more of what was required. So, totally hypothetical at the moment, but let's say we decided to write some stuff in RunRev. We've got a small dev team of three PHP programmers and although they may find it fun, we really don't want them to take their eye off the ball. So I have a dilemma. Do I go looking for a RunRev programmer, do I freelance our requirements or do I take someone on and train them in the art of Transcript? Open discussion really, what would you do? Andy. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Ftp and cross platform issues...
Wait. Doesn't the term 'Portable Apps' imply some kind of cross-platformness? I mean, that's why Web based apps were created Shouldn't 'Portable' imply 'play anywhere'? Alex Tweedly wrote: (Plea - auto-updating stacks *should* provide a way to download the update to somewhere local and up date from there, please. Not only does it help with this problem, but also helps if you have multiple machines and a slow network connection - e.g. when your DSL is down, and you are using your fall-back dial-up connection). I agree. I'm rewriting my MagicCarpet Auto-updating Architecture to take account for that-- and also allow for the creation of portable apps. http://portableapps.com/ -chipp -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Progress Bar Example
On 24 Mar 2006, at 21:42, Sarah Reichelt wrote: On 3/25/06, Jeff Honken [EMAIL PROTECTED] wrote: I would like to use a progress bar to monitor a go stack URL. I'm clueless on how to write the code. Does someone have an example of this or can someone please point me in the correct direction. Jeff I haven't done it using stacks, but I have done it for downloading pictures from the web and I guess it's much the same. Firstly, you need to use load instead of go. This is non-blocking and reports it's status so you can show what's happening. You can show status using go as well. libUrlSetStatusCallback works for both blocking (e.g. load url) and non-blocking (.e.g. get url) calls. Below is the script of a *very crude* progress palette. The stack consists of two fields (one named url and the other named status), and a scrollbar (progress bar) named progress . Name the stack url_status (or anything you want). Make this stack a substack of your main stack. Then somewhere (e.g in your mainstack's preopenstack handler), include the following: start using url_status That's it. After that, it should work for all downloads and uploads (which may not be what you want). Cheers Dave -- local sUrls on libraryStack libUrlSetStatusCallback urlCallback, the long id of me palette me hide me end libraryStack - on releaseStack libUrlSetStatusCallback empty close me end releaseStack --- on urlCallback pUrl, pStatusString show me put pUrl into field url of card 1 of me put item 1 of pStatusString into tStatus put tStatus into field status of card 1 of me put 1 into sUrls[pUrl] if tStatus is among the items of loading,downloading,uploading then put item 2 of pStatusString into tPart put item 3 of pStatusString into tWhole if tWhole empty then showProgress tPart,tWhole else hide scrollbar progress of me put , tPart bytes after field status of card 1 of me end if --unlock screen else if tStatus is among the items of loaded,downloaded,uploaded,cached then delete local sUrls[pUrl] if the visible of scrollbar progress of me then showProgress 1,1 send hideStatus to me in 200 milliseconds ##leave visible for short time else if tStatus is among the items of error,timeout then delete local sUrls[pUrl] send hideStatus to me in 200 milliseconds ##leave visible for short time else hide scrollbar progress of me end if end urlCallback - on showProgress pPart,pWhole put the endValue of scrollbar progress of me into tMax set the thumbPosition of scrollbar progress of me to round(tMax * pPart / pWhole) show scrollbar progress of me wait 10 milliseconds end showProgress --- on hideStatus if keys(sUrls) is empty then hide me end if end hideStatus ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: The Business of Software: What is Distribution?
Hi Lynn, If you are interested, Ive started writing a series that is posted on my blog and on Digital Pilon that one day I will compile into a book for new vendors. The first article is The Business of Software: What is Distribution? It might be useful if you are looking into the shrinkwrap market. This first one essentially gives an overview of different types of distributors and the role they play. Are you aware that there is already a book called The Business of Software? It's written by an academic and is very good. Maybe a different title...? Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.1/292 - Release Date: 24/03/2006 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Ftp and cross platform issues...
Mark Wieder wrote: My windows boxes are behind *two* sets of piggybacked routers, so I have an inner and an outer subnet. Back in the Bad Old Days when hardware routers were expensive I used to use software firewalls, but maintenance ended up being more trouble than it was worth. Now a couple of $30 plastic boxes keep my local network traffic local, they're cross-platform, and my network can be exposed to the internet 24/7 without my having to worry about a thing. The two router approach is a very good one. We always used to refer to the intermediate network as the DMZ - and eventually realized that the younger guys were using the name DMZ with no clue what it stood for, what it meant, or why we called it that. That was on of my I feel old moments :-) But (sigh) if I had to use a windows laptop I'd probably use the internal firewall when I went outside to play. Nowadays, I find myself reaching for the touchpad even when I'm using a desktop machine - faster than reaching all the way across for the mouse. I haven't regularly used anything but a laptop for almost 10 years now. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.1/292 - Release Date: 24/03/2006 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: running a process in the background
On 3/24/06 4:10 PM, Chris Sheffield [EMAIL PROTECTED] wrote: How is this done, or can it be done? Or maybe this isn't even the right question. Here's what I'm trying to do. I have a handler that generates a set of reports for my application. That handler can take a while to process if there is a lot of data to work with. So what I'm trying to do is display a modal dialog that basically just says Please wait while the reports are generated. The Please wait dialog also has the little chasing arrows animated gif and a Cancel button to stop the process if necessary. Here's what's happening. The dialog displays just fine, and the reports are generated just fine. But while the work is being done, the dialog does not respond in any way. The chasing arrows do not move and I can't click on the Cancel button. Is there any way around this? The dialog is a substack of the stack that creates the reports. In the openCard handler of the first, and only, card of the substack, I have a send DoReports in time command. And that's it. Is there any way to do what I want? Seems like I've seen it done before, but can't quite get it working. Here you go: http://www.sonsothunder.com/devres/revolution/tips/scrp008.htm :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: The Business of Software: What is Distribution?
Are you aware that there is already a book called The Business of Software? It's written by an academic and is very good. Maybe a different title...? Not sweating the title at this point - absolutely the last thing to think about. You only need to start with a title if you are producing a movie starring Freddie Prinze Jr - as that is the best thing that can possibly come out of it ;-) You mean the Cusumano book? If so I wouldn't categorize him as an academic. His Microsoft Secrets book, while now a bit out of date, has some good nuggets in it about what works at MS (and a few things that don't ;-)). Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Progress Bar Example
Sarah, Thanks for the reply. I've tried using load stack URL http://www.x12help.com/x12provider.rev; but it errors. I've only been successful with go Here's the code I'm using in a button: on mouseUp go stack URL http://www.x12help.com/x12provider.rev; end mouseUp Is there some other syntax for load ? Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sarah Reichelt Sent: Friday, March 24, 2006 2:42 PM To: How to use Revolution Subject: Re: Progress Bar Example On 3/25/06, Jeff Honken [EMAIL PROTECTED] wrote: I would like to use a progress bar to monitor a go stack URL. I'm clueless on how to write the code. Does someone have an example of this or can someone please point me in the correct direction. Jeff I haven't done it using stacks, but I have done it for downloading pictures from the web and I guess it's much the same. Firstly, you need to use load instead of go. This is non-blocking and reports it's status so you can show what's happening. Here is part of the handler I use to start a download. It sets the status callback object to a progress bar and then starts loading. When it is finished, it's going to call the picDownloaded handler. on downloadFile pAddress libURLSetStatusCallback showStatus, the long ID of sb Progress of stack Download load URL pAddress with message picDownloaded end downloadFile In the script of the scrollbar, I have this: on showStatus pURL, pStatus if item 1 of pStatus = loading then put item 2 of pStatus into tNow put item 3 of pStatus into tEnd if the visible of sb Progress = false then -- hasn't started yet set the endValue of sb Progress to tEnd set the thumbPos of sb Progress to tNow show sb Progress else set the thumbPos of sb Progress to tNow end if else if pStatus = error then libURLSetStatusCallback set the dialogData to empty close this stack end if end showStatus which sets the range of the progress bar and shows it if not already visible, otherwise it just moves the progress bar. If there is an error, it gets out. Back in my download script, I have the handler that gets called after the download is finished. This is in the same script as the downloadFile handler: on picDownloaded pURL, pStatus libURLSetStatusCallback set the dialogData to URL pURL unload URL pURL end picDownloaded This puts the newloy downloaded data into a variable (I'm using the dialogData as it downloads from a separate dialog stack), and then unloads the file so that it isn't held in two places of memory at once. At this point, you could have a go to stack pURL line. Let me know if this doesn't work or if you have any further questions. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Progress Bar Example
On 3/25/06, Jeff Honken [EMAIL PROTECTED] wrote: Sarah, Thanks for the reply. I've tried using load stack URL http://www.x12help.com/x12provider.rev; but it errors. I've only been successful with go Here's the code I'm using in a button: on mouseUp go stack URL http://www.x12help.com/x12provider.rev; end mouseUp load URL http://www.x12help.com/x12provider.rev; then when it finishes, put the already downloaded data into a variable go to it from there: put URL http://www.x12help.com/x12provider.rev; into myStackData go stack myStackData Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
capsLockKey Message?
Rev 2.6.1 Greetings, I see no message for such things as the caps lock, num lock and scroll lock keys. Does anyone know of a way to get a message from these? Or will I need to setup some loop in the stack to test the functions for the results? If loop, what and how is a loop setup in the stack that won't bog down the cpu, and allows everything else to flow as intended? Thanks, -Garrett ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
a rare bird...consult and teach/train
--- Dan Shafer [EMAIL PROTECTED] wrote: It's a rare bird who can both consult and teach/train why is that? Erik Hansen [EMAIL PROTECTED]http://www.erikhansen.org __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: FTP and cross platform issues...
Dave Cragg wrote: Can you get some log data using libUrlSetLogField in the client? This might help pin down where the problem is occurring? How do we call libUrlSetLogField ? -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.1/292 - Release Date: 24/03/2006 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Num Lock and Scroll Lock?
Garrett Hylltun wrote: Rev 2.6.1 Greetings, I see no message for such things as the caps lock, num lock and scroll lock keys. Actually, I see no references for Num Lock and Scroll Lock. Is there nothing for these at all? Thanks, -Garrett ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[ANN] New Chart App created with 2.7
Tuesday afternoon, a client asked me if I could create a application for him which would automatically generate 'Dial Charts'. It was completed by Thursday morning. It uses some new objects created for it, including altAccordion and altDial. Ad Chris said, if I were try to build this in Java, I'd still be sorting out classes. It truly is amazing how much you can get done in Rev in a few hours (around 10 hrs for this app). While it's not perfect, it works great and takes advantage of some cool new features of Rev 2.7, namely anti-aliased graphics. An image of it can be found at: http://www.altuit.com/webs/altuit2/test/Text_Lay.jpg Free Mac version: http://gadgetplugins.com/chippstuff/ChartWizard_Setup.dmg Free PC version: http://gadgetplugins.com/chippstuff/ChartWizard.zip Used the following tools to create it: Interface by Interface Designer Geometry Management by altLayout plugin Color picker is a custom color picker object already developed Accordion control - altAccordion plugin (not yet publically available) Dial Object - altDial (not yet publically available) And script editor: Constellation. -- -- Chipp Walters www.altuit.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: FTP and cross platform issues...
On 24 Mar 2006, at 23:35, Alex Tweedly wrote: Dave Cragg wrote: Can you get some log data using libUrlSetLogField in the client? This might help pin down where the problem is occurring? How do we call libUrlSetLogField ? libUrlSetLogField the long id of field whatever and to turn off: libUrlSetLogField empty Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Copy Image to Clipboard broke in 2.7?
Chipp, Even though Mark Waddingham confirmed the problem, it worked in Rev 2.7 running under Mac OS 10.4.5. I was able to paste the clipboard in a photo editor. Maybe this is a Windows issue? Best, Mark Chipp Walters wrote: Hi Mark, Thanks for the try. Interesting, never thought about exporting the image to a var. I like it! Still doesn't work in 2.7. Mark Waddingham contacted me and confirmed the clipboardData is broke but will be fixed in the next update. best, Chipp -- Consultant and Software Engineer mailto:[EMAIL PROTECTED] http://www.economy-x-talk.com eHUG coordinator mailto:[EMAIL PROTECTED] http://www.ehug.info Advertise with us and reach 1000 truely interested internet users every month. See http://economy-x-talk.com/advertise.html for more information. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: capsLockKey Message?
I see no message for such things as the caps lock, num lock and scroll lock keys. Does anyone know of a way to get a message from these? Or will I need to setup some loop in the stack to test the functions for the results? If loop, what and how is a loop setup in the stack that won't bog down the cpu, and allows everything else to flow as intended? I can't see anything that checks numlock or scroll lock, but you can check the capsLockKey to see if it is up or down. Set up a loop like this: on checkCaps if the capsLockKey = down then put Capslock ON else put Capslock OFF if the pendingMessages contains checkCaps is false then send checkCaps to me in 10 ticks end if end checkCaps What I do is alter the repeat time (set to 10 ticks or 1/6th of a second above) until it is just fast enough. That way you aren't taking more of the processor time that you need. Don't forget to have a way to cancel the message when quitting or when it is no longer needed. Here is my general message cancel handler: on cancelMessage pMsg put the pendingMessages into tList repeat for each line L in tList if item 3 of L contains pMsg then cancel item 1 of L end repeat end cancelMessage Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] New Chart App created with 2.7
On 3/25/06, Chipp Walters [EMAIL PROTECTED] wrote: Tuesday afternoon, a client asked me if I could create a application for him which would automatically generate 'Dial Charts'. It was completed by Thursday morning. It uses some new objects created for it, including altAccordion and altDial. Ad Chris said, if I were try to build this in Java, I'd still be sorting out classes. It truly is amazing how much you can get done in Rev in a few hours (around 10 hrs for this app). While it's not perfect, it works great and takes advantage of some cool new features of Rev 2.7, namely anti-aliased graphics. Looks great Chipp. Wasn't there someone last week saying that Rev was no competition for RB/VB because it didn't have dial controls :-) Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Ftp and cross platform issues...
Stephen Barncard wrote: Chipp wrote: I agree. I'm rewriting my MagicCarpet Auto-updating Architecture to take account for that-- and also allow for the creation of portable apps. http://portableapps.com/ Wait. Doesn't the term 'Portable Apps' imply some kind of cross-platformness? I mean, that's why Web based apps were created Shouldn't 'Portable' imply 'play anywhere'? In this case the play anywhere means you carry it with you wherever you go on your USB Flash drive. For us Rev folks the concept of portability may seem odd, since Rev apps are often self-contained anyway. But remember that a lot of Windows apps made with other tools require a small army of DLLs strewn all over the hard drive and a bunch of Registry entries to run. A portable app in this context is one which is simply self-contained, able to run entirely from a USB Flash drive leaving zero footprint on the system it's run on. Preferences, data files, and the app itself are all stored on the removable drive. And with Rev we can add a level of play anywhere most folks claiming to deliver portable apps can't: we can put Win, Mac, and even Linux executables on the drive, sharing a common data folder there, so the user can pop the USB device into nearly any computer on the planet and be able to run your app. -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Ftp and cross platform issues...
Great answer, Richard as usual. And I , as usual was getting my MacEvangelist fur up. No need. sqb Stephen Barncard wrote: Shouldn't 'Portable' imply 'play anywhere'? In this case the play anywhere means you carry it with you wherever you go on your USB Flash drive. For us Rev folks the concept of portability may seem odd, since Rev apps are often self-contained anyway. But remember that a lot of Windows apps made with other tools require a small army of DLLs strewn all over the hard drive and a bunch of Registry entries to run. A portable app in this context is one which is simply self-contained, able to run entirely from a USB Flash drive leaving zero footprint on the system it's run on. Preferences, data files, and the app itself are all stored on the removable drive. And with Rev we can add a level of play anywhere most folks claiming to deliver portable apps can't: we can put Win, Mac, and even Linux executables on the drive, sharing a common data folder there, so the user can pop the USB device into nearly any computer on the planet and be able to run your app. -- Richard Gaskin Managing Editor, revJournal -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Copy Image to Clipboard broke in 2.7?
Hi Mark, Yeah, in my original email I pointed out it was on a PC. Mark Schonewille wrote: Maybe this is a Windows issue? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Dial Control
Recently, Sarah Reichelt wrote: Wasn't there someone last week saying that Rev was no competition for RB/VB because it didn't have dial controls No doubt, Chipp will have an alt-announcement about this at RevConWest. :-) With luck, I'll be making a related announcement at the show as well. Hope to see you there. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Making the move...
On Mar 16, 2006, at 8:13 AM, Richard Gaskin wrote: I would imagine one could also set up Apache to use Rev for server- side includes, using settings similar to what's used for Ruby or PHP. I'm coming in here late on this but it's of great interest and very relevant, because somehow, not really knowing any better I just stumbled on this two years ago and now we use SSI's which execute Rev CGI's throughout our web site. yes and double yes.. works great. Assuming you have a Rev Engine installed, CHMOD 755 and other cgi's are working. There is no set up required at all for SSI's !--#include virtual=/cgi-bin/get_story_listing.cgi -- or iFrame iframe name=archiveIndex border=0 width=130 height=140 src=/ cgi-bin/buildArchivesIndex.cgi We do not see *any* slow down. Of course those CGI's are not doing anything very complex. Maybe I'm way out of my depth here and what we are doing is very baby face compared with the kinds of things you are saying RoR can do ... On Mar 15, 2006, at 3:05 PM, Dan Shafer wrote: Furthermore, the execution of that CGI script would require an event to be sent via a form button or a JavaScript onLoad() command; it's not just automatic. With SSI exec it *is* automatic. I don't see any execution slow down. And there is no round trip to the client server client server that a JavaScript onLoad() does (I think) Dan, if your definition of a web app really is: a Web *app* consists of a collection of 1 or more templates -- HTML files with embedded command and function calls -- that execute in a server-side scripting language interpreter running on the server. All Web pages with this embedded script code are run through the scripting language interpreter on the server, where the command is carried out and some content is generated to replace the command call before the page is sent to the HTTP server to return to the client. We are *already* doing this with Rev for several years now (and I'm pretty sure I'm not the only one, I got into this with Andu Novac when this was all metacard years ago... he still around?) and it works great, even without fastCGI...the fact that Rev is called on each hit doesn't seem to be an issue at all. Of course my suexec log is crazy big and scary for tech support at the data center who threw up a Denial of Service Attack Underway-Change Your Root Password Now! red flag when they looked at it... You mean your web pages are calling those CGI's on every hit? Wow, if I tail the log those Revolution CGI's are executing every few milliseconds... But your site still blazes? Oh boy... I need to set up a cron to null that thing once a day! And, if you ssh in and run top.. the CPU shows it is still half a sleep... kustum Illai (Tamil) = no problem === OK Marty, for us poor we only know xTalk paupers if you are lurking... I've put up some CGI's on our site and sent you the URL off list (I don't want to post that on this forum... if anyone else wants to see them, ask me off list) Since I am a coding primitive you should be able to understand it all easily enough. In my old age I'm doing more commenting. The model (s) is very simple: if the CGI is an SSI then it executes and builds parts of the page before the page is sent. Nothing could be simpler. This usually involves fetching some template or code chunks in the SSI folder. I always try to avoid hard coding HTML in the CGI and almost always externalize even small chunks to small files. this has the advantage that you can delegate code maintenance... someone says Can I add a new link to the side bar and you say sure.. just add an liSome New link/li to this file and they never touch the CGI. And for icing on the coffee cake, and if you combine Rev cgi with XML and XSL you have some really interesting possibilities. Just go to this page: http://www.himalayanacademy.com/teaching/stories/ When you hit that page, the page itself re-builds the list of stories instantly... there is no round trip before the page is served. OK now go here: http://www.himalayanacademy.com/teaching/stories/enter_stories.shtml and enter a bogus story (no problem I will delete later, this site is not public, I mean it's not linked to any top pages, just put your name in there somewhere.) Now go back to http://www.himalayanacademy.com/teaching/stories/ and you will see your new story added to the list... click on your story.. viola, it comes back to you as a web page...tell me if you see the slightest delay in the service. Any PHP doing the same thing would be 2 to 5 times slower. I put all the related files to this little framework in the folder called stories. and the cgi emails me that a story was just entered... The input page takes form data, the rev CGI grabs an XML template pops in the data from the form, saves an XML document that calls an XSL stylesheet (that was actually the biggest learning