From JimAultWins at yahoo.com Wed Mar 1 00:13:36 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 28 Feb 2006 21:13:36 -0800 Subject: Counting Chars by ASCI Values In-Reply-To: Message-ID: On 2/28/06 8:01 PM, "Jim Lambert" wrote: > Personally I prefer the itemcount technique. > Caution when counting words, items, lines in xtalk. Using either "the number of lines in" or "for each" can give unexpected results. If the last character in a field is a return, the last line is empty and DOES NOT COUNT. The same for ("," items) and (" " words) Using "& null" will work for words/items/lines and give you what you would want in most cases. See below. Paste the following into a new mainstack stack script, dblclk and study the difference. ---start copy -------------------------------------- on mouseDoubleUp put "one,two,three,four," into txtList --note last comma replace "," with cr in txtList -------- usual 2 methods ...oops repeat with x = 1 to the number of lines in txtList put "x is " & x into line x of withXresult end repeat repeat for each line LNN in txtList put "money" & cr after forEachResult end repeat ------- Ahh, more like what we naturally think repeat with x = 1 to the number of lines in (txtList & null) put "x is " & x into line x of withXnullResult end repeat repeat for each line LNN in (txtList & null) put "money" & cr after forEachNullResult end repeat ------------------- breakpoint --note the resultant variables in variable watcher --withXresult = 4 lines --forEachResult = 4 lines --withXnullResult = 5 lines --forEachNullResult = 5 lines & more money --basically, if the last word/item/line is empty it does not count --adding null forces it to count end mouseDoubleUp ---end copy ------------------------------- Jim Ault Las Vegas From nicolas_cueto at yahoo.com Wed Mar 1 00:55:04 2006 From: nicolas_cueto at yahoo.com (N Cueto) Date: Tue, 28 Feb 2006 21:55:04 -0800 (PST) Subject: implementing a search function In-Reply-To: Message-ID: <20060301055504.91537.qmail@web60620.mail.yahoo.com> Hello All, I'd like to make a search function similar to the one for the Rev docs, i.e., as letter by letter is typed in the "search" field, the indexed list automatically jumps to the corresponding alphabetical location. Problem is... I've no idea how this works! Many thanks in advance. (And sorry to sound like a broken record about this but the Archive Search plugin is still returning empty searches. I'm wondering if this is somehow related to recent RunRev changes...) Cheers, Nicolas Cueto From jacque at hyperactivesw.com Wed Mar 1 01:11:54 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 Mar 2006 00:11:54 -0600 Subject: Accelerator key navigation & Win XP In-Reply-To: References: Message-ID: <44053B2A.9080306@hyperactivesw.com> Judy Perry wrote: > Hello, > > One of my students just asked me about this strange behavior and I told > him I'd ask all of you. > > He's on XP and trying to use the accelerator-key navigation funtionality > from the View -> Go First, Go Previous, Go last... > > He says that it will work a few times, then stop working and lock up; he > says further that sometimes he can get out of this state by first clicking > on the single-line icon in the message box, then the multiple-line icon, > then again the single-line icon, but sometimes that doesn't even work. > > He's using I believe XP and Rev 2.7. > > Does this ring any bells anywhere? I haven't heard of this particular one, but it sounds a little like the Command-key dropout that happens sometimes with Cmd/Ctrl-C and Cmd/Ctrl-V, etc. Sometimes these menu shortcuts just stop being recognized. The student's clever use of the message box to get functionality back should be worth some extra credit I think, because most people just relaunch Rev to get it working again. This has been happening forever and ever to some people, some of the time, for some of the versions, under circumstances that no one can repeat reliably, depending on something no one can identify. That's all anyone knows about it. If he can come up with a reliable recipe... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 1 01:16:23 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 Mar 2006 00:16:23 -0600 Subject: Print from TL to BR - doesn't In-Reply-To: References: Message-ID: <44053C37.7080602@hyperactivesw.com> Hershel Fisch wrote: > On mouseUp > set the backgroundcolor of me to white > set the printmargins to 72,72,72,72 > --answer printer > print me from topLeft to bottomRight > End mouseUp There's the problem, in the last line. You need: print this cd from (the topLeft of this cd) to (the bottomRight of this cd) I don't think you want to use "me" here, if this is a button script. You probably want to print the card, so you have to refer to "this card" specifically. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Wed Mar 1 01:37:49 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 01 Mar 2006 00:37:49 -0600 Subject: implementing a search function In-Reply-To: <20060301055504.91537.qmail@web60620.mail.yahoo.com> Message-ID: On 2/28/06 11:55 PM, "N Cueto" wrote: > Hello All, > > I'd like to make a search function > similar to the one for the Rev docs, > i.e., as letter by letter is typed > in the "search" field, the indexed > list automatically jumps to the > corresponding alphabetical location. See: "List Fields: Scrolling to a Line on Keypress" http://www.sonsothunder.com/devres/revolution/tips/fld003.htm :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From chipp at chipp.com Wed Mar 1 01:54:16 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 01 Mar 2006 00:54:16 -0600 Subject: [ANN] Brand NEW altBrowser2!!! Neat new capabilities. Message-ID: <44054518.6060606@chipp.com> Just thought you all would be the first to know! From the website: http://www.altuit.com/webs/altuit2/altBrowserCover/default.htm New promotional pricing available for a limited time. ----------------------------------- Completely new version of altBrowser for Mac and PC. New features include: ? Embed a fully functional browser substack in your current application with a single click. No more fussing with libraries as the substack is completely self-contained. ? Brand new DEMO tutorial stack walks you through setting up altBrowser and it's functions. Also, updates existing externals and itself! ? New browser substack streamlined for ease of use and ease of customization. The new simplified scripts are documented well and easily modified. ? Now, for the first time, altBrowser can have multiple instances? each with their own browser ID! You can create your own tabbed browser if you like! ? Multiple enhancements and fixes from previous versions of altBrowser. No more jumping through hoops to set the external. Mac and PC versions are more alike than ever before. ? Mac version now automatically loads PDF and Flash documents. It will only take 5 minutes to make you a believer in altBrowser2! Check out our demo stack. It shows you step-by-step how easy it is to add a REAL BROWSER to your Rev project. There are demonstrations for Flash, PDF, and even an embedded fancy AJAX/Javascript app (you'll have to see to believe!;-). To view the demo, all you have to do is launch Revolution and and copy and paste the below script into your message box: go URL "http://www.gadgetplugins.com/altbrowser/altBrowserLauncher.rev" then hit enter. Please be patient while the demo stack loads. Once loaded, you may wish to save it. Then just follow the instructions and you're on your way to finding out all about the new altBrowser2! Don't worry, the Demo stack will install all the externals necessary! --------------------------- best, Chipp From chipp at chipp.com Wed Mar 1 02:07:35 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 01 Mar 2006 01:07:35 -0600 Subject: A Constellation Problem - of my own making In-Reply-To: References: Message-ID: <44054837.9080407@chipp.com> Michael, try this in the message box: set the topLeft of stack "revConstellation" to the screenloc That should move it so you can resize it. -Chipp Michael Mandaville wrote: > Tim, > > As far as I can tell, you described the problem quite accurately. The > Constellation top is tucked under the Revolution/Mac OSX menubar at the top > so I can't drag it anywhere. > > I'm on a 14" Mac Powerbook too > > And when I restart it goes right under the menu bar as well. From jperryl at ecs.fullerton.edu Wed Mar 1 02:26:55 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 28 Feb 2006 23:26:55 -0800 (PST) Subject: [ANN] Brand NEW altBrowser2!!! Neat new capabilities. In-Reply-To: <44054518.6060606@chipp.com> Message-ID: Chipp, I'm not seeing the pricing info... Where is it? Thanks! Judy On Wed, 1 Mar 2006, Chipp Walters wrote: > Just thought you all would be the first to know! > From the website: > http://www.altuit.com/webs/altuit2/altBrowserCover/default.htm > > New promotional pricing available for a limited time. From klaus at major-k.de Wed Mar 1 03:03:59 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Mar 2006 09:03:59 +0100 Subject: [ANN] Brand NEW altBrowser2!!! Neat new capabilities. In-Reply-To: References: Message-ID: <4D768C5C-073B-4770-A508-8AA2419564D2@major-k.de> Hi Judy, > Chipp, > > I'm not seeing the pricing info... > > Where is it? click "Buy" in the naviagation bar on the left side of the page, et voila!: the prices! It's magic, ladies and gentlemen! :-) >> http://www.altuit.com/webs/altuit2/altBrowserCover/default.htm > Thanks! > > Judy Regards Klaus Major klaus at major-k.de http://www.major-k.de From scott at proherp.com Wed Mar 1 03:05:37 2006 From: scott at proherp.com (Scott Kane) Date: Wed, 1 Mar 2006 19:05:37 +1100 Subject: [ANN] Brand NEW altBrowser2!!! Neat new capabilities. In-Reply-To: <4D768C5C-073B-4770-A508-8AA2419564D2@major-k.de> Message-ID: <000001c63d06$f22ef6a0$0201010a@royalnexus> > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Klaus Major > Sent: Wednesday, 1 March 2006 7:04 PM > To: How to use Revolution > Subject: Re: [ANN] Brand NEW altBrowser2!!! Neat new capabilities. > It's magic, ladies and gentlemen! :-) You're a true Warlock Klaus... Scott From gcanyon at inspiredlogic.com Wed Mar 1 03:08:47 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed, 1 Mar 2006 00:08:47 -0800 Subject: search scripts for string In-Reply-To: <000a01c63c82$d9225a00$6501a8c0@new0eeca32bb97> References: <000a01c63c82$d9225a00$6501a8c0@new0eeca32bb97> Message-ID: <9F153DD9-1F27-4412-98BF-283115F5D118@inspiredlogic.com> On Feb 28, 2006, at 8:20 AM, Preston Shea wrote: > I seem to remember a something (third party? sample script?) > somewhere to search all the scripts in a stack for a text string. > Does anyone know where this gem might be? Navigator will do this as well: http://www.inspiredlogic.com/navigator Right-click (control-click on a Mac) on any set of controls and in the contextual menu will be options to search the scripts of just the hilited objects, or all the objects they contain. You can also easily search based on any test you like -- find all buttons that aren't 14 pixels tall, find all invisible fields, etc. regards, Geoff From klaus at major-k.de Wed Mar 1 03:30:31 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Mar 2006 09:30:31 +0100 Subject: [ANN] Brand NEW altBrowser2!!! Neat new capabilities. In-Reply-To: <000001c63d06$f22ef6a0$0201010a@royalnexus> References: <000001c63d06$f22ef6a0$0201010a@royalnexus> Message-ID: <9447D3C7-E84C-41DF-A280-982E644BDE17@major-k.de> Hi Scott, >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> Klaus Major >> Sent: Wednesday, 1 March 2006 7:04 PM >> To: How to use Revolution >> Subject: Re: [ANN] Brand NEW altBrowser2!!! Neat new capabilities. > >> It's magic, ladies and gentlemen! :-) > > You're a true Warlock Klaus... thank you very much, Scott! :-) > Scott Best Klaus Major klaus at major-k.de http://www.major-k.de From alex at tweedly.net Wed Mar 1 03:54:54 2006 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 01 Mar 2006 08:54:54 +0000 Subject: Counting Chars by ASCI Values In-Reply-To: References: Message-ID: <4405615E.4010204@tweedly.net> Ken Ray wrote: >On 2/28/06 3:57 PM, "Jonathan Lynch" wrote: > > > >>I like the idea of using itemdel as a means of counting - very clever... >> >>I was thinking there must be some other immediate means of counting? >> >> > >How about this one? > >function CountChars pString,pChar > replace space with null in pString > replace pChar with space in pString > return ((the number of words of pString)-1) >end CountChars > > > That doesn't work because a sequence of consecutive spaces doesn't cause intermediate null words - the sequence is a single word delimiter. So if you tried to count the ":"s in "asd:::fgh" you'd replace it to "asd fgh" - which word-counting says is the same as "asd:fgh". It would also get the wrong answer if there are quotes in the string forming a quoted word. I think it requires a space immediately before the first quote for ti to be considered the start of a quoted word - but once it does form a quoted word, internal spaces are ignored, as is the lack of a space after the second quote. string word count ------- ---------- asdfgh 1 as you wanted asd"extra"fgh 1 again asd "extra"fgh 3 !! asd "extra" fgh 3 again asd "extra" fgh 3 again -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.1/270 - Release Date: 27/02/2006 From charles.hartman at conncoll.edu Wed Mar 1 07:33:38 2006 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 1 Mar 2006 07:33:38 -0500 Subject: implementing a search function In-Reply-To: References: Message-ID: <2DB7C4CA-C89B-4DB7-B770-81746390F202@conncoll.edu> If you want to go beyond the first character (press 'm' to get all the 'm?' lines, 'a' to get all the 'ma?' lines rather than all the 'a?' lines) it gets trickier, but several people have worked out versions of it. I can't remember quite when, but look in the archives for roughly August of last year . . . So many people come back to this, that it might be something to build into a library? Charles On Mar 1, 2006, at 1:37 AM, Ken Ray wrote: > On 2/28/06 11:55 PM, "N Cueto" wrote: > >> Hello All, >> >> I'd like to make a search function >> similar to the one for the Rev docs, >> i.e., as letter by letter is typed >> in the "search" field, the indexed >> list automatically jumps to the >> corresponding alphabetical location. > > See: > > "List Fields: Scrolling to a Line on Keypress" > http://www.sonsothunder.com/devres/revolution/tips/fld003.htm > > :-) > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From paulclaude at postino.it Wed Mar 1 08:06:27 2006 From: paulclaude at postino.it (Paul Claude) Date: Wed, 01 Mar 2006 14:06:27 +0100 Subject: Type a text from a palette stack to an external window Message-ID: There is a way to let Revolution (also via Applescript) may type a text on an external app window (i.e. a text editor)? I've tried using various AS tips to bring the ext. window to the frontmost, but every time the focus remains on the stack (a systemWindow style palette), and typing give back only an error sound. From Cubist at aol.com Wed Mar 1 08:08:24 2006 From: Cubist at aol.com (Cubist at aol.com) Date: Wed, 1 Mar 2006 08:08:24 EST Subject: Counting Chars by ASCI Values Message-ID: <226.708b3d0.3136f6c8@aol.com> In a message dated 2/28/06 6:20:02 PM, Todd Geist writes: >I need to count the number of times a Character occurs in text >string. The character will be high or Low ASCII. SO I need to input >the value as an ASCII value. > >Anybody have any scripts that can get me started? The replies you've gotten thus far have used loops to explicitly count the occurences of whatever-character-it-is. Here's a different way to do it, using the "replace" function, which could be faster: function HowManyCharXs TheText, ASCIIval # TheText is whatever you're interested in counting the characters of # ASCIIval is the ASCII value for the character you want to count put the length of TheText into Fred replace (numToChar (ASCIIval)) with "" in TheText return (Fred - the length of TheText) end HowManyCharXs This function uses "the length of" twice for each character-count. If you want to count multiple characters at any one time, it should be possible to speed things up a trifle by eliminating nearly half of the needed "the length of"s: function CountManyChars TheText, ASCIIvals # TheText is whatever you're interested in counting the characters of # ASCIIvals is a comma-delimited list of ASCII values for all characters you want to count put the length of TheText into Fred put "" into Rezultz repeat for each item II in ASCIIvals replace (numToChar (II)) with "" in TheText put the length of TheText into George put (Fred - George) into item (1 + the number of items in Rezultz) of Rezultz put George into Fred end repeat return Rezultz end CountManyChars Hope this helps... From jonathandlynch at gmail.com Wed Mar 1 08:29:55 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Wed, 1 Mar 2006 08:29:55 -0500 Subject: ... how could one create a customized object ... ? (was something else) In-Reply-To: References: <31e1938c0602280937j4dcffaaaq2e650272b92bef1c@mail.gmail.com> Message-ID: <31e1938c0603010529m626cce02s3a160ed66dc8d5c8@mail.gmail.com> Thanks, Dick This is something I have thought about... and, as RR currently stands, I think you would need an image with a bit of scripting, that holds the 3D object data in a custom property and sends that data to an external for processing when the view of the object is changed, then puts the new image data into the image. However, that requires an external. If you wanted to build a true custom object of this sort for RR, would it be possible? From jonathandlynch at gmail.com Wed Mar 1 08:34:27 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Wed, 1 Mar 2006 08:34:27 -0500 Subject: Counting Chars by ASCI Values In-Reply-To: <226.708b3d0.3136f6c8@aol.com> References: <226.708b3d0.3136f6c8@aol.com> Message-ID: <31e1938c0603010534o4a796a8eq8c0b69879e048339@mail.gmail.com> aha! Using replace twice - awesome Idea! I would write it like this: function CharCount pAsciiChar,pString put numtochar(pAsciiChar) into tCharToCheck put pString into pString2 replace tCharToCheck with empty in pString2 return (the length of pString)-(the length of pString2) end CharCount Awesome thinking Cubist! From lmpeterson at mac.com Wed Mar 1 08:46:43 2006 From: lmpeterson at mac.com (Lynn Marie Peterson) Date: Wed, 1 Mar 2006 05:46:43 -0800 (PST) Subject: Type a text from a palette stack to an external window In-Reply-To: References: Message-ID: <3183270.post@talk.nabble.com> Paul Consolo asked: << There is a way to let Revolution (also via Applescript) may type a text on an external app window (i.e. a text editor)? I've tried using various AS tips to bring the ext. window to the frontmost, but every time the focus remains on the stack (a systemWindow style palette), and typing give back only an error sound. >> ```````````````` Hi Paul ~ I am relatively new to RunRev, but I just ran into this recently in my own project. I had the same problem with AS, but this is what I did (note this does not include AS routine to transfer text, just activate an external app window: on mouseUp put "tell application" && quote & "Microsoft Word" & quote & return into tAppleScript put "open" & return after tAppleScript put "end tell" after tAppleScript do tAppleScript as AppleScript put "tell application" && quote & "Microsoft Word" & quote & return into tAppleScript put "activate" & return after tAppleScript put "end tell" after tAppleScript do tAppleScript as AppleScript end mouseUp I tried putting the AScript into one "put tell application", but I found the same thing you did... it would launch the Word app, but not bring it to the frontmost app, so I had to tell it to open and then activate in separate "tell application" statements. I'm sure there is a more concise, elegant way which the experts here on the list will provide. Lynn P. -- View this message in context: http://www.nabble.com/Type-a-text-from-a-palette-stack-to-an-external-window-t1205435.html#a3183270 Sent from the Revolution - User forum at Nabble.com. From paulclaude at postino.it Wed Mar 1 09:38:40 2006 From: paulclaude at postino.it (Paul Claude) Date: Wed, 01 Mar 2006 15:38:40 +0100 Subject: Type a text from a palette stack to an external window In-Reply-To: <3183270.post@talk.nabble.com> Message-ID: Hi Lynn, unfortunately this does not work for me. Perhaps the problem is that my stack has a systemWindow style. I've created this property, running it as Applescript: tell application "System Events" to set frontApp to name of (item 1 of (processes whose frontmost is true)) tell window 1 of application frontApp to activate tell application "System Events" keystroke "Test" end tell return frontApp It properly return the name of the text editor that's already open (frontApp), but doesn't bring it really to the front, and fails to type. on 1-03-2006 14:46, Lynn Marie Peterson at lmpeterson at mac.com wrote: > ```````````````` > Hi Paul ~ > > I am relatively new to RunRev, but I just ran into this recently in my own > project. I had the same problem with AS, but this is what I did (note this > does not include AS routine to transfer text, just activate an external app > window: > > on mouseUp > put "tell application" && quote & "Microsoft Word" & quote & return into > tAppleScript > put "open" & return after tAppleScript > put "end tell" after tAppleScript > do tAppleScript as AppleScript > put "tell application" && quote & "Microsoft Word" & quote & return into > tAppleScript > put "activate" & return after tAppleScript > put "end tell" after tAppleScript > do tAppleScript as AppleScript > end mouseUp > > I tried putting the AScript into one "put tell application", but I found the > same thing you did... it would launch the Word app, but not bring it to the > frontmost app, so I had to tell it to open and then activate in separate > "tell application" statements. I'm sure there is a more concise, elegant way > which the experts here on the list will provide. > > Lynn P. > -- > View this message in context: > http://www.nabble.com/Type-a-text-from-a-palette-stack-to-an-external-window-t > 1205435.html#a3183270 > Sent from the Revolution - User forum at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From tominjapan at excite.com Wed Mar 1 09:58:46 2006 From: tominjapan at excite.com (Thomas McCarthy) Date: Wed, 1 Mar 2006 09:58:46 -0500 (EST) Subject: PayPal and Rev update Message-ID: <20060301145846.AE7312F5CD@xprdmxin.myway.com> In my haste to bed the other night, I accidently put up some old [and nasty] cgi scripts. I've updated them. --and in the reg_stack.rev Scott Rossi's PayPal button worked well in development mode, but not under my standalone. I changed it to a revGoURL call and now it works. Also prettied up the auto-code fill-in feature. Now customers don't have to copy and paste the registration code. all the scripts and the reg_stack.rev are available here: http://www.discamus.com/nunc/how/PayPal_setup2.html cheers, tm _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From tg.lists at geistinteractive.com Wed Mar 1 10:20:19 2006 From: tg.lists at geistinteractive.com (Todd Geist) Date: Wed, 1 Mar 2006 07:20:19 -0800 Subject: Counting Chars By ASCII Part 2 Message-ID: <35A28769-F798-425E-815D-78B1989608E8@geistinteractive.com> Hello Again, After trying several of the excellent suggestions from all you revolutionaries, I realized I hadn't quite explained myself... go figure. So here is another attempt to explain what I am after. I am actually after "low" ASCII and "High" ASCII characters that my have snuck into a text file. So I need to look at every character, but I don't need to count every character. I just want the ones that have ASCII values below 32 and above 255 and that are not in a small set of allowed control characters. Based on the suggestions I got on the other thread, I came up with the following that produces the results I am after. SPEED is critical here, since the files I am scanning maybe many mbs. I am wondering if any of you can improve on the design. I feel the need, the need for SPEED. :>) put field 1 into tString put "10 11 12 29" into charsToIgnore REPEAT for each char tChar in tString put charToNum(tChar) into tASCII IF (tASCII < 31 OR tASCII > 255) THEN IF tASCII is not among the words of charsToIgnore THEN add 1 to tCounts[tASCII] END IF END IF END REPEAT put the keys of tCounts into tChars sort lines of tChars numeric REPEAT for each line thisLine in tChars put thisLine & TAB & tCounts[thisLine] & Return after newList END REPEAT put newList into field "Chars" Thanks in Advance Todd -- Todd Geist ______________________________________ g e i s t i n t e r a c t i v e From jonathandlynch at gmail.com Wed Mar 1 10:41:09 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Wed, 1 Mar 2006 10:41:09 -0500 Subject: Counting Chars By ASCII Part 2 In-Reply-To: <35A28769-F798-425E-815D-78B1989608E8@geistinteractive.com> References: <35A28769-F798-425E-815D-78B1989608E8@geistinteractive.com> Message-ID: <31e1938c0603010741h1c41f318iba819786844f90cc@mail.gmail.com> How is the speed on the script you are using? Like, if you use this script on a string of several megabytes, how long does it take to get a result? Since you are testing for a number of possible different characters, you are going to have to use a repeat for each char loop - I think. From effendi at wanadoo.fr Wed Mar 1 11:10:29 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Wed, 1 Mar 2006 17:10:29 +0100 Subject: Do you want to save changes to this stack ..... ? Message-ID: <112a56923d0ce1f98ca54fe165d7dc3a@wanadoo.fr> Hi from Paris, I have a relatively big stack (4000 cards, 6 Mb). When I run it, most times I just do calculations on card 1 whose results are stored on this card. In this case, from my point of view, there are no mods (although I agree that SOME fields on card 1 have changed, but I don't want to save the stack). Sometimes I add data cards, and so I do want to save the stack on exit. You can quit a stack in three ways, by (a) executing a "close stack" command, (b) by clicking top left (Mac), or (c) by quitting Revolution. Obviously, if I use methods (a) or (b), and answer "No" to the save request, when I open the stack again in the SAME Revolution session, any mods I made are there, because the stack is still in memory. If I use methods (a) or (b) with no save, and then quit Revolution, I lose my mods. I can go with that - it seems perfectly normal. Questions : 1 - Under what conditions does Revolution ask me the question "Do you want to save the changes ", or more simply, what constitutes "a change" ? The answer once seemed clear to me, but maybe there are things I don't know ! As an example, if I change the contents of a field, I get the request to save, but if I change the labels from English to French (by buttons), I don't get the request to save. Yet I made modifications to the stack ! And when I execute the stack again, label modifications have been lost. Curiouser and Curiouser ! 2 - Are the conditions the same under Stack Runner ? And the most important question : 3 - If I consider that I have made no changes, and Revolution doesn't agree, can I bypass the "Do you want to save?" request (maybe there is a gREV global that I can tinker with) ? ASSUMING the answer to question (3) is YES, I want to handle the "save" problem myself in the Stack Script : global IveModifiedTheStack on newCard -- I call "newCard" in a main-line script. create card put 1 into IveModifiedThe Stack end newCard on closeStack if IveModifiedTheStack = 1 then save this stack -- otherwise DON'T save ! end closeStack I tried using "saveStackRequest" and not passing it, but this doesn't appear to work, and it appears to be called AFTER the Revolution "Do you want to save" question, thus defeating the object : on saveStackRequest global IveModifiedTheStack if IveModifiedTheStack ? 1 then exit saveStackRequest pass saveStackRequest -- Leave Revolution to decide. end saveStackRequest Is this the correct way to attack the problem (I hope all this is clear to you guys) ? Francis From mark at maseurope.net Wed Mar 1 11:17:25 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 1 Mar 2006 16:17:25 +0000 Subject: Counting Chars By ASCII Part 2 In-Reply-To: <31e1938c0603010741h1c41f318iba819786844f90cc@mail.gmail.com> References: <35A28769-F798-425E-815D-78B1989608E8@geistinteractive.com> <31e1938c0603010741h1c41f318iba819786844f90cc@mail.gmail.com> Message-ID: I've come up with this: on anotherOne put fld 1 into tString repeat with n = 1 to 30 if (n >= 10 AND n <=12) OR n = 29 then next repeat put n & tab & charCount(n,tString) & cr after tList end repeat put tList into fld "chars" end anotherOne function charCount n,tString put length(tString) into oLen replace numToChar(n) with empty in tString return oLen - length(tString) end charCount Of course this won't find chars > 255, but then I have a question - if you insert "set the useUnicode to true" at the beginning of it, it still works, however if you do the same with your handler, on my system, it takes four time longer, and produces no result. Without the useUnicode setting, surely we're only able to count chars with an ascii value <= 255...or have I misunderstood this ascii 1-byte, 2- byte stuff? Mark On 1 Mar 2006, at 15:41, Jonathan Lynch wrote: > How is the speed on the script you are using? > > Like, if you use this script on a string of several megabytes, how > long does > it take to get a result? > > > Since you are testing for a number of possible different > characters, you are > going to have to use a repeat for each char loop - I think. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From marty at vertex.ucls.uchicago.edu Wed Mar 1 11:22:19 2006 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Wed, 1 Mar 2006 10:22:19 -0600 (CST) Subject: Recovering a corrupt file In-Reply-To: <20060301151303.DEF70825669@mail.runrev.com> References: <20060301151303.DEF70825669@mail.runrev.com> Message-ID: Hi -- Any hints on recovering a corrupted Rev file? We're using 2.6 on Mac OS 10.4.3 and saving files to a Sun workstation that emulates a Mac server by using a program called xinet. Anyway, when a student's quota is exceeded on the server, there is no error message when his RR stack is saved; however it is corrupt when the student tries to open the stack the next day. By corrupt, I mean that RR won't even begin to open it. One of my students just lost a couple of weeks of work. I can use vi or emacs to directly edit the RR file if I know what to go and fix. Any pointers to documentation that might help me? Thanks, - marty -- Marty Billingsley (marty at ucls.uchicago.edu) The University of Chicago Laboratory Schools From jonathandlynch at gmail.com Wed Mar 1 11:34:03 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Wed, 1 Mar 2006 11:34:03 -0500 Subject: Counting Chars By ASCII Part 2 In-Reply-To: References: <35A28769-F798-425E-815D-78B1989608E8@geistinteractive.com> <31e1938c0603010741h1c41f318iba819786844f90cc@mail.gmail.com> Message-ID: <31e1938c0603010834s493bd106x88be7a72ce1e297e@mail.gmail.com> I would assume that if he is checking for characters >255 that he must be using unicode. From jonathandlynch at gmail.com Wed Mar 1 11:35:48 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Wed, 1 Mar 2006 11:35:48 -0500 Subject: Do you want to save changes to this stack ..... ? In-Reply-To: <112a56923d0ce1f98ca54fe165d7dc3a@wanadoo.fr> References: <112a56923d0ce1f98ca54fe165d7dc3a@wanadoo.fr> Message-ID: <31e1938c0603010835p1cee7835t82616e9ae0233484@mail.gmail.com> I might be misunderstanding... but, if you want your stack to not remain in memory after you close it, can't you just set it's destroystack property to true? From JimAultWins at yahoo.com Wed Mar 1 10:25:57 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 01 Mar 2006 07:25:57 -0800 Subject: Counting Chars by ASCI Values In-Reply-To: <226.708b3d0.3136f6c8@aol.com> Message-ID: On 3/1/06 5:08 AM, "Cubist at aol.com" wrote: > > In a message dated 2/28/06 6:20:02 PM, Todd Geist > writes: >> I need to count the number of times a Character occurs in text >> string. The character will be high or Low ASCII. SO I need to input >> the value as an ASCII value. >> >> Anybody have any scripts that can get me started? > The replies you've gotten thus far have used loops to explicitly count the > occurences of whatever-character-it-is. Here's a different way to do it, > using the "replace" function, which could be faster: > Actually, my original post used the following technique: set the itemDel to "?" get the number of items in (textStr & null) which does not require a repeat loop or replace or a function or establishing more variables. One post was done to show the precaution of counting any container for words, items, lines where the last to be counted was empty. The best implementation would be either: -- method 1 inline put the itemDel into prevDel set the itemDel to asciiChar get the number of items in (textStr & null) set the itemDel to prevDel ---method 2 function function getCharCount asciiChar set the itemDel to asciiChar return the number of items in (textStr & null) end getCharCount --and now the itemDel does not have to reset put getCharCount("?") into howMany So many ways, so many choices :-) Jim Ault Las Vegas From jerry at hytext.com Wed Mar 1 11:41:07 2006 From: jerry at hytext.com (Jerry Muelver) Date: Wed, 01 Mar 2006 10:41:07 -0600 Subject: On the Democratic Operation of Bugzilla In-Reply-To: References: Message-ID: <4405CEA3.4000503@hytext.com> Jim Ault wrote: > It would be nice if there was a wiki that would categorize bugs > (text-in-fields, icons, standalones, Win32 vs Mac) that would read more like > a book or simple outline. > You mean, like http://revdocwiki.wikispaces.com/ ? ---- Jerry Muelver From JimAultWins at yahoo.com Wed Mar 1 10:34:53 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 01 Mar 2006 07:34:53 -0800 Subject: Counting Chars By ASCII Part 2 In-Reply-To: <35A28769-F798-425E-815D-78B1989608E8@geistinteractive.com> Message-ID: On 3/1/06 7:20 AM, "Todd Geist" wrote: Question 1: > IF (tASCII < 31 OR tASCII > 255) THEN Why would you test for > 255 since no ASCII would be higher than this? Question 2: Are you trying to strip the characters, or just count them and report the result, like a histogram? Could you show exactly what you are starting with and what you want to end up with? Thanks. Jim Ault Las Vegas On 3/1/06 7:20 AM, "Todd Geist" wrote: > Hello Again, > > After trying several of the excellent suggestions from all you > revolutionaries, I realized I hadn't quite explained myself... go > figure. So here is another attempt to explain what I am after. > > I am actually after "low" ASCII and "High" ASCII characters that my > have snuck into a text file. So I need to look at every character, > but I don't need to count every character. I just want the ones that > have ASCII values below 32 and above 255 and that are not in a small > set of allowed control characters. > > Based on the suggestions I got on the other thread, I came up with > the following that produces the results I am after. SPEED is > critical here, since the files I am scanning maybe many mbs. I am > wondering if any of you can improve on the design. I feel the need, > the need for SPEED. :>) > > put field 1 into tString > put "10 11 12 29" into charsToIgnore > > REPEAT for each char tChar in tString > put charToNum(tChar) into tASCII > IF (tASCII < 31 OR tASCII > 255) THEN > IF tASCII is not among the words of charsToIgnore THEN > add 1 to tCounts[tASCII] > END IF > END IF > END REPEAT > put the keys of tCounts into tChars > sort lines of tChars numeric > > REPEAT for each line thisLine in tChars > put thisLine & TAB & tCounts[thisLine] & Return after newList > END REPEAT > > put newList into field "Chars" > > Thanks in Advance > > Todd From FlexibleLearning at aol.com Wed Mar 1 11:46:13 2006 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 1 Mar 2006 11:46:13 EST Subject: implementing a search function Message-ID: <25d.7b22abf.313729d5@aol.com> I use this to progressively auto-fill from a defined list... Script for Field or Combo-button... on keyup k put word 2 of the selectedChunk into temp put the num of words of char 1 to temp of me into w put lineoffset(CR& word w of me, CR& fld "wordList") into n get line n of fld "wordList" if it <>"" then put it into word w of me -- Select current word offset put the num of chars of word 1 to w of me into w select char (temp) to w of me end keyup Maybe I should put it in the Scripter's Scrapbook. /H > On 2/28/06 11:55 PM, "N Cueto" wrote: > >> Hello All, >> >> I'd like to make a search function >> similar to the one for the Rev docs, >> i.e., as letter by letter is typed >> in the "search" field, the indexed >> list automatically jumps to the >> corresponding alphabetical location. From mark at maseurope.net Wed Mar 1 11:57:28 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 1 Mar 2006 16:57:28 +0000 Subject: Counting Chars By ASCII Part 2 In-Reply-To: References: Message-ID: <98CC19A6-81B0-41BB-9675-FFDB4DD97ED3@maseurope.net> Exactly why I wondered... from the Docs: So if we're dealing with unicode text, and really need to count the instances of each character outside of the 0 - 255 range, then we've got a real lot of tests to do since we have to consider values up to 65535... my 0 - 255 test took a couple of seconds on about 3 megabytes of data, testing for only 27 characters...Todd may be taking some longish coffee breaks! Mark On 1 Mar 2006, at 15:34, Jim Ault wrote: > > On 3/1/06 7:20 AM, "Todd Geist" wrote: > > Question 1: >> IF (tASCII < 31 OR tASCII > 255) THEN > Why would you test for > 255 since no ASCII would be higher than this? > > Question 2: > Are you trying to strip the characters, or just count them and > report the > result, like a histogram? > > Could you show exactly what you are starting with and what you want > to end > up with? > > Thanks. > > Jim Ault > Las Vegas > > On 3/1/06 7:20 AM, "Todd Geist" wrote: > >> Hello Again, >> >> After trying several of the excellent suggestions from all you >> revolutionaries, I realized I hadn't quite explained myself... go >> figure. So here is another attempt to explain what I am after. >> >> I am actually after "low" ASCII and "High" ASCII characters that my >> have snuck into a text file. So I need to look at every character, >> but I don't need to count every character. I just want the ones that >> have ASCII values below 32 and above 255 and that are not in a small >> set of allowed control characters. >> >> Based on the suggestions I got on the other thread, I came up with >> the following that produces the results I am after. SPEED is >> critical here, since the files I am scanning maybe many mbs. I am >> wondering if any of you can improve on the design. I feel the need, >> the need for SPEED. :>) >> >> put field 1 into tString >> put "10 11 12 29" into charsToIgnore >> >> REPEAT for each char tChar in tString >> put charToNum(tChar) into tASCII >> IF (tASCII < 31 OR tASCII > 255) THEN >> IF tASCII is not among the words of charsToIgnore THEN >> add 1 to tCounts[tASCII] >> END IF >> END IF >> END REPEAT >> put the keys of tCounts into tChars >> sort lines of tChars numeric >> >> REPEAT for each line thisLine in tChars >> put thisLine & TAB & tCounts[thisLine] & Return after >> newList >> END REPEAT >> >> put newList into field "Chars" >> >> Thanks in Advance >> >> Todd > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From cmsheffield at gmail.com Wed Mar 1 12:30:10 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Wed, 1 Mar 2006 10:30:10 -0700 Subject: strange menu behavior Message-ID: <350E5B6B-0EA4-4452-AC1F-EC99CBE5847D@gmail.com> I've found what I think is a bug of some kind, but I wanted to ask here to see if someone else has run into anything like this, and to see if maybe it's something I'm doing. I've got an application that uses a splash screen method. The main stack opens and the user has to enter his password to continue. This main stack has its own menu, which includes File -> Quit with Ctrl-Q set as the shortcut. After entering a password and logging in successfully, another stack opens. This stack has its own menu, which also includes File -> Quit with Ctrl-Q as its shortcut. When hitting ctrl-Q from this second stack, it should close the stack and return to the main login screen. Unfortunately, it's exiting the application completely. I believe what's happening is hitting ctrl-Q in the second stack is triggering the menu item in the first stack, which *is* supposed to exit the application completely. I've found that if I access the menu in the second stack by just clicking File, then ctrl-Q works correctly. It's almost as if the menu in the second stack is not loading or coming to the front or whatever until it is accessed in some way with an actual click of the mouse. Anyone have any ideas? Have I found a bug of some kind, or could there possibly be something I'm doing? One extra piece of information is that I am changing the menu items of this File menu in the preOpenStack handler of the second stack, dependent on a couple different conditions. Not sure if that would have anything to do with it or not. This problem only occurs under Windows, btw. On the Mac the behavior is exactly how I want it. Any help would be appreciated. Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From devin_asay at byu.edu Wed Mar 1 12:33:01 2006 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 1 Mar 2006 10:33:01 -0700 Subject: Pie Chart Algorithms? In-Reply-To: <029D1DA4-DB03-4C0F-BBF6-20E828240F16@hindu.org> References: <029D1DA4-DB03-4C0F-BBF6-20E828240F16@hindu.org> Message-ID: <01D0C109-75BA-4927-89D9-B0DA7FB5425E@byu.edu> On Feb 28, 2006, at 3:35 PM, Sivakatirswami wrote: > > The only caveat I discovered that there was some unknown > "condition" wherein the arc is drawn sans the radius lines... i.e > you get just a curved line..a simple arc... but, if I draw an > oval manually and set it's arc angle one gets a complete "pie" cut > polygon shape. And now my script only creates the full pie shape.. > > Can anyone tell us what determines whether full pie piece is drawn > or just the arc without radius lines? Don't you just need to set the lineSize of the oval graphic to > 0 ? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From mark at maseurope.net Wed Mar 1 12:34:49 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 1 Mar 2006 17:34:49 +0000 Subject: Counting Chars by ASCI Values In-Reply-To: References: Message-ID: Jim's solution seems the best, but if the data is big, then the 'number of items in (textStr & null)' seems to slow things down - I guess that textStr is being copied with the null char appended, and if it's big, that's a lot of work. I think it's therefore more efficient to test for char -1 of textStr being the char tested for, and if it is, then add 1 to the count. Also, shouldn't the count be 'the number of items in textStr -1? so I ended up with this: on yetAnotherWay put fld 1 into tString repeat with n = 1 to 30 if (n >= 10 AND n <=12) OR n = 29 then next repeat set the itemDelimiter to numToChar(n) put the number of items in tString -1 into tCount if char -1 of tString is numToChar(n) then add 1 to tCount put n & tab & tCount & cr after tList end repeat put tList into fld "chars" end yetAnotherWay this was just about twice as fast as "textStr & null" with 3 megabytes of data. Mark On 1 Mar 2006, at 15:25, Jim Ault wrote: > On 3/1/06 5:08 AM, "Cubist at aol.com" wrote: > >> >> In a message dated 2/28/06 6:20:02 PM, Todd Geist >> writes: >>> I need to count the number of times a Character occurs in text >>> string. The character will be high or Low ASCII. SO I need to input >>> the value as an ASCII value. >>> >>> Anybody have any scripts that can get me started? >> The replies you've gotten thus far have used loops to >> explicitly count the >> occurences of whatever-character-it-is. Here's a different way to >> do it, >> using the "replace" function, which could be faster: >> > > Actually, my original post used the following technique: > > set the itemDel to "?" > get the number of items in (textStr & null) > > which does not require a repeat loop or replace or a function or > establishing more variables. > > One post was done to show the precaution of counting any container for > words, items, lines where the last to be counted was empty. > > The best implementation would be either: > -- method 1 inline > put the itemDel into prevDel > set the itemDel to asciiChar > get the number of items in (textStr & null) > set the itemDel to prevDel > > ---method 2 function > function getCharCount asciiChar > set the itemDel to asciiChar > return the number of items in (textStr & null) > end getCharCount > > --and now the itemDel does not have to reset > put getCharCount("?") into howMany > > So many ways, so many choices :-) > > Jim Ault > Las Vegas > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From garrett at paraboliclogic.com Wed Mar 1 12:41:10 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Wed, 1 Mar 2006 09:41:10 -0800 Subject: Built-in Font Dialog? Message-ID: Rev 2.6.1 Greetings, Is there a built-in font dialog in Rev? Or do I use fontnames to get a list and create my own font selection routine? Thanks in advance, -Garrett From garrett at paraboliclogic.com Wed Mar 1 12:44:22 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Wed, 1 Mar 2006 09:44:22 -0800 Subject: RGB to HEX Message-ID: Rev 2.6.1 Greetings, Is there a built-in function in Rev that will convert RGB color string to a HEX color string? If no, does anyone know how to do this? I knew how to do this in another language, but am at a loss as to how to work it out in Rev. Thanks in advance, -Garrett From klaus at major-k.de Wed Mar 1 12:49:07 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Mar 2006 18:49:07 +0100 Subject: Built-in Font Dialog? In-Reply-To: References: Message-ID: HiGarrett, > Rev 2.6.1 > > Greetings, > > Is there a built-in font dialog in Rev? No, but you can examine the Rev "Font" menu :-) > Or do I use fontnames to get a list and create my own font > selection routine? That's possible, too. > Thanks in advance, > -Garrett Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Wed Mar 1 12:49:59 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Mar 2006 18:49:59 +0100 Subject: RGB to HEX In-Reply-To: References: Message-ID: <05553B7E-E6D6-4A89-BA38-AB504DDD774D@major-k.de> Hello again, Garrett .-) > Rev 2.6.1 > > Greetings, > > Is there a built-in function in Rev that will convert RGB color > string to a HEX color string? If no, does anyone know how to do > this? I knew how to do this in another language, but am at a loss > as to how to work it out in Rev. Check the "baseconvert" command in the docs. Pretty straightforward... > Thanks in advance, > -Garrett Regards Klaus Major klaus at major-k.de http://www.major-k.de From garrett at paraboliclogic.com Wed Mar 1 12:52:05 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Wed, 1 Mar 2006 09:52:05 -0800 Subject: ask dialog removes selectedChunk in field Message-ID: Rev 2.6.1 Greetings, When I use the ask dialog to get some user input on changing some hilighted text in a field, the ask dialog removes the focus from the field, thus losing the ability to use the selectedChunk after the dialog has been dismissed. I did not know if there was any way within any of the properties to stop this, such as setting traversalOn, so I put the selectedChunk into a variable before the ask dialog. Other than what I have done to resolve this, is there some property dealing with the ask dialog that might bypass the need to record the selectedChunk before the ask dialog? Thanks, -Garrett From cmsheffield at gmail.com Wed Mar 1 13:50:40 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Wed, 1 Mar 2006 11:50:40 -0700 Subject: test Message-ID: <5B27641B-E71B-4363-B4E1-E8B4C0E744E7@gmail.com> This is a test. Thanks for your time. :-) ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From jerry at daniels-mara.com Wed Mar 1 14:11:09 2006 From: jerry at daniels-mara.com (Jerry Daniels) Date: Wed, 1 Mar 2006 13:11:09 -0600 Subject: A Constellation problem-of my own making? In-Reply-To: References: Message-ID: <96D20F5C-467A-40B1-B967-3DE4BA8B4978@daniels-mara.com> Michael, Chipp's answer is the one I'd recommend...set the loc of stack "revConstellation" to the screenLoc. Like all windows, Constellation can be moved and resized via scripts or commands from the message box. Best, Jerry Daniels -------------- next part -------------- Artists, Consultants & Developers http://www.daniels-mara.com/art http://www.daniels-mara.com/products http://www.daniels-mara.com Voice: 512.879.6286 Skype: jerry.daniels On Feb 28, 2006, at 3:04 PM, Michael Mandaville wrote: > Revolutionaries, > > I installed version 2.7 along with Constellation. However, when I > use > Constellation, the interface sticks to the top of the screen, > covered up by > the Revolution Toolbar Text and Toolbar Icons pallettes. I might > have > inadvertently hit a button on Constellation that locks it into place? > > The only way I can see the Constellation tabs is to turn off the > Revolution > text and icon pallettes? > > Yoda? > > Thanks, > Michael > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Wed Mar 1 14:47:43 2006 From: katir at hindu.org (Sivakatirswami) Date: Wed, 1 Mar 2006 09:47:43 -1000 Subject: Pie Chart Algorithms? In-Reply-To: <01D0C109-75BA-4927-89D9-B0DA7FB5425E@byu.edu> References: <029D1DA4-DB03-4C0F-BBF6-20E828240F16@hindu.org> <01D0C109-75BA-4927-89D9-B0DA7FB5425E@byu.edu> Message-ID: <4D3A4646-59CE-4678-96A3-3ACD0F245D70@hindu.org> Doing that only increased the size the arc line that was drawn. The two radius lines from the center out to the end of the arc, forming the pie did not always appear, sometimes yes, sometimes no... but by setting the opaque on create oval to true then the background color appears whether or not the radius lines show or not.. so that works. I have to test some more. possible the opaque property is turning the radius lines off and on as well... Now my next challenge is to get a list of points on the circumference of any circle. I checked the mailing lists and can't find the algorithm or sample script that would do this. If anyone has the "professional" algorithm to do this please do post it... /H's chart stack is protected... I'm working with setting a single radius at 3 o'clock and rotating this through 90 degrees using "revRotatePoly" and logging the end point on 90 iterations of 1 degree. And then I think I can use the relative values of this quadrant for the other three quadrants. But, I think this must be horrible hack and that someone has a much "cleaner" way to get this list of pioints -- some very "cool" math function... ON mouseUp put (the right of grc "BaseCircle" & "," & the height of grc "BaseCircle"/2+the top of grc "BaseCircle") into tVariablePosition put 1 into tIncrement set the points of grc "Line" to (the loc of grc "baseCircle", tVariablePosition) put line 2 of the points of grc "line" into tLoc repeat 90 times put tLoc & cr after fld "props" ## log the end point on each iteration set the points of grc "Line" to (the loc of grc "baseCircle", tVariablePosition) revRotatePoly the long id of grc "line",tIncrement put tIncrement +1 into tIncrement put line 2 of the points of grc "line" into tLoc set the loc of grc "littleBall" to tLoc end repeat END mouseup result 628,364 (3 o'clock on this particular circle) 626,368 626,372 626,376 626,380 626,384 626,390 etc (90 lines of such points... from 3 o'clock to 6 o'clock -- straight down) OK set this aside for a while... it's something to work on when the brain needs a break from "real" work on a rainy day off... Hopefully someone will come to my rescue by the time I try to carry this forward. And a related issue: move grc "ball" to the points of grc "oval" doesn't do anything... oval's don't have any points (?) doesn't make sense to me: any line object on a screen is a series of pixels... how can it not have points? Sivakatirswami On Mar 01, 2006, at 7:33 AM, Devin Asay wrote: > > On Feb 28, 2006, at 3:35 PM, Sivakatirswami wrote: >> > >> The only caveat I discovered that there was some unknown >> "condition" wherein the arc is drawn sans the radius lines... i.e >> you get just a curved line..a simple arc... but, if I draw an >> oval manually and set it's arc angle one gets a complete "pie" cut >> polygon shape. And now my script only creates the full pie shape.. >> >> Can anyone tell us what determines whether full pie piece is drawn >> or just the arc without radius lines? > > Don't you just need to set the lineSize of the oval graphic to > 0 ? > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Wed Mar 1 15:12:56 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 01 Mar 2006 12:12:56 -0800 Subject: Counting Chars by ASCI Values In-Reply-To: Message-ID: On 3/1/06 9:34 AM, "Mark Smith" wrote: > Jim's solution seems the best, but if the data is big, then the > 'number of items in (textStr & null)' seems to slow things down - I > guess that textStr is being copied with the null char appended, and > if it's big, that's a lot of work. I think it's therefore more > efficient to test for char -1 of textStr being the char tested for, > and if it is, then add 1 to the count. Also, shouldn't the count be > 'the number of items in textStr -1? > > so I ended up with this: > > on yetAnotherWay > put fld 1 into tString > repeat with n = 1 to 30 > if (n >= 10 AND n <=12) OR n = 29 then next repeat > set the itemDelimiter to numToChar(n) > put the number of items in tString -1 into tCount > if char -1 of tString is numToChar(n) then add 1 to tCount > put n & tab & tCount & cr after tList > end repeat > put tList into fld "chars" > end yetAnotherWay > > this was just about twice as fast as "textStr & null" with 3 > megabytes of data. > I agree with Mark on the efficiency of the 'yetAnotherWay' on large text blocks. > Also, shouldn't the count be > 'the number of items in textStr -1? As I indicated in a previous post, it depends on what you are trying to count when you use items a measure. If the last char of a string is the asciiChar, then the number of items will be one less than the true count, however, if null is appended, the count will be equal to the true count. If Todd's desired solution is to do just a count (but on more than one asciiChar) then arrays+keys may be the best overall. In addition, if the locations of the chars are important, that is another story (eg. hiliting instances) Good work, Mark. Jim Ault Las Vegas From mark at maseurope.net Wed Mar 1 15:35:20 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 1 Mar 2006 20:35:20 +0000 Subject: Counting Chars by ASCI Values In-Reply-To: References: Message-ID: <6981F58F-41E5-4255-8BA7-28ABE0079AA5@maseurope.net> In this case, we're counting delimiters - not items, so it I'm sure it should be the number of items -1, unless we have a trailing delimiter, when the item count and delimiter count are the same, hence the need for "& null" or testing the last char. This is how it seems to work on my setup (rev 2.7, Mac OS X): 1,2,3 = 3 items, 2 delimiters ,1,2,3 = 4 items (one empty), 3 delimiters 1,2,3, = 3 items, 3 delimiters - Rev doesn't count the implied empy item at the end. Cheers, Mark On 1 Mar 2006, at 20:12, Jim Ault wrote: >> Also, shouldn't the count be >> 'the number of items in textStr -1? > As I indicated in a previous post, it depends on what you are > trying to > count when you use items a measure. > > If the last char of a string is the asciiChar, then the number of > items will > be one less than the true count, however, if null is appended, the > count > will be equal to the true count. From janschenkel at yahoo.com Wed Mar 1 15:47:33 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 1 Mar 2006 12:47:33 -0800 (PST) Subject: XML Library and Windows In-Reply-To: <095A6EBE-D7AC-4362-AB26-C3DC3691D1CE@curlypaws.com> Message-ID: <20060301204733.85612.qmail@web60513.mail.yahoo.com> --- Karen wrote: > Hi Jan, > > Thanks very much for that, but as I'm building on > the Mac only, I had > to use something that Trevor DeVore had previously > suggested - > > > The problem I'm now having is that Quartam says it > can't find the > report formats. Is there some trick to the path to > use for this in > Windows? > > Thanks, > > Karen > Hi Karen, Glad to hear you have found a way to get revXML into working order -- let's hope the standalone builder gets fixed in 2.7.1 so nobody else has to work around it. As for the report formats: when you refer to a file using a relative path, the Rev engine starts to search from the 'defaultFolder' -- when you fire up the Rev IDE, this is the folder where the Rev application resides. In your standalone, it refers to the folder where your standalone resides -- but there's a twist: on Windows, this is the same directory as where the .exe file lives ; but as MacOSX applications are actually folders themselves (bundles of files), the 'defaultFolder' points to the folder _inside_ the bundle where the actual executable file is hidden. If your reports live in a subdirectory next to the .app bundle, you have two options: change the defaultFolder, or refer to these files by combining the .app bundle location and the relative location of your report format files. A popular cross-platform function to get the appropriate path was written by Richard Gaskin: ## function AppPath put the filename of this stack into tPath set the itemdel to "/" If (IsOSX()) then get offset(".app/Contents/MacOS/", tPath) if it > 0 then -- 2.4.3 or later delete char it to len(tPath) of tPath end if end if delete last item of tPath return tPath &"/" end AppPath function IsOSX if the platform is not "MacOS" then return false get the systemversion set the itemdel to "." if item 1 of it >= 10 then return true return false end IsOSX ## (for a more complete explanation, go to: ) So, armed with the function above, you can change the path to the report layout file as follows: ## on mouseUp -- prep all the variables put AppPath() & "reports/myreport.qrl" \ into tLayoutPath put "MyDataStack" into tStackName put true into tPreviewFlag put "all" into tCardRange -- and print the data stack qrtReports_PrintReportFromStack \ tLayoutPath,tStackName,tPreviewFlag,tCardRange end mouseUp ## Hope this helped, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From robertum at brturbo.com Wed Mar 1 15:49:08 2006 From: robertum at brturbo.com (Bob Warren) Date: Wed, 01 Mar 2006 17:49:08 -0300 Subject: [ANN] Brand NEW altBrowser2!!! Neat new capabilities. Message-ID: <440608C4.3020802@brturbo.com> Chipp: VERY professional! VERY impressive! Of course, you know what I am going to remind you of next, don't you? LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! Congratulations, Bob From chipp at chipp.com Wed Mar 1 15:55:34 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 01 Mar 2006 14:55:34 -0600 Subject: [ANN] Brand NEW altBrowser2!!! Neat new capabilities. In-Reply-To: <440608C4.3020802@brturbo.com> References: <440608C4.3020802@brturbo.com> Message-ID: <44060A46.6000107@chipp.com> Duly noted. We may even have something in the works for altBrowser3 ;-) Bob Warren wrote: > Chipp: > > VERY professional! > VERY impressive! > > Of course, you know what I am going to remind you of next, don't you? > > LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! > LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! > > Congratulations, > Bob > > > -- -------------- Chipp Walters www.altuit.com From jacque at hyperactivesw.com Wed Mar 1 16:04:22 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 Mar 2006 15:04:22 -0600 Subject: Recovering a corrupt file In-Reply-To: References: <20060301151303.DEF70825669@mail.runrev.com> Message-ID: <44060C56.7050909@hyperactivesw.com> Marty Billingsley wrote: > Hi -- > > Any hints on recovering a corrupted Rev file? We're using 2.6 on Mac OS > 10.4.3 and saving files to a Sun workstation that emulates a Mac server by > using a program called xinet. Anyway, when a student's quota is exceeded > on the server, there is no error message when his RR stack is saved; > however it is corrupt when the student tries to open the stack the next > day. By corrupt, I mean that RR won't even begin to open it. > > One of my students just lost a couple of weeks of work. I can use vi or > emacs to directly edit the RR file if I know what to go and fix. Any > pointers to documentation that might help me? I haven't checked in a long time, but the last time I asked about this I was told that you can't edit a stack file in a text editor, because then the checksum won't match. Is there a second file on the server that starts with a tilde(~)? That would be the original backup copy that Rev makes before saving. In that case, all you have to do is remove the tilde from the file name and the old copy will be restored. You'll lose all the changes since the last save, but at least your student will have the original back. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 1 16:11:03 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 Mar 2006 15:11:03 -0600 Subject: ask dialog removes selectedChunk in field In-Reply-To: References: Message-ID: <44060DE7.5080708@hyperactivesw.com> Garrett Hylltun wrote: > When I use the ask dialog to get some user input on changing some > hilighted text in a field, the ask dialog removes the focus from the > field, thus losing the ability to use the selectedChunk after the > dialog has been dismissed. > > I did not know if there was any way within any of the properties to > stop this, such as setting traversalOn, so I put the selectedChunk into > a variable before the ask dialog. > > Other than what I have done to resolve this, is there some property > dealing with the ask dialog that might bypass the need to record the > selectedChunk before the ask dialog? I think you've solved the problem in the best way. When a dialog is shown, the focus is removed from the original stack and the selection is lost; the workaround is exactly what you've done. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 1 16:33:50 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 Mar 2006 15:33:50 -0600 Subject: Do you want to save changes to this stack ..... ? In-Reply-To: <112a56923d0ce1f98ca54fe165d7dc3a@wanadoo.fr> References: <112a56923d0ce1f98ca54fe165d7dc3a@wanadoo.fr> Message-ID: <4406133E.7020406@hyperactivesw.com> Francis Nugent Dixon wrote: > Questions : > > 1 - Under what conditions does Revolution ask me the question "Do you > want to save the changes ", or more simply, what constitutes "a change" > ? The answer once seemed clear to me, but maybe there are things I don't > know ! As an example, if I change the contents of a field, I get the > request to save, but if I change the labels from English to French (by > buttons), I don't get the request to save. Yet I made modifications to > the stack ! And when I execute the stack again, label modifications have > been lost. Curiouser and Curiouser ! The state of the stack is tracked by the IDE, not by the engine. Revolution, in general, considers a change to be anything you do manually that alters the content of the stack: creating an object, changing the text of a field by typing into it, changing an object's properties by using the inspector, etc. Changes that your own scripts make to a stack are not caught by the IDE. Therefore, if you change the label in the inspector, Rev notices. If you change the label from a script in a button, Rev does not notice. In other words, if any of your own scripts make changes, the IDE cannot see them. The engine doesn't pay attention to changes; only the IDE does that. > > 2 - Are the conditions the same under Stack Runner ? No. StackRunner has no change-tracking in it at all. It won't notice any changes you make, whether they are manual or scripted, and it never asks if you want to save. > > And the most important question : > > 3 - If I consider that I have made no changes, and Revolution doesn't > agree, can I bypass the "Do you want to save?" request (maybe there is a > gREV global that I can tinker with) ? There probably is a global or a property, but I don't know offhand what it is called. Someone else may have looked into it. You could avoid the problem by just writing your own "save" handler and calling that before closing the stack, but it isn't as automatic as you probably want. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pastranadigital at gmail.com Wed Mar 1 16:36:18 2006 From: pastranadigital at gmail.com (benjamin pastrana) Date: Wed, 1 Mar 2006 17:36:18 -0400 Subject: Controlling Quicktime frames Message-ID: <2f5455550603011336o324d7b8dl9d576f8c69bec4fb@mail.gmail.com> hello! I exported a PowerPoint presentation of an educational slideshow which I imported to Revolution but I can't find the proper scripts to Play the Quicktime frame by frame. I want to create 3 buttons: BTN1: Play next frame and stop BTN2:Play previous frame and Stop BTN3:Rewind quicktime to frame 1 Have anyone done that? any help? Thanks! Ben From pevensen at siboneylg.com Wed Mar 1 16:47:49 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Wed, 01 Mar 2006 15:47:49 -0600 Subject: Controlling Quicktime frames In-Reply-To: <2f5455550603011336o324d7b8dl9d576f8c69bec4fb@mail.gmail.co m> References: <2f5455550603011336o324d7b8dl9d576f8c69bec4fb@mail.gmail.com> Message-ID: <6.2.1.2.2.20060301154349.2a9fcd70@exchange.slg.com> You could use the currentTime setting to step through a QT movie. If there is no interaction, and you're just displaying a static frame, all you would need is something like this: on NextFrame put the currentTime of player "Power Point" into tCurrentTime add tTheAppropriateTime to tCurrentTime set the currentTime of player "Power Point" to tCurrentTime end NextFrame etc. You will have to figure out what tTheAppropriateTime is. I'm not sure how PowerPoint exports to QT. At 03:36 PM 3/1/2006, you wrote: >hello! > >I exported a PowerPoint presentation >of an educational slideshow which >I imported to Revolution but I can't >find the proper scripts to >Play the Quicktime frame by frame. > >I want to create 3 buttons: >BTN1: Play next frame and stop >BTN2:Play previous frame and Stop >BTN3:Rewind quicktime to frame 1 > >Have anyone done that? any help? > >Thanks! > >Ben >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From pastranadigital at gmail.com Wed Mar 1 17:02:37 2006 From: pastranadigital at gmail.com (benjamin pastrana) Date: Wed, 1 Mar 2006 18:02:37 -0400 Subject: Paypal Solution? Message-ID: <2f5455550603011402v168999ebhdccc74b8be49c9a9@mail.gmail.com> I read about the Altuit software that incorporates Paypal with revolution but I wonder if there is any other as a component and not as part of a whole system. I would like to create a stack with some articles to sell and have a paypal button to process the payment. thanks! Ben From JimAultWins at yahoo.com Wed Mar 1 17:15:39 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 01 Mar 2006 14:15:39 -0800 Subject: Counting Chars by ASCI Values In-Reply-To: <6981F58F-41E5-4255-8BA7-28ABE0079AA5@maseurope.net> Message-ID: correct. On 3/1/06 12:35 PM, "Mark Smith" wrote: > In this case, we're counting delimiters - not items, so it I'm sure > it should be the number of items -1, unless we have a trailing > delimiter, when the item count and delimiter count are the same, > hence the need for "& null" or testing the last char. > > This is how it seems to work on my setup (rev 2.7, Mac OS X): > > 1,2,3 = 3 items, 2 delimiters > ,1,2,3 = 4 items (one empty), 3 delimiters > 1,2,3, = 3 items, 3 delimiters - Rev doesn't count the implied empy > item at the end. > > > Cheers, > > Mark > > > On 1 Mar 2006, at 20:12, Jim Ault wrote: > >>> Also, shouldn't the count be >>> 'the number of items in textStr -1? >> As I indicated in a previous post, it depends on what you are >> trying to >> count when you use items a measure. >> >> If the last char of a string is the asciiChar, then the number of >> items will >> be one less than the true count, however, if null is appended, the >> count >> will be equal to the true count. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From alex at tweedly.net Wed Mar 1 17:32:24 2006 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 01 Mar 2006 22:32:24 +0000 Subject: Pie Chart Algorithms? In-Reply-To: <4D3A4646-59CE-4678-96A3-3ACD0F245D70@hindu.org> References: <029D1DA4-DB03-4C0F-BBF6-20E828240F16@hindu.org> <01D0C109-75BA-4927-89D9-B0DA7FB5425E@byu.edu> <4D3A4646-59CE-4678-96A3-3ACD0F245D70@hindu.org> Message-ID: <440620F8.1050006@tweedly.net> Sivakatirswami wrote: > Now my next challenge is to get a list of points on the circumference > of any circle. I checked the mailing lists and can't find the > algorithm or sample script that would do this. If anyone has the > "professional" algorithm to do this please do post it... /H's chart > stack is protected... > Not professional, but maybe "interested amateur" :-) (this returns floating point numbers - remember to convert to integers before using as points of a polygon or similar) on mouseUp put getPoints(100,100,10) after msg end mouseUp function getPoints xc, yc, rad -- returns a list of points on the circumference of a circle -- centered at xc,yc with radius rad repeat with i = 0 to 90 put xc+ rad*sinInDegrees(i), yc+rad*cosInDegrees(i) & CR after tResult end repeat return tResult end getPoints function cosInDegrees angleInDegrees return cos(angleInDegrees * pi / 180) end cosInDegrees function sinInDegrees angleInDegrees return sin(angleInDegrees * pi / 180) end sinInDegrees > > And a related issue: move grc "ball" to the points of grc "oval" > doesn't do anything... oval's don't have any points (?) doesn't make > sense to me: any line object on a screen is a series of pixels... how > can it not have points? > Polygons are defined by a set of points Ovals are defined by a centre and radius (or radii) When either of them is drawn, some pixels are coloured in; in the case of a polygon, far more pixels will be coloured in than are in "the points" of the poly. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.1/270 - Release Date: 27/02/2006 From sarah.reichelt at gmail.com Wed Mar 1 17:38:29 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 2 Mar 2006 08:38:29 +1000 Subject: RGB to HEX In-Reply-To: References: Message-ID: > Is there a built-in function in Rev that will convert RGB color > string to a HEX color string? If no, does anyone know how to do > this? I knew how to do this in another language, but am at a loss as > to how to work it out in Rev. No built-in command, but it can be scripted. You might like to check out Eric Chatonet's Color Picker, which you can find on this page: Cheers, Sarah From chipp at chipp.com Wed Mar 1 17:41:52 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 01 Mar 2006 16:41:52 -0600 Subject: Paypal Solution? In-Reply-To: <2f5455550603011402v168999ebhdccc74b8be49c9a9@mail.gmail.com> References: <2f5455550603011402v168999ebhdccc74b8be49c9a9@mail.gmail.com> Message-ID: <44062330.1090107@chipp.com> Hi Ben, It's not Altuit which has this particular solution. I believe it's Tom McCarthy who you may be referring to. In anycase, he has some info about using PayPal with Rev at: http://www.discamus.com/nunc/how/PayPal_setup2.html benjamin pastrana wrote: > I read about the Altuit software that > incorporates Paypal with revolution > but I wonder if there is any other > as a component and not as part of > a whole system. From europe at ehug.info Wed Mar 1 18:31:13 2006 From: europe at ehug.info (Mark Schonewille) Date: Thu, 02 Mar 2006 00:31:13 +0100 Subject: Paypal Solution? In-Reply-To: <2f5455550603011402v168999ebhdccc74b8be49c9a9@mail.gmail.com> References: <2f5455550603011402v168999ebhdccc74b8be49c9a9@mail.gmail.com> Message-ID: <44062EC1.4000006@ehug.info> Hi Ben, If your main goal is to sell something, you might want to have a look at the Salery web store software at http://www.salery.biz/salery.html. It creates web pages for all products in the store with on every page a PayPal button for that particular product. Best, Mark benjamin pastrana wrote: > I read about the Altuit software that > incorporates Paypal with revolution > but I wonder if there is any other > as a component and not as part of > a whole system. > > I would like to create a stack with > some articles to sell and have a > paypal button to process the payment. > > thanks! > > Ben > -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From dave2245 at hotmail.co.uk Wed Mar 1 18:43:04 2006 From: dave2245 at hotmail.co.uk (David Lewis) Date: Wed, 01 Mar 2006 23:43:04 +0000 Subject: Paypal Solution? In-Reply-To: <44062EC1.4000006@ehug.info> Message-ID: no intersted do not sell anthing >From: Mark Schonewille >Reply-To: How to use Revolution >To: How to use Revolution >Subject: Re: Paypal Solution? >Date: Thu, 02 Mar 2006 00:31:13 +0100 > >Hi Ben, > >If your main goal is to sell something, you might want to have a look at >the Salery web store software at http://www.salery.biz/salery.html. It >creates web pages for all products in the store with on every page a PayPal >button for that particular product. > >Best, > >Mark > >benjamin pastrana wrote: >>I read about the Altuit software that >>incorporates Paypal with revolution >>but I wonder if there is any other >>as a component and not as part of >>a whole system. >> >>I would like to create a stack with >>some articles to sell and have a >>paypal button to process the payment. >> >>thanks! >> >>Ben >> > >-- > >Consultant and Software Engineer >mailto:m.schonewille at economy-x-talk.com >http://www.economy-x-talk.com > >eHUG coordinator >mailto:europe at ehug.info >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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution _________________________________________________________________ Are you using the latest version of MSN Messenger? Download MSN Messenger 7.5 today! http://messenger.msn.co.uk From rob at rjltech.com Wed Mar 1 19:37:02 2006 From: rob at rjltech.com (Robert J. Lawrence) Date: Wed, 1 Mar 2006 18:37:02 -0600 Subject: test In-Reply-To: <5B27641B-E71B-4363-B4E1-E8B4C0E744E7@gmail.com> References: <5B27641B-E71B-4363-B4E1-E8B4C0E744E7@gmail.com> Message-ID: <0CAE878B-A376-4A96-AC0D-5D023826245B@rjltech.com> Was it a successful test? ;-) Robert On Mar 1, 2006, at 12:50 PM, Chris Sheffield wrote: > This is a test. Thanks for your time. :-) > > ------------------------------------------ > Chris Sheffield > Read Naturally > The Fluency Company > http://www.readnaturally.com > ------------------------------------------ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From liamlambert at mac.com Wed Mar 1 19:43:24 2006 From: liamlambert at mac.com (liamlambert) Date: Thu, 2 Mar 2006 00:43:24 +0000 Subject: repeat repeat Message-ID: My fld "seatNo" has more than one line or item I want to repeat the code below for each line or item on mouseUp put fld "seatNo" into tseatNo repeat with x = 1 to the number of buttons if tseatNo = the label of button x then set the backgroundcolor of button x to red end if end repeat end mouseUp Liam Lambert liamlambert at mac.com IRELAND From john at debraneys.com Wed Mar 1 19:45:13 2006 From: john at debraneys.com (john at debraneys.com) Date: Thu, 02 Mar 2006 00:45:13 +0000 Subject: Paypal Solution? Message-ID: Hi Ben, I had the impression that once you have a paypal vendor account you would just need to provide a button to open a URL straight to your payment page. Then you maintain a list of the product (that are in your rev stack) at your paypal vendor page. Maybe there is more to it thaan I think... Good luck John >-----Original Message----- >From: David Lewis [mailto:dave2245 at hotmail.co.uk] >Sent: Wednesday, March 1, 2006 06:43 PM >To: use-revolution at lists.runrev.com >Subject: Re: Paypal Solution? > >no intersted do not sell anthing > > >>From: Mark Schonewille >>Reply-To: How to use Revolution >>To: How to use Revolution >>Subject: Re: Paypal Solution? >>Date: Thu, 02 Mar 2006 00:31:13 +0100 >> >>Hi Ben, >> >>If your main goal is to sell something, you might want to have a look at >>the Salery web store software at http://www.salery.biz/salery.html. It >>creates web pages for all products in the store with on every page a PayPal >>button for that particular product. >> >>Best, >> >>Mark >> >>benjamin pastrana wrote: >>>I read about the Altuit software that >>>incorporates Paypal with revolution >>>but I wonder if there is any other >>>as a component and not as part of >>>a whole system. >>> >>>I would like to create a stack with >>>some articles to sell and have a >>>paypal button to process the payment. >>> >>>thanks! >>> >>>Ben >>> >> >>-- >> >>Consultant and Software Engineer >>mailto:m.schonewille at economy-x-talk.com >>http://www.economy-x-talk.com >> >>eHUG coordinator >>mailto:europe at ehug.info >>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 at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-revolution > >_________________________________________________________________ >Are you using the latest version of MSN Messenger? Download MSN Messenger >7.5 today! http://messenger.msn.co.uk > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > From europe at ehug.info Wed Mar 1 19:54:30 2006 From: europe at ehug.info (Mark Schonewille) Date: Thu, 02 Mar 2006 01:54:30 +0100 Subject: repeat repeat In-Reply-To: References: Message-ID: <44064246.3070409@ehug.info> Hi Liam, Assuming that your original code does not cause any errors, the following should work, although I didn't test it: on mouseUp repeat for each item myLabel in fld "seatNo" repeat with x = 1 to the number of buttons if myLabel is the label of btn x then set the backgroundColor of btn x to red end if end repeat end repeat end mouseUp Instead of "item myLabel" you could also use "line myLabel". Best, Mark liamlambert wrote: > My fld "seatNo" has more than one line or item > I want to repeat the code below for each line or item > > > on mouseUp > put fld "seatNo" into tseatNo > repeat with x = 1 to the number of buttons > if tseatNo = the label of button x then > set the backgroundcolor of button x to red > end if > end repeat > end mouseUp > > Liam Lambert > liamlambert at mac.com > IRELAND -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From liamlambert at mac.com Wed Mar 1 20:04:38 2006 From: liamlambert at mac.com (liamlambert) Date: Thu, 2 Mar 2006 01:04:38 +0000 Subject: repeat repeat Message-ID: <73EF9CB9-D68B-4868-B04C-914592BA3966@mac.com> Thank You Mark that works fine Liam Lambert liamlambert at mac.com IRELAND From mdswindell at cruzio.com Wed Mar 1 20:07:21 2006 From: mdswindell at cruzio.com (Mark Swindell) Date: Wed, 1 Mar 2006 17:07:21 -0800 Subject: repeat repeat In-Reply-To: References: Message-ID: on mouseUp put fld "seatNo" into tseatNo repeat for each line y in tSeatNo repeat with x = 1 to the number of buttons if y = the label of button x then set the backgroundcolor of button x to y end if end repeat end repeat end mouseUp Something like the above might work. Hope this helps. Mark On Mar 1, 2006, at 4:43 PM, liamlambert wrote: > My fld "seatNo" has more than one line or item > I want to repeat the code below for each line or item > > > on mouseUp > put fld "seatNo" into tseatNo > repeat with x = 1 to the number of buttons > if tseatNo = the label of button x then > set the backgroundcolor of button x to red > end if > end repeat > end mouseUp > > Liam Lambert > liamlambert at mac.com > IRELAND > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dick.kriesel at mail.com Wed Mar 1 20:43:50 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Wed, 01 Mar 2006 17:43:50 -0800 Subject: repeat repeat In-Reply-To: <44064246.3070409@ehug.info> Message-ID: If speed matters, you could avoid nesting the loops. on mouseUp repeat with i = 1 to number of buttons put i into tArray[the label of button i] end repeat repeat for each item tSeatNo in field "seatNo" set the backgroundColor of button tArray[tSeatNo] to "red" end repeat end mouseUp -- Dick On 3/1/06 4:54 PM, "Mark Schonewille" wrote: > Hi Liam, > > Assuming that your original code does not cause any errors, the > following should work, although I didn't test it: > > on mouseUp > repeat for each item myLabel in fld "seatNo" > repeat with x = 1 to the number of buttons > if myLabel is the label of btn x then > set the backgroundColor of btn x to red > end if > end repeat > end repeat > end mouseUp > > Instead of "item myLabel" you could also use "line myLabel". > > Best, > > Mark > > > liamlambert wrote: >> My fld "seatNo" has more than one line or item >> I want to repeat the code below for each line or item >> >> >> on mouseUp >> put fld "seatNo" into tseatNo >> repeat with x = 1 to the number of buttons >> if tseatNo = the label of button x then >> set the backgroundcolor of button x to red >> end if >> end repeat >> end mouseUp >> >> Liam Lambert >> liamlambert at mac.com >> IRELAND From jacque at hyperactivesw.com Wed Mar 1 21:53:58 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 Mar 2006 20:53:58 -0600 Subject: strange menu behavior In-Reply-To: <350E5B6B-0EA4-4452-AC1F-EC99CBE5847D@gmail.com> References: <350E5B6B-0EA4-4452-AC1F-EC99CBE5847D@gmail.com> Message-ID: <44065E46.4080400@hyperactivesw.com> Chris Sheffield wrote: > I've found what I think is a bug of some kind, but I wanted to ask here > to see if someone else has run into anything like this, and to see if > maybe it's something I'm doing. > > I've got an application that uses a splash screen method. The main > stack opens and the user has to enter his password to continue. This > main stack has its own menu, which includes File -> Quit with Ctrl-Q > set as the shortcut. After entering a password and logging in > successfully, another stack opens. This stack has its own menu, which > also includes File -> Quit with Ctrl-Q as its shortcut. When hitting > ctrl-Q from this second stack, it should close the stack and return to > the main login screen. Unfortunately, it's exiting the application > completely. I believe what's happening is hitting ctrl-Q in the second > stack is triggering the menu item in the first stack, which *is* > supposed to exit the application completely. I've found that if I > access the menu in the second stack by just clicking File, then ctrl-Q > works correctly. It's almost as if the menu in the second stack is not > loading or coming to the front or whatever until it is accessed in some > way with an actual click of the mouse. > > Anyone have any ideas? Have I found a bug of some kind, or could there > possibly be something I'm doing? Depending on your setup, it might be a message hierarchy thing. On Macs, the menubar property of a stack puts the menu into the OS menu space and keyboard shortcuts are sent there first. There isn't any other menu available, since only one can be active at a time. Whatever menu group a stack contains will get first crack at keyboard events. On Windows there is no global menu bar, and the menu functions as a group on the card. Keyboard events are sent to the card and, if the stack is a substack, the event passes through to the main stack. If your menu group in the main stack has backgroundBehavior set to true, but the menu group on the substack does not, then the main stack's menu group would catch the event. Check to see if your substack's menu group has backgroundBehavior set to true. If it does then maybe you did find a bug. One workaround would be for your quit handler to check whether the mainstack was the topstack, and only quit if it is. One extra piece of information is > that I am changing the menu items of this File menu in the preOpenStack > handler of the second stack, dependent on a couple different > conditions. Not sure if that would have anything to do with it or > not. This problem only occurs under Windows, btw. On the Mac the > behavior is exactly how I want it. > > Any help would be appreciated. > > Thanks, > Chris > > > ------------------------------------------ > Chris Sheffield > Read Naturally > The Fluency Company > http://www.readnaturally.com > ------------------------------------------ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Wed Mar 1 22:07:31 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 2 Mar 2006 13:07:31 +1000 Subject: strange menu behavior In-Reply-To: <350E5B6B-0EA4-4452-AC1F-EC99CBE5847D@gmail.com> References: <350E5B6B-0EA4-4452-AC1F-EC99CBE5847D@gmail.com> Message-ID: > I've got an application that uses a splash screen method. The main > stack opens and the user has to enter his password to continue. This > main stack has its own menu, which includes File -> Quit with Ctrl-Q > set as the shortcut. After entering a password and logging in > successfully, another stack opens. This stack has its own menu, > which also includes File -> Quit with Ctrl-Q as its shortcut. When > hitting ctrl-Q from this second stack, it should close the stack and > return to the main login screen. Unfortunately, it's exiting the > application completely. I believe what's happening is hitting ctrl-Q > in the second stack is triggering the menu item in the first stack, > which *is* supposed to exit the application completely. I've found > that if I access the menu in the second stack by just clicking File, > then ctrl-Q works correctly. It's almost as if the menu in the second > stack is not loading or coming to the front or whatever until it is > accessed in some way with an actual click of the mouse. This doesn't really answer your problem, but as a user-interface issue, if I selected Quit or pressed Ctrl-Q, I would expect the app to quit. Anything else would feel wrong. How about having a "Logout" menu item instead as this would seem to be a better indication of the function of that particular menu item? Cheers, Sarah From tg.lists at geistinteractive.com Wed Mar 1 23:05:31 2006 From: tg.lists at geistinteractive.com (Todd Geist) Date: Wed, 1 Mar 2006 20:05:31 -0800 Subject: Counting Chars By ASCII Part 2 In-Reply-To: <98CC19A6-81B0-41BB-9675-FFDB4DD97ED3@maseurope.net> References: <98CC19A6-81B0-41BB-9675-FFDB4DD97ED3@maseurope.net> Message-ID: Sorry for not getting back to answer questions. I am moving my office and I cut the tip of my index finger off. Just a little bit of the tip. But it makes typing very difficult :>) Here are the answers to a couple of questions... My script can do 25 mb in a minute or two, but I had not been using unicode set to true, which I will need to do. I want to display the list of these bad characters, then I will want to remove them. I am not sure if I need to deal with character higher then 255. I am trying to clean potentially corrupt data from database records. I think chars greater then 255 will be possible, and bad. So If they are there I want to zap them. Thanks for all the help :>) Todd -- Todd Geist ______________________________________ g e i s t i n t e r a c t i v e From klaus at major-k.de Thu Mar 2 04:30:45 2006 From: klaus at major-k.de (Klaus Major) Date: Thu, 2 Mar 2006 10:30:45 +0100 Subject: Controlling Quicktime frames In-Reply-To: <2f5455550603011336o324d7b8dl9d576f8c69bec4fb@mail.gmail.com> References: <2f5455550603011336o324d7b8dl9d576f8c69bec4fb@mail.gmail.com> Message-ID: <089E5F2A-EF89-4FCE-8F83-FE2C567653F3@major-k.de> Buongirono Benjamin, > hello! > > I exported a PowerPoint presentation > of an educational slideshow which > I imported to Revolution but I can't > find the proper scripts to > Play the Quicktime frame by frame. > > I want to create 3 buttons: > BTN1: Play next frame and stop > BTN2:Play previous frame and Stop > BTN3:Rewind quicktime to frame 1 > > Have anyone done that? any help? I have not done this (yet) but you can use Trevor De Vores extermely wonderful "Enhanced QuickTime External" to retrieve the necessary informations to do what Peter T. Evenson kindly suggested :-) Get it here: http://www.bluemangolearning.com/developer/revolution/enhancedqt.php Although it is 1.0.0 b8 it works very fine! For 1. and 2. you can use: qtGetMovieFileDuration( ) which returns something like this for a movie: 76800,600 = the number of frames in QT timescale, the QT timescale of the movie And: qtgettrackframecount( ) = the number of frames in the movie Then you can calculate the info about how much you will have to add/ subtract to/from "the currentTime of player xyz" to step frame by frame. 3. ... set the currentTime of player xyz to 0 ## The first frame in a movie = 0 ... Hope that helps. > Thanks! > > Ben Regards Klaus Major klaus at major-k.de http://www.major-k.de From cmsheffield at gmail.com Thu Mar 2 10:18:34 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu, 2 Mar 2006 08:18:34 -0700 Subject: [ANN] Brand NEW altBrowser2!!! Neat new capabilities. In-Reply-To: <44054518.6060606@chipp.com> References: <44054518.6060606@chipp.com> Message-ID: Chipp, Congratulations on the new release. I look forward to checking it out. Hey, I'm sorry to bother the list with this, but I've been trying to get ahold of you with a ButtonGadget issue and haven't been successful. Not sure if my e-mails are not getting to you or yours are not getting to me or what. Could you contact me off-list when you have a moment? Thanks, Chris On Feb 28, 2006, at 11:54 PM, Chipp Walters wrote: > Just thought you all would be the first to know! > From the website: > http://www.altuit.com/webs/altuit2/altBrowserCover/default.htm > > New promotional pricing available for a limited time. > > ----------------------------------- > Completely new version of altBrowser for Mac and PC. New features > include: > > ? Embed a fully functional browser substack in your current > application with a single click. No more fussing with libraries as > the substack is completely self-contained. > ? Brand new DEMO tutorial stack walks you through setting up > altBrowser and it's functions. Also, updates existing externals and > itself! > ? New browser substack streamlined for ease of use and ease of > customization. The new simplified scripts are documented well and > easily modified. > ? Now, for the first time, altBrowser can have multiple instances? > each with their own browser ID! You can create your own tabbed > browser if you like! > ? Multiple enhancements and fixes from previous versions of > altBrowser. No more jumping through hoops to set the external. Mac > and PC versions are more alike than ever before. > ? Mac version now automatically loads PDF and Flash documents. > > It will only take 5 minutes to make you a believer in altBrowser2! > > Check out our demo stack. It shows you step-by-step how easy it is > to add a REAL BROWSER to your Rev project. There are demonstrations > for Flash, PDF, and even an embedded fancy AJAX/Javascript app > (you'll have to see to believe!;-). > > To view the demo, all you have to do is launch Revolution and and > copy and paste the below script into your message box: > > go URL "http://www.gadgetplugins.com/altbrowser/ > altBrowserLauncher.rev" > > then hit enter. Please be patient while the demo stack loads. Once > loaded, you may wish to save it. Then just follow the instructions > and you're on your way to finding out all about the new altBrowser2! > > Don't worry, the Demo stack will install all the externals necessary! > > --------------------------- > > best, > > Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From gcanyon at inspiredlogic.com Thu Mar 2 10:28:04 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Thu, 2 Mar 2006 07:28:04 -0800 Subject: [ANN] Brand NEW altBrowser2!!! Neat new capabilities. In-Reply-To: <44054518.6060606@chipp.com> References: <44054518.6060606@chipp.com> Message-ID: <8B4AE74E-0822-49BF-A0F3-4CE009C759E3@inspiredlogic.com> On Feb 28, 2006, at 10:54 PM, Chipp Walters wrote: > Check out our demo stack. It shows you step-by-step how easy it is > to add a REAL BROWSER to your Rev project. There are demonstrations > for Flash, PDF, and even an embedded fancy AJAX/Javascript app > (you'll have to see to believe!;-). My first look wasn't for your embedded app, but Google Maps. It seems to work, so I'm satisfied. That's amazing stuff. gc From gregory.lypny at videotron.ca Thu Mar 2 11:20:11 2006 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 02 Mar 2006 11:20:11 -0500 Subject: Table Inspector Message-ID: <4D018EB6-5B69-400A-A12A-556011F0606A@videotron.ca> Hello everyone, Why is it that the Table Inspector in the property palette so often causes Revolution to freeze? Makes setting tab stops a real drag. Gregory From cmsheffield at gmail.com Thu Mar 2 11:40:56 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu, 2 Mar 2006 09:40:56 -0700 Subject: strange menu behavior In-Reply-To: <44065E46.4080400@hyperactivesw.com> References: <350E5B6B-0EA4-4452-AC1F-EC99CBE5847D@gmail.com> <44065E46.4080400@hyperactivesw.com> Message-ID: <6923E0B7-49D2-487D-B06C-63D214F7F7ED@gmail.com> Hi Jacque, Thanks for the suggestions. Unfortunately the menu group of both stacks does have the backgroundBehavior set to true. I've done a little more investigating and this is what I've found. When the second stack first opens, it is not even getting set as the topStack or the defaultStack. So unfortunately your workaround doesn't even work. I've even tried setting it to the defaultStack explicitly without success. I've found that once I click on my File menu (just to activate the menu, but not actually click Quit) then the topStack and defaultStack are set correctly, which would explain why ctrl-Q works at this point. So there is definitely something strange going on. This behavior occurs both in the Rev IDE and in a built standalone. Can you, or anyone else for that matter, think of any reason why topStack and defaultStack would not get set correctly? What's strange is I have another stack that opens the same way and it works just fine. I've compared the properties between the two stacks, their menu groups, and even the File button within their menu groups to see if anything is different. Everything is the same other than things like the layers of the objects. Any other ideas? This one has me stumped, but I figure it's got to be something I've done because the other stack does work like I said. Thanks again, Chris On Mar 1, 2006, at 7:53 PM, J. Landman Gay wrote: > > > Depending on your setup, it might be a message hierarchy thing. On > Macs, the menubar property of a stack puts the menu into the OS > menu space and keyboard shortcuts are sent there first. There isn't > any other menu available, since only one can be active at a time. > Whatever menu group a stack contains will get first crack at > keyboard events. > > On Windows there is no global menu bar, and the menu functions as a > group on the card. Keyboard events are sent to the card and, if the > stack is a substack, the event passes through to the main stack. > > If your menu group in the main stack has backgroundBehavior set to > true, but the menu group on the substack does not, then the main > stack's menu group would catch the event. Check to see if your > substack's menu group has backgroundBehavior set to true. If it > does then maybe you did find a bug. > > One workaround would be for your quit handler to check whether the > mainstack was the topstack, and only quit if it is. > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From klaus at major-k.de Thu Mar 2 11:53:05 2006 From: klaus at major-k.de (Klaus Major) Date: Thu, 2 Mar 2006 17:53:05 +0100 Subject: Table Inspector In-Reply-To: <4D018EB6-5B69-400A-A12A-556011F0606A@videotron.ca> References: <4D018EB6-5B69-400A-A12A-556011F0606A@videotron.ca> Message-ID: <7B37C9AF-0E40-48A8-9910-93A4FDDA59D3@major-k.de> Hi Gregory, > Hello everyone, > > Why is it that the Table Inspector in the property palette so > often causes Revolution to freeze? Makes setting tab stops a real > drag. good question, i just experienced that on windows, too. Had some content in a field and only wanted to add some tabstops, selected "Table" from the optionbutton (when will be have another choice to select the different options for objects? That optionbuttonis just too unhandy!) and BOOM, Rev freezed, I had to forcequit. > Gregory Regards Klaus Major klaus at major-k.de http://www.major-k.de From katir at hindu.org Thu Mar 2 04:58:17 2006 From: katir at hindu.org (Sivakatirswami) Date: Wed, 1 Mar 2006 23:58:17 -1000 Subject: Transcript and Dot Notation In-Reply-To: References: <20060227151235.83D25825649@mail.runrev.com> Message-ID: <31CE5855-0A0B-4297-9960-95003797A399@hindu.org> And some of us don't know anything *but* xTalk, and I'm happy i don;'t dot notation and such... let's be very careful...find a way to do the same thing in verbose xTalk and it will live...infect the language with obscurity and it will die a slow death from the inside out. If everyone commented their code well, maybe we could live with obscure syntax.. but... While extending the range of functionality can be a good thing...Do not underestimate importance of three "viabilities:" 1. the post production comprehensibility 2. revisit the objects yourself 6 months later, does it still make sense 3. if you delegate the code base to someone else, can they actually read it These three "viabilities" can in themselves determine if the language will live or die. Go Live is almost dead... did anyone read Adobe's white paper on the level of abstraction of GoLive's auto generated JAVA? Adobe flatly stated (my paraphrase) "You will never be able to understand this code; you will never be able to intelligently touch or tweak it, and we have no intention of engineering GoLive to generate intelligible code, if your secretaries use the WSWIG interface and produce web garbage, it's not our problem. If it works in Safari, but not I.E. and there is no way on earth to debug the page, it's not our problem. If you think you will ever be able to pass the corpus of web content created by our program to the next generation staffers, forget it." May StackWare never walk down that path... On Feb 27, 2006, at 7:31 AM, Karen wrote: > > It wasn't until I found Revolution that I managed to re-capture the > enthusiasm and enjoyment that I used to get when programming. I > can actually write things (well, some things), rather than struggle > with obscure syntax. > > Karen From katir at hindu.org Thu Mar 2 04:58:54 2006 From: katir at hindu.org (Sivakatirswami) Date: Wed, 1 Mar 2006 23:58:54 -1000 Subject: Pie Chart Algorithms? In-Reply-To: <440620F8.1050006@tweedly.net> References: <029D1DA4-DB03-4C0F-BBF6-20E828240F16@hindu.org> <01D0C109-75BA-4927-89D9-B0DA7FB5425E@byu.edu> <4D3A4646-59CE-4678-96A3-3ACD0F245D70@hindu.org> <440620F8.1050006@tweedly.net> Message-ID: <17DBD1F1-2DF4-4EB5-9A51-0B56133C902F@hindu.org> Alex, you are a gem! Thanks: Interesting to note that "round" produced smoother motion than "statRound" The following will works for any circle name "baseCircle" at any location on the card... Watch the little red ball move run around the circle (smile) I renamed your vars to something meaningful -- yes, it's verbose, but as i get older, my short term memory may fail between reading line 1 and line 10 (grin), one advantage of xTalk. (see my thoughts on this on the dot notation thread) and (obviously) setting a single value to "i" in this on mouseUp put the loc of grc "baseCircle" into tCenter put getPoints(item 1 of tCenter,item 2 of tCenter,the width of grc "baseCircle"/2) into tCirclePoints repeat for each line x in tCirclePoints set the loc of grc "mars" to x wait 2 milliseconds end repeat end mouseUp function getPoints circleLocX, circleLocY,radiusLen -- returns a list of points on the circumference of a circle -- centered at xc,yc with radius rad repeat with tCircumPoint= 0 to 360 --put 90 into tCircumPoint put Round(circleLocX+ radiusLen*sinInDegrees(tCircumPoint)), Round(circleLocY+radiusLen*cosInDegrees(tCircumPoint)) & CR after tResult end repeat return tResult end getPoints function cosInDegrees angleInDegrees return cos(angleInDegrees * pi / 180) end cosInDegrees function sinInDegrees angleInDegrees return sin(angleInDegrees * pi / 180) end sinInDegrees On Mar 01, 2006, at 12:32 PM, Alex Tweedly wrote: > Not professional, but maybe "interested amateur" :-) > (this returns floating point numbers - remember to convert to > integers before using as points of a polygon or similar) From revolution at jaedworks.com Thu Mar 2 13:28:14 2006 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Thu, 2 Mar 2006 10:28:14 -0800 Subject: RGB to HEX In-Reply-To: References: Message-ID: At 9:44 AM -0800 3/1/2006, Garrett Hylltun wrote: >Is there a built-in function in Rev that will convert RGB color >string to a HEX color string? If no, does anyone know how to do >this? I knew how to do this in another language, but am at a loss >as to how to work it out in Rev. Here's a code snippet: put "#" into theWebColor -- leading "#" repeat for each item myItem in theColorNumber -- numeric triplet - R,G,B get baseConvert(myItem,10,16) if the length of it is 1 then put zero before it -- each component must be 2-digit put it after theWebColor end repeat -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From revolutionary.dan at gmail.com Thu Mar 2 13:48:20 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Thu, 2 Mar 2006 10:48:20 -0800 Subject: Table Inspector In-Reply-To: <7B37C9AF-0E40-48A8-9910-93A4FDDA59D3@major-k.de> References: <4D018EB6-5B69-400A-A12A-556011F0606A@videotron.ca> <7B37C9AF-0E40-48A8-9910-93A4FDDA59D3@major-k.de> Message-ID: <70ed6b130603021048n7336e17dr2a92c780ece5d292@mail.gmail.com> Bug reports like this would be more helpful to you and others if you'd tell us: * what version of Rev/Dreamcard you're running * on what version of what platform I just tested table inspector on OS X 10.4.5 in Rev 2.6.1 and 2.7 and had no problems at all despite efforts intended to break it. Doesn't mean there's no bug here but it does mean that the inspector does not appear on my system to be unusable. On 3/2/06, Klaus Major wrote: > > Hi Gregory, > > > Hello everyone, > > > > Why is it that the Table Inspector in the property palette so > > often causes Revolution to freeze? Makes setting tab stops a real > > drag. > > good question, i just experienced that on windows, too. > > Had some content in a field and only wanted to add some tabstops, > selected "Table" > from the optionbutton (when will be have another choice to select the > different options > for objects? That optionbuttonis just too unhandy!) and BOOM, Rev > freezed, I had to forcequit. > > > Gregory > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From Karen at curlypaws.com Thu Mar 2 13:50:29 2006 From: Karen at curlypaws.com (Karen) Date: Thu, 2 Mar 2006 18:50:29 +0000 Subject: XML Library and Windows In-Reply-To: <20060302142054.4BACB826329@mail.runrev.com> References: <20060302142054.4BACB826329@mail.runrev.com> Message-ID: On 2 Mar 2006, at 14:20, use-revolution-request at lists.runrev.com wrote: > > A popular cross-platform function to get the > appropriate path was written by Richard Gaskin: > ## > function AppPath > put the filename of this stack into tPath > set the itemdel to "/" > If (IsOSX()) then > get offset(".app/Contents/MacOS/", tPath) > if it > 0 then -- 2.4.3 or later > delete char it to len(tPath) of tPath > end if > end if > delete last item of tPath > return tPath &"/" > end AppPath > > function IsOSX > if the platform is not "MacOS" then return false > get the systemversion > set the itemdel to "." > if item 1 of it >= 10 then return true > return false > end IsOSX > ## > (for a more complete explanation, go to: > ) > > So, armed with the function above, you can change the > path to the report layout file as follows: > ## > on mouseUp > -- prep all the variables > put AppPath() & "reports/myreport.qrl" \ > into tLayoutPath > put "MyDataStack" into tStackName > put true into tPreviewFlag > put "all" into tCardRange > -- and print the data stack > qrtReports_PrintReportFromStack \ > tLayoutPath,tStackName,tPreviewFlag,tCardRange > end mouseUp > ## > > Hope this helped, > > Jan Schenkel. > > Quartam Reports for Revolution > Jan, Thanks for all your help with this - it is very much appreciated. I now have my program generating attractive reports on both the Mac and Windows :-). I'm very pleased with Quartam Reports and I'm looking forward to seeing what v1.1 brings. Thanks, Karen From klaus at major-k.de Thu Mar 2 13:54:16 2006 From: klaus at major-k.de (Klaus Major) Date: Thu, 2 Mar 2006 19:54:16 +0100 Subject: Table Inspector In-Reply-To: <70ed6b130603021048n7336e17dr2a92c780ece5d292@mail.gmail.com> References: <4D018EB6-5B69-400A-A12A-556011F0606A@videotron.ca> <7B37C9AF-0E40-48A8-9910-93A4FDDA59D3@major-k.de> <70ed6b130603021048n7336e17dr2a92c780ece5d292@mail.gmail.com> Message-ID: Hi Dan, > Bug reports like this would be more helpful to you and others if > you'd tell > us: Sure. > * what version of Rev/Dreamcard you're running Rev 2.7 > * on what version of what platform Started Rev 2.7 for the first time on my PC Win XP Home :-) > I just tested table inspector on OS X 10.4.5 in Rev 2.6.1 and 2.7 > and had no > problems at all despite efforts intended to break it. Doesn't mean > there's > no bug here but it does mean that the inspector does not appear on > my system > to be unusable. Things like this are unfortunately not reproducable most of the time, at least not reliably, so please see comments like these more as an attempt to save some money for a psychiatrist :-D > On 3/2/06, Klaus Major wrote: >> >> Hi Gregory, >> >>> Hello everyone, >>> >>> Why is it that the Table Inspector in the property palette so >>> often causes Revolution to freeze? Makes setting tab stops a real >>> drag. >> >> good question, i just experienced that on windows, too. >> >> Had some content in a field and only wanted to add some tabstops, >> selected "Table" >> from the optionbutton (when will be have another choice to select the >> different options >> for objects? That optionbuttonis just too unhandy!) and BOOM, Rev >> freezed, I had to forcequit. >> >>> Gregory Regards Klaus Major klaus at major-k.de http://www.major-k.de From FlexibleLearning at aol.com Thu Mar 2 14:17:26 2006 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 2 Mar 2006 14:17:26 EST Subject: RGB to HEX Message-ID: <105.72a01a1f.31389ec6@aol.com> Garrett... Check out the Color Converter 2 Pro utility at www.FlexibleLearning.com/xtalk /H >Is there a built-in function in Rev that will convert RGB color >string to a HEX color string? If no, does anyone know how to do >this? I knew how to do this in another language, but am at a loss >as to how to work it out in Rev. From gregory.lypny at videotron.ca Thu Mar 2 14:25:18 2006 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 02 Mar 2006 14:25:18 -0500 Subject: Table Inspector In-Reply-To: <20060302180004.4558F8265DB@mail.runrev.com> References: <20060302180004.4558F8265DB@mail.runrev.com> Message-ID: <2CCC9D58-A237-4286-B2A0-DC9CD44936A6@videotron.ca> OS X 10.4.5. The problem occurs with Rev 2.7 and 2.6.1. The freeze doesn't happen all of the time, but it is most likely to happen when there's a lot of data in the selected field and when switching from one of the Property Inspector's modes (Basic, Content, Table, etc.) to another. Gregory On Thu, Mar 2, 2006, at 1:00 PM, use-revolution- request at lists.runrev.com wrote: > Bug reports like this would be more helpful to you and others if > you'd tell > us: > > * what version of Rev/Dreamcard you're running > * on what version of what platform > > I just tested table inspector on OS X 10.4.5 in Rev 2.6.1 and 2.7 > and had no > problems at all despite efforts intended to break it. Doesn't mean > there's > no bug here but it does mean that the inspector does not appear on > my system > to be unusable. > From jacque at hyperactivesw.com Thu Mar 2 14:58:44 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Mar 2006 13:58:44 -0600 Subject: Table Inspector In-Reply-To: <2CCC9D58-A237-4286-B2A0-DC9CD44936A6@videotron.ca> References: <20060302180004.4558F8265DB@mail.runrev.com> <2CCC9D58-A237-4286-B2A0-DC9CD44936A6@videotron.ca> Message-ID: <44074E74.6050400@hyperactivesw.com> Gregory Lypny wrote: > OS X 10.4.5. The problem occurs with Rev 2.7 and 2.6.1. The freeze > doesn't happen all of the time, but it is most likely to happen when > there's a lot of data in the selected field and when switching from one > of the Property Inspector's modes (Basic, Content, Table, etc.) to > another. Reproduced here too: OS X 10.3.9, Rev 2.7. The freeze happened immediately after selecting the Table pane. I tried it with a field containing (non-table) data, and again with a field I had just emptied. I'll BZ it unless I find someone else has done it already. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Mar 2 15:46:04 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Mar 2006 14:46:04 -0600 Subject: strange menu behavior In-Reply-To: <6923E0B7-49D2-487D-B06C-63D214F7F7ED@gmail.com> References: <350E5B6B-0EA4-4452-AC1F-EC99CBE5847D@gmail.com> <44065E46.4080400@hyperactivesw.com> <6923E0B7-49D2-487D-B06C-63D214F7F7ED@gmail.com> Message-ID: <4407598C.5030006@hyperactivesw.com> Chris Sheffield wrote: > Hi Jacque, > > Thanks for the suggestions. Unfortunately the menu group of both > stacks does have the backgroundBehavior set to true. So much for that theory. > I've done a little more investigating and this is what I've found. > When the second stack first opens, it is not even getting set as the > topStack or the defaultStack. So unfortunately your workaround doesn't > even work. I've even tried setting it to the defaultStack explicitly > without success. I've found that once I click on my File menu (just to > activate the menu, but not actually click Quit) then the topStack and > defaultStack are set correctly, which would explain why ctrl-Q works at > this point. So there is definitely something strange going on. This > behavior occurs both in the Rev IDE and in a built standalone. > > Can you, or anyone else for that matter, think of any reason why > topStack and defaultStack would not get set correctly? What's strange > is I have another stack that opens the same way and it works just > fine. I've compared the properties between the two stacks, their menu > groups, and even the File button within their menu groups to see if > anything is different. Everything is the same other than things like > the layers of the objects. > > Any other ideas? This one has me stumped, but I figure it's got to be > something I've done because the other stack does work like I said. Some things to check: Is the misbehaving stack opened as modeless or any mode other than toplevel? That could affect the message hierarchy. Are there any "go" commands in your scripts issued after the stack opens? That could change the topstack. Did you try setting the topstack rather than the defaultstack ("toplevel 'mystack'")? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pevensen at siboneylg.com Thu Mar 2 16:32:10 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 02 Mar 2006 15:32:10 -0600 Subject: Debugging question Message-ID: <6.2.1.2.2.20060302153049.046978c0@exchange.slg.com> Is there any way to get a call stack? I have a screen where if you press Enter (Windows) it is calling a method, but I can't figure out why. It would be nice if I could see what took place to get me where I was. The message watcher isn't really helping, but I'll muck around with it a bit more to see. Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From kray at sonsothunder.com Thu Mar 2 17:25:33 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 02 Mar 2006 16:25:33 -0600 Subject: Debugging question In-Reply-To: <6.2.1.2.2.20060302153049.046978c0@exchange.slg.com> Message-ID: On 3/2/06 3:32 PM, "Peter T. Evensen" wrote: > Is there any way to get a call stack? > > I have a screen where if you press Enter (Windows) it is calling a method, > but I can't figure out why. It would be nice if I could see what took > place to get me where I was. > > The message watcher isn't really helping, but I'll muck around with it a > bit more to see. It's in the Variable Watcher; the popup menu at the top of the window is the call stack (called the "execution contexts"). Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From pevensen at siboneylg.com Thu Mar 2 17:29:57 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 02 Mar 2006 16:29:57 -0600 Subject: Debugging question In-Reply-To: References: <6.2.1.2.2.20060302153049.046978c0@exchange.slg.com> Message-ID: <6.2.1.2.2.20060302162914.046c9670@exchange.slg.com> I never noticed that before! Seems like an odd place for it, though. I'd expect it in the debugger window someplace, but now that I know where it is! Thanks! At 04:25 PM 3/2/2006, you wrote: >On 3/2/06 3:32 PM, "Peter T. Evensen" wrote: > > > Is there any way to get a call stack? > > > > I have a screen where if you press Enter (Windows) it is calling a method, > > but I can't figure out why. It would be nice if I could see what took > > place to get me where I was. > > > > The message watcher isn't really helping, but I'll muck around with it a > > bit more to see. > >It's in the Variable Watcher; the popup menu at the top of the window is the >call stack (called the "execution contexts"). Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From charles.hartman at conncoll.edu Thu Mar 2 17:55:15 2006 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 2 Mar 2006 17:55:15 -0500 Subject: Debugging question In-Reply-To: <6.2.1.2.2.20060302162914.046c9670@exchange.slg.com> References: <6.2.1.2.2.20060302153049.046978c0@exchange.slg.com> <6.2.1.2.2.20060302162914.046c9670@exchange.slg.com> Message-ID: You need Constellation. More evident, and with more features. (Shameless plug. I love it.) Charles On Mar 2, 2006, at 5:29 PM, Peter T. Evensen wrote: > I never noticed that before! Seems like an odd place for it, > though. I'd expect it in the debugger window someplace, but now > that I know where it is! > > Thanks! > > At 04:25 PM 3/2/2006, you wrote: >> On 3/2/06 3:32 PM, "Peter T. Evensen" wrote: >> >> > Is there any way to get a call stack? >> > >> > I have a screen where if you press Enter (Windows) it is calling >> a method, >> > but I can't figure out why. It would be nice if I could see >> what took >> > place to get me where I was. >> > >> > The message watcher isn't really helping, but I'll muck around >> with it a >> > bit more to see. >> >> It's in the Variable Watcher; the popup menu at the top of the >> window is the >> call stack (called the "execution contexts"). > > Peter T. Evensen > http://www.PetersRoadToHealth.com > 314-629-5248 or 888-628-4588 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bleiler at buffalo.edu Thu Mar 2 18:41:47 2006 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Thu, 2 Mar 2006 18:41:47 -0500 Subject: Player Problem in Rev 2.7 on Windows In-Reply-To: <44054518.6060606@chipp.com> References: <44054518.6060606@chipp.com> Message-ID: <0B63C783-A28E-4EE1-A00F-EA3DD7C5E9EB@buffalo.edu> Hi, I've run into a problem with the player control in version 2.7 buildNumber 192 on Windows XP. The problem does not occur in version 2.6 of Rev. It does not occur on Mac OS X 10.4.x I've tried 2 Windows XP machines with Quicktime 6 and 7. The problem Player does not play video when the alwaysBuffer is true from the controller. Keyboard message will start the player but the frame rate is way below the setting. Video settings AAC, Mono, 11.025 kHz Sorenson Video 3, 480 x 360, Millions Frame Rate 14.98 Size 480 x 360 pixels Duration 00:01:20.94 I didn't find anything in Bugzilla on this. Anyone run into something similar? Tim Bleiler Instructional Designer, University at Buffalo From robertum at brturbo.com Thu Mar 2 19:27:03 2006 From: robertum at brturbo.com (Bob Warren) Date: Thu, 02 Mar 2006 21:27:03 -0300 Subject: Transcript and Dot Notation Message-ID: <44078D57.10400@brturbo.com> Dear Sivakatirswami, I was brought up on Basic and VB. In VB (VB6 I mean, not VB.NET), the dot notation is not all that obscure, but nevertheless, after making the transition to Transcript and its verbosity, the fact that someone might consider making it more like VB makes my hair stand on end, or in other words it would be "dotty" (pun intended). I agree that it would probably mark the beginning of a process of de-characterisation that eventually might be fatal. Of course, I haven't done a survey, but I suggest that (just like VB) a vast core of users are probably "inventive users" or very ordinary folk like myself, not professionals or (forgive me) nerdy types who have the greatest influence on this List and consequently the development path of RR. Look at what happened to VB when the nerds took over! From a record-breaking 18 million users, VB is now reduced to I don't know how many, but the fact is that M$ are now giving away their software to try and entice users back into the fold. I hope they fail after what they did to VB6 (which is why I am here and not there). The secret of the success of VB (up to VB6) was that it could be used by programmers of all types, from absolute beginners to real professionals. This is a secret shared by Transcript. I'd hate to see Rev do a Microsoft. I couldn't take it twice in a lifetime. One way of looking at it is this. Ordinary people prefer to program in something that more or less corresponds to plain language (it taxes the memory less). Many professionals seem to have a taste for formal languages of the logical or mathematical type. There is, of course, a place for such languages. But Transcript is a very high level general-purpose language. Why try and change it into something else? Are its formal deficiencies so great that something REALLY has to be done along "dotty" lines? Regards, Bob --------------------------- Sivakatirswami wrote: >dot notation and such... let's be very careful...find a way to do the >same thing in verbose xTalk and it will live...infect the language >with obscurity and it will die a slow death from the inside out. From jperryl at ecs.fullerton.edu Thu Mar 2 19:53:00 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 2 Mar 2006 16:53:00 -0800 (PST) Subject: XP Problems Persist... In-Reply-To: <70ed6b130603021048n7336e17dr2a92c780ece5d292@mail.gmail.com> Message-ID: Sigh. One of the few students who is honestly playing around with Rev and *trying* to appreciate it is having nothing but problem after problem after problem. This is probably a really stupid question, but does running skins on top of XP create any Rev-related problems? I'm running 2.7 on OS X. He's running 2.7 (trial version) on XP. I created a simple little demo stack on messages and the message path (and, yes, Richard, I did require that they take a look at yours!). Runs fine on my Mac. Copied the file to his thumb drive. He double-clicks the file and it launches 2.7. Good. But it doesn't open the file. Not only does it not open the clicked file, when you try opening it from the File -> Open menu, it either does nothing or it throws up an error message that the file cannot be read. The file retains its icon and association with the parent app... only the parent app can't open the file. I just tried re-d/l Rev 2.7 to look for the option to save as a 2.6 file... but can't figure that one out either (will be heading on over to Chipp's site to try that next). Does anyone have any ideas? Would anyone be willing to take a look at the file to see whether I've done something just abysmally stupid that could be causing these problems? It just doesn't give Rev a good name when you have somebody who is clearly in the minority in a class and who is trying to honestly evaluate the product and all they get is crashes and non-functionality... :-( Thanks for any suggestions, Judy From soapdog at mac.com Thu Mar 2 20:06:41 2006 From: soapdog at mac.com (Andre Garzia) Date: Thu, 2 Mar 2006 22:06:41 -0300 Subject: XP Problems Persist... In-Reply-To: References: Message-ID: <68C29623-E5F1-4A80-82D0-C248AADDF6D6@mac.com> Judy, it will sound stupid but I had tons of problems with my thumb drive corrupting my rev stacks... after using it, rev would cease to recognize the stacks. It was not a rev problem it was a cheap thumb drive problem... have you tried to transfer the files using another medium? Cheers andre On Mar 2, 2006, at 9:53 PM, Judy Perry wrote: > Sigh. > > One of the few students who is honestly playing around with Rev and > *trying* to appreciate it is having nothing but problem after problem > after problem. > > This is probably a really stupid question, but does running skins > on top > of XP create any Rev-related problems? > > I'm running 2.7 on OS X. He's running 2.7 (trial version) on XP. I > created a simple little demo stack on messages and the message path > (and, > yes, Richard, I did require that they take a look at yours!). Runs > fine > on my Mac. Copied the file to his thumb drive. He double-clicks > the file > and it launches 2.7. Good. But it doesn't open the file. Not > only does > it not open the clicked file, when you try opening it from the File -> > Open menu, it either does nothing or it throws up an error message > that > the file cannot be read. > > The file retains its icon and association with the parent app... > only the > parent app can't open the file. > > I just tried re-d/l Rev 2.7 to look for the option to save as a 2.6 > file... but can't figure that one out either (will be heading on > over to > Chipp's site to try that next). > > Does anyone have any ideas? Would anyone be willing to take a look > at the > file to see whether I've done something just abysmally stupid that > could > be causing these problems? > > It just doesn't give Rev a good name when you have somebody who is > clearly > in the minority in a class and who is trying to honestly evaluate the > product and all they get is crashes and non-functionality... > > :-( > > Thanks for any suggestions, > > Judy > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Thu Mar 2 20:13:37 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 2 Mar 2006 17:13:37 -0800 (PST) Subject: XP Problems Persist... In-Reply-To: <68C29623-E5F1-4A80-82D0-C248AADDF6D6@mac.com> Message-ID: Andre, Thanks, yes, I am trying that right now (u/l the file to RevOnline and just installed a trial version of Rev on the PC in the lab...). Thanks for the pointer! Judy On Thu, 2 Mar 2006, Andre Garzia wrote: > Judy, > > it will sound stupid but I had tons of problems with my thumb drive > corrupting my rev stacks... after using it, rev would cease to > recognize the stacks. It was not a rev problem it was a cheap thumb > drive problem... have you tried to transfer the files using another > medium? > > Cheers > andre > > On Mar 2, 2006, at 9:53 PM, Judy Perry wrote: > > > Sigh. > > > > One of the few students who is honestly playing around with Rev and > > *trying* to appreciate it is having nothing but problem after problem > > after problem. > > > > This is probably a really stupid question, but does running skins > > on top > > of XP create any Rev-related problems? > > > > I'm running 2.7 on OS X. He's running 2.7 (trial version) on XP. I > > created a simple little demo stack on messages and the message path > > (and, > > yes, Richard, I did require that they take a look at yours!). Runs > > fine > > on my Mac. Copied the file to his thumb drive. He double-clicks > > the file > > and it launches 2.7. Good. But it doesn't open the file. Not > > only does > > it not open the clicked file, when you try opening it from the File -> > > Open menu, it either does nothing or it throws up an error message > > that > > the file cannot be read. > > > > The file retains its icon and association with the parent app... > > only the > > parent app can't open the file. > > > > I just tried re-d/l Rev 2.7 to look for the option to save as a 2.6 > > file... but can't figure that one out either (will be heading on > > over to > > Chipp's site to try that next). > > > > Does anyone have any ideas? Would anyone be willing to take a look > > at the > > file to see whether I've done something just abysmally stupid that > > could > > be causing these problems? > > > > It just doesn't give Rev a good name when you have somebody who is > > clearly > > in the minority in a class and who is trying to honestly evaluate the > > product and all they get is crashes and non-functionality... > > > > :-( > > > > Thanks for any suggestions, > > > > Judy > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Thu Mar 2 20:25:32 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 2 Mar 2006 17:25:32 -0800 (PST) Subject: XP Problem SOLVED! In-Reply-To: <68C29623-E5F1-4A80-82D0-C248AADDF6D6@mac.com> Message-ID: Yup, Andre: That's apparently the cause! I was able to u/l the file to RevOnline, install Rev on the PC in here and pull it down from there. Worked fine. Have advised the student that his drive is the problem. As for why we didn't try other options, well, there aren't any other options. Neither of us had a burnable CD, the Macs are all OS 9 and most of them don't work at all, and even if they did, they're running Rev 2.5, and, finally, the FTP server corrupts as well as zero's out files unpredictably, so I couldn't distribute the files that way, either. Yikes. Thanks again! Judy On Thu, 2 Mar 2006, Andre Garzia wrote: > Judy, > > it will sound stupid but I had tons of problems with my thumb drive > corrupting my rev stacks... after using it, rev would cease to > recognize the stacks. It was not a rev problem it was a cheap thumb > drive problem... have you tried to transfer the files using another > medium? From europe at ehug.info Thu Mar 2 21:03:31 2006 From: europe at ehug.info (Mark Schonewille) Date: Fri, 03 Mar 2006 03:03:31 +0100 Subject: Menubar Handling In-Reply-To: <9C0114E2-0F66-41B4-9EAA-F451F11779BC@curlypaws.com> References: <9C0114E2-0F66-41B4-9EAA-F451F11779BC@curlypaws.com> Message-ID: <4407A3F3.5060806@ehug.info> Hi Karen, It seems you haven't got a repy to your question, yet. In the menubar script (or the script of the group that serves as menubar), you could put a menuPick handler. Have a look at the docs for info about the menuPick handler. The menuPick handler could call scripts in the main stack or send commands to other stacks and objects. Depending on what you are trying to do, your menuPick handler might look like on menuPick theMenuItem switch theMenuItem case "Open..." runOpenHandlerInMainStack break case "Something Else" send "runSomeHandlerInSubstack" to the topstack break end switch end menuPick The second "case" will work fine, if the main stack also has a "something" handlers. It would be easiest to put all scripts in the main stack, without using the "send" command, but if each of your substacks should act differently upon a user's menu selection, "send" is a very useful command. Best, Mark Karen wrote: > Hi, > > I'm trying to set up a Menubar for OS X with Revolution and I had seen > mention of the idea of using a separate stack with a menubar (to avoid > the stack contents moving around every time I load it). I have set > this up, and on the preOpenStack script of the other cards, I do: > > set the menubar of me to "MyMenubar". > > This seems to work very nicely - the other cards have the correct > menubar, but what I can't puzzle out is how to process the menu actions > in these cards. If I do nothing, they are processed back in the > Menubar stack - which doesn't have the controls that I want to refer > to. How can I process the menu actions correctly? > > Thanks, > > Karen > -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From sarah.reichelt at gmail.com Thu Mar 2 21:04:06 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 3 Mar 2006 12:04:06 +1000 Subject: XP Problems Persist... In-Reply-To: References: <70ed6b130603021048n7336e17dr2a92c780ece5d292@mail.gmail.com> Message-ID: > I'm running 2.7 on OS X. He's running 2.7 (trial version) on XP. I > created a simple little demo stack on messages and the message path (and, > yes, Richard, I did require that they take a look at yours!). Runs fine > on my Mac. Copied the file to his thumb drive. He double-clicks the file > and it launches 2.7. Good. But it doesn't open the file. Not only does > it not open the clicked file, when you try opening it from the File -> > Open menu, it either does nothing or it throws up an error message that > the file cannot be read. > > The file retains its icon and association with the parent app... only the > parent app can't open the file. Along the same lines as Andre's suggestion, I always zip files before transfer. This seems to give a much more reliable copy of the file. Cheers, Sarah From shaosean at hotmail.com Thu Mar 2 21:23:48 2006 From: shaosean at hotmail.com (Sean Shao) Date: Thu, 02 Mar 2006 21:23:48 -0500 Subject: Table Inspector In-Reply-To: <20060302180004.6D7BE826627@mail.runrev.com> Message-ID: Yeah, it just started happening one day for me too.. While it does lock-up Rev, I've found that a simple CMD-. (CTRL-Pause for Windows users) will bring it out of being unresponsive (mind you the palette will be cut off but you can still set your tab stops =) _________________________________________________________________ Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From stephenREVOLUTION at barncard.com Thu Mar 2 22:05:51 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 2 Mar 2006 19:05:51 -0800 Subject: XP Problems Persist... In-Reply-To: <68C29623-E5F1-4A80-82D0-C248AADDF6D6@mac.com> References: <68C29623-E5F1-4A80-82D0-C248AADDF6D6@mac.com> Message-ID: I agree. When I recharged my little Revcon thumb drive at the conference, some stacks didn't make it back home, had to download.. Especially had problems using a thumb drive between sys9 and 10. sqb >Judy, > >it will sound stupid but I had tons of problems with my thumb drive >corrupting my rev stacks... after using it, rev would cease to >recognize the stacks. It was not a rev problem it was a cheap thumb >drive problem... have you tried to transfer the files using another >medium? > >Cheers >andre > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From garrett at paraboliclogic.com Thu Mar 2 23:16:41 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 2 Mar 2006 20:16:41 -0800 Subject: RGB to HEX In-Reply-To: References: Message-ID: <42E8BED4-FF29-4502-A46E-1B75749BD5D5@paraboliclogic.com> On Mar 2, 2006, at 10:28 AM, Jeanne A. E. DeVoto wrote: > put "#" into theWebColor -- leading "#" > repeat for each item myItem in theColorNumber -- numeric triplet - > R,G,B > get baseConvert(myItem,10,16) > if the length of it is 1 then put zero before it -- each > component must be 2-digit > put it after theWebColor > end repeat > > -- > jeanne a. e. devoto ~ revolution at jaedworks.com Thank you very much, this helped me figure out how to use that baseConvert. And thank you Sarah and FlexibleLearning for also responding, very much appreciated. Thanks, -Garrett From garrett at paraboliclogic.com Thu Mar 2 23:17:39 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 2 Mar 2006 20:17:39 -0800 Subject: RGB to HEX In-Reply-To: <05553B7E-E6D6-4A89-BA38-AB504DDD774D@major-k.de> References: <05553B7E-E6D6-4A89-BA38-AB504DDD774D@major-k.de> Message-ID: On Mar 1, 2006, at 9:49 AM, Klaus Major wrote: > Hello again, Garrett .-) > >> Rev 2.6.1 >> >> Greetings, >> >> Is there a built-in function in Rev that will convert RGB color >> string to a HEX color string? If no, does anyone know how to do >> this? I knew how to do this in another language, but am at a loss >> as to how to work it out in Rev. > > Check the "baseconvert" command in the docs. > Pretty straightforward... Thank you Klaus Major, much appreciated. :-) -Garrett From garrett at paraboliclogic.com Thu Mar 2 23:18:09 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 2 Mar 2006 20:18:09 -0800 Subject: Built-in Font Dialog? In-Reply-To: References: Message-ID: <6B944B6D-BC27-42D5-804F-0FB529157583@paraboliclogic.com> On Mar 1, 2006, at 9:49 AM, Klaus Major wrote: > HiGarrett, > >> Rev 2.6.1 >> >> Greetings, >> >> Is there a built-in font dialog in Rev? > > No, but you can examine the Rev "Font" menu :-) Again, thanks a bunch. -Garrett From bvlahos at mac.com Fri Mar 3 00:15:15 2006 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 2 Mar 2006 21:15:15 -0800 Subject: Table field does not send closeField Message-ID: <08448836f86b067de538e63a0f288868@mac.com> How do I trap for a change in the contents of a table field with cell editing turned on? It doesn't seem to send a closeField message. Bill Vlahos From bvlahos at mac.com Fri Mar 3 00:18:40 2006 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 2 Mar 2006 21:18:40 -0800 Subject: XP Problems Persist... In-Reply-To: References: <68C29623-E5F1-4A80-82D0-C248AADDF6D6@mac.com> Message-ID: Which brands of thumb drives are having problems? Bill Vlahos On Mar 2, 2006, at 7:05 PM, Stephen Barncard wrote: > I agree. When I recharged my little Revcon thumb drive at the > conference, some stacks didn't make it back home, had to download.. > > Especially had problems using a thumb drive between sys9 and 10. > > sqb > > >> Judy, >> >> it will sound stupid but I had tons of problems with my thumb drive >> corrupting my rev stacks... after using it, rev would cease to >> recognize the stacks. It was not a rev problem it was a cheap thumb >> drive problem... have you tried to transfer the files using another >> medium? >> >> Cheers >> andre >> > > -- > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Fri Mar 3 01:29:51 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 2 Mar 2006 22:29:51 -0800 (PST) Subject: XP Problems Persist... In-Reply-To: Message-ID: Stephen, An interesting spotlight... we had, indeed, been going between his XP machine, any semi-working OS 9 machine and my OS X laptop... Judy On Thu, 2 Mar 2006, Stephen Barncard wrote: > Especially had problems using a thumb drive between sys9 and 10. From jperryl at ecs.fullerton.edu Fri Mar 3 01:34:18 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 2 Mar 2006 22:34:18 -0800 (PST) Subject: XP Problems Persist... In-Reply-To: Message-ID: As it's not mine, I don't know... But at least, thanks to Andre's suggestion, I was able to verify that the thumb drive was the likely culprit and that the same file, when d/l from RevOnline onto a PC machine, worked just fine in XP. Importantly, the student was able to verify this as well. Now, if only there were some similarly easy solution to the third world example that is my department's Macintosh lab... :-/ Many thanks again to all who offered ideas and suggestions. Judy On Thu, 2 Mar 2006, Bill Vlahos wrote: > Which brands of thumb drives are having problems? From scott at elementarysoftware.com Fri Mar 3 01:46:53 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 2 Mar 2006 22:46:53 -0800 Subject: start using a filePath Message-ID: <71AFCA15-6A54-47E7-8C1F-C24A9B038BBD@elementarysoftware.com> what happens if a script has < start using stack tMyFilePath > when the stack tMyFilePath hasn't been loaded into memory yet? My experience so far is that it doesn't load the stack. -Scott From sarah.reichelt at gmail.com Fri Mar 3 02:28:14 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 3 Mar 2006 17:28:14 +1000 Subject: start using a filePath In-Reply-To: <71AFCA15-6A54-47E7-8C1F-C24A9B038BBD@elementarysoftware.com> References: <71AFCA15-6A54-47E7-8C1F-C24A9B038BBD@elementarysoftware.com> Message-ID: On 3/3/06, Scott Morrow wrote: > what happens if a script has > > < start using stack tMyFilePath > > > when the stack tMyFilePath hasn't been loaded into memory yet? My > experience so far is that it doesn't load the stack. > Should work fine, provided the program knows where the stack is. I use this all the time. Cheers, Sarah From gcanyon at inspiredlogic.com Fri Mar 3 02:46:26 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Thu, 2 Mar 2006 23:46:26 -0800 Subject: Table field does not send closeField In-Reply-To: <08448836f86b067de538e63a0f288868@mac.com> References: <08448836f86b067de538e63a0f288868@mac.com> Message-ID: <92F32336-A5DC-41FF-9503-F8D10A592916@inspiredlogic.com> On Mar 2, 2006, at 9:15 PM, Bill Vlahos wrote: > How do I trap for a change in the contents of a table field with > cell editing turned on? It doesn't seem to send a closeField message. > > Bill Vlahos I think the editor field is created on the fly and placed in front of the table cell. If that field is simply stored, or based on some template, you could edit its script or the script of the template. If not, a front script is likely the way to go. From jaguayo at eve.es Fri Mar 3 03:00:49 2006 From: jaguayo at eve.es (Joseba Aguayo) Date: Fri, 3 Mar 2006 09:00:49 +0100 Subject: Extract items In-Reply-To: <20060301012204.A14F18254AC@mail.runrev.com> References: <20060301012204.A14F18254AC@mail.runrev.com> Message-ID: <1A9BBCF3-207B-4D83-A943-4F976913BDEF@eve.es> Hello: ?Exists in Revolution an order similar to the Extract Rinaldi XCMD? ?Is possible to extract one or two items (item 3 to 4) of a list separate with tabs. Thanks. Un saludo Joseba (jaguayo at eve.es) From yvescoppe at skynet.be Fri Mar 3 03:06:23 2006 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri, 3 Mar 2006 09:06:23 +0100 Subject: Extract items In-Reply-To: <1A9BBCF3-207B-4D83-A943-4F976913BDEF@eve.es> References: <20060301012204.A14F18254AC@mail.runrev.com> <1A9BBCF3-207B-4D83-A943-4F976913BDEF@eve.es> Message-ID: <64DAFD1B-CEC8-4708-A658-F4699FE42973@skynet.be> Le 3 mars 06 ? 09:00, Joseba Aguayo a ?crit : > Hello: > > ?Exists in Revolution an order similar to the Extract Rinaldi XCMD? > ?Is possible to extract one or two items (item 3 to 4) of a list > separate with tabs. > > Thanks. > > Un saludo I've a function which do the same in transcript : Filedname = the name of the fld or the variable with the data pItemNumber = the item(s) to be extracted delim = the item delimiter function extractItem pFieldName, pItemNumber,delim local tempLine, tempItem,vListofItems,vListToReturn put itemDelimiter into oldDelim replace comma with delim in pItemNumber set itemDelimiter to delim repeat for each line tempLine in pFieldName put empty into vListofItems repeat for each item tempItem in pItemNumber put item tempItem of tempLine &delim after vListofItems end repeat delete last char of vListofItems put vListofItems& return after vListToReturn end repeat set itemDelimiter to oldDelim if the number of lines of vListToReturn > 1 then delete last char of vListToReturn end if return vListToReturn end extractItem Greetings. Yves COPPE yvescoppe at skynet.be From alex at tweedly.net Fri Mar 3 03:24:39 2006 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 03 Mar 2006 08:24:39 +0000 Subject: RGB to HEX In-Reply-To: <42E8BED4-FF29-4502-A46E-1B75749BD5D5@paraboliclogic.com> References: <42E8BED4-FF29-4502-A46E-1B75749BD5D5@paraboliclogic.com> Message-ID: <4407FD47.2090208@tweedly.net> Garrett Hylltun wrote: > On Mar 2, 2006, at 10:28 AM, Jeanne A. E. DeVoto wrote: > >> put "#" into theWebColor -- leading "#" >> repeat for each item myItem in theColorNumber -- numeric triplet - >> R,G,B >> get baseConvert(myItem,10,16) >> if the length of it is 1 then put zero before it -- each >> component must be 2-digit >> put it after theWebColor >> end repeat >> >> -- >> jeanne a. e. devoto ~ revolution at jaedworks.com > > > Thank you very much, this helped me figure out how to use that > baseConvert. And thank you Sarah and FlexibleLearning for also > responding, very much appreciated. baseConvert is a good, general purpose tool - but you can do this more concisely using format put "#" into theWebColor -- leading "#" repeat for each item myItem in theColorNumber -- numeric triplet - R,G,B put format("%02X",myItem) after theWebColor end repeat note - I prefer RGB colours to be #0A0B0F - i.e. upper case - so I used "%02X", but if you prefer lower case you can instead us "%02x" -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.1/272 - Release Date: 01/03/2006 From JimAultWins at yahoo.com Fri Mar 3 04:44:21 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 03 Mar 2006 01:44:21 -0800 Subject: Extract items In-Reply-To: <1A9BBCF3-207B-4D83-A943-4F976913BDEF@eve.es> Message-ID: On 3/3/06 12:00 AM, "Joseba Aguayo" wrote: > > ?Exists in Revolution an order similar to the Extract Rinaldi XCMD? > ?Is possible to extract one or two items (item 3 to 4) of a list > separate with tabs. > Roll your own with your own rules and reactions :-) Here is my version I put together very quickly so you may want to improve it. I use my style of programming code.. old habits die hard, but it works for me. First, make a new main stack, create two fields, paste the code into the stack script, then put the original list into field 1, double click on the card anywhere to run the script. ------start copy here ------- on mouseDoubleUp put empty into fld 2 put extractItem(fld 1, 3,4, tab) into extractResult if extractResult contains "error" then answer extractResult exit to top end if put extractResult into fld 2 end mouseDoubleUp function extractItem listt, aa, bb, cc set the itemDel to cc -- sets the desired delim repeat for each line LNN in listt if the number of items in LNN < bb then put "error to few items" into ans exit repeat end if put item aa to bb of LNN & cr after newListt end repeat if ans contains "error" then put cr & LNN after ans return ans else delete last char of newListt return newListt end if end extractItem --------- end copy ------------------- You do not have to worry about keeping the old itemDelimeter since this setting (1) only affects the current handler (2) uses the default until reset in each handler that runs... which means each time the extractItem() function is called, the itemDel is a comma, then we set it to be whatever is passed as "cc", and after the extractItem() function ends, this itemDel does not affect to the original handler. Thus the original handler in this example will always have the comma as its itemDel setting. You can confirm this by adding the following line at the end of the first handler answer the number of items in fld 2 --which should be 1 if you used tabs you may want to add an error check to see if aa References: Message-ID: Our Rev program is Mac based. We want to run it under XP. We use three Applescript-based functions in this program that need to be replaced under XP. I'm looking for suggestions on how best to do this. The three functions: - get the status of the internal battery (on a laptop) - get the wireless strength (was airport status) - switch wireless connection (was switch airport connection) I'm guessing there are DLL's to do this, but perhaps none already compatible with Rev. I realize we can use non-Rev DLL's. Perhaps that's the best option. I'd like to hear other opinions. Thanks. Richard Miller Imprinter Technologies From Stgoldberg at aol.com Fri Mar 3 07:19:29 2006 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Fri, 3 Mar 2006 07:19:29 EST Subject: First color, second color third color, etc Message-ID: <129.6eec342e.31398e51@aol.com> I have been puzzled by the color feature in the object inspector for some of the objects (e.g. images) which list the options of "First color, second color, third color etc." What does this do? If I check off a color, nothing happens and the option disappears on leaving the object inspector. Perhaps someone can clarify this. Thanks. Steve Goldberg From tominjapan at excite.com Fri Mar 3 07:20:55 2006 From: tominjapan at excite.com (Thomas McCarthy) Date: Fri, 3 Mar 2006 07:20:55 -0500 (EST) Subject: AltBrowser--wow. Message-ID: <20060303122055.C86647E432@xprdmxin.myway.com> Last summer I wrote a message airing publicly my complaints about this product. It was a bit of vitrol after frustrating attempts to get it to work (yes, I had read the manuals!) I shot off an angry letter to the Altuit team about what I found as shortcommings: 1. the demo on the site was not the latest (bug-free) version 2. the obvious pit-fall (which even Dan Shafer fell into)--not ensuring the plug-in was installed was not properly covered. 3. the demo stack tried to cram every type of function onto one card making it rather daunting to a newbie. Well, somebody over there was listening! Each and every one of those concerns has been so well addressed you wouldn't know it was the same product that caused me heart-burn. Downloading and installing is a breeze, updating couldn't be easier and the demo stack gracefully guides you through the features. Bravo! BTW. I decided to take a look at AltBrowser again after happening across AltFont (which similarly is a joy to install). AltFont is an answer to a lot of my dreams. I need some special characters which unicode can do, but rev doesn't handle unicode very well. AltFont will enable me to use the special fonts I already have and I can kiss unicode good-bye for now! Was this announced on the list? I don't recall seeing it. tm _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From paulclaude at postino.it Fri Mar 3 09:02:41 2006 From: paulclaude at postino.it (Paul Claude) Date: Fri, 03 Mar 2006 15:02:41 +0100 Subject: Type a text from a palette stack to an external window In-Reply-To: Message-ID: Anyone can help me in this matter? It's a Rev bug? on 1-03-2006 14:06, Paul Claude at paulclaude at postino.it wrote: > There is a way to let Revolution (also via Applescript) may type a text on > an external app window (i.e. a text editor)? > > I've tried using various AS tips to bring the ext. window to the frontmost, > but every time the focus remains on the stack (a systemWindow style > palette), and typing give back only an error sound. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Andre.Bisseret at inria.fr Fri Mar 3 09:03:25 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q?Andr=E9.Bisseret?=) Date: Fri, 3 Mar 2006 15:03:25 +0100 Subject: resizable stack with Mac unresizable with Windows Message-ID: <7BDF1901-AABE-11DA-BF3D-000393DBAA2A@inria.fr> Hi ! I have a stack whose resizable property is set to true. I used the geometry manager to set position or scale of all the objects for which it was necessary (thanks to the very clear tutorial from ?ric Chatonet (So Smart Software), and the demo he recommends from Chipp Walters, from Altuit. The decorations are : Title, menu, minimize, maximize, close, metal. Live Resizing is set to false All is working very well on my Mac (G4, OS X, 10.2.8). But on Windows (2000 or XP) the stack is not resizable (no button in the bottom right corner). Well, I suppose I could work around that by covering the normal "internal" button (that appears with Mac) by another one including the script proposed by ?ric Chatonet in his tutorial and which runs very well. (I hope it would not disappear on Windows system !!! :-))). But, frankly, I would prefer a more regular "internal" solution ;-) Any help would be very much appreciate Best regards from Grenoble Andr? From rjb at robelko.com Fri Mar 3 09:24:49 2006 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 3 Mar 2006 15:24:49 +0100 Subject: XP Problem SOLVED! In-Reply-To: References: Message-ID: >Yup, Andre: > >That's apparently the cause! I was able to u/l the file to RevOnline, >install Rev on the PC in here and pull it down from there. > >Worked fine. > >Have advised the student that his drive is the problem. > >As for why we didn't try other options, well, there aren't any other >options. Neither of us had a burnable CD, the Macs are all OS 9 and most >of them don't work at all, and even if they did, they're running Rev 2.5, >and, finally, the FTP server corrupts as well as zero's out files >unpredictably, so I couldn't distribute the files that way, either. >Yikes. > >Thanks again! > >Judy Such problems are specific only to certain USB stick technologies. Even though they all look alike, more or less, they use different storage technologies inside. I have encountered some problems with the newest, very cheap ones, including not being recognized by one or the other system, whereas older ones I have work reliably between OS9, OSX, and Windows. Your problems with FTP server sound weird. But zipped stacks should transfer okay as email attachments if nothing else is available and anti-spam lets zip files through. Robert From gregory.lypny at videotron.ca Fri Mar 3 09:38:55 2006 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 03 Mar 2006 09:38:55 -0500 Subject: Table Inspector In-Reply-To: <20060303112302.360F3825DD4@mail.runrev.com> References: <20060303112302.360F3825DD4@mail.runrev.com> Message-ID: <2BD2835E-B563-4568-B587-2DCA0356C7EE@videotron.ca> That works most of the time. It doesn't work or will take a long time (a few minutes) if there's lots of data in the field. Gregory On Fri, Mar 3, 2006, at 6:23 AM, use-revolution- request at lists.runrev.com wrote: > Yeah, it just started happening one day for me too.. While it does > lock-up > Rev, I've found that a simple CMD-. (CTRL-Pause for Windows users) > will > bring it out of being unresponsive (mind you the palette will be > cut off but > you can still set your tab stops =) From europe at ehug.info Fri Mar 3 10:00:13 2006 From: europe at ehug.info (Mark Schonewille) Date: Fri, 03 Mar 2006 16:00:13 +0100 Subject: resizable stack with Mac unresizable with Windows In-Reply-To: <7BDF1901-AABE-11DA-BF3D-000393DBAA2A@inria.fr> References: <7BDF1901-AABE-11DA-BF3D-000393DBAA2A@inria.fr> Message-ID: <440859FD.8040704@ehug.info> Hi Andr?, I didn't test this in 2.7, but in earlier versions there used to be a problem that involved changing the decorations and affected the resizable of the stack on all Windows platforms. This is a Revolution bug that has already been reported to BugZilla: Since you're including all default decorations plus metal while there is no metal on Windows available, why don't you set the decorations to "default"? That should "solve" your problem. Best, Mark Andr?.Bisseret wrote: > Hi ! > I have a stack whose resizable property is set to true. > I used the geometry manager to set position or scale of all the objects > for which it was necessary (thanks to the very clear tutorial from ?ric > Chatonet (So Smart Software), and the demo he recommends from Chipp > Walters, from Altuit. > The decorations are : Title, menu, minimize, maximize, close, metal. > Live Resizing is set to false > > All is working very well on my Mac (G4, OS X, 10.2.8). > But on Windows (2000 or XP) the stack is not resizable (no button in the > bottom right corner). > > Well, I suppose I could work around that by covering the normal > "internal" button (that appears with Mac) by another one including the > script proposed by ?ric Chatonet in his tutorial and which runs very > well. (I hope it would not disappear on Windows system !!! :-))). > > But, frankly, I would prefer a more regular "internal" solution ;-) > > Any help would be very much appreciate > > Best regards from Grenoble > Andr? -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From wdesmet at wanadoo.nl Fri Mar 3 10:35:23 2006 From: wdesmet at wanadoo.nl (William de Smet) Date: Fri, 3 Mar 2006 16:35:23 +0100 Subject: How to change the label of a button to the contents of an editable field? Message-ID: Hi there, I am trying to make the label of a button the same as the contents of an editable field. So far I've come up with this: set the label of button "1" to word 1 of field "1" but this returns the word "Field" as label of button 1. I am stuck here but its probably very simple. Is there someone out there who could help me? greetings, William de Smet From pevensen at siboneylg.com Fri Mar 3 10:39:45 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Fri, 03 Mar 2006 09:39:45 -0600 Subject: How to change the label of a button to the contents of an editable field? In-Reply-To: References: Message-ID: <6.2.1.2.2.20060303093846.021ee2a8@exchange.slg.com> set the label of button "1" to word 1 of the text of field "1" should do the trick. At 09:35 AM 3/3/2006, you wrote: >Hi there, > >I am trying to make the label of a button the same as the contents of >an editable field. >So far I've come up with this: >set the label of button "1" to word 1 of field "1" but this returns >the word "Field" as label of button 1. > >I am stuck here but its probably very simple. >Is there someone out there who could help me? > >greetings, > >William de Smet >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From klaus at major-k.de Fri Mar 3 10:43:55 2006 From: klaus at major-k.de (Klaus Major) Date: Fri, 3 Mar 2006 16:43:55 +0100 Subject: How to change the label of a button to the contents of an editable field? In-Reply-To: References: Message-ID: <1C3BFB39-B94C-46A0-9A3C-47D565BE3DB4@major-k.de> Dag William, > Hi there, > > I am trying to make the label of a button the same as the contents > of an editable field. > So far I've come up with this: > set the label of button "1" to word 1 of field "1" but this returns > the word "Field" as label of button 1. > > I am stuck here but its probably very simple. > Is there someone out there who could help me? the syntax is correct actualy! Question: Do you mean the field/button with the number 1 (first field/button) or a field/button NAMED "1"? In the first case you should omit the quotes, in the second case you really should use another name, since you may get very strange results when naming object with a number! Just call the field "field1" (button "button1") and then try again. Works fine here :-) > greetings, > > William de Smet Groetjes Klaus Major klaus at major-k.de http://www.major-k.de From wdesmet at wanadoo.nl Fri Mar 3 11:05:44 2006 From: wdesmet at wanadoo.nl (William de Smet) Date: Fri, 3 Mar 2006 17:05:44 +0100 Subject: How to change the label of a button to the contents of an editable field? In-Reply-To: <1C3BFB39-B94C-46A0-9A3C-47D565BE3DB4@major-k.de> References: <1C3BFB39-B94C-46A0-9A3C-47D565BE3DB4@major-k.de> Message-ID: Hi there, I knew I would be simple: i made a new stack and tried it out and it works. Thanks to Klaus and Peter. Greetings, William de Smet 2006/3/3, Klaus Major : > Dag William, > > > Hi there, > > > > I am trying to make the label of a button the same as the contents > > of an editable field. > > So far I've come up with this: > > set the label of button "1" to word 1 of field "1" but this returns > > the word "Field" as label of button 1. > > > > I am stuck here but its probably very simple. > > Is there someone out there who could help me? > > the syntax is correct actualy! > > Question: > Do you mean the field/button with the number 1 (first field/button) or a > field/button NAMED "1"? > > In the first case you should omit the quotes, in the second case > you really should use another name, since you may get very strange > results > when naming object with a number! > > Just call the field "field1" (button "button1") and then try again. > > Works fine here :-) > > > greetings, > > > > William de Smet > > Groetjes > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From rcozens at pon.net Fri Mar 3 11:09:15 2006 From: rcozens at pon.net (Rob Cozens) Date: Fri, 3 Mar 2006 08:09:15 -0800 Subject: XP Problems Persist... In-Reply-To: <68C29623-E5F1-4A80-82D0-C248AADDF6D6@mac.com> References: <68C29623-E5F1-4A80-82D0-C248AADDF6D6@mac.com> Message-ID: <0FB6F766-AAD0-11DA-AD3C-0030657E1638@pon.net> Judy, Andre, et al: > it will sound stupid but I had tons of problems with my thumb drive > corrupting my rev stacks... after using it, rev would cease to > recognize the stacks. It was not a rev problem it was a cheap thumb > drive problem... have you tried to transfer the files using another > medium? > I had this problem moving v2.1.2 Mac stacks to v2.6.1 Rev on XP. It didn't seem to be the media (Lexar JumpDrive), because compressed stacks dragged from the Mac to the JumpDrive expanded correctly on the XP. 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) From dll392 at gmail.com Fri Mar 3 11:27:22 2006 From: dll392 at gmail.com (Derek Larsen) Date: Fri, 3 Mar 2006 09:27:22 -0700 Subject: Importing and export text with foreign accents Message-ID: <57a643190603030827naf3395eqb6cb83ed13ef1594@mail.gmail.com> I'm having a little trouble importing a tab deliminted text file (saved from excel), having rev organize it, then saving it out as an xml file. The import and text manipulation works just fine, but when it comes time to export the data out to text files, all the foreign characters (accents, umlauts, etc,) get converted to squares or questions marks. Initially I tried straight open, write, and close file statements. Then I tried unicodeText and uniEncode/uniDecode statements and it's still a no go. Is there a tech sheet somewhere that's explains more about how runrev deals with special characters? Any insight would be appreciated! -- Derek From europe at ehug.info Fri Mar 3 12:08:16 2006 From: europe at ehug.info (Mark Schonewille) Date: Fri, 03 Mar 2006 18:08:16 +0100 Subject: Importing and export text with foreign accents In-Reply-To: <57a643190603030827naf3395eqb6cb83ed13ef1594@mail.gmail.com> References: <57a643190603030827naf3395eqb6cb83ed13ef1594@mail.gmail.com> Message-ID: <44087800.8000309@ehug.info> Hi Derek, Even if you are using diacritics, as they are called, there is no reason to use unicode. Only if the text you are exporting contains Arabic, Polish, Bulgarian etc characters, which are not in the ASCII character set, you might need to use unicode. Does your text contain characters that are not in the ASCII character set? If you are exporting as XML, you may have to use the htmlText instead of plain text. Best, Mark Derek Larsen wrote: > I'm having a little trouble importing a tab deliminted text file > (saved from excel), having rev organize it, then saving it out as an > xml file. > > The import and text manipulation works just fine, but when it comes > time to export the data out to text files, all the foreign characters > (accents, umlauts, etc,) get converted to squares or questions marks. > > Initially I tried straight open, write, and close file statements. > > Then I tried unicodeText and uniEncode/uniDecode statements and it's > still a no go. > > Is there a tech sheet somewhere that's explains more about how runrev > deals with special characters? > > Any insight would be appreciated! -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From charles.hartman at conncoll.edu Fri Mar 3 12:11:30 2006 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Fri, 3 Mar 2006 12:11:30 -0500 Subject: Importing and export text with foreign accents In-Reply-To: <44087800.8000309@ehug.info> References: <57a643190603030827naf3395eqb6cb83ed13ef1594@mail.gmail.com> <44087800.8000309@ehug.info> Message-ID: <58757EDA-3A31-4BFE-9FE4-2D630011BF84@conncoll.edu> Is this really true? My impression is that characters >128 are different in the "ASCII" character sets on Mac and Windows. Charles On Mar 3, 2006, at 12:08 PM, Mark Schonewille wrote: > Hi Derek, > > Even if you are using diacritics, as they are called, there is no > reason to use unicode. Only if the text you are exporting contains > Arabic, Polish, Bulgarian etc characters, which are not in the > ASCII character set, you might need to use unicode. > > Does your text contain characters that are not in the ASCII > character set? If you are exporting as XML, you may have to use the > htmlText instead of plain text. > > Best, > > Mark > > Derek Larsen wrote: >> I'm having a little trouble importing a tab deliminted text file >> (saved from excel), having rev organize it, then saving it out as an >> xml file. >> The import and text manipulation works just fine, but when it comes >> time to export the data out to text files, all the foreign characters >> (accents, umlauts, etc,) get converted to squares or questions marks. >> Initially I tried straight open, write, and close file statements. >> Then I tried unicodeText and uniEncode/uniDecode statements and it's >> still a no go. >> Is there a tech sheet somewhere that's explains more about how runrev >> deals with special characters? >> Any insight would be appreciated! > > -- > > Consultant and Software Engineer > mailto:m.schonewille at economy-x-talk.com > http://www.economy-x-talk.com > > eHUG coordinator > mailto:europe at ehug.info > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Fri Mar 3 12:56:18 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 3 Mar 2006 12:56:18 -0500 Subject: AltBrowser--wow. In-Reply-To: <20060303122055.C86647E432@xprdmxin.myway.com> References: <20060303122055.C86647E432@xprdmxin.myway.com> Message-ID: <705ECB13-67F3-4785-A76D-CEB8DA98B24A@adelphia.net> Tom, I also struggled with altBrowser 1 and have just finished building my first web browser into my project and can definitely say it is fantastic. Once I got my email address correct it was a breeze to use, install and impress the heck out of every one that sees it. I had my own address wrong for the registration. DUH. Anyway, bravo to Chipp and team on a superb product, definitely worth the effort and you can't beat the price. Tom I also got the altFont application and have not used it yet. On Mar 3, 2006, at 7:20 AM, Thomas McCarthy wrote: > > Last summer I wrote a message airing publicly my complaints about > this product. It was a bit of vitrol after frustrating attempts to > get it to work (yes, I had read the manuals!) > > I shot off an angry letter to the Altuit team about what I found as > shortcommings: > 1. the demo on the site was not the latest (bug-free) version > 2. the obvious pit-fall (which even Dan Shafer fell into)--not > ensuring the plug-in was installed was not properly covered. > 3. the demo stack tried to cram every type of function onto one > card making it rather daunting to a newbie. > > Well, somebody over there was listening! Each and every one of > those concerns has been so well addressed you wouldn't know it was > the same product that caused me heart-burn. > > Downloading and installing is a breeze, updating couldn't be easier > and the demo stack gracefully guides you through the features. Bravo! > > BTW. I decided to take a look at AltBrowser again after happening > across AltFont (which similarly is a joy to install). AltFont is an > answer to a lot of my dreams. I need some special characters which > unicode can do, but rev doesn't handle unicode very well. AltFont > will enable me to use the special fonts I already have and I can > kiss unicode good-bye for now! Was this announced on the list? I > don't recall seeing it. > > tm > > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 3mcgrath at adelphia.net 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 From jperryl at ecs.fullerton.edu Fri Mar 3 13:13:16 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 3 Mar 2006 10:13:16 -0800 (PST) Subject: How to change the label of a button to the contents of an editable field? In-Reply-To: <1C3BFB39-B94C-46A0-9A3C-47D565BE3DB4@major-k.de> Message-ID: And, of course, couldn't one just edit the contents of the label field itself using the object inspector? Judy On Fri, 3 Mar 2006, Klaus Major wrote: > the syntax is correct actualy! > > Question: > Do you mean the field/button with the number 1 (first field/button) or a > field/button NAMED "1"? > > In the first case you should omit the quotes, in the second case > you really should use another name, since you may get very strange > results > when naming object with a number! > > Just call the field "field1" (button "button1") and then try again. From wdesmet at wanadoo.nl Fri Mar 3 13:16:58 2006 From: wdesmet at wanadoo.nl (William de Smet) Date: Fri, 3 Mar 2006 19:16:58 +0100 Subject: How to change the label of a button to the contents of an editable field? In-Reply-To: References: <1C3BFB39-B94C-46A0-9A3C-47D565BE3DB4@major-k.de> Message-ID: Hi Judy, I am working on a standalone application where the user need to change this. So without RR! greetings, William 2006/3/3, Judy Perry : > And, of course, > > couldn't one just edit the contents of the label field itself using the > object inspector? > > Judy > > On Fri, 3 Mar 2006, Klaus Major wrote: > > > the syntax is correct actualy! > > > > Question: > > Do you mean the field/button with the number 1 (first field/button) or a > > field/button NAMED "1"? > > > > In the first case you should omit the quotes, in the second case > > you really should use another name, since you may get very strange > > results > > when naming object with a number! > > > > Just call the field "field1" (button "button1") and then try again. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dburgun at dsl.pipex.com Fri Mar 3 13:18:25 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 3 Mar 2006 18:18:25 +0000 Subject: XP - Applescript equivalents In-Reply-To: References: Message-ID: <45655089-2F69-4EB0-BF41-D335BE50BF4D@dsl.pipex.com> Hi, The only way I can think to do this is to write External Commands that in C/C++ interface to the relevant Windows APIs and return the information to RunRev. All the Best Dave On 3 Mar 2006, at 11:53, Richard Miller wrote: > Our Rev program is Mac based. We want to run it under XP. We use > three Applescript-based functions in this program that need to be > replaced under XP. I'm looking for suggestions on how best to do > this. The three functions: > > - get the status of the internal battery (on a laptop) > - get the wireless strength (was airport status) > - switch wireless connection (was switch airport connection) > > I'm guessing there are DLL's to do this, but perhaps none already > compatible with Rev. I realize we can use non-Rev DLL's. Perhaps > that's the best option. I'd like to hear other opinions. > > Thanks. > Richard Miller > Imprinter Technologies > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Fri Mar 3 13:27:02 2006 From: soapdog at mac.com (Andre Garzia) Date: Fri, 3 Mar 2006 15:27:02 -0300 Subject: XP - Applescript equivalents In-Reply-To: <45655089-2F69-4EB0-BF41-D335BE50BF4D@dsl.pipex.com> References: <45655089-2F69-4EB0-BF41-D335BE50BF4D@dsl.pipex.com> Message-ID: <971E43E0-DEBF-4477-AA91-266CC3CAF703@mac.com> Richard and David, check to see if there are shell commands for that, easier then doing C/C++ stuff... cheers andre On Mar 3, 2006, at 3:18 PM, David Burgun wrote: > Hi, > > The only way I can think to do this is to write External Commands > that in C/C++ interface to the relevant Windows APIs and return the > information to RunRev. > > All the Best > Dave > > On 3 Mar 2006, at 11:53, Richard Miller wrote: > >> Our Rev program is Mac based. We want to run it under XP. We use >> three Applescript-based functions in this program that need to be >> replaced under XP. I'm looking for suggestions on how best to do >> this. The three functions: >> >> - get the status of the internal battery (on a laptop) >> - get the wireless strength (was airport status) >> - switch wireless connection (was switch airport connection) >> >> I'm guessing there are DLL's to do this, but perhaps none already >> compatible with Rev. I realize we can use non-Rev DLL's. Perhaps >> that's the best option. I'd like to hear other opinions. >> >> Thanks. >> Richard Miller >> Imprinter Technologies >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From europe at ehug.info Fri Mar 3 13:29:08 2006 From: europe at ehug.info (Mark Schonewille) Date: Fri, 03 Mar 2006 19:29:08 +0100 Subject: Importing and export text with foreign accents In-Reply-To: <58757EDA-3A31-4BFE-9FE4-2D630011BF84@conncoll.edu> References: <57a643190603030827naf3395eqb6cb83ed13ef1594@mail.gmail.com> <44087800.8000309@ehug.info> <58757EDA-3A31-4BFE-9FE4-2D630011BF84@conncoll.edu> Message-ID: <44088AF4.4010007@ehug.info> Hi Charles, You are right, but as I understand it from Derek's question, his text file is only an intermediate result for use on the same platform. Still, even if he is going to use the text on a different platform, while the text being plain ascii, htmlText or even a script to convert the text might be a better solution than unicode. I think we need a little more information from Derek to decide what is the best method for him. Best, Mark Charles Hartman wrote: > Is this really true? My impression is that characters >128 are > different in the "ASCII" character sets on Mac and Windows. > > Charles -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From jonseymour at mac.com Fri Mar 3 13:56:45 2006 From: jonseymour at mac.com (Jon Seymour) Date: Fri, 3 Mar 2006 12:56:45 -0600 Subject: Truncating text with vGrid property Message-ID: The Rev documentation states that If the vgrid property is true, Revolution draws a vertical line at each tab stop position in the field. The lines are drawn in the field's borderColor. This property is useful for fields that are used like a spreadsheet, with each tab stop marking a column. Any text in a column is truncated when it reaches the right edge of the column. To show the entire contents of the column, drag over the text to select it. If text at the end of a line does not have a tab following it--that is, if it's the last column in the field--it is not truncated. If the field's tabStops property is set to empty, the vgrid lines are drawn every 32 pixels, but the text is not truncated to individual cells. However, despite having tabstops set, vGrid set to true, and seeing the actual vertical lines drawn just fine, I observe a different behavior with the text on both Mac OSX and Win32 platforms. Specifically, the text is NOT truncated, but simply continues to be rendered in addition to (overalpping) the text in the adjacent columns, creating an extremely messy presentation. Does anyone have any thoughts on how to produce the documented behavior? Thanks, Jon From jeff at siphonophore.com Fri Mar 3 14:06:15 2006 From: jeff at siphonophore.com (jeffrey reynolds) Date: Fri, 03 Mar 2006 14:06:15 -0500 Subject: XP Problems Persist... In-Reply-To: <20060303112302.91329825E01@mail.runrev.com> References: <20060303112302.91329825E01@mail.runrev.com> Message-ID: I have seen flash drives create two files when doing a os9 <> osx transfers between computers. one is a dummy file maybe containing the resource fork? they sometimes look pretty much the same, but one is functional. this varies with the drive and i think may be due to the drivers on the drive and how its handling the transfer. have never had the files come across corrupted though. jeff On Mar 3, 2006, at 6:23 AM, use-revolution-request at lists.runrev.com wrote: > Stephen, > > An interesting spotlight... we had, indeed, been going between his XP > machine, any semi-working OS 9 machine and my OS X laptop... > > Judy > > On Thu, 2 Mar 2006, Stephen Barncard wrote: > >> Especially had problems using a thumb drive between sys9 and 10. > From revolutionary.dan at gmail.com Fri Mar 3 14:33:21 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Fri, 3 Mar 2006 11:33:21 -0800 Subject: XP - Applescript equivalents In-Reply-To: <971E43E0-DEBF-4477-AA91-266CC3CAF703@mac.com> References: <45655089-2F69-4EB0-BF41-D335BE50BF4D@dsl.pipex.com> <971E43E0-DEBF-4477-AA91-266CC3CAF703@mac.com> Message-ID: <70ed6b130603031133u47a098aewb1efd46463c7aad4@mail.gmail.com> I don't have recent experience with it and I"m not even sure it's still supported, but back in the day when I had to worry about such things, I found Windows Scripting ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/scriptinga.asp) to be awfullyl nice and relatively usable. You can script from a Windows app using VBScript or JScript. Not sure how you'd embed or attach to a Rev app, but I suspect it's possible. On 3/3/06, Andre Garzia wrote: > > Richard and David, > > check to see if there are shell commands for that, easier then doing > C/C++ stuff... > > cheers > andre > > > On Mar 3, 2006, at 3:18 PM, David Burgun wrote: > > > Hi, > > > > The only way I can think to do this is to write External Commands > > that in C/C++ interface to the relevant Windows APIs and return the > > information to RunRev. > > > > All the Best > > Dave > > > > On 3 Mar 2006, at 11:53, Richard Miller wrote: > > > >> Our Rev program is Mac based. We want to run it under XP. We use > >> three Applescript-based functions in this program that need to be > >> replaced under XP. I'm looking for suggestions on how best to do > >> this. The three functions: > >> > >> - get the status of the internal battery (on a laptop) > >> - get the wireless strength (was airport status) > >> - switch wireless connection (was switch airport connection) > >> > >> I'm guessing there are DLL's to do this, but perhaps none already > >> compatible with Rev. I realize we can use non-Rev DLL's. Perhaps > >> that's the best option. I'd like to hear other opinions. > >> > >> Thanks. > >> Richard Miller > >> Imprinter Technologies > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From revolutionary.dan at gmail.com Fri Mar 3 14:34:36 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Fri, 3 Mar 2006 11:34:36 -0800 Subject: XP Problems Persist... In-Reply-To: References: <20060303112302.91329825E01@mail.runrev.com> Message-ID: <70ed6b130603031134q57e46161vd872f8be96b115db@mail.gmail.com> There's been a fair amount of chatter on various lists and boards I monitor about treating a thumb drive more like a remote drive than an attached drive in the sense that compressed files seem to go over to them much more cleanly and reliably than uncompressed files. The discussion here seems to bear that out. On 3/3/06, jeffrey reynolds wrote: > > I have seen flash drives create two files when doing a os9 <> osx > transfers between computers. one is a dummy file maybe containing the > resource fork? they sometimes look pretty much the same, but one is > functional. this varies with the drive and i think may be due to the > drivers on the drive and how its handling the transfer. have never > had the files come across corrupted though. > > jeff > > > On Mar 3, 2006, at 6:23 AM, use-revolution-request at lists.runrev.com > wrote: > > > Stephen, > > > > An interesting spotlight... we had, indeed, been going between his XP > > machine, any semi-working OS 9 machine and my OS X laptop... > > > > Judy > > > > On Thu, 2 Mar 2006, Stephen Barncard wrote: > > > >> Especially had problems using a thumb drive between sys9 and 10. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From jacque at hyperactivesw.com Fri Mar 3 14:49:17 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 Mar 2006 13:49:17 -0600 Subject: Player Problem in Rev 2.7 on Windows In-Reply-To: <0B63C783-A28E-4EE1-A00F-EA3DD7C5E9EB@buffalo.edu> References: <44054518.6060606@chipp.com> <0B63C783-A28E-4EE1-A00F-EA3DD7C5E9EB@buffalo.edu> Message-ID: <44089DBD.6040503@hyperactivesw.com> Timothy Bleiler wrote: > The problem > Player does not play video when the alwaysBuffer is true from the > controller. Keyboard message will start the player but the frame rate > is way below the setting. Yes, it's standard behavior, and in the docs. Players with alwaysBuffer set to true must be scripted to work, as the controller is not active in that case. To use the built-in controller, alwaysBuffer must be false. Setting it to true can also affect the playback rate. It isn't a bug, it is just how it works. There is more explanation in the dictionary entry for "alwaysBuffer". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri Mar 3 14:59:46 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 03 Mar 2006 11:59:46 -0800 Subject: Player Problem in Rev 2.7 on Windows In-Reply-To: <44089DBD.6040503@hyperactivesw.com> References: <44054518.6060606@chipp.com> <0B63C783-A28E-4EE1-A00F-EA3DD7C5E9EB@buffalo.edu> <44089DBD.6040503@hyperactivesw.com> Message-ID: <4408A032.4000506@fourthworld.com> J. Landman Gay wrote: > Timothy Bleiler wrote: > >> The problem >> Player does not play video when the alwaysBuffer is true from the >> controller. Keyboard message will start the player but the frame rate >> is way below the setting. > > Yes, it's standard behavior, and in the docs. Players with alwaysBuffer > set to true must be scripted to work, as the controller is not active in > that case. To use the built-in controller, alwaysBuffer must be false. > Setting it to true can also affect the playback rate. It isn't a bug, it > is just how it works. There is more explanation in the dictionary entry > for "alwaysBuffer". Why isn't the controller shown as disabled when the alwaysBuffer is true? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jonathandlynch at gmail.com Fri Mar 3 15:05:36 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 3 Mar 2006 15:05:36 -0500 Subject: Truncating text with vGrid property In-Reply-To: References: Message-ID: <31e1938c0603031205j68c105c6k2ed700b917a39aa3@mail.gmail.com> I have a pseudo field object. It is a group that contains rows and fields. It works very much like you would expect a table to work, allows for inserting columns and rows, easily moving columns and rows, etc... All the scripting and object involved can be a bit memory intensive, so if you need something for storing several megabytes of information, my table object would not work for you. However, if you need it as a user interface, it would probably work quite well. I use modified versions of this table object extensively throughout Task Mage. So, if you want it, just let me know and I will Email it to you. Take care, Jonathan On 3/3/06, Jon Seymour wrote: > > The Rev documentation states that > > If the vgrid property is true, Revolution draws a vertical line at > each tab stop position in the field. The lines are drawn in the > field's borderColor. This property is useful for fields that are used > like a spreadsheet, with each tab stop marking a column. > > Any text in a column is truncated when it reaches the right edge of > the column. To show the entire contents of the column, drag over the > text to select it. If text at the end of a line does not have a tab > following it--that is, if it's the last column in the field--it is > not truncated. > > If the field's tabStops property is set to empty, the vgrid lines are > drawn every 32 pixels, but the text is not truncated to individual > cells. > > > However, despite having tabstops set, vGrid set to true, and seeing > the actual vertical lines drawn just fine, I observe a different > behavior with the text on both Mac OSX and Win32 platforms. > Specifically, the text is NOT truncated, but simply continues to be > rendered in addition to (overalpping) the text in the adjacent > columns, creating an extremely messy presentation. Does anyone have > any thoughts on how to produce the documented behavior? > > Thanks, > > Jon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Fri Mar 3 15:11:25 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 03 Mar 2006 14:11:25 -0600 Subject: AltBrowser--wow. In-Reply-To: <705ECB13-67F3-4785-A76D-CEB8DA98B24A@adelphia.net> References: <20060303122055.C86647E432@xprdmxin.myway.com> <705ECB13-67F3-4785-A76D-CEB8DA98B24A@adelphia.net> Message-ID: <4408A2ED.70303@chipp.com> Tom and Tom, Thanks for the compliments on altBrowser. On rare occasion, we actually do listen to feedback from our users. (Chris finally bought me a battery for the hearing aid ;-) With the new altBrowser DEMO/Install stack, it's super easy for us to upgrade users with features and fixes as needed. We'll be sure and mention any significant ones on our website and RevCentral. Tom McCarthy, if you're interested in keeping up-to-date on the goings on of Rev 3rd party products, be sure and sign-up over at www.RevCentral.com for the RevCentral newsletter. There will be some new announcements there very shortly. As you can imagine, creating altBrowser2 was a lot of work. Comments like both of yours certainly help make it worthwhile :-) best, Chipp -------- For those of you who still have not taken a minute to tryout the altBrowser2 demo all you have to do is launch Revolution and and copy and paste the below script into your message box: go URL "http://www.gadgetplugins.com/altbrowser/altBrowserLauncher.rev" Thomas McGrath III wrote: > Anyway, bravo to Chipp and team on a superb product, definitely worth > the effort and you can't beat the price. > On Mar 3, 2006, at 7:20 AM, Thomas McCarthy wrote: >> Well, somebody over there was listening! Each and every one of those >> concerns has been so well addressed you wouldn't know it was the same >> product that caused me heart-burn. From jacque at hyperactivesw.com Fri Mar 3 15:16:41 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 Mar 2006 14:16:41 -0600 Subject: Player Problem in Rev 2.7 on Windows In-Reply-To: <4408A032.4000506@fourthworld.com> References: <44054518.6060606@chipp.com> <0B63C783-A28E-4EE1-A00F-EA3DD7C5E9EB@buffalo.edu> <44089DBD.6040503@hyperactivesw.com> <4408A032.4000506@fourthworld.com> Message-ID: <4408A429.4000503@hyperactivesw.com> Richard Gaskin wrote: > > Why isn't the controller shown as disabled when the alwaysBuffer is true? > Is that possible? I don't remember ever seeing a disabled controller. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Fri Mar 3 15:52:52 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 4 Mar 2006 06:52:52 +1000 Subject: Type a text from a palette stack to an external window In-Reply-To: References: Message-ID: > on 1-03-2006 14:06, Paul Claude at paulclaude at postino.it wrote: > > > There is a way to let Revolution (also via Applescript) may type a text on > > an external app window (i.e. a text editor)? > > > > I've tried using various AS tips to bring the ext. window to the frontmost, > > but every time the focus remains on the stack (a systemWindow style > > palette), and typing give back only an error sound. This is the correct behavior for a window set to systemWindow style - it will always stay at the front. Try making it a normal palette but not setting it to systemWindow. HTH, Sarah From effendi at wanadoo.fr Fri Mar 3 16:36:11 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 3 Mar 2006 22:36:11 +0100 Subject: Do you want to save changes to this stack ..... ? Message-ID: <8f279064c046e8f31b15c70671fddefd@wanadoo.fr> Ch?re Jacqueline (as they would say here !), You have answered most of my questions. Most of my finished stacks will be run (by collegues) on a PC, under the PC Rev Engine, so if I take control of saving, I can forget about automatic saving, as it happens on my Mac. Now I know more about what constitutes a "change" and to who ? Now I know that I must control the save, and when the stack is run under Rev Engine (PC) or Stack Runner (Mac) , I won't get a save request. I still don't understand how "SaveStackRequest" works, but that also is no longer important, based upon previous answers. Many Thanks. -Francis From stephenmcnutt at mac.com Fri Mar 3 17:23:37 2006 From: stephenmcnutt at mac.com (Stephen McNutt) Date: Fri, 3 Mar 2006 17:23:37 -0500 Subject: Common Causes of Crashes Message-ID: <725B8A37-69D1-4CD5-A983-B963075C15E5@mac.com> I've got a stack I've been working on for years, but it started crashing recently. What are some common causes of crashing I can look for in my troubleshooting? From jperryl at ecs.fullerton.edu Fri Mar 3 17:25:54 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 3 Mar 2006 14:25:54 -0800 (PST) Subject: How to change the label of a button to the contents of an editable field? In-Reply-To: Message-ID: William, Oh, okay. I always take the idiot's way out ;-) Judy On Fri, 3 Mar 2006, William de Smet wrote: > I am working on a standalone application where the user need to change this. > So without RR! From jperryl at ecs.fullerton.edu Fri Mar 3 17:28:43 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 3 Mar 2006 14:28:43 -0800 (PST) Subject: XP Problems Persist... In-Reply-To: Message-ID: Jeff, Actually, we saw this happen when doing an osx <> XP transfer. The one was the 'regular' file that we couldn't open, the other was identical except that the file name had I think it was a leading _ or_. attached. Neither was functional :-( Thanks, though! Judy On Fri, 3 Mar 2006, jeffrey reynolds wrote: > I have seen flash drives create two files when doing a os9 <> osx > transfers between computers. one is a dummy file maybe containing the > resource fork? they sometimes look pretty much the same, but one is > functional. this varies with the drive and i think may be due to the > drivers on the drive and how its handling the transfer. have never > had the files come across corrupted though. From Stgoldberg at aol.com Fri Mar 3 17:55:05 2006 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Fri, 3 Mar 2006 17:55:05 EST Subject: Cursor not showing up in standalone Message-ID: I hope this is a simple matter and I'm just overlooking the obvious: I'd like the cursor to change to a magnifying glass when the mouse is down, so I've written: on mouseDown set cursor to 378 set lockcursor true end mouseDown This works fine before the standalone. But after the standalone, the cursor does not show up either on the Mac or Windows version (I'm developing on a Mac OS X). I've also checked off "Select inclusions for the standalone application" and "Cursors" in the General Standalone Application Settings. Am I missing something? Thanks very much. Steve Goldberg From chipp at chipp.com Fri Mar 3 18:05:30 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 03 Mar 2006 17:05:30 -0600 Subject: Cursor not showing up in standalone In-Reply-To: References: Message-ID: <4408CBBA.8030808@chipp.com> Hi Steve, I manually copy the cursor to my stacks and assign it an ID I know won't conflict. Then I do: set cursor to the id of img "magGlass" hth, chipp Stgoldberg at aol.com wrote: >I hope this is a simple matter and I'm just overlooking the obvious: I'd like >the cursor to change to a magnifying glass when the mouse is down, so I've >written: > >on mouseDown >set cursor to 378 >set lockcursor true >end mouseDown > >This works fine before the standalone. But after the standalone, the cursor >does not show up either on the Mac or Windows version (I'm developing on a >Mac OS X). I've also checked off "Select inclusions for the standalone >application" and "Cursors" in the General Standalone Application Settings. Am I >missing something? Thanks very much. >Steve Goldberg >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > -- -------------- Chipp Walters www.altuit.com From sarah.reichelt at gmail.com Fri Mar 3 18:05:53 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 4 Mar 2006 09:05:53 +1000 Subject: Common Causes of Crashes In-Reply-To: <725B8A37-69D1-4CD5-A983-B963075C15E5@mac.com> References: <725B8A37-69D1-4CD5-A983-B963075C15E5@mac.com> Message-ID: On 3/4/06, Stephen McNutt wrote: > I've got a stack I've been working on for years, but it started > crashing recently. What are some common causes of crashing I can > look for in my troubleshooting? There have been cases were an imported image has got corrupt and can cause trouble. Does your stack contain any images? If so, make a backup and try deleting them and see if it fixes it. Then add them back in and try to isolate the one with the problem. HTH, Sarah From europe at ehug.info Fri Mar 3 18:07:19 2006 From: europe at ehug.info (Mark Schonewille) Date: Sat, 04 Mar 2006 00:07:19 +0100 Subject: Truncating text with vGrid property In-Reply-To: References: Message-ID: <4408CC27.7010800@ehug.info> Hi John, Have you set the cell editing of the table to true? I.e. cRevTable["celledit"] = true? If so, the text should be truncated. Best, Mark Jon Seymour wrote: > The Rev documentation states that > > If the vgrid property is true, Revolution draws a vertical line at > each tab stop position in the field. The lines are drawn in the field's > borderColor. This property is useful for fields that are used like a > spreadsheet, with each tab stop marking a column. > Specifically, the > text is NOT truncated, but simply continues to be rendered in addition > to (overalpping) the text in the adjacent columns, creating an > extremely messy presentation. Does anyone have any thoughts on how to > produce the documented behavior? > > Thanks, > > Jon -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From revolution at jaedworks.com Fri Mar 3 18:07:37 2006 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 3 Mar 2006 15:07:37 -0800 Subject: First color, second color third color, etc In-Reply-To: <129.6eec342e.31398e51@aol.com> References: <129.6eec342e.31398e51@aol.com> Message-ID: At 7:19 AM -0500 3/3/2006, Stgoldberg at aol.com wrote: >I have been puzzled by the color feature in the object inspector for some of >the objects (e.g. images) which list the options of "First color, second >color, third color etc." What does this do? If I check off a color, nothing >happens and the option disappears on leaving the object inspector. Perhaps >someone can clarify this. Thanks. The short answer is that for images, the foregroundColor (aka firstColor), backgroundColor (aka secondColor), and the other six colors aren't especially useful and should probably be ignored. (They are the first eight colors in the image's color palette, and may very well not be used *in* the image to begin with.) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From sarah.reichelt at gmail.com Fri Mar 3 18:10:48 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 4 Mar 2006 09:10:48 +1000 Subject: Truncating text with vGrid property In-Reply-To: <4408CC27.7010800@ehug.info> References: <4408CC27.7010800@ehug.info> Message-ID: > Jon Seymour wrote: > > The Rev documentation states that > > > > If the vgrid property is true, Revolution draws a vertical line at > > each tab stop position in the field. The lines are drawn in the field's > > borderColor. This property is useful for fields that are used like a > > spreadsheet, with each tab stop marking a column. > > > > > Specifically, the > > text is NOT truncated, but simply continues to be rendered in addition > > to (overalpping) the text in the adjacent columns, creating an > > extremely messy presentation. Does anyone have any thoughts on how to > > produce the documented behavior? > > I have found that the text is only truncated if there is some next in the next column. If this is your problem, you may want to fill empty columns in each line with a space so as to fool the system into thinking there is text there. Cheers, Sarah From europe at ehug.info Fri Mar 3 18:16:27 2006 From: europe at ehug.info (Mark Schonewille) Date: Sat, 04 Mar 2006 00:16:27 +0100 Subject: Truncating text with vGrid property In-Reply-To: <4408CC27.7010800@ehug.info> References: <4408CC27.7010800@ehug.info> Message-ID: <4408CE4B.8080507@ehug.info> Jon, Sorry, my previous post was incomplete. Have you set the cell editing of the table to true? I.e. cRevTable["celledit"] = true? If so, the text should be truncated. Additionally, you seem to have to set the locktext to true to have the columns truncated, but it only works after you edit the text and then not always/immediately. Best, Mark > Jon Seymour wrote: > >> The Rev documentation states that >> >> If the vgrid property is true, Revolution draws a vertical line at >> each tab stop position in the field. The lines are drawn in the >> field's borderColor. This property is useful for fields that are used >> like a spreadsheet, with each tab stop marking a column. >> > > > Specifically, the >> text is NOT truncated, but simply continues to be rendered in >> addition to (overalpping) the text in the adjacent columns, creating >> an extremely messy presentation. Does anyone have any thoughts on how >> to produce the documented behavior? >> >> Thanks, >> >> Jon > > -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From bridgeyman at gmail.com Fri Mar 3 19:38:12 2006 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Fri, 3 Mar 2006 17:38:12 -0700 Subject: It Variable Message-ID: <86ae76bb0603031638v5b3c12bbpc04714c0a5a33dc0@mail.gmail.com> I just made a giant switch from Hypercard to Revolution. In Hypercard networking we used "request thedata from program theComputer" to request data from across an appletalk network. In Revolution this didn't work anymore so we made a new command, "Netrequest" that serves the same function. "netrequest thedata,theComputer" The problem is that in Hypercard put the data into the it variable when it is done. Without changing the script in the card where it initiates the netrequest command (such as in the card or a button), can I add something the to stack script where the command is contained so it puts the result into the it variable? TTFN Bridgeyman From sarah.reichelt at gmail.com Fri Mar 3 20:21:41 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 4 Mar 2006 11:21:41 +1000 Subject: It Variable In-Reply-To: <86ae76bb0603031638v5b3c12bbpc04714c0a5a33dc0@mail.gmail.com> References: <86ae76bb0603031638v5b3c12bbpc04714c0a5a33dc0@mail.gmail.com> Message-ID: On 3/4/06, Bridger Maxwell wrote: > I just made a giant switch from Hypercard to Revolution. In Hypercard > networking we used "request thedata from program theComputer" to request > data from across an appletalk network. In Revolution this didn't work > anymore so we made a new command, "Netrequest" that serves the same > function. "netrequest thedata,theComputer" The problem is that in > Hypercard put the data into the it variable when it is done. Without > changing the script in the card where it initiates the netrequest command > (such as in the card or a button), can I add something the to stack script > where the command is contained so it puts the result into the it variable? netrequest thedata,theComputer get the result -- "it" will now contain whatever was returned from the netrequest handler. HTH, Sarah From stephenREVOLUTION at barncard.com Fri Mar 3 20:37:24 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 3 Mar 2006 17:37:24 -0800 Subject: Common Causes of Crashes In-Reply-To: <725B8A37-69D1-4CD5-A983-B963075C15E5@mac.com> References: <725B8A37-69D1-4CD5-A983-B963075C15E5@mac.com> Message-ID: It happened to me when cutting, editing or pasting text in a field. Randomly. Only one time did I get a MacOS Error dialog - so before sending it to Apple (where do all those crash reports go) I copied it and created a text file with the info, and went to bugzilla and reported the crash and the report. Just got this in the mail today... so they're working on it... Subject: [Bug 3359] Mysterious random Crash - LOG available on the net http://support.runrev.com/bugdatabase/show_bug.cgi?id=3359 marcus at runrev.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW everconfirmed|0 |1 ------- Additional Comments From marcus 2006-03-03 07:45 ------- Hello, Thank you for your bug report, your bug has been confirmed. Regards >I've got a stack I've been working on for years, but it started >crashing recently. What are some common causes of crashing I can >look for in my troubleshooting? -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From bridgeyman at gmail.com Fri Mar 3 20:46:26 2006 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Fri, 3 Mar 2006 18:46:26 -0700 Subject: It Variable In-Reply-To: References: <86ae76bb0603031638v5b3c12bbpc04714c0a5a33dc0@mail.gmail.com> Message-ID: <86ae76bb0603031746k7998124exe0d0a60a56fdfd8e@mail.gmail.com> Hey, Thanks for your responses, but they don't quite work for my particular case. Putting get the result below the line where I call for the netrequest will work, but it would be extremely difficult to do because it is located in odd places all over in more than 40 stacks. Right now I am thinking of making a stack that will do it for me, but I was hoping there was an easier way. On 3/3/06, Sarah Reichelt wrote: > > On 3/4/06, Bridger Maxwell wrote: > > I just made a giant switch from Hypercard to Revolution. In Hypercard > > networking we used "request thedata from program theComputer" to request > > data from across an appletalk network. In Revolution this didn't work > > anymore so we made a new command, "Netrequest" that serves the same > > function. "netrequest thedata,theComputer" The problem is that in > > Hypercard put the data into the it variable when it is done. Without > > changing the script in the card where it initiates the netrequest > command > > (such as in the card or a button), can I add something the to stack > script > > where the command is contained so it puts the result into the it > variable? > > > netrequest thedata,theComputer > get the result > -- "it" will now contain whatever was returned from the netrequest > handler. > > HTH, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Fri Mar 3 21:16:36 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 Mar 2006 20:16:36 -0600 Subject: Cursor not showing up in standalone In-Reply-To: References: Message-ID: <4408F884.8060505@hyperactivesw.com> Stgoldberg at aol.com wrote: > I hope this is a simple matter and I'm just overlooking the obvious: I'd like > the cursor to change to a magnifying glass when the mouse is down, so I've > written: > > on mouseDown > set cursor to 378 > set lockcursor true > end mouseDown > > This works fine before the standalone. But after the standalone, the cursor > does not show up either on the Mac or Windows version (I'm developing on a > Mac OS X). I've also checked off "Select inclusions for the standalone > application" and "Cursors" in the General Standalone Application Settings. Am I > missing something? Thanks very much. This sounds like the same bug in the standalone builder that prevented copying externals to a standalone. It's been fixed for the next update. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gandalf at doctorTimothyMiller.com Fri Mar 3 21:46:28 2006 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 3 Mar 2006 18:46:28 -0800 Subject: The End of Dreamcard? Message-ID: At 3:08 PM +0000 3/3/06, Runtime Revolution Ltd wrote: >We wrote to you previously to let you know that with the release of >2.7, Runtime Revolution is no longer selling Dreamcard to new >customers. Derrr... Sorry, I just don't get it. Three possibilities occur to me. --the Product Previously Known as Dreamcard is getting a new name and a makeover. --There is going to be some change in the upgrade path, so that Dreamcard users are going to have to purchase new licenses at some point. --Runtime Revolution has decided not to sell the stripped down version of their flagship product anymore, so Dreamcard is being discontinued. Users who want to continue playing will have to upgrade to Revolution Studio. The website seems to suggest the latter interpretation. But then again, it seems possible that Dreamcard has been renamed "Revolution Media." I'm wondering if RR has decided to abandon the nonprofessional self-taught end users like me -- the kind of people who taught themselves hyperCard 20 years ago. Maybe there are too few of us to make the product commercially viable. Anyway, somebody please clue me. Tim From jswitte at bloomington.in.us Fri Mar 3 21:47:05 2006 From: jswitte at bloomington.in.us (Jim Witte) Date: Fri, 3 Mar 2006 21:47:05 -0500 Subject: It Variable In-Reply-To: <86ae76bb0603031746k7998124exe0d0a60a56fdfd8e@mail.gmail.com> References: <86ae76bb0603031638v5b3c12bbpc04714c0a5a33dc0@mail.gmail.com> <86ae76bb0603031746k7998124exe0d0a60a56fdfd8e@mail.gmail.com> Message-ID: Putting 'get the result' at the end of the netrequest handler should do, unless something else disrupts the 'it' variable after the call to netrequest. I just hacked up this set of card/button scripts which work: -- card script on netrequest tData, tComp return "this" && tData && tComp get the result -- place the result in it end netrequest -- btn script on mouseup netrequest "some data", "some computer" --get the result -- placed in the script in card script instead answer it end mouseup Jim > case. Putting get the result below the line where I call for the > netrequest > will work, but it would be extremely difficult to do because it is > located > in odd places all over in more than 40 stacks. Right now I am > thinking of > making a stack that will do it for me, but I was hoping there was > an easier > way. > > On 3/3/06, Sarah Reichelt wrote: >> >> On 3/4/06, Bridger Maxwell wrote: >>> I just made a giant switch from Hypercard to Revolution. In >>> Hypercard >>> networking we used "request thedata from program theComputer" to >>> request >>> data from across an appletalk network. In Revolution this didn't >>> work >>> anymore so we made a new command, "Netrequest" that serves the same >>> function. "netrequest thedata,theComputer" The problem is that in >>> Hypercard put the data into the it variable when it is done. >>> Without >>> changing the script in the card where it initiates the netrequest >> command >>> (such as in the card or a button), can I add something the to stack >> script >>> where the command is contained so it puts the result into the it >> variable? >> >> >> netrequest thedata,theComputer >> get the result >> -- "it" will now contain whatever was returned from the netrequest >> handler. >> >> HTH, >> Sarah >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From katir at hindu.org Fri Mar 3 21:48:19 2006 From: katir at hindu.org (Sivakatirswami) Date: Fri, 3 Mar 2006 16:48:19 -1000 Subject: Read from StnIn from POST is still broken? Message-ID: <4C75D513-0510-4D8B-B0F5-158C1D6E1884@hindu.org> This is a really old problem: Rev CGI scripts are truncating data piped from Apache from a POST.... Does anyone know for "positively absolutely" sure that new version of rev has over come this issue? context: Linux web server, Apache, call Rev CGI to receive incoming Post Data. Beginning lines of script to read the incoming data -- see below (suggested as a possible fix years ago by Scott Raney) (musings... it is possible that this is a client side problem? --machine A with browser B cannot in fact encode large chunks of data and the name=value pair actually arrive to the server already truncated.. meanwhile -- box C with browser D submits a large text chunk from the same form and it arrive just fine: result Rev get blamed for being intermittent failures... but he's really not the bad guy. on startup if $REQUEST_METHOD is "POST" then put "" into PostIn repeat until length(PostIn) >= $CONTENT_LENGTH read from stdin until "" put it after PostIn end repeat put urlDecode (PostIn) into tDataIn split tDataIn by "&" and "=" put keys(tDataIn) into tFields .....etc. if one of the incoming name pairs contains too much data, it is truncated. You can stress test this yourself: go to: http://www.himalayanacademy.com/teaching/stories/ and scroll down to the end of the list...the last "story is a submission with a large text chunk pasted into the main field. The full cgi is here: http://www.himalayanacademy.com/teaching/stories/incoming_stories.txt Sivakatirswami From jswitte at bloomington.in.us Fri Mar 3 23:05:34 2006 From: jswitte at bloomington.in.us (Jim Witte) Date: Fri, 3 Mar 2006 23:05:34 -0500 Subject: How to identify numbers in a RegEx Message-ID: <87C2CA78-C1DB-4B48-B15B-7CFFFC1BC39A@bloomington.in.us> Why doesn't this script return true? get "0" get matchText(tLine, "[0-9]") answer it Jim From mikeythek at gmail.com Fri Mar 3 23:10:03 2006 From: mikeythek at gmail.com (Mikey) Date: Fri, 3 Mar 2006 23:10:03 -0500 Subject: The End of Dreamcard? In-Reply-To: References: Message-ID: <9b408d8e0603032010m2b1ef700v1cb3a03a3b1e3097@mail.gmail.com> > I'm wondering if RR has decided to abandon the nonprofessional > self-taught end users like me -- the kind of people who taught > themselves hyperCard 20 years ago. Maybe there are too few of us to > make the product commercially viable. hey, Hey, HEY! It wasn't 20 years ago. Stop making me older than what I am. First of all it was...oh crap. It was...18 years ago?! Oh boy. Second of all, I still have a production system running in HC, so don't be hating on HC. Also, I've exchanged emails with the RR folks, and my impression from those is that Media is going to be a DC analog...unless I don't understand Queen's English... -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jperryl at ecs.fullerton.edu Fri Mar 3 23:26:03 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 3 Mar 2006 20:26:03 -0800 (PST) Subject: The End of Dreamcard? In-Reply-To: Message-ID: Timothy, I really don't think so. While I've not seen it yet, I suspect that Media will hopefully meet the needs of the Dreamcard audience. Perhaps others can chime in with more specifics? My understanding is that it will be including some of the very things many of us former Hypercard using/non-programmer people have been asking for. Judy On Fri, 3 Mar 2006, Timothy Miller wrote: > > I'm wondering if RR has decided to abandon the nonprofessional > self-taught end users like me -- the kind of people who taught > themselves hyperCard 20 years ago. Maybe there are too few of us to > make the product commercially viable. From ambassador at fourthworld.com Fri Mar 3 23:58:40 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 03 Mar 2006 20:58:40 -0800 Subject: The End of Dreamcard? In-Reply-To: References: Message-ID: <44091E80.6000902@fourthworld.com> Judy Perry wrote: > I really don't think so. While I've not seen it yet, I suspect that Media > will hopefully meet the needs of the Dreamcard audience. > > Perhaps others can chime in with more specifics? My understanding is > that it will be including some of the very things many of us former > Hypercard using/non-programmer people have been asking for. According to - Minus: Media has a backdrop that's always present Plus: Media includes templates Plus for Media, Minus for everything else: If you pay $299 for Studio or $899 for Enterprise you don't get the templates included in the $49 Media product. :\ -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bridgeyman at gmail.com Sat Mar 4 00:08:00 2006 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Fri, 3 Mar 2006 22:08:00 -0700 Subject: Locking Messages Message-ID: <86ae76bb0603032108k2781f65bq9ce75fc5eae55a6e@mail.gmail.com> Hey, It is me again. I have a stack (Which I will call Stack 1) that makes another stack (I will call it Stack 2), copies a card from some other stack running in the background (which I call Stack 3) and sends the new stack with the copied card all over the network where it is added to whatever stack sees it. The problem is that sometimes the card on Stack 2 has unexpected handler in it that cause random errors when I am working with it. I realize I can lock the messages, but that locks the messages for the Stack 1 also, which I cannot do. Is there any way of keeping messages from being passed to Stack 2, without locking the messages from Stack 1? TTFN Bridgeyman From stephenREVOLUTION at barncard.com Sat Mar 4 01:18:11 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 3 Mar 2006 22:18:11 -0800 Subject: How to identify numbers in a RegEx In-Reply-To: <87C2CA78-C1DB-4B48-B15B-7CFFFC1BC39A@bloomington.in.us> References: <87C2CA78-C1DB-4B48-B15B-7CFFFC1BC39A@bloomington.in.us> Message-ID: it's going to answer whatever is in it, in this case 0 did you mean get "0" get matchText(it, "[0-9]") answer it >Why doesn't this script return true? > >get "0" >get matchText(tLine, "[0-9]") >answer it > >Jim -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From mcdomi at free.fr Sat Mar 4 04:31:44 2006 From: mcdomi at free.fr (Dom) Date: Sat, 4 Mar 2006 10:31:44 +0100 Subject: The End of Dreamcard? In-Reply-To: Message-ID: <1hbo7nu.120dqo4wu7uhoM%mcdomi@free.fr> Judy Perry wrote: > My understanding is that it will be including some of the very things many > of us former Hypercard using/non-programmer people have been asking for. Eventually, a successor for HyperCard? Me too, as a DreamCard user (and former HyperCard then MetaCard user) I was sent areminder from Revolution -- and I wonder was to do... Also, I don't understand the purpose of "or update your Dreamcard license for one more year." since there is NO more update! From mcdomi at free.fr Sat Mar 4 04:34:48 2006 From: mcdomi at free.fr (Dom) Date: Sat, 4 Mar 2006 10:34:48 +0100 Subject: The End of Dreamcard? In-Reply-To: <9b408d8e0603032010m2b1ef700v1cb3a03a3b1e3097@mail.gmail.com> Message-ID: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> Mikey wrote: > hey, Hey, HEY! It wasn't 20 years ago. 1986 > 2006 ? From psahores at easynet.fr Sat Mar 4 04:39:05 2006 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 4 Mar 2006 10:39:05 +0100 Subject: Read from StnIn from POST is still broken? In-Reply-To: <4C75D513-0510-4D8B-B0F5-158C1D6E1884@hindu.org> References: <4C75D513-0510-4D8B-B0F5-158C1D6E1884@hindu.org> Message-ID: <7DF7C146-F1CA-4F40-B916-9DD46E810782@easynet.fr> Hello Katir, I did'nt have the opportunity to test this for a while but what works 100% fine (we went spoken about before if i right remember) is to stick a PHP sockets listener in front of your Rev CGI script or Rev backgrounder stack based app. A very reliable way to do Rev able to support very heavy write-mode transactions traffic. After height years in using this design, i never had a socket brokken in only one of my running production's apps. At this time, i just know that 800 connections/second is the top-stressed level one of my apps has sometime to support and, in this situation, all worked always as expected without any "accident" (Athlon XP Pro 800, 1Go RAM, Suse- Linux from september 2000 to september 20005 - Mac OS X 10.3.9, 1Go Ram, G4 box since september 2005). See as a reminder of the second way to go, the "paper" and downloadable example app at , my little xDSL test and home mac mini server. Kind Regards, Pierre Le 4 mars 06 ? 03:48, Sivakatirswami a ?crit : > This is a really old problem: Rev CGI scripts are truncating data > piped from Apache from a POST.... > > Does anyone know for "positively absolutely" sure that new version > of rev has over come this issue? > > context: > > Linux web server, Apache, call Rev CGI to receive incoming Post > Data. Beginning lines of script to read the incoming data -- see > below (suggested as a possible fix years ago by Scott Raney) > > (musings... it is possible that this is a client side problem? > --machine A with browser B cannot in fact encode large chunks of > data and the name=value pair actually arrive to the server already > truncated.. meanwhile > -- box C with browser D submits a large text chunk from the same > form and it arrive just fine: result Rev get blamed for being > intermittent failures... but he's really not the bad guy. > > on startup > if $REQUEST_METHOD is "POST" then > put "" into PostIn > repeat until length(PostIn) >= $CONTENT_LENGTH > read from stdin until "" > put it after PostIn > end repeat > put urlDecode (PostIn) into tDataIn > > split tDataIn by "&" and "=" > put keys(tDataIn) into tFields > > .....etc. > > if one of the incoming name pairs contains too much data, it is > truncated. > > You can stress test this yourself: go to: > > http://www.himalayanacademy.com/teaching/stories/ > > and scroll down to the end of the list...the last "story is a > submission with a large text chunk pasted into the main field. > > The full cgi is here: > > http://www.himalayanacademy.com/teaching/stories/incoming_stories.txt > > Sivakatirswami > > > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From mikeythek at gmail.com Sat Mar 4 05:05:27 2006 From: mikeythek at gmail.com (Mikey) Date: Sat, 4 Mar 2006 05:05:27 -0500 Subject: The End of Dreamcard? In-Reply-To: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> References: <9b408d8e0603032010m2b1ef700v1cb3a03a3b1e3097@mail.gmail.com> <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> Message-ID: <9b408d8e0603040205q73a32207yfe89a26cba3f5d7a@mail.gmail.com> > 1986 > 2006 Wait...HC was '86? I thought it was 88. Yikes I'm old. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From samc-_- at hotmail.com Sat Mar 4 05:11:34 2006 From: samc-_- at hotmail.com (Samuco Med) Date: Sat, 04 Mar 2006 20:11:34 +1000 Subject: STOP EMAILING ME! In-Reply-To: <9b408d8e0603040205q73a32207yfe89a26cba3f5d7a@mail.gmail.com> Message-ID: STOP EMAILING ME! _________________________________________________________________ Search for local singles online @ Lavalife - Click here http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D21550&_t=21550&_r=endtext&_m=EXT From scott at proherp.com Sat Mar 4 05:13:36 2006 From: scott at proherp.com (Scott Kane) Date: Sat, 4 Mar 2006 21:13:36 +1100 Subject: STOP EMAILING ME! In-Reply-To: Message-ID: <000901c63f74$4ee7d410$0201010a@royalnexus> > STOP EMAILING ME! Take a look at the bottom of this message and you will find instructions to remove yourself from the list - which you signed on for - so simple even a complete dope can do it... Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 3/03/2006 From Andre.Bisseret at inria.fr Sat Mar 4 05:44:57 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q?Andr=E9.Bisseret?=) Date: Sat, 4 Mar 2006 11:44:57 +0100 Subject: resizable stack with Mac unresizable with Windows In-Reply-To: <440859FD.8040704@ehug.info> Message-ID: Thanks a lot Mark, I set the decorations to "default". I will have it tried next week by colleagues (infortunately, I havn't a PC myself). I should catch a glance to BugZilla more often :-)) Best regards Andr? Le Friday, 3 Mar 2006, ? 16:00 Europe/Paris, Mark Schonewille a ?crit : > Hi Andr?, > > I didn't test this in 2.7, but in earlier versions there used to be a > problem that involved changing the decorations and affected the > resizable of the stack on all Windows platforms. This is a Revolution > bug that has already been reported to BugZilla: > > > > Since you're including all default decorations plus metal while there > is no metal on Windows available, why don't you set the decorations to > "default"? That should "solve" your problem. > > Best, > > Mark > > > Andr?.Bisseret wrote: >> Hi ! >> I have a stack whose resizable property is set to true. >> I used the geometry manager to set position or scale of all the >> objects for which it was necessary (thanks to the very clear tutorial >> from ?ric Chatonet (So Smart Software), and the demo he recommends >> from Chipp Walters, from Altuit. >> The decorations are : Title, menu, minimize, maximize, close, metal. >> Live Resizing is set to false >> All is working very well on my Mac (G4, OS X, 10.2.8). >> But on Windows (2000 or XP) the stack is not resizable (no button in >> the bottom right corner). >> Well, I suppose I could work around that by covering the normal >> "internal" button (that appears with Mac) by another one including >> the script proposed by ?ric Chatonet in his tutorial and which runs >> very well. (I hope it would not disappear on Windows system !!! >> :-))). >> But, frankly, I would prefer a more regular "internal" solution ;-) >> Any help would be very much appreciate >> Best regards from Grenoble >> Andr? > > -- > > Consultant and Software Engineer > mailto:m.schonewille at economy-x-talk.com > http://www.economy-x-talk.com > > eHUG coordinator > mailto:europe at ehug.info > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > ------------------------------------------------------------------------ -------------------------- Andr? Bisseret Directeur de recherche ?m?rite Adresse : 140 rue E. B?thoux - 38220 Vizille T?l. : 04 76 68 15 24 Courriel : Andre.Bisseret at inria.fr et : bisseret at andre-bisseret.com site Multifiches :http://www-clips.imag.fr/multicom/web_site_multicom/Multifiches/ site peinture : http://www.andre-bisseret.com/ From charles.hartman at conncoll.edu Sat Mar 4 08:15:27 2006 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 4 Mar 2006 08:15:27 -0500 Subject: The End of Dreamcard? In-Reply-To: <44091E80.6000902@fourthworld.com> References: <44091E80.6000902@fourthworld.com> Message-ID: On Mar 3, 2006, at 11:58 PM, Richard Gaskin wrote: > Minus: Media has a backdrop that's always present Right. There's the point. When you buy something like Hypercard, or Dreamcard, you're buying a GUI builder and programming lanuage. But a GUI builder and programming language in which you can't control the screen even to the extent of getting rid of a backdrop sounds to me like a parameterized PowerPoint. The feature-comparison page on the web site (Media can't connect even to a mySQL database, can't do CGI, but has nice "templates" for people who don't want to program anything) says pretty plainly that Media is no replacement for Dreamcard. I have asked the same question about updates -- $50, by March 10, for a terminal year of updates to a program nobody's going to support after that? -- but not gotten an answer yet. The main answer seems loud and clear: we're supposed to shift to Studio. Charles From Andre.Bisseret at inria.fr Sat Mar 4 08:22:10 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q?Andr=E9.Bisseret?=) Date: Sat, 4 Mar 2006 14:22:10 +0100 Subject: on Windows parts of text printed repeatedly instead of once Message-ID: Hi ! In the app. I am developping, each card includes several fields (author, title, texte, r?f?rences). In a printing procedure I wrote a function (formatfldToPrint) that picks the texts of these fields (with their htmlText) and arranges them as a single document in a hidden field ? fldToPrint ? (not all with the same font and size). Thanks to the Dan Schafer? SmartEBook on printing I have improved my first draft and the following script is working very well now on Mac : on imprimer set the cursor to watch formatfldToPrint set the printmargins to 72,25,25,50 revShowPrintDialog true,true put tab & "Page " & "<%pageNumber%>" into footer revPrintText (the htmlText of fld "fldToPrint"),,footer reset cursors end imprimer But I got problems when testing on Windows. I hope I will solve several of them thanks to insights I collected on the Mail Archive, but I did not find anything on the following problem : For a document that is printed on 2 pages with Mac, I get 7 pages with Windows. With Windows, the text is repeated something like 5 times. Not sure I will be enough clear because it is difficult to explain (especially with my english, not really fluent :-((, but well, I am doing my best :-)) On the first two pages, the text is printed only up to a certain line (near the end of the text) then, reprinted, but starting from a certain line in the middle of the text up to the end, then, again, reprinted from another line in the middle of the text up to the end, etc (4 times). Moreover, on the first page, last line is crunched and on the second page the first one is also crunched ; it is the same line (same content) that appears as if it has been cut in two slices( in length), the upper slice printed at the bottom of page one (juste before the footer) the inferior slice printed at the top of page 2. This slicing does not appear again on the following pages (3 to 7) that begin and end normally. I cant imagine why such repetitions are occuring ?? I would much appreciate if someone could help me understand this phenomenon ? (and of course better along with a suggested solution :-). Best regards from Grenoble Andr? From stephenREVOLUTION at barncard.com Sat Mar 4 10:08:44 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sat, 4 Mar 2006 07:08:44 -0800 Subject: The End of Dreamcard? In-Reply-To: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> Message-ID: Close. 19 years ago. I remember it came in the box with the new SE20 for A&M studios. I was attempting to build an app with Z-Basic at the time, and not getting anywhere...then discovering this thing...... what's this... some kind of add-in hardware card? ha ha From Wikipedia: HyperCard was created by Bill Atkinson and initially released in August 1987, with the understanding that Atkinson would give HyperCard to Apple only if they promised to release it for free on all Macs. Apple timed its release to coincide with the MacWorld Conference & Expo in Boston, Massachusetts to guarantee maximum publicity. HyperCard was a huge hit almost instantly. Many people who thought they would never be able to program a computer started using HyperCard for all sorts of automation and prototyping tasks, a surprise even to its creator. Apple itself never seemed to understand what HyperCard was. Management saw that it was being used by a huge number of people, internally and externally, and bug reports and upgrade suggestions continued to flow in demonstrating it had a wide variety of users. However it was also free, which made it difficult to justify dedicating engineering resources to improving it. Unwilling, or unable, to see that HyperCard was making the Macintosh platform, as a whole, much more interesting to the market, management let it languish. >Mikey wrote: > >> hey, Hey, HEY! It wasn't 20 years ago. > >1986 > 2006 > >? > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From lfredricks at proactive-intl.com Sat Mar 4 10:56:55 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 4 Mar 2006 07:56:55 -0800 Subject: The End of Dreamcard? In-Reply-To: <1hbo7nu.120dqo4wu7uhoM%mcdomi@free.fr> Message-ID: <20060304155659.1E6017F03B@spatula.dreamhost.com> > Me too, as a DreamCard user (and former HyperCard then > MetaCard user) I was sent areminder from Revolution -- and I > wonder was to do... > > Also, I don't understand the purpose of "or update your > Dreamcard license for one more year." since there is NO more update! If you update DreamCard now, you will get engine updates for the length of that update period. A lot of what makes Revolution what it is, is in the engine. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.com -Software Destinations http://www.proactive-intl.com/blogs/ From rcozens at pon.net Sat Mar 4 11:10:05 2006 From: rcozens at pon.net (Rob Cozens) Date: Sat, 4 Mar 2006 08:10:05 -0800 Subject: Locking Messages In-Reply-To: <86ae76bb0603032108k2781f65bq9ce75fc5eae55a6e@mail.gmail.com> References: <86ae76bb0603032108k2781f65bq9ce75fc5eae55a6e@mail.gmail.com> Message-ID: <57B2D9BC-AB99-11DA-BB8D-0030657E1638@pon.net> Hi Bridger, > I have a stack (Which I will call Stack 1) that > makes another stack (I will call it Stack 2), copies a card from some > other stack running in the background (which I call Stack 3) and sends > the new stack with the copied card all over the network where it is > added to whatever stack sees it. The problem is that sometimes the > card on Stack 2 has unexpected handler in it that cause random errors > when I am working with it. I realize I can lock the messages, but > that locks the messages for the Stack 1 also, which I cannot do. Is > there any way of keeping messages from being passed to Stack 2, > without locking the messages from Stack 1? > I am not sure exactly what you are describing. If Stack 2 is created on-the-fly, where does the "unexpected" handler come from? The card copied from Stack 3? Do you have handlers with identical names in Stack 1 and 2? If Stacks 1, 2, & 3 are all your creations, you should be able to avoid any duplication. If the error is caused by broadcasting a message (eg: doWhatever), perhaps the problem can be avoided by directing the message to the correct object (eg: send "doWhatever" to card 1 of stack "Stack 1"). 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) From mcdomi at free.fr Sat Mar 4 11:23:22 2006 From: mcdomi at free.fr (Dom) Date: Sat, 4 Mar 2006 17:23:22 +0100 Subject: The End of Dreamcard? In-Reply-To: <20060304155659.1E6017F03B@spatula.dreamhost.com> Message-ID: <1hboqtu.1t8lk4g10zqps5M%mcdomi@free.fr> Lynn Fredricks wrote: > A lot of what makes Revolution what it is, is in the engine. Ah, OK, that makes sense! From jhurley at infostations.com Sat Mar 4 11:43:26 2006 From: jhurley at infostations.com (Jim Hurley) Date: Sat, 4 Mar 2006 08:43:26 -0800 Subject: Scrollbar to drag through a movie? In-Reply-To: <20060304052042.2A748825FF2@mail.runrev.com> References: <20060304052042.2A748825FF2@mail.runrev.com> Message-ID: Is is possible to drag smoothly through the video frames of a movie using a scrollbar? I can drag to a current time and then start from that point, but I would like to see the frames shuttle by as I drag the thumb. Jim From Andre.Bisseret at inria.fr Sat Mar 4 11:48:10 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q?Andr=E9.Bisseret?=) Date: Sat, 4 Mar 2006 17:48:10 +0100 Subject: Is style a kind of font ? Message-ID: Hi ! With a field "thisFld" of which textFont is set to, say, "courier" If I write in msg : put the textFont of line 1 of fld "thisFld" If every word of this line are in "plain" style then I get "courier" But if the style of at least one word in the line 1 is "italic" then textFont is said "mixed" :-(((( well, my feelings are mixed too :-)) How can we get the textFont without this interference ? Thanks in advance for any explanation Bests regards from Grenoble Andr? From klaus at major-k.de Sat Mar 4 11:52:24 2006 From: klaus at major-k.de (Klaus Major) Date: Sat, 4 Mar 2006 17:52:24 +0100 Subject: Scrollbar to drag through a movie? In-Reply-To: References: <20060304052042.2A748825FF2@mail.runrev.com> Message-ID: <86AFD6BC-63DC-4A11-9B0A-DD3DDC2AF4F8@major-k.de> Hi Jim, > Is is possible to drag smoothly through the video frames of a movie > using a scrollbar? with version 2.6.1 this is only possible when the QT controller is visible OR (if the controller is not visible) when the movie is already playing...?! This was possible with earlier versions of Rev :-/ But with Rev 2.7 this is possible again :-) Just set the startvalue of your slider to 0 and the endvalue to the duration of the player... on scrollbardrag tValue set the currenttime of player xyz to tValue end scrollbardrag C'est ca :-) > I can drag to a current time and then start from that point, but I > would like to see the frames shuttle by as I drag the thumb. Hope that helps... > Jim Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Sat Mar 4 12:02:48 2006 From: klaus at major-k.de (Klaus Major) Date: Sat, 4 Mar 2006 18:02:48 +0100 Subject: Is style a kind of font ? In-Reply-To: References: Message-ID: Bonjour Andr?, > Hi ! > With a field "thisFld" of which textFont is set to, say, "courier" > > If I write in msg : > put the textFont of line 1 of fld "thisFld" > If every word of this line are in "plain" style > then I get "courier" > > But > if the style of at least one word in the line 1 is "italic" > then textFont is said "mixed" > :-(((( > > well, my feelings are mixed too :-)) > > How can we get the textFont without this interference ? > > Thanks in advance for any explanation sorry, but I do not have an answer, but I, personally, consider this a bug! From the docs about "textfont": If the chunk contains more than one font, the chunk's textFont property reports "mixed". But even if the textfont is identical and only the styles are "mixed" I get put the textfont of line 1 of fld 1 -> "mixed Or am I missing something obvious? > Bests regards from Grenoble > Andr? Regards Klaus Major klaus at major-k.de http://www.major-k.de From bridgeyman at gmail.com Sat Mar 4 12:57:53 2006 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Sat, 4 Mar 2006 10:57:53 -0700 Subject: Locking Messages In-Reply-To: <57B2D9BC-AB99-11DA-BB8D-0030657E1638@pon.net> References: <86ae76bb0603032108k2781f65bq9ce75fc5eae55a6e@mail.gmail.com> <57B2D9BC-AB99-11DA-BB8D-0030657E1638@pon.net> Message-ID: <86ae76bb0603040957k2fcb93e0sff9c2c1bd50bc2c2@mail.gmail.com> Hey, Sorry I wasn't very clear on my question. I have made a stack (Stack 1) that copies a card from any stack running in the background (Stack 3), pastes it on another stack that was just made (Stack 2), and sends stack 2 over the network where the card that was added to any stack that intercepts it. It is made to be able to add any card to any stack. The thing is a card may have a handler in it that is triggered, that refers to an object on another card. Because it has been seperated from the rest of the stack, it can't find that object and it causes errors. Once it is inserted into the new stack it should stop causing errors, but until then I need to lock the messages to the stack holding the card so it doesn't trigger anything. I can't really predict what handlers will be triggered, or what the errors are going to be so I can't just intercept them beforehand. Any ideas? On 3/4/06, Rob Cozens wrote: > > > Hi Bridger, > > > I have a stack (Which I will call Stack 1) that > > makes another stack (I will call it Stack 2), copies a card from some > > other stack running in the background (which I call Stack 3) and sends > > the new stack with the copied card all over the network where it is > > added to whatever stack sees it. The problem is that sometimes the > > card on Stack 2 has unexpected handler in it that cause random errors > > when I am working with it. I realize I can lock the messages, but > > that locks the messages for the Stack 1 also, which I cannot do. Is > > there any way of keeping messages from being passed to Stack 2, > > without locking the messages from Stack 1? > > > > I am not sure exactly what you are describing. > > If Stack 2 is created on-the-fly, where does the "unexpected" handler > come from? The card copied from Stack 3? > > Do you have handlers with identical names in Stack 1 and 2? > > If Stacks 1, 2, & 3 are all your creations, you should be able to avoid > any duplication. > > If the error is caused by broadcasting a message (eg: doWhatever), > perhaps the problem can be avoided by directing the message to the > correct object (eg: send "doWhatever" to card 1 of stack "Stack 1"). > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From effendi at wanadoo.fr Sat Mar 4 12:58:35 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 4 Mar 2006 18:58:35 +0100 Subject: No Openstack ..... ! Message-ID: <03aa59b40cfb802eab7e6b8483d49121@wanadoo.fr> Hi from Paris, I have just run into my first Platform problem, but in fact, my problem started on my Mac, and hasn't gone away !. I finished developing a stack on my Mac. During development, I couldn't get it to run the OpenStack script (why I don't know). I found that when using Stack Runner, OpenStack WAS executed, so while I was testing on the Mac, each time I loaded, I executed the openStack command from the message box, and execution was fine (dirty but fine !). I imagined that DreamCard Player on the PC would work the same way as Stack Runner on the Mac. Unfortunately, when I execute the stack on my PC using the DreamCard player, OpenStack is NOT executed, and so my stack serves no purpose, because I initialize global variables which are essential for execution. So, back to the Mac to create a button to execute openStack, then back to the PC. When I click on the button on the PC, nothing happens, so I am back to square one. What is going wrong, or more specifically, what am I doing wrong ? -Francis From jacque at hyperactivesw.com Sat Mar 4 13:11:46 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 Mar 2006 12:11:46 -0600 Subject: No Openstack ..... ! In-Reply-To: <03aa59b40cfb802eab7e6b8483d49121@wanadoo.fr> References: <03aa59b40cfb802eab7e6b8483d49121@wanadoo.fr> Message-ID: <4409D862.80909@hyperactivesw.com> Francis Nugent Dixon wrote: > So, back to the Mac to create a button to execute openStack, > then back to the PC. When I click on the button on the PC, > nothing happens, so I am back to square one. What is going > wrong, or more specifically, what am I doing wrong ? It sounds like a platform-related script error that is causing the handler to abort. Can you post your openstack handler here? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rjb at robelko.com Sat Mar 4 13:35:12 2006 From: rjb at robelko.com (Robert Brenstein) Date: Sat, 4 Mar 2006 19:35:12 +0100 Subject: XP Problems Persist... In-Reply-To: References: Message-ID: >Jeff, > >Actually, we saw this happen when doing an osx <> XP transfer. > >The one was the 'regular' file that we couldn't open, the other was >identical except that the file name had I think it was a leading _ or_. >attached. > >Neither was functional :-( > >Thanks, though! > Actually ._ From charles.hartman at conncoll.edu Sat Mar 4 14:32:59 2006 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 4 Mar 2006 14:32:59 -0500 Subject: No Openstack ..... ! In-Reply-To: <03aa59b40cfb802eab7e6b8483d49121@wanadoo.fr> References: <03aa59b40cfb802eab7e6b8483d49121@wanadoo.fr> Message-ID: <6DC47A17-FFB2-4877-BDDD-BE00ED9073E4@conncoll.edu> So use StackRunner (which beats the pants off the Dreamcard player anyway) on the PC too. You can bundle it with your stack for others to use. Charles On Mar 4, 2006, at 12:58 PM, Francis Nugent Dixon wrote: > Hi from Paris, > > I have just run into my first Platform problem, but in fact, > my problem started on my Mac, and hasn't gone away !. > I finished developing a stack on my Mac. During development, > I couldn't get it to run the OpenStack script (why I don't know). > I found that when using Stack Runner, OpenStack WAS executed, > so while I was testing on the Mac, each time I loaded, I executed > the openStack command from the message box, and execution > was fine (dirty but fine !). I imagined that DreamCard Player on > the PC would work the same way as Stack Runner on the Mac. > > Unfortunately, when I execute the stack on my PC using the > DreamCard player, OpenStack is NOT executed, and so my > stack serves no purpose, because I initialize global variables > which are essential for execution. > > So, back to the Mac to create a button to execute openStack, > then back to the PC. When I click on the button on the PC, > nothing happens, so I am back to square one. What is going > wrong, or more specifically, what am I doing wrong ? > > -Francis > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jeff at siphonophore.com Sat Mar 4 15:06:17 2006 From: jeff at siphonophore.com (jeffrey reynolds) Date: Sat, 04 Mar 2006 15:06:17 -0500 Subject: The End of Dreamcard? -- but life after death? In-Reply-To: <20060304180004.61437825BC8@mail.runrev.com> References: <20060304180004.61437825BC8@mail.runrev.com> Message-ID: <3F15F503-FD60-41C4-B6EF-452F42623AF8@siphonophore.com> Man i am feeling old... I created Apples first educational CD-ROM (Earth Explorer - a multimedia environmental encyclopedia for jr high kids) when they decided to get into the CD-ROM business in the early 90s using hypercard. they were amazed that a sophisticated multimedia product could be developed with hypercard. i had a meeting with higher ups at Apple to assure them that it was possible... their testing dept. finally confirmed that it worked and was relatively bug free! It struck me funny i had to sell the idea to Apple. in contrast the PC version (done in VB) took about 4x the person-hours to complete the software and that was with the content being squeaky clean (the mac version was 6 months ahead and did all the content testing) and content being exported to them exactly how they wanted it (i got it in all sorts of various forms that i used HC to convert to the final formats i needed--one of HC, strongest points). They had about 8 fat bug binders, i had about 2 and that included all the content bugs! The other guys were pro programmers with degrees and much better programmers than me (i was a molecular biologist and self taught programmer). when i was designing the product i had mocked it up in hc and the company developing it was planning on programming it in C, but then when the mock up was doing 90% of what needed to be done I proposed me just doing it in HC. Boy did that get a laugh from the programming dept at first. but then they shut up when they realized that yes the prototype did just about everything that it needed to be done just fine (what was left was minor stuff that we took care of with a couple of custom externals) and the budget and timeline was a fraction of doing it all in C. oh and it will still run today, even under classic. funny thing is cdroms are now getting very popular back in schools (they are finding the internet is not the solution to all educational content delivery -- realities of working in a school) and the product may be dusted off, content updated and new software done with revolution! Just shows you what was possible with that quirky little piece of software. I dont think Apple fully realized how much HC was a part of the success of Apple in general. Apple survived on the fringes by the undying passion of users that things like HC kept going. Without them they would have never gotten a big enough market share to hold on or enough reasons why their hardware was at a premium price w/o the evangelists selling it so hard and passionately. I think the lesson here is that there are options to make great stuff out of older things like stuff created in dreamcard. yes the simple, cheap gui building system like HC wont be there, but the work done in it can be moved forward and useful. No system lasts for ever, but moving stuff forward is possible and can really pull some rabbits out of the hat... cheers, jeff reynolds On Mar 4, 2006, at 1:00 PM, use-revolution-request at lists.runrev.com wrote: > Close. 19 years ago. I remember it came in the box with the new SE20 > for A&M studios. I was attempting to build an app with Z-Basic at the > time, and not getting anywhere...then discovering this thing...... > what's this... some kind of add-in hardware card? ha ha From effendi at wanadoo.fr Sat Mar 4 15:23:00 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 4 Mar 2006 21:23:00 +0100 Subject: No OpenStack ..... ! continued Message-ID: <1f3c12667ba1490a55b356b076727717@wanadoo.fr> Hi Jacqueline, You wanted my "openStack" script, so here it is. But I can't see anything in there that can cause a problem. I hope it is easy to read with the folding. It works perfectly well when I type "OpenStack" in the message box (on my Mac). Thanks for looking. -Francis ------------------------------------------------------------------------ -------------------- on openStack -- -- This is a standard "OpenStack" for all my stacks. It makes available certain global -- variables which may be used if required within the stack. As many of my stacks use -- data files, photo files and print files, global variables are available for certain -- folder paths and files, and are stored in standard fields on card 1 of the stack, IF -- those fields are present. As the stack can be run on a Mac or a PC, a platform identity -- is stored in a standard field on card 1 of the main stack, IF this field is present. -- global GVThisPlatform,GVStackName,GVStackLanguage,GVStackPath,GVSuffixPath global GVImpExpFileName,GVDataPath,GVPhotoPath,GVPrintFileName -- -- V1 - 2006/02/03 - 13:50 - Creation for DreamCard - extended from HyperCard. -- V2 - 2006/02/09 - 22:30 - Added new Folder Paths. -- V3 - 2006/02/17 - 12:53 - Changed English/French value to 1/2 (and not 0/1) -- This will allow me to access English or French error messages, -- and to set English or French labels, if required. -- V4 - 2006/02/17 - 16:00 - Simplified Global Folder Path definitions. -- V5 - 2006/03/03 - 18:00 - Removed from trial "MyHomeStack" and placed in all stacks. -- (MyHomeStack didn't satisfy me, so I dropped the idea !). -- V6 - 2006/03/04 - 15:15 - Created global variables for Data, Photo and Print folders and files. -- -- This script initializes all of my Global Variables. -- -- 1 - Set current platform Global Variable -- put the platform into LVHoldPlatform if LVHoldPlatform = "MacOS" then put "Mac - OS X" into GVThisPlatform if LVHoldPlatform = "Win32" then put "PC - Windows" into GVThisPlatform. -- -- 2 - Get the Stack Name. -- put the short name of this stack into GVStackName -- -- 3 - Set Language - Assume English when loading stack -- put 1 into GVStackLanguage -- -- 4 - Fill field "MyPlatform" in card 1 of mainstack, if it exists. -- if exists(field MyPlatform) then put GVThisPlatform into field MyPlatform of card 1 of stack GVStackName -- -- 4 - Set my Revolution Paths. These are similar to my Hypercard paths but point to my Revolution -- folders, which are identical in levels and names, on both the Mac and the PC. -- Note that (for some reason) the Disk element (Tradition/ or C:\) does not form part of the path. -- if LVHoldPlatform = "MacOS" then put "/Revolution/" into GVStackPath put ".hc" into GVSuffixPath -- Set up my Mac suffix for text files. -- -- The .hc suffix on MY Mac system opens Microsoft Word. end if if LVHoldPlatform = "Win32" then put "\Revolution\" into GVStackPath put ".txt" into GVSuffixPath -- Set up my PC suffix for text files. end if put GVStackPath & GVStackName & "/Print/ImpExp.hc" into GVImpExpFileName put GVStackPath & GVStackName & "/Data/" into GVDataPath put GVStackPath & GVStackName & "/Photos/" into GVPhotoPath put GVStackPath & GVStackName & "/Print/" & GVStackName & GVSuffixPath into GVPrintFileName -- -- Now store these variables into card 1 fields, if they exist. -- if exists(field MyImpExpFileName) then put GVImpExpFileName into field MyImpExpFileName if exists(field MyDataFolderName) then put GVDataPath into field MyDataFolderName if exists(field MyPhotosFolderName) then put GVPhotoPath into field MyPhotosFolderName if exists(field MyPrintFileName) then put GVPrintFileName into field MyPrintFileName end openStack From jerry at hytext.com Sat Mar 4 15:25:45 2006 From: jerry at hytext.com (Jerry Muelver) Date: Sat, 04 Mar 2006 14:25:45 -0600 Subject: Is style a kind of font ? In-Reply-To: References: Message-ID: <4409F7C9.8040903@hytext.com> Klaus Major wrote: > I, personally, consider this a bug! > > From the docs about "textfont": > If the chunk contains more than one font, the chunk's textFont > property reports "mixed". > > But even if the textfont is identical and only the styles are "mixed" > I get > put the textfont of line 1 of fld 1 -> "mixed > > Or am I missing something obvious? Technically, every size, style, and weight of a typeface is different "font". Arial Bold is a different font from just plain Arial. In CSS, note that the font selection is for font-family (like, all the the Arials), font-size, font-stretch, font-style, font-variant, and font-weight. So, if you have the same family (Arial), but several styles (bold for a few characters, bold-italic for the rest), you will have a "mixed" property report. ---- Jerry Muelver From ambassador at fourthworld.com Sat Mar 4 15:31:28 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 04 Mar 2006 12:31:28 -0800 Subject: The End of Dreamcard? In-Reply-To: References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> Message-ID: <4409F920.4040200@fourthworld.com> Stephen Barncard wrote: > From Wikipedia: > HyperCard was created by Bill Atkinson and initially released in August > 1987 Trivia question: Many HC fans know that HyperCard was originally designed without a scripting language, which was added later in the development process. Which multimedia authoring tool had a scripting language and premiered at the Boston expo the year before HC was released? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From soapdog at mac.com Sat Mar 4 15:40:55 2006 From: soapdog at mac.com (Andre Garzia) Date: Sat, 4 Mar 2006 17:40:55 -0300 Subject: The End of Dreamcard? In-Reply-To: <4409F920.4040200@fourthworld.com> References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> <4409F920.4040200@fourthworld.com> Message-ID: <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> On Mar 4, 2006, at 5:31 PM, Richard Gaskin wrote: > Which multimedia authoring tool had a scripting language and premiered > at the Boston expo the year before HC was released? Was it Director known as VideoWorks first??? did I won? Gee, I was only seven years old! :-D From ambassador at fourthworld.com Sat Mar 4 15:45:24 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 04 Mar 2006 12:45:24 -0800 Subject: The End of Dreamcard? In-Reply-To: <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> <4409F920.4040200@fourthworld.com> <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> Message-ID: <4409FC64.4080907@fourthworld.com> Andre Garzia wrote: > > On Mar 4, 2006, at 5:31 PM, Richard Gaskin wrote: > >> Which multimedia authoring tool had a scripting language and premiered >> at the Boston expo the year before HC was released? > > Was it Director known as VideoWorks first??? did I won? Gee, I was only > seven years old! :-D Good guess, but Director/Videoworks didn't add a scripting language until after HC was released. Hint: the developer's first name was Bill, and his last name started with an "A", but it wasn't "Atkinson". -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From psahores at easynet.fr Sat Mar 4 15:51:11 2006 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 4 Mar 2006 21:51:11 +0100 Subject: The End of Dreamcard? In-Reply-To: <4409FC64.4080907@fourthworld.com> References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> <4409F920.4040200@fourthworld.com> <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> <4409FC64.4080907@fourthworld.com> Message-ID: <148E0FA8-B539-4755-9BF1-B8B8D4F951E9@easynet.fr> Was this Bill A. working at the Xerox Palo Alto Research Center, Richard ? Best, Le 4 mars 06 ? 21:45, Richard Gaskin a ?crit : > Andre Garzia wrote: >> On Mar 4, 2006, at 5:31 PM, Richard Gaskin wrote: >>> Which multimedia authoring tool had a scripting language and >>> premiered >>> at the Boston expo the year before HC was released? >> Was it Director known as VideoWorks first??? did I won? Gee, I was >> only seven years old! :-D > > Good guess, but Director/Videoworks didn't add a scripting language > until after HC was released. > > Hint: the developer's first name was Bill, and his last name > started with an "A", but it wasn't "Atkinson". > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From ambassador at fourthworld.com Sat Mar 4 15:56:54 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 04 Mar 2006 12:56:54 -0800 Subject: The End of Dreamcard? In-Reply-To: <148E0FA8-B539-4755-9BF1-B8B8D4F951E9@easynet.fr> References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> <4409F920.4040200@fourthworld.com> <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> <4409FC64.4080907@fourthworld.com> <148E0FA8-B539-4755-9BF1-B8B8D4F951E9@easynet.fr> Message-ID: <4409FF16.4060003@fourthworld.com> Pierre Sahores wrote: > Le 4 mars 06 ? 21:45, Richard Gaskin a ?crit : > >> Andre Garzia wrote: >>> On Mar 4, 2006, at 5:31 PM, Richard Gaskin wrote: >>>> Which multimedia authoring tool had a scripting language and premiered >>>> at the Boston expo the year before HC was released? >>> Was it Director known as VideoWorks first??? did I won? Gee, I was >>> only seven years old! :-D >> >> Good guess, but Director/Videoworks didn't add a scripting language >> until after HC was released. >> >> Hint: the developer's first name was Bill, and his last name started >> with an "A", but it wasn't "Atkinson". > > Was this Bill A. working at the Xerox Palo Alto Research Center, > Richard ? No, and if there was a Bill A. from PARC who premiered a product at Boston MacWorld in '86 I may need to revise my hints. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From klaus at major-k.de Sat Mar 4 15:58:41 2006 From: klaus at major-k.de (Klaus Major) Date: Sat, 4 Mar 2006 21:58:41 +0100 Subject: Is style a kind of font ? In-Reply-To: <4409F7C9.8040903@hytext.com> References: <4409F7C9.8040903@hytext.com> Message-ID: <88711F2F-C4B8-4FE6-A17D-9BC7CBC1DB1D@major-k.de> Hi Jerry, > Klaus Major wrote: >> I, personally, consider this a bug! >> >> From the docs about "textfont": >> If the chunk contains more than one font, the chunk's textFont >> property reports "mixed". >> >> But even if the textfont is identical and only the styles are >> "mixed" I get >> put the textfont of line 1 of fld 1 -> "mixed >> >> Or am I missing something obvious? > Technically, every size, style, and weight of a typeface is > different "font". Arial Bold is a different font from just plain > Arial. In CSS, note that the font selection is for font-family > (like, all the the Arials), font-size, font-stretch, font-style, > font-variant, and font-weight. So, if you have the same family > (Arial), but several styles (bold for a few characters, bold-italic > for the rest), you will have a "mixed" property report. aha, thank you for the clarification :-) > ---- Jerry Muelver Regards Klaus Major klaus at major-k.de http://www.major-k.de From revolutionary.dan at gmail.com Sat Mar 4 15:58:42 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Sat, 4 Mar 2006 12:58:42 -0800 Subject: The End of Dreamcard? In-Reply-To: <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> <4409F920.4040200@fourthworld.com> <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> Message-ID: <70ed6b130603041258h185a2676vbaccc896398b22d3@mail.gmail.com> I have no inside info on this, so I'm more or less guessing but here's my take. Dreamcard was a "crippled Rev." It straddled the lines of an inventive user and a professional developer but the lines were blurred and the audiences and messages so different that it created as much confusion as it did anything else. So RR decided to replace DC with two paths. If you want the power of Rev, buy Rev. (My guess -- and I reiterate my caveat -- is that they'll make this upgrade very attractive from a price standpoint because they have nothing to gain by driving away DC users who are basically happy). The alternate path is you want to use a Rev product that's more like the old HC and somewhat like multimedia authoring tools, so you buy Media at a much lower price point but you limit yourself to certain types of apps. I think the company has created a bit of a difficult-to-decode message on the main rev media page because of this statement: "*Revolution Media's*simplicity makes it ideal for creating software utilities quickly and easily. You can conceptualize a project or solution, but what is the fastest, most productive way to turn your ideas into software? Its *Revolution Media*." That makes it sound like Media will include the full Transcript language, which then begs the question of the real differences between the products. Then on the detail page there's this somewhat confusing tidbit: "Use Revolution, the English like, built-in language, to add the *step by step logic *of your concept to your creation." I suspect -- but again my caveat -- that this is just a mistake, that the language is called Transcript, not Revolution (which would be devilishly confusing, no?). In the end, the important thing I think is that DC users now have to decide whether they are fish or fowl and head down the path that suits them best. Probably not a bad move for the company; Media sounds like a truly consumer-appealing product. On 3/4/06, Andre Garzia wrote: > > > On Mar 4, 2006, at 5:31 PM, Richard Gaskin wrote: > > > Which multimedia authoring tool had a scripting language and premiered > > at the Boston expo the year before HC was released? > > Was it Director known as VideoWorks first??? did I won? Gee, I was > only seven years old! :-D > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From rjb at robelko.com Sat Mar 4 16:11:11 2006 From: rjb at robelko.com (Robert Brenstein) Date: Sat, 4 Mar 2006 22:11:11 +0100 Subject: The End of Dreamcard? In-Reply-To: <4409FC64.4080907@fourthworld.com> References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> <4409F920.4040200@fourthworld.com> <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> <4409FC64.4080907@fourthworld.com> Message-ID: >Andre Garzia wrote: >> >>On Mar 4, 2006, at 5:31 PM, Richard Gaskin wrote: >> >>>Which multimedia authoring tool had a scripting language and premiered >>>at the Boston expo the year before HC was released? >> >>Was it Director known as VideoWorks first??? did I won? Gee, I was >>only seven years old! :-D > >Good guess, but Director/Videoworks didn't add a scripting language >until after HC was released. > >Hint: the developer's first name was Bill, and his last name started >with an "A", but it wasn't "Atkinson". > >-- > Richard Gaskin > Managing Editor, revJournal Would you mean World Builder by Bill Appleton (Silicon Beach Software)? Robert From revolutionary.dan at gmail.com Sat Mar 4 16:40:01 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Sat, 4 Mar 2006 13:40:01 -0800 Subject: The End of Dreamcard? In-Reply-To: References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> <4409F920.4040200@fourthworld.com> <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> <4409FC64.4080907@fourthworld.com> Message-ID: <70ed6b130603041340u21e33ab3x82eb749501680642@mail.gmail.com> I think you're right, Robert. I seem to recall writing a piece on interactive fiction in that time frame and interviewing Appleton for it. My memory is a bit fuzzy but I think he did have a scripting language of sorts in that quit-delightful tool. On 3/4/06, Robert Brenstein wrote: > > >Andre Garzia wrote: > >> > >>On Mar 4, 2006, at 5:31 PM, Richard Gaskin wrote: > >> > >>>Which multimedia authoring tool had a scripting language and premiered > >>>at the Boston expo the year before HC was released? > >> > >>Was it Director known as VideoWorks first??? did I won? Gee, I was > >>only seven years old! :-D > > > >Good guess, but Director/Videoworks didn't add a scripting language > >until after HC was released. > > > >Hint: the developer's first name was Bill, and his last name started > >with an "A", but it wasn't "Atkinson". > > > >-- > > Richard Gaskin > > Managing Editor, revJournal > > > Would you mean World Builder by Bill Appleton (Silicon Beach Software)? > > Robert > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From psahores at easynet.fr Sat Mar 4 16:43:31 2006 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 4 Mar 2006 22:43:31 +0100 Subject: The End of Dreamcard? In-Reply-To: <70ed6b130603041340u21e33ab3x82eb749501680642@mail.gmail.com> References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> <4409F920.4040200@fourthworld.com> <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> <4409FC64.4080907@fourthworld.com> <70ed6b130603041340u21e33ab3x82eb749501680642@mail.gmail.com> Message-ID: <71410B35-8706-4043-B8FE-FFACB3B357CD@easynet.fr> Richard ? ;-) Le 4 mars 06 ? 22:40, Dan Shafer a ?crit : > I think you're right, Robert. I seem to recall writing a piece on > interactive fiction in that time frame and interviewing Appleton > for it. My > memory is a bit fuzzy but I think he did have a scripting language > of sorts > in that quit-delightful tool. > > On 3/4/06, Robert Brenstein wrote: >> >>> Andre Garzia wrote: >>>> >>>> On Mar 4, 2006, at 5:31 PM, Richard Gaskin wrote: >>>> >>>>> Which multimedia authoring tool had a scripting language and >>>>> premiered >>>>> at the Boston expo the year before HC was released? >>>> >>>> Was it Director known as VideoWorks first??? did I won? Gee, I was >>>> only seven years old! :-D >>> >>> Good guess, but Director/Videoworks didn't add a scripting language >>> until after HC was released. >>> >>> Hint: the developer's first name was Bill, and his last name started >>> with an "A", but it wasn't "Atkinson". >>> >>> -- >>> Richard Gaskin >>> Managing Editor, revJournal >> >> >> Would you mean World Builder by Bill Appleton (Silicon Beach >> Software)? >> >> Robert >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Information Product Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.shafermediastore.com/tech_main.html > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From ambassador at fourthworld.com Sat Mar 4 16:57:11 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 04 Mar 2006 13:57:11 -0800 Subject: The End of Dreamcard? In-Reply-To: References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> <4409F920.4040200@fourthworld.com> <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> <4409FC64.4080907@fourthworld.com> Message-ID: <440A0D37.6020707@fourthworld.com> Robert Brenstein wrote: >> Andre Garzia wrote: >>> >>> On Mar 4, 2006, at 5:31 PM, Richard Gaskin wrote: >>> >>>> Which multimedia authoring tool had a scripting language and premiered >>>> at the Boston expo the year before HC was released? >>> >>> Was it Director known as VideoWorks first??? did I won? Gee, I was >>> only seven years old! :-D >> >> Good guess, but Director/Videoworks didn't add a scripting language >> until after HC was released. >> >> Hint: the developer's first name was Bill, and his last name started >> with an "A", but it wasn't "Atkinson". >> >> -- >> Richard Gaskin >> Managing Editor, revJournal > > > Would you mean World Builder by Bill Appleton (Silicon Beach Software)? That's the one. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From charles.hartman at conncoll.edu Sat Mar 4 18:05:28 2006 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 4 Mar 2006 18:05:28 -0500 Subject: The End of Dreamcard? In-Reply-To: <70ed6b130603041258h185a2676vbaccc896398b22d3@mail.gmail.com> References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> <4409F920.4040200@fourthworld.com> <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> <70ed6b130603041258h185a2676vbaccc896398b22d3@mail.gmail.com> Message-ID: <08805EBA-5D3D-481A-9608-9CC6E927211B@conncoll.edu> On Mar 4, 2006, at 3:58 PM, Dan Shafer wrote: > Dreamcard was a "crippled Rev." It straddled the lines of an > inventive user > and a professional developer but the lines were blurred and the > audiences > and messages so different that it created as much confusion as it did > anything else. Well, I didn't feel confused at all. Dreamcard is, or was, "crippled" only in two ways: no standalones, no Oracle-type dbs. Not significant drawbacks for someone building open-source academic tutorial apps. And while the (if I recall correctly) $60 academic price, for someone with no institutional or corporate budget to call upon, wasn't nothing -- wasn't, in other words, as attractive as the price of something like Python + wxPython. which I use to build other academic tutorial apps; as as Hypercard for that matter -- it was worth it, if what you wanted to do was specifically Hypercard-like. I had an old Hypercard tutorial I wanted to modernize, and doing it in Python would have been perhaps more work than it was worth. As for attractive upgrade prices for Studio, the best I have seen so far is $200. It does not attract me. Whether it's a wise business move on Rev's part I suppose I can't judge, and I really don't care. Unless I've misunderstood something in the deal, or in Media -- and I certainly agree that the p.r. has been confusing -- I'll be waving bye-bye to Rev toot sweet. (Or keep using the old one? I don't think so, except for the occasional jiffy stack. Or pay $50 for a final year of upgrades to the engine? High price for a dead-end street.) Get out your handkerchiefs? Of course not. The question, for Rev, is whether users like me are as trivial a proportion, and as trivial a segment, of their market as they *appear* to think. I'm holding my fire until I understand better. But that's the way it looks so far. Charles From see3d at writeme.com Sat Mar 4 20:00:21 2006 From: see3d at writeme.com (Dennis Brown) Date: Sat, 4 Mar 2006 20:00:21 -0500 Subject: The End of Dreamcard? In-Reply-To: <08805EBA-5D3D-481A-9608-9CC6E927211B@conncoll.edu> References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> <4409F920.4040200@fourthworld.com> <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> <70ed6b130603041258h185a2676vbaccc896398b22d3@mail.gmail.com> <08805EBA-5D3D-481A-9608-9CC6E927211B@conncoll.edu> Message-ID: <7761C863-95DA-471B-9406-C639A18A047C@writeme.com> I was not impressed with the new plan either. I own Studio, but bought DC when they first offered it because it was an economical way to stay up to date. I had no interest in compiling my apps. Most of the nifty upgrades to the language are eye candy that real app developers might appreciate, but my personal needs are more simple, but I really appreciate the bug fixes. I bought the first SuperCard cross grade offering of Revolution when it first came out, and have only used it a lot in the last year. I just wanted a good XTalk interpreter environment to make my own inventive tools, but I need speed to crunch a lot of numbers and Rev was faster than my SuperCard. I found DC to exactly match my needs as a personal programming tool --no confusion at all. I appreciated the one year extension offer (which I purchased), because it gives me another year of upgrades, at a price I was expecting to pay each year, in which to evaluate my changing needs and to evaluate if Media is sufficient for me. I am sure it would work fine for me. However, I am not so sure about this backdrop stuff. I don't have any programs that take over my screen on my desktop. I keep a lot of programs open at the same time on two monitors. If it blanks them out, I will most likely keep using DC until it won't run on my machine anymore, then decide if I want to update Studio or go back to SuperCard, or something else. However, by that time Rev may have a whole new plan and product slate. My point is this, the good Rev folks gave me a reasonable option to continue the way I was and decide later. I don't feel like I have been trapped in a corner, and have to decide what to do now. I have time on my side. I do hope Media is successful in making Rev more accessible to a larger audience. I will give it a test run after it comes out. My personal opinion though is that having a programming UI like Constellation makes it much easier to use Transcript. The Rev folks might want to rethink that end of things for their entry level app. Dennis On Mar 4, 2006, at 6:05 PM, Charles Hartman wrote: > > On Mar 4, 2006, at 3:58 PM, Dan Shafer wrote: > >> Dreamcard was a "crippled Rev." It straddled the lines of an >> inventive user >> and a professional developer but the lines were blurred and the >> audiences >> and messages so different that it created as much confusion as it did >> anything else. > > Well, I didn't feel confused at all. Dreamcard is, or was, > "crippled" only in two ways: no standalones, no Oracle-type dbs. > Not significant drawbacks for someone building open-source academic > tutorial apps. And while the (if I recall correctly) $60 academic > price, for someone with no institutional or corporate budget to > call upon, wasn't nothing -- wasn't, in other words, as attractive > as the price of something like Python + wxPython. which I use to > build other academic tutorial apps; as as Hypercard for that matter > -- it was worth it, if what you wanted to do was specifically > Hypercard-like. I had an old Hypercard tutorial I wanted to > modernize, and doing it in Python would have been perhaps more work > than it was worth. > > As for attractive upgrade prices for Studio, the best I have seen > so far is $200. It does not attract me. > > Whether it's a wise business move on Rev's part I suppose I can't > judge, and I really don't care. Unless I've misunderstood something > in the deal, or in Media -- and I certainly agree that the p.r. has > been confusing -- I'll be waving bye-bye to Rev toot sweet. (Or > keep using the old one? I don't think so, except for the occasional > jiffy stack. Or pay $50 for a final year of upgrades to the engine? > High price for a dead-end street.) > > Get out your handkerchiefs? Of course not. The question, for Rev, > is whether users like me are as trivial a proportion, and as > trivial a segment, of their market as they *appear* to think. I'm > holding my fire until I understand better. But that's the way it > looks so far. > > Charles > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Sat Mar 4 20:31:54 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 Mar 2006 19:31:54 -0600 Subject: No OpenStack ..... ! continued In-Reply-To: <1f3c12667ba1490a55b356b076727717@wanadoo.fr> References: <1f3c12667ba1490a55b356b076727717@wanadoo.fr> Message-ID: <440A3F8A.9000507@hyperactivesw.com> Francis Nugent Dixon wrote: > Hi Jacqueline, > > You wanted my "openStack" script, so here it is. > But I can't see anything in there that can cause > a problem. I hope it is easy to read with the folding. > It works perfectly well when I type "OpenStack" in the > message box (on my Mac). I'm not sure why it works on Mac either, actually, but maybe I am misinterpreting the script. You have many variables that are not defined: myImpExpFileName myDataFolderName myPrintFileName etc. Do you have fields that are named those things? If so, put them in quotation marks, like this: if exists(field "MyImpExpFileName") then... If you do not have fields named MyImpExpFileName, etc. then those lines of script will never execute. But you say they work on Mac, so maybe you do have fields named that way. This looks wrong to me too: put "\Revolution\" into GVStackPath... Paths in Revolution always use forward slashes, so it should be: put "/Revolution/" into GVStackPath same as on Macs. This might be why the script does not work on Windows. For a test, try making a simple stack with a simple openStack script. Maybe like this: on openstack put "Openstack sent" end openstack Then run the stack on Windows. You should see "openstack sent" displayed in the message box. That means the message was sent properly. Finally, try putting a breakpoint next to one of the lines in your openstack handler. When you open the stack on Windows, you should drop into the debugger when it finds that breakpoint. Then you can step through each line to see what is going wrong. If you do not drop into the debugger, then you are right, the openstack message is probably not being sent to your stack. That usually means another script has blocked it somewhere, maybe in a frontscript. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknapp at comcast.net Sat Mar 4 20:41:23 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 04 Mar 2006 17:41:23 -0800 Subject: Windows file visibility Message-ID: <440A41C3.2010103@comcast.net> I've been playing with a recipe from the Scripter's Scrapbook (setFileVisibility) but I can't seem to make it work on my XP machine. I poked around on Google but didn't find anything that really helped. basically I'm doing this: #creating a text file #then attempt to make it invisible: put "attrib +h" && thePathToMyFile into commandString get shell commandString But my file remains visible. Perhaps this works on older versions of Windows? My Windows skills are pretty basic, so I may be missing something simple. Thanks for any help, Marty Knapp From Roger.E.Eller at sealedair.com Sat Mar 4 20:52:54 2006 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sat, 4 Mar 2006 20:52:54 -0500 Subject: Windows file visibility Message-ID: > basically I'm doing this: > #creating a text file > #then attempt to make it invisible: > > put "attrib +h" && thePathToMyFile into commandString > get shell commandString > > But my file remains visible. Marty, You may just be conflicting with your OS settings. Do you have XP folder options set to show hidden files? Another possibility is that you are using a / rather than a \ as the path folder delimiter. Any time you use shell on Windows, you need to replace "/" with "\" in commandString before executing the get shell command. Roger Eller From martyknapp at comcast.net Sat Mar 4 21:19:38 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 04 Mar 2006 18:19:38 -0800 Subject: Windows file visibility In-Reply-To: References: Message-ID: <440A4ABA.8000608@comcast.net> Hey Roger, I tried the delimiter both ways and checked (and reset) my folder options - still no go. When I check the File Properties for the file "Hidden" is not checked after I've run the shell command on it . . . Marty >> basically I'm doing this: >> #creating a text file >> #then attempt to make it invisible: >> >> put "attrib +h" && thePathToMyFile into commandString >> get shell commandString >> >> But my file remains visible. >> > > Marty, > > You may just be conflicting with your OS settings. Do you have XP folder > options set to show hidden files? Another possibility is that you are > using a / rather than a \ as the path folder delimiter. Any time you use > shell on Windows, you need to replace "/" with "\" in commandString before > executing the get shell command. > > Roger Eller > From martinblackman at gmail.com Sat Mar 4 21:24:22 2006 From: martinblackman at gmail.com (Martin Blackman) Date: Sun, 5 Mar 2006 10:24:22 +0800 Subject: The End of Dreamcard? In-Reply-To: <70ed6b130603041258h185a2676vbaccc896398b22d3@mail.gmail.com> References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> <4409F920.4040200@fourthworld.com> <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> <70ed6b130603041258h185a2676vbaccc896398b22d3@mail.gmail.com> Message-ID: <79d1bee70603041824u4d4095f8l@mail.gmail.com> On 05/03/06, Dan Shafer wrote: > "Use Revolution, the English like, built-in language, to add the *step by > step logic *of your concept to your creation." I suspect -- but again my > caveat -- that this is just a mistake, that the language is called > Transcript, not Revolution (which would be devilishly confusing, no?). Perhaps Run Rev are trying to confuse us all - you can read these two quotes from the same page at http://revstudio.runrev.com/easy.php : 'Then use Transcript, Revolution's built-in scripting language, to add in-depth functionality and connectivity.' 'Revolution uses an English like command language also called... Revolution' From Roger.E.Eller at sealedair.com Sat Mar 4 21:26:29 2006 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sat, 4 Mar 2006 21:26:29 -0500 Subject: Windows file visibility Message-ID: > I tried the delimiter both ways and checked (and reset) my folder > options - still no go. >> put "attrib +h" && thePathToMyFile into commandString Are there any spaces in thePathToMyFile? If so, try enclosing it in quotes. put "attrib +h" && quote & thePathToMyFile & quote into commandString Roger Eller From martyknapp at comcast.net Sat Mar 4 21:34:33 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 04 Mar 2006 18:34:33 -0800 Subject: Windows file visibility In-Reply-To: References: Message-ID: <440A4E39.7080306@comcast.net> Roger, I owe you a beer! adding the quotes fixed the problem (I was placing the file in the Documents and Settings folder). Thanks for your help. Marty >> I tried the delimiter both ways and checked (and reset) my folder >> options - still no go. >> > > >>> put "attrib +h" && thePathToMyFile into commandString >>> > > Are there any spaces in thePathToMyFile? If so, try enclosing it in > quotes. > > put "attrib +h" && quote & thePathToMyFile & quote into commandString > > Roger Eller > From jswitte at bloomington.in.us Sat Mar 4 21:40:40 2006 From: jswitte at bloomington.in.us (Jim Witte) Date: Sat, 4 Mar 2006 21:40:40 -0500 Subject: Way to do RegEx substring replacements? Message-ID: <71A00F4D-42BA-4871-9BE1-0B385FF3B688@bloomington.in.us> Is there a way in Revolution (2.0.3) to do a RegEx find and replace using one of the sub-expressions, like finding (....) ([^x]*)x.* and replacing by \1\t\2 directly without having to use matchText to extract the subexpressions and then construct the line? (Yes, I know this should be in Perl, Python, or something else - that's next after the prototype is done) Jim From john at debraneys.com Sat Mar 4 21:48:32 2006 From: john at debraneys.com (John Tregea) Date: Sun, 05 Mar 2006 10:48:32 +0800 Subject: The End of Dreamcard? In-Reply-To: <4409F920.4040200@fourthworld.com> References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> <4409F920.4040200@fourthworld.com> Message-ID: <440A5180.3030108@debraneys.com> Ahhhhh, those were heady days... I was at that Boston MacWorld (visiting on my first trip from Australia). Someone recommended that I go check out this new "HyperCard" and I saw Bill Atkinson presenting it. I ended up scoring an "ACME Bowling" team jacket (which was the HyperCard developer team official apparel. Ended up working at Apple, developing HyperCard toolkits, templates etc... Ya gotta love that I was able to open some of my developer tool stacks from that time in Rev and it still all worked. John T Richard Gaskin wrote: > Stephen Barncard wrote: >> From Wikipedia: >> HyperCard was created by Bill Atkinson and initially released in >> August 1987 > > Trivia question: > > Many HC fans know that HyperCard was originally designed without a > scripting language, which was added later in the development process. > > Which multimedia authoring tool had a scripting language and premiered > at the Boston expo the year before HC was released? > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jacque at hyperactivesw.com Sat Mar 4 21:50:11 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 Mar 2006 20:50:11 -0600 Subject: Way to do RegEx substring replacements? In-Reply-To: <71A00F4D-42BA-4871-9BE1-0B385FF3B688@bloomington.in.us> References: <71A00F4D-42BA-4871-9BE1-0B385FF3B688@bloomington.in.us> Message-ID: <440A51E3.5000801@hyperactivesw.com> Jim Witte wrote: > Is there a way in Revolution (2.0.3) to do a RegEx find and replace > using one of the sub-expressions, like finding > > (....) ([^x]*)x.* > > and replacing by > > \1\t\2 > > directly without having to use matchText to extract the subexpressions > and then construct the line? (Yes, I know this should be in Perl, > Python, or something else - that's next after the prototype is done) See if the "replaceText" function does what you want. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jswitte at bloomington.in.us Sat Mar 4 23:00:21 2006 From: jswitte at bloomington.in.us (Jim Witte) Date: Sat, 4 Mar 2006 23:00:21 -0500 Subject: Stripping trailing spaces from a string Message-ID: How can I use a RegEx to strip trailing white-space? I tried: get matchText(theExpr, "(.*)\s*", theExpr) where theExpr is "0025E95C mov r5, r0 " From jperryl at ecs.fullerton.edu Sun Mar 5 00:06:53 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 4 Mar 2006 21:06:53 -0800 (PST) Subject: The End of Dreamcard? In-Reply-To: Message-ID: On Sat, 4 Mar 2006, Charles Hartman wrote: > Right. There's the point. When you buy something like Hypercard, or > Dreamcard, you're buying a GUI builder and programming lanuage. But a > GUI builder and programming language in which you can't control the > screen even to the extent of getting rid of a backdrop sounds to me > like a parameterized PowerPoint. The feature-comparison page on the > web site (Media can't connect even to a mySQL database, can't do CGI, > but has nice "templates" for people who don't want to program > anything) says pretty plainly that Media is no replacement for > Dreamcard. --For the price -- roughly half of what Hypercard last sold for -- it seems fair enough. Can you do mySQL and CGIs in PowerPoint? (not being nasty: I really don't know but doubt it as I don't think it has a scripting language). As for templates, I, for one, am doing the Snoopy dance. Hypercard had them and some of us have been asking for this for a very long time (although I recall being the very person who's complained about them in other apps) @;-) Judy From jperryl at ecs.fullerton.edu Sun Mar 5 00:08:34 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 4 Mar 2006 21:08:34 -0800 (PST) Subject: The End of Dreamcard? In-Reply-To: <20060304155659.1E6017F03B@spatula.dreamhost.com> Message-ID: Perhaps this could be spelled out in any emails sent to people on the subject, along with instructions on how to implement engine changes? Judy On Sat, 4 Mar 2006, Lynn Fredricks wrote: > If you update DreamCard now, you will get engine updates for the length of > that update period. A lot of what makes Revolution what it is, is in the > engine. From jperryl at ecs.fullerton.edu Sun Mar 5 00:10:44 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 4 Mar 2006 21:10:44 -0800 (PST) Subject: XP Problems Persist... In-Reply-To: Message-ID: Okay... probably. To be honest, I had a difficult time even _seeing_ it on his dark little Sony Vaio (sp?) laptop with an OS X skin on it ;-) Judy On Sat, 4 Mar 2006, Robert Brenstein wrote: > Actually ._ From JimAultWins at yahoo.com Sun Mar 5 01:09:29 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 04 Mar 2006 22:09:29 -0800 Subject: Way to do RegEx substring replacements? In-Reply-To: <71A00F4D-42BA-4871-9BE1-0B385FF3B688@bloomington.in.us> Message-ID: On 3/4/06 6:40 PM, "Jim Witte" wrote: > Is there a way in Revolution (2.0.3) to do a RegEx find and replace > using one of the sub-expressions, like finding > > (....) ([^x]*)x.* > > and replacing by > > \1\t\2 > > directly without having to use matchText to extract the > subexpressions and then construct the line? Not that I know of, but I am curious why this is needed. Be careful that you only have one possible match and that you consider 'greedy' and case sensitive when applying RegEx since \1 and \2 may not be what you expect. If given that there is only one possible way to get a match then it is not really a problem to use two lines to produce the result: put matchText(lineOfText, "(?Ui)(...)([^x]*)x.*",v1,v2) into vTrueFalse if vTrueFalse = "true" then put v1 & tab & v2 into outputStr else answer "Match not successful, take alternate actions" end if Why is this an issue for you? Do you mean that you want to do more than one replacement in a single text block? In that case, I use matchChunk & a repeat loop & temp variables. >(Yes, I know this should > be in Perl, Python, or something else - that's next after the > prototype is done) Not sure what you mean by this. I use RegEx quite often in Rev routines, as well as filter, replace, replaceText. Jim Ault Las Vegas From kray at sonsothunder.com Sun Mar 5 01:33:44 2006 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 05 Mar 2006 00:33:44 -0600 Subject: Stripping trailing spaces from a string In-Reply-To: Message-ID: On 3/4/06 10:00 PM, "Jim Witte" wrote: > How can I use a RegEx to strip trailing white-space? I tried: > > get matchText(theExpr, "(.*)\s*", theExpr) > > where theExpr is "0025E95C mov r5, r0 " Here's a version I have that trims whitespace from both sides of a string, and includes 'normal' whitespace, along with hard spaces (watch word wraps): function trim pWhat local dummy,tRetVal if the platform is "MacOS" then put "\xca" into tHardSpc else put "\xa0" into tHardSpc get matchText(pWhat, "(?s)^(\s|" & tHardSpc & ")*(.*?)(\s|" & tHardSpc & ")*$",dummy,tRetVal) return tRetVal end trim However using RegEx for trimming is not the fastest approach, although the difference between 0.0391 ticks for the RegEx version vs. 0.0004 ticks for the fastest version is not recognizable unless you have to do it thousands of times... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From JimAultWins at yahoo.com Sun Mar 5 01:51:08 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 04 Mar 2006 22:51:08 -0800 Subject: Stripping trailing spaces from a string In-Reply-To: Message-ID: On 3/4/06 8:00 PM, "Jim Witte" wrote: > How can I use a RegEx to strip trailing white-space? I tried: > > get matchText(theExpr, "(.*)\s*", theExpr) > > where theExpr is "0025E95C mov r5, r0 " > _______________________________________________ put "(.*[^\s])" into regEx --trims spaces from right get matchText(strr,regEx,strr) Basically says capture the whole string and come back until the character is not a "word delimiter", not necessarily a space. If you only want spaces to qualify then use put "(.*[^\ ])" into regEx --trims spaces from right (note the space char after the "\") put "([^\s]+)" into RegEx --matches only the first word Basically says capture the characters as long as it is not a "word delimiter". Ken has MUCH better experience and even gives time trial results :-) Jim Ault Las Vegas From mcdomi at free.fr Sun Mar 5 03:19:20 2006 From: mcdomi at free.fr (Dom) Date: Sun, 5 Mar 2006 09:19:20 +0100 Subject: The End of Dreamcard? In-Reply-To: <79d1bee70603041824u4d4095f8l@mail.gmail.com> Message-ID: <1hbpz0f.4ac8h51xdpmmyM%mcdomi@free.fr> Martin Blackman wrote: > 'Then use Transcript, Revolution's built-in scripting language, to add > in-depth functionality and connectivity.' > > 'Revolution uses an English like command language also called... Revolution' That's the biggest "unknown factor"... How about compatibility questions between the Revolution duet? Is it the same scripting language, or not? Is it only a subset? Will stacks written in the "full" version run in the "Media" version? And will "Media" stacks run in the full version? From WvanHeemstra at xs4all.nl Sun Mar 5 05:51:30 2006 From: WvanHeemstra at xs4all.nl (Willem van Heemstra) Date: Sun, 5 Mar 2006 10:51:30 +0000 Subject: Trying to find Revolution Adventure Game template Message-ID: <854646E1-0983-4EAB-BECD-4783A3145F05@xs4all.nl> Hi, I have installed Revolution Media and I am trying to find Revolution Adventure Game template. Does anyone know where this template is and how to start building a game from it? Thanks, Willem From Andre.Bisseret at inria.fr Sun Mar 5 07:55:10 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q?Andr=E9.Bisseret?=) Date: Sun, 5 Mar 2006 13:55:10 +0100 Subject: Is style a kind of font ? In-Reply-To: <4409F7C9.8040903@hytext.com> Message-ID: <47E45AEA-AC47-11DA-8A4C-000393DBAA2A@inria.fr> Le Saturday, 4 Mar 2006, ? 21:25 Europe/Paris, Jerry Muelver a ?crit : > > Klaus Major wrote: >> I, personally, consider this a bug! >> >> From the docs about "textfont": >> If the chunk contains more than one font, the chunk's textFont >> property reports "mixed". >> >> But even if the textfont is identical and only the styles are "mixed" >> I get >> put the textfont of line 1 of fld 1 -> "mixed >> >> Or am I missing something obvious? Thank you Klaus for your attention and your kind answer. > Technically, every size, style, and weight of a typeface is different > "font". Arial Bold is a different font from just plain Arial. In CSS, > note that the font selection is for font-family (like, all the the > Arials), font-size, font-stretch, font-style, font-variant, and > font-weight. So, if you have the same family (Arial), but several > styles (bold for a few characters, bold-italic for the rest), you will > have a "mixed" property report. > > ---- Jerry Muelver Thanks a lot Jerry for this clear explanation. Like Klaus, I better understand now. Anyway, I?m not sure that Rev takes this precise definition fullly into account. I keep needing to be able in REV to get the name of the ? font family ? for some such part of text, regardless of styles, size, stretch etc. In Rev, assume that I have a text, say, ? My taylor is rich ? in ? courier ?, with ? My ? and ? is ? in plain, ? taylor ? in italic and rich underlined : I can set the textFont of this text to ? Times ?, the differents words keeping their differents styles. So with ? set ? the textFont exists independently of the styles. But, then, with ? get the textFont ? it reports ? mixed ?. So with ? get ? the textFont does not exist independently of the styles. I am not a linguist, but would it not seem to be somehow a bit inconsistent ;-))) POSSIBLE SOLUTION : In the current state of Rev (2.6.1), to get the textFont (family) of a line, I understand that we have to get the textFont of one single word in this line, or, may be better, of one single char in the line (in case the choosen word would have several things like ? styles ? in it). Best regards from Grenoble Andr? From Stgoldberg at aol.com Sun Mar 5 08:27:14 2006 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Sun, 5 Mar 2006 08:27:14 EST Subject: Cursor not showing up in standalone Message-ID: <289.6ae75f1.313c4132@aol.com> I've tried photocopying the magGlass cursor (black and white 16x16 pixel) and then setting the cursor to the ID of the image, but on my computer (OS X Revolution Studio version 2.7) I still only get a white outline, rather than the graphic. If you are right, Jacquie, that this may be a bug to be fixed in the next update, I'll wait. In the meantime I'm using a workaround. I'm trying to have the user do a mousedown over a small round graphic that indicates the spot to listen to the patient's heart. Once the mouse is down, I wanted the cursor to change to a small stethescope (which looks like the magnifying glass) and then hear the heart sound. Since I can't get the cursor to change to the magnifying glass (Perhaps I've misunderstood Chipp) I can at least issue the command to set the showname of the graphic to true, the name now being "X" (as in "X" marks the spot) letting the user know s/he has correctly clicked at the right spot. The "X" appears with mousedown and disappears (showname false) on mouseUp. Thanks. Steve Goldberg In a message dated 3/4/06 1:19:23 AM, use-revolution-request at lists.runrev.com writes: > Hi Steve, > > I manually copy the cursor to my stacks and assign it an ID I know won't > conflict. > > Then I do: > > set cursor to the id of img "magGlass" > > hth, chipp > > This sounds like the same bug in the standalone builder that prevented copying externals to a standalone. It's been fixed for the next update. -- Jacqueline Landman Gay? ? ? ?? |? ?? jacque at hyperactivesw.com HyperActive Software? ? ? ? ?? |? ?? http://www.hyperactivesw.com > Stgoldberg at aol.com wrote: > > >I hope this is a simple matter and I'm just overlooking the obvious: I'd > like > >the cursor to change to a magnifying glass when the mouse is down, so I've > >written: > > > >on mouseDown > >set cursor to 378 > >set lockcursor true > >end mouseDown > > > >This works fine before the standalone.?? But after the standalone, the > cursor > >does not show up either on the Mac or Windows version (I'm developing on a > >Mac OS X).?? I've also checked off "Select inclusions for the standalone > >application" and "Cursors"?? in the General Standalone Application > Settings.?? Am I > >missing something??? Thanks very much. > >Steve Goldberg > From charles.hartman at conncoll.edu Sun Mar 5 08:41:08 2006 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sun, 5 Mar 2006 08:41:08 -0500 Subject: The End of Dreamcard? In-Reply-To: References: Message-ID: <11D361C9-9D84-46F5-BAE0-FC6727E047C0@conncoll.edu> On Mar 5, 2006, at 12:06 AM, Judy Perry wrote: > --For the price -- roughly half of what Hypercard last sold for -- it > seems fair enough. Which price? $60? yes. $200? no. > Can you do mySQL and CGIs in PowerPoint? (not being > nasty: I really don't know but doubt it as I don't think it has a > scripting language). No. That's exactly my point. In Dreamcard you can. In Media you can't. In this way, at least, Media resembles PowerPoint more than Dreamcard. Charles From ambassador at fourthworld.com Sun Mar 5 11:08:29 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 05 Mar 2006 08:08:29 -0800 Subject: Trying to find Revolution Adventure Game template In-Reply-To: <854646E1-0983-4EAB-BECD-4783A3145F05@xs4all.nl> References: <854646E1-0983-4EAB-BECD-4783A3145F05@xs4all.nl> Message-ID: <440B0CFD.7060109@fourthworld.com> Willem van Heemstra wrote: > Hi, > > I have installed Revolution Media and I am trying to find Revolution > Adventure Game template. > Does anyone know where this template is and how to start building a game > from it? The RunRev site says Revolution Media is not yet available. What exactly do you have? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From WvanHeemstra at xs4all.nl Sun Mar 5 11:14:57 2006 From: WvanHeemstra at xs4all.nl (Willem van Heemstra) Date: Sun, 5 Mar 2006 16:14:57 +0000 Subject: Trying to find Revolution Adventure Game template In-Reply-To: <440B0CFD.7060109@fourthworld.com> References: <854646E1-0983-4EAB-BECD-4783A3145F05@xs4all.nl> <440B0CFD.7060109@fourthworld.com> Message-ID: <3036A449-D08A-485D-B8FE-5D9FF3DCD6EA@xs4all.nl> Hi Richard, I've looked it up.. Revolution Enterprise for Mac OS X (Tiger). Would that help to answer my question? Thanks, Willem Op 5 Mar 2006, om 16:08 heeft Richard Gaskin het volgende geschreven: > Willem van Heemstra wrote: >> Hi, >> I have installed Revolution Media and I am trying to find >> Revolution Adventure Game template. >> Does anyone know where this template is and how to start building >> a game from it? > > The RunRev site says Revolution Media is not yet available. > > What exactly do you have? > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Sun Mar 5 11:28:04 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 05 Mar 2006 08:28:04 -0800 Subject: Trying to find Revolution Adventure Game template In-Reply-To: <3036A449-D08A-485D-B8FE-5D9FF3DCD6EA@xs4all.nl> References: <854646E1-0983-4EAB-BECD-4783A3145F05@xs4all.nl> <440B0CFD.7060109@fourthworld.com> <3036A449-D08A-485D-B8FE-5D9FF3DCD6EA@xs4all.nl> Message-ID: <440B1194.3010706@fourthworld.com> Willem van Heemstra wrote: >>> I have installed Revolution Media and I am trying to find Revolution >>> Adventure Game template. >>> Does anyone know where this template is and how to start building a >>> game from it? >> >> The RunRev site says Revolution Media is not yet available. >> >> What exactly do you have? > > I've looked it up.. Revolution Enterprise for Mac OS X (Tiger). > > Would that help to answer my question? The templates are only available with Media: According to that feature comparison if you pay much more for Studio or Enterprise you actually get less in terms of the templates. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From WvanHeemstra at xs4all.nl Sun Mar 5 11:33:05 2006 From: WvanHeemstra at xs4all.nl (Willem van Heemstra) Date: Sun, 5 Mar 2006 16:33:05 +0000 Subject: Trying to find Revolution Adventure Game template In-Reply-To: <440B1194.3010706@fourthworld.com> References: <854646E1-0983-4EAB-BECD-4783A3145F05@xs4all.nl> <440B0CFD.7060109@fourthworld.com> <3036A449-D08A-485D-B8FE-5D9FF3DCD6EA@xs4all.nl> <440B1194.3010706@fourthworld.com> Message-ID: Oops, so only with Revolution Media the templates are included. Are there examples of how to build an adventure game with Revolution other than the aforementioned templates? I'd like to start of with the basics, haven't build games before... Thanks, Willem Op 5 Mar 2006, om 16:28 heeft Richard Gaskin het volgende geschreven: > Willem van Heemstra wrote: > >>> I have installed Revolution Media and I am trying to find > Revolution > >>> Adventure Game template. > >>> Does anyone know where this template is and how to start > building a > >>> game from it? > >> > >> The RunRev site says Revolution Media is not yet available. > >> > >> What exactly do you have? > > > > I've looked it up.. Revolution Enterprise for Mac OS X (Tiger). > > > > Would that help to answer my question? > > The templates are only available with Media: > > > According to that feature comparison if you pay much more for > Studio or Enterprise you actually get less in terms of the templates. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rcozens at pon.net Sun Mar 5 11:45:59 2006 From: rcozens at pon.net (Rob Cozens) Date: Sun, 5 Mar 2006 08:45:59 -0800 Subject: No OpenStack ..... ! continued In-Reply-To: <1f3c12667ba1490a55b356b076727717@wanadoo.fr> References: <1f3c12667ba1490a55b356b076727717@wanadoo.fr> Message-ID: <860055D6-AC67-11DA-BBA2-0030657E1638@pon.net> Hi Francis, > You wanted my "openStack" script, so here it is. > But I can't see anything in there that can cause > a problem. I hope it is easy to read with the folding. > It works perfectly well when I type "OpenStack" in the > message box (on my Mac). > Does your stack have a preOpenStack or preOpenCard (for card 1) handler? If it does, try running it/them from the Message Window. Both handlers run before openStack, and it has been my experience that errors in preOpenStack handlers may _not_ generate an error message. 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) From revolution at derbrill.de Sun Mar 5 11:55:58 2006 From: revolution at derbrill.de (Malte Brill) Date: Sun, 5 Mar 2006 17:55:58 +0100 Subject: Trying to find Revolution Adventure Game template In-Reply-To: <20060305051113.7B9A8825F8C@mail.runrev.com> Message-ID: Hi Willem, >I'd like to start of with the basics, haven't build games before... I have a few questions if you don?t mind. Are you familiar with Transcript already? What kind of adventures do you want to build? What should the minimal feature set of your adventure offer? Do you want to build adventures only, or games in general? All the best, Malte -- ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From mikeythek at gmail.com Sun Mar 5 12:12:12 2006 From: mikeythek at gmail.com (Mikey) Date: Sun, 5 Mar 2006 12:12:12 -0500 Subject: Trying to find Revolution Adventure Game template In-Reply-To: References: <20060305051113.7B9A8825F8C@mail.runrev.com> Message-ID: <9b408d8e0603050912y46a696f5td420041300e45d5d@mail.gmail.com> You could also do something REALLY crazy and port netHack to RR. NetHack is, IMHO, the best adventure game ever. Try it out at nethack.org NetHack is part of a group of games that descend from a game called Rogue. NetHack is the most popular. There is also a version called Moria. Each one has advantages/disadvantages. All are open source. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rcozens at pon.net Sun Mar 5 12:19:50 2006 From: rcozens at pon.net (Rob Cozens) Date: Sun, 5 Mar 2006 09:19:50 -0800 Subject: Locking Messages In-Reply-To: <86ae76bb0603040957k2fcb93e0sff9c2c1bd50bc2c2@mail.gmail.com> References: <86ae76bb0603032108k2781f65bq9ce75fc5eae55a6e@mail.gmail.com> <57B2D9BC-AB99-11DA-BB8D-0030657E1638@pon.net> <86ae76bb0603040957k2fcb93e0sff9c2c1bd50bc2c2@mail.gmail.com> Message-ID: <40D628A1-AC6C-11DA-BBA2-0030657E1638@pon.net> Bridger, > The thing is a > card may have a handler in it that is triggered, that refers to an > object on > another card. Because it has been seperated from the rest of the > stack, it > can't find that object and it causes errors. Once it is inserted into > the > new stack it should stop causing errors, but until then I need to lock > the > messages to the stack holding the card so it doesn't trigger anything. > I > can't really predict what handlers will be triggered, or what the > errors are > going to be so I can't just intercept them beforehand. Any ideas 1. Isn't it possible to isolate the line in Stack 1's handler where this occurs and lock/unlock messages before/after that line? Eg: on createStackForNetwork stack3CardId .... .... lock messages copy card id stack3CardId of stack "Stack 3" to stack "Stack 2" unlock messages ... ... end createStackForNetwork 2. I'm still having trouble understanding why you can't predict when and what will happen if Stacks 1, 2, & 3 are your creations. Only a limited number of messages might trigger Stack 3 card handlers when the card is copied to Stack 2: newCard, preOpenCard, openCard, and closeCard. If you step through the handler in the debugger with the Message Watcher open, you should be able to determine the line(s) that trigger the problem. 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) From WvanHeemstra at xs4all.nl Sun Mar 5 12:43:41 2006 From: WvanHeemstra at xs4all.nl (Willem van Heemstra) Date: Sun, 5 Mar 2006 17:43:41 +0000 Subject: Trying to find Revolution Adventure Game template In-Reply-To: References: Message-ID: <17FABA45-ADFA-40B3-86BE-5529A8E44D46@xs4all.nl> Thanks Malte, Tio answer your questions: > Are you familiar with Transcript already? No, but I have been a programmer for eight years > What kind of adventures do you want to build? i am thinking of an adventure game where the player is to walk around and solve problems to continue > What should the minimal feature set of your adventure offer? It should offer different environments and dialogue between the player and 'helpers' in the game, also score keeping. > Do you want to build adventures only, or games in general? To set out with an adventure game is what I prefer, no shooting or flying required. No-multiplayer or online gaming either. Cheers, Willem P.S. have you got experience or hints as to how to make such games with Revolution. I had a look at Arcadia, but it doesn't tell me HOW they used Revolution... Op 5 Mar 2006, om 16:55 heeft Malte Brill het volgende geschreven: > Hi Willem, > > >I'd like to start of with the basics, haven't build games before... > > I have a few questions if you don?t mind. > > Are you familiar with Transcript already? > What kind of adventures do you want to build? > What should the minimal feature set of your adventure offer? > Do you want to build adventures only, or games in general? > > All the best, > > Malte > > > -- > ArcadeEngine - prepare to WOW your audience within minutes > http://www.runrev.com/section/revselect/arcadeengine > http://www.derbrill.com/arcadeengine/forum > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jperryl at ecs.fullerton.edu Sun Mar 5 12:54:09 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 5 Mar 2006 09:54:09 -0800 (PST) Subject: The End of Dreamcard? In-Reply-To: <11D361C9-9D84-46F5-BAE0-FC6727E047C0@conncoll.edu> Message-ID: On Sun, 5 Mar 2006, Charles Hartman wrote: > On Mar 5, 2006, at 12:06 AM, Judy Perry wrote: > > > --For the price -- roughly half of what Hypercard last sold for -- it > > seems fair enough. > > Which price? $60? yes. $200? no. Maybe I'm just too bleary-eyed, but isn't Media's price US$49? And Hypercard last sold at US$99? > > Can you do mySQL and CGIs in PowerPoint? (not being > > nasty: I really don't know but doubt it as I don't think it has a > > scripting language). > > No. That's exactly my point. In Dreamcard you can. In Media you > can't. In this way, at least, Media resembles PowerPoint more than > Dreamcard. --Except that Media still has a scripting language. At least, I _think_ it does... I just ordered it for my students, so it had _better_! Judy From jperryl at ecs.fullerton.edu Sun Mar 5 12:58:33 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 5 Mar 2006 09:58:33 -0800 (PST) Subject: Trying to find Revolution Adventure Game template In-Reply-To: <17FABA45-ADFA-40B3-86BE-5529A8E44D46@xs4all.nl> Message-ID: Willem, Do you mean Myst-like games? If so, you're in the right place! Recently, a Myst-esque game was made in Rev called "Alida": http://www.alidagame.com/aboutAlida.html And Myst, of course, was done in Hypercard (with some xtra xcmd help). Judy On Sun, 5 Mar 2006, Willem van Heemstra wrote: From WvanHeemstra at xs4all.nl Sun Mar 5 12:58:54 2006 From: WvanHeemstra at xs4all.nl (Willem van Heemstra) Date: Sun, 5 Mar 2006 17:58:54 +0000 Subject: Trying to find Revolution Adventure Game template In-Reply-To: <9b408d8e0603050912y46a696f5td420041300e45d5d@mail.gmail.com> References: <20060305051113.7B9A8825F8C@mail.runrev.com> <9b408d8e0603050912y46a696f5td420041300e45d5d@mail.gmail.com> Message-ID: Cool, I will try that as well.. Thank you Willem Op 5 Mar 2006, om 17:12 heeft Mikey het volgende geschreven: > You could also do something REALLY crazy and port netHack to RR. > NetHack is, IMHO, the best adventure game ever. > > Try it out at nethack.org > > NetHack is part of a group of games that descend from a game called > Rogue. NetHack is the most popular. There is also a version called > Moria. Each one has advantages/disadvantages. All are open source. > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From WvanHeemstra at xs4all.nl Sun Mar 5 13:10:53 2006 From: WvanHeemstra at xs4all.nl (Willem van Heemstra) Date: Sun, 5 Mar 2006 18:10:53 +0000 Subject: Trying to find Revolution Adventure Game template In-Reply-To: References: Message-ID: <617C53A8-3C8C-4264-B318-87ED9BDF1CE2@xs4all.nl> Thanks Judy, But I cannot seem to find HOW they have used Revolution. As in, what steps to take to build scenes and actions, you see.. That's the kind of information I am looking for. Still, very much appreciated! Cheers, Willem Op 5 Mar 2006, om 17:58 heeft Judy Perry het volgende geschreven: > Willem, > > Do you mean Myst-like games? If so, you're in the right place! > Recently, > a Myst-esque game was made in Rev called "Alida": > > http://www.alidagame.com/aboutAlida.html > > And Myst, of course, was done in Hypercard (with some xtra xcmd help). > > Judy > > On Sun, 5 Mar 2006, Willem van Heemstra wrote: > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mpetrides at earthlink.net Sun Mar 5 13:13:32 2006 From: mpetrides at earthlink.net (Marian Petrides) Date: Sun, 5 Mar 2006 12:13:32 -0600 Subject: Trying to find Revolution Adventure Game template In-Reply-To: <440B1194.3010706@fourthworld.com> References: <854646E1-0983-4EAB-BECD-4783A3145F05@xs4all.nl> <440B0CFD.7060109@fourthworld.com> <3036A449-D08A-485D-B8FE-5D9FF3DCD6EA@xs4all.nl> <440B1194.3010706@fourthworld.com> Message-ID: <15239A06-C489-4193-91CE-77A05A326343@earthlink.net> Does anyone know if the templates for Media will work in Enterprise? Also, will they work with earlier versions of Rev or only with 2.7 (I suspect the latter)? Will the templates be available for sale separate form Media itself. I haven't been programming much lately, so haven't renewed my Rev subscription. If the templates work with pre-2.7 Rev it might be worth my while to buy them just to play around with until I have free time to get back into serious programming (and to justify buying 2.7 license). Thanks. On Mar 5, 2006, at 10:28 AM, Richard Gaskin wrote: > > The templates are only available with Media: > > > According to that feature comparison if you pay much more for > Studio or Enterprise you actually get less in terms of the templates. From soapdog at mac.com Sun Mar 5 13:43:41 2006 From: soapdog at mac.com (Andre Garzia) Date: Sun, 5 Mar 2006 15:43:41 -0300 Subject: revolution engine for 2.7 and cgi deployment. Message-ID: <485925FF-548A-4646-AF48-22392FCB852A@mac.com> Hi there folks, Since I moved on to Rev 2.7, I decided to move my cgi stack to the new stack format of 2.7. Before doing that, I tried to install the engine on my Apache installation on my MacOS X 10.4. The engine is playing dead!!!! A simple console hello world works in 2.6.1 and fails on 2.7, it's not like an error is triggered, the engine simply exits without any output or caring for the stack. I even tried a simple script that would wait for a key press to finish and the 2.7 engine simply exits!!!!! Is this the license issue explained in whats_new.txt? How am I supposed to deploy CGIs using 2.7? I need a license.rev there, if so, how, its a faceless server!! Can someone shed a clue? thanks in advance confused andre From jacque at hyperactivesw.com Sun Mar 5 14:14:54 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 05 Mar 2006 13:14:54 -0600 Subject: revolution engine for 2.7 and cgi deployment. In-Reply-To: <485925FF-548A-4646-AF48-22392FCB852A@mac.com> References: <485925FF-548A-4646-AF48-22392FCB852A@mac.com> Message-ID: <440B38AE.9090307@hyperactivesw.com> Andre Garzia wrote: > Hi there folks, > > Since I moved on to Rev 2.7, I decided to move my cgi stack to the new > stack format of 2.7. Before doing that, I tried to install the engine > on my Apache installation on my MacOS X 10.4. The engine is playing > dead!!!! I'm not sure how cgi will be handled in 2.7, but don't you need the Darwin engine to run on OS X anyway? We don't have a Darwin engine yet for 2.7. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From soapdog at mac.com Sun Mar 5 14:27:40 2006 From: soapdog at mac.com (Andre Garzia) Date: Sun, 5 Mar 2006 16:27:40 -0300 Subject: revolution engine for 2.7 and cgi deployment. In-Reply-To: <440B38AE.9090307@hyperactivesw.com> References: <485925FF-548A-4646-AF48-22392FCB852A@mac.com> <440B38AE.9090307@hyperactivesw.com> Message-ID: <90358485-7EC5-417A-B9A4-70C7E980F9E4@mac.com> Jacque, for the 2.6 release, I just went inside the revolution.app bundle and picked the executable, it works fine as CGI (launch with -ui ) Cheers andre On Mar 5, 2006, at 4:14 PM, J. Landman Gay wrote: > Andre Garzia wrote: >> Hi there folks, >> Since I moved on to Rev 2.7, I decided to move my cgi stack to >> the new stack format of 2.7. Before doing that, I tried to >> install the engine on my Apache installation on my MacOS X 10.4. >> The engine is playing dead!!!! > > I'm not sure how cgi will be handled in 2.7, but don't you need the > Darwin engine to run on OS X anyway? We don't have a Darwin engine > yet for 2.7. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at derbrill.de Sun Mar 5 15:31:07 2006 From: revolution at derbrill.de (Malte Brill) Date: Sun, 5 Mar 2006 21:31:07 +0100 Subject: Trying to find Revolution Adventure Game template In-Reply-To: <20060305051113.7B9A8825F8C@mail.runrev.com> Message-ID: Hi Willem, This mail is just a starter and doesn?t dive too much into technical details and I don?t want it to get too long. Setting up an adventure game like the one you are after in Rev requires some thinking beforehand, that doesn?t deal too much with the development environment, or the scripting language, but mostly with artwork and game logic. You will need some catchy images of the locations you like to present. Once you have rendered your artwork in an image editor or 3d program you can start using Rev to glue it all together and add your game logic. It is a good idea to render the images as close to desired output resolution as possible, as you can save a lot of execution time if you don?t need to resize the images within Rev. Each game location can be on a different card. You need to write a bit of scipt that allows the user to Navigate through your game and a method to store a map of your game. Coming up with a method for map storage will be one of the hardest parts in the creation and I am afraid there is no really good out of the box recipe for it. It could be done in a custom property or an array or simply by using a clever naming convention for your cards. The method you prefer is a matter of taste I think and all have advantages and disadvantages. Usually you might want to allow users using the mouse or arrowkeys to navigate through your game. (see mouseMove, mouseDown, mouseUp, mouseRelease, mouseLoc and arrowkey in the dictionary) You can navigate between that locations fairly easy with not too much script (see go in the dictionary) if you are sure of the method to store your game map and retrieve he next location from it, depending on user action. Once you have the Navigation set up you might want to add interactivity to your game. On each card you can place objects that work as hotSpot areas. If you click on one of these areas a script will be executed. For example you can show a text message or start playing a Quicktime movie. Those areas could be almost any control you find in Rev. You might either have visible Hotspots, e.g. an image of a sword, or invisible objects. To make an invisible object respond to mouseClicks, I suggest setting it?s ink property to noop. Such an object can be layered on top of any area of your background image and if you choose to use a graphic it can be shaped irregulary. On the other hand if you use visible controls layered on top it is easier to move them around. I recommend doing a few test stacks to get warm with the language first. There is quite a lot stuff to read around. A very good place to start are the scripting conferences stacks found on Runrevs homepage. [blow my own horn mode] You might be interested in looking at a free little eBook I wrote, that deals with some of the basics of the language and an in dephs tutorial of ArcadeEngine that might interest you later, but weighting is almost 50% for the basics to 50% for ArcadeEngine. you find links to it here: http://www.derbrill.de/tutorials_e.html [/blow my own horn mode] Hope that helps, malte -- ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From ambassador at fourthworld.com Sun Mar 5 15:43:33 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 05 Mar 2006 12:43:33 -0800 Subject: Trying to find Revolution Adventure Game template In-Reply-To: References: Message-ID: <440B4D75.9050009@fourthworld.com> Malte Brill wrote: > Setting up an adventure game like the one you are after in Rev requires > some thinking beforehand, that doesn?t deal too much with the > development environment, or the scripting language, but mostly with > artwork and game logic. Some of the goodies here may be of interest: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From 3mcgrath at adelphia.net Sun Mar 5 15:53:21 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sun, 5 Mar 2006 15:53:21 -0500 Subject: Trying to find Revolution Adventure Game template In-Reply-To: References: <854646E1-0983-4EAB-BECD-4783A3145F05@xs4all.nl> <440B0CFD.7060109@fourthworld.com> <3036A449-D08A-485D-B8FE-5D9FF3DCD6EA@xs4all.nl> <440B1194.3010706@fourthworld.com> Message-ID: Willem, You first have to know which type of games you want to build. If you are interested in Arcade type games or games with a lot of action then you 'must' get Arcadia Engine for use with Rev. If you are interested in other games there are a lot of examples in the various user web sites of some of the great users on this list and listed on the Rev website. I'm sure you could also wait for the release of Media and try that template out. Tom On Mar 5, 2006, at 11:33 AM, Willem van Heemstra wrote: > Oops, so only with Revolution Media the templates are included. > > Are there examples of how to build an adventure game with > Revolution other than the aforementioned templates? > > I'd like to start of with the basics, haven't build games before... > > Thanks, > > Willem > > Op 5 Mar 2006, om 16:28 heeft Richard Gaskin het volgende geschreven: > >> Willem van Heemstra wrote: >> >>> I have installed Revolution Media and I am trying to find >> Revolution >> >>> Adventure Game template. >> >>> Does anyone know where this template is and how to start >> building a >> >>> game from it? >> >> >> >> The RunRev site says Revolution Media is not yet available. >> >> >> >> What exactly do you have? >> > >> > I've looked it up.. Revolution Enterprise for Mac OS X (Tiger). >> > >> > Would that help to answer my question? >> >> The templates are only available with Media: >> >> >> According to that feature comparison if you pay much more for >> Studio or Enterprise you actually get less in terms of the templates. >> >> -- >> Richard Gaskin >> Managing Editor, revJournal >> _______________________________________________________ >> Rev tips, tutorials and more: http://www.revJournal.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at 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 3mcgrath at adelphia.net 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 From psahores at easynet.fr Sun Mar 5 16:19:25 2006 From: psahores at easynet.fr (Pierre Sahores) Date: Sun, 5 Mar 2006 22:19:25 +0100 Subject: revolution engine for 2.7 and cgi deployment. In-Reply-To: <485925FF-548A-4646-AF48-22392FCB852A@mac.com> References: <485925FF-548A-4646-AF48-22392FCB852A@mac.com> Message-ID: Hi Andre, I don't know if this can realy help in your precise case but Rev 2.7 entreprise is well running there in launching my web applications servers stacks as expected. Have an eye at my DSL home server to see if you can find some usables infos (downloadable example app avaiaible at the top right corner of the first page). Best Regards, Le 5 mars 06 ? 19:43, Andre Garzia a ?crit : > Hi there folks, > > Since I moved on to Rev 2.7, I decided to move my cgi stack to the > new stack format of 2.7. Before doing that, I tried to install the > engine on my Apache installation on my MacOS X 10.4. The engine is > playing dead!!!! A simple console hello world works in 2.6.1 and > fails on 2.7, it's not like an error is triggered, the engine > simply exits without any output or caring for the stack. I even > tried a simple script that would wait for a key press to finish and > the 2.7 engine simply exits!!!!! > > Is this the license issue explained in whats_new.txt? How am I > supposed to deploy CGIs using 2.7? I need a license.rev there, if > so, how, its a faceless server!! Can someone shed a clue? > > thanks in advance > > confused > andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From christian.langers at education.lu Sun Mar 5 16:25:50 2006 From: christian.langers at education.lu (Christian Langers) Date: Sun, 5 Mar 2006 22:25:50 +0100 Subject: spit out on change Message-ID: <323EA8FE-63EE-4720-8234-0CD591509B5F@education.lu> Hello all, I have a project where the standalone spits all important components (here images) out to the disk every time it starts up. Now I wanted to speed up the startup of my app. So I think that the important components will only be spitted out at the first run. The problem is that I want the app to be safe (I do not want that an important and necessary component will be inadvertently deleted or changed), as children and non computer geeks will work with it. So, for the moment the app spits out the components at startup and deletes them when quitting. But I want to change this procedure : the app should only spit out components if there had been changes in the component folders... What methods should I use : checking timestamp of the folders on disk ?(how does one do that ?) Checking the number of files in folders ? ... If anyone had an idea about this, I would be thankful to read about it ;-) Thanks, Christian from Luxembourg From revolutionary.dan at gmail.com Sun Mar 5 17:38:45 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Sun, 5 Mar 2006 14:38:45 -0800 Subject: Regular Expression Pattern Collection Message-ID: <70ed6b130603051438k6145826bwf6821b1292eda1ae@mail.gmail.com> Just stumbled across this site and thought I'd share it. It has over 1,000 regular expression strings for matching a whole slew of common things you need these ugly beasties to do for you. http://regexlib.com/ -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From JimAultWins at yahoo.com Sun Mar 5 17:59:33 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 05 Mar 2006 14:59:33 -0800 Subject: Regular Expression Pattern Collection In-Reply-To: <70ed6b130603051438k6145826bwf6821b1292eda1ae@mail.gmail.com> Message-ID: On 3/5/06 2:38 PM, "Dan Shafer" wrote: > Just stumbled across this site and thought I'd share it. It has over 1,000 > regular expression strings for matching a whole slew of common things you > need these ugly beasties to do for you. > > http://regexlib.com/ > Great site! Thanks Dan. Jim Ault Las Vegas From JimAultWins at yahoo.com Sun Mar 5 18:28:35 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 05 Mar 2006 15:28:35 -0800 Subject: FW: Way to do RegEx substring replacements? Solution (looks good) In-Reply-To: Message-ID: Done off list, but I thought this might be helpful to someone out there. Jim Ault ------ Forwarded Message From: Jim Ault Date: Sun, 05 Mar 2006 14:56:21 -0800 To: Jim Witte Conversation: Way to do RegEx substring replacements? Subject: Re: Way to do RegEx substring replacements? On 3/5/06 1:06 PM, "Jim Witte" wrote: > > The blocks that I have are lines of assembly in the form of > 0025FE2F mov r1, [r2, lsl #2] | FE32FDB - ..D. > > I want to get rid of everything after the last bit of the assembly > code, and isolate the address of the line. In TextWrangler, I could > use a RegEx/replace similar to the I listed above to get rid of the > 'end part' after the '|' character, and then use a search for \s*\r > and replace with \r to get rid of the trailing spaces. I've got > everything working now in RunRev, except getting rid of the trailing > spaces, while I'll do in TextWrangler. Hey, Jim (nice name) Test my solution quickly by doing two things: Make a new mainstack, then set the script to the following => dbl click ----- start copy ------------------------- on mouseDoubleUp put "0025FE2F mov r1, [r2, lsl #2] | FE32FDB - ..D" into tempp put the ticks into startt put 5000 into lineCnt repeat lineCnt put tempp & cr after block end repeat put the ticks - startt into elapsed answer "Done building " &lineCnt & " lines " && elapsed && "ticks" put the ticks into startt get replaceText( block,"\|","MMMM") get replaceText(it,"].*MMMM .*","]") put the ticks - startt into elapsed put it -- result is in the msg box answer "Done replace 2x in " &lineCnt & " lines " && elapsed && "ticks" --my answer = 44 ticks end mouseDoubleUp -------- end copy ----------------- My result on a Mac G5 dual 2.0 was 0 ticks to create 5000 lines, and 44 ticks to do the replaceText. All I was able to figure out is that something about the line of text confuses the RegEx routine so that selection of the correct text is thwarted. The double replace Hope this works for you. Of course, you could use anything in place of the "MMMM" string to remain unique. It is just a place holder. Jim Ault Las Vegas ------ End of Forwarded Message From kray at sonsothunder.com Sun Mar 5 18:35:07 2006 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 05 Mar 2006 17:35:07 -0600 Subject: Regular Expression Pattern Collection In-Reply-To: <70ed6b130603051438k6145826bwf6821b1292eda1ae@mail.gmail.com> Message-ID: On 3/5/06 4:38 PM, "Dan Shafer" wrote: > Just stumbled across this site and thought I'd share it. It has over 1,000 > regular expression strings for matching a whole slew of common things you > need these ugly beasties to do for you. > > http://regexlib.com/ Great site! I'd also recomment: http://www.regular-expressions.info/ Which has a very deep tutorial on RegEx and how to build patterns correctly. It's a must read, IMHO! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From WvanHeemstra at xs4all.nl Sun Mar 5 19:24:44 2006 From: WvanHeemstra at xs4all.nl (Willem van Heemstra) Date: Mon, 6 Mar 2006 00:24:44 +0000 Subject: Trying to find Revolution Adventure Game template In-Reply-To: <440B4D75.9050009@fourthworld.com> References: <440B4D75.9050009@fourthworld.com> Message-ID: Thanks Richard, I will read the Myst proposal [see underneath link] to get a feel as to how to make my game developers enthusiastic about my ideas! http://tinselman.typepad.com/tinselman/2005/06/myst_game_desig.html Thanks a lot for pointing me to this site! Willem Op 5 Mar 2006, om 20:43 heeft Richard Gaskin het volgende geschreven: > Malte Brill wrote: >> Setting up an adventure game like the one you are after in Rev >> requires some thinking beforehand, that doesn?t deal too much with >> the development environment, or the scripting language, but mostly >> with artwork and game logic. > > Some of the goodies here may be of interest: > > > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From WvanHeemstra at xs4all.nl Sun Mar 5 19:27:09 2006 From: WvanHeemstra at xs4all.nl (Willem van Heemstra) Date: Mon, 6 Mar 2006 00:27:09 +0000 Subject: Trying to find Revolution Adventure Game template In-Reply-To: References: <854646E1-0983-4EAB-BECD-4783A3145F05@xs4all.nl> <440B0CFD.7060109@fourthworld.com> <3036A449-D08A-485D-B8FE-5D9FF3DCD6EA@xs4all.nl> <440B1194.3010706@fourthworld.com> Message-ID: <59FF69E7-5ADD-46CA-A094-9270DFC0F9A8@xs4all.nl> Thank you Tom, Do you know how the template is going to cover all different kinds of games? I have decided on an adventure game, which is mostly about solving problems and moving ahead. Cheers, Willem P.S. See my recent reply to Judy for full coverage of my game plan. Op 5 Mar 2006, om 20:53 heeft Thomas McGrath III het volgende geschreven: > Willem, > > You first have to know which type of games you want to build. If > you are interested in Arcade type games or games with a lot of > action then you 'must' get Arcadia Engine for use with Rev. If you > are interested in other games there are a lot of examples in the > various user web sites of some of the great users on this list and > listed on the Rev website. I'm sure you could also wait for the > release of Media and try that template out. > > Tom > > On Mar 5, 2006, at 11:33 AM, Willem van Heemstra wrote: > >> Oops, so only with Revolution Media the templates are included. >> >> Are there examples of how to build an adventure game with >> Revolution other than the aforementioned templates? >> >> I'd like to start of with the basics, haven't build games before... >> >> Thanks, >> >> Willem >> >> Op 5 Mar 2006, om 16:28 heeft Richard Gaskin het volgende geschreven: >> >>> Willem van Heemstra wrote: >>> >>> I have installed Revolution Media and I am trying to find >>> Revolution >>> >>> Adventure Game template. >>> >>> Does anyone know where this template is and how to start >>> building a >>> >>> game from it? >>> >> >>> >> The RunRev site says Revolution Media is not yet available. >>> >> >>> >> What exactly do you have? >>> > >>> > I've looked it up.. Revolution Enterprise for Mac OS X (Tiger). >>> > >>> > Would that help to answer my question? >>> >>> The templates are only available with Media: >>> >>> >>> According to that feature comparison if you pay much more for >>> Studio or Enterprise you actually get less in terms of the >>> templates. >>> >>> -- >>> Richard Gaskin >>> Managing Editor, revJournal >>> _______________________________________________________ >>> Rev tips, tutorials and more: http://www.revJournal.com >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 > 3mcgrath at adelphia.net > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From WvanHeemstra at xs4all.nl Sun Mar 5 19:34:19 2006 From: WvanHeemstra at xs4all.nl (Willem van Heemstra) Date: Mon, 6 Mar 2006 00:34:19 +0000 Subject: Fwd: Trying to find Revolution Adventure Game template References: <7A8E98DA-B862-4047-8524-4358E21A36A1@xs4all.nl> Message-ID: >> OK Judy, >> >> Here we go... are you ready? >> >> The game is called 'Appearance' and its goal is to find clothes >> that make you, as a player, the most appealing/fashionable/ >> handsome/you name it. >> So YOU are the player, you tell the game what are the colors of >> your eyes, hair and skin. Taken these pieces of information >> together the game will do a color analysis and find colors that >> would suit you best. For example, I have brown hair and a light >> skin + blue eyes. Color analysis says I shouldn't wear orange, >> because that will make me look pale... >> >> Get the idea? >> >> So in the game YOU are helped by a 'tailor' who will help you >> select the right (color of) clothes. >> >> But to answer your question the very first window of the game will >> show 2 doors; one for girls to enter the other one for boys to enter. >> Each door leads to a (girl/boy) room, accompanied by (girl/boy) >> things like music, posters and a wardrobe. Also a mirror in which >> YOU can build up the 'figure' that matches YOU figure, such as >> tall, short, wide hips, long arms etc. All these facts are taken >> into account as to determine the clothes that would make YOU look >> the most handsome. A tall woman for example shouldn't wear long >> dresses of which the top is equal in color and texture as the >> robe; because it will over exaggerate her length. >> >> Each object in the room discloses aspects of 'clothing >> guidelines', and after having gone through all of them, YOU are >> walking the catwalk and be assessed by a jury (a funny one of >> course). They (that is, the game) will give points, the more >> handsome, the more points. Finally, YOU can make a print out of >> all the clothing advice that addresses YOU and use it when going >> out to shop for YOUR clothes. That is the benefit to the player, >> ultimately, besides having lots of fun. >> >> Quite a long story... see enclosed pictures [AWAITING APPROVAL BY >> MODERATOR] to give you a clue as to what it might look like... >> >> Thank Judy, for thinking along the lines with me! >> >> Willem >> >> >> Op 5 Mar 2006, om 18:13 heeft Judy Perry het volgende geschreven: >> >>> Willem, >>> >>> Can you explain a sample one or two scene scenario, complete >>> with options >>> (what they user can do, what you would like to happen as a >>> result, etc.)? >>> >>> I'll try to throw together a little Rev stack for you based upon >>> that (if >>> I can!) and we can dialogue further! >>> >>> Judy >>> >>> On Sun, 5 Mar 2006, Willem van Heemstra wrote: >>> >>>> Thanks Judy, >>>> >>>> But I cannot seem to find HOW they have used Revolution. >>>> As in, what steps to take to build scenes and actions, you see.. >>>> >>>> That's the kind of information I am looking for. >>>> >>>> Still, very much appreciated! >>>> >>>> Cheers, >>>> >>>> Willem >>>> >>>> >>>> >>>> Op 5 Mar 2006, om 17:58 heeft Judy Perry het volgende geschreven: >>>> >>>>> Willem, >>>>> >>>>> Do you mean Myst-like games? If so, you're in the right place! >>>>> Recently, >>>>> a Myst-esque game was made in Rev called "Alida": >>>>> >>>>> http://www.alidagame.com/aboutAlida.html >>>>> >>>>> And Myst, of course, was done in Hypercard (with some xtra xcmd >>>>> help). >>>>> >>>>> Judy >>>>> >>>>> On Sun, 5 Mar 2006, Willem van Heemstra wrote: >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at 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 at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>> >>> >> > From simplsol at aol.com Sun Mar 5 19:44:47 2006 From: simplsol at aol.com (simplsol at aol.com) Date: Sun, 05 Mar 2006 19:44:47 -0500 Subject: Regular Expression Pattern Collection In-Reply-To: Message-ID: <8C80ECE4DC4C8F8-148-16E72@mblk-r43.sysops.aol.com> Ken, Indeed an excellent site. A "must visit" for non-pros, as well. Propably a "multiple must visit". Paul Looney -----Original Message----- From: Ken Ray To: Use Revolution List Sent: Sun, 05 Mar 2006 17:35:07 -0600 Subject: Re: Regular Expression Pattern Collection On 3/5/06 4:38 PM, "Dan Shafer" wrote: > Just stumbled across this site and thought I'd share it. It has over 1,000 > regular expression strings for matching a whole slew of common things you > need these ugly beasties to do for you. > > http://regexlib.com/ Great site! I'd also recomment: http://www.regular-expressions.info/ Which has a very deep tutorial on RegEx and how to build patterns correctly. It's a must read, IMHO! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bridgeyman at gmail.com Sun Mar 5 19:53:22 2006 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Sun, 5 Mar 2006 17:53:22 -0700 Subject: Locking Messages In-Reply-To: <40D628A1-AC6C-11DA-BBA2-0030657E1638@pon.net> References: <86ae76bb0603032108k2781f65bq9ce75fc5eae55a6e@mail.gmail.com> <57B2D9BC-AB99-11DA-BB8D-0030657E1638@pon.net> <86ae76bb0603040957k2fcb93e0sff9c2c1bd50bc2c2@mail.gmail.com> <40D628A1-AC6C-11DA-BBA2-0030657E1638@pon.net> Message-ID: <86ae76bb0603051653m1dab9143r628a3d19665fac0c@mail.gmail.com> Thanks, I think that might work. I need to try it out. The reason I can't know what is triggering the problem is because my stack is made to work with any card, and every time I use it I am sending a different card with different handlers in it accross the network. Most of the errors are from the openCard, preOpenCard and such, but because I am working with a lot of different cards from any stack a mouseover handler might be in there, or maybe an idle. My stack has to be able to deal with anything. On 3/5/06, Rob Cozens wrote: > > > Bridger, > > > The thing is a > > card may have a handler in it that is triggered, that refers to an > > object on > > another card. Because it has been seperated from the rest of the > > stack, it > > can't find that object and it causes errors. Once it is inserted into > > the > > new stack it should stop causing errors, but until then I need to lock > > the > > messages to the stack holding the card so it doesn't trigger anything. > > I > > can't really predict what handlers will be triggered, or what the > > errors are > > going to be so I can't just intercept them beforehand. Any ideas > > 1. Isn't it possible to isolate the line in Stack 1's handler where > this occurs and lock/unlock messages before/after that line? > > Eg: > > on createStackForNetwork stack3CardId > .... > .... > lock messages > copy card id stack3CardId of stack "Stack 3" to stack "Stack 2" > unlock messages > ... > ... > end createStackForNetwork > > 2. I'm still having trouble understanding why you can't predict when > and what will happen if Stacks 1, 2, & 3 are your creations. Only a > limited number of messages might trigger Stack 3 card handlers when the > card is copied to Stack 2: newCard, preOpenCard, openCard, and > closeCard. If you step through the handler in the debugger with the > Message Watcher open, you should be able to determine the line(s) that > trigger the problem. > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From 3mcgrath at adelphia.net Sun Mar 5 20:22:52 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sun, 5 Mar 2006 20:22:52 -0500 Subject: Trying to find Revolution Adventure Game template In-Reply-To: <59FF69E7-5ADD-46CA-A094-9270DFC0F9A8@xs4all.nl> References: <854646E1-0983-4EAB-BECD-4783A3145F05@xs4all.nl> <440B0CFD.7060109@fourthworld.com> <3036A449-D08A-485D-B8FE-5D9FF3DCD6EA@xs4all.nl> <440B1194.3010706@fourthworld.com> <59FF69E7-5ADD-46CA-A094-9270DFC0F9A8@xs4all.nl> Message-ID: <0B5656F0-84DA-4B45-9020-069F5A775A4F@adelphia.net> I think you might be on the right track with an adventure game. tom On Mar 5, 2006, at 7:27 PM, Willem van Heemstra wrote: > Thank you Tom, > > Do you know how the template is going to cover all different kinds > of games? > I have decided on an adventure game, which is mostly about solving > problems and moving ahead. > > Cheers, > > Willem > > P.S. See my recent reply to Judy for full coverage of my game plan. > > Op 5 Mar 2006, om 20:53 heeft Thomas McGrath III het volgende > geschreven: > >> Willem, >> >> You first have to know which type of games you want to build. If >> you are interested in Arcade type games or games with a lot of >> action then you 'must' get Arcadia Engine for use with Rev. If you >> are interested in other games there are a lot of examples in the >> various user web sites of some of the great users on this list and >> listed on the Rev website. I'm sure you could also wait for the >> release of Media and try that template out. >> >> Tom >> >> On Mar 5, 2006, at 11:33 AM, Willem van Heemstra wrote: >> >>> Oops, so only with Revolution Media the templates are included. >>> >>> Are there examples of how to build an adventure game with >>> Revolution other than the aforementioned templates? >>> >>> I'd like to start of with the basics, haven't build games before... >>> >>> Thanks, >>> >>> Willem >>> >>> Op 5 Mar 2006, om 16:28 heeft Richard Gaskin het volgende >>> geschreven: >>> >>>> Willem van Heemstra wrote: >>>> >>> I have installed Revolution Media and I am trying to find >>>> Revolution >>>> >>> Adventure Game template. >>>> >>> Does anyone know where this template is and how to start >>>> building a >>>> >>> game from it? >>>> >> >>>> >> The RunRev site says Revolution Media is not yet available. >>>> >> >>>> >> What exactly do you have? >>>> > >>>> > I've looked it up.. Revolution Enterprise for Mac OS X (Tiger). >>>> > >>>> > Would that help to answer my question? >>>> >>>> The templates are only available with Media: >>>> >>>> >>>> According to that feature comparison if you pay much more for >>>> Studio or Enterprise you actually get less in terms of the >>>> templates. >>>> >>>> -- >>>> Richard Gaskin >>>> Managing Editor, revJournal >>>> _______________________________________________________ >>>> Rev tips, tutorials and more: http://www.revJournal.com >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at 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 at 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 >> 3mcgrath at adelphia.net >> >> 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 at 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 at 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 3mcgrath at adelphia.net 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 From gandalf at doctorTimothyMiller.com Sun Mar 5 20:23:31 2006 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sun, 5 Mar 2006 17:23:31 -0800 Subject: The End of Dreamcard? In-Reply-To: References: Message-ID: --snip about 50 messages-- I shoulda asked a simpler question! I read this whole thread the best I could. Maybe I overlooked it, but I still don't know the answer to my main question, which should have been: I have a bunch of stacks that began in Hypercard, then got modified and extended in Dreamcard. They don't use every command and function in the catalog, but they are fairly complex. When Dreamcard is no more, what will I have to buy so that I can continue entering and changing data, and modifying and extending the stacks? It looks like the answer is Studio, but I'm not sure. I hope someone will clarify that. If the answer is "Studio," then an editorial follows. Otherwise, ignore subsequent lines. If I have to buy Studio, I will buy it. I have no choice, really. If so, the cost is annoyingly high, but not the main problem. The main problem is that I will be driving a V-12 Jaguar down the block to the convenience store. This couldn't be a good thing for me, or users like me. I can't spend the rest of my life chasing ever new and more complex technology, just so I can run a fairly simple sole-proprietor business. I can't anxiously scan a list like this every day for the rest of my life, just to keep up with the technology, so I can continue running simple stacks. But I can't allow my stacks to become obsolete, either. Starting over with paper and pencil, or hand-entering all my data into some shabby one-size-fits-all commercial product is not very attractive. That's why I switched from hyperCard to Dreamcard. What ever happened to "a computer as easy to use as a toaster" ? :-( Sad to say, I kinda thought Dreamcard would be resurrecting that quaint idea. I guess I might be a compared to a guy who built his first few automobiles by hand in his spare time, out in the barn. At some point, that just isn't feasible anymore, unless it becomes a profession, or full-time hobby, or you become an old coot with nothing better to do. Tim From kee at kagi.com Sun Mar 5 22:19:47 2006 From: kee at kagi.com (kee nethery) Date: Sun, 5 Mar 2006 19:19:47 -0800 Subject: revolution engine for 2.7 and cgi deployment. In-Reply-To: <485925FF-548A-4646-AF48-22392FCB852A@mac.com> References: <485925FF-548A-4646-AF48-22392FCB852A@mac.com> Message-ID: does this mean the RunRev KRM is out for testing? Kee From 3mcgrath at adelphia.net Sun Mar 5 22:27:02 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sun, 5 Mar 2006 22:27:02 -0500 Subject: The End of Dreamcard? In-Reply-To: References: Message-ID: <9DC5E784-E242-4435-90E4-E5BEAFCF4746@adelphia.net> Tim, If you just want to maintain your existing stacks why not just keep using the version of Dreamcard that you have? Why upgrade at all? If you're looking to keep upgrading to newer and better technology, features and bug fixes than just upgrade to Studio? The price is not really that high. To use your analogy it would not cost more than a good set of wrenches or even new tires. Tom On Mar 5, 2006, at 8:23 PM, Timothy Miller wrote: > --snip about 50 messages-- > > I shoulda asked a simpler question! > > I read this whole thread the best I could. Maybe I overlooked it, > but I still don't know the answer to my main question, which should > have been: > > I have a bunch of stacks that began in Hypercard, then got modified > and extended in Dreamcard. They don't use every command and > function in the catalog, but they are fairly complex. When > Dreamcard is no more, what will I have to buy so that I can > continue entering and changing data, and modifying and extending > the stacks? > > It looks like the answer is Studio, but I'm not sure. > > I hope someone will clarify that. > > If the answer is "Studio," then an editorial follows. Otherwise, > ignore subsequent lines. > > If I have to buy Studio, I will buy it. I have no choice, really. > If so, the cost is annoyingly high, but not the main problem. The > main problem is that I will be driving a V-12 Jaguar down the block > to the convenience store. This couldn't be a good thing for me, or > users like me. > > I can't spend the rest of my life chasing ever new and more complex > technology, just so I can run a fairly simple sole-proprietor > business. I can't anxiously scan a list like this every day for the > rest of my life, just to keep up with the technology, so I can > continue running simple stacks. > > But I can't allow my stacks to become obsolete, either. Starting > over with paper and pencil, or hand-entering all my data into some > shabby one-size-fits-all commercial product is not very attractive. > That's why I switched from hyperCard to Dreamcard. > > What ever happened to "a computer as easy to use as a toaster" ? :- > ( Sad to say, I kinda thought Dreamcard would be resurrecting that > quaint idea. > > I guess I might be a compared to a guy who built his first few > automobiles by hand in his spare time, out in the barn. At some > point, that just isn't feasible anymore, unless it becomes a > profession, or full-time hobby, or you become an old coot with > nothing better to do. > > > Tim > _______________________________________________ > use-revolution mailing list > use-revolution at 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 3mcgrath at adelphia.net 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 From darkshadow1 at metrocast.net Sun Mar 5 23:29:23 2006 From: darkshadow1 at metrocast.net (Preston Shea) Date: Sun, 5 Mar 2006 23:29:23 -0500 Subject: formatted width Message-ID: <002201c640d6$8d091700$6501a8c0@new0eeca32bb97> Is there a trick to using the formatted width property? On longer text fields this command doesn't seem to work the way I want, cutting the text into two lines. Must be something I'm doing, but I can't figure out what. From martinblackman at gmail.com Sun Mar 5 23:46:46 2006 From: martinblackman at gmail.com (Martin Blackman) Date: Mon, 6 Mar 2006 12:46:46 +0800 Subject: formatted width In-Reply-To: <002201c640d6$8d091700$6501a8c0@new0eeca32bb97> References: <002201c640d6$8d091700$6501a8c0@new0eeca32bb97> Message-ID: <79d1bee70603052046p7d26a6eep@mail.gmail.com> Is the card with the field of interest at toplevel when you're getting the formattedwidth? On 06/03/06, Preston Shea wrote: > Is there a trick to using the formatted width property? On longer text fields this command doesn't seem to work the way I want, cutting the text into two lines. Must be something I'm doing, but I can't figure out what. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From tsj at unimelb.edu.au Mon Mar 6 00:00:18 2006 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 6 Mar 2006 16:00:18 +1100 Subject: Storing preferences data on Windows PCs In-Reply-To: <20060201091715.84D69825009@mail.runrev.com> References: <20060201091715.84D69825009@mail.runrev.com> Message-ID: I've got the Mac side of things covered but where do people usually store user preferences on Window's PCs? Is (from the Microsoft Library)... CSIDL_APPDATA?(0x001a) Version 4.71. The file system directory that serves as a common repository for application-specific data. A typical path is C:\Documents and Settings\username\Application Data. ...the most appropriate location or are there better spots? TIA, Terry... Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA From rishi at puredata.com.au Mon Mar 6 00:04:41 2006 From: rishi at puredata.com.au (Rishi Viner) Date: Mon, 6 Mar 2006 16:04:41 +1100 Subject: The End of Dreamcard? In-Reply-To: References: Message-ID: <200603061604.42066.rishi@puredata.com.au> Hi Timothy, > I have a bunch of stacks that began in Hypercard, then got modified > and extended in Dreamcard. They don't use every command and function > in the catalog, but they are fairly complex. When Dreamcard is no > more, what will I have to buy so that I can continue entering and > changing data, and modifying and extending the stacks? > > It looks like the answer is Studio, but I'm not sure. I'm in the same boat too. I could use Media, except for the lack of database support... If you need database support, you had better go Studio. > If the answer is "Studio," then an editorial follows. Otherwise, > ignore subsequent lines. > > If I have to buy Studio, I will buy it. I have no choice, really. If > so, the cost is annoyingly high, but not the main problem. The main > problem is that I will be driving a V-12 Jaguar down the block to the > convenience store. This couldn't be a good thing for me, or users > like me. Here here! I'm in Australia and 199UK Pounds is a LOT of money for me and my small business. Especially when you consider Dreamcard met my needs perfectly. I don't doubt that Studio is worth 199UK. I'm just complaining that I need to buy Studio when Dreamcard is doing me just fine! > I can't spend the rest of my life chasing ever new and more complex > technology, just so I can run a fairly simple sole-proprietor > business. I can't anxiously scan a list like this every day for the > rest of my life, just to keep up with the technology, so I can > continue running simple stacks. > > But I can't allow my stacks to become obsolete, either. Starting over > with paper and pencil, or hand-entering all my data into some shabby > one-size-fits-all commercial product is not very attractive. That's > why I switched from hyperCard to Dreamcard. Yep. We must be the demographic that just got overlooked. -- Rishi Viner -------------- Australia From scott at proherp.com Mon Mar 6 00:34:01 2006 From: scott at proherp.com (Scott Kane) Date: Mon, 6 Mar 2006 16:34:01 +1100 Subject: Field Building Tool Message-ID: <002601c640df$950fe790$0201010a@royalnexus> Hi folks, I downloaded, a while back, a really cool tool (stack) that allowed you to name and then create the fields on a card. I've misplaced this little gem and wondered if anybody could point me in the right direction for it - I can't recall what it was called. TIA Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 3/03/2006 From sarah.reichelt at gmail.com Mon Mar 6 00:36:36 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 6 Mar 2006 15:36:36 +1000 Subject: formatted width In-Reply-To: <002201c640d6$8d091700$6501a8c0@new0eeca32bb97> References: <002201c640d6$8d091700$6501a8c0@new0eeca32bb97> Message-ID: On 3/6/06, Preston Shea wrote: > Is there a trick to using the formatted width property? On longer text fields this command doesn't seem to work the way I want, cutting the text into two lines. Must be something I'm doing, but I can't figure out what. I think you must have dontWrap set to true for the field, otherwise it doesn't give meaningful answers. HTH, Sarah From sarah.reichelt at gmail.com Mon Mar 6 00:39:09 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 6 Mar 2006 15:39:09 +1000 Subject: Storing preferences data on Windows PCs In-Reply-To: References: <20060201091715.84D69825009@mail.runrev.com> Message-ID: On 3/6/06, Terry Judd wrote: > I've got the Mac side of things covered but where do people usually > store user preferences on Window's PCs? > > Is (from the Microsoft Library)... > > CSIDL_APPDATA(0x001a) > Version 4.71. The file system directory that serves as a common > repository for application-specific data. A typical path is > C:\Documents and Settings\username\Application Data. > You can get it using: specialFolderPath(26) This gives you the Application Data folder for the current user (I think). Don't use specialFolderPath("Preferences") because on Windows, this just gives you the root directory. Cheers, Sarah From soapdog at mac.com Mon Mar 6 00:40:53 2006 From: soapdog at mac.com (Andre Garzia) Date: Mon, 6 Mar 2006 02:40:53 -0300 Subject: revolution engine for 2.7 and cgi deployment. In-Reply-To: References: <485925FF-548A-4646-AF48-22392FCB852A@mac.com> Message-ID: <827645F1-3DC6-4AB6-887E-C19D0D168222@mac.com> Kee, I am more than 8 hours fixing the krm for testing. I have a little krm server cgi here that I sometimes use for testing for I don't want to clog the real krm server with bogus data. I tried debugging my cgi stacks in 2.7 and they stopped working... I am stopping for today. I'll send you an alpha tomorrow... it's not optmized for speed though. thanks for waiting cheers andre On Mar 6, 2006, at 12:19 AM, kee nethery wrote: > does this mean the RunRev KRM is out for testing? > Kee > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Mon Mar 6 00:43:12 2006 From: soapdog at mac.com (Andre Garzia) Date: Mon, 6 Mar 2006 02:43:12 -0300 Subject: revolution engine for 2.7 and cgi deployment. In-Reply-To: <827645F1-3DC6-4AB6-887E-C19D0D168222@mac.com> References: <485925FF-548A-4646-AF48-22392FCB852A@mac.com> <827645F1-3DC6-4AB6-887E-C19D0D168222@mac.com> Message-ID: <394959A7-E957-43D2-940D-292FB4B5B59A@mac.com> Sorry list, this was meant for Kee eyes only... I am just too tired... sorry for the inconvenience. On Mar 6, 2006, at 2:40 AM, Andre Garzia wrote: > Kee, > > I am more than 8 hours fixing the krm for testing. I have a little > krm server cgi here that I sometimes use for testing for I don't > want to clog the real krm server with bogus data. I tried debugging > my cgi stacks in 2.7 and they stopped working... > > I am stopping for today. I'll send you an alpha tomorrow... it's > not optmized for speed though. > > thanks for waiting > > cheers > andre > > > On Mar 6, 2006, at 12:19 AM, kee nethery wrote: > >> does this mean the RunRev KRM is out for testing? >> Kee >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From gandalf at doctorTimothyMiller.com Mon Mar 6 00:43:36 2006 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sun, 5 Mar 2006 21:43:36 -0800 Subject: The End of Dreamcard? In-Reply-To: <9DC5E784-E242-4435-90E4-E5BEAFCF4746@adelphia.net> References: <9DC5E784-E242-4435-90E4-E5BEAFCF4746@adelphia.net> Message-ID: At 10:27 PM -0500 3/5/06, Thomas McGrath III wrote: >Tim, > >If you just want to maintain your existing stacks why not just keep >using the version of Dreamcard that you have? Why upgrade at all? If >you're looking to keep upgrading to newer and better technology, >features and bug fixes than just upgrade to Studio? The price is not >really that high. To use your analogy it would not cost more than a >good set of wrenches or even new tires. > >Tom Hi Tom, I appreciate your concern. In the short run, that strategy would work, of course. I tried to keep going with hyperCard for as long as possible. 18 months ago, or so, it became apparent that OS 9 was becoming obsolete, and now classic mode is obsolete as well. Some die-hards buy old machines so they can keep using hypercard indefinitely. I considered that, but decided against it. If hypercard would run on OS X, and I could expect it to be compatible with future hardware and operating systems, I'd still be using it, very happily. In the long run, one's hardware, operating system and software eventually become obsolete. The longer you put off the upgrades, the more painful and expensive the transition when the upgrades can no longer be postponed. OS 9 --> OS 10.3, and hyperCard --> Dreamcard was a difficult and expensive jump for me. Dreamcard was a bargain, but I had to upgrade a lot of other stuff. The time I had to spend on the transition to Dreamcard was expensive. Nine to Five Reports stopped working, and I couldn't fix it. It was obsolete, too. That was a serious nightmare. It seems easier to upgrade incrementally as I go along. This is not a catastrophe. It does stimulate me to rethink the details my relationship with the computer world. I guess things had to change eventually. Cheers, Tim From ambassador at fourthworld.com Mon Mar 6 00:49:11 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 05 Mar 2006 21:49:11 -0800 Subject: Field Building Tool In-Reply-To: <002601c640df$950fe790$0201010a@royalnexus> References: <002601c640df$950fe790$0201010a@royalnexus> Message-ID: <440BCD57.3030303@fourthworld.com> Scott Kane wrote: > I downloaded, a while back, a really cool tool (stack) > that allowed you to name and then create the fields on > a card. I've misplaced this little gem and wondered if > anybody could point me in the right direction for it - > I can't recall what it was called. Was it perhaps 4W FormMaker in RevNet? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From scott at proherp.com Mon Mar 6 00:53:19 2006 From: scott at proherp.com (Scott Kane) Date: Mon, 6 Mar 2006 16:53:19 +1100 Subject: Field Building Tool In-Reply-To: <440BCD57.3030303@fourthworld.com> Message-ID: <002a01c640e2$47143110$0201010a@royalnexus> > Was it perhaps 4W FormMaker in RevNet? That's the one!! Thanks Richard you are a star! :-) By RevNet do you mean RevOnline? Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 3/03/2006 From kray at sonsothunder.com Mon Mar 6 01:05:09 2006 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 06 Mar 2006 00:05:09 -0600 Subject: Storing preferences data on Windows PCs In-Reply-To: Message-ID: On 3/5/06 11:39 PM, "Sarah Reichelt" wrote: >> CSIDL_APPDATA(0x001a) >> Version 4.71. The file system directory that serves as a common >> repository for application-specific data. A typical path is >> C:\Documents and Settings\username\Application Data. >> > > You can get it using: specialFolderPath(26) > > This gives you the Application Data folder for the current user (I > think). Correct. If you want the Application Data folder for "All Users", you can use specialFolderPath (35). For a complete listing of the specialFolderPath codes and where they go, take a look at this tip: http://www.sonsothunder.com/devres/revolution/tips/file010.htm Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ambassador at fourthworld.com Mon Mar 6 01:14:18 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 05 Mar 2006 22:14:18 -0800 Subject: Field Building Tool In-Reply-To: <002a01c640e2$47143110$0201010a@royalnexus> References: <002a01c640e2$47143110$0201010a@royalnexus> Message-ID: <440BD33A.9030905@fourthworld.com> Scott Kane wrote: >> Was it perhaps 4W FormMaker in RevNet? > > That's the one!! Thanks Richard you are a star! :-) > > By RevNet do you mean RevOnline? > > Scott No, I mean RevOnline's older brother: choose "GoRevNet" from the Plugins menu in Rev. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at proherp.com Mon Mar 6 01:26:24 2006 From: scott at proherp.com (Scott Kane) Date: Mon, 6 Mar 2006 17:26:24 +1100 Subject: Field Building Tool In-Reply-To: <440BD33A.9030905@fourthworld.com> Message-ID: <002e01c640e6$e6366ca0$0201010a@royalnexus> Thanks Richard! Scott > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Richard Gaskin > Sent: Monday, 6 March 2006 5:14 PM > To: How to use Revolution > Subject: Re: Field Building Tool > > > Scott Kane wrote: > >> Was it perhaps 4W FormMaker in RevNet? > > > > That's the one!! Thanks Richard you are a star! :-) > > > > By RevNet do you mean RevOnline? > > > > Scott > > No, I mean RevOnline's older brother: choose "GoRevNet" from > the Plugins > menu in Rev. > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.375 / Virus Database: 268.1.2/274 - Release > Date: 3/03/2006 > > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 3/03/2006 From transcom at comcast.net Mon Mar 6 02:07:37 2006 From: transcom at comcast.net (Michael Mandaville) Date: Sun, 05 Mar 2006 23:07:37 -0800 Subject: A Stripped Down Manual Reordering of Lines for a Field Message-ID: I have been studying Jan Schenkel's excellent stack on Manual Reordering. I'm taking it apart to learn. Also another stack called "Get in Line". But I wanted to know if there's a stripped down version of Manual Reordering for a field. The user would select certain controls, buttons, A category and input text into a field. Then this A [tab] Category [tab] User Input would go into a field. I'm trying to find some simple code for Manual Reordering by the User. Thanks for your help. I'll keep studying the other material, but just need a jumpstart. Michael From paulclaude at postino.it Mon Mar 6 02:54:40 2006 From: paulclaude at postino.it (Paul Claude) Date: Mon, 06 Mar 2006 08:54:40 +0100 Subject: Type a text from a palette stack to an external window In-Reply-To: Message-ID: Hi Sarah, But I would need a palette the floats in front of all windows on the screen, not just the windows of my main application, to be available from any other app (a text editor, an email client, etc.). It seems that Rev has some difficulty to work with mixed external apps (no system menus, dock menus, etc.), so the systemWindow palette could be the only way to do this. But how? on 3-03-2006 21:52, Sarah Reichelt at sarah.reichelt at gmail.com wrote: > This is the correct behavior for a window set to systemWindow style - > it will always stay at the front. Try making it a normal palette but > not setting it to systemWindow. > > HTH, > Sarah From ram.kumar at induslogic.com Mon Mar 6 03:12:49 2006 From: ram.kumar at induslogic.com (Ram Kumar) Date: Mon, 6 Mar 2006 13:42:49 +0530 Subject: Revolution for commercial development? Message-ID: <00e201c640f5$c24ae050$7a00a8c0@synapse.com> Greetings group, I am new to Revolution. before I buy it for commercial development, i need some feedback from this list. + How good is revolution for commercial development? + How does it compare to REALbasic, VB.NET? + How many active users on this list? + How stable is Revolution? ( many bugs? very less bugs? ) + Can I generate... + interface-less apps? ( not command line, but no GUI. Like If I want to create DropZIP with no UI) + command line apps? + GUI apps? + TCP/IP, HTTP, POP3, IMAP, SSL apps? + Database frontends for mySQL, postgreSQL, ORACLE, MS-SQL, Regards, Ram From 36degrees at runrev.com Mon Mar 6 05:17:16 2006 From: 36degrees at runrev.com (Mark Waddingham) Date: Mon, 6 Mar 2006 10:17:16 +0000 Subject: Read from StnIn from POST is still broken? In-Reply-To: <4C75D513-0510-4D8B-B0F5-158C1D6E1884@hindu.org> References: <4C75D513-0510-4D8B-B0F5-158C1D6E1884@hindu.org> Message-ID: <15617E38-D029-47C3-99AE-CF741F3BBEE3@runrev.com> Hi Sivakatirswami, > Linux web server, Apache, call Rev CGI to receive incoming Post > Data. Beginning lines of script to read the incoming data -- see > below (suggested as a possible fix years ago by Scott Raney) > > (musings... it is possible that this is a client side problem? > --machine A with browser B cannot in fact encode large chunks of > data and the name=value pair actually arrive to the server already > truncated.. meanwhile > -- box C with browser D submits a large text chunk from the same > form and it arrive just fine: result Rev get blamed for being > intermittent failures... but he's really not the bad guy. > > on startup > if $REQUEST_METHOD is "POST" then > put "" into PostIn > repeat until length(PostIn) >= $CONTENT_LENGTH > read from stdin until "" > put it after PostIn > end repeat > put urlDecode (PostIn) into tDataIn > > split tDataIn by "&" and "=" > put keys(tDataIn) into tFields > > .....etc. There is no reason I can see (engine-side) as to why post data should get truncated. That being said, however, you should ensure that you pass '-ui' to the revolution engine when running as a CGI. (i.e. the first line of a cgi script should be: #! //revolution -ui [ The -ui option alters a few things internally, in particular disables attempts to create any GUIs and enables stdin/stdout on systems - such as Win32 - which don't by default have these enabled ] I actually had a similar issue many many moons ago when we were automating our order processing. At the time I fixed it by writing a small shell wrapper that did the following: 1) write the input out to a temporary file 2) run revolution with file as a parameter 3) delete the temporary file Although this system interfaces with postfix rather than a CGI - and in this case the resulting problem was as much to do with concurrency as anything else. However, if you want a copy of the wrapper script email me off-list and I'll dig it out for you. Whether there is an underlying problem or not is difficult to say as we are talking about several interacting systems. If large form data gets truncated when submitted from all browsers all the time, then there is definitely something up. If, however, it does not happen all the time then perhaps looking for the browser type might help track down the issue - as would trying to discern whether it is always truncated to the same length. Hope this helps, Mark. ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From tsj at unimelb.edu.au Mon Mar 6 05:17:24 2006 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 6 Mar 2006 21:17:24 +1100 Subject: Storing preferences data on Windows PCs In-Reply-To: <20060306044453.6F260825649@mail.runrev.com> References: <20060306044453.6F260825649@mail.runrev.com> Message-ID: <9763d58b2fe432fe25af18f331571d7d@unimelb.edu.au> Thanks Sarah. Terry... > From: "Sarah Reichelt" > Date: 6 March 2006 4:39:09 PM GMT+11:00 > To: "How to use Revolution" > Subject: Re: Storing preferences data on Windows PCs > Reply-To: How to use Revolution > > > On 3/6/06, Terry Judd wrote: >> I've got the Mac side of things covered but where do people usually >> store user preferences on Window's PCs? >> >> Is (from the Microsoft Library)... >> >> CSIDL_APPDATA(0x001a) >> Version 4.71. The file system directory that serves as a common >> repository for application-specific data. A typical path is >> C:\Documents and Settings\username\Application Data. >> > > You can get it using: specialFolderPath(26) > > This gives you the Application Data folder for the current user (I > think). Don't use specialFolderPath("Preferences") because on Windows, > this just gives you the root directory. > > Cheers, > Sarah From kevin at runrev.com Mon Mar 6 05:29:09 2006 From: kevin at runrev.com (Kevin Miller) Date: Mon, 06 Mar 2006 10:29:09 +0000 Subject: The End of Dreamcard? In-Reply-To: Message-ID: On 6/3/06 01:23, "Timothy Miller" wrote: > It looks like the answer is Studio, but I'm not sure. > > I hope someone will clarify that. Unfortunately we can't clarify everyone's individual licensing questions on this mailing list. Everyone has different requirements and so any attempt to do so would be likely to result in a prolonged debate and has the potential for confusion. If you've read the information on our web site and are unsure, we are very happy to discuss your specific circumstances at support at runrev.com. Please bear in mind that we're not simply dropping support for this product overnight. There is nothing stopping anyone with a Dreamcard license renewing just now, and simply assessing the evolution of our product line again in a year's time. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From 36degrees at runrev.com Mon Mar 6 05:34:59 2006 From: 36degrees at runrev.com (Mark Waddingham) Date: Mon, 6 Mar 2006 10:34:59 +0000 Subject: Player Problem in Rev 2.7 on Windows In-Reply-To: <0B63C783-A28E-4EE1-A00F-EA3DD7C5E9EB@buffalo.edu> References: <44054518.6060606@chipp.com> <0B63C783-A28E-4EE1-A00F-EA3DD7C5E9EB@buffalo.edu> Message-ID: <376D3F28-0EFD-47A9-A24B-7CC1BC41B66A@runrev.com> Hi Timothy, > I've run into a problem with the player control in version 2.7 > buildNumber 192 on Windows XP. The problem does not occur in > version 2.6 of Rev. It does not occur on Mac OS X 10.4.x > > I've tried 2 Windows XP machines with Quicktime 6 and 7. > > The problem > Player does not play video when the alwaysBuffer is true from the > controller. Keyboard message will start the player but the frame > rate is way below the setting. If alwaysBuffer is set to true, then the controller will not respond to mouse-clicks - although will respond to keyboard input (to some extent). Such a player should only really be interacted with via script as the interactive functionality cross-platform will vary slightly. However, the fact that you are experiencing a difference in behaviour between 2.6 and 2.7 points towards the fact that something is up. Therefore, if you could take the time to post more details along with a sample movie and stack exhibiting the affect in Bugzilla we will take a closer look at it. Warmest Regards, Mark. ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From sarah.reichelt at gmail.com Mon Mar 6 05:42:24 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 6 Mar 2006 20:42:24 +1000 Subject: Revolution for commercial development? In-Reply-To: <00e201c640f5$c24ae050$7a00a8c0@synapse.com> References: <00e201c640f5$c24ae050$7a00a8c0@synapse.com> Message-ID: I can't answer all of your questions, but I'll tell you what I can. > + How good is revolution for commercial development? I use it for commerical programs. It's fast to program and easy to maintain. > + How stable is Revolution? ( many bugs? very less bugs? ) It has bugs but the compiled apps are extremely stable. > + Can I generate... > + interface-less apps? > ( not command line, but no GUI. Like If I want to create DropZIP with no > UI) > + command line apps? > + GUI apps? > + TCP/IP, HTTP, POP3, IMAP, SSL apps? > + Database frontends for mySQL, postgreSQL, ORACLE, MS-SQL, Yes to all of the above, I think. I haven't done any non-GUI apps myself, but I know some poeple on this list have. GUI apps are the norm for Revolution. Any TCP/IP protocol can be preogrammed using sockets amd secure sockets are now part of Revolution. Database connections are a big part of Revolution. Regards, Sarah From 36degrees at runrev.com Mon Mar 6 05:44:44 2006 From: 36degrees at runrev.com (Mark Waddingham) Date: Mon, 6 Mar 2006 10:44:44 +0000 Subject: Importing and export text with foreign accents In-Reply-To: <57a643190603030827naf3395eqb6cb83ed13ef1594@mail.gmail.com> References: <57a643190603030827naf3395eqb6cb83ed13ef1594@mail.gmail.com> Message-ID: <4C7F0614-9F02-4E71-B883-A7E0CFBBDD9E@runrev.com> Hi Derek, > I'm having a little trouble importing a tab deliminted text file > (saved from excel), having rev organize it, then saving it out as an > xml file. > > The import and text manipulation works just fine, but when it comes > time to export the data out to text files, all the foreign characters > (accents, umlauts, etc,) get converted to squares or questions marks. Hmmm - sounds like your data is undergoing an inappropriate conversion at some point (or *not* undergoing a conversion). Revolution natively runs in character encoding that depends on platform: MacOS - MacRoman Win32 - Windows Latin-1 Unix - ISO 8859-1 So, when you save out data, it will (by default) save it out using that character set. The only time you have to be concerned about the encoding is when you are doing an explicit format conversion - which you are in this case as you are saving out as XML. My guess would be that, in your case, you are writing the data out to XML and then another application is loading it and *assuming* it is in UTF-8 thus resulting in the effect you see. To fix this, you either need to convert your string data to UTF-8 before writing to the XML file: put uniDecode(uniEncode(tASCIIText), "UTF8") into tUTF8Text Or, change the encoding of the XML file by using: Hope this helps, Mark. ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From 36degrees at runrev.com Mon Mar 6 05:58:12 2006 From: 36degrees at runrev.com (Mark Waddingham) Date: Mon, 6 Mar 2006 10:58:12 +0000 Subject: revolution engine for 2.7 and cgi deployment. In-Reply-To: <485925FF-548A-4646-AF48-22392FCB852A@mac.com> References: <485925FF-548A-4646-AF48-22392FCB852A@mac.com> Message-ID: Hi Andre, > Since I moved on to Rev 2.7, I decided to move my cgi stack to the > new stack format of 2.7. Before doing that, I tried to install the > engine on my Apache installation on my MacOS X 10.4. The engine is > playing dead!!!! A simple console hello world works in 2.6.1 and > fails on 2.7, it's not like an error is triggered, the engine > simply exits without any output or caring for the stack. I even > tried a simple script that would wait for a key press to finish and > the 2.7 engine simply exits!!!!! > > Is this the license issue explained in whats_new.txt? How am I > supposed to deploy CGIs using 2.7? I need a license.rev there, if > so, how, its a faceless server!! Can someone shed a clue? In theory you should now be using the Standalone engine for this as the IDE engine isn't equipped to be used in this way. However, theory never being quite inline with reality, something seems to be up here as I couldn't get it to work... Thus a bug (3367) has been filed and added to my list. Warmest Regards, Mark. ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From paulclaude at postino.it Mon Mar 6 06:16:48 2006 From: paulclaude at postino.it (Paul Claude) Date: Mon, 06 Mar 2006 12:16:48 +0100 Subject: Slow Dialogs in Rev 2.7 Message-ID: In Rev 2.7 many things seems a little quicker than before, except from the dialogs; all kind of dialogs (answer, ask, even the save dialog that appears when you save your stack) shows after 7-10 seconds from calling. It's a bug? From charles.hartman at conncoll.edu Mon Mar 6 09:13:29 2006 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Mon, 6 Mar 2006 09:13:29 -0500 Subject: The End of Dreamcard? In-Reply-To: References: Message-ID: <68A92A03-9197-4862-9F57-95CD2E90403F@conncoll.edu> On Mar 6, 2006, at 5:29 AM, Kevin Miller wrote: > Please bear in mind that we're not simply dropping support for this > product > overnight. There is nothing stopping anyone with a Dreamcard license > renewing just now, and simply assessing the evolution of our > product line > again in a year's time. That is what I have just done. (I mention this on list because on list I've mentioned questions and reservations about this whole transition. I'm not convinced -- but an academic update package for a year gives me time to think at a reasonable price.) Charles Hartman From alex at tweedly.net Mon Mar 6 06:54:25 2006 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 06 Mar 2006 11:54:25 +0000 Subject: spit out on change In-Reply-To: <323EA8FE-63EE-4720-8234-0CD591509B5F@education.lu> References: <323EA8FE-63EE-4720-8234-0CD591509B5F@education.lu> Message-ID: <440C22F1.8080602@tweedly.net> Christian Langers wrote: > Hello all, > > But I want to change this procedure : the app should only spit out > components if there had been changes in the component folders... > > What methods should I use : checking timestamp of the folders on disk > ?(how does one do that ?) Checking the number of files in folders ? ... > > If anyone had an idea about this, I would be thankful to read about > it ;-) I've tested out this little script - but not used it in a real case. Seems to do what we want, but I can't be sure there isn't some way around it ... adjust the folder path (and the list of files) to suit your needs. --> all handlers on mouseUp put "D:/Our Documents/trythis" into tFolder put false into tOK put empty into tPrevious put empty into tCurrent if there is not a folder tFolder then create folder tFolder -- NB assuming the path to it must already exist !! end if put the defaultFolder into tSaveFolder set the defaultFolder to tFolder if there is a file (tFolder & "/filelist.txt") then put URL ("file:" & tFolder & "/filelist.txt") into tPrevious filter tPrevious without ".*" -- eliminate special files !? sort tPrevious put the detailed files into tCurrent filter tCurrent without ".*" -- eliminate special files !? filter tCurrent without "filelist.txt*" -- eliminate special files !? sort tCurrent if tCurrent = tPrevious then put true into tOK end if end if put tOK & CR & tPrevious & CR&CR & tCurrent & CR into field "Field" if not tOK then put "this is a" into URL ("file:" & tFolder & "/a.txt") put "this is file c" into URL ("file:" & tFolder & "/c.txt") put "this is b" into URL ("file:" & tFolder & "/b.txt") put the detailed files into URL ("file:" & tFolder & "/filelist.txt") end if set the defaultFolder to tSaveFolder end mouseUp -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 03/03/2006 From klaus at major-k.de Mon Mar 6 10:36:40 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 6 Mar 2006 16:36:40 +0100 Subject: Importing and export text with foreign accents In-Reply-To: <4C7F0614-9F02-4E71-B883-A7E0CFBBDD9E@runrev.com> References: <57a643190603030827naf3395eqb6cb83ed13ef1594@mail.gmail.com> <4C7F0614-9F02-4E71-B883-A7E0CFBBDD9E@runrev.com> Message-ID: Hi Mark, > Hi Derek, > >> I'm having a little trouble importing a tab deliminted text file >> (saved from excel), having rev organize it, then saving it out as an >> xml file. >> >> The import and text manipulation works just fine, but when it comes >> time to export the data out to text files, all the foreign characters >> (accents, umlauts, etc,) get converted to squares or questions marks. > > Hmmm - sounds like your data is undergoing an inappropriate > conversion at some point (or *not* undergoing a conversion). > > Revolution natively runs in character encoding that depends on > platform: > MacOS - MacRoman > Win32 - Windows Latin-1 > Unix - ISO 8859-1 > > So, when you save out data, it will (by default) save it out using > that character set. > > The only time you have to be concerned about the encoding is when > you are doing an explicit format conversion - which you are in this > case as you are saving out as XML. > > My guess would be that, in your case, you are writing the data out > to XML and then another application is loading it and *assuming* it > is in UTF-8 thus resulting in the effect you see. > > To fix this, you either need to convert your string data to UTF-8 > before writing to the XML file: > put uniDecode(uniEncode(tASCIIText), "UTF8") into tUTF8Text > > Or, change the encoding of the XML file by using: > does that means that the Rev XML external does not care about the encoding resp. does not take the first line with an eventual encoding param into account? I found that XML files written by the external on a mac do have this header: and this on windows: So we are supposed to take care of the correct (crossplatform) encoding by ourselves? > Hope this helps, > > Mark. Regards Klaus Major klaus at major-k.de http://www.major-k.de From jonathandlynch at gmail.com Mon Mar 6 11:19:39 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Mon, 6 Mar 2006 11:19:39 -0500 Subject: Stripping trailing spaces from a string In-Reply-To: References: Message-ID: <31e1938c0603060819s2c56e679xa5f0d5b5c827cf4b@mail.gmail.com> You can also do this: put Word 1 to -1 of tString into tString From pevensen at siboneylg.com Mon Mar 6 11:24:29 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 06 Mar 2006 10:24:29 -0600 Subject: The End of Dreamcard? In-Reply-To: <79d1bee70603041824u4d4095f8l@mail.gmail.com> References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> <4409F920.4040200@fourthworld.com> <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> <70ed6b130603041258h185a2676vbaccc896398b22d3@mail.gmail.com> <79d1bee70603041824u4d4095f8l@mail.gmail.com> Message-ID: <6.2.1.2.2.20060306102348.0af9b160@exchange.slg.com> I think calling the language "Revolution" is a typo. That was a typo in one of the 2.7 install screens that has been corrected. At 08:24 PM 3/4/2006, you wrote: >On 05/03/06, Dan Shafer wrote: > > > "Use Revolution, the English like, built-in language, to add the *step by > > step logic *of your concept to your creation." I suspect -- but again my > > caveat -- that this is just a mistake, that the language is called > > Transcript, not Revolution (which would be devilishly confusing, no?). > >Perhaps Run Rev are trying to confuse us all - you can read these two >quotes from the same page at http://revstudio.runrev.com/easy.php : > >'Then use Transcript, Revolution's built-in scripting language, to add >in-depth functionality and connectivity.' > >'Revolution uses an English like command language also called... Revolution' >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From 3mcgrath at adelphia.net Mon Mar 6 11:48:34 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 6 Mar 2006 11:48:34 -0500 Subject: The End of Dreamcard? In-Reply-To: References: <9DC5E784-E242-4435-90E4-E5BEAFCF4746@adelphia.net> Message-ID: <2CC0D5B5-E273-4C8B-807E-985083A6D842@adelphia.net> Tim, Thanks for taking my comments as they were intended. I guess riding the OS, Hardware, Software wave can become an expensive proposition especially if you are not getting back any rewards. I cant say how I will feel when I reach the point of not getting rewards back. As far as rewards go, I made a promise to myself years back (after a bit of youthful trouble) that in my new life I would learn something new everyday and have been doing so for 20 years now. The new things that I learn everyday from using HC, SC and now Rev have been part of my rewards. Also, some of the opportunities that this knowledge has opened up for me have been my rewards. Lastly, the monetary rewards although small definitely make it worthwhile. Maybe it is the possibility of future rewards that keeps me riding this wave. I love the learning part and hope I always will. Regards, Tom On Mar 6, 2006, at 12:43 AM, Timothy Miller wrote: > > Hi Tom, > > I appreciate your concern. In the short run, that strategy would > work, of course. I tried to keep going with hyperCard for as long > as possible. 18 months ago, or so, it became apparent that OS 9 was > becoming obsolete, and now classic mode is obsolete as well. Some > die-hards buy old machines so they can keep using hypercard > indefinitely. I considered that, but decided against it. > Thomas J McGrath III 3mcgrath at adelphia.net 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 From 3mcgrath at adelphia.net Mon Mar 6 12:03:50 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 6 Mar 2006 12:03:50 -0500 Subject: Revolution for commercial development? In-Reply-To: <00e201c640f5$c24ae050$7a00a8c0@synapse.com> References: <00e201c640f5$c24ae050$7a00a8c0@synapse.com> Message-ID: On Mar 6, 2006, at 3:12 AM, Ram Kumar wrote: > Greetings group, > > I am new to Revolution. > before I buy it for commercial development, i need some feedback > from this > list. > > + How good is revolution for commercial development? Rev is an excellent choice for RAD, Prototyping and yes for Commercial Apps. > + How does it compare to REALbasic, VB.NET? This is always coming up on list. The problem is it compares Apples to Oranges. They are both good and have their own place for different projects. But with that said if you want something that is a breeze to use and want to spend more time building a useful app than debugging code I would go with Revolution. > + How many active users on this list? This list is just one of the many resources available for Rev users. It is the best list I have ever seen or been on. It is a nice mix of advanced users and new users and I always come here to help and to be helped. There are a lot of users but I don't know the numbers. > + How stable is Revolution? ( many bugs? very less bugs? ) The IDE is being cleaned up with every release (all software has bugs) and some people experience more bugs and others experience less. But the finished applications that are built are very solid. I would say for a RAD tool that it has less bugs than some and the same as others. For new users that have maybe ever programmed before it has more bugs than they are used to. As a cross platform tool it definitely has less bugs. > + Can I generate... > + interface-less apps? > ( not command line, but no GUI. Like If I want to create > DropZIP with no > UI) > + command line apps? > + GUI apps? > + TCP/IP, HTTP, POP3, IMAP, SSL apps? > + Database frontends for mySQL, postgreSQL, ORACLE, MS-SQL, I know people create CGIs and there is a lot of activity with Databases on this list. I would say though that Rev shines when building UIs and can't be beat in time to deployment. I can do in REV what it takes our C,C# programers months and months in just a few days. I can do in REV what it takes our Director, Flash, Java programmers weeks and weeks to do in just a day or two. Welcome to the REVOLUTION, I hope you fall in love with Revolution and show up on the list... Regards Tom > Regards, Ram > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 3mcgrath at adelphia.net 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 From christian.langers at education.lu Mon Mar 6 12:07:46 2006 From: christian.langers at education.lu (Christian Langers) Date: Mon, 6 Mar 2006 18:07:46 +0100 Subject: spit out on change In-Reply-To: <440C22F1.8080602@tweedly.net> References: <323EA8FE-63EE-4720-8234-0CD591509B5F@education.lu> <440C22F1.8080602@tweedly.net> Message-ID: <842A75AD-95C2-456C-AC9C-D565D1344D49@education.lu> Thanks Alex, I've tried it and it seems to work ! I'll do the transformations later when I have more time available... Thanks again... Christian (the only one on this list from Luxembourg ;-) ) Le 6 mars 06 ? 12:54, Alex Tweedly a ?crit : > Christian Langers wrote: > >> Hello all, >> >> But I want to change this procedure : the app should only spit >> out components if there had been changes in the component folders... >> >> What methods should I use : checking timestamp of the folders on >> disk ?(how does one do that ?) Checking the number of files in >> folders ? ... >> >> If anyone had an idea about this, I would be thankful to read >> about it ;-) > > I've tested out this little script - but not used it in a real > case. Seems to do what we want, but I can't be sure there isn't > some way around it ... adjust the folder path (and the list of > files) to suit your needs. > > > --> all handlers > > on mouseUp > put "D:/Our Documents/trythis" into tFolder > put false into tOK > put empty into tPrevious > put empty into tCurrent > if there is not a folder tFolder then > create folder tFolder -- NB assuming the path to it must > already exist !! > end if > put the defaultFolder into tSaveFolder > set the defaultFolder to tFolder > if there is a file (tFolder & "/filelist.txt") then > put URL ("file:" & tFolder & "/filelist.txt") into tPrevious > filter tPrevious without ".*" -- eliminate special files !? > sort tPrevious > put the detailed files into tCurrent > filter tCurrent without ".*" -- eliminate special files !? > filter tCurrent without "filelist.txt*" -- eliminate special > files !? > sort tCurrent > if tCurrent = tPrevious then > put true into tOK > end if > end if > put tOK & CR & tPrevious & CR&CR & tCurrent & CR into field "Field" > if not tOK then > put "this is a" into URL ("file:" & tFolder & "/a.txt") > put "this is file c" into URL ("file:" & tFolder & "/c.txt") > put "this is b" into URL ("file:" & tFolder & "/b.txt") > put the detailed files into URL ("file:" & tFolder & "/ > filelist.txt") > end if set the defaultFolder to tSaveFolder > end mouseUp > > > -- > Alex Tweedly http://www.tweedly.net > > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: > 03/03/2006 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Mon Mar 6 12:09:04 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 6 Mar 2006 12:09:04 -0500 Subject: [ANN] ToolTip Tricks Message-ID: <140CEC1A-EF53-4230-A577-A358DB2CCC6F@adelphia.net> I just had a chance to clean up my Tooltip stacks and combine them into one stack. The stack shows some examples and ways to play with tooltips in Revolution. There are a couple of different ways to tweak the tooltip behavior that most people don't realize at first glance. I uploaded the ToolTip Tricks stack to RevOnline user: mcgrath3 stack: Tooltip Tricks Regards, Tom Thomas J McGrath III 3mcgrath at adelphia.net 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 From rcozens at pon.net Mon Mar 6 12:29:28 2006 From: rcozens at pon.net (Rob Cozens) Date: Mon, 6 Mar 2006 09:29:28 -0800 Subject: Progress Reporting When Building Standalones Message-ID: Hi All, When the RunRev Team requested that more people try v2.7.1 on WinXP last week, I decided to give it a go. Here's what I reported back to them: > My first experience -- Motion M1300 running XP TPC Edition 2005 -- > went beautifully until I built my first standalone. > At that point I thought RR had hung the system because I saw _nothing_ change on the screen for several minutes and when I tried to close the Revolution window XP told me it was not responding; so I shut the computer down. It turns out I was just impatient (and perhaps gun-shy from others' reports): I was building standalones for both MacOSX and Windows from my 90M Photo Portfolio stack, and I now know the process takes in excess of four minutes... during which the IDE does nothing -- not even a cursor change -- to provide any progress feedback. So I've added an enhancement request to Bugzilla asking for progress reporting during standalone builds. If you wish to support my request, vote for bugzilla #3369 The good news is this is the _only_ issue I have encountered so far in v2.7.1 on XP. All the stacks I tried so far open, could me modified, and run with no problem. Ditto for the standalones... once I gave the IDE time to build them. :{`) 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) From rcozens at pon.net Mon Mar 6 12:38:20 2006 From: rcozens at pon.net (Rob Cozens) Date: Mon, 6 Mar 2006 09:38:20 -0800 Subject: Progress Reporting When Building Standalones Message-ID: <00EE5AB2-AD38-11DA-98F7-0030657E1638@pon.net> > All the stacks I tried so far open, could me modified, and run with no > problem. Ditto for the standalones... ... except for the "could me [read 'be'] modified" part, of course. 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) From gandalf at doctorTimothyMiller.com Mon Mar 6 12:40:09 2006 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 6 Mar 2006 09:40:09 -0800 Subject: The End of Dreamcard? In-Reply-To: References: Message-ID: Hi Kevin, Thanks for your reply. It's not a question of licensing. It's a question of planning. I'm just trying to figure out what RR product I will need, in the long run, to continue running my stacks. Studio is my guess. Beyond that, it was a tiny complaint, because RR's publicity to date makes has been hard to understand. Best regards, Tim >On 6/3/06 01:23, "Timothy Miller" wrote: > >> It looks like the answer is Studio, but I'm not sure. >> >> I hope someone will clarify that. > >Unfortunately we can't clarify everyone's individual licensing questions on >this mailing list. Everyone has different requirements and so any attempt >to do so would be likely to result in a prolonged debate and has the >potential for confusion. If you've read the information on our web site and >are unsure, we are very happy to discuss your specific circumstances at >support at runrev.com. > >Please bear in mind that we're not simply dropping support for this product >overnight. There is nothing stopping anyone with a Dreamcard license >renewing just now, and simply assessing the evolution of our product line >again in a year's time. > >Kind regards, > >Kevin > >Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ >Runtime Revolution - User-Centric Development Tools > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Mon Mar 6 12:45:25 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 06 Mar 2006 09:45:25 -0800 Subject: [ANN] tm|color & tm|gradient Message-ID: Greetings Revolutionaries: Tactile Media is proud to announce the availability of a new pair of layout plugins for Revolution and MetaCard: tm|color and tm|gradient. tm|color is a color-management plugin designed to enhance the way you add color to stacks. The stack provides 5 color models from which to apply color to controls, along with hex values, and persistent color settings which allow you to apply sets of color properties to objects at any time. The plugin includes tools for retrieving color properties from selected controls, notification of color properties that have been edited, and for picking up color from anywhere on the screen. The companion to tm|color is tm|gradient, a plugin that allows you to create 2-color gradient images, with variable translucency, written entirely in Transcript. The plugin allows you to use images, graphics and text fields as source objects to create gradients, so you can create irregularly shaped gradient images, widgets, and even gradient text. Until Revolution is able to create gradients natively, this is a helpful, if not speedy way to get gradients into stacks now. You can view a gallery stack that contains samples of gradient images built with tm|gradient: http://www.tactilemedia.com/tmtools/tmgradient/tm_gallery.rev.zip You can also review the QuickStart guide for tm|gradient: http://www.tactilemedia.com/tmtools/tmgradient/quickstart.html And an example widget-building tutorial is available: http://www.tactilemedia.com/tmtools/tmgradient/tutorial1_1.html Both plugins require Revolution 2.6 or later. A 600 mHz or better system is recommended to run tm|gradient. The plugins are available now via PayPal at US$18 for the set. To order, visit the Media section of our site -- http://www.tactilemedia.com. Thanks for your continued support of our tools, and we look forward to seeing what you create with them! Best Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kray at sonsothunder.com Mon Mar 6 12:51:14 2006 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 06 Mar 2006 11:51:14 -0600 Subject: Progress Reporting When Building Standalones In-Reply-To: Message-ID: On 3/6/06 11:29 AM, "Rob Cozens" wrote: > Hi All, > > When the RunRev Team requested that more people try v2.7.1 on WinXP > last week, I decided to give it a go. 2.7.1? The web site only shows a download of 2.7... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From gandalf at doctorTimothyMiller.com Mon Mar 6 12:50:55 2006 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 6 Mar 2006 09:50:55 -0800 Subject: The End of Dreamcard? In-Reply-To: <2CC0D5B5-E273-4C8B-807E-985083A6D842@adelphia.net> References: <9DC5E784-E242-4435-90E4-E5BEAFCF4746@adelphia.net> <2CC0D5B5-E273-4C8B-807E-985083A6D842@adelphia.net> Message-ID: Tom wrote: >Tim, > >--snip-- >As far as rewards go, I made a promise to myself years back (after a >bit of youthful trouble) that in my new life I would learn something >new everyday and have been doing so for 20 years now. The new things >that I learn everyday from using HC, SC and now Rev have been part >of my rewards. Also, some of the opportunities that this knowledge >has opened up for me have been my rewards. Lastly, the monetary >rewards although small definitely make it worthwhile. > >Maybe it is the possibility of future rewards that keeps me riding >this wave. I love the learning part and hope I always will. > Hi Tom, I know the foregoing comment is mean to be supportive, but I'm afraid it has the opposite effect. Learning something new every day, at minimum, is a value we both share. On the other hand, if I learn something new today, something new about how to program a computer is going to be low on my priority list. I'd prefer to learn something new about literature, art, music, history, current affairs, science, my profession, a new physical recreation, a hiking trip, making a new friend, etc. Constantly climbing the computer learning curve interferes with pursuing those interests I value more. Cheers, Tim From benbock at msn.com Mon Mar 6 13:45:45 2006 From: benbock at msn.com (Ben Bock) Date: Mon, 6 Mar 2006 10:45:45 -0800 Subject: (no subject) Message-ID: What is the correct syntax for Rev to append data to the next line in a text file? I have a quiz in a standalone, and when the participant finishes, the file needs to save. the next particpant's scores should go on the next line. I use a button at the end of the quiz: on mouseUp set itemDelimiter to tab put fld "quiz_item1" into item 1 of line 1 of field "data field" of stack "data sample" put fld "quiz_item2" into item 2 of line 1 of field "data field" of stack "data sample" put fld "data field " into url "file:test data.txt" get url "file:test data.txt" put it into fld "sample field that proves to me something is going to the test data file" save url "file:test data.txt" end mouseUp 1) So how do I get the next person's data to enter the next line and save, without over writing the previous person's data? 2) Do you see flaws in this approach? My frustration with the Rev docs disappears when I use this support forum. Thanks, as always, for the help. Ben From benbock at msn.com Mon Mar 6 13:47:17 2006 From: benbock at msn.com (Ben Bock) Date: Mon, 6 Mar 2006 10:47:17 -0800 Subject: Correct syntax fpr appending data Message-ID: What is the correct syntax for Rev to append data to the next line in a text file? I have a quiz in a standalone, and when the participant finishes, the file needs to save. the next particpant's scores should go on the next line. I use a button at the end of the quiz: on mouseUp set itemDelimiter to tab put fld "quiz_item1" into item 1 of line 1 of field "data field" of stack "data sample" put fld "quiz_item2" into item 2 of line 1 of field "data field" of stack "data sample" put fld "data field " into url "file:test data.txt" get url "file:test data.txt" put it into fld "sample field that proves to me something is going to the test data file" save url "file:test data.txt" end mouseUp 1) So how do I get the next person's data to enter the next line and save, without over writing the previous person's data? 2) Do you see flaws in this approach? My frustration with the Rev docs disappears when I use this support forum. Thanks, as always, for the help. Ben From klaus at major-k.de Mon Mar 6 14:03:51 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 6 Mar 2006 20:03:51 +0100 Subject: Correct syntax fpr appending data In-Reply-To: References: Message-ID: <307DBB21-21D2-4F2D-953E-E1523B291EC3@major-k.de> Hi Ben, > What is the correct syntax for Rev to append data to the next line > in a text file? > > I have a quiz in a standalone, and when the participant finishes, > the file needs to save. the next particpant's scores should go on > the next line. I use a button at the end of the quiz: > > > on mouseUp > > set itemDelimiter to tab > > put fld "quiz_item1" into item 1 of line 1 of field "data field" of > stack "data sample" > > put fld "quiz_item2" into item 2 of line 1 of field "data field" of > stack "data sample" > > put fld "data field " into url "file:test data.txt" ## OK so far :-) > ##get url "file:test data.txt" ## But now you could use this lines to check if the saving was successful: if the result = empty then ## Success put "File saved successfully!" into fld "sample field that proves to me something is going to the test data file" else ## NO success put "Error while saving to disk!" into fld "sample field that proves to me something is going to the test data file" end if > ##save url "file:test data.txt" ## Does not work! Wrong Syntax! > end mouseUp > > 1) So how do I get the next person's data to enter the next line > and save, without over writing the previous person's data? put CR & the_new_data_2_save AFTER url "file:test data.txt" ## Puts a RETURN (= new line) and the new data AFTER that file. That's it. > 2) Do you see flaws in this approach? No should work fine. > My frustration with the Rev docs disappears when I use this support > forum. Thanks, as always, for the help. > > Ben Regards Klaus Major klaus at major-k.de http://www.major-k.de From JimAultWins at yahoo.com Mon Mar 6 14:12:19 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 06 Mar 2006 11:12:19 -0800 Subject: Correct syntax fpr appending data In-Reply-To: Message-ID: On 3/6/06 10:47 AM, "Ben Bock" wrote: > What is the correct syntax for Rev to append data to the next line in a text > file? > > I have a quiz in a standalone, and when the participant finishes, the file > needs to save. the next particpant's scores should go on the next line. I > use a button at the end of the quiz: > > > on mouseUp > set itemDelimiter to tab > put fld "quiz_item1" into item 1 of line 1 of field "data field" of stack > "data sample" > put fld "quiz_item2" into item 2 of line 1 of field "data field" of stack > "data sample" > put fld "data field " into url "file:test data.txt" > get url "file:test data.txt" > put it into fld "sample field that proves to me something is going to the test > data file" > save url "file:test data.txt" > end mouseUp > 1) So how do I get the next person's data to enter the next line and save, > without over writing the previous person's data? > 2) Do you see flaws in this approach? The way I like is to do: put CR & fld dataField after url ("file:test data.txt") or put fld dataField & CR before url ("file:test data.txt") or put fld dataField & CR & CR before url ("file:test data.txt") --dbl space or put (CR & the seconds &CR&fld dataField & CR) after url ("file:test data.txt") If the file does not exist, one is created. Caution: if the folder does NOT exist, nothing is written. Jim Ault Las Vegas From jacque at hyperactivesw.com Mon Mar 6 14:35:38 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Mar 2006 13:35:38 -0600 Subject: Progress Reporting When Building Standalones In-Reply-To: References: Message-ID: <440C8F0A.6000309@hyperactivesw.com> Rob Cozens wrote: > It turns out I was just impatient (and perhaps gun-shy from others' > reports): I was building standalones for both MacOSX and Windows from my > 90M Photo Portfolio stack, and I now know the process takes in excess of > four minutes... during which the IDE does nothing -- not even a cursor > change -- to provide any progress feedback. The long time it takes to do a build might be due to the content of your stack, but also there can be a big delay if you have the standalone builder set to scan for inclusions. If you uncheck the box "search for required inclusions" and instead check the box "select inclusions" the time it takes to build can be dramatically reduced. If you've already done that, of course, ignore this. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 6 14:38:17 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Mar 2006 13:38:17 -0600 Subject: The End of Dreamcard? In-Reply-To: References: Message-ID: <440C8FA9.6090708@hyperactivesw.com> Timothy Miller wrote: > Thanks for your reply. It's not a question of licensing. It's a question > of planning. I'm just trying to figure out what RR product I will need, > in the long run, to continue running my stacks. Studio is my guess. If you don't mind the persistent backdrop and you aren't using external databases, then I suspect you could also do fine with Media. Media has a script editor. But I think the idea of renewing DC now and waiting for a while to see what your needs are is a good one. That way you don't lose anything. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 6 14:52:12 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Mar 2006 13:52:12 -0600 Subject: Correct syntax fpr appending data In-Reply-To: References: Message-ID: <440C92EC.8040200@hyperactivesw.com> Ben Bock wrote: > What is the correct syntax for Rev to append data to the next line in > a text file? > put fld "data field " into url "file:test data.txt" > > get url "file:test data.txt" > > put it into fld "sample field that proves to me something is going to > the test data file" > > save url "file:test data.txt" You don't need the "save" line -- putting data into a URL automatically opens the file, writes to it, closes and saves it. You can re-read the text file, add more info after the existing info, and the put the data back into the URL, as you are doing now. "Putting" into a URL is definitely one of the easiest methods of saving text files, because it is a one-liner. But in some cases it is worth a look at the original way to save files to disk. This uses the "open file", "write to file", and "close file" syntax. These are much more powerful than the automated "put into URL" syntax. You can open a file and leave it open if you need to, for one thing, only closing it at the end of the session. This is good for repeated read/write operations. And more advantageous to your situation, you can open a file in various modes depending on what you want to do. You can open a file as read-only, or as write-only, or -- and this is what you want -- as "append". If you open a file for appending, anything you write automatically gets placed at the end without overwriting anything else in there. That describes your situation exactly. So, you could do this: open file "test data.txt" for append write field "data field" to file "test data.txt" close file "test data.txt" See the "open file" and "write to file" entries in the docs for lots of ideas. It is a more powerful way to use disk files. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From soapdog at mac.com Mon Mar 6 14:58:27 2006 From: soapdog at mac.com (Andre Garzia) Date: Mon, 6 Mar 2006 16:58:27 -0300 Subject: url for free icons to use in web and apps... Message-ID: <4B3A0C89-2802-48BE-805A-AA697B613D8A@mac.com> Folks, I know this is a little OT but if you guys are like me and can't draw a straight line with the help of a ruler, then, you all probably looking for some quality royalty free icons out there in the wild. I came to this site today which lists some free icon sets, some are very nice indeed. http://www.maxpower.ca/free-icons/2006/03/05/ Cheers andre From cmsheffield at gmail.com Mon Mar 6 15:01:09 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon, 6 Mar 2006 13:01:09 -0700 Subject: shortFilePath function not working Message-ID: I've been struggling with this one for a couple days now. Can anyone think of any reason why shortFilePath() would not return a valid 8.3 file path? I am seeing some very strange behavior with it. I have two standalones. The first was built a few months back, the second just a few days ago. They both have a line of script that calls shortFilePath, and then uses that path later in order to call an external exe. The first standalone works perfectly. The second does not. The code between the two is exactly the same as far as I can tell. But in the second one, shortFilePath is not converting the path. The docs say that the function does not actually check for existence of a file, so it should convert the path regardless. I cannot for the life of me figure out why it's not working in the second standalone. Anyone have any ideas? Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From jacque at hyperactivesw.com Mon Mar 6 15:04:12 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Mar 2006 14:04:12 -0600 Subject: Slow Dialogs in Rev 2.7 In-Reply-To: References: Message-ID: <440C95BC.9040009@hyperactivesw.com> Paul Claude wrote: > In Rev 2.7 many things seems a little quicker than before, except from the > dialogs; all kind of dialogs (answer, ask, even the save dialog that appears > when you save your stack) shows after 7-10 seconds from calling. > > It's a bug? It works fine for me here, no delays at all. What OS are you using, and what version of Revolution? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From JimAultWins at yahoo.com Mon Mar 6 15:33:58 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 06 Mar 2006 12:33:58 -0800 Subject: parallel sort question Message-ID: Sorting by another field. Parallel sort question Is there an easy syntax for using the sort lines to do parallel sorting I know how to : sort lines of fld dataLines descending by the number of items of each and --using a function call to define the sortKey value (value sorted on) sort lines of fld dataLines descending by supply2ndFldValue(word 1 of each) function supply2ndFldValue lookupValue return lineOffset( lookupValue, fld orderValues) end supplyFld2 -------------------- However, these do not work sort lines of it descending by supplyFld2(line of each) sort lines of it descending by supplyFld2(line number of each) I will be scanning a list of combined data that will be evaluated to a classification. I would like to sort by that classification to achieve grouping without adding that to the data field. I have done successive repeat loops to do this by adding the class as word 1, sort, then deleting word 1. Works fine, but elegance is its own reward. Basically, 'sort according to another list or field' Thanks Jim Ault Las Vegas From wlists at fireworksmm.com Mon Mar 6 15:34:58 2006 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Mon, 6 Mar 2006 15:34:58 -0500 Subject: (no subject) In-Reply-To: References: Message-ID: <470278E3-9763-4768-A0E0-1C1705CFA6F1@fireworksmm.com> This is what I use in one of my solutions: put fld "quiz_item1" & tab into fld "data field" of stack "data sample" put fld "quiz_item2" & tab after fld "data field" of stack "data sample" Then write out, etc., etc. If you want the data to go to the next line instead of being separated by tabs then put fld "quiz_item1" & return into fld "data field" of stack "data sample" put fld "quiz_item12" & return after fld "data field" of stack "data sample" W. On Mar 6, 2006, at 1:45 PM, Ben Bock wrote: > What is the correct syntax for Rev to append data to the next line > in a text file? > > I have a quiz in a standalone, and when the participant finishes, > the file needs to save. the next particpant's scores should go on > the next line. I use a button at the end of the quiz: > > > on mouseUp > > set itemDelimiter to tab > > put fld "quiz_item1" into item 1 of line 1 of field "data field" of > stack "data sample" > > put fld "quiz_item2" into item 2 of line 1 of field "data field" of > stack "data sample" > > put fld "data field " into url "file:test data.txt" > > get url "file:test data.txt" > > put it into fld "sample field that proves to me something is going > to the test data file" > > save url "file:test data.txt" > > end mouseUp > > > > 1) So how do I get the next person's data to enter the next line > and save, without over writing the previous person's data? > > > > 2) Do you see flaws in this approach? > > > > My frustration with the Rev docs disappears when I use this support > forum. Thanks, as always, for the help. > > > > Ben > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gandalf at doctorTimothyMiller.com Mon Mar 6 15:48:59 2006 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 6 Mar 2006 12:48:59 -0800 Subject: The End of Dreamcard? In-Reply-To: <440C8FA9.6090708@hyperactivesw.com> References: <440C8FA9.6090708@hyperactivesw.com> Message-ID: >Timothy Miller wrote: > >>Thanks for your reply. It's not a question of licensing. It's a >>question of planning. I'm just trying to figure out what RR product >>I will need, in the long run, to continue running my stacks. Studio >>is my guess. > >If you don't mind the persistent backdrop and you aren't using >external databases, then I suspect you could also do fine with >Media. Media has a script editor. > >But I think the idea of renewing DC now and waiting for a while to >see what your needs are is a good one. That way you don't lose >anything. > Thanks Jacque, I can't quite picture the "persistent backdrop." Is there a way to preview it? Will Media support all the commands, functions, properties and containers presently supported by Dreamcard, except for external database-related stuff? If so, will Media do other things that DC presently doesn't do? I still can't figure out if Media is meant as a DC replacement, or if it also adds functionality to Studio. Am I overlooking some kind of a comparison chart on the RR website? If I'm not, this really shouldn't be so hard. I paid for an extended licence for DC some time ago, so renewing the license is not an issue. I thought it was a bargain at the time, still do. Cheers, Tim From Cubist at aol.com Mon Mar 6 15:51:17 2006 From: Cubist at aol.com (Cubist at aol.com) Date: Mon, 6 Mar 2006 15:51:17 EST Subject: Correct syntax fpr appending data Message-ID: <27a.58f9e83.313dfac5@aol.com> In a message dated 3/6/06 10:59:12 AM, "Ben Bock" writes: > >What is the correct syntax for Rev to append data to the next line in a >text file? >I have a quiz in a standalone, and when the participant finishes, the file >needs to save. the next particpant's scores should go on the next line. > I use a button at the end of the quiz: > >on mouseUp > set itemDelimiter to tab > put fld "quiz_item1" into item 1 of line 1 of field "data field" of stack "data sample" > put fld "quiz_item2" into item 2 of line 1 of field "data field" of stack "data sample" > put fld "data field " into url "file:test data.txt" > get url "file:test data.txt" > put it into fld "sample field that proves to me something is going to the test data file" > save url "file:test data.txt" >end mouseUp > >1) So how do I get the next person's data to enter the next line and save, >without over writing the previous person's data? You need to *not* explicitly anoint a particular number as The One True Line-Number when you're putting your new data into that field. Something like this would work: on mouseUp set itemDelimiter to tab put the number of lines in (field "data field" of stack "data sample") into Fred add 1 to Fred put fld "quiz_item1" into item 1 of line Fred of field "data field" of stack "data sample" TheRestOfTheCodeGoesHere The idea is that you find out which line you should put your data into, *before* you put your data into that line. >2) Do you see flaws in this approach? Hmmm... not so much "flaws" as "differences in programming style". You're adding each piece of data to your field, as a separate operation; if I was writing this thing, I'd put all the new data into a variable, and then add that variable (which contains X number of pieces of data) to the field. Something like this: on mouseUp set itemDelimiter to tab put the number of lines in (field "data field" of stack "data sample") into Fred add 1 to Fred put fld "quiz_item1" into item 1 of George put fld "quiz_item2" into item 2 of George put George into line Fred of field "data field" of stack "data sample" put fld "data field " into url "file:test data.txt" get url "file:test data.txt" put it into fld "sample field that proves to me something is going to the test data file" save url "file:test data.txt" end mouseUp The difference is that your way, you 'touch' the field many times; my way, I 'touch' the field only once. Why would anyone worry abut how many times they 'touch' a field? Because it takes Revolution less time to change the contents of a variable than to change the contents of a field. That is, variables are faster than fields. The actual speed difference is measured in milliseconds (if that much) for any one operation, but it *can* add up, depending on what you're doing, so I generally go for speed as and when I can. All of which said, your way *will* work. And it may well be that a few milliseconds here and there simply will never be *noticed* by the users of your stack. So don't feel you *must* change! Hope this helps... From pevensen at siboneylg.com Mon Mar 6 16:15:08 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 06 Mar 2006 15:15:08 -0600 Subject: The End of Dreamcard? In-Reply-To: References: <440C8FA9.6090708@hyperactivesw.com> Message-ID: <6.2.1.2.2.20060306151259.0b59b440@exchange.slg.com> At 02:48 PM 3/6/2006, you wrote: >I can't quite picture the "persistent backdrop." Is there a way to preview it? DC/Rev has the backdrop currently. In your application "set the backdrop to black" to see how it will look. I'm not sure if the Rev Media IDE will have the backdrop on by default, or if it is just the player that will have the backdrop. You can turn the backdrop on in IDE by choosing View -> Backdrop Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From jacque at hyperactivesw.com Mon Mar 6 16:47:21 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Mar 2006 15:47:21 -0600 Subject: The End of Dreamcard? In-Reply-To: References: <440C8FA9.6090708@hyperactivesw.com> Message-ID: <440CADE9.5040800@hyperactivesw.com> Timothy Miller wrote: > I can't quite picture the "persistent backdrop." Is there a way to > preview it? Choose "Backdrop" from the View menu. You can set the color via script, or from the Preferences. Note that having a backdrop doesn't prevent you from changing apps. > > Will Media support all the commands, functions, properties and > containers presently supported by Dreamcard, except for external > database-related stuff? Yes, pretty much. It is the same engine, with a few behavioral limitations. > > If so, will Media do other things that DC presently doesn't do? No. It comes with templates that the other editions don't have. But the engine functionality is the same, with above limitation caveats. > > I still can't figure out if Media is meant as a DC replacement, or if it > also adds functionality to Studio. Am I overlooking some kind of a > comparison chart on the RR website? If I'm not, this really shouldn't be > so hard. There is a chart here: If you buy Studio or Enterprise, you don't need Media. Media is basically an entry-level product for people who don't want, or don't know how, to do much scripting yet. It has nearly the same limitations that DC had, except that all database access is gone, and there's that backdrop. It doesn't "add" anything to the other editions (unless you want the templates.) It restricts behaviors that the other editions do have. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 6 16:49:37 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Mar 2006 15:49:37 -0600 Subject: parallel sort question In-Reply-To: References: Message-ID: <440CAE71.1000904@hyperactivesw.com> Jim Ault wrote: > Sorting by another field. > Parallel sort question > > Is there an easy syntax for using the sort lines to do parallel sorting There is nothing built-in, but I've used this: local lKeyData, lLineCounter on sortBy keyField -- parallel sorting of linked flds put fld keyField into lKeyData put "data1,data2,data3" into dataFields -- fill in your fld names here repeat with i = 1 to the number of items of dataFields put 0 into lLineCounter sort lines of fld (item i of dataFields) by key() end repeat end sortBy function key add 1 to lLineCounter return line lLineCounter of lKeyData end key -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revolutionary.dan at gmail.com Mon Mar 6 16:57:15 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Mon, 6 Mar 2006 13:57:15 -0800 Subject: The End of Dreamcard? In-Reply-To: <440CADE9.5040800@hyperactivesw.com> References: <440C8FA9.6090708@hyperactivesw.com> <440CADE9.5040800@hyperactivesw.com> Message-ID: <70ed6b130603061357r3090df0dn80eb7d0a480d2dfe@mail.gmail.com> I thought this might add a bit of perspective if not humor to our discussion. I have a really good friend who is a semi-serious amateur photographer. He's also pretty computer-savvy. A while back I introduced him to Rev and he's been delightedly churning out apps for his use in his hobby, happy as a clam. He bought Dreamcard. When the new release came out and it became apparent that DC would no longer be a viable product, it took him about 3 minutes to decide to upgrade to Studio when the time comes to do that. I asked him how he made that decision. "Revolution Studio is cheaper than any camera or lens I own for my other hobby. I don't make money at either. Part of the definition of a hobby is something you enjoy pouring money into so you can see better and better results. I've become something of a hobbyist programmer now and I want the right tools for that job just like I want the right cameras and lenses. It's a no-brainer." This guy's not wealthy (he's retired) but he understands the value of the right tool for the right job. I just thought that was a terribly sane way to look at things. And no I'll step aside and wait for the flamers to point out how little money academia has, how unpredictable software strategies are and all the rest. :-) Dan From effendi at wanadoo.fr Mon Mar 6 17:13:52 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 6 Mar 2006 23:13:52 +0100 Subject: No OpenStack ..... ! continued Message-ID: Thanks to Rob, Charles and Jacqueline for their counsel. I finally read up the documentation on openStack ! (I thought it would be the same as in HyperCard, but no). It says "Put script in first card script" (strange place to put it !). So I did, and now it works. You learn every day ..... I have other problems moving to the PC platform, which will possibly be the object of my next posts, but .................. "one step at a time". -Francis "Nothing should ever be done for the first time". From gandalf at doctorTimothyMiller.com Mon Mar 6 17:33:37 2006 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 6 Mar 2006 14:33:37 -0800 Subject: The End of Dreamcard? In-Reply-To: <70ed6b130603061357r3090df0dn80eb7d0a480d2dfe@mail.gmail.com> References: <440C8FA9.6090708@hyperactivesw.com> <440CADE9.5040800@hyperactivesw.com> <70ed6b130603061357r3090df0dn80eb7d0a480d2dfe@mail.gmail.com> Message-ID: Dan wrote: --snip-- > >This guy's not wealthy (he's retired) but he understands the value of the >right tool for the right job. I just thought that was a terribly sane way to >look at things. > >And no I'll step aside and wait for the flamers to point out how little >money academia has, how unpredictable software strategies are and all the >rest. > >:-) > >Dan I've never had any complaints about DC or RR's prices. They seem reasonble. There's something about cyberspace... Too many people want something for nothing -- or very little. Maybe it's all those pirated Mp3s. If someone wants to produce a legal shareware clone of Studio for $10, it's a free county. Until then, supply and demand sets the price. Software strategies have always been unpredictable. Heck, I'm still unhappy that it's no longer feasible for me to code my own web pages in some ancient version of HTML. Sure, it can still be done, but I'd miss out on too much functionality. Do I get an emotional maturity award for this message? ;-) Tim From gandalf at doctorTimothyMiller.com Mon Mar 6 17:37:39 2006 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 6 Mar 2006 14:37:39 -0800 Subject: The End of Dreamcard? In-Reply-To: <440CADE9.5040800@hyperactivesw.com> References: <440C8FA9.6090708@hyperactivesw.com> <440CADE9.5040800@hyperactivesw.com> Message-ID: >Timothy Miller wrote: > >> I can't quite picture the "persistent backdrop." Is there a way to >> preview it? > >Choose "Backdrop" from the View menu. You can set the color via >script, or from the Preferences. Note that having a backdrop doesn't >prevent you from changing apps. > I guess I can live with that. I can't understand why this option would suddenly become mandatory in Media. What's the logic? Is it a subtle incentive for some users to upgrade to Studio? > >There is a chart here: Thanks! I wish I could have found that myself, but there it is. > >If you buy Studio or Enterprise, you don't need Media. Media is >basically an entry-level product for people who don't want, or don't >know how, to do much scripting yet. It has nearly the same >limitations that DC had, except that all database access is gone, >and there's that backdrop. It doesn't "add" anything to the other >editions (unless you want the templates.) It restricts behaviors >that the other editions do have. > Okay, that's clear. I get it now. Tim From pevensen at siboneylg.com Mon Mar 6 17:59:54 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 06 Mar 2006 16:59:54 -0600 Subject: How to preload sound files Message-ID: <6.2.1.2.2.20060306165805.0b25b008@exchange.slg.com> I know I've seen this, but I can't remember where to find it. Is there a command to buffer a sound file so the player can play it more quickly? I'm trying to string together a bunch of mp3's and minimize the delays between one and the next one. Any tips on this would be appreciated. I have a player with a list of files in a custom property. On a stopPlaying, I set the filename to the next one and then start the player. Any better ways to do it? Thanks! Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From jhurley at infostations.com Mon Mar 6 18:08:02 2006 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 6 Mar 2006 15:08:02 -0800 Subject: Scrollbar to drag through a movie? Message-ID: > >Message: 16 >Date: Sat, 4 Mar 2006 17:52:24 +0100 >From: Klaus Major >Subject: Re: Scrollbar to drag through a movie? >To: How to use Revolution >Message-ID: <86AFD6BC-63DC-4A11-9B0A-DD3DDC2AF4F8 at major-k.de> >Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > >Hi Jim, > >> Is is possible to drag smoothly through the video frames of a movie >> using a scrollbar? > >with version 2.6.1 this is only possible when the QT controller is >visible >OR >(if the controller is not visible) when the movie is already >playing...?! > >This was possible with earlier versions of Rev :-/ > >But with Rev 2.7 this is possible again :-) > >Just set the startvalue of your slider to 0 and the endvalue to the >duration of the player... > >on scrollbardrag tValue > set the currenttime of player xyz to tValue >end scrollbardrag > >C'est ca :-) > >> I can drag to a current time and then start from that point, but I >> would like to see the frames shuttle by as I drag the thumb. > >Hope that helps... > >> Jim > >Regards > >Klaus Major >klaus at major-k.de >http://www.major-k.de > >* Klaus, Thanks. I have been using the handler you describe above, but there was never a picture that responds to the setting of the currentTime. Although the movie would "start" at the currentTime. I'm not sure I know what you mean by "when the QT controller is visible." Is this a feature of RR? I haven't taken the plunge into 2.7 as yet. Waiting for things to sort themselves out. But I would appreciate it if someone would let me know whether RR has fixed the display problem in OS X. That is, whether the following stack runs as expected: go url "http://home.infostations.net/jhurley/DisplayProblemsOSX.rev" Does the graphic move evenly across the screen or is the motion herky-jerky? Same for the banner display? Thanks, Jim From aturban at qwest.net Mon Mar 6 18:16:04 2006 From: aturban at qwest.net (Arthur Urban) Date: Mon, 06 Mar 2006 16:16:04 -0700 Subject: Functions out of the message path? Message-ID: <440CC2B4.40909@qwest.net> Is there a way to call a function in an object out of the message path? I'm surprised that there is no syntax for something like the following: call DoSpecialCalculation( valueA, valueB ) of fld "Test" and have the return value placed in the variable "it". Or even: call into myLocalVar DoSpecialCalculation( valueA, valueB ) of fld "Test" or better yet: put DoSpecialCalculation( valueA, valueB ) of fld "Test" into myLocalVar Thanx for any help! From pevensen at siboneylg.com Mon Mar 6 18:18:11 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 06 Mar 2006 17:18:11 -0600 Subject: Functions out of the message path? In-Reply-To: <440CC2B4.40909@qwest.net> References: <440CC2B4.40909@qwest.net> Message-ID: <6.2.1.2.2.20060306171737.0b8a5808@exchange.slg.com> Look at Value. What you want is: Value("DoSpecialCalculation(valueA, valueB)", fld "Test") At 05:16 PM 3/6/2006, you wrote: >Is there a way to call a function in an object out of the message path? >I'm surprised that there is no syntax for something like the following: > >call DoSpecialCalculation( valueA, valueB ) of fld "Test" > >and have the return value placed in the variable "it". Or even: > >call into myLocalVar DoSpecialCalculation( valueA, valueB ) of fld "Test" > >or better yet: > >put DoSpecialCalculation( valueA, valueB ) of fld "Test" into myLocalVar > >Thanx for any help! >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From scott at tactilemedia.com Mon Mar 6 18:19:30 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 06 Mar 2006 15:19:30 -0800 Subject: How to preload sound files In-Reply-To: <6.2.1.2.2.20060306165805.0b25b008@exchange.slg.com> Message-ID: Recently, Peter T. Evensen wrote: > I'm trying to string together a bunch of mp3's and minimize the delays > between one and the next one. Any tips on this would be appreciated. > > I have a player with a list of files in a custom property. On a > stopPlaying, I set the filename to the next one and then start the > player. Any better ways to do it? Before I go off on a rant about Rev audio (apparently Geoff Canyon has been listening), I don't think there's much you can do natively about this. I know Trevor DeVore added a looping function to his enhancedQT external that allows you to loop one track seamlessly in a player, however I'm not sure this can be spread across multiple audio files. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From devin_asay at byu.edu Mon Mar 6 18:20:57 2006 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 6 Mar 2006 16:20:57 -0700 Subject: Functions out of the message path? In-Reply-To: <440CC2B4.40909@qwest.net> References: <440CC2B4.40909@qwest.net> Message-ID: On Mar 6, 2006, at 4:16 PM, Arthur Urban wrote: > Is there a way to call a function in an object out of the message > path? I'm surprised that there is no syntax for something like the > following: > > call DoSpecialCalculation( valueA, valueB ) of fld "Test" > > and have the return value placed in the variable "it". Or even: > > call into myLocalVar DoSpecialCalculation( valueA, valueB ) of fld > "Test" > > or better yet: > > put DoSpecialCalculation( valueA, valueB ) of fld "Test" into > myLocalVar Take a look at the value function. It will take as an argument an expression (handler or function) and the object that contains the handler or function definition. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From lists at mangomultimedia.com Mon Mar 6 18:28:11 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 6 Mar 2006 15:28:11 -0800 Subject: How to preload sound files In-Reply-To: References: Message-ID: <0867C041-011E-4FCA-8F49-AB52ED24D74E@mangomultimedia.com> On Mar 6, 2006, at 3:19 PM, Scott Rossi wrote: > Recently, Peter T. Evensen wrote: > >> I'm trying to string together a bunch of mp3's and minimize the >> delays >> between one and the next one. Any tips on this would be appreciated. >> >> I have a player with a list of files in a custom property. On a >> stopPlaying, I set the filename to the next one and then start the >> player. Any better ways to do it? > > Before I go off on a rant about Rev audio (apparently Geoff Canyon > has been > listening), I don't think there's much you can do natively about > this. I > know Trevor DeVore added a looping function to his enhancedQT > external that > allows you to loop one track seamlessly in a player, however I'm > not sure > this can be spread across multiple audio files. My solution in the EnhancedQT external only works for looping one file. If you are using QT then you could try one of the following. I'm not sure if this will give you a seamless loop or not though. 1) Create a reference movie in QT if you have QT Player Pro. Open QT Player and select File->New Player. Open each mp3 file and copy and paste the contents from the mp3 into the new player. Save the new player as a reference movie (an option when using Save As). The reference movie will be very small as it only points to the mp3 files on disk. 2) Create a SMIL file. Similar to the technique above but uses a SMIL file: -- Trevor DeVore Blue Mango Learning Systems - http://www.bluemangolearning.com trevor at bluemangolearning.com From pevensen at siboneylg.com Mon Mar 6 18:41:02 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 06 Mar 2006 17:41:02 -0600 Subject: How to preload sound files In-Reply-To: <0867C041-011E-4FCA-8F49-AB52ED24D74E@mangomultimedia.com> References: <0867C041-011E-4FCA-8F49-AB52ED24D74E@mangomultimedia.com> Message-ID: <6.2.1.2.2.20060306173709.0b9aeb98@exchange.slg.com> Thanks for all your suggestions, unfortunately the sequence of sound files is dynamically generated, so splicing them together ahead of time won't work. I did just try a test where instead of using one player to sequentially play through the files, I tried interleaving the list between two players. I load up player 1 with the first sound file and player 2 with the second. In player 1's stopPlaying handler, I start Player 2 and then set the filename of player 1 to the third sound file. This does give me better performance. I'm not sure if this is sufficient, or if dynamically creating as players as I have sound files, and then firing them one by one, would give me even more performance. Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From pevensen at siboneylg.com Mon Mar 6 18:53:30 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 06 Mar 2006 17:53:30 -0600 Subject: How to preload sound files In-Reply-To: <6.2.1.2.2.20060306173709.0b9aeb98@exchange.slg.com> References: <0867C041-011E-4FCA-8F49-AB52ED24D74E@mangomultimedia.com> <6.2.1.2.2.20060306173709.0b9aeb98@exchange.slg.com> Message-ID: <6.2.1.2.2.20060306175245.0b9f1090@exchange.slg.com> Actually, I take this back. The interleaving doesn't seem to buy me much (not sure why it did on the one test), but after restarting Rev and trying my test again, the interleaved and non-interleaved players come out almost identical :(. At 05:41 PM 3/6/2006, you wrote: >Thanks for all your suggestions, unfortunately the sequence of sound files >is dynamically generated, so splicing them together ahead of time won't work. > >I did just try a test where instead of using one player to sequentially >play through the files, I tried interleaving the list between two >players. I load up player 1 with the first sound file and player 2 with >the second. In player 1's stopPlaying handler, I start Player 2 and then >set the filename of player 1 to the third sound file. > >This does give me better performance. I'm not sure if this is sufficient, >or if dynamically creating as players as I have sound files, and then >firing them one by one, would give me even more performance. > >Peter T. Evensen >http://www.PetersRoadToHealth.com >314-629-5248 or 888-628-4588 >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From lists at mangomultimedia.com Mon Mar 6 18:59:57 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 6 Mar 2006 15:59:57 -0800 Subject: How to preload sound files In-Reply-To: <6.2.1.2.2.20060306173709.0b9aeb98@exchange.slg.com> References: <0867C041-011E-4FCA-8F49-AB52ED24D74E@mangomultimedia.com> <6.2.1.2.2.20060306173709.0b9aeb98@exchange.slg.com> Message-ID: <85BD7B30-B96F-44DA-8CA5-DB4FCE66DA19@mangomultimedia.com> On Mar 6, 2006, at 3:41 PM, Peter T. Evensen wrote: > Thanks for all your suggestions, unfortunately the sequence of > sound files is dynamically generated, so splicing them together > ahead of time won't work. SMIL is plain text so it can be generated in Rev, output as a file to a temp directory and loaded into a player object. Here is a sample that displays images on after the other, but like I said before, I'm not sure if you will get a seamless loop or not for audio. SMILtext -- Trevor DeVore Blue Mango Learning Systems - http://www.bluemangolearning.com trevor at bluemangolearning.com From pevensen at siboneylg.com Mon Mar 6 19:05:24 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 06 Mar 2006 18:05:24 -0600 Subject: How to preload sound files In-Reply-To: <85BD7B30-B96F-44DA-8CA5-DB4FCE66DA19@mangomultimedia.com> References: <0867C041-011E-4FCA-8F49-AB52ED24D74E@mangomultimedia.com> <6.2.1.2.2.20060306173709.0b9aeb98@exchange.slg.com> <85BD7B30-B96F-44DA-8CA5-DB4FCE66DA19@mangomultimedia.com> Message-ID: <6.2.1.2.2.20060306180328.0ba15730@exchange.slg.com> Thanks! I'm not familiar with SMIL. I will have to check into this and run some tests. In playing some more, my interleaved players do a better job on a network. With a single player, it took 34 almost 35 seconds to play a string of 10 files. With 2 interleaved players, it took 23 seconds, since the one player was loading the next file while the other was playing the previous file. At 05:59 PM 3/6/2006, Trevor DeVore wrote: >On Mar 6, 2006, at 3:41 PM, Peter T. Evensen wrote: > >>Thanks for all your suggestions, unfortunately the sequence of >>sound files is dynamically generated, so splicing them together >>ahead of time won't work. > >SMIL is plain text so it can be generated in Rev, output as a file to >a temp directory and loaded into a player object. Here is a sample >that displays images on after the other, but like I said before, I'm >not sure if you will get a seamless loop or not for audio. > >SMILtext > > > > > > > > > > > > > > > > > > >-- >Trevor DeVore >Blue Mango Learning Systems - http://www.bluemangolearning.com >trevor at bluemangolearning.com > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From davis.phil at comcast.net Mon Mar 6 21:03:38 2006 From: davis.phil at comcast.net (Phil Davis) Date: Mon, 06 Mar 2006 18:03:38 -0800 Subject: How to preload sound files In-Reply-To: <6.2.1.2.2.20060306165805.0b25b008@exchange.slg.com> References: <6.2.1.2.2.20060306165805.0b25b008@exchange.slg.com> Message-ID: <440CE9FA.70606@comcast.net> Hi Peter, Another approach is to load the files as URLs with the 'load' command, then set the player filename to each loaded url in succession. I don't know how the transition speed would be, but at least the player would be dealing with preloaded files. It might be fast enough. I would probably use 'send... in' to run the loading handler, so I could make it load the next file only after the current one has started playing, but before it has completed. Of course you might need to unload them too. Phil Davis Peter T. Evensen wrote: > I know I've seen this, but I can't remember where to find it. Is there > a command to buffer a sound file so the player can play it more quickly? > > I'm trying to string together a bunch of mp3's and minimize the delays > between one and the next one. Any tips on this would be appreciated. > > I have a player with a list of files in a custom property. On a > stopPlaying, I set the filename to the next one and then start the > player. Any better ways to do it? > > Thanks! > > Peter T. Evensen > http://www.PetersRoadToHealth.com > 314-629-5248 or 888-628-4588 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From JimAultWins at yahoo.com Mon Mar 6 21:15:37 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 06 Mar 2006 18:15:37 -0800 Subject: parallel sort question In-Reply-To: <440CAE71.1000904@hyperactivesw.com> Message-ID: On 3/6/06 1:49 PM, "J. Landman Gay" wrote: > Jim Ault wrote: >> Sorting by another field. Parallel sort question >> Is there an easy syntax for using the sort lines to do parallel sorting > > There is nothing built-in, but I've used this: > local lKeyData, lLineCounter > > on sortBy keyField -- parallel sorting of linked flds > put fld keyField into lKeyData > put "data1,data2,data3" into dataFields -- fill in your fld names here > repeat with i = 1 to the number of items of dataFields > put 0 into lLineCounter > sort lines of fld (item i of dataFields) by key() > end repeat > end sortBy > > function key > add 1 to lLineCounter > return line lLineCounter of lKeyData > end key > Thanks for the response. In my current case, fld 2 has short, one-word 'tags', so ----------- get fld listToSort repeat with x = 1 to the number of lines in it put line x of fld 2 & " " before line x of it end repeat sort it descending by word 1 of each repeat for each line LNN in it put word 2 to -1 of LNN & CR after finalOrder end repeat delete last char of finalOrder put it into fld listToSort --------- Which is fast enough for my very small data blocks. My next task this evening is waaay more data to sort. Thanks, Jim Ault Las Vegas From markgreenberg at cox.net Mon Mar 6 21:55:55 2006 From: markgreenberg at cox.net (Mark Greenberg) Date: Mon, 6 Mar 2006 19:55:55 -0700 Subject: In-line Fraction with Horizontal Line Message-ID: <2051D937-8163-4405-A04C-5823B9B6E558@cox.net> Fellow list members, I have a problem for which I can only find difficult or unsatisfactory solutions, and I was hoping you might have some suggestions. I am making a stack to teach students math -- linear equations, to be more precise. When I display the y = mx + b form, the best I can do to show a fraction in the m position is something like y = 4/5x + 2. This is ambiguous because it isn't clear what should be taken as the divisor, 5 or 5x or 5x + 2. The math teacher for whom I am making the game would prefer a horizontal division line instead of a slash. So far this is what I've thought of and rejected: Use fonts that have fractions built in as one character. No, because they have too few for the range of possible slopes I want to generate. Force the numerals around as subscripts and superscripts until it is clear what the fraction is. Messy and probably won't lead to success. Use inline images. Need too many images to cover possible slopes. Write it y = (4/5)x + 2. This is mathematically acceptable, but not the way the students will see it elsewhere. Use a different 2-line field that moves according to the location of the fraction. Hmm.. maybe. I could use some help on this one. TIA, Mark From got at mindspring.com Mon Mar 6 22:08:57 2006 From: got at mindspring.com (Gordon Tillman) Date: Mon, 6 Mar 2006 21:08:57 -0600 Subject: In-line Fraction with Horizontal Line In-Reply-To: <2051D937-8163-4405-A04C-5823B9B6E558@cox.net> References: <2051D937-8163-4405-A04C-5823B9B6E558@cox.net> Message-ID: <12883229-8705-4543-ABCA-B60B0824B8C5@mindspring.com> Mark it may be possible to generate an image on the fly of your equation and display that. Also, if the kind folks at Altuit would update the altBrowser plugin to use the Gecko rendering engine (ala Firefox), you could use MathML and get *great* equation rendering! --gordon On Mar 6, 2006, at 20:55, Mark Greenberg wrote: > Use inline images. Need too many images to cover possible slopes. From monte at sweattechnologies.com Mon Mar 6 22:54:16 2006 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 7 Mar 2006 14:24:16 +1030 Subject: GPS coordinates to metres References: <2051D937-8163-4405-A04C-5823B9B6E558@cox.net> <12883229-8705-4543-ABCA-B60B0824B8C5@mindspring.com> Message-ID: <003001c6419a$cdfa2690$0502a8c0@fred> Hi Has anyone here done work with GPS coordinates. I have a set of coordinates and a point at the centre of my map. I need to convert these to metres relative to the centre of my map. The coordinates are in the form: Latitude Longitude 37.29464 126.8324167 37.294642 126.832415 37.294642 126.832415 37.294642 126.8324133 37.294642 126.8324133 Thanks for any help with this one Cheers -- Monte Goulding BCompSci Sweat Technologies BAppSci (Hons) InstallGadget - How to create an installer in 10 seconds Download now from: http://www.sweattechnologies.com/InstallGadget From lan.kc.macmail at gmail.com Mon Mar 6 22:56:13 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 7 Mar 2006 11:56:13 +0800 Subject: The End of Dreamcard? -- but life after death? In-Reply-To: <3F15F503-FD60-41C4-B6EF-452F42623AF8@siphonophore.com> References: <20060304180004.61437825BC8@mail.runrev.com> <3F15F503-FD60-41C4-B6EF-452F42623AF8@siphonophore.com> Message-ID: On 3/5/06, jeffrey reynolds wrote: > > Man i am feeling old... I created Apples first educational CD-ROM > (Earth Explorer - a multimedia environmental encyclopedia for jr high > kids) And I still have a copy of it! So if I can get you to sign it, what do you reckon and original signed by the author copy of EE will fetch on eBay;-) The other guys were pro programmers with degrees and > much better programmers than me (i was a molecular biologist and self > taught programmer). > > Boy did that get a laugh from the programming > dept at first. but then they shut up when they realized that yes the > prototype did just about everything that it needed to be done just > fine I love this story, it's making me go all 'Myst'y. I dont think Apple fully realized how much HC was a part of > the success of Apple in general. IMHO I don't think Apple were the only ones not to appreciate the true brilliance of HC. I think the lesson here is that there are options to make great stuff > out of older things like stuff created in dreamcard. I am still constantly amazed that HC refugees are still cropping up on this list. I think the lesson here (and this list) is that there are an incredible amount of extremely clever people out there with a mind-boggling array of NEW ideas they'd like to turn into software, but programming is not their idea of fun. HC went a long way in taking the 'pro' out of programming but for many it still is hard work. I think one hurdle is to 'educate' the masses that scripting is not as much hard work as programing is. Just my 2 shindarkles From jrvalent at wisc.edu Mon Mar 6 23:06:56 2006 From: jrvalent at wisc.edu (Rand Valentine) Date: Mon, 06 Mar 2006 22:06:56 -0600 Subject: StackFormat and Stack Reversion Message-ID: <92021A73-2693-4771-A555-753FCE8222F5@wisc.edu> Hi, all. Forgive a dumb question, I read the lists often, but often too miss days. I've tried to search on my question using the Google advanced search to search the list, but had no luck, which baffles me because I recall some discussion pertaining to my question. I got an update of DreamCard to 2.7, then promptly forgot about the backwards compatibility issues with the DreamCard Player, and StackRunner. I am teaching a class in Ojibwe and have developed many materials with DreamCard, which my students can then "play" with either player. But checking tonight, I noticed that neither the DC Player nor StackRunner can play 2.7 stacks, and I also noticed that there's not a Player update at the runrev site. Then I tried using the plug-in called StackFormat, and kept getting an error saying that there was a problem with the script but that the stack was locked, so I was out of luck there too. I tried to download an update of StackRunner, which it invited me to do. Upon update it vanished from my plugins menu. So I went and checked the plug-ins folder and found a _text-file_ called StackFormat. I tried to be clever and change its type to the type of other 2.7 stacks I have, but alas, no StackFormat anymore. So, several questions. A. Once you save a stack in 2.7 format, there is no way to get it back to 2.6 (the only reason I use 2.7 is because I prefer the helps format in it). B. Is there any documentation for StackFormat? C. What happened to StackFormat on update? By the way I use a Mac with the latest version of OS X. Thanks. Rand Valentine University of Wisconsin-Madison From dan at tomlinweb.com Mon Mar 6 23:21:31 2006 From: dan at tomlinweb.com (Dan Tomlin) Date: Mon, 06 Mar 2006 23:21:31 -0500 Subject: Initialization Error Message-ID: I'm new to developing programs, especially with revolution. I am getting an error when trying to open up my "standalone" program in Windows XP. The error is as follows: Can't open file "C:/Revolution/Pubs/PubsMain.exe", error 0, 0 My development environment is Mac OS X 10.4, and I'm using revolution studio 2.7 along with altSQLite3. I am trying to creating a standalone program to run on a windows PC as well as a Mac. My standalone settings include the database support option (for altSQLite3, which I have purchased) and the database libraries (have included all libraries but not sure if I need to). When I open my program on my Mac, it connects to the database fine... Please note that I have a "pre-stack" script that runs when the main stack is opened to connect to the database and obtain the database ID. It also prompts the user with a message box saying it connected or had a problem, but I don't get my message box. Not sure if this is causing the problem... Thanks, Dan PS - anyone know why the slashes "/" are backwards in the error message? The directory the program is in is actually c:\revolution\pubs.... From JimAultWins at yahoo.com Mon Mar 6 21:39:28 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 06 Mar 2006 18:39:28 -0800 Subject: Functions out of the message path? In-Reply-To: <440CC2B4.40909@qwest.net> Message-ID: On 3/6/06 3:16 PM, "Arthur Urban" wrote: > Is there a way to call a function in an object out of the message path? > I'm surprised that there is no syntax for something like the following: > > call DoSpecialCalculation( valueA, valueB ) of fld "Test" > > and have the return value placed in the variable "it". Or even: > > call into myLocalVar DoSpecialCalculation( valueA, valueB ) of fld "Test" > > or better yet: > > put DoSpecialCalculation( valueA, valueB ) of fld "Test" into myLocalVar > This actually looks like two separate questions.. Answer One: There is both a 'send' and a 'call' command in Rev. Note the subtleties of the 'call' command, but they are not really what you are looking for in the cases you stated above. Answer Two: Here is one way to use the message path to your advantage ------ put 22 into valueA put 33 into valueB insert the script of fld "Test" into back put calcThisF( valueA , valueB ) into myLocalVar remove the script of fld "Test" from back --or leave it there answer myLocalVar ----- Hope this helps. Jim Ault Las Vegas From katir at hindu.org Mon Mar 6 23:41:49 2006 From: katir at hindu.org (Sivakatirswami) Date: Mon, 6 Mar 2006 18:41:49 -1000 Subject: 2.7 Linux Standalone Engine? Message-ID: Mission critical question: is anyone successfully using the 2.7 standalone engine for Linux on the latest Fedora? I have to upgrade to a new web server box and we really need the 2.7 the linux standalone engine to run with Apache.. because our development now is in 2.7 and I can't deploy back end CGI stacks saved as 2.7 on OSX... (I can't even run them on my own box yet. Of course we *can* install an older version of rev and use plain vanilla text.cgi files, but that is "soooo 2004" (smile) Sivakatirswami From benr_mc at cogapp.com Tue Mar 7 00:37:35 2006 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 07 Mar 2006 05:37:35 +0000 Subject: FTP trouble uploading files/renaming folders Message-ID: <440D1C1F.50400@cogapp.com> Abstract: I've encountered two different problems uploading data over FTP - if I could solve either of them, I'd have a working solution. One applies only on Windows, the other on both Mac and Windows - both seem to be independant of the destination FTP server. I'm trying to code a utility that needs to upload a folder of files to an FTP server. This has been well tested without any problems on Mac; on Windows, however, I've run into a problem. The basic sequence is: - check if the destination folder exists - if it doesn't, create it, upload all the files to it - if it does, then - create a temporary folder - upload all the files to the temporary folder - rename the existing folder to a backup - rename the temporary folder The method of uploading files has essentially been put URL ("binfile:/xxxx") into URL ("ftp://xxx") This works fine on Mac, given due attention to active/passive mode and timeout settings; against a variety of Unix and Windows FTP servers. On Windows (tested on Windows XP and Windows 2000) there's a consistent result: the app can succesfully list directories and when necessary create directories; when it comes to upload the file, however, the put command returns with the result "requested". It doesn't time out - the pattern is that a "STOR" command is isssued, the server responds with either "150 Opening BINARY mode data connection for xxx", or "125 Data connection already open; Transfer starting." (these are from two different servers, one IIS on Windows, one ProFTPD on Unix). In both cases that's exactly what is seen when Revolution is running on Mac also. However, whereas on Mac this is then followed by a "226 Transfer complete", on Windows the pattern seems to be a 'FIN ACK' packet, followed by an 'ACK', then a 'RST ACK' - and the command returns "requested". This happens immediately - it's not related to the current timeout setting. I could reproduce this with a trivial stack simply doing the one-off "put URL binfile:x into URL ftp:y". command - it didn't need my full app doing it's full thing to display exactly this behaviour. The same result also was obtained by splitting the task into two statements: "put URL binfile:x into z; put z into URL ftp:y". The files involved are just a few K; however, as an experiment, I tried replacing the above statements with a "libURLftpUploadFile" command. It worked! So I made this change in my app. Now the results are the same on both Mac and Windows. In both cases, the files are uploaded OK; but after all the files have been uploaded, the *unchanged* code for renaming the folders fails. The results are the same whether Revolution is running on Mac or Windows; but they differ according to the server. The rename folder code executes a pair of libURLftpCommand statements, a "RNFR" and a "RNTO". In all cases (and this is presumably the root of the problem) Revolution attempts to log into the FTP server again to issue these commands, whereas when libURLftpUploadFile was not used, the connection from the file uploads is also used for these commands. The IIS FTP server responds to the second log-in attempt by asking for the username and password, then reporting that the user cannot log in. The Unix FTP server allows the second connection, accepts the RNFR command with "350 file exists", but responds to the "RNTO" command with "503 Bad sequence of commands". Then both connections are closed. So in summary: 1) doing put x into URL "ftp://y" works when Rev is on Mac, fails when Rev is on Windows. 2) Using libURLftpUploadFile works on both platforms - but attempting to use libURLftpCommand immediately after a sequence of libURLftpUploadFile statements tries to open another connection, with unfortunate consequences. Can anyone shed light on either of these problems? Has anyone encountered similar problems; or conversely, attempted similar tasks without encountering such problems? This is all in Rev 2.6.1, btw, with libURL 1.1.4. TIA, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From rishi at puredata.com.au Tue Mar 7 00:42:12 2006 From: rishi at puredata.com.au (Rishi Viner) Date: Tue, 7 Mar 2006 16:42:12 +1100 Subject: GPS coordinates to metres In-Reply-To: <003001c6419a$cdfa2690$0502a8c0@fred> References: <2051D937-8163-4405-A04C-5823B9B6E558@cox.net> <12883229-8705-4543-ABCA-B60B0824B8C5@mindspring.com> <003001c6419a$cdfa2690$0502a8c0@fred> Message-ID: <200603071642.12215.rishi@puredata.com.au> > Has anyone here done work with GPS coordinates. I have a set of coordinates > and a point at the centre of my map. I need to convert these to metres > relative to the centre of my map. > > The coordinates are in the form: > > Latitude Longitude > 37.29464 126.8324167 > 37.294642 126.832415 > 37.294642 126.832415 > 37.294642 126.8324133 > 37.294642 126.8324133 Looks like you have decimal degrees for lat/long. You'll pobably need to convert to degrees, minutes and seconds. (60 seconds in a minute etc). Then you could convert from coordinates to Universal Transverse Mercator (UTM) grid coordinates, which are in metres. Thats the fun part. Read up on geodetic datum conversions. (Simple concept intro here: http://www.biodiversity.ea.gov.au/erin/tools/geo2amg.html ). There are various gov surveying web sites that explain the maths. Thats all I have time for now. Hope it helps, -- Rishi From paulclaude at postino.it Tue Mar 7 02:36:34 2006 From: paulclaude at postino.it (Paul Claude) Date: Tue, 07 Mar 2006 08:36:34 +0100 Subject: Slow Dialogs in Rev 2.7 In-Reply-To: <440C95BC.9040009@hyperactivesw.com> Message-ID: Mac Os X 10.4.4, on a Mac G4 400mhz, and Rev. 2.7. It's incredible, but all the dialogs are deadly slow; 10 seconds at least, for every dialog (user dialogs and Rev. internal dialogs) Greetings Paul Claude on 6-03-2006 21:04, J. Landman Gay at jacque at hyperactivesw.com wrote: > It works fine for me here, no delays at all. What OS are you using, and > what version of Revolution? From kray at sonsothunder.com Tue Mar 7 03:01:59 2006 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 07 Mar 2006 02:01:59 -0600 Subject: In-line Fraction with Horizontal Line In-Reply-To: <2051D937-8163-4405-A04C-5823B9B6E558@cox.net> Message-ID: > I could use some help on this one. You can use the "textShift" property to move text above/below the baseline. For example, make a field with 24 point font (I used Lucida Grande but you can use what you want), and set the fixedLineHeight of the field to true. Enter the equation like this: y = 4 x + 2 5 (that's 7 spaces before the "5" on the second line, and note there are 2 spaces between the "=" and the "4" on the first line) Then open the message box and type these commands: set the textShift of char 1 to 3 of line 1 of fld 1 to 9 set the textShift of char 8 to 12 of line 1 of fld 1 to 9 set the textStyle of char 5 to 7 of line 1 of fld 1 to underline set the textShift of char 8 of line 2 of fld 1 to -9 You get the idea... play around with the textShift and the margins of the field, and you should get something you like. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From klaus at major-k.de Tue Mar 7 03:57:32 2006 From: klaus at major-k.de (Klaus Major) Date: Tue, 7 Mar 2006 09:57:32 +0100 Subject: Scrollbar to drag through a movie? In-Reply-To: References: Message-ID: Hi Jim, > Klaus, > > Thanks. I have been using the handler you describe above, but there > was never a picture that responds to the setting of the > currentTime. Although the movie would "start" at the currentTime. > > I'm not sure I know what you mean by "when the QT controller is > visible." Is this a feature of RR? you can check "Controler" in the inspector for the player, and that is a QT only feature. That one checked is what I mean by "when the QT controller is visible." :-) > I haven't taken the plunge into 2.7 as yet. Waiting for things to > sort themselves out. > > But I would appreciate it if someone would let me know whether RR > has fixed the display problem in OS X. That is, whether the > following stack runs as expected: > > go url "http://home.infostations.net/jhurley/DisplayProblemsOSX.rev" > > Does the graphic move evenly across the screen or is the motion > herky-jerky? > Same for the banner display? Tried it on my 1 Ghz G4 Mac and the motion is ehmm... immediate (the graphic is here and then there at once) and so is the banner, the text suddenly appears without the "OS X fix" > Thanks, > > Jim Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Tue Mar 7 04:03:35 2006 From: klaus at major-k.de (Klaus Major) Date: Tue, 7 Mar 2006 10:03:35 +0100 Subject: How to preload sound files In-Reply-To: <6.2.1.2.2.20060306180328.0ba15730@exchange.slg.com> References: <0867C041-011E-4FCA-8F49-AB52ED24D74E@mangomultimedia.com> <6.2.1.2.2.20060306173709.0b9aeb98@exchange.slg.com> <85BD7B30-B96F-44DA-8CA5-DB4FCE66DA19@mangomultimedia.com> <6.2.1.2.2.20060306180328.0ba15730@exchange.slg.com> Message-ID: <881A976D-59E6-430B-8FDF-A6B407ABC7CF@major-k.de> Hi Peter, > Thanks! I'm not familiar with SMIL. I will have to check into > this and run some tests. then you should download my little "mk_libsmil1" stack, that will create a SMIL file on the fly for you and then check if the performance is better... Get it from my homepage or via Rev online (klausimausi :-) > In playing some more, my interleaved players do a better job on a > network. With a single player, it took 34 almost 35 seconds to > play a string of 10 files. With 2 interleaved players, it took 23 > seconds, since the one player was loading the next file while the > other was playing the previous file. Regards Klaus Major klaus at major-k.de http://www.major-k.de From dcragg at lacscentre.co.uk Tue Mar 7 05:02:40 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 7 Mar 2006 10:02:40 +0000 Subject: Read from StnIn from POST is still broken? In-Reply-To: <15617E38-D029-47C3-99AE-CF741F3BBEE3@runrev.com> References: <4C75D513-0510-4D8B-B0F5-158C1D6E1884@hindu.org> <15617E38-D029-47C3-99AE-CF741F3BBEE3@runrev.com> Message-ID: On 6 Mar 2006, at 10:17, Mark Waddingham wrote: > Hi Sivakatirswami, > >> Linux web server, Apache, call Rev CGI to receive incoming Post >> Data. Beginning lines of script to read the incoming data -- see >> below (suggested as a possible fix years ago by Scott Raney) >> >> (musings... it is possible that this is a client side problem? >> --machine A with browser B cannot in fact encode large chunks of >> data and the name=value pair actually arrive to the server already >> truncated.. meanwhile >> -- box C with browser D submits a large text chunk from the same >> form and it arrive just fine: result Rev get blamed for being >> intermittent failures... but he's really not the bad guy. >> >> on startup >> if $REQUEST_METHOD is "POST" then >> put "" into PostIn >> repeat until length(PostIn) >= $CONTENT_LENGTH >> read from stdin until "" >> put it after PostIn >> end repeat >> put urlDecode (PostIn) into tDataIn >> >> split tDataIn by "&" and "=" >> put keys(tDataIn) into tFields >> >> .....etc. > > There is no reason I can see (engine-side) as to why post data > should get truncated. That being said, however, you should ensure > that you pass '-ui' to the revolution engine when running as a CGI. Has that option always been there?? And does it mean we don't need a Darwin engine to run on OS X? > > (i.e. the first line of a cgi script should be: > #! //revolution -ui > > [ The -ui option alters a few things internally, in particular > disables attempts to create any GUIs and enables stdin/stdout on > systems - such as Win32 - which don't by default have these enabled ] Does using the -ui option on Win32 work with IIS? I was under the impression that the #! line wasn't read by IIS and it links the script to an executable using its own settings. Dave From katir at hindu.org Tue Mar 7 04:42:50 2006 From: katir at hindu.org (Sivakatirswami) Date: Mon, 6 Mar 2006 23:42:50 -1000 Subject: DRM for Images and Text in Stacks Message-ID: Dream with me for a moment: Revolution Players of various shapes and flavors have become as ubiquitous as copies of Acrobat Reader. The Revolution IDE is deployed to the same number of seats as Acrobat Professional. Enter new problem: Digital Rights Management: how to protect images and text in fields in stacks that are *not* standalones from theft by others who have the IDE. If you have ever set security on an Acrobat file, e.g. the "cannot extract images" option, even someone with Acrobat professional (the "IDE" for pdf's) will find that the option to extract images is dimmed. (Our managing editor who deals with photographers is all over this business) Of course Adobe has a disclaimer saying that their may still be ways people can hack the PDF, but it certainly would not be a trivial task. Not so for a Rev stack. If you deployed a rich media library as stacks that had copyright images stored in a substack, even if one sets a password on a stack, any other developer could open substack "image library" and go through the cards with the images on them in the application browser. We would not be able to tell our very-adamant-that-my-images-are-not-leaked-into-the-public-domain photographer or hot-new-york-news-com-agency-with-litigious-lawyers. that we had adequately protected their images in our product. I believe that even a very inexpensive "Dream Card" IDE, or whatever it will be called this week or next, will open such a stack and have access to all cards in all substacks. So, right now we can make such claims fairly confidently for distribution of a rich media "experience" via an interactive PDF, but I would like to be able to do the same for a Rev stack, without having to turn each and every instance of a stack containing such content into a standalone. I may be missing something, but, unlike Supercard, where, if I recall correctly, you could lock up a stack such that even in the dev environment, it could not be opened without a password, this cannot be done in Revolution. Anyone with an IDE license can open any stack... all that we can block is access to scripts and custom properties. Or, am I missing something? Related question: Assuming we could lock up a substack image library (which I will put in as a feature request, if it is not possible today) and then simply display those images programatically on the fly, are their ways to block screen shots from within Revolution? We may tell the photographer "They are just 72 dpi's, don't worry" but a screen shot of an image that fills the entire screen might be taken and output at a high enough resolution that he had reason to worry. I see the stunning full screen experience of "If Monks Had Macs" (Yes they do.. just come visit us...) and I am immediately struck by the problem we would face if we used an image from our top Hinduism Today photographers in such a context. This is already an issue for us: we have tons of commissioned art work from India that we put on the web and it is now "everywhere!" on literally hundreds of other web sites. Fortunately we own the rights to all that imagery and we really have no interest in guarding it and we get the occasional request to reprint in the old ink-on- paper world which we grant for a small fee. But for Hinduism Today magazine content, it's a totally different ball game. We have "one time usage" for most images.. (various flavors of rights...) And I don't know that Keynote or Powerpoint presentations, or Quicktime movies (as slide shows) of such content can be "locked" up either... (these being the other options we have for deploying rich media content) If we *could* get some strong DRM going inside Revolution, it would really open up a whole new realm for a more professional level of media deployment. Our top photographer is very protective and I don't have good answers for him. I suppose a plug in might also do the job? Chris... do we see another product from Altuit? "RevContentSecurityManager" Am I the only one who ever thought about this issue? I would like to experiment with a kind of "Ajax" rich media experience were we deliver a player which then starts talking to the web server and delivering substacks etc. caching some onto the user's hard drive, pulling live feeds off the server... the model would be fairly open in the sense that the stacks could be easily pulled off the web by anyone, but without some strong DRM, we would keep hitting walls where we can't deploy certain kinds of content crucial to the concept. Insights anyone? Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com From Cubist at aol.com Tue Mar 7 07:43:27 2006 From: Cubist at aol.com (Cubist at aol.com) Date: Tue, 7 Mar 2006 07:43:27 EST Subject: In-line Fraction with Horizontal Line Message-ID: <2fa.865a.313ed9ef@aol.com> In a message dated 3/6/06 6:57:10 PM, Mark Greenberg writes: >Fellow list members, I have a problem for which I can only find >difficult or unsatisfactory solutions, and I was hoping you might >have some suggestions. > >I am making a stack to teach students math -- linear equations, to be >more precise. When I display the y = mx + b form, the best I can do >to show a fraction in the m position is something like y = 4/5x + 2. > >This is ambiguous because it isn't clear what should be taken as the >divisor, 5 or 5x or 5x + 2. The math teacher for whom I am making >the game would prefer a horizontal division line instead of a slash. > >So far this is what I've thought of and rejected: > >Use fonts that have fractions built in as one character. No, because >they have too few for the range of possible slopes I want to generate. [nods] Yep. It's possible for you to write your code so that the only fractions that would show up are those which appear in a particular font... but that's clearly *not* one of the better approaches. >Force the numerals around as subscripts and superscripts until it is >clear what the fraction is. Messy and probably won't lead to success. Hmmm... maybe. The real question is, what would you do for the horizontal division line? >Use inline images. Need too many images to cover possible slopes. Not necessarily! Remember, you can use the "snapshot" function to build new images on the fly. Presumably, these images won't be particularly large, so it's at least worth trying to see if it would be fast enough. >Write it y = (4/5)x + 2. This is mathematically acceptable, but not >the way the students will see it elsewhere. [nods] You may or may not want to include this as an optional way to display the equations. Other than that, fuggeddaboutit. >Use a different 2-line field that moves according to the location of >the fraction. Hmm.. maybe. As long as you know (or can determine) where the fraction is going to be displayed on the card, this is a more than adequate way to go. From wouter.abraham at scarlet.be Tue Mar 7 08:50:09 2006 From: wouter.abraham at scarlet.be (Wouter) Date: Tue, 7 Mar 2006 14:50:09 +0100 Subject: DRM for Images and Text in Stacks In-Reply-To: References: Message-ID: Hi Sivakatirswami, On 07 Mar 2006, at 10:42, Sivakatirswami wrote: > Dream with me for a moment: -snip- > Insights anyone? A possibility to "protect" your images is to encrypt them using a blowfish or another algo (included in the enterprise version) and put the result into fields or custom props (or whatever container of your choice). The code to deencrypt this pictures and place them in their respective image containers is kept in the password protected stack. The necessary key to deencrypt when loading a encrypted pict stack: - may be "burried" somewhere in the stack (or somewhere else) - must be supplied (dialog box or internet connection) The last system will need the most time to crack. So there is no real need for a special plugin. > > Sivakatirswami Greetings, Wouter From psahores at easynet.fr Tue Mar 7 08:50:37 2006 From: psahores at easynet.fr (Pierre Sahores) Date: Tue, 7 Mar 2006 14:50:37 +0100 Subject: GPS coordinates to metres In-Reply-To: <003001c6419a$cdfa2690$0502a8c0@fred> References: <2051D937-8163-4405-A04C-5823B9B6E558@cox.net> <12883229-8705-4543-ABCA-B60B0824B8C5@mindspring.com> <003001c6419a$cdfa2690$0502a8c0@fred> Message-ID: <1B9B88A1-A7F3-4790-8761-832C54BDE40E@easynet.fr> Hello Monte, Do you mean the "centroid" or the "center" of you map ? Wait for your response before more Hala, the very kindly GIS expert and friend i work with, will respond directly about this all. Kind Regards, Pierre > Hi > > Has anyone here done work with GPS coordinates. I have a set of > coordinates and a point at the centre of my map. I need to convert > these to metres relative to the centre of my map. > > The coordinates are in the form: > > Latitude Longitude > 37.29464 126.8324167 > 37.294642 126.832415 > 37.294642 126.832415 > 37.294642 126.8324133 > 37.294642 126.8324133 > > > Thanks for any help with this one > > Cheers > > -- > > Monte Goulding BCompSci > Sweat Technologies BAppSci (Hons) > > InstallGadget - How to create an installer in 10 seconds > Download now from: http://www.sweattechnologies.com/InstallGadget > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From dburgun at dsl.pipex.com Tue Mar 7 09:30:10 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 7 Mar 2006 14:30:10 +0000 Subject: Latest Version of RunRev for Mac OS 9??? In-Reply-To: References: Message-ID: <20DE9628-A814-453F-920E-2069CD3E198E@dsl.pipex.com> Hi, Could someone tell me the latest version of RunRev for MacOS 9 and where I can download it? Thanks a lot All the Best Dave From mikeythek at gmail.com Tue Mar 7 09:47:12 2006 From: mikeythek at gmail.com (Mikey) Date: Tue, 7 Mar 2006 09:47:12 -0500 Subject: The End of Dreamcard? -- but life after death? In-Reply-To: References: <20060304180004.61437825BC8@mail.runrev.com> <3F15F503-FD60-41C4-B6EF-452F42623AF8@siphonophore.com> Message-ID: <9b408d8e0603070647m3a5ffba9t199d93221e91d9df@mail.gmail.com> > I am still constantly amazed that HC refugees are still cropping up on this > list. I think the lesson here (and this list) is that there are an > incredible amount of extremely clever people out there with a mind-boggling > array of NEW ideas they'd like to turn into software, but programming is not > their idea of fun. HC went a long way in taking the 'pro' out of programming > but for many it still is hard work. Yeah, well, I have been a programmer for 30 years (took my first college-level class when I was in grade school), and have a BA in CS. Yet HT and by extension XT are by far my favorite languages. Something is clearly wrong with me. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From wlists at fireworksmm.com Tue Mar 7 10:05:48 2006 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Tue, 7 Mar 2006 10:05:48 -0500 Subject: Latest Version of RunRev for Mac OS 9??? In-Reply-To: <20DE9628-A814-453F-920E-2069CD3E198E@dsl.pipex.com> References: <20DE9628-A814-453F-920E-2069CD3E198E@dsl.pipex.com> Message-ID: <581E817A-2FA2-4E55-B1A3-C70E39B69303@fireworksmm.com> There is an OS9 engine for 2.6.1, but I don't know off the top of my head which was the last full version for OS9. go to www.runrev.com and choose downloads to find out... W. On Mar 7, 2006, at 9:30 AM, David Burgun wrote: > Hi, > > Could someone tell me the latest version of RunRev for MacOS 9 and > where I can download it? > > Thanks a lot > All the Best > Dave From JimCarwardine at OwnYourFuture-net.com Tue Mar 7 10:05:46 2006 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Tue, 07 Mar 2006 11:05:46 -0400 Subject: Latest Version of RunRev for Mac OS 9??? In-Reply-To: <20DE9628-A814-453F-920E-2069CD3E198E@dsl.pipex.com> Message-ID: Hi Dave... It's Rev 2.6.1 and you have to ask Heather directly. It's doubtful that 2.7 or later will get to OS 9... Jim on 3/7/06 10:30 AM, David Burgun wrote: > Hi, > > Could someone tell me the latest version of RunRev for MacOS 9 and > where I can download it? > > Thanks a lot > All the Best > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Helping people focus and use time effectively and satisfyingly as they go through their day. Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From gefisher at mac.com Tue Mar 7 09:39:54 2006 From: gefisher at mac.com (Glenn E. Fisher) Date: Tue, 7 Mar 2006 08:39:54 -0600 Subject: Math equations Message-ID: Mark, You wrote: > I am making a stack to teach students math -- linear equations, to be > more precise. When I display the y = mx + b form, the best I can do > to show a fraction in the m position is something like y = 4/5x + 2. > This is ambiguous because it isn't clear what should be taken as the > divisor, 5 or 5x or 5x + 2. The math teacher for whom I am making > the game would prefer a horizontal division line instead of a slash. > > So far this is what I've thought of and rejected: > > Use fonts that have fractions built in as one character. No, because > they have too few for the range of possible slopes I want to generate. > > Force the numerals around as subscripts and superscripts until it is > clear what the fraction is. Messy and probably won't lead to success. > > Use inline images. Need too many images to cover possible slopes. > > Write it y = (4/5)x + 2. This is mathematically acceptable, but not > the way the students will see it elsewhere. > > Use a different 2-line field that moves according to the location of > the fraction. Hmm.. maybe. > > I could use some help on this one. > > TIA, > Mark > I have done this in the past (HyperCard days) with more complex equations than just linear which would simplify the scripting necessary. The secret is doing the spacing of the numerator and denominator above and below a horizontal line of the equation in the center. If you need some help scripting it just send me email off list and I'll help. Have fun, Glenn From kray at sonsothunder.com Tue Mar 7 10:40:42 2006 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 07 Mar 2006 09:40:42 -0600 Subject: DRM for Images and Text in Stacks In-Reply-To: Message-ID: On 3/7/06 3:42 AM, "Sivakatirswami" wrote: > Not so for a Rev stack. If you deployed a rich media library as > stacks that had copyright images stored in a substack, even if one > sets a password on a stack, any other developer could open substack > "image library" and go through the cards with the images on them in > the application browser. You could do this: for each image that needs to be displayed on the card in the substack, put the imageData of the image(s) into custom properties of the card, encrypted with 'base64encode' or compressed with 'compress' (or use a custom algorithm of your own), and then set the imageData of the image objects themselves to empty. Then, only when running in your standalone, unencrypt/decompress and pipe the imagedata from the custom props back into the image objects on preOpenCard. Make sure the custom property name and the actual object to which it is associated have different names or identifiers. Then encrypt the stacks. This way, the image data is safe from prying eyes (people would only see the raw image data when looking at it with the Rev IDE's inspector), and since the stack is encrypted and the custom prop and image objects have no obvious connection, it would be difficult to figure out which image data goes with which object and even if they could, the data is encrypted or compressed so it's not a simple act of "set the imageData of img 1 to ". Here's a simple example using compress/decompress: SETUP: set the uStuff of this card to compress(the imageData of img 1) put "" into img 1 PLAYBACK: set the imageData of img 1 to decompress(the uStuff of this card) Hope this helps, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From rcozens at pon.net Tue Mar 7 10:49:00 2006 From: rcozens at pon.net (Rob Cozens) Date: Tue, 7 Mar 2006 07:49:00 -0800 Subject: The End of Dreamcard? In-Reply-To: References: <440C8FA9.6090708@hyperactivesw.com> <440CADE9.5040800@hyperactivesw.com> Message-ID: Hi Timothy, >> Choose "Backdrop" from the View menu. You can set the color via >> script, or from the Preferences. Note that having a backdrop doesn't >> prevent you from changing apps. >> > > I guess I can live with that. I can't understand why this option would > suddenly become mandatory in Media. What's the logic? Is it a subtle > incentive for some users to upgrade to Studio? > My foolesh guess is Media is positioned as a presentation builder/presenter al la Power Point. 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) From rcozens at pon.net Tue Mar 7 10:49:16 2006 From: rcozens at pon.net (Rob Cozens) Date: Tue, 7 Mar 2006 07:49:16 -0800 Subject: No OpenStack ..... ! continued In-Reply-To: References: Message-ID: Morning Francis, > I have other problems moving to the PC platform, > The main issue I had was created by moving uncompressed stacks from Mac to PC. Once I began compressing stacks on the Mac & decompressing on my TPC, all but minor problems went away. 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) From rcozens at pon.net Tue Mar 7 10:49:27 2006 From: rcozens at pon.net (Rob Cozens) Date: Tue, 7 Mar 2006 07:49:27 -0800 Subject: Progress Reporting When Building Standalones In-Reply-To: <440C8F0A.6000309@hyperactivesw.com> References: <440C8F0A.6000309@hyperactivesw.com> Message-ID: > The long time it takes to do a build might be due to the content of > your stack, but also there can be a big delay if you have the > standalone builder set to scan for inclusions. If you uncheck the box > "search for required inclusions" and instead check the box "select > inclusions" the time it takes to build can be dramatically reduced. > > Thanks for the tip, Jacque. In this case there are no inclusions. 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) From rcozens at pon.net Tue Mar 7 10:49:49 2006 From: rcozens at pon.net (Rob Cozens) Date: Tue, 7 Mar 2006 07:49:49 -0800 Subject: Database for Rev Media? In-Reply-To: <440CADE9.5040800@hyperactivesw.com> References: <440C8FA9.6090708@hyperactivesw.com> <440CADE9.5040800@hyperactivesw.com> Message-ID: <0292BC96-ADF2-11DA-B5A3-0030657E1638@pon.net> Jacque, et al...[Andre G., you might know]: > > Will Media support all the commands, functions, properties and > > containers presently supported by Dreamcard, except for external > > database-related stuff? > > Yes, pretty much. It is the same engine, with a few behavioral > limitations. > Since I'm using Studio already, I have not looked into the features and limitations of Media. * Since SDB uses no externals, just db stacks & a library stack, could it work as a single-user db engine for Media? * Does Media support socket commands [in which case client/server SDB might even be a possibility]? 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) From devin_asay at byu.edu Tue Mar 7 11:12:39 2006 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 7 Mar 2006 09:12:39 -0700 Subject: Initialization Error In-Reply-To: References: Message-ID: <97F8E91E-FF25-4CBE-A051-2858F1B3F247@byu.edu> On Mar 6, 2006, at 9:21 PM, Dan Tomlin wrote: > I'm new to developing programs, especially with revolution. > I am getting an error when trying to open up my "standalone" > program in > Windows XP. The error is as follows: > Can't open file "C:/Revolution/Pubs/PubsMain.exe", error 0, 0 > > My development environment is Mac OS X 10.4, and I'm using > revolution studio > 2.7 along with altSQLite3. I am trying to creating a standalone > program to > run on a windows PC as well as a Mac. My standalone settings > include the > database support option (for altSQLite3, which I have purchased) > and the > database libraries (have included all libraries but not sure if I > need to). There has been some recent discussion on the list concerning problems moving standalones between Mac and PC platforms. Others have reported greater success by first compressing (with zip, eg.) the standalone files, transferring them and uncompressing them. I do this routinely and it seems to work. > > > PS - anyone know why the slashes "/" are backwards in the error > message? > The directory the program is in is actually c:\revolution\pubs.... Revolution uses the "/" character for directory delimiters regardless of the platform. When it talks to the OS it translates them as needed. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From yvescoppe at skynet.be Tue Mar 7 11:25:03 2006 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 7 Mar 2006 17:25:03 +0100 Subject: Sheet command Message-ID: <06531BFC-D2BD-4DA1-BA5C-212459DC58C8@skynet.be> Hi list, Working on mac OS X, I'd like to to something like : go to cd "xyz" of stack "abc" as sheet in stack "parentstack B" It doesn't work Is there a way to do it ? The parentstack parameter seems only to work with something like sheet stack "abc" in stack "parentstack B" Greetings. Yves COPPE yvescoppe at skynet.be From pevensen at siboneylg.com Tue Mar 7 11:39:39 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 07 Mar 2006 10:39:39 -0600 Subject: And the sound player winner is... Message-ID: <6.2.1.2.2.20060307102844.030c20e8@exchange.slg.com> Well, I tried SMIL, the two interleaved players, and a single player to play a list of 10 mp3s. Here are my results. Single player: 25.5 seconds local, 47.9-164.2 seconds from a network 2 interleaved: 19.1 seconds local, 19.1-19.9 seconds from a network SMIL: 17.2 seconds local, 17.1-17.8 second from a network (however not all the sounds played). SMIL played the files most seamlessly when the files were on the local machine; however, if the files were stored on a mounted drive, the first sound file played, then the subsequent files did NOT play, but there was a pause, until it caught up and then started playing the remainder of the files, which just won't work. If I played the SMIL file a second time, it would play as expected, but playing it twice is not a solution. These tests were done in Rev on XP using a drive mounted from my OS X machine. Just thought I would share my results. I guess I will stick with using two players and interleave them, so that one is loading the next file while the other one is playing the previous sound. I was thinking of adding a call back to each player so I start playing the next sound even before I get the playingStopped on current player, to tighten things up even more. Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From pevensen at siboneylg.com Tue Mar 7 12:01:39 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 07 Mar 2006 11:01:39 -0600 Subject: callbacks Message-ID: <6.2.1.2.2.20060307110108.030a4598@exchange.slg.com> Do callbacks ONLY work on movies? It appears so. I setup a call back on a player that is playing an MP3 file, and it never fired... Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From klaus at major-k.de Tue Mar 7 12:10:56 2006 From: klaus at major-k.de (Klaus Major) Date: Tue, 7 Mar 2006 18:10:56 +0100 Subject: callbacks In-Reply-To: <6.2.1.2.2.20060307110108.030a4598@exchange.slg.com> References: <6.2.1.2.2.20060307110108.030a4598@exchange.slg.com> Message-ID: Hi Peter, > Do callbacks ONLY work on movies? It appears so. I setup a call > back on a player that is playing an MP3 file, and it never fired... just did a quick test here and works fine with MP3s, even in Rev 2.7 ;-) Did you doublecheck your code? > Peter T. Evensen > http://www.PetersRoadToHealth.com > 314-629-5248 or 888-628-4588 Regards Klaus Major klaus at major-k.de http://www.major-k.de From pevensen at siboneylg.com Tue Mar 7 12:13:22 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 07 Mar 2006 11:13:22 -0600 Subject: callbacks In-Reply-To: References: <6.2.1.2.2.20060307110108.030a4598@exchange.slg.com> Message-ID: <6.2.1.2.2.20060307111248.05006d48@exchange.slg.com> No, I didn't. I was using a tab as the separator between the time index instead of a comma, doh! Of course I discovered that after I sent the message. :( At 11:10 AM 3/7/2006, you wrote: >Hi Peter, > >>Do callbacks ONLY work on movies? It appears so. I setup a call >>back on a player that is playing an MP3 file, and it never fired... > >just did a quick test here and works fine with MP3s, even in Rev 2.7 ;-) > >Did you doublecheck your code? > >>Peter T. Evensen >>http://www.PetersRoadToHealth.com >>314-629-5248 or 888-628-4588 > >Regards > >Klaus Major >klaus at major-k.de >http://www.major-k.de > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From garrett at paraboliclogic.com Tue Mar 7 12:18:22 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Tue, 07 Mar 2006 09:18:22 -0800 Subject: And the sound player winner is... In-Reply-To: <6.2.1.2.2.20060307102844.030c20e8@exchange.slg.com> References: <6.2.1.2.2.20060307102844.030c20e8@exchange.slg.com> Message-ID: <440DC05E.9070401@paraboliclogic.com> Peter T. Evensen wrote: [snip] > I guess I will stick with using two players and interleave them, so > that one is loading the next file while the other one is playing the > previous sound. I was thinking of adding a call back to each player > so I start playing the next sound even before I get the playingStopped > on current player, to tighten things up even more. I'm not sure if Rev has the ability to get the total length in time of an mp3 file, but if it can, then you should be able to also track the time in Rev and start the next file say 4 or 5 seconds near the end of the first file. In another language I made a DJ system with 3 slots setup and allowed the DJ to either manually transition between songs, or automatically. I think I used 4 or 5 seconds as the default. Also, is it possible in Rev to set the volume of each player? If so, you can set the volume of player 2 to 0, load it's file up and start playing it just to insure it's getting loaded up, then stop it, and set it back to it's start position and set the volume of it back to where it was. Then when the first player is just about done, second player is already primed and ready. -Garrett From sadhu at castandcrew.com Tue Mar 7 12:22:56 2006 From: sadhu at castandcrew.com (Sadhunathan Nadesan) Date: Tue, 07 Mar 2006 09:22:56 -0800 Subject: Bug Report - unable to compile database applications for Windows Message-ID: <440DC170.4010105@castandcrew.com> IMHO, bug reports should contain a minimum of 3 elements: * *How to duplicate this problem* * *What you expected* * *What you got instead* Here is more! _*Context:*_ I have developed Windows database applications on previous versions of Revolution, so imagine my surprise after spending all day building an app, which works fine in the IDE, but when I try to build a standalone, it fails on 2.7. This is the first time I've tried this on 2.7 so, darn, now I am stuck with this stack because it won't load into 2.6.1. i have an enterprise license so database support should be included. _*How to duplicate this problem*_ Well, can I include attachments in mail to this list? I'd send a stack. The one I built is not going to work for you because it requires a VPN connection to our corporate network. Basically though it has code using the RevDB library calls, and as i say, works just fine when running in the IDE, but I think I'll try to build or find a very simple stack and see if I can duplicate the problem with that. _*What I expected*_ I set the stand alone settings to include database support (can I send a screen shot?) and then I expected that when I chose 'save as stand alone application' it would work. I expected to be able to launch the stand alone app and have it work like it does from within the ide. _*What I got instead*_ When I had settings of 'search for inclusions' the stand alone build completed, but, the application when launched would not connect to the database. When I manually set the inclusions for databse support, internet support, mysql drivers, etc, the compile will not complete. It hangs. after a long, long time i finally have to kill revolution, and the tools palette. under the externals folder created there is nothing under the databse drivers folder. It builds an app which will launch but again, does not work. _*Guess?*_ 2.7 does not do the right thing with database drivers on compiling stand alones? From pevensen at siboneylg.com Tue Mar 7 13:07:49 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 07 Mar 2006 12:07:49 -0600 Subject: player vs play command Message-ID: <6.2.1.2.2.20060307120640.0510f288@exchange.slg.com> Is there any benefit to using a player vs the play command if you just want to play a single sound file as is? I was just wondering if there are any drawbacks to the play command that I should know about. Thanks! Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From scott at tactilemedia.com Tue Mar 7 13:20:01 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 07 Mar 2006 10:20:01 -0800 Subject: player vs play command In-Reply-To: <6.2.1.2.2.20060307120640.0510f288@exchange.slg.com> Message-ID: Recently, Peter T. Evensen wrote: > Is there any benefit to using a player vs the play command if you just want > to play a single sound file as is? I was just wondering if there are any > drawbacks to the play command that I should know about. The play command is built-in (uses the engine to play media) and can only play one sound at a time. Players rely on external technology (QuickTime, WMP or similar) and since you can have multiple players in a stack, it's possible to play multiple sounds simultaneously. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From klaus at major-k.de Tue Mar 7 13:26:50 2006 From: klaus at major-k.de (Klaus Major) Date: Tue, 7 Mar 2006 19:26:50 +0100 Subject: player vs play command In-Reply-To: References: Message-ID: <8B3028CE-F1A2-44E6-9406-13BC4249BC7B@major-k.de> Hi Peter, > Recently, Peter T. Evensen wrote: > >> Is there any benefit to using a player vs the play command if you >> just want >> to play a single sound file as is? I was just wondering if there >> are any >> drawbacks to the play command that I should know about. > > The play command is built-in (uses the engine to play media) and > can only > play one sound at a time. > > Players rely on external technology (QuickTime, WMP or similar) and > since > you can have multiple players in a stack, it's possible to play > multiple > sounds simultaneously. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com AND the "play ac xyz" command will only play a VERY limited number of formats: uncompressed AIF and WAV files and compressed AU files. Regards Klaus Major klaus at major-k.de http://www.major-k.de From jhurley at infostations.com Tue Mar 7 13:28:47 2006 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 7 Mar 2006 10:28:47 -0800 Subject: Scrollbar to drag through a movie? In-Reply-To: <20060307161211.31CA8826040@mail.runrev.com> References: <20060307161211.31CA8826040@mail.runrev.com> Message-ID: >----------------------- > >Message: 12 >Date: Tue, 7 Mar 2006 09:57:32 +0100 >From: Klaus Major >Subject: Re: Scrollbar to drag through a movie? >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > >Hi Jim, > >> Klaus, >> >> Thanks. I have been using the handler you describe above, but there >> was never a picture that responds to the setting of the >> currentTime. Although the movie would "start" at the currentTime. >> >> I'm not sure I know what you mean by "when the QT controller is >> visible." Is this a feature of RR? > >you can check "Controler" in the inspector for the player, and that >is a QT only feature. >That one checked is what I mean by "when the QT controller is >visible." :-) > >> I haven't taken the plunge into 2.7 as yet. Waiting for things to >> sort themselves out. >> >> But I would appreciate it if someone would let me know whether RR >> has fixed the display problem in OS X. That is, whether the >> following stack runs as expected: >> >> go url "http://home.infostations.net/jhurley/DisplayProblemsOSX.rev" >> >> Does the graphic move evenly across the screen or is the motion >> herky-jerky? >> Same for the banner display? > >Tried it on my 1 Ghz G4 Mac and the motion is ehmm... immediate (the >graphic is here and then >there at once) and so is the banner, the text suddenly appears >without the "OS X fix" > >> Thanks, >> >> Jim > >Regards > >Klaus Major Klaus, Sorry to be so dense about this, but I presume that the "QT controller" must first be loaded into RR for it to appear in the inspector. That's what I don't get: How do I load the controller into RR? I spoke to Mark Waddingham at Monterey about this screen refresh problem in Mac OS X and he said (I think) that he was going to fix it. Maybe I should remind him. Jim From effendi at wanadoo.fr Tue Mar 7 13:46:01 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 7 Mar 2006 19:46:01 +0100 Subject: GPS coordinates to metres Message-ID: <0c8199ac203aceceb8316be1cdb48f36@wanadoo.fr> Hi Monte, in your mail you don't show the complete Lat/Long information (you need N/S for Lat, and E/W for Long). I suppose that you didn't include them, but you need them for what follows. Try the Haversine formula I use to get distances between 2 points. You first have to convert your Lat/Long into Radians. I got my co-ordinates (corresponding to a city) from a data base, and converted them to radians first. Let's assume you have your Lat and Long co-ordinates in fields MyLatitude and MyLongitude, and the direction in fields MyNS and MyEW, and you want the radian answer in fields MyRadLatitude and MyRadLongitude, you convert to radians by : set numberFormat to 0.000000000000 -- We need precision here ! -- -- Convert Latitude and Logitude from degrees to Radians -- (Latitude and Longitude must be valid co-ordinates). -- -- This is in preparation for the calculation of distances between -- two point on the earths surface. -- -- These co-ordinates must be converted into Radians to use them in -- my Haversine formula. -- put field MyLatitude into LVWork1 put LVWork1 * 0.017453293 into LVIntermed1 put LVIntermed1 into field MyRadLatitude put field MyLongitude into LVWork2 put LVWork2 * 0.017453293 into LVIntermed2 put LVIntermed2 into field MyRadLongitude if field MyNS = "S" then put - field MyRadLatitude into field MyRadLatitude if field MyEW = "W" then put - field MyRadLongitude into field MyRadLongitude Then, using function : Function RFHaversine PVLat1,PVLong1,PVLat2,PVLong2 --global LVRadiusOfTheEarth,LVLat1,LVLong1,LVLat2,LVLong2,LVInt1,LVInt2,LVWork1,L VWork2,LVWork3 -- -- V1 for Hypercard - 2003/06/28 - 18:00 no atan2 function available in Hypercard. -- V2 for Revolution - 2006/02/24 - 11:23 use atan2 function available in Revolution. -- -- Use Haversine two-argument Inverse Tangent Function to calculate -- the distance between two geographic locations (cities). -- -- The two geographic locations represent cities or towns in my -- City Stack. The pre-calling sequence has already identified -- the two cities, and extracted their locations in Radians. -- -- Input Parameters : -- -- Latitude and Longitude of location 1 in Radians (PVLat1,PVLong1). -- Latitude and Longitude of location 2 in Radians (PVLat2,PVLong2). -- -- The Haversine formula is : -- -- dlon = lon2 - lon1 where lon1 and lon2 are longitudes of two cities. -- dlat = lat2 - lat1 where lat1 and lat2 are latitudes of two cities. -- a = (sin(dlat/2))^2 + cos(lat1) * cos(lat2) * (sin(dlon/2))^2 -- c = 2 * atan2( sqrt(a), sqrt(1-a) ) -- d = R * c where R is the radius of the earth in kilometres. -- set numberFormat to 0.000000000000 -- Heavy precision required here ! put 6367 into LVRadiusOfTheEarth -- Generally accepted Radius of the Earth put PVLat1 into LVLat1 put PVLong1 into LVLong1 put PVLat2 into LVLat2 put PVLong2 into LVLong2 put LVLong2 - LVLong1 into LVInt1 put LVLat2 - LVLat1 into LVInt2 put (sin(LVInt2/2))^2 + cos(LVLat1) * cos(LVLat2) * (sin(LVInt1/2))^2 into LVWork1 put 2 * atan2(sqrt(LVWork1),sqrt(1-LVWork1)) into LVWork2 put LVRadiusOfTheEarth * LVWork2 into LVWork3 -- -- We now have the distance in kilometres in LVWork3. -- put round(LVWork3,3) into LVWork3 -- Kilometres to 3 decimal points. return LVWork3 end RFHaversine You can get the distance between your two points with : put RFHaversine (LVRadLat1,LVRadLong1,LVRadLat2,LVRadLong2) into Distance Either set the radius of the Earth to metres, or remove the point in the kilometre answer field and "Bobs your Uncle !" If anybody else is interested, I have a stack containing data for 4000 cities and the possibility of calculating the distance between any two cities, with up to 6 city stopovers if necessary. (its got 4001 cards and is 1.6 Mb). I hope this fills your requirements. Best from Paris -Francis From effendi at wanadoo.fr Tue Mar 7 13:58:12 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 7 Mar 2006 19:58:12 +0100 Subject: No OpenStack ..... ! continued Message-ID: Rob, You say : | The main issue I had was created by moving uncompressed stacks from Mac | to PC. | | Once I began compressing stacks on the Mac & decompressing on my TPC, | all but minor problems went away. Could you clarify just a little please ? My curiosity is aroused ! Thanks -Francis "Nothing should ever be done for the first time !" From katir at hindu.org Tue Mar 7 14:05:05 2006 From: katir at hindu.org (Sivakatirswami) Date: Tue, 7 Mar 2006 09:05:05 -1000 Subject: DRM for Images and Text in Stacks In-Reply-To: References: Message-ID: well, the point is to protect it *also* when looking in the REv's IDE inspector. If you put the images into customProps and then put a password on the stack... will that prevent uses who have the IDE from getting at them? (I'll try it.) Sivakatirswami On Mar 07, 2006, at 5:40 AM, Ken Ray wrote: > This way, the image data is safe from prying eyes (people would > only see the > raw image data when looking at it with the Rev IDE's inspector), > and since > the stack is encrypted and the custom prop and image objects have > no obvious > connection, it would be difficult to figure out which image data > goes with > which object and even if they could, the data is encrypted or > compressed so > it's not a simple act of "set the imageData of img 1 to ". > > Here's a simple example using compress/decompress: > > SETUP: > set the uStuff of this card to compress(the imageData of img 1) > put "" into img 1 > > PLAYBACK: > set the imageData of img 1 to decompress(the uStuff of this card) From josh at dvcreators.net Tue Mar 7 14:24:26 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 7 Mar 2006 11:24:26 -0800 Subject: (Revenge of) [direct access with Rev built-in SQL] vs. [server-side scripts] to access a multiuser remote DB Message-ID: <5D00E173-A00A-4945-BB1D-F7BD5D440D72@dvcreators.net> Thanks to everyone who made very helpful comments and voted in the poll (http://revcoders.org/database-access/), but now there's a new twist: We've found the config option that lets us open a MySQL database to any IP (not just "localhost"). So what I'm searching for is a "best practices" recommendation for a multiuser app with a DB back end. Options are: #1. send commands using LibURL from Rev to PHP scripts on the server, the PHP scripts interact with the database, then send results back to Rev #2. Use the built-in SQL commands of Rev to directly access the database remotely I have been doing #1, which is working fine, speed is very fast, seems faster than a browser (!), but it is a bit of a headache switching gears to write PHP scripts. So I'm thinking of switching to #2... Has anyone tried both? Would anyone recommend going one way or the other? Any distinct advantages? From kray at sonsothunder.com Tue Mar 7 14:53:19 2006 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 07 Mar 2006 13:53:19 -0600 Subject: DRM for Images and Text in Stacks In-Reply-To: Message-ID: On 3/7/06 1:05 PM, "Sivakatirswami" wrote: > well, the point is to protect it *also* when looking in the REv's IDE > inspector. > If you put the images into customProps and then put a password on > the stack... will that prevent uses who have the IDE from getting at > them? (I'll try it.) No, they can get to them, but they won't know what how to decipher the binary data you put in there. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From sadhu at castandcrew.com Tue Mar 7 14:55:25 2006 From: sadhu at castandcrew.com (sadhu at castandcrew.com) Date: Tue, 7 Mar 2006 11:55:25 -0800 (PST) Subject: (Revenge of) [direct access with Rev built-in SQL] vs. [server-sidescripts] to access a multiuser remote DB In-Reply-To: <5D00E173-A00A-4945-BB1D-F7BD5D440D72@dvcreators.net> References: <5D00E173-A00A-4945-BB1D-F7BD5D440D72@dvcreators.net> Message-ID: <1542.64.75.194.231.1141761325.squirrel@webmail.castandcrew.com> Howdy, I hadn't seen your page before (I'm not usually on this list) so I will take a look. Yep, I've tried both (cgi versus direct). Pierre likes the indirect method of your x Talk CGI calling another stack which is using the direct access library so then you could potentially re-use much of the same code in a client app, and a cgi method. I've also used bash scripts writing out SQL and calling psql (mysql) from the command line, which is again easier for me than perl, php, etc. I prefer to put the code in the client app, easier yet I think. (as you say, no switching gears). but what about security? well you set up your database so access is limited to one user, and you set the password field in the build stand alone settings so the connection info in the executable is encrypted. Also, use SSL. I feel that covers it but I would not be surprised if people dispute this; security is getting tougher. Aloha, Sadhu > Thanks to everyone who made very helpful comments and voted in the > poll (http://revcoders.org/database-access/), but now there's a new > twist: > > We've found the config option that lets us open a MySQL database to > any IP (not just "localhost"). > > > So what I'm searching for is a "best practices" recommendation for a > multiuser app with a DB back end. > > > Options are: > > #1. send commands using LibURL from Rev to PHP scripts on the server, > the PHP scripts interact with the database, then send results back to > Rev > > #2. Use the built-in SQL commands of Rev to directly access the > database remotely > > > > I have been doing #1, which is working fine, speed is very fast, > seems faster than a browser (!), but it is a bit of a headache > switching gears to write PHP scripts. > > So I'm thinking of switching to #2... > > > Has anyone tried both? Would anyone recommend going one way or the > other? Any distinct advantages? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Tue Mar 7 15:04:33 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Mar 2006 14:04:33 -0600 Subject: Slow Dialogs in Rev 2.7 In-Reply-To: References: Message-ID: <440DE751.20603@hyperactivesw.com> Paul Claude wrote: > Mac Os X 10.4.4, on a Mac G4 400mhz, and Rev. 2.7. It's incredible, but all > the dialogs are deadly slow; 10 seconds at least, for every dialog (user > dialogs and Rev. internal dialogs) That is definitely not normal behavior. Does it only happen in one stack, or in all of them? What happens if you relaunch Rev, make a new stack, and put this in a button: on mouseup answer "This is a test." end mouseup Does that delay too? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Tue Mar 7 15:11:29 2006 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 7 Mar 2006 13:11:29 -0700 Subject: callbacks In-Reply-To: <6.2.1.2.2.20060307111248.05006d48@exchange.slg.com> References: <6.2.1.2.2.20060307110108.030a4598@exchange.slg.com> <6.2.1.2.2.20060307111248.05006d48@exchange.slg.com> Message-ID: <5D7A10F5-F0AE-411C-8224-7EF32588D14E@byu.edu> > Speaking of callbacks, has anyone noticed callbacks being skipped over the course of a long-ish video? One of my students showed me a problem with his stack ( on XP). Each time he played the video some of the callbacks, say 5 or 6 out of 20, would just be skipped. It was different ones each time. There have been past discussions about this, but I never saw this exact problem. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From sims at ezpzapps.com Tue Mar 7 15:13:14 2006 From: sims at ezpzapps.com (sims) Date: Tue, 7 Mar 2006 21:13:14 +0100 Subject: DRM for Images and Text in Stacks In-Reply-To: References: Message-ID: At 1:53 PM -0600 3/7/06, Ken Ray wrote: >On 3/7/06 1:05 PM, "Sivakatirswami" wrote: > >> well, the point is to protect it *also* when looking in the REv's IDE >> inspector. >> If you put the images into customProps and then put a password on >> the stack... will that prevent uses who have the IDE from getting at >> them? (I'll try it.) > >No, they can get to them, but they won't know what how to decipher the >binary data you put in there. Would this solve your problem... Make copies of all the stacks which contain the media. Take the second batch which will be given out with the application, place in the stack script - if the environment is development then quit. Wouldn't the file be accessible to your standalone but not in the IDE? If you need to modify those files, use your backup copy which does not have that stack script. Is there anything wrong with this strategy? ciao, sims European Rev Conference 2006 www.techietours.com From rjb at robelko.com Tue Mar 7 15:09:14 2006 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 7 Mar 2006 21:09:14 +0100 Subject: Latest Version of RunRev for Mac OS 9??? In-Reply-To: References: Message-ID: >Hi Dave... It's Rev 2.6.1 and you have to ask Heather directly. It's >doubtful that 2.7 or later will get to OS 9... Jim > I hope you are wrong, Jim. And the RR web site states that OS9 version is coming, whatever that means. From pevensen at siboneylg.com Tue Mar 7 15:25:20 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 07 Mar 2006 14:25:20 -0600 Subject: callbacks In-Reply-To: <5D7A10F5-F0AE-411C-8224-7EF32588D14E@byu.edu> References: <6.2.1.2.2.20060307110108.030a4598@exchange.slg.com> <6.2.1.2.2.20060307111248.05006d48@exchange.slg.com> <5D7A10F5-F0AE-411C-8224-7EF32588D14E@byu.edu> Message-ID: <6.2.1.2.2.20060307142351.05401e88@exchange.slg.com> I'm using callbacks on movies that are maybe 5-10 minutes long for another project. So far I haven't seen this happen. Granted my app hasn't gone to QA yet. How close together are the callbacks? I did have problems when I tried to use a callback to queue another player before the current one stopped. I wasn't getting the callbacks on short sound files for some reason. At 02:11 PM 3/7/2006, you wrote: >Speaking of callbacks, has anyone noticed callbacks being skipped >over the course of a long-ish video? One of my students showed me a >problem with his stack ( on XP). Each time he played the video some >of the callbacks, say 5 or 6 out of 20, would just be skipped. It was >different ones each time. > >There have been past discussions about this, but I never saw this >exact problem. > >Devin Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From jhurley at infostations.com Tue Mar 7 16:08:49 2006 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 7 Mar 2006 13:08:49 -0800 Subject: In-line Fraction with Horizontal Line In-Reply-To: <20060307015756.6DE22826407@mail.runrev.com> References: <20060307015756.6DE22826407@mail.runrev.com> Message-ID: > >Message: 33 >Date: Mon, 6 Mar 2006 19:55:55 -0700 >From: Mark Greenberg >Subject: In-line Fraction with Horizontal Line >To: Runtime Revolution >Message-ID: <2051D937-8163-4405-A04C-5823B9B6E558 at cox.net> >Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > >Fellow list members, I have a problem for which I can only find >difficult or unsatisfactory solutions, and I was hoping you might >have some suggestions. > >I am making a stack to teach students math -- linear equations, to be >more precise. When I display the y = mx + b form, the best I can do >to show a fraction in the m position is something like y = 4/5x + 2. >This is ambiguous because it isn't clear what should be taken as the >divisor, 5 or 5x or 5x + 2. The math teacher for whom I am making >the game would prefer a horizontal division line instead of a slash. > >So far this is what I've thought of and rejected: > >Use fonts that have fractions built in as one character. No, because >they have too few for the range of possible slopes I want to generate. > >Force the numerals around as subscripts and superscripts until it is >clear what the fraction is. Messy and probably won't lead to success. > >Use inline images. Need too many images to cover possible slopes. > >Write it y = (4/5)x + 2. This is mathematically acceptable, but not >the way the students will see it elsewhere. > >Use a different 2-line field that moves according to the location of >the fraction. Hmm.. maybe. > >I could use some help on this one. > > TIA, > Mark Mark, This won't help you with this question but the math teacher might be interested in SupAndSub.rev It facilitates typing equations. In the message box: go url "http://home.infostations.net/jhurley/SupAndSub.rev" To answer your question, I guess I would try using separate fields for the num and dem of the fraction with a graphic line in between. I presume the slope is always represented by the fraction? Jim > > >------------------------------ > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > >End of use-revolution Digest, Vol 30, Issue 14 >********************************************** From rkrivera at earthlink.net Tue Mar 7 16:20:23 2006 From: rkrivera at earthlink.net (Reuben Rivera) Date: Tue, 7 Mar 2006 13:20:23 -0800 Subject: lockScreen Property Question Message-ID: I've been working on a program that requires jumping from one stack to another. I've tried to incorporate the lockScreen property to prevent redrawing of the screen to keep me from sea sick while looking at the screen and to speed up things. The problem I've run into is that regardless of where I put the the "lockScreen to true" command, I still can see the redraws from one stack to the other. Does this property not work under certain situations? I'm a previous hypercard user and I've never had an issue with this before. I've check the written manual and it seems like it should work like it has with my previous experience with hypercard. Any hints or insights? Thanks, Reuben Rivera From klaus at major-k.de Tue Mar 7 16:30:19 2006 From: klaus at major-k.de (Klaus Major) Date: Tue, 7 Mar 2006 22:30:19 +0100 Subject: Scrollbar to drag through a movie? In-Reply-To: References: <20060307161211.31CA8826040@mail.runrev.com> Message-ID: <6E66CEE7-4F4A-4C14-8033-F818157A03B6@major-k.de> Hi Jim, > Klaus, > > Sorry to be so dense about this, but I presume that the "QT > controller" must first be loaded into RR for it to appear in the > inspector. That's what I don't get: How do I load the controller > into RR? That's just an option for a (QT) player object, just like the controller bar in the QuickTime Player! Create a player and check "Controller" on the "Basic Properties" tab of the inspector, that's all. It's not magic, ladies and gentlemen :-) > I spoke to Mark Waddingham at Monterey about this screen refresh > problem in Mac OS X and he said (I think) that he was going to fix > it. Maybe I should remind him. That is supposed to get fixed in 2.7.1 (or already 2.7). > Jim Regards Klaus Major klaus at major-k.de http://www.major-k.de From sadhu at castandcrew.com Tue Mar 7 16:49:14 2006 From: sadhu at castandcrew.com (Sadhunathan Nadesan) Date: Tue, 07 Mar 2006 13:49:14 -0800 Subject: Bug Report - unable to compile database applications for Windows Message-ID: <440DFFDA.4070404@castandcrew.com> Who-hoo! I found a work around. I compiled a test app under 2.6.1. It worked. It also included a lot of files in the stand alone directory and the subdirectory externals. I copied those to the same places where the 2.7 app was. Then, it worked. So the problem is: REV is not putting the database library dll's in place when it builds a stand alone app for windows. If someone can point me to the bugzilla for rev (i can't find it) I will post this info there. From jacque at hyperactivesw.com Tue Mar 7 17:03:17 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Mar 2006 16:03:17 -0600 Subject: Bug Report - unable to compile database applications for Windows In-Reply-To: <440DFFDA.4070404@castandcrew.com> References: <440DFFDA.4070404@castandcrew.com> Message-ID: <440E0325.7060501@hyperactivesw.com> Sadhunathan Nadesan wrote: > So the problem is: REV is not putting the database library dll's in > place when it builds a stand alone app for windows. > > If someone can point me to the bugzilla for rev (i can't find it) I will > post this info there. No need -- it is already fixed for 2.7.1. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Mar 7 17:09:55 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Mar 2006 16:09:55 -0600 Subject: lockScreen Property Question In-Reply-To: References: Message-ID: <440E04B3.3090704@hyperactivesw.com> Reuben Rivera wrote: > I've been working on a program that requires jumping from one stack to > another. I've tried to incorporate the lockScreen property to prevent > redrawing of the screen to keep me from sea sick while looking at the > screen and to speed up things. The problem I've run into is that > regardless > of where I put the the "lockScreen to true" command, I still can see > the redraws > from one stack to the other. Does this property not work under certain > situations? I'm a previous hypercard user and I've never had an issue > with > this before. I've check the written manual and it seems like it should > work > like it has with my previous experience with hypercard. Any hints or > insights? Actually, it worked the same way in HyperCard too. The "lockscreen" command should really have been named "lockwindow". Only the frontmost stack is locked. If you open 2 stacks at once in HyperCard, lock the screen, and then try to go to the second stack, you'll see the same behavior. The OS has to redraw the window. Unlike HC, there's a workaround in Revolution. Instead of "lockscreen", use the "go stack in window " variant. See the "go" command in the docs; this command substitutes the contents of a stack into the same window as the current stack, basically avoiding the OS redraw. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From benbock at msn.com Tue Mar 7 17:10:35 2006 From: benbock at msn.com (Ben Bock) Date: Tue, 7 Mar 2006 14:10:35 -0800 Subject: where does a "put file" go? Message-ID: If I do the following in a script, where does it go? put fld "data field" into url "file:test data.txt" How can I open the file to read it, independently of Rev? Thanks, Ben From pevensen at siboneylg.com Tue Mar 7 17:24:08 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 07 Mar 2006 16:24:08 -0600 Subject: where does a "put file" go? In-Reply-To: References: Message-ID: <6.2.1.2.2.20060307162255.0492f940@exchange.slg.com> It goes to the defaultfolder. In a standalone, this is, by default, the directory of the application (I believe). Type "defaultfolder" in the message box to see what the default folder currently is. That is where your file will be saved. At 04:10 PM 3/7/2006, you wrote: >If I do the following in a script, where does it go? >put fld "data field" into url "file:test data.txt" > >How can I open the file to read it, independently of Rev? > > > >Thanks, > >Ben >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From klaus at major-k.de Tue Mar 7 17:25:02 2006 From: klaus at major-k.de (Klaus Major) Date: Tue, 7 Mar 2006 23:25:02 +0100 Subject: where does a "put file" go? In-Reply-To: References: Message-ID: Hi Ben, > If I do the following in a script, where does it go? > put fld "data field" into url "file:test data.txt" it goes into the current directory. You can check it with a little script like: ... put the directory ... That will return the folder where you can find your file. > How can I open the file to read it, independently of Rev? Just doubleclick that file and Textedit (on a Mac) or Editor (on windows) will start and open it. Of course you can manage where to save that file, e.g. with "specialfolderpath(xyz)" or something. This will save the file on your desktop: ... put fld "data field" into url ("file:" & specialfolderpath("desktop") & "/test data.txt") ... > Thanks, > > Ben Regards Klaus Major klaus at major-k.de http://www.major-k.de From devin_asay at byu.edu Tue Mar 7 17:27:28 2006 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 7 Mar 2006 15:27:28 -0700 Subject: where does a "put file" go? In-Reply-To: References: Message-ID: On Mar 7, 2006, at 3:10 PM, Ben Bock wrote: > If I do the following in a script, where does it go? > put fld "data field" into url "file:test data.txt" > > How can I open the file to read it, independently of Rev? It goes to whatever folder is set in the defaultFolder global property. At startup the defaultFolder is automatically set to the folder containing the Rev application (if you open in the development environment) or the folder containing your compiled standalone. So if you're in Revolution look in your /Applications/Revolution folder on OS X or C:\Program Files\Revolution on Windows. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From garrett at paraboliclogic.com Tue Mar 7 18:30:03 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Tue, 07 Mar 2006 15:30:03 -0800 Subject: Making Rev Plugin? Message-ID: <440E177B.60600@paraboliclogic.com> Rev 2.6.1 Greetings, Is there a tutorial on making plug ins for the Rev IDE? Or, can someone tell me how to get a list of objects the user has in their stack(s), open in the Rev IDE, so my plug in can get and set the text of an object? Thanks, -Garrett From garrett at paraboliclogic.com Tue Mar 7 19:18:17 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Tue, 07 Mar 2006 16:18:17 -0800 Subject: answer file with filter problem Message-ID: <440E22C9.9040809@paraboliclogic.com> Rev 2.6.1 Greetings, Am I doing something wrong with the answer file? put "Please select a file:" into varOne put "Text Files,*.txt" into varTwo put "Open file" into varThree answer file varOne with filter varTwo titled varThree I originally had this way: answer file "Please select a file:" with filter "Text Files,*.txt" titled "Open file" But either way, the files listed in the answer file dialog are all blocked out and not accessible at all. Thanks, -Garrett From LunchnMeets at aol.com Tue Mar 7 19:59:53 2006 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Tue, 7 Mar 2006 19:59:53 EST Subject: lockScreen Property Question Message-ID: <26b.6f97bc0.313f8689@aol.com> Hi Ruben, I share your pain. This is one of the few instances where HyperCard has it all over revolution. You can get around this somewhat in two ways. 1) You can hide any stack you don't want to see before you go to them for an intermediate process. The problem with that is you have to remember to show them before actually displaying that stack. 2) Unlike HyperCard you can refer to a field without going to that stack. For example: put field "fieldName" of stack "stackName" into field "fieldName" of this stack is OK in Revolution, but not HyperCard. Joe Orlando, Florida From LunchnMeets at aol.com Tue Mar 7 20:02:12 2006 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Tue, 7 Mar 2006 20:02:12 EST Subject: Globals and... Message-ID: <24.2eccb30.313f8714@aol.com> Hi Everyone, OK so you can initiate globals for an object outside of a handler. That's cool if you have more than one handler for an object. Is there anything else I can do outside of a handler that will apply to all handlers for an object? Joe Orlando, Florida From JimAultWins at yahoo.com Tue Mar 7 21:49:06 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 07 Mar 2006 18:49:06 -0800 Subject: Globals and... In-Reply-To: <24.2eccb30.313f8714@aol.com> Message-ID: On 3/7/06 5:02 PM, "LunchnMeets at aol.com" wrote: > Hi Everyone, > > OK so you can initiate globals for an object outside of a handler. That's > cool if you have more than one handler for an object. Is there anything else I > can do outside of a handler that will apply to all handlers for an object? > > Joe Lots... take your pick _____________________ --INSIDE Rev creating more cards, fields, buttons, groups using custom properties Back script Front script start using stack "libOfHandlers.rev" set the script of btn "green" to " url "file:/Desktop/ btnScript01.txt" set the script of btn "blue" to " url "file:/Desktop/ btnScript02.txt" set the script of btn "green" to " url "file:/Desktop/ btnScript03.txt" on opencard if the name of this card is "summary" then set the script of btn "Report" to url "file:/Desktop/btnScriptRptSmry.txt" else set the script of btn "Report" to url "file:/Desktop/btnScriptRptDept.txt" end if end opencard put "info" into url "file:/Desktop/dataFileForRev.txt" --OUTSIDE Rev save spreadsheet as tab delimited, then open in Rev using put url "file:/Desktop/dataTableFromExcel.txt" into tDataTable --via Applescript or VisualBasic much more stuff. I am sure there are more, but that is a good start, off the top of my head. Jim Ault Las Vegas From JimAultWins at yahoo.com Tue Mar 7 21:55:49 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 07 Mar 2006 18:55:49 -0800 Subject: In-line Fraction with Horizontal Line In-Reply-To: Message-ID: On 3/7/06 1:08 PM, "Jim Hurley" wrote: > To answer your question, I guess I would try using separate fields > for the num and dem of the fraction with a graphic line in between. I > presume the slope is always represented by the fraction? > You could hide/show/move fields that represented the components of the equation, eg fld partBeforeDiv fld partAfterDiv image divShort image divMedium image divLong image sqRootThin, sqRootTall, sqRootTail detect the number of div images required set the left,top of each field, opaque false, with the correct image beneath. The editable field can now be represented more correctly. Might work :-) Jim Ault Las Vegas >> >> Message: 33 >> Date: Mon, 6 Mar 2006 19:55:55 -0700 >> From: Mark Greenberg >> Subject: In-line Fraction with Horizontal Line >> To: Runtime Revolution >> Message-ID: <2051D937-8163-4405-A04C-5823B9B6E558 at cox.net> >> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed >> >> Fellow list members, I have a problem for which I can only find >> difficult or unsatisfactory solutions, and I was hoping you might >> have some suggestions. >> >> I am making a stack to teach students math -- linear equations, to be >> more precise. When I display the y = mx + b form, the best I can do >> to show a fraction in the m position is something like y = 4/5x + 2. >> This is ambiguous because it isn't clear what should be taken as the >> divisor, 5 or 5x or 5x + 2. The math teacher for whom I am making >> the game would prefer a horizontal division line instead of a slash. >> >> So far this is what I've thought of and rejected: >> >> Use fonts that have fractions built in as one character. No, because >> they have too few for the range of possible slopes I want to generate. >> >> Force the numerals around as subscripts and superscripts until it is >> clear what the fraction is. Messy and probably won't lead to success. >> >> Use inline images. Need too many images to cover possible slopes. >> >> Write it y = (4/5)x + 2. This is mathematically acceptable, but not >> the way the students will see it elsewhere. >> >> Use a different 2-line field that moves according to the location of >> the fraction. Hmm.. maybe. >> >> I could use some help on this one. >> >> TIA, >> Mark > > > Mark, > > This won't help you with this question but the math teacher might be > interested in SupAndSub.rev > > It facilitates typing equations. > > In the message box: > > go url "http://home.infostations.net/jhurley/SupAndSub.rev" > > Jim > >> >> >> ------------------------------ >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> End of use-revolution Digest, Vol 30, Issue 14 >> ********************************************** > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lan.kc.macmail at gmail.com Tue Mar 7 22:13:39 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 8 Mar 2006 11:13:39 +0800 Subject: DRM for Images and Text in Stacks In-Reply-To: References: Message-ID: On 3/8/06, Ken Ray wrote: > > > No, they can get to them, but they won't know what how to decipher the > binary data you put in there. Of course everyone has only mentioned the images, although the same can apply to the text in your text fields. This all seems very complex to me. In Sivakatirswami Dreamworld the answer would seem to be DreamCard - as it can be used as a database front end. With all images and text stored securely in an encrypted database when anyone with the Rev IDE opens a front end all they get is 'empty' fields, etc. Pity DreamCard is on the way out, so I guess you'll have to go with a standalone DB frontend; which means you don't have to worry about when your dream of everyone having a stack player will come true. I have no idea if this would work but as for the problem of screenshots, could you capture key strokes (is it CMD-OPT-3 on the Mac?) and put 'empty' into the fields so they appear blank? Of course anyone can work around this by starting 'Grab' (on Mac) and using the Menus to do a screenshot. Could you blank the fields anytime your app is no longer front most? Just some thoughts. From katir at hindu.org Tue Mar 7 22:40:20 2006 From: katir at hindu.org (Sivakatirswami) Date: Tue, 7 Mar 2006 17:40:20 -1000 Subject: OT: forum etiquette Message-ID: I thought this site useful: http://www.catb.org/~esr/faqs/smart-questions.html and particularly this section: =========== Don't claim that you have found a bug When you are having problems with a piece of software, don't claim you have found a bug unless you are very, very sure of your ground. Hint: unless you can provide a source-code patch that fixes the problem, or a regression test against a previous version that demonstrates incorrect behavior, you are probably not sure enough. This applies to webpages and documentation, too; if you have found a documentation ?bug?, you should supply replacement text and which pages it should go on. Remember, there are many other users that are not experiencing your problem. Otherwise you would have learned about it while reading the documentation and searching the Web (you did do that before complaining, didn't you?). This means that very probably it is you who are doing something wrong, not the software. The people who wrote the software work very hard to make it work as well as possible. If you claim you have found a bug, you'll be impugning their competence, which may offend some of them even if you are correct. It's especially undiplomatic to yell ?bug? in the Subject line. When asking your question, it is best to write as though you assume you are doing something wrong, even if you are privately pretty sure you have found an actual bug. If there really is a bug, you will hear about it in the answer. Play it so the maintainers will want to apologize to you if the bug is real, rather than so that you will owe them an apology if you have messed up. From rkrivera at earthlink.net Tue Mar 7 23:35:47 2006 From: rkrivera at earthlink.net (Reuben Rivera) Date: Tue, 7 Mar 2006 20:35:47 -0800 Subject: lockScreen Property Question In-Reply-To: <440E04B3.3090704@hyperactivesw.com> References: <440E04B3.3090704@hyperactivesw.com> Message-ID: Thanks very much for your suggestion. The screen now looks steady as a rock...no more motion sickness. I really appreciated your help. I had the lockScreen property set to true every other line of script trying to resolve the problem. Nice to have an "elegant" solution. Reuben Rivera On Mar 7, 2006, at 2:09 PM, J. Landman Gay wrote: > Reuben Rivera wrote: >> I've been working on a program that requires jumping from one >> stack to >> another. I've tried to incorporate the lockScreen property to >> prevent >> redrawing of the screen to keep me from sea sick while looking at the >> screen and to speed up things. The problem I've run into is that >> regardless >> of where I put the the "lockScreen to true" command, I still can >> see the redraws >> from one stack to the other. Does this property not work under >> certain >> situations? I'm a previous hypercard user and I've never had an >> issue with >> this before. I've check the written manual and it seems like it >> should work >> like it has with my previous experience with hypercard. Any hints >> or insights? > > Actually, it worked the same way in HyperCard too. The "lockscreen" > command should really have been named "lockwindow". Only the > frontmost stack is locked. If you open 2 stacks at once in > HyperCard, lock the screen, and then try to go to the second stack, > you'll see the same behavior. The OS has to redraw the window. > > Unlike HC, there's a workaround in Revolution. Instead of > "lockscreen", use the "go stack in window ID>" variant. See the "go" command in the docs; this command > substitutes the contents of a stack into the same window as the > current stack, basically avoiding the OS redraw. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From davis.phil at comcast.net Tue Mar 7 23:36:36 2006 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 07 Mar 2006 20:36:36 -0800 Subject: OT: forum etiquette In-Reply-To: References: Message-ID: <440E5F54.70804@comcast.net> This is a great contribution! Thanks. Phil Davis Sivakatirswami wrote: > I thought this site useful: > > http://www.catb.org/~esr/faqs/smart-questions.html > > and particularly this section: > > =========== > Don't claim that you have found a bug > > When you are having problems with a piece of software, don't claim you > have found a bug unless you are very, very sure of your ground. Hint: > unless you can provide a source-code patch that fixes the problem, or a > regression test against a previous version that demonstrates incorrect > behavior, you are probably not sure enough. This applies to webpages > and documentation, too; if you have found a documentation ?bug?, you > should supply replacement text and which pages it should go on. > > Remember, there are many other users that are not experiencing your > problem. Otherwise you would have learned about it while reading the > documentation and searching the Web (you did do that before > complaining, didn't you?). This means that very probably it is you who > are doing something wrong, not the software. > > The people who wrote the software work very hard to make it work as > well as possible. If you claim you have found a bug, you'll be > impugning their competence, which may offend some of them even if you > are correct. It's especially undiplomatic to yell ?bug? in the Subject > line. > > When asking your question, it is best to write as though you assume you > are doing something wrong, even if you are privately pretty sure you > have found an actual bug. If there really is a bug, you will hear about > it in the answer. Play it so the maintainers will want to apologize to > you if the bug is real, rather than so that you will owe them an > apology if you have messed > up. From jacque at hyperactivesw.com Tue Mar 7 23:44:30 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Mar 2006 22:44:30 -0600 Subject: lockScreen Property Question In-Reply-To: References: <440E04B3.3090704@hyperactivesw.com> Message-ID: <440E612E.1050402@hyperactivesw.com> Reuben Rivera wrote: > Thanks very much for your suggestion. The screen now looks steady > as a rock...no more motion sickness. Actually, the other solution is to ship Drammamine with every copy of your stack. It saves coding. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rkrivera at earthlink.net Tue Mar 7 23:46:33 2006 From: rkrivera at earthlink.net (Reuben Rivera) Date: Tue, 7 Mar 2006 20:46:33 -0800 Subject: lockScreen Property Question In-Reply-To: <26b.6f97bc0.313f8689@aol.com> References: <26b.6f97bc0.313f8689@aol.com> Message-ID: Thank you for reminding me about being able to extract data from another stack without going to it first. This will help resolve some other issues I've been running into. I appreciate your help. Reuben Rivera On Mar 7, 2006, at 4:59 PM, LunchnMeets at aol.com wrote: > Hi Ruben, > > I share your pain. This is one of the few instances where HyperCard > has it > all over revolution. You can get around this somewhat in two ways. > > 1) You can hide any stack you don't want to see before you go to > them for an > intermediate process. The problem with that is you have to remember > to show > them before actually displaying that stack. > > 2) Unlike HyperCard you can refer to a field without going to that > stack. For > example: > > put field "fieldName" of stack "stackName" into field "fieldName" > of this > stack > > is OK in Revolution, but not HyperCard. > > Joe > Orlando, Florida > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at elementarysoftware.com Wed Mar 8 00:13:18 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 7 Mar 2006 21:13:18 -0800 Subject: Sheet command In-Reply-To: <06531BFC-D2BD-4DA1-BA5C-212459DC58C8@skynet.be> References: <06531BFC-D2BD-4DA1-BA5C-212459DC58C8@skynet.be> Message-ID: Although it takes a few lines, I do this fairly often with something like: go inv cd "xyz" of stack "abc" sheet stack "abc" in stack "parentstack B" show stack "abc" -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com On Mar 7, 2006, at 8:25 AM, Yves COPPE wrote: > Hi list, > > Working on mac OS X, I'd like to to something like : > > go to cd "xyz" of stack "abc" as sheet in stack "parentstack B" > > It doesn't work > Is there a way to do it ? > > The parentstack parameter seems only to work with something like > sheet stack "abc" in stack "parentstack B" > > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From paulclaude at postino.it Wed Mar 8 03:00:32 2006 From: paulclaude at postino.it (Paul Claude) Date: Wed, 08 Mar 2006 09:00:32 +0100 Subject: Slow Dialogs in Rev 2.7 In-Reply-To: <440DE751.20603@hyperactivesw.com> Message-ID: Yes, is delayed. As I told you, also the Rev. dialogs are slow; as example, when I close the script editor, it needs several seconds to appears the "save" dialog. And, if I want to rename some custom property through the inspector panel, the "ask" dialog appears always after 7/10 seconds. on 7-03-2006 21:04, J. Landman Gay at jacque at hyperactivesw.com wrote: > That is definitely not normal behavior. Does it only happen in one > stack, or in all of them? What happens if you relaunch Rev, make a new > stack, and put this in a button: > > on mouseup > answer "This is a test." > end mouseup > > Does that delay too? From mark at maseurope.net Wed Mar 8 03:38:28 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 8 Mar 2006 08:38:28 +0000 Subject: Globals and... In-Reply-To: <24.2eccb30.313f8714@aol.com> References: <24.2eccb30.313f8714@aol.com> Message-ID: <8EC3E564-AEA5-4D18-826C-C241EF25639F@maseurope.net> You can do the same with 'script locals', too. The difference from globals is that script locals are available to all handlers in that particular objetcs script, but not to handlers in other objects scripts. Mark On 8 Mar 2006, at 01:02, LunchnMeets at aol.com wrote: > Hi Everyone, > > OK so you can initiate globals for an object outside of a handler. > That's > cool if you have more than one handler for an object. Is there > anything else I > can do outside of a handler that will apply to all handlers for an > object? > > Joe > Orlando, Florida > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Wed Mar 8 04:16:30 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 8 Mar 2006 10:16:30 +0100 Subject: answer file with filter problem In-Reply-To: <440E22C9.9040809@paraboliclogic.com> References: <440E22C9.9040809@paraboliclogic.com> Message-ID: <1B58E10A-D965-441F-A5DC-CA5FA69F2E64@major-k.de> Hi Garrett, > Rev 2.6.1 > > Greetings, > Am I doing something wrong with the answer file? > put "Please select a file:" into varOne > put "Text Files,*.txt" into varTwo > put "Open file" into varThree > answer file varOne with filter varTwo titled varThree > I originally had this way: > answer file "Please select a file:" with filter "Text > Files,*.txt" titled "Open file" > But either way, the files listed in the answer file dialog are all > blocked out and not accessible at all. your script(s) above will work wonderfully on a windows pc :-) But since you are using a mac (I guessed from your mail header, please do always mention the platform you are using) you need another syntax -> "answer... WITH TYPE ..." So you should script: ... answer file "Please select a file:" with type "Text Files|txt| TEXTttxt" titled "Open file" ... Or fill your variables accordingly. This syntax is crossplaform and takes the FILETYPES on a Mac into account. FILETYPES are going away in the future on OS X I am sure, and only suffixes will be supported and that is also taken care of by this syntax. If you don't know the necessary FILEPTYPE (last parameter), simply omit it, and on OS X only files with the appropriate suffix will be shown in the dialog: ... answer file "Please select a file:" with Type "Text Files|txt|" titled "Open file" ... will also show all text files with the suffix ".txt" The "delimiter" sign is the "pipe" = "|" = ALT-7 on a german keyboard See also "answer file with type" in the docs. Hope that helps. > Thanks, > -Garrett Regards Klaus Major klaus at major-k.de http://www.major-k.de From JimAultWins at yahoo.com Wed Mar 8 04:37:01 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 08 Mar 2006 01:37:01 -0800 Subject: Globals and... In-Reply-To: Message-ID: Whoops.. that should be without the extra quote before 'url' > set the script of btn "green" to url "file:/Desktop/ btnScript01.txt" > set the script of btn "blue" to url "file:/Desktop/ btnScript02.txt" > set the script of btn "green" to url "file:/Desktop/ btnScript03.txt" On 3/7/06 6:49 PM, "Jim Ault" wrote: > > > On 3/7/06 5:02 PM, "LunchnMeets at aol.com" wrote: > >> Hi Everyone, >> >> OK so you can initiate globals for an object outside of a handler. That's >> cool if you have more than one handler for an object. Is there anything else >> I >> can do outside of a handler that will apply to all handlers for an object? >> >> Joe > > Lots... take your pick _____________________ > --INSIDE Rev > creating more cards, fields, buttons, groups > using custom properties > Back script > Front script > start using stack "libOfHandlers.rev" > > set the script of btn "green" to " url "file:/Desktop/ btnScript01.txt" > set the script of btn "blue" to " url "file:/Desktop/ btnScript02.txt" > set the script of btn "green" to " url "file:/Desktop/ btnScript03.txt" > > on opencard > if the name of this card is "summary" then > set the script of btn "Report" to url "file:/Desktop/btnScriptRptSmry.txt" > else > set the script of btn "Report" to url "file:/Desktop/btnScriptRptDept.txt" > end if > end opencard > > put "info" into url "file:/Desktop/dataFileForRev.txt" > > --OUTSIDE Rev > save spreadsheet as tab delimited, then open in Rev using > put url "file:/Desktop/dataTableFromExcel.txt" into tDataTable > > --via Applescript or VisualBasic > much more stuff. > > I am sure there are more, but that is a good start, off the top of my head. > > Jim Ault > Las Vegas > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From haitham1981 at gmail.com Mon Mar 6 01:43:35 2006 From: haitham1981 at gmail.com (Haitham Abdulla) Date: Mon, 6 Mar 2006 09:43:35 +0300 Subject: Revolution vs Visual Basic Message-ID: Hi, May I take few minutes please? When Revolution with some programming languages such as C++ and Java, it is clear that designing and creating applications (or whatever) using Revolution is much easier than those programming languages. But what is your opinion when comparing it with Visual Basic .NET or Visual Basic 2005 Express? Visual Basic .NET has many features similar to those in Revolution. It is very easy to design forms and interfaces. There are many components that you can drag and drop into your forms. VB .NET has a very clear and readable syntax. It has strong debugging tools. And much more. Question (1): Are there some strong features in Revolution that could make it better than VB .NET. Would you please list the features for me? Question (2): VB .NET has some great built-in components and I want to ask whether Revolution has them. Some of those components are: a. Font Dialog Box b. Color Dialog Box c. Save Dialog Box d. Print Dialog Box Question (3): VB .NET has the Tree Component which makes you able to build something similar to the trees of folders and files in Windows Explorer. It is very easy to use and you can expand and add items into the tree dynamically. Is there something similar in Revolution? Is it easy to do such thing? Question (4): We can build easily a Tool Bar in VB .NET and add icons in the Tool Bar. We can also easily draw pictures for the icons within VB .NET or we can attach any saved pictures to the icons. Is there something similar in Revolution? Is it easy to do so? Question (5): We, as programmers, used to use some techniques and algorithms in our programs. Sometimes we need to use Stacks, Queues, Hash Tables, Dictionaries, etc. All these objects, or most of them, are built in VB .NET and we can use them easily. Does Revolution have these objects? Or can we define or create something similar? Question (6): When we want to produce the program (or application) that is created by Revolution, we can produce it as EXE file (in windows). But what if we need to make some kind of Installation or Setup? Can we do it? What about if the users want to uninstall our program (or software)? Can they? Sorry for bothering Regards, From twright at jamestown.wnyric.org Mon Mar 6 13:05:18 2006 From: twright at jamestown.wnyric.org (Thom Wright) Date: Mon, 06 Mar 2006 13:05:18 -0500 Subject: runrev for CRM Message-ID: sorry to bother, but would anyone point me in the direction of information or someone who has created a CRM, contact relational managment application with runrev. I'd appreicate any info. thanks, Thom Wright School Counselor Jefferson Middle School From scott at elementarysoftware.com Tue Mar 7 23:38:21 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 7 Mar 2006 20:38:21 -0800 Subject: Sheet command In-Reply-To: <06531BFC-D2BD-4DA1-BA5C-212459DC58C8@skynet.be> References: <06531BFC-D2BD-4DA1-BA5C-212459DC58C8@skynet.be> Message-ID: <5C3EBE22-9FC6-4C66-8B76-FAE613075F24@elementarysoftware.com> Although it takes a few lines, I do this fairly often with something like: go inv cd "xyz" of stack "abc" sheet stack "abc" in stack "parentstack B" show stack "abc" -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Mar 7, 2006, at 8:25 AM, Yves COPPE wrote: > Hi list, > > Working on mac OS X, I'd like to to something like : > > go to cd "xyz" of stack "abc" as sheet in stack "parentstack B" > > It doesn't work > Is there a way to do it ? > > The parentstack parameter seems only to work with something like > sheet stack "abc" in stack "parentstack B" > > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be From scott at tactilemedia.com Wed Mar 8 05:07:58 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 08 Mar 2006 02:07:58 -0800 Subject: Controlling GIF animation In-Reply-To: <20060215193237.86570.qmail@web81908.mail.mud.yahoo.com> Message-ID: Recently, scott Yang wrote: > Anyway to pause GIF animation in an image or player? Set the repeatCount of the image to 0. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From klaus at major-k.de Wed Mar 8 05:12:32 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 8 Mar 2006 11:12:32 +0100 Subject: Controlling GIF animation In-Reply-To: <20060215193237.86570.qmail@web81908.mail.mud.yahoo.com> References: <20060215193237.86570.qmail@web81908.mail.mud.yahoo.com> Message-ID: <2BEBB526-2AAC-405A-99AF-92C825F1D865@major-k.de> Hi Scott, > Anyway to pause GIF animation in an image or player? yes :-) To stop an animated gif (in an image object): ... set the repeatcount of img "name fo gif here" to 0 ... will stop the naimation (even if it is displayed inside a button as an icon) ... set the repeatcount of img "name fo gif here" to -1 ... will (start and) loop the animation until the end of time :-) You might want to take a look at my "The taming of the animated Gif" stack in Rev online -> user: klausimausi :-) If you display an animated gif inside a player object, simply start or stop the player. Regards Klaus Major klaus at major-k.de http://www.major-k.de From Nitesh.DAHIYA at insead.edu Wed Mar 8 05:23:19 2006 From: Nitesh.DAHIYA at insead.edu (DAHIYA Nitesh) Date: Wed, 8 Mar 2006 11:23:19 +0100 Subject: Changing the screen resolution... Message-ID: <29CB66FA5AFE7446BE8729615CE52D790A7C212B@GAIA.FBL.insead.intra> Hi!! Is there a way so that I can change the resolution of the screen using a script in metacard itself.? I know that the function screenRect() can display the current resolution, but can it be also used to change it?? Basically I want to make the screen resolution to the size of my current stack (which is fixed) on opening the stack. And on closing the stack the screen resolution should again change to its previous size. That's the problem I m facing.... If any body has the solution, please provide. If there is no solution to this, then also please tell.. Thanks Regards Nitesh From effendi at wanadoo.fr Wed Mar 8 05:43:47 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Wed, 8 Mar 2006 11:43:47 +0100 Subject: lockScreen Property Question Message-ID: <77d4fa72891cd27334d676f47730040f@wanadoo.fr> Hi from Paris, I have the same problem too, and I have found no solution.HC was perfect in that field. You could do a world trip in no time at all, and not a flicker on the screen. I also await a solution. -Francis "Nothing should ever be done for the first time !" From dburgun at dsl.pipex.com Wed Mar 8 05:45:51 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 8 Mar 2006 10:45:51 +0000 Subject: Latest Version of RunRev for Mac OS 9??? In-Reply-To: References: Message-ID: Hi, I doubt there will be a version 2.7 for MacOS 9 either, the same was said about version 2.6.6 and that version didn't materialize. Don't understand why version 2.6.1 isn't on their web site tho? All the Best Dave On 7 Mar 2006, at 20:09, Robert Brenstein wrote: >> Hi Dave... It's Rev 2.6.1 and you have to ask Heather directly. It's >> doubtful that 2.7 or later will get to OS 9... Jim >> > > I hope you are wrong, Jim. And the RR web site states that OS9 > version is coming, whatever that means. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From yvescoppe at skynet.be Wed Mar 8 07:11:05 2006 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed, 8 Mar 2006 13:11:05 +0100 Subject: Sheet command In-Reply-To: References: <06531BFC-D2BD-4DA1-BA5C-212459DC58C8@skynet.be> Message-ID: <70305D66-C0B1-424C-A1DA-2E257B6ED1C3@skynet.be> Le 08-mars-06 ? 06:13, Scott Morrow a ?crit : > Although it takes a few lines, I do this fairly often with > something like: > > go inv cd "xyz" of stack "abc" > sheet stack "abc" in stack "parentstack B" > show stack "abc" > > -Scott Morrow > Thank you. Works fine Greetings. Yves COPPE yvescoppe at skynet.be From tacintosh at maccosm.info Wed Mar 8 08:04:51 2006 From: tacintosh at maccosm.info (Takaaki Furukawa) Date: Wed, 8 Mar 2006 22:04:51 +0900 Subject: My DreamCard doesn't start Message-ID: <310e1d856374fcff10a2b8b7544de661@maccosm.info> My DreamCard 2.5 for Mac OS X doesn't start. The dock icon bounces for a couple of times when I click it, but it quits without warning. I deleted the Pref file but no effect. What should I do? From lan.kc.macmail at gmail.com Wed Mar 8 08:11:07 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 8 Mar 2006 21:11:07 +0800 Subject: sort of OT, CD names to iTunes In-Reply-To: <43F85FFD.3010506@tweedly.net> References: <9913D058-D86D-4301-A350-1C16D1C3BEC4@conncoll.edu> <43F85FFD.3010506@tweedly.net> Message-ID: Sorry for being late with this reply but I've been a bit 'listless' lately and I've left the OT posts to last to browse through. I thought though, as obviuosly quite a few of us have been through, going through or contemplating digitizing analog material, I'd share my recent marathon experience. Alex Tweedly wrote: I am 99.9% sure that the track names are not on an audio CD. If they > were, iTunes, MusicMatch, etc. would surely retrieve them for us, > wouldn't they ? > Yes, you can be 100% sure. If you take a commercial CD and look at it through the Finder (Mac) or iTunes (cancel the Gracenote lookup) you will see that the tracks are simply listed as Track 01, Track 02, etc. Alex also wrote: > I think today you do: > 1. LP -> AIFF > 2. AIFF -> CD > 3. CD -> iTunes > I did it: 1. LP -> AIFF 2. AIFF -> iTunes 3. iTunes -> CD The only reason I'd recommend this method is that I hate to waste CD space. Most LPs are only 45 min or less. Quite a few Double LPs can fit on an 80min CD. So by putting everything in iTunes first I can then add extra tracks (either by the same artist or of a similar genre to fill the CD. Some tips to make life easy entering data into iTunes. 1) Set iTunes up to list songs ordered by Album. Drag an album of AIFF files from the Finder into the iTunes window. They will be grouped together so when you open the Info window you can use the 'Next' button to sequential add data. 2) Once you've entered the first track details (Track name, artist name, album name etc) press 'OK', NOT 'Next'. By doing so the info is 'registered' with iTunes and from then on you only have to type the first couple of letters and the rest will be automatically filled in (obviously doesn't work for track name). If you don't press 'OK', but use the 'Next' button the auto entries don't include the data you just entered so you have to type the whole lot. Once you've 'OK'ed the first track, for the rest you can use the 'Next' button and every keystroke will bring up auto-suggestions. 3) Do your albums in REVERSE alphabetical order. Both by Artist and by Album name. Consider the following list of Artist. Pet Shop Boys Pete Townsend Peter Allen Peter Blakeley Peter Cetera Peter Cetera With Amy Grant Peter Cetera With Cher Peter Frampton Peter Gabriel Peter Murphy Peter Murphy and Tom Waits Peter, Paul & Mary Because iTunes' intelligent guess works on alphabetical order. If you enter your Artist/Albums in alphabetical order, to enter the ones by 'Peter Cetera With Cher' you would have to type 'Peter Cetera With C' before iTunes would correctly fill in the rest. But if you work in reverse alphabetical order, all you would need to do is Type 'P' and the first guess would be 'Peter Cetera With Cher' - that is after you have entered it the first time. Saves an inordinate amount of typing. HTH From lan.kc.macmail at gmail.com Wed Mar 8 08:26:12 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 8 Mar 2006 21:26:12 +0800 Subject: Common Causes of Crashes? In-Reply-To: <39E39644-D934-43F4-B13C-EA54C4F95CD2@covcable.com> References: <39E39644-D934-43F4-B13C-EA54C4F95CD2@covcable.com> Message-ID: On 3/1/06, Stephen Paul McNutt wrote: > > I'd like to know some common causes I can look for in > my scripts. What were the last things you added to your stack? Do you have a backup copy of your stack from a week ago that still works? Can you open your stack and it only crashes after certain events? Can you set 'breakpoints' and step through scripts? Look for any instance where the script suddenly steps to the very end. Some other details like; Rev Version, (DreamCard,Studio)(2.6.x,2.7) OS Version Hardware - speed and ram might also help others on the list help you. HTH From Liam at freshcutonline.com Wed Mar 8 08:36:31 2006 From: Liam at freshcutonline.com (Liam Shannon) Date: Wed, 8 Mar 2006 08:36:31 -0500 Subject: Newbie adventure game question Message-ID: <4A6F7842-0025-4455-A2EA-BD658A7D1843@freshcutonline.com> Hello, I am so new to Revolution that I don't even own it yet. That said, I am very excited to join what seems to be a very exciting community and growing capability and I hope someday to be able to contribute as well as query. For now though, I am just a bunch of questions. My first question has to do with my main reason for arriving at Revolution. I want to create an adventure game. And while I am well- schooled in everything from Strata CX to Final Cut Pro, I (since the demise of mTropolis) have no way to bring my individual files together in a working app. As a result, I have spent literally months and months searching for an app that would let me author on the Mac (if I was Windows based I realize I would have more options but that is not really an option). To this end, I had been trying to learn a program called Pipmak (http://pipmak.sourceforge.net) which is based on Lua and allows the creation of a really cool panoramic node-based adventure game experience. Unfortunately, as I do not have a programming base (since using Basic in the 70's) I can't even figure out how to launch Lua on my Mac. And Pipmak doesn't offer the other functionality (easy scripting, sound handling, etc.) that I need. So here I am. But, I am still jonesing for the ability to create a 360 degree panoramic experience (like the later Myst games) and yet the folks at Revolution have informed me that Revolution can only create the kind of experience presented in the original Myst - ie. face forward, want to look left then click left and dissolve to another straight on image of what is on the left. To get beyond this they suggest Quicktime VR but I must admit I find Quicktime VR to be very jumpy, limited, and somewhat unreal feeling and I would much prefer the kind of feeling one gets in the Pipmak demo (http://pipmak.sourceforge.net/ downloads.php). So here (at long last) is the question. Why can't one achieve the same effect as Pipmak in Revolution? If it matters, the Pipmak documentation, which explains how it stiches panoramas out of flat images, is also at the link above. In advance, thanks for any thoughts. Liam Liam Shannon Creative Director Fresh Cut Grass Advertising 22 Everett Street Sherborn, MA 01770 (508)545-2125 From charles.hartman at conncoll.edu Wed Mar 8 09:01:24 2006 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 8 Mar 2006 09:01:24 -0500 Subject: sort of OT, CD names to iTunes In-Reply-To: References: <9913D058-D86D-4301-A350-1C16D1C3BEC4@conncoll.edu> <43F85FFD.3010506@tweedly.net> Message-ID: <846973A9-228E-4786-9FD2-868AE66F7F2D@conncoll.edu> On Mar 8, 2006, at 8:11 AM, Kay C Lan wrote: > The only reason I'd recommend this method is that I hate to waste > CD space. > Most LPs are only 45 min or less. Quite a few Double LPs can fit on > an 80min > CD. So by putting everything in iTunes first I can then add extra > tracks > (either by the same artist or of a similar genre to fill the CD. I decided the opposite -- particularly because so little accessible data is available on the audio CD. That leaves the magic-marker label on the CD itself the only key to its contents. If that's the title of one LP, the problem is minimal; if it's twenty miscellaneous tracks . . . CDs are now roughly 20 cents apiece; their storage bulk is not much more imposing, if you find a reasonable binder system for them. As for OK vs Next in iTunes, note that if you've burned the tracks to CD before importing to iTunes, cmd-I (Get Info) on the CD with no track selected lets you fill in album-title and album-artist (and album-composer if there's only one) just once, leaving only track names and composers to be filled in. Burn to CD first? It's a tough call, as discussed before on this list. My assumption is that I want to end up with AIFFs on the CD (for fidelity) and AACs in iTunes (for the huge space savings on my hard disk). Given that assumption, burning the CD first turns out to be competitive for efficiency with the reverse. And I'm realizing that filling in the data on the CD (with Toast Lite, say) is a complete waste of timen -- which means it has to be filled in only once, when the CD is imported into iTunes. Charles From europe at ehug.info Wed Mar 8 09:09:48 2006 From: europe at ehug.info (Mark Schonewille) Date: Wed, 08 Mar 2006 15:09:48 +0100 Subject: Missing Report Builder In-Reply-To: References: Message-ID: <440EE5AC.2060700@ehug.info> Hi Kresten, I looked into the scripts of the report builder and the printing scripts in the backscripts. It appears that a range of properties need to be set for the report builder to work properly. I don't have enough time to figure out where these properties are set. The scripts for setting the properties might be in the menu bar or somewhere else, I can't find them in the backscripts and the report builder stack sript. It should be possible to write your own script to set the properties, after figuring out how the report builder and the printing scripts in the backscripts work. I'm sure, though, that it much easier to create your own report stack. Make a stack with one card of the size of a page and put the fields you need on this card. Use a repeat loop to retrieve information from other stacks and print the card. This is all the report builder does. Best, Mark Kresten Bjerg wrote: > In the Revolution Documentation concerning revPrintReport the > description refers to its function as printing a report, you > have set up in the Report Builder.And there is reference to > the tools menu having a submenu "Report Builder". But > although I have a Studio IDE, v 2.6.1 there is no trace of > the report builder in the menu. However: down in the tools > folder, I do find a revreportsetup.rev stack! But it is hard > to guess, how it can be used. In the revPrintReport > documentation it says: See also..."How do I create a report > layout card" .... " but it is a lame link ! I have searched > this list, and find lots of references to report builder, but > it looks as if quartam reports by Jan Schenkel has suceeded > in pushing the evident professional commercial interests in > selling a highly developed tool, where 129 dollars is > necessary.As I am developing a freeware standalone, and need > very limited pre-organized reporting options: 4 week cards of > a calendar on a page, a list-format for an adresses stack, > simple tasks in hypercard 10 years ago, I wonder.... I had > expected at least to find something like the printreport of > hypercard,-converted to revolution -The revreportsetup.rev > stack may be the answer, but where do I find the answer to > the "How do I create a report layout-card?" question. -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From mark at maseurope.net Wed Mar 8 09:45:37 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 8 Mar 2006 14:45:37 +0000 Subject: Revolution vs Visual Basic In-Reply-To: References: Message-ID: <3A537F50-235B-476E-BCE2-225026E7E719@maseurope.net> Haitham, I can't answer anything like all your questions, but I'll have a go at what I can: On 6 Mar 2006, at 06:43, Haitham Abdulla wrote: > > Question (2): > > VB .NET has some great built-in components and I want to ask whether > Revolution has them. Some of those components are: > > a. Font Dialog Box no, but I think something may be available from someone on this list. > > b. Color Dialog Box yes > c. Save Dialog Box yes > > d. Print Dialog Box yes > > > > Question (3): > > VB .NET has the Tree Component which makes you able to build something > similar to the trees of folders and files in Windows Explorer. It > is very > easy to use and you can expand and add items into the tree > dynamically. Is > there something similar in Revolution? Is it easy to do such thing? Not built in, but I think there are a couple of tree view components from users of this list > Question (4): > > We can build easily a Tool Bar in VB .NET and add icons in the Tool > Bar. We > can also easily draw pictures for the icons within VB .NET or we > can attach > any saved pictures to the icons. > > Is there something similar in Revolution? Is it easy to do so? > If you mean a row of buttons with custom icons, extremely easy > > Question (5): > > We, as programmers, used to use some techniques and algorithms in our > programs. Sometimes we need to use Stacks, Queues, Hash Tables, > Dictionaries, etc. All these objects, or most of them, are built in > VB .NET > and we can use them easily. not really, but a lot of the power in Revolution is in it's chunk expressions, and many different kinds of structures can be easily made and used. Important to know is that in Revolution, effectively everything is a string, there are no types. This is both a disadvantage and a huge advantage. A little out of my depth in saying this, but I don't think Revolution would be optimal for writing large and complex image manipulation routines, for example. I'll leave it there, as I have no experience of VB, so perhaps others can offer useful comparisons. Best Mark From jhurley at infostations.com Wed Mar 8 09:52:56 2006 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 8 Mar 2006 06:52:56 -0800 Subject: Scrollbar to drag through a movie? In-Reply-To: <20060308073930.27F688262C4@mail.runrev.com> References: <20060308073930.27F688262C4@mail.runrev.com> Message-ID: Klaus Major wrote: > >Hi Jim, > >> Klaus, >> >> Sorry to be so dense about this, but I presume that the "QT >> controller" must first be loaded into RR for it to appear in the >> inspector. That's what I don't get: How do I load the controller >> into RR? > >That's just an option for a (QT) player object, just like the >controller bar in the QuickTime Player! > >Create a player and check "Controller" on the "Basic Properties" tab >of the inspector, that's all. >It's not magic, ladies and gentlemen :-) Klaus, It's always magic the first time! There is a considerable lag if one uses one's own scroll bar verses the scroll bar built into the controller using the handler: on scrollbardrag tNew set the currenttime of player "myPlayer" to tNew end scrollbardrag I couldn't find the messages described in the documentation under "player" i.e. "To see a list of messages that can be sent to a player as a result of user actions or internal Revolution events, open the "Transcript Language Dictionary" page of the main Documentation window, and choose "Player Messages" from the Show menu at the top. To see a list of all the properties a player can have, choose "Player Properties" from the Show menu." (RR 2.6.1) > >> I spoke to Mark Waddingham at Monterey about this screen refresh >> problem in Mac OS X and he said (I think) that he was going to fix >> it. Maybe I should remind him. > >That is supposed to get fixed in 2.7.1 (or already 2.7). That is good news. I'll wait for 2.7.1. (I thought you said it was not fixed in 2.7) The grass is always greener on the other side of the current version. Thanks for your help. Jim From dburgun at dsl.pipex.com Wed Mar 8 10:23:27 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 8 Mar 2006 15:23:27 +0000 Subject: 2.7 bugs In-Reply-To: <001901c63ab6$0696e8d0$1500a8c0@ACERLaptop> References: <001901c63ab6$0696e8d0$1500a8c0@ACERLaptop> Message-ID: <403AED7B-CF0E-4CB5-89F4-54D56064CA12@dsl.pipex.com> Hi, If I were you I'd see if you can get ahold of a 2.6.6 version of RunRev. 2.7 is so buggy that I have stopped using it until a new version is released. All the Best Dave On 26 Feb 2006, at 09:21, Andy wrote: > Anyone else here bought 2.7 and can't get it to register? Mine just > takes > the key, runs then on next launching says "you've got 28 days left". > > I've emailed support, but as I'm completely new to Rev, I thought > I'd ask in > case I was missing something obvious. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mikeythek at gmail.com Wed Mar 8 10:28:05 2006 From: mikeythek at gmail.com (Mikey) Date: Wed, 8 Mar 2006 10:28:05 -0500 Subject: Revolution vs Visual Basic In-Reply-To: <3A537F50-235B-476E-BCE2-225026E7E719@maseurope.net> References: <3A537F50-235B-476E-BCE2-225026E7E719@maseurope.net> Message-ID: <9b408d8e0603080728o274af01eu874e54324d5115d6@mail.gmail.com> > Important to know is that in Revolution, effectively everything is a > string, there are no types. This is both a disadvantage and a huge > advantage. This is misleading. Variables in all xtalk languages are not strongly-typed. They are not strings, longints, reals, booleans, or anything else. As programmers people frequently think of untyped variables as strings simply because it is the type that is most commonly used in all programming. However, since variables are untyped, it is possible to take pi, for instance, and in one statement use it in a mathematical expression: put pi*diameter into circumference And then on the very next line use it as a string: answer "The circumference is:"&&circumference While one of the real strengths of xtalk languages is that they have very strong string manipulation routines through chunk expressions, that does not make variables in an xtalk language a string. The difference may seem subtle, but it is important - there is no need to cast a variable when it is used in different contexts. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From klaus at major-k.de Wed Mar 8 10:43:06 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 8 Mar 2006 16:43:06 +0100 Subject: OT: what makes a bundle a bundle on OS X? Message-ID: <2C660824-8E0D-4719-B2BD-BFE9E897FAE9@major-k.de> Hi friends, maybe someone can explain the following to me, i am very curious :-) Some Bundles appear as ONE file -> revxml.bundle and some appear as a folder -> revdb.bundle What is the difference? Thanks in advance. Regards Klaus Major klaus at major-k.de http://www.major-k.de From bobwarren at howsoft.com Wed Mar 8 10:45:28 2006 From: bobwarren at howsoft.com (Bob Warren) Date: Wed, 08 Mar 2006 12:45:28 -0300 Subject: Revolution vs Visual Basic Message-ID: <440EFC18.6000300@howsoft.com> Haitham/Mark wrote: >Question (3): >> >> VB .NET has the Tree Component which makes you able to build something >> similar to the trees of folders and files in Windows Explorer. It >> is very >> easy to use and you can expand and add items into the tree >> dynamically. Is >> there something similar in Revolution? Is it easy to do such thing? >Not built in, but I think there are a couple of tree view components >from users of this list ------------------------------------------------------------------- Haitham: Please visit the following webpage for details of file/picture chooser widgets written in Rev: http://www.howsoft.com/runrev/stacks.htm These widgets do, of course, include HD trees. The standalone widgets exist for Windows XP/2000 and Ubuntu Linux. In view of the fact that I do not possess sufficient machines for testing versions for MAC and other flavours of Linux, I intend to release the source stacks so that other developers can make the adaptions for these platforms. I shall be releasing the stacks within the next few days. What this means for you personally, apart from using the widgets as they stand, is that you can adapt the HD treeviews as you want. I don't know whether or not other programmers would find it easy or difficult to produce HD treeviews in Rev. The fact is, that so far they don't seem to have done it very much. Certainly, for me, the development of these stacks was non-trivial to say the least. (On the other hand, it was my first real attempt at producing an application in Rev. In actual fact, I did it in VB6 first, and then "translated" it into Transcript.) I believe that one other programmer has produced a treeview widget fairly recently (but NOT for the HD), which you can add to or subtract from. If you look back on the Use-Rev Lists, you are sure to find it Regards, Bob Warren From lists at mangomultimedia.com Wed Mar 8 10:56:54 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 8 Mar 2006 07:56:54 -0800 Subject: Best source for examples In-Reply-To: <00dc01c63bbd$bb2fd650$1500a8c0@ACERLaptop> References: <00dc01c63bbd$bb2fd650$1500a8c0@ACERLaptop> Message-ID: <6E3D6ACF-1E5E-4E1E-9BBB-46FD678EE4D9@mangomultimedia.com> On Feb 27, 2006, at 8:49 AM, Andy wrote: > Can anyone point me to some resources, examples etc for Rev? I'm > new to it > (i.e. last Friday), and being a PHP programmer, I'm still trying to > get my > head around the concepts! Hi Andy, I imagine you have 2.7 so check out Help->Getting Started and Help- >User Guide. Also check out the Rev scripting conferences at . Having moved from PHP as a primary development language to Rev, I would recommend the following: 1) Get really familiar with the Revolution message path. Understanding the message path can bring you joy, not understanding the message path will bring you pain ;-) Check out Richard Gaskin's article on it "Extending the Runtime Revolution Message Path" at 2) Become familiar with chunk expressions and the Transcript array. Transcript doesn't have objects and arrays like PHP but you will find that you can often use Transcript "lists" where you used PHP arrays and Transcript "arrays" where you used PHP objects. You just need to get into the Transcript mindset. Open the User Guide from 2.7 and search for Array. That should bring up some useful information. The scripting conference has a session on chunks. 3) Search for "start using" in Help->Dictionary. This is basically what you can use as a replacement for "require" and "include" in PHP if you have code you want available everywhere in a project. 4) Unfortunately, Revolution doesn't have any application frameworks that are publicly available at the moment. This means everyone is kind of on their own. You have to create your own standard libraries, user data storage routines (prefs and application state such as window positions, etc.). This isn't a show stopper but is a HUGE barrier to entry for new developers IMO. Look at creating your own libraries (see point 3) of common routines. Hopefully that will get you started. -- Trevor DeVore Blue Mango Learning Systems - http://www.bluemangolearning.com trevor at bluemangolearning.com From a.calloway at callowaygreen.com Wed Mar 8 11:18:10 2006 From: a.calloway at callowaygreen.com (Andy Calloway) Date: Wed, 8 Mar 2006 16:18:10 -0000 Subject: Best source for examples In-Reply-To: <6E3D6ACF-1E5E-4E1E-9BBB-46FD678EE4D9@mangomultimedia.com> Message-ID: <009b01c642cb$e4c94db0$0200a8c0@ACERLaptop> Hi Trevor, Thanks for all the info, I've been going through the help files over the past few days, but I think I need to put a few hours to one side to really get to grips with it. Cheers, Andy. Hi Andy, I imagine you have 2.7 so check out Help->Getting Started and Help- >User Guide. Also check out the Rev scripting conferences at . Having moved from PHP as a primary development language to Rev, I would recommend the following: 1) Get really familiar with the Revolution message path. Understanding the message path can bring you joy, not understanding the message path will bring you pain ;-) Check out Richard Gaskin's article on it "Extending the Runtime Revolution Message Path" at 2) Become familiar with chunk expressions and the Transcript array. Transcript doesn't have objects and arrays like PHP but you will find that you can often use Transcript "lists" where you used PHP arrays and Transcript "arrays" where you used PHP objects. You just need to get into the Transcript mindset. Open the User Guide from 2.7 and search for Array. That should bring up some useful information. The scripting conference has a session on chunks. 3) Search for "start using" in Help->Dictionary. This is basically what you can use as a replacement for "require" and "include" in PHP if you have code you want available everywhere in a project. 4) Unfortunately, Revolution doesn't have any application frameworks that are publicly available at the moment. This means everyone is kind of on their own. You have to create your own standard libraries, user data storage routines (prefs and application state such as window positions, etc.). This isn't a show stopper but is a HUGE barrier to entry for new developers IMO. Look at creating your own libraries (see point 3) of common routines. Hopefully that will get you started. -- Trevor DeVore Blue Mango Learning Systems - http://www.bluemangolearning.com trevor at bluemangolearning.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From rcozens at pon.net Wed Mar 8 11:39:48 2006 From: rcozens at pon.net (Rob Cozens) Date: Wed, 8 Mar 2006 08:39:48 -0800 Subject: 2.7 bugs In-Reply-To: <001901c63ab6$0696e8d0$1500a8c0@ACERLaptop> References: <001901c63ab6$0696e8d0$1500a8c0@ACERLaptop> Message-ID: <281DE1BE-AEC2-11DA-9816-0030657E1638@pon.net> Hi Andy, > Anyone else here bought 2.7 and can't get it to register? I had no problem here with the same license code I received for v2.6.1. Are you typing the code into the boxes or importing it from the Clipboard? 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) From rcozens at pon.net Wed Mar 8 11:40:10 2006 From: rcozens at pon.net (Rob Cozens) Date: Wed, 8 Mar 2006 08:40:10 -0800 Subject: No OpenStack ..... ! continued In-Reply-To: References: Message-ID: <35666C36-AEC2-11DA-9816-0030657E1638@pon.net> Hi Francis, > You say : > > | The main issue I had was created by moving uncompressed stacks from > Mac > | to PC. > | > | Once I began compressing stacks on the Mac & decompressing on my > TPC, > | all but minor problems went away. > > Could you clarify just a little please ? My curiosity is aroused ! > Before I upgraded to RRv2.6.1, I was using v2.1.2 on MacOS Classic and MacOSX Macs. When I renewed my license, I chose a Studio license for Windows, as my preferred platform is the Tablet PC. In my first attempt at moving my Mac stacks to WinXP, I simply plugged my Lexar JumpDrive into a USB slot on the Mac, dragged the stack files to the JumpDrive, and reversed the process on the TPC. (I had been using this technique to move files between MacOS Classic and MacOSX for some time with no problem.) Some stacks seemed to survive this process and run OK; but others didn't. Most especially, I would get "there was an error creating the standalone" errors from the Standalone Builder. Based on suggestions from this List, I revised my stack file transfer procedure so that the stack files are compressed on the Mac before dragging them to the JumpDrive and decompressed on the TPC. When this was done, the stacks that wouldn't build correctly previously did build working standalone apps. Others used zip format, I use SDB_Tools plugIn's Compress/Expand folder menuItems, and one could probably use Rev's gzip facility (though the later must be applied on a file-by-file basis). 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) From a.calloway at callowaygreen.com Wed Mar 8 12:30:39 2006 From: a.calloway at callowaygreen.com (Andy Calloway) Date: Wed, 8 Mar 2006 17:30:39 -0000 Subject: 2.7 bugs In-Reply-To: <281DE1BE-AEC2-11DA-9816-0030657E1638@pon.net> Message-ID: <000e01c642d6$04d74850$1500a8c0@ACERLaptop> I've got it working now. I downloaded the full install rather than the net install and it worked a treat. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Rob Cozens Sent: 08 March 2006 16:40 To: How to use Revolution Subject: Re: 2.7 bugs Hi Andy, > Anyone else here bought 2.7 and can't get it to register? I had no problem here with the same license code I received for v2.6.1. Are you typing the code into the boxes or importing it from the Clipboard? 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) From stephenREVOLUTION at barncard.com Wed Mar 8 12:46:22 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 8 Mar 2006 09:46:22 -0800 Subject: Latest Version of RunRev for Mac OS 9??? In-Reply-To: References: Message-ID: The OS9 version was promised, and I have no doubt they will deliver it. It's too important to the educational market. I heard the difficulty is that they have to use a new compiler for OS9. I think they don't want a non- version 2.7 out there. >Hi, > >I doubt there will be a version 2.7 for MacOS 9 either, the same was >said about version 2.6.6 and that version didn't materialize. Don't >understand why version 2.6.1 isn't on their web site tho? > >All the Best >Dave > >On 7 Mar 2006, at 20:09, Robert Brenstein wrote: > >>>Hi Dave... It's Rev 2.6.1 and you have to ask Heather directly. It's >>>doubtful that 2.7 or later will get to OS 9... Jim >>> >> >>I hope you are wrong, Jim. And the RR web site states that OS9 >>version is coming, whatever that means. >>_______________________________________________ -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From soapdog at mac.com Wed Mar 8 12:48:15 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 8 Mar 2006 14:48:15 -0300 Subject: Best source for examples In-Reply-To: <00dc01c63bbd$bb2fd650$1500a8c0@ACERLaptop> References: <00dc01c63bbd$bb2fd650$1500a8c0@ACERLaptop> Message-ID: <2F2D12FB-7385-4F9D-8E06-BB3C7E64D0D2@mac.com> Andy, try RevOnline. Just click on RevOnline button on the main IDE. Lots of Freebies there. be welcome to the Revolution. Cheers andre On Feb 27, 2006, at 1:49 PM, Andy wrote: > Can anyone point me to some resources, examples etc for Rev? I'm > new to it > (i.e. last Friday), and being a PHP programmer, I'm still trying to > get my > head around the concepts! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Wed Mar 8 13:01:42 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Mar 2006 12:01:42 -0600 Subject: how to re-open stack In-Reply-To: <3008229.post@talk.nabble.com> References: <3008229.post@talk.nabble.com> Message-ID: <440F1C06.7030401@hyperactivesw.com> stevex64 wrote: > Hi all. I haven't used Rev for about 6 months, and I have the latest version. > It seems there was a way in the last version I had where I could re-open the > stack I was working in from a menu item. But I can't find it now. Any ideas? There is an "open recent file" item in the File menu. That should do it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From soapdog at mac.com Wed Mar 8 13:03:19 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 8 Mar 2006 15:03:19 -0300 Subject: OT: what makes a bundle a bundle on OS X? In-Reply-To: <2C660824-8E0D-4719-B2BD-BFE9E897FAE9@major-k.de> References: <2C660824-8E0D-4719-B2BD-BFE9E897FAE9@major-k.de> Message-ID: <41D371E8-FE3D-47F1-8A4A-2DF68F532059@mac.com> Klaus, from a quick look. Bundles have the "BDNL" file type. Revdb.bundle has a "APPL" file type. revxml has a pkgInfo file with it's bundle file type and no creator. revdb.bundle has a info.plist file listing APPL as the bundle type... and so on. They are both bundles, but of a different nature. If you're looking into creating bundles, try creating a folder with with a 'Contents' subfolder, inside that folder try putting a pkgInfo text file with "BDNL????", it might work... There are technical docs at the ADC site about bundles "About Bundles" In this ADC docs, you'll learn all about modern bundle structures and where to put each file. A bundle is not just a pretty folder? Cheers andre On Mar 8, 2006, at 12:43 PM, Klaus Major wrote: > Hi friends, > > maybe someone can explain the following to me, i am very curious :-) > > Some Bundles appear as ONE file -> revxml.bundle > and some appear as a folder -> revdb.bundle > > What is the difference? > Thanks in advance. > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Wed Mar 8 13:06:43 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Mar 2006 12:06:43 -0600 Subject: Revolution & MS Word Question In-Reply-To: <000f01c63bd3$d068b8a0$580aa8c0@escomfg.escomfg.com> References: <000f01c63bd3$d068b8a0$580aa8c0@escomfg.escomfg.com> Message-ID: <440F1D33.5060509@hyperactivesw.com> Dave Hauge wrote: > To whom it may concern, > The application I am thinking of building is a sales order entry app that > will have multiple drop down windows associated with corresponding text > boxes (see attached). Is it possible with the Revolution Studio product to > tie a MS Word "bookmark" to each of the text boxes so within the application > I can click a button and have the app launch MS Word and dump the content of > each of the text boxes into the corresponding bookmark fields in a > pre-formatted Word template (i.e. the Word document would look very similar > to the app input)? Or is there a more efficient way to do this? One good way to do this is to create the Word template first, and insert placeholders for each item that you will later fill with actual data. For example, put something like "***NAME***" in the place where a name will go, or "***TOTAL***" in the place where a sum total will go. Save the file. If you want, you can store the file inside a custom property in your stack so that it doesn't have to reside on disk. Then in Revolution, you open the file (or put the custom property into a variable) and use the "replace" command to replace your placeholders with actual values: replace "***NAME***" with tName in myTemplateFile Once that is done, save the file to disk under a new name, and then use the "launch" command to open the file with MS Word. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 8 13:07:50 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Mar 2006 12:07:50 -0600 Subject: Common Causes of Crashes? In-Reply-To: <39E39644-D934-43F4-B13C-EA54C4F95CD2@covcable.com> References: <39E39644-D934-43F4-B13C-EA54C4F95CD2@covcable.com> Message-ID: <440F1D76.8040905@hyperactivesw.com> Stephen Paul McNutt wrote: > I know that causes of "crashes" has been discussed, but I can't find it > in the archives. I've got a stack that started crashing yesterday, and > I'd like to know some common causes I can look for in my scripts. One of the most common things is badly formatted images. Did you recently import any new images? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dburgun at dsl.pipex.com Wed Mar 8 13:10:09 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 8 Mar 2006 18:10:09 +0000 Subject: Latest Version of RunRev for Mac OS 9??? In-Reply-To: References: Message-ID: Hi, So was the 2.6.6 version promised, however we are still waiting for it. I agree it is important to the educational market (as well as other markets) which is why it blows my mind that there is no download available for it. I have no intention of porting my MacOS 9 only stacks to 2.7, it's just not worth it, but I would like to be able to download a version of RunRev that works on MacOS 9 NOW, regardless of the version number! I really can't see the point of removing a working version of RunRev for MacOS 9 from the website and replacing it with nothing! Surely it would be better to leave the existing version available and then if and when 2.7 comes along replace it then? In the meantime, here I am twiddling my thumbs waiting for someone from RunRev to contact me and send the latest version (which I have a license for). All the Best Dave On 8 Mar 2006, at 17:46, Stephen Barncard wrote: > The OS9 version was promised, and I have no doubt they will deliver > it. It's too important to the educational market. I heard the > difficulty is that they have to use a new compiler for OS9. I think > they don't want a non- version 2.7 out there. > > >> Hi, >> >> I doubt there will be a version 2.7 for MacOS 9 either, the same >> was said about version 2.6.6 and that version didn't materialize. >> Don't understand why version 2.6.1 isn't on their web site tho? >> >> All the Best >> Dave >> >> On 7 Mar 2006, at 20:09, Robert Brenstein wrote: >> >>>> Hi Dave... It's Rev 2.6.1 and you have to ask Heather directly. >>>> It's >>>> doubtful that 2.7 or later will get to OS 9... Jim >>>> >>> >>> I hope you are wrong, Jim. And the RR web site states that OS9 >>> version is coming, whatever that means. >>> _______________________________________________ > > -- > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From liamlambert at mac.com Wed Mar 8 13:14:34 2006 From: liamlambert at mac.com (liamlambert) Date: Wed, 8 Mar 2006 18:14:34 +0000 Subject: importing list Message-ID: <3A40A518-4B0F-41E6-B11B-B9402097AD2A@mac.com> I have a large amount of plane text files that are laid out like this Below Name: Roll Number: Address: Principal/Director: Phone: Fax: Email: Website: Female Enrolment: Male Enrolment: Type: Primary I want to import the info that is after the colon into fields of the same name as the list above the list repeats name roll number ect Liam Lambert liamlambert at mac.com IRELAND From jacque at hyperactivesw.com Wed Mar 8 13:16:48 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Mar 2006 12:16:48 -0600 Subject: Slow Dialogs in Rev 2.7 In-Reply-To: References: Message-ID: <440F1F90.8020304@hyperactivesw.com> Paul Claude wrote: > Yes, is delayed. As I told you, also the Rev. dialogs are slow; as example, > when I close the script editor, it needs several seconds to appears the > "save" dialog. And, if I want to rename some custom property through the > inspector panel, the "ask" dialog appears always after 7/10 seconds. I am completely puzzled. I don't think anyone else has this problem or they would have said so. It must be something about your particular system. All I can suggest is to reinstall Revolution. Sometimes virus checkers interfere and cause slowdowns, but that doesn't seem too likely since your other windows open okay. If you have any custom plugins, try removing them and restarting Rev. Also make sure you have no custom frontscripts or backscripts. I hope someone else can think of other things to try, because what is happening is not normal behavior. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From garrett at paraboliclogic.com Wed Mar 8 13:28:15 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Wed, 08 Mar 2006 10:28:15 -0800 Subject: Revolution vs Visual Basic In-Reply-To: <3A537F50-235B-476E-BCE2-225026E7E719@maseurope.net> References: <3A537F50-235B-476E-BCE2-225026E7E719@maseurope.net> Message-ID: <440F223F.50600@paraboliclogic.com> Mark Smith wrote: > Haitham, I can't answer anything like all your questions, but I'll have > a go at what I can: > > On 6 Mar 2006, at 06:43, Haitham Abdulla wrote: > >> >> Question (2): >> >> VB .NET has some great built-in components and I want to ask whether >> Revolution has them. Some of those components are: >> >> a. Font Dialog Box > no, but I think something may be available from someone on this list. The following will at least get a list of ANSI fonts and sort them in alphabetical order for you: put fontNames() into varTempPreProcess put the number of lines of varTempPreProcess into varTemp put 1 into varCounter repeat varTemp times put line varCounter of varTempPreProcess into varTempFont if the fontLanguage of varTempFont is "ANSI" then put varTempFont & return after varFontMenuBuild end if put varCounter + 1 into varCounter end repeat sort lines of varFontMenuBuild the variable "varFontMenuBuild" now holds the sorted list of fonts. From there you can either make your own font dialog, or maybe a menu. There are probably other ways of doing this, but this is what I have. I've only been using Rev since late 2005, so I'm not an old pro at it yet like so many others here. ;-) -Garrett From revolutionary.dan at gmail.com Wed Mar 8 13:29:33 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Wed, 8 Mar 2006 10:29:33 -0800 Subject: The End of Dreamcard? -- but life after death? In-Reply-To: <9b408d8e0603070647m3a5ffba9t199d93221e91d9df@mail.gmail.com> References: <20060304180004.61437825BC8@mail.runrev.com> <3F15F503-FD60-41C4-B6EF-452F42623AF8@siphonophore.com> <9b408d8e0603070647m3a5ffba9t199d93221e91d9df@mail.gmail.com> Message-ID: <70ed6b130603081029v73fc4d42j9cd6086c43589dd2@mail.gmail.com> Mikey.... You clearly were absent from class the day they distributed the well-known Kool-Aid of the Priesthood of Programming! I'm surprised they let you graduate. :-) Dan On 3/7/06, Mikey wrote: > > > I am still constantly amazed that HC refugees are still cropping up on > this > > list. I think the lesson here (and this list) is that there are an > > incredible amount of extremely clever people out there with a > mind-boggling > > array of NEW ideas they'd like to turn into software, but programming is > not > > their idea of fun. HC went a long way in taking the 'pro' out of > programming > > but for many it still is hard work. > > Yeah, well, I have been a programmer for 30 years (took my first > college-level class when I was in grade school), and have a BA in CS. > Yet HT and by extension XT are by far my favorite languages. > Something is clearly wrong with me. > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From klaus at major-k.de Wed Mar 8 13:29:52 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 8 Mar 2006 19:29:52 +0100 Subject: OT: what makes a bundle a bundle on OS X? In-Reply-To: <41D371E8-FE3D-47F1-8A4A-2DF68F532059@mac.com> References: <2C660824-8E0D-4719-B2BD-BFE9E897FAE9@major-k.de> <41D371E8-FE3D-47F1-8A4A-2DF68F532059@mac.com> Message-ID: <024271DF-AD1B-44A0-9AD5-B98BA9718561@major-k.de> Boa tarde Andre, > Klaus, > > from a quick look. Bundles have the "BDNL" file type. Revdb.bundle > has a "APPL" file type. > revxml has a pkgInfo file with it's bundle file type and no > creator. revdb.bundle has a info.plist file listing APPL as the > bundle type... and so on. > They are both bundles, but of a different nature. > > If you're looking into creating bundles, oh no, no chance, I was just curious! > try creating a folder with with a 'Contents' subfolder, inside that > folder try putting a pkgInfo text file with "BDNL????", it might > work... There are technical docs at the ADC site about bundles > "About Bundles" CoreFoundation/Conceptual/CFBundles/Concepts/about.html> > > In this ADC docs, you'll learn all about modern bundle structures > and where to put each file. Thank you very much for this explanation, my spanish friend :-D > A bundle is not just a pretty folder? Just like an application package... > Cheers > andre Best from gerfew ehmm... germany :-) Klaus Major klaus at major-k.de http://www.major-k.de From garrett at paraboliclogic.com Wed Mar 8 13:32:28 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Wed, 08 Mar 2006 10:32:28 -0800 Subject: answer file with filter problem In-Reply-To: <1B58E10A-D965-441F-A5DC-CA5FA69F2E64@major-k.de> References: <440E22C9.9040809@paraboliclogic.com> <1B58E10A-D965-441F-A5DC-CA5FA69F2E64@major-k.de> Message-ID: <440F233C.8010003@paraboliclogic.com> Klaus Major wrote: [snip] > your script(s) above will work wonderfully on a windows pc :-) > > But since you are using a mac (I guessed from your mail header, please > do always > mention the platform you are using) you need another syntax -> > "answer... WITH TYPE ..." Thank you Klaus. I was getting all confused in the docs on this. -Garrett From revolutionary.dan at gmail.com Wed Mar 8 13:34:08 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Wed, 8 Mar 2006 10:34:08 -0800 Subject: OT: forum etiquette In-Reply-To: References: Message-ID: <70ed6b130603081034n28debaael86bf2f827a23f961@mail.gmail.com> I can only say "Amen!" -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From cmsheffield at gmail.com Wed Mar 8 13:34:52 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Wed, 8 Mar 2006 11:34:52 -0700 Subject: Latest Version of RunRev for Mac OS 9??? In-Reply-To: References: Message-ID: <94DD4B99-DFAF-4A3A-BE09-F795B16FCAD9@gmail.com> Dave, You can grab version 2.6.1 from here: Hopefully that'll get you by. It is kind of strange they removed the download link for the current OS 9 version... Chris On Mar 8, 2006, at 11:10 AM, David Burgun wrote: > Hi, > > So was the 2.6.6 version promised, however we are still waiting for > it. > > > I agree it is important to the educational market (as well as other > markets) which is why it blows my mind that there is no download > available for it. > > I have no intention of porting my MacOS 9 only stacks to 2.7, it's > just not worth it, but I would like to be able to download a > version of RunRev that works on MacOS 9 NOW, regardless of the > version number! > > I really can't see the point of removing a working version of > RunRev for MacOS 9 from the website and replacing it with nothing! > Surely it would be better to leave the existing version available > and then if and when 2.7 comes along replace it then? > > In the meantime, here I am twiddling my thumbs waiting for someone > from RunRev to contact me and send the latest version (which I have > a license for). > > All the Best > Dave > > On 8 Mar 2006, at 17:46, Stephen Barncard wrote: > >> The OS9 version was promised, and I have no doubt they will >> deliver it. It's too important to the educational market. I heard >> the difficulty is that they have to use a new compiler for OS9. I >> think they don't want a non- version 2.7 out there. >> >> >>> Hi, >>> >>> I doubt there will be a version 2.7 for MacOS 9 either, the same >>> was said about version 2.6.6 and that version didn't materialize. >>> Don't understand why version 2.6.1 isn't on their web site tho? >>> >>> All the Best >>> Dave >>> >>> On 7 Mar 2006, at 20:09, Robert Brenstein wrote: >>> >>>>> Hi Dave... It's Rev 2.6.1 and you have to ask Heather >>>>> directly. It's >>>>> doubtful that 2.7 or later will get to OS 9... Jim >>>>> >>>> >>>> I hope you are wrong, Jim. And the RR web site states that OS9 >>>> version is coming, whatever that means. >>>> _______________________________________________ >> >> -- >> stephen barncard >> s a n f r a n c i s c o >> - - - - - - - - - - - - >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From revolutionary.dan at gmail.com Wed Mar 8 13:37:06 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Wed, 8 Mar 2006 10:37:06 -0800 Subject: runrev for CRM In-Reply-To: References: Message-ID: <70ed6b130603081037g18d7a81an90aada84a2c208eb@mail.gmail.com> Thom.... Not sure exactly what you mean here, so it might help to clarify. CRM = CUSTOMER (not Contact) relations (not relational) management system used in business to track interactions with customers, sales, etc. But you COULD mean a Contact Manager, aka sophisticated address book. If you clarify that, someone may be able to provide an answer. On 3/6/06, Thom Wright wrote: > > sorry to bother, but would anyone point me in the direction of > information or someone who has created a CRM, contact relational managment > application with runrev. I'd appreicate any info. > > thanks, > > > Thom Wright > School Counselor > Jefferson Middle School > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From revolutionary.dan at gmail.com Wed Mar 8 13:43:21 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Wed, 8 Mar 2006 10:43:21 -0800 Subject: 2.7 bugs In-Reply-To: <403AED7B-CF0E-4CB5-89F4-54D56064CA12@dsl.pipex.com> References: <001901c63ab6$0696e8d0$1500a8c0@ACERLaptop> <403AED7B-CF0E-4CB5-89F4-54D56064CA12@dsl.pipex.com> Message-ID: <70ed6b130603081043t5c13d72ao67d884d9acf37bce@mail.gmail.com> David..... Your remark is a *little* off the mark, I think and I'd hate to see it left lying around without comment for newbies and investigators to stumble over. First, as far as I can tell from reading this list and other conversations, the problems with 2.7 are almost exclusively with the Windows version of the IDE. OS X works pretty nearly flawlessly (allowing for the fact that all software has bugs) and apps built in it for delivery on Windows also work fine. Second, the problems with 2.7 are apparently confined to some specific areas of functionality, so that there have been many reports of folks using 2.7 on Windows without serious problems as well. So a fairer statement might be, "Enough people, including me, have found enough bugs in 2.7 for Windows that we've stopped using it and reverted to 2.6.1 until a more stable release is issued." :-) On 3/8/06, David Burgun wrote: > > Hi, > > If I were you I'd see if you can get ahold of a 2.6.6 version of > RunRev. 2.7 is so buggy that I have stopped using it until a new > version is released. > > All the Best > Dave > > On 26 Feb 2006, at 09:21, Andy wrote: > > > Anyone else here bought 2.7 and can't get it to register? Mine just > > takes > > the key, runs then on next launching says "you've got 28 days left". > > > > I've emailed support, but as I'm completely new to Rev, I thought > > I'd ask in > > case I was missing something obvious. > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From wow at together.net Wed Mar 8 13:43:25 2006 From: wow at together.net (Richard Miller) Date: Wed, 8 Mar 2006 13:43:25 -0500 Subject: Help with Video Capture In-Reply-To: References: Message-ID: <338358D3-3E49-4954-A1D9-DD4781DAD3D4@together.net> Jack, To run Firewire video under XP, you need to set the videoMethod parameter in the RevInitializeVideoGrabber function to "DirectX". I don't believe that is listed in the documentation, but it is the correct setting. Make sure you have DirectX installed. So the first call needs to be something like: revInitializeVideoGrabber the short name of this stack, "DirectX",the rect of this stack Hope that helps. Richard Miller Imprinter Technologies On Feb 28, 2006, at 9:59 AM, Braintree Athletics wrote: > I'm running Windows XP, the trial of Rev 2.7, Quicktime 7.0.3, an > attached Canon camera with Firewire and CANNOT get any video to > preview or record. In fact, when switching the radio buttons to > Quicktime and choosing video settings Rev crashes. (Canon works > with MovieMaker on this computer.) > > This is a deal-breaker in terms of whether or not I move from an > older version of Metacard to Rev. Metacard can't do this and was > excited to find that Rev was supposed to. Any help, suggestions or > information will be very much appreciated. > > Thanks to all in advance, > > Jack Rarick > Braintree Athletic Systems > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revolutionary.dan at gmail.com Wed Mar 8 13:45:37 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Wed, 8 Mar 2006 10:45:37 -0800 Subject: Best source for examples In-Reply-To: <00dc01c63bbd$bb2fd650$1500a8c0@ACERLaptop> References: <00dc01c63bbd$bb2fd650$1500a8c0@ACERLaptop> Message-ID: <70ed6b130603081045k19d69846w88aa36356372399@mail.gmail.com> Andy.... Welcome to the Revolution! At the risk of being accused of shameless self-promotion (OK, it *is* shameless self-promotion), you might benefit by reading my book, "REvolution: Software at the Speed of Thought," available through Shafer Media Store at http://www.shafermediastore.com/tech_main.html in both PDF and printed form. The other suggestions folks have made here are valuable as well. On 2/27/06, Andy wrote: > > Can anyone point me to some resources, examples etc for Rev? I'm new to it > (i.e. last Friday), and being a PHP programmer, I'm still trying to get my > head around the concepts! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From 3mcgrath at adelphia.net Wed Mar 8 13:45:58 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 8 Mar 2006 13:45:58 -0500 Subject: Newbie adventure game question In-Reply-To: <4A6F7842-0025-4455-A2EA-BD658A7D1843@freshcutonline.com> References: <4A6F7842-0025-4455-A2EA-BD658A7D1843@freshcutonline.com> Message-ID: The short answer: Pipmak uses a 3D type of engine and Revolution is a 2D linear program. The long answer: Pipmak does not support heavy interaction from the user (just click and turn) and Revolution provides all kinds of interaction. Revolution is what you would use to build an application with full user interaction and cross platform usage. Now you have a couple of choices in getting 3D into Rev a 2D app. 1. Hire someone to write an external for Pipmak 3D for use within Rev. (expensive, time consuming) 2. Use existing 3D capable programs that already interact with Rev. Quicktime, Quicktime VR altBrowser (web based 3D should work since AJAX, and Flash) might work with other plugins? 3. Use existing 2D capabilities in Rev and fake it. Page based movement (old Myst style) don't stick to just four directions, why not do eight directions for more movement Quicktime (image and movies) Flat Panorama Images use Rev to scroll left right up and down within the image What Rev gives you in control in my opinion makes up for what it lacks in 3D, however I know a lot of people would love 3D capabilities in Revolution and would certainly pay for that ability. HTHs Tom On Mar 8, 2006, at 8:36 AM, Liam Shannon wrote: > But, I am still jonesing for the ability to create a 360 degree > panoramic experience (like the later Myst games) and yet the folks > at Revolution have informed me that Revolution can only create the > kind of experience presented in the original Myst - ie. face > forward, want to look left then click left and dissolve to another > straight on image of what is on the left. To get beyond this they > suggest Quicktime VR but I must admit I find Quicktime VR to be > very jumpy, limited, and somewhat unreal feeling and I would much > prefer the kind of feeling one gets in the Pipmak demo (http:// > pipmak.sourceforge.net/downloads.php). > > So here (at long last) is the question. Why can't one achieve the > same effect as Pipmak in Revolution? Thomas J McGrath III 3mcgrath at adelphia.net 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 From kray at sonsothunder.com Wed Mar 8 13:46:41 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 08 Mar 2006 12:46:41 -0600 Subject: Revolution vs Visual Basic In-Reply-To: <440F223F.50600@paraboliclogic.com> Message-ID: On 3/8/06 12:28 PM, "Garrett Hylltun" wrote: > put fontNames() into varTempPreProcess > put the number of lines of varTempPreProcess into varTemp > put 1 into varCounter > repeat varTemp times > put line varCounter of varTempPreProcess into varTempFont > if the fontLanguage of varTempFont is "ANSI" then > put varTempFont & return after varFontMenuBuild > end if > put varCounter + 1 into varCounter > end repeat > sort lines of varFontMenuBuild This could be shortened thusly: put "" into varFontMenuBuild repeat for each line varTempFont in fontNames() if the fontLanguage of varTempFont = "ANSI" then put varTempFont & \ CR after varFontMenuBuild end repeat delete char -1 of varFontMenuBuild -- remove trailing CR sort lines of varFontMenuBuild Just curious... any particular reason you need just the ANSI font names if the list of fonts returned by fontNames() is what's installed in the computer? If not, then it's even easier: put fontNames() into varFontMenuBuild sort lines of varFontMenuBuild Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From klaus at major-k.de Wed Mar 8 13:55:57 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 8 Mar 2006 19:55:57 +0100 Subject: Help with Video Capture In-Reply-To: <338358D3-3E49-4954-A1D9-DD4781DAD3D4@together.net> References: <338358D3-3E49-4954-A1D9-DD4781DAD3D4@together.net> Message-ID: Hi Richard, > Jack, > > To run Firewire video under XP, you need to set the videoMethod > parameter in the RevInitializeVideoGrabber function to "DirectX". > I don't believe that is listed in the documentation, but it is the > correct setting. Make sure you have DirectX installed. "videoMethiod" IS listed in the docs, but reads: The videoMethod is either "QT" or "VFW". > So the first call needs to be something like: > > revInitializeVideoGrabber the short name of this stack, > "DirectX",the rect of this stack Thanks for this little gem, will go directly into my archieves! Don't we just love undocumented features? ;-) > Hope that helps. > Richard Miller > Imprinter Technologies Regards Klaus Major klaus at major-k.de http://www.major-k.de From revolutionary.dan at gmail.com Wed Mar 8 13:56:47 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Wed, 8 Mar 2006 10:56:47 -0800 Subject: Revolution vs Visual Basic In-Reply-To: References: Message-ID: <70ed6b130603081056o103b9456n598ca0f40b197642@mail.gmail.com> Haltham..... (Keep in mind as you read this that although I'm a language junkie and I've done a bit of work in VB, though not recently, I'm really a Mac guy so some other Windows developers here may very well declare me to be all wet. I would bow to their judgement.) Revolution's largest claim to fame is clearly that it allows the creation of cross-platform standlone applications from a single development platform. If that's an important factor for you, then obviously VB variants aren't going to be the answer because you cannot create OS X or Linux/Unix apps from it. If, however, you are purely a Windows developer and if you're already steeped in VB syntax, methodologies and architecture, then my guess is you'll find yourself well-served in the long run by staying with VB. A lot of what you are looking for in Rev isn't built in but as others have shown in their answers here, creating the functionality in Rev is close to trivial. But the programming paradigm in Revolution with its Transcript xTalk language is so substantially different from the approaches taken by VB that twisting your head around it may prove challenging. That challenge is definitely worthwhile if you plan to create cross-platform software but if you don't, I'm not sure it's worth it. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From stephenREVOLUTION at barncard.com Wed Mar 8 14:19:09 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 8 Mar 2006 11:19:09 -0800 Subject: Revolution vs Visual Basic In-Reply-To: <70ed6b130603081056o103b9456n598ca0f40b197642@mail.gmail.com> References: <70ed6b130603081056o103b9456n598ca0f40b197642@mail.gmail.com> Message-ID: On the other hand, many of us here have toiled with other languages for years, but found Transcript the most natural of all - you can literally 'think' the routines and write them. At 10:56 -0800 3/8/06, Dan Shafer wrote: >Haltham..... >that twisting your head around it may prove challenging. That challenge is >definitely worthwhile if you plan to create cross-platform software but if >you don't, I'm not sure it's worth it. > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From soapdog at mac.com Wed Mar 8 14:20:01 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 8 Mar 2006 16:20:01 -0300 Subject: Revolution vs Visual Basic In-Reply-To: <70ed6b130603081056o103b9456n598ca0f40b197642@mail.gmail.com> References: <70ed6b130603081056o103b9456n598ca0f40b197642@mail.gmail.com> Message-ID: <418378AD-658A-429E-BAE6-47A9709B53A1@mac.com> Haltham, another nice features of Rev that I don't find in the standard computer languages out there are: * Avoid the write-compile-debug cycle. Your stack is always ready, your code too. Just change the tool and interact with it. If it explodes, change the tool and fix it. This might appear silly at first glance but this is one huge time saver. Using tradicional languages you might end up building tons of buggy standalones as you debug your app. With Rev things are just more productive. For example, Rob had this huge 90mb stack that took some minutes to build. If he had to build it everytime he wanted to test something, he'd end up loosing time... * Its easy to create custom tools to help you code. As you get more used to us and this list, you'll see that many developers end up building their own palletes and environment to suit their tastes. It's not like ActiveX and VCL controls of windows. It's like simple tools built with Rev to help you work the way you want to work. Scott Rossi for example built some very nice alignment, gradient and color tools to suit his taste. I have my own set of network tools. I never saw VB developers building such tools as easy as we do here. * Revolution is fun and powerfull. Revolution has some 'new' concepts that tradicional coders might need to learn such as how stack works, the message path, all about custom properties and other features. But those features enable you to create very powerfull tools very fast. The stacks being able to load and use other stacks across networks make it very easy to share code and to work in groups, it also enable you to create auto-update tools very easily. The message path that allows you to dispatch and listen to messages making your code flow in ways that C/C++ coders can't do and Custom Properties, your cool way to store all kinds of things. I've seen pdfs, fonts, all packed inside little props of buttons ready to being unpacked as needed or copied to other stacks, it's not like other languages containers. Custom Props are a way to tune an object to your tastes and allied to the message path system allows you to build beautiful softwares that are really easy to understand and mantain (which is always productive wise). * Oh, did we talked about cross platform yet? :-) Cheers and welcome Andre On Mar 8, 2006, at 3:56 PM, Dan Shafer wrote: > Haltham..... > > (Keep in mind as you read this that although I'm a language junkie > and I've > done a bit of work in VB, though not recently, I'm really a Mac guy > so some > other Windows developers here may very well declare me to be all > wet. I > would bow to their judgement.) > > Revolution's largest claim to fame is clearly that it allows the > creation of > cross-platform standlone applications from a single development > platform. If > that's an important factor for you, then obviously VB variants > aren't going > to be the answer because you cannot create OS X or Linux/Unix apps > from it. > If, however, you are purely a Windows developer and if you're already > steeped in VB syntax, methodologies and architecture, then my guess is > you'll find yourself well-served in the long run by staying with VB. > > A lot of what you are looking for in Rev isn't built in but as > others have > shown in their answers here, creating the functionality in Rev is > close to > trivial. But the programming paradigm in Revolution with its > Transcript > xTalk language is so substantially different from the approaches > taken by VB > that twisting your head around it may prove challenging. That > challenge is > definitely worthwhile if you plan to create cross-platform software > but if > you don't, I'm not sure it's worth it. > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Information Product Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.shafermediastore.com/tech_main.html > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From gregory.lypny at videotron.ca Wed Mar 8 14:24:48 2006 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 08 Mar 2006 14:24:48 -0500 Subject: Dictionary in OS X Message-ID: <64061E1E-54E6-41D8-8EFC-CF63118898AE@videotron.ca> Hello everyone, I had read somewhere that it is possible to access some built-in Mac applications, such as Dictionary, directly from the command line. Now I was wondering whether it would also be possible to access those applications through Revolution. I'm doing research that involves indexing all the words in big text files. Of course, using the xTalk definition of a word as any quoted string or string separated by one or more spaces leaves me with many words that are not words we use in the sense of dictionary words, things like acronyms, and others that aren't relevant to me because they are proper nouns, such as company or product names. So I was hoping to write a script that might check whether each of the words in my index exists in the dictionary. Any thoughts would be most appreciated. Gregory From twright at jamestown.wnyric.org Wed Mar 8 14:28:21 2006 From: twright at jamestown.wnyric.org (Thom Wright) Date: Wed, 08 Mar 2006 14:28:21 -0500 Subject: runrev for CRM In-Reply-To: <70ed6b130603081037g18d7a81an90aada84a2c208eb@mail.gmail.com> References: <70ed6b130603081037g18d7a81an90aada84a2c208eb@mail.gmail.com> Message-ID: Sorry for the confusion, looking for a customer relationship management program kind of like ACT goldmine, now up to date, daylite, etc. but it doesn't need to manage sales and billable accounts. want something to manage specifics, appt dates, link to word files, give a history of activities. be customizeable. would something like that be doable. thanks for your time, Thom Wright School Counselor Jefferson Middle School From garrett at paraboliclogic.com Wed Mar 8 14:35:13 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Wed, 08 Mar 2006 11:35:13 -0800 Subject: Revolution vs Visual Basic In-Reply-To: References: Message-ID: <440F31F1.5070109@paraboliclogic.com> Ken Ray wrote: [snip] > Just curious... any particular reason you need just the ANSI font names if > the list of fonts returned by fontNames() is what's installed in the > computer? > > If not, then it's even easier: > > put fontNames() into varFontMenuBuild > sort lines of varFontMenuBuild I would end up with font names that I believe are in unicode characters and did not display well in Rev. And I do not know how to resolve that at this time :-( Example: Geneva CE Monaco CE Times CE Helvetica CE Courier CE ?q???M?m?p?S Pro W6 ?q???M?m?p?S Pro W3 ?q???M?m???S Pro W4 ?q???M?m???? Pro W6 ?q???M?m???? Pro W3 ???????? ?q???M?m?p?S Std W8 Geeza Pro Bold Lucida Grande CE Lines 6 through 12 show as characters above the 159 character range and are not readable on my English setup here. I assume that the fonts on those lines are unicode. -Garrett From Karen at curlypaws.com Wed Mar 8 14:37:22 2006 From: Karen at curlypaws.com (Karen) Date: Wed, 8 Mar 2006 19:37:22 +0000 Subject: [ANN] Stock Portfolio 2 - built with Revolution Message-ID: Curlypaws Software is pleased to announce version 2 of Stock Portfolio, which brings a number of improvements: * More robust storage mechanism (the program now uses a database to store your stock list and portfolio details) * Improved appearance (the program now has a new graphical appearance) * Better usability (the graph and summary information are now easily to hand, rather than in a separate window) * Better graphing (there is now a choice between a logarithmic graph as well as the previous linear one) * More information (there is a percentage change shown on the portfolio window) * Better reports (the reports are now more attractive and show more information) * Allows entry of both UK and US versions of a stock (e.g. VOD and VOD.L) You can import your data from version 1 of Stock Portfolio using the File/Import menu option. You should import both your stock list (using the Import option on that window) and your portfolio list (using the import option on that window). The import option will avoid setting up duplicates. The program can be downloaded at: http://www.curlypaws.com/stockportfolio/StockPortfolio2.dmg The Stock Portfolio 2 program is copyright of Curlypaws Ltd. 2006. Portions (c)2000-2006 Runtime Revolution Limited, All Rights Reserved Worldwide. Stock Portfolio 2 was built using the following tools: Runtime Revolution http://www.runrev.com/ altSQLite3 http://www.altuit.com/webs/altuit2/altSQLiteCover/ InterfaceDesigner http://www.altuit.com/ Constellation http://daniels-mara.com/products/constellation.htm Quartam Reports http://www.quartam.com/ Icon People http://www.iconpeople.com/ Thanks are due to the Revolution Mailing List contributors, without whom none of this would be possible. From mikeythek at gmail.com Wed Mar 8 14:49:46 2006 From: mikeythek at gmail.com (Mikey) Date: Wed, 8 Mar 2006 14:49:46 -0500 Subject: Revolution vs Visual Basic In-Reply-To: <70ed6b130603081056o103b9456n598ca0f40b197642@mail.gmail.com> References: <70ed6b130603081056o103b9456n598ca0f40b197642@mail.gmail.com> Message-ID: <9b408d8e0603081149g43ce5dc6ge9f8a897694e37ed@mail.gmail.com> > A lot of what you are looking for in Rev isn't built in but as others have > shown in their answers here, creating the functionality in Rev is close to > trivial. But the programming paradigm in Revolution with its Transcript > xTalk language is so substantially different from the approaches taken by VB > that twisting your head around it may prove challenging. That challenge is > definitely worthwhile if you plan to create cross-platform software but if > you don't, I'm not sure it's worth it. I would tend to agree with and disagree with this statement at the same time. On the one hand, one of the things that is really great about all of the HC derrivatives is that you have access to, and can change, almost anything you want at any time. It makes customizing the environment or adding onto it easy, and dare I say, fun. I would disagree with the statement aht the language is so different that wrapping your head around it can be challenging, and might not be worth it. The advantage that Transcript and all xTalk languages have is that the paradigm is really trivial BECAUSE it is so different than most modern languages - it is, IMHO, more natural, and therefore easier to learn. The language itself is conversational, so the syntax is very similar to English grammar, the vocabulary is nearly obvious set the color of me to blue get the rect of me put item 3 of theList into address Revolution's grandfather, HyperCard made the task of building prototypes a trivial enterprise. Revolution is also easy to use to build prototypes. The overhead that is usually associated with building a project is for the most part abssent. You don't have to cast and instantiate anything. Types are context-implied (see my previous example). In short it is REALLY easy to build something quickly. Transcript's ability to parse strings (and make the code required to parse strings) means that one of the most onerous tasks in computing is very easy to achieve with minimal effort. In development studies, the two most common problems that programmers face are parsing and communication (either between projects, devices, or programs). All of these functions are straghtforward and simple. I would rate Revolution's learning curve (to the point where you can be productive) as low-medium. Once you understand things like "inheritence path" and the basic grammar you should be able to pick up RR in no time. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From JimAultWins at yahoo.com Wed Mar 8 14:50:34 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 08 Mar 2006 11:50:34 -0800 Subject: Best source for examples In-Reply-To: <009b01c642cb$e4c94db0$0200a8c0@ACERLaptop> Message-ID: On 3/8/06 8:18 AM, "Andy Calloway" wrote: > Thanks for all the info, I've been going through the help files over the > past few days, but I think I need to put a few hours to one side to really > get to grips with it. Andy, Two components I would recommend that you use to view example stacks... Application Browser... in the Tools menu Find & Replace... in the Edit menu Application Browser It will show you all the components and right click should lead you to many discoveries of the structure and scripting used by experts and teachers alike. Pay particular attention to groups (confusing at first but worth it). Whenever I want to discover 'how they did that', I use this tool. Also, use Find and Replace in the Edit menu Note the drop down menu choices and the check boxes that let you search globals and 'custom' [properties] Doing several kinds of Find operations will show you many examples of Revolution terminology. Note the fly-over text that explains more about the check box. Hint: double clicking the found item in the list will open the script container for you. If you are a puzzle solver.. Rev is an amazing sandbox!! Jim Ault Las Vegas From liamlambert at mac.com Wed Mar 8 14:51:08 2006 From: liamlambert at mac.com (liamlambert) Date: Wed, 8 Mar 2006 19:51:08 +0000 Subject: filter list Message-ID: <402BB73F-DF73-4016-A647-488C3DAA400E@mac.com> I find my self answering my own question here I thought I would remove what I did not need and replace with a tab so I could use it in a dataBase this works but how do I put a return after the last entry on mouseUp FilterText end mouseUp on FilterText put the htmlText of field "Text" into myHTML replace "

" with empty in myHTML replace "

" with empty in myHTML replace "Name:" with tab in myHtml replace "Roll Number:" with tab in myHtml replace "Address:" with tab in myHtml replace "Principal/Director:" with tab in myHtml replace "Phone:" with tab in myHtml replace "Fax:" with tab in myHtml replace "Email:" with tab in myHtml replace "Website:" with tab in myHtml replace "Female Enrolment:" with tab in myHtml replace "Male Enrolment:" with tab in myHtml replace "Type:" with tab in myHtml set the htmlText of field "Text" to myHTML end FilterText Liam Lambert liamlambert at mac.com IRELAND From JimAultWins at yahoo.com Wed Mar 8 14:54:44 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 08 Mar 2006 11:54:44 -0800 Subject: filter list In-Reply-To: <402BB73F-DF73-4016-A647-488C3DAA400E@mac.com> Message-ID: set the htmlText of field "Text" to myHTML & cr On 3/8/06 11:51 AM, "liamlambert" wrote: > I find my self answering my own question here > I thought I would remove what I did not need and replace with a tab > so I could > use it in a dataBase this works but how do I put a return after the > last entry > > on mouseUp > FilterText > end mouseUp > > on FilterText > put the htmlText of field "Text" into myHTML > replace "

" with empty in myHTML > replace "

" with empty in myHTML > replace "Name:" with tab in myHtml > replace "Roll Number:" with tab in myHtml > replace "Address:" with tab in myHtml > replace "Principal/Director:" with tab in myHtml > replace "Phone:" with tab in myHtml > replace "Fax:" with tab in myHtml > replace "Email:" with tab in myHtml > replace "Website:" with tab in myHtml > replace "Female Enrolment:" with tab in myHtml > replace "Male Enrolment:" with tab in myHtml > replace "Type:" with tab in myHtml > set the htmlText of field "Text" to myHTML > end FilterText > > Liam Lambert > liamlambert at mac.com > IRELAND > > From bobwarren at howsoft.com Wed Mar 8 14:59:07 2006 From: bobwarren at howsoft.com (Bob Warren) Date: Wed, 08 Mar 2006 16:59:07 -0300 Subject: File/Picture Chooser Widgets for Ubuntu Linux and Windows XP/2000 - SOURCE STACKS AVAILABLE Message-ID: <440F378B.1010608@howsoft.com> Dear All, As promised, I have made available the Windows XP/2000 and Ubuntu Linux source stacks for my File/Picture Chooser Widgets (#1). They can be downloaded from http://www.howsoft.com/runrev/stacks.htm Since I do not have enough machines for the development and testing of these widgets in other flavours of Linux and Macintosh, I am offering these stacks so that you can adapt them yourself, if you so wish. At the webpage above, you will read this, among other tips: "Conversion to other flavours of Linux should be simple, and can be done directly from the Linux stacks provided. Conversion to Macintosh might not be quite so straightforward, since named multiple drives are possible. For this reason, the Windows stacks have also been provided. Together with the Linux stacks, and some slight changes in layout, the development of widgets for Mac would be a combined solution." Of course, these widgets are potentially useful in other respects since they contain HD treeviews that can be isolated and re-employed. Best regards, Bob Warren From liamlambert at mac.com Wed Mar 8 15:26:17 2006 From: liamlambert at mac.com (liamlambert) Date: Wed, 8 Mar 2006 20:26:17 +0000 Subject: filter list Message-ID: <9911FC1B-EF52-428A-8A1C-38BA912140E7@mac.com> That puts one cr after all the entries there are many entries I have a large amount of plane text files that are laid out like this Below If the list below is one entry there are 100's of entries Name: Roll Number: Address: Principal/Director: Phone: Fax: Email: Website: Female Enrolment: Male Enrolment: Type: Primary Liam Lambert liamlambert at mac.com IRELAND From simplsol at aol.com Wed Mar 8 15:27:36 2006 From: simplsol at aol.com (simplsol at aol.com) Date: Wed, 08 Mar 2006 15:27:36 -0500 Subject: 2.7 bugs In-Reply-To: <70ed6b130603081043t5c13d72ao67d884d9acf37bce@mail.gmail.com> References: <001901c63ab6$0696e8d0$1500a8c0@ACERLaptop> <403AED7B-CF0E-4CB5-89F4-54D56064CA12@dsl.pipex.com> <70ed6b130603081043t5c13d72ao67d884d9acf37bce@mail.gmail.com> Message-ID: <8C81105DF835ADF-B54-184AF@FWM-M31.sysops.aol.com> Dan, I use OS X and agree with David. New users should start with 2.6.x and wait while 2.7 matures. Version 2.6.1 was the best all-around release of Rev in the last three years. "In my experience" 2.7 was one of the worst. The missing documentation chapters, crashes when accessing the Table panel on the Inspector, etc. etc. affect all platforms. The automatic changing of creator codes and file types affect OS X users (especially the changing of creator codes which are not an issue on Windows or UNIX). Changing the appearance of previously created stacks from OS X to OS 9 may or may not be exclusively an OS X problem. 2.7 promises to be very good when it is ready. I don't believe it is ready yet. Paul Looney PS Remember the last meeting in Monterey when we asked for two updates that did nothing but fix bugs? That seems, in hindsight, to have been a very good suggestion. 2.6.8 could have been awesome! -----Original Message----- From: Dan Shafer To: How to use Revolution Sent: Wed, 8 Mar 2006 10:43:21 -0800 Subject: Re: 2.7 bugs David..... Your remark is a *little* off the mark, I think and I'd hate to see it left lying around without comment for newbies and investigators to stumble over. First, as far as I can tell from reading this list and other conversations, the problems with 2.7 are almost exclusively with the Windows version of the IDE. OS X works pretty nearly flawlessly (allowing for the fact that all software has bugs) and apps built in it for delivery on Windows also work fine. Second, the problems with 2.7 are apparently confined to some specific areas of functionality, so that there have been many reports of folks using 2.7 on Windows without serious problems as well. So a fairer statement might be, "Enough people, including me, have found enough bugs in 2.7 for Windows that we've stopped using it and reverted to 2.6.1 until a more stable release is issued." :-) On 3/8/06, David Burgun wrote: > > Hi, > > If I were you I'd see if you can get ahold of a 2.6.6 version of > RunRev. 2.7 is so buggy that I have stopped using it until a new > version is released. > > All the Best > Dave > > On 26 Feb 2006, at 09:21, Andy wrote: > > > Anyone else here bought 2.7 and can't get it to register? Mine just > > takes > > the key, runs then on next launching says "you've got 28 days left". > > > > I've emailed support, but as I'm completely new to Rev, I thought > > I'd ask in > > case I was missing something obvious. > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Wed Mar 8 15:33:01 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 08 Mar 2006 12:33:01 -0800 Subject: filter list In-Reply-To: <9911FC1B-EF52-428A-8A1C-38BA912140E7@mac.com> Message-ID: I guess I don't understand your explanation well enough. You could do replace "Name:" with cr in myHtml putting every name field on a new line and the rest in tab columns.. This should work for multiple occurrences in one doc. Just not sure what you need. Jim Ault On 3/8/06 12:26 PM, "liamlambert" wrote: > That puts one cr after all the entries there are many entries > I have a large amount of plane text files that are laid out like this > Below If the list below is one entry there are 100's of entries > > > Name: > > Roll Number: > > Address: > > Principal/Director: > > Phone: > > Fax: > > Email: > > Website: > > Female Enrolment: > > Male Enrolment: > > Type: Primary > > Liam Lambert > liamlambert at mac.com > IRELAND > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From effendi at wanadoo.fr Wed Mar 8 16:56:00 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Wed, 8 Mar 2006 22:56:00 +0100 Subject: No OpenStack ..... ! Now Ending ! Message-ID: Hi Rob, Thanks for the clarifications. I will zip my files now before transferring, although I would love to know WHY this solves problems. One more small point. When I drop my files onto (would you believe it ?) a Lexar JumpDrive, and move to the PC, I find that I have twice the files I thought. I get the same number of Alias ? files, equivalent to the files I copied. How do I remove this problem ? Bets from Paris -Francis "Nothing should ever be done for the first time !" From devin_asay at byu.edu Wed Mar 8 16:56:41 2006 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 8 Mar 2006 14:56:41 -0700 Subject: importing list In-Reply-To: <3A40A518-4B0F-41E6-B11B-B9402097AD2A@mac.com> References: <3A40A518-4B0F-41E6-B11B-B9402097AD2A@mac.com> Message-ID: <1BD80CD9-8ABA-4836-9B6F-3F86671AF6AF@byu.edu> Liam, If I understand correctly, your files contain lists like the one in your message, which repeat over and over in a single file. So one file might have many "records". This is how I'd approach it: Create a stack with just one card, a "template" with all the proper fields. repeat put url ("file:/Path/To/Your/File.txt") into rawData put lineOffset("Name:",rawData) into recStart if recStart = 0 then exit repeat put lineOffset("Type:",rawData) into recEnd put line recStart to recEnd of rawData into tCurrRecord delete line recStart to recEnd of rawData replace cr&cr with cr in tCurrRecord -- get rid of empty lines copy card "template" to this stack --create a new card for the data go last card set the itemDelimiter to ":" repeat for each line tLine in tCurrRecord put item 2 of tLine into fld (item 1 of tLine) end repeat end repeat This is untested but should be mostly right. Devin On Mar 8, 2006, at 11:14 AM, liamlambert wrote: > I have a large amount of plane text files that are laid out like > this Below > > > Name: > > Roll Number: > > Address: > > Principal/Director: > > Phone: > > Fax: > > Email: > > Website: > > Female Enrolment: > > Male Enrolment: > > Type: Primary > > I want to import the info that is after the colon into fields of > the same name as the list above the list repeats name roll number ect > Liam Lambert > liamlambert at mac.com > IRELAND > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Devin Asay Humanities Technology and Research Support Center Brigham Young University From jacque at hyperactivesw.com Wed Mar 8 17:07:50 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Mar 2006 16:07:50 -0600 Subject: My DreamCard doesn't start In-Reply-To: <310e1d856374fcff10a2b8b7544de661@maccosm.info> References: <310e1d856374fcff10a2b8b7544de661@maccosm.info> Message-ID: <440F55B6.3010304@hyperactivesw.com> Takaaki Furukawa wrote: > My DreamCard 2.5 for Mac OS X doesn't start. The dock icon bounces for a > couple of times > when I click it, but it quits without warning. I deleted the Pref file > but no effect. > What should I do? Did you move it from its default location? It sounds like some of the support files aren't available. If you moved it, put it back. If not, try reinstalling. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Wed Mar 8 17:20:11 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 08 Mar 2006 16:20:11 -0600 Subject: Font Dialog Box (was: Revolution vs Visual Basic) In-Reply-To: References: Message-ID: <440F589B.2080702@chipp.com> Haitham (and others): While there is not Font Dialog Box, it took me only 5 minutes to create one. You can too. It's easy. Create a stack called "fontTest", then create a subStack called "answerFont". Stack "answerFont" will be the dialog box. Stack "fontTest" is the stack from which it will be called. Create a button named "Pick a Font" on stack "fontTest" and set the script of it to: on mouseUp --> LOADS 'answerFont' INTO MEMORY start using stack "answerFont" --> CALLS THE answerFont FUNCTION FROM STACK "answerFont" put answerFont() into tFont --> UNLOADS STACK "answerFont" stop using stack "answerFont" --> CHECKS TO SEE IF A FONT WAS RETURNED if tFont is "" then exit to top --> DISPLAY THE FONT RETURNED answer tFont end mouseUp Then on the "answerFont" substack, add a single list field named "theFonts" and a "Cancel" and "OK" button. Script of Cancel Button: on mouseUp set the dialogData to "" close this stack end mouseUp Script of OK button: on mouseUp put the hilitedLines of fld "theFonts" into tLineNum if tLineNum is empty then beep answer information "Please choose a font!" exit mouseUp end if set the dialogData to line tLineNum of fld "theFonts" close this stack end mouseUp Script of the "answerFont" stack: function answerFont modal stack "answerFont" return the dialogData end answerFont on openStack put the fontNames into tFontList sort tFontList put tFontList into fld "theFonts" end openStack That's all there is to it! And that's why it's not necessary to have a Font Dialog Box as it can be created in just a few minutes! :-) This font dialog box is very portable and can be used in any project. All you have to do is copy the subStack "answerFont" to your mainStack and then insert the following code whenever you want your user to choose a font (for instance a choose font button): on mouseUp start using stack "answerFont" put answerFont() into tFont stop using stack "answerFont" --> DO SOMETHING WITH tFont HERE end mouseUp -Chipp Haitham Abdulla wrote: > VB .NET has some great built-in components and I want to ask whether > Revolution has them. Some of those components are: > > a. Font Dialog Box > > b. Color Dialog Box > > c. Save Dialog Box > > d. Print Dialog Box From devin_asay at byu.edu Wed Mar 8 17:26:33 2006 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 8 Mar 2006 15:26:33 -0700 Subject: Revolution vs Visual Basic In-Reply-To: <440F31F1.5070109@paraboliclogic.com> References: <440F31F1.5070109@paraboliclogic.com> Message-ID: On Mar 8, 2006, at 12:35 PM, Garrett Hylltun wrote: > > I would end up with font names that I believe are in unicode > characters and did not display well in Rev. And I do not know how > to resolve that at this time :-( > > Example: > > Geneva CE > Monaco CE > Times CE > Helvetica CE > Courier CE > ?q???M?m?p?S Pro W6 > ?q???M?m?p?S Pro W3 > ?q???M?m???S Pro W4 > ?q???M?m???? Pro W6 > ?q???M?m???? Pro W3 > ???????? > ?q???M?m?p?S Std W8 > Geeza Pro Bold > Lucida Grande CE > > Lines 6 through 12 show as characters above the 159 character range > and are not readable on my English setup here. I assume that the > fonts on those lines are unicode. Try this, Garrett: on mouseUp put empty into fld "fontList" repeat with i = 1 to number of lines in the fontNames put uniencode(line i of the fontNames,"Japanese") & uniencode (cr,"ANSI") after fld "fontList" end repeat set the textFont of line 1 to -1 of fld "fontList" to the textFont of fld "fontList","Japanese" end mouseUp This gets it *mostly* right, I think. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From liamlambert at mac.com Wed Mar 8 17:44:01 2006 From: liamlambert at mac.com (liamlambert) Date: Wed, 8 Mar 2006 22:44:01 +0000 Subject: importing list Message-ID: Devin Thanks This is part of what I Wanted to do The rest was filtering out data which I have working Thank You. Liam Lambert liamlambert at mac.com IRELAND From gandalf at doctorTimothyMiller.com Wed Mar 8 17:53:06 2006 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 8 Mar 2006 14:53:06 -0800 Subject: More on Media -- the backdrop In-Reply-To: <6.2.1.2.2.20060306151259.0b59b440@exchange.slg.com> References: <440C8FA9.6090708@hyperactivesw.com> <6.2.1.2.2.20060306151259.0b59b440@exchange.slg.com> Message-ID: Peter wrote: > >I'm not sure if the Rev Media IDE will have the backdrop on by >default, or if it is just the player that will have the backdrop. Well, if just the player has a mandatory black backdrop, that's no big deal and it might be a good thing, I suppose. I had gotten the impression from other messages that the black backdrop will be mandatory for Media itself, not just the player. Actually, this page seems to indicate the black backdrop will always be turned on in Media: http://www.runrev.com/section/platform.php I hope not, though. I've been trying to use my Dreamcard stacks with the black backdrop turned on all the time for a few days, as a preview. It's not a nightmare to have it turned on. Maybe some users will prefer it. But it's a little inconvenient for me -- just enough to be user hostile if it can't be turned off. I can't see any good reason to make it mandatory. Removal of database access for Dreamcard is incentive enough for many former Dreamcard users to move up to Studio. The backdrop is just inconvenient enough to be user-unfriendly, but not a good reason, by itself, to upgrade to Studio. Worst of both worlds... Tim From devin_asay at byu.edu Wed Mar 8 19:09:37 2006 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 8 Mar 2006 17:09:37 -0700 Subject: Unicode Font List (Was Re: Revolution vs Visual Basic) In-Reply-To: References: <440F31F1.5070109@paraboliclogic.com> Message-ID: I'm in obsessive mode with unicode. Here's the new and improved version: on mouseUp put empty into fld "fontList" put the fontNames into fNames sort lines of fNames by word 1 of each put fnames repeat for each line tLine in fNames if char 1 of tLine is "#" then put uniencode(tLine,"Korean") & uniencode(cr,"ANSI") after fld "fontList" else put uniencode(tLine,"Japanese") & uniencode(cr,"ANSI") after fld "fontList" end if end repeat delete char -2 to -1 of fld "fontList" set the textFont of line 1 to -1 of fld "fontList" to the textFont of fld "fontList","Japanese" set the scroll of fld "fontList" to 0 end mouseUp There still may be some problems, but since I can't read Chinese or Japanese, I have to trust that those font names came out properly. On Mar 8, 2006, at 3:26 PM, Devin Asay wrote: > on mouseUp > put empty into fld "fontList" > repeat with i = 1 to number of lines in the fontNames > put uniencode(line i of the fontNames,"Japanese") & uniencode > (cr,"ANSI") after fld "fontList" > end repeat > set the textFont of line 1 to -1 of fld "fontList" to the > textFont of fld "fontList","Japanese" > end mouseUp > > This gets it *mostly* right, I think. Devin Asay Humanities Technology and Research Support Center Brigham Young University From bacon at parsons.edu Wed Mar 8 19:15:45 2006 From: bacon at parsons.edu (Benjamin Bacon) Date: Wed, 8 Mar 2006 19:15:45 -0500 Subject: Building for Linux in 2.7 In-Reply-To: <440F55B6.3010304@hyperactivesw.com> References: <310e1d856374fcff10a2b8b7544de661@maccosm.info> <440F55B6.3010304@hyperactivesw.com> Message-ID: Hi, I just purchased 2.7 and I was wondering if and when (if anyone knows) it will be able to build for Linux. Thanks! Benjamin From garrett at paraboliclogic.com Wed Mar 8 19:17:04 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Wed, 08 Mar 2006 16:17:04 -0800 Subject: Unicode Font List (Was Re: Revolution vs Visual Basic) In-Reply-To: References: <440F31F1.5070109@paraboliclogic.com> Message-ID: <440F7400.1020704@paraboliclogic.com> But isn't it just easier to filter out the unicode fonts and just list the ANSI fonts like I did in my original post? I'm just not sure of the need to actually list the unicode fonts, unless you're providing support in a program for these languages. -Garrett Devin Asay wrote: > I'm in obsessive mode with unicode. Here's the new and improved version: > > on mouseUp > put empty into fld "fontList" > put the fontNames into fNames > sort lines of fNames by word 1 of each > put fnames > repeat for each line tLine in fNames > if char 1 of tLine is "#" then > put uniencode(tLine,"Korean") & uniencode(cr,"ANSI") after fld > "fontList" > else > put uniencode(tLine,"Japanese") & uniencode(cr,"ANSI") after fld > "fontList" > end if > end repeat > delete char -2 to -1 of fld "fontList" > set the textFont of line 1 to -1 of fld "fontList" to the textFont of > fld "fontList","Japanese" > set the scroll of fld "fontList" to 0 > end mouseUp > > There still may be some problems, but since I can't read Chinese or > Japanese, I have to trust that those font names came out properly. > > On Mar 8, 2006, at 3:26 PM, Devin Asay wrote: > >> on mouseUp >> put empty into fld "fontList" >> repeat with i = 1 to number of lines in the fontNames >> put uniencode(line i of the fontNames,"Japanese") & >> uniencode(cr,"ANSI") after fld "fontList" >> end repeat >> set the textFont of line 1 to -1 of fld "fontList" to the textFont >> of fld "fontList","Japanese" >> end mouseUp >> >> This gets it *mostly* right, I think. > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From devin_asay at byu.edu Wed Mar 8 19:59:11 2006 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 8 Mar 2006 17:59:11 -0700 Subject: Unicode Font List (Was Re: Revolution vs Visual Basic) In-Reply-To: <440F7400.1020704@paraboliclogic.com> References: <440F31F1.5070109@paraboliclogic.com> <440F7400.1020704@paraboliclogic.com> Message-ID: <19FFD83E-1CB9-442E-9087-69FA3C94F318@byu.edu> On Mar 8, 2006, at 5:17 PM, Garrett Hylltun wrote: > But isn't it just easier to filter out the unicode fonts and just > list the ANSI fonts like I did in my original post? > > I'm just not sure of the need to actually list the unicode fonts, > unless you're providing support in a program for these languages. You're probably right, although support for unicode fonts in Rev fields is free, since Rev just leverages the OS's unicode capabilities. Besides, rendering the font names in unicode was a challenge that had taken on a life of its own. It had to be beaten. ;-) Now I can go back to whatever productive work I was doing before. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From devin_asay at byu.edu Wed Mar 8 20:07:46 2006 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 8 Mar 2006 18:07:46 -0700 Subject: Unicode Font List (Was Re: Revolution vs Visual Basic) In-Reply-To: References: <440F31F1.5070109@paraboliclogic.com> Message-ID: Okay, this is the FINAL final version. I've been programming in Revolution for almost five years, and today is the first time I've noticed the fontLanguage function. I love this language! on mouseUp put empty into fld "fontList" put the fontNames into fNames sort lines of fNames by word 1 of each put fnames repeat for each line tLine in fNames put uniencode(tLine,the fontlanguage of tLine) & uniencode (cr,"ANSI") after fld "fontList" end repeat delete char -2 to -1 of fld "fontList" set the textFont of line 1 to -1 of fld "fontList" to the textFont of fld "fontList","Unicode" set the scroll of fld "fontList" to 0 end mouseUp I promise I'm done now. Devin On Mar 8, 2006, at 5:09 PM, Devin Asay wrote: > I'm in obsessive mode with unicode. Here's the new and improved > version: > > on mouseUp > put empty into fld "fontList" > put the fontNames into fNames > sort lines of fNames by word 1 of each > put fnames > repeat for each line tLine in fNames > if char 1 of tLine is "#" then > put uniencode(tLine,"Korean") & uniencode(cr,"ANSI") after > fld "fontList" > else > put uniencode(tLine,"Japanese") & uniencode(cr,"ANSI") after > fld "fontList" > end if > end repeat > delete char -2 to -1 of fld "fontList" > set the textFont of line 1 to -1 of fld "fontList" to the > textFont of fld "fontList","Japanese" > set the scroll of fld "fontList" to 0 > end mouseUp Devin Asay Humanities Technology and Research Support Center Brigham Young University From bobwarren at howsoft.com Wed Mar 8 20:32:10 2006 From: bobwarren at howsoft.com (Bob Warren) Date: Wed, 08 Mar 2006 22:32:10 -0300 Subject: Revolution vs Visual Basic Message-ID: <440F859A.5010104@howsoft.com> Haitham wrote: >Question (6): >When we want to produce the program (or application) that is created by >Revolution, we can produce it as EXE file (in windows). But what if we >need to make some kind of Installation or Setup? Can we do it? >What about if the users want to uninstall our program (or software)? >Can they? ------------------------------------------------------------------ For a demo INNO setup of a Rev standalone, navigate to:- http://www.howsoft.com/runrev/downloads/ - and download the file: Picture Chooser Widget for Windows XP or 2000_setup.exe It includes an uninstall. Cheers, Bob Warren From martyknapp at comcast.net Wed Mar 8 20:44:19 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 08 Mar 2006 17:44:19 -0800 Subject: Stack on a server Message-ID: <440F8873.2030300@comcast.net> Can multiple people simultaneously access data from a Rev stack on a server (from a standalone)? Is there a recommended method of doing so? Thanks, Marty Knapp From bvlahos at mac.com Wed Mar 8 20:50:22 2006 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 8 Mar 2006 17:50:22 -0800 Subject: Stack on a server In-Reply-To: <440F8873.2030300@comcast.net> References: <440F8873.2030300@comcast.net> Message-ID: Yes, but you don't want them to. Since there is no record/file locking you could have multiple people making changes at the same time and whoever makes it last wins. If the stack doesn't change then you could do it but that isn't a very elegant way to have it work. If you want multi-user access you will need to account for it in your stack or use some sort of data base on the server. Bill Vlahos On Mar 8, 2006, at 5:44 PM, Marty Knapp wrote: > Can multiple people simultaneously access data from a Rev stack on > a server (from a standalone)? Is there a recommended method of > doing so? > > Thanks, > > Marty Knapp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From devin_asay at byu.edu Wed Mar 8 20:58:05 2006 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 8 Mar 2006 18:58:05 -0700 Subject: Stack on a server In-Reply-To: <440F8873.2030300@comcast.net> References: <440F8873.2030300@comcast.net> Message-ID: <458EA98C-4967-4AE1-B5D2-42284DE1F5A7@byu.edu> On Mar 8, 2006, at 6:44 PM, Marty Knapp wrote: > Can multiple people simultaneously access data from a Rev stack on > a server (from a standalone)? Is there a recommended method of > doing so? Marty, I do this all the time in our Mac labs. I've never seen a problem, and all I do is put the stacks (or even standalones) on a server and create an alias to it on the workstation. The stacks themselves are read-only, and if I need to save data I write to text files or a database. As far as I know it works for Windows workstations, too, but my experience there is much more limited. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From sarah.reichelt at gmail.com Wed Mar 8 21:05:07 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 9 Mar 2006 12:05:07 +1000 Subject: Changing the screen resolution... In-Reply-To: <29CB66FA5AFE7446BE8729615CE52D790A7C212B@GAIA.FBL.insead.intra> References: <29CB66FA5AFE7446BE8729615CE52D790A7C212B@GAIA.FBL.insead.intra> Message-ID: > Is there a way so that I can change the resolution of the screen using a > script in metacard itself.? On Mac OS X, you can use the cscreen shell command. I don't know if there is an equivalent for Windows or Linux. Chers, Saarah From tsj at unimelb.edu.au Wed Mar 8 21:20:30 2006 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 9 Mar 2006 13:20:30 +1100 Subject: document icon problems on OSX In-Reply-To: <20060307015756.348CA826405@mail.runrev.com> References: <20060307015756.348CA826405@mail.runrev.com> Message-ID: <48b4884d33148c75bc499346d110f3c3@unimelb.edu.au> Not sure whether there is something peculiar with my particular Mac but I don't seem to be able to get the correct icon showing on documents created by my standalone (I'm using a custom creator code but sticking with the RSTK filetype). No matter whether I assign a custom document icon via the standalone builder or not my documents invariably appear with the Rev application icon. I've checked the contents of the app package and the correct icon seems to be in place (RevolutionDoc.icns) but still no go. (OS 10.3.9, Rev 2.6/2.7) Any ideas? Cheers, Terry... Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA From tsj at unimelb.edu.au Wed Mar 8 21:22:32 2006 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 9 Mar 2006 13:22:32 +1100 Subject: question on setRegistry for setting document associations Message-ID: <9d048ab057d59ccaaf9ffb3026a9af70@unimelb.edu.au> Is there any reason not to check for a registry entry and then set a document association if necessary each time a Windows application is launched? The reason I ask is that I'd like to avoid having to use an installer for this particular app if possible (at least during testing). Cheers, Terry... Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA From martyknapp at comcast.net Wed Mar 8 21:29:15 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 08 Mar 2006 18:29:15 -0800 Subject: Stack on a server In-Reply-To: References: <440F8873.2030300@comcast.net> Message-ID: <440F92FB.2090004@comcast.net> The data would be static (periodically changed only by me) so that's not a concern. I've thought of just putting the data in a text file, but wonder about security (don't know enough about it to know if that's a real concern). Marty Bill Vlahos wrote: > Yes, but you don't want them to. Since there is no record/file locking > you could have multiple people making changes at the same time and > whoever makes it last wins. > > If the stack doesn't change then you could do it but that isn't a very > elegant way to have it work. If you want multi-user access you will > need to account for it in your stack or use some sort of data base on > the server. From kray at sonsothunder.com Wed Mar 8 21:36:00 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 08 Mar 2006 20:36:00 -0600 Subject: Changing the screen resolution... In-Reply-To: Message-ID: On 3/8/06 8:05 PM, "Sarah Reichelt" wrote: >> Is there a way so that I can change the resolution of the screen using a >> script in metacard itself.? > > On Mac OS X, you can use the cscreen shell command. I don't know if > there is an equivalent for Windows or Linux. Actually this is something that I have in my Scripter's Scrapbook (not Linux though): Mac OS 9 ---------- Using Jon's Commands to change screen resolutions in OS 9: http://osaxen.com/files/jonscommands2.1.2.html Mac OS X ----------- The place to download 'cscript', a command-line utility for OS X that can retrieve info about screens and to change their properties (including reolution): http://www.versiontracker.com/dyn/moreinfo/mac/19753 or to directly download 'cscript': http://www.pyehouse.com/lynn/cscreen.dmg Windows ---------- You can use one of three third-party command line executables ("MultiRes", "Resolution Changer", or "VidRes"): http://www.entechtaiwan.com/files/multires.exe http://www.myitforum.com/inc/upload/1365Vidchng.zip http://www.jddesign.co.uk/ (For more information, see http://groups.google.co.uk/group/microsoft.public.windows.server.scripting/m sg/423d3f435989d049) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ambassador at fourthworld.com Wed Mar 8 21:41:37 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 08 Mar 2006 18:41:37 -0800 Subject: Unicode Font List (Was Re: Revolution vs Visual Basic) In-Reply-To: References: <440F31F1.5070109@paraboliclogic.com> Message-ID: <440F95E1.4070704@fourthworld.com> Devin Asay wrote: > Okay, this is the FINAL final version. I've been programming in > Revolution for almost five years, and today is the first time I've > noticed the fontLanguage function. I love this language! > > on mouseUp > put empty into fld "fontList" > put the fontNames into fNames > sort lines of fNames by word 1 of each > put fnames > repeat for each line tLine in fNames > put uniencode(tLine,the fontlanguage of tLine) & > uniencode(cr,"ANSI") after fld "fontList" > end repeat > delete char -2 to -1 of fld "fontList" > set the textFont of line 1 to -1 of fld "fontList" to the textFont of > fld "fontList","Unicode" > set the scroll of fld "fontList" to 0 > end mouseUp > Good work. Now what do we do to get a Font menu to display the font names correctly? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From alex at tweedly.net Wed Mar 8 21:49:00 2006 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 09 Mar 2006 02:49:00 +0000 Subject: importing list In-Reply-To: <1BD80CD9-8ABA-4836-9B6F-3F86671AF6AF@byu.edu> References: <3A40A518-4B0F-41E6-B11B-B9402097AD2A@mac.com> <1BD80CD9-8ABA-4836-9B6F-3F86671AF6AF@byu.edu> Message-ID: <440F979C.10106@tweedly.net> Devin Asay wrote: > Liam, > > If I understand correctly, your files contain lists like the one in > your message, which repeat over and over in a single file. So one > file might have many "records". > > This is how I'd approach it: > > repeat for each line tLine in tCurrRecord > put item 2 of tLine into fld (item 1 of tLine) > end repeat You could make that put item 2 to -1 of tLine into fld (item 1 of tLine) just in case there might be a ":" within the rest of the line. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 03/03/2006 From garrett at paraboliclogic.com Wed Mar 8 22:03:35 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Wed, 08 Mar 2006 19:03:35 -0800 Subject: Font Dialog Box In-Reply-To: <440F589B.2080702@chipp.com> References: <440F589B.2080702@chipp.com> Message-ID: <440F9B07.2010607@paraboliclogic.com> Based on some of my own code and code shared by Chipp Walters, I put together a font dialog that removes unicode fonts from the list, and then represents each font in it's own font in the list. Uploaded to the "user spaces" as "Stack: fontDialogBasic" and "Title: Basic font dialog example" If you have problems using the "user spaces", download from here: http://www.paraboliclogic.com/misc/fontDialogBasic.rev Thanks Chipp for code that started this. :-) -Garrett From JimAultWins at yahoo.com Wed Mar 8 23:00:51 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 08 Mar 2006 20:00:51 -0800 Subject: importing list In-Reply-To: <1BD80CD9-8ABA-4836-9B6F-3F86671AF6AF@byu.edu> Message-ID: --------------- Another approach would have an advantage or two. ONE - using a web address like http://website.com would not use the colon as a delimiter, since the 'split' command only considers the first occurance TWO - if any glitches occurred that added spurious lines that did not match an existing field, these would be ignored. (eg. tab, space) THREE - if your labels have a leading/trailing space this will get cleaned off FOUR -- filter rawData without empty NOTE: I would recommend that you not use "/" in your field label (eg. Principal/Director) can lead to problems later with scripting. ------------------------------------------------------------- > repeat > put url ("file:/Path/To/Your/File.txt") into rawData filter rawData without empty split rawData using cr and ":" put the keys of rawData into fldnames > > > > copy card "template" to this stack --create a new card for the data > go last card > repeat for each line FLDNM in fldnames put word 1 to -1 of FLDNM into FLDNM if there is a field FLDNM then put rawData[ FLDNM] into fld ( FLDNM ) end if end repeat --fld fill loop > end repeat --main loop -------------------------------------------------------------------- On 3/8/06 1:56 PM, "Devin Asay" wrote: > Liam, > > If I understand correctly, your files contain lists like the one in > your message, which repeat over and over in a single file. So one > file might have many "records". > > This is how I'd approach it: > > Create a stack with just one card, a "template" with all the proper > fields. > > repeat > put url ("file:/Path/To/Your/File.txt") into rawData > put lineOffset("Name:",rawData) into recStart > if recStart = 0 then exit repeat > put lineOffset("Type:",rawData) into recEnd > put line recStart to recEnd of rawData into tCurrRecord > delete line recStart to recEnd of rawData > replace cr&cr with cr in tCurrRecord -- get rid of empty lines > copy card "template" to this stack --create a new card for the data > go last card > set the itemDelimiter to ":" > repeat for each line tLine in tCurrRecord > put item 2 of tLine into fld (item 1 of tLine) > end repeat > end repeat > > This is untested but should be mostly right. > > Devin > > On Mar 8, 2006, at 11:14 AM, liamlambert wrote: > >> I have a large amount of plane text files that are laid out like >> this Below >> >> >> Name: >> >> Roll Number: >> >> Address: >> >> Principal/Director: >> >> Phone: >> >> Fax: >> >> Email: >> >> Website: >> >> Female Enrolment: >> >> Male Enrolment: >> >> Type: Primary >> >> I want to import the info that is after the colon into fields of >> the same name as the list above the list repeats name roll number ect >> Liam Lambert >> liamlambert at mac.com >> IRELAND >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Wed Mar 8 23:26:29 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 8 Mar 2006 20:26:29 -0800 (PST) Subject: Moving Multiple Objects In-Reply-To: Message-ID: Hi, I am trying to use the move command to simultaneously move three images in 2.7. on Mac OS 10.3.9 (not that this probably matters given that the error is almost certainly due to 'stupid user syndrome'). Here is what the docs say: "To move multiple objects at the same time, set the lockMoves property to true before issuing the move commands. When you set the lockMoves back to false, all the pending moves begin at once." So, here's my script (which doesn't, incidentally, move all three images simultaneously): on openCard set the lockMoves to true move image "BStone1.gif" to 588,-72 in 2 secs move image "BStone2.gif" to -65,-21 in 2 secs move image "BStone3.gif" to 290,459 in 2 secs set the lockMoves to false wait 15 ticks visual effect dissolve go next card end openCard The docs entry for lockMoves gives the following example script: Well, okay, so I WAS going to copy and paste in the script EXCEPT, of course, that YOU CAN'T DO THAT!!! :-/ What am I doing wrong? (I'm trying to come up with a little animation tutorial for my students that doesn't include the Animation Builder or whatever it was called). I've tried lockMoves without the "the" and the result is the same. Any ideas? Oh, and does anybody know where the old Bryce 4 demo can be found? I had a copy but my department's dying ftp server fubar'd the file. As it did for iMovie (which we owned)... and a number of other shareware/demos... :-( Judy From tominjapan at excite.com Wed Mar 8 23:35:59 2006 From: tominjapan at excite.com (Thomas McCarthy) Date: Wed, 8 Mar 2006 23:35:59 -0500 (EST) Subject: Encryption library & CGI Message-ID: <20060309043559.6901BB728@xprdmailfe14.nwk.excite.com> Is there a way to include the ecryption library in a stack (like when one makes a libURL stack)? I would like to use the encrypt command from my cgi. thanks. tm _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From scott at tactilemedia.com Thu Mar 9 01:13:37 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 08 Mar 2006 22:13:37 -0800 Subject: Moving Multiple Objects In-Reply-To: Message-ID: Recently, Judy Perry wrote: > I am trying to use the move command to simultaneously move three images in > 2.7. on Mac OS 10.3.9 (not that this probably matters given that the error > is almost certainly due to 'stupid user syndrome'). > > Here is what the docs say: > > "To move multiple objects at the same time, set the lockMoves property to > true before issuing the move commands. When you set the lockMoves back to > false, all the pending moves begin at once." > > So, here's my script (which doesn't, incidentally, move all three images > simultaneously) I'm not sure if the problem you're having is that the objects are not moving simultaneously or something else. However, the lock moves is usually for starting objects off at the same time. Instead, try removing the lock/unlockmoves lines and try adding "without waiting" to each move line in your script, for example: move image "BStone1.gif" to 588,-72 in 2 secs without waiting See if this is the effect you're looking for. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jperryl at ecs.fullerton.edu Thu Mar 9 01:28:53 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 8 Mar 2006 22:28:53 -0800 (PST) Subject: Moving Multiple Objects In-Reply-To: Message-ID: Scott, I did start them off from a pre-determined location in a preOpenCard handler. (sorry I didn't include that part). I don't understand (I might well be denser than, well, I don't know!): The only wait statement is AFTER the move statement(s). And after the 'set lockMoves to false' statement. AFAIU, that shouldn't affect the simultaneous moves. No, the problem is that the objects do NOT move simultaneously; they move serially. That is, the first moves, waits a little bit, then the second, ditto, and then the third. They do move, but nothing like simultaneously, which my reading of the docs would suggest is possible using the 'set lockMoves to true... set lockMoves to false' is possible. I'm really pretty certain that I've done something TREMENDOUSLY stupid... Just don't know what! I'll try 'without waiting'... (hope I have enough RAM to try this!)... Okay... that works, but only sorta, kinda. That is, I don't see the three images flying off the screen as scripted... instead, I see them move about a third of the way, then the card moves on to the next card. BUT THEY'RE MOVING SIMULTANEOUSLY!! (doing the Snoopy-dance) Any further ideas?? (and, thanks, Scott, for getting me half-way there... better than my not-even!). Judy On Wed, 8 Mar 2006, Scott Rossi wrote: > I'm not sure if the problem you're having is that the objects are not moving > simultaneously or something else. However, the lock moves is usually for > starting objects off at the same time. > > Instead, try removing the lock/unlockmoves lines and try adding "without > waiting" to each move line in your script, for example: > > move image "BStone1.gif" to 588,-72 in 2 secs without waiting > > See if this is the effect you're looking for. From davis.phil at comcast.net Thu Mar 9 01:42:27 2006 From: davis.phil at comcast.net (Phil Davis) Date: Wed, 08 Mar 2006 22:42:27 -0800 Subject: Moving Multiple Objects In-Reply-To: References: Message-ID: <440FCE53.3060306@comcast.net> Hi Judy, Judy Perry wrote: > Scott, > > I did start them off from a pre-determined location in a preOpenCard > handler. (sorry I didn't include that part). Have you tried starting it from an 'openCard' handler? I'm thinking the preOpenCard start might be hosing something, since the card is not yet drawn at that time. (At least that's how I think of it.) Just a thought - Phil Davis From jperryl at ecs.fullerton.edu Thu Mar 9 01:47:55 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 8 Mar 2006 22:47:55 -0800 (PST) Subject: Moving Multiple Objects In-Reply-To: <440FCE53.3060306@comcast.net> Message-ID: Hi Phil, I used a preOpenCard handler to handle the initial locations of the three images, then an openCard handler to handle their movement. Here is the entire card script: on preOpenCard set the loc of image "BStone1.gif" to 326,152 set the loc of image "Bstone2.gif" to 215,155 set the loc of image "BStone3.gif" to 268,242 end preOpenCard on openCard set lockMoves to true move image "BStone1.gif" to 588,-72 in 2 secs without waiting move image "BStone2.gif" to -65,-21 in 2 secs without waiting move image "BStone3.gif" to 290,459 in 2 secs without waiting set lockMoves to false wait 15 ticks ual effect dissolve go next card end openCard Any other ideas??? Gratefully received... Judy On Wed, 8 Mar 2006, Phil Davis wrote: > Have you tried starting it from an 'openCard' handler? I'm thinking the > preOpenCard start might be hosing something, since the card is not yet > drawn at that time. (At least that's how I think of it.) > From stephenREVOLUTION at barncard.com Thu Mar 9 02:13:28 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 8 Mar 2006 23:13:28 -0800 Subject: Expanded DPI images for printing -Good News (news to me anyway)... In-Reply-To: References: Message-ID: If this is in the docs, and I'm ignorant of this I apologize, but I'd like to share my discovery. Ever since I started working with x-talks 18 years ago, I wanted a way to print 300 dpi images from a card. I got the impression from my last year of experiments that it was not possible. Today I was messing around with loading images on a card recently with different file sources using the filename property. I noticed a few old images that I loaded were much smaller in size than I remember, and not only that, when printed, had the appropriate detail. This is what I came up with: When you are creating a graphic from photoshop, set the DPI to 300 or whatever. Set the size to what size in inches,etc. you want on the card. Save as a PICT file!! Setting the filename of an image object to a PICT file will force the object to print the DPI indicated in the image file. The image on the screen is dpi-scaled and is totally WYSIWYG. In other words, Rev reads the DPI of the image from the file and prints accordingly in the print region. This does not work with PNG, Gif or jpg images, that show and print at screen resolution. So has rev always worked this way, or is this new? Weren't we encouraged to not use picts anymore? And finally, are PC users able to create picts? -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From scott at elementarysoftware.com Thu Mar 9 02:20:38 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 8 Mar 2006 23:20:38 -0800 Subject: Font Dialog Box In-Reply-To: <440F9B07.2010607@paraboliclogic.com> References: <440F589B.2080702@chipp.com> <440F9B07.2010607@paraboliclogic.com> Message-ID: <4C6975F8-2A3D-4159-8994-E16699A592E4@elementarysoftware.com> Nice job, Garrett! What a slick little tool. -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Mar 8, 2006, at 7:03 PM, Garrett Hylltun wrote: > Based on some of my own code and code shared by Chipp Walters, I > put together a font dialog that removes unicode fonts from the > list, and then represents each font in it's own font in the list. > > Uploaded to the "user spaces" as "Stack: fontDialogBasic" and > "Title: Basic font dialog example" > > If you have problems using the "user spaces", download from here: > http://www.paraboliclogic.com/misc/fontDialogBasic.rev > > Thanks Chipp for code that started this. :-) > > -Garrett From scott at elementarysoftware.com Thu Mar 9 02:39:32 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 8 Mar 2006 23:39:32 -0800 Subject: Expanded DPI images for printing -Good News (news to me anyway)... In-Reply-To: References: Message-ID: <905A1F03-B417-4E29-B7D5-641FC6C66E86@elementarysoftware.com> Stephen, This isn't exactly what you are doing and if familiar to you then perhaps someone else will say "Ah!" but, you can get a similar effect with image types other than PICT. I often use a GIF image that is much bigger than what I want to print. By scaling it (setting the height and width )and setting the lockLoc property to keep it from resizing, you can then print it (since all those dots were squeezed into a smaller space) at a higher resolution, depending on how much you scaled it. I usually end up making a separate screen version that has some antialiasing or whatnot and then swap for the other when it is time to print. -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Mar 8, 2006, at 11:13 PM, Stephen Barncard wrote: > If this is in the docs, and I'm ignorant of this I apologize, but > I'd like to share my discovery. > > Ever since I started working with x-talks 18 years ago, I wanted a > way to print 300 dpi images from a card. I got the impression from > my last year of experiments that it was not possible. > > Today I was messing around with loading images on a card recently > with different file sources using the filename property. I noticed > a few old images that I loaded were much smaller in size than I > remember, and not only that, when printed, had the appropriate > detail. This is what I came up with: > > When you are creating a graphic from photoshop, set the DPI to 300 > or whatever. Set the size to what size in inches,etc. you want on > the card. Save as a PICT file!! > > Setting the filename of an image object to a PICT file will force > the object to print the DPI indicated in the image file. The image > on the screen is dpi-scaled and is totally WYSIWYG. > > In other words, Rev reads the DPI of the image from the file and > prints accordingly in the print region. This does not work with > PNG, Gif or jpg images, that show and print at screen resolution. > > So has rev always worked this way, or is this new? > Weren't we encouraged to not use picts anymore? > And finally, are PC users able to create picts? > -- > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - From davis.phil at comcast.net Thu Mar 9 02:52:22 2006 From: davis.phil at comcast.net (Phil Davis) Date: Wed, 08 Mar 2006 23:52:22 -0800 Subject: Moving Multiple Objects In-Reply-To: References: Message-ID: <440FDEB6.1060102@comcast.net> Hi Judy, I'm pretty bleery-eyed at this time of day, but I reorganized your code slightly and got improved (I think) results. Here's what I did: on preOpenCard -- no changes here set the loc of image "BStone1.gif" to 326,152 set the loc of image "Bstone2.gif" to 215,155 set the loc of image "BStone3.gif" to 268,242 end preOpenCard on openCard -- removed some code set lockMoves to true move image "BStone1.gif" to 588,-72 in 2 secs without waiting move image "BStone2.gif" to -65,-21 in 2 secs without waiting move image "BStone3.gif" to 290,459 in 2 secs without waiting set lockMoves to false end openCard on moveStopped -- new handler if the movingControls <> empty -- something is still moving then -- defer action exit moveStopped end if -- if all movement has ended, GO! visual effect dissolve go next card end moveStopped See if this does what you need. Phil Judy Perry wrote: > Hi Phil, > > I used a preOpenCard handler to handle the initial locations of the three > images, then an openCard handler to handle their movement. > > Here is the entire card script: > > on preOpenCard > set the loc of image "BStone1.gif" to 326,152 > set the loc of image "Bstone2.gif" to 215,155 > set the loc of image "BStone3.gif" to 268,242 > end preOpenCard > > on openCard > set lockMoves to true > move image "BStone1.gif" to 588,-72 in 2 secs without waiting > move image "BStone2.gif" to -65,-21 in 2 secs without waiting > move image "BStone3.gif" to 290,459 in 2 secs without waiting > set lockMoves to false > wait 15 ticks > ual effect dissolve > go next card > end openCard > > Any other ideas??? > > Gratefully received... > > Judy > > On Wed, 8 Mar 2006, Phil Davis wrote: > > >>Have you tried starting it from an 'openCard' handler? I'm thinking the >>preOpenCard start might be hosing something, since the card is not yet >>drawn at that time. (At least that's how I think of it.) From paulclaude at postino.it Thu Mar 9 03:20:25 2006 From: paulclaude at postino.it (Paul Claude) Date: Thu, 09 Mar 2006 09:20:25 +0100 Subject: Slow Dialogs in Rev 2.7 In-Reply-To: <440F1F90.8020304@hyperactivesw.com> Message-ID: Well, I've copied the whole revolution folder in my iBook, and there it works normally (mac os x 10.3.9), so it's not a plugin issue. I think the problem could be related to Mac Os 10.4.4. on 08/03/2006 19:16, J. Landman Gay at jacque at hyperactivesw.com wrote: > I am completely puzzled. I don't think anyone else has this problem or > they would have said so. It must be something about your particular > system. All I can suggest is to reinstall Revolution. > > Sometimes virus checkers interfere and cause slowdowns, but that doesn't > seem too likely since your other windows open okay. > > If you have any custom plugins, try removing them and restarting Rev. > Also make sure you have no custom frontscripts or backscripts. I hope > someone else can think of other things to try, because what is happening > is not normal behavior. From scott at proherp.com Thu Mar 9 03:48:24 2006 From: scott at proherp.com (Scott Kane) Date: Thu, 9 Mar 2006 19:48:24 +1100 Subject: Missing Report Builder In-Reply-To: Message-ID: <000601c64356$3ef8a990$0201010a@royalnexus> Hi Kresten, As others have pointed out ReportBuilder is depracated. > find the answer to the "How do I create a report > layout-card?" question. I bought and heartily recommend Dan's book "Printing in Revolution". It answered many such questions for me and it's a good read to boot. See link below. At $5 it's a steal... http://www.shafermediastore.com/tech_main.html Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.2.1/277 - Release Date: 8/03/2006 From klaus at major-k.de Thu Mar 9 03:55:41 2006 From: klaus at major-k.de (Klaus Major) Date: Thu, 9 Mar 2006 09:55:41 +0100 Subject: Moving Multiple Objects In-Reply-To: <440FDEB6.1060102@comcast.net> References: <440FDEB6.1060102@comcast.net> Message-ID: <8012EBDA-1337-4B11-BE68-E613A72DA4D9@major-k.de> Hi Judy, > Judy Perry wrote: >> I used a preOpenCard handler to handle the initial locations of >> the three >> images, then an openCard handler to handle their movement. >> Here is the entire card script: >> on preOpenCard >> set the loc of image "BStone1.gif" to 326,152 >> set the loc of image "Bstone2.gif" to 215,155 >> set the loc of image "BStone3.gif" to 268,242 >> end preOpenCard >> on openCard >> set lockMoves to true >> move image "BStone1.gif" to 588,-72 in 2 secs without waiting >> move image "BStone2.gif" to -65,-21 in 2 secs without waiting >> move image "BStone3.gif" to 290,459 in 2 secs without waiting >> set lockMoves to false ##Would this work eventually? Does here... wait until the movingcontrols = empty >> ual effect dissolve >> go next card >> end openCard >> Any other ideas??? >> Gratefully received... >> Judy Regards Klaus Major klaus at major-k.de http://www.major-k.de From alex at tweedly.net Thu Mar 9 04:03:28 2006 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 09 Mar 2006 09:03:28 +0000 Subject: importing list In-Reply-To: References: Message-ID: <440FEF60.7010901@tweedly.net> Jim Ault wrote: >--------------- >Another approach would have an advantage or two. >ONE - using a web address like http://website.com would not use the colon as >a delimiter, since the 'split' command only considers the first occurance >TWO - if any glitches occurred that added spurious lines that did not match >an existing field, these would be ignored. (eg. tab, space) >THREE - if your labels have a leading/trailing space this will get cleaned >off >FOUR -- filter rawData without empty > >NOTE: I would recommend that you not use "/" in your field label (eg. >Principal/Director) can lead to problems later with scripting. > >------------------------------------------------------------- > > >>repeat >> put url ("file:/Path/To/Your/File.txt") into rawData >> >> > filter rawData without empty > split rawData using cr and ":" > > Jim, you can't do that (at least, not if I interpreted Liam's email correctly). I'm pretty sure he is saying that the file contains multiple "entries", each entry consisting of the multiple "fields". If you had a single entry, then this 'split'-based technique is the one I'd use - but it can't be used while there are multiple entries .... you'd finish up with an array element for each field name, containing the data for the last entry. You could keep the outer loop from Devin's code, to create tCurrRecord, and then split tCurrRecord >On 3/8/06 1:56 PM, "Devin Asay" wrote: > > >>repeat >> put url ("file:/Path/To/Your/File.txt") into rawData >> put lineOffset("Name:",rawData) into recStart >> if recStart = 0 then exit repeat >> put lineOffset("Type:",rawData) into recEnd >> put line recStart to recEnd of rawData into tCurrRecord >> delete line recStart to recEnd of rawData >> replace cr&cr with cr in tCurrRecord -- get rid of empty lines >> copy card "template" to this stack --create a new card for the data >> go last card >> set the itemDelimiter to ":" >> repeat for each line tLine in tCurrRecord >> put item 2 of tLine into fld (item 1 of tLine) >> end repeat >>end repeat >> >> -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 03/03/2006 From mlange at lexicall.org Thu Mar 9 05:14:54 2006 From: mlange at lexicall.org (Marielle Lange) Date: Thu, 9 Mar 2006 10:14:54 +0000 Subject: The End of Dreamcard? Message-ID: <5DE14B83-50B5-48B9-892E-45809A896205@lexicall.org> Hi Dan, There are two things that I don't understand. The first one is if your friend is an enthusiastic user of revolution and wanted his story to be used to convince non profit users on this list to put bigger money in their hobby, why didn't he write this email himself. The second is if it is so evident all non profit should go and buy rev studio, why was this email necessary? I rather agree with the argument you make, but I disagree with the way it is made, using the story of another person that nobody can check up. I far prefer that attempts to convince non profit users on this list to put the little money they have in revolution rather than other products focus on a discussion of the intrinsic quality of the product and customer support. Marielle > I thought this might add a bit of perspective if not humor to our > discussion. > > I have a really good friend who is a semi-serious amateur > photographer. He's > also pretty computer-savvy. A while back I introduced him to Rev > and he's > been delightedly churning out apps for his use in his hobby, happy > as a > clam. He bought Dreamcard. > > When the new release came out and it became apparent that DC would > no longer > be a viable product, it took him about 3 minutes to decide to > upgrade to > Studio when the time comes to do that. I asked him how he made that > decision. > > "Revolution Studio is cheaper than any camera or lens I own for my > other > hobby. I don't make money at either. Part of the definition of a > hobby is > something you enjoy pouring money into so you can see better and > better > results. I've become something of a hobbyist programmer now and I > want the > right tools for that job just like I want the right cameras and > lenses. It's > a no-brainer." > > This guy's not wealthy (he's retired) but he understands the value > of the > right tool for the right job. I just thought that was a terribly > sane way to > look at things. > > And no I'll step aside and wait for the flamers to point out how > little > money academia has, how unpredictable software strategies are and > all the > rest. > > :-) > > Dan > > ------------------------------------------------------------------------ -------- Marielle Lange (PhD), Psycholinguist Alternative emails: mlange at blueyonder.co.uk, Homepage http://homepages.widged.com/mlange/ Easy access to lexical databases http:// lexicall.widged.com/ Supporting Education Technologists http:// revolution.widged.com/wiki/ From dburgun at dsl.pipex.com Thu Mar 9 05:51:57 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 9 Mar 2006 10:51:57 +0000 Subject: Latest Version of RunRev for Mac OS 9??? In-Reply-To: <94DD4B99-DFAF-4A3A-BE09-F795B16FCAD9@gmail.com> References: <94DD4B99-DFAF-4A3A-BE09-F795B16FCAD9@gmail.com> Message-ID: Hi Chris, Thanks a lot! All the Best Dave On 8 Mar 2006, at 18:34, Chris Sheffield wrote: > Dave, > > You can grab version 2.6.1 from here: > > revolution.sit> > > Hopefully that'll get you by. It is kind of strange they removed > the download link for the current OS 9 version... > > Chris > > > On Mar 8, 2006, at 11:10 AM, David Burgun wrote: > >> Hi, >> >> So was the 2.6.6 version promised, however we are still waiting >> for it. >> >> >> I agree it is important to the educational market (as well as >> other markets) which is why it blows my mind that there is no >> download available for it. >> >> I have no intention of porting my MacOS 9 only stacks to 2.7, it's >> just not worth it, but I would like to be able to download a >> version of RunRev that works on MacOS 9 NOW, regardless of the >> version number! >> >> I really can't see the point of removing a working version of >> RunRev for MacOS 9 from the website and replacing it with nothing! >> Surely it would be better to leave the existing version available >> and then if and when 2.7 comes along replace it then? >> >> In the meantime, here I am twiddling my thumbs waiting for someone >> from RunRev to contact me and send the latest version (which I >> have a license for). >> >> All the Best >> Dave >> >> On 8 Mar 2006, at 17:46, Stephen Barncard wrote: >> >>> The OS9 version was promised, and I have no doubt they will >>> deliver it. It's too important to the educational market. I >>> heard the difficulty is that they have to use a new compiler for >>> OS9. I think they don't want a non- version 2.7 out there. >>> >>> >>>> Hi, >>>> >>>> I doubt there will be a version 2.7 for MacOS 9 either, the same >>>> was said about version 2.6.6 and that version didn't >>>> materialize. Don't understand why version 2.6.1 isn't on their >>>> web site tho? >>>> >>>> All the Best >>>> Dave >>>> >>>> On 7 Mar 2006, at 20:09, Robert Brenstein wrote: >>>> >>>>>> Hi Dave... It's Rev 2.6.1 and you have to ask Heather >>>>>> directly. It's >>>>>> doubtful that 2.7 or later will get to OS 9... Jim >>>>>> >>>>> >>>>> I hope you are wrong, Jim. And the RR web site states that OS9 >>>>> version is coming, whatever that means. >>>>> _______________________________________________ >>> >>> -- >>> stephen barncard >>> s a n f r a n c i s c o >>> - - - - - - - - - - - - >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > ------------------------------------------ > Chris Sheffield > Read Naturally > The Fluency Company > http://www.readnaturally.com > ------------------------------------------ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dburgun at dsl.pipex.com Thu Mar 9 05:57:48 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 9 Mar 2006 10:57:48 +0000 Subject: 2.7 bugs In-Reply-To: <8C81105DF835ADF-B54-184AF@FWM-M31.sysops.aol.com> References: <001901c63ab6$0696e8d0$1500a8c0@ACERLaptop> <403AED7B-CF0E-4CB5-89F4-54D56064CA12@dsl.pipex.com> <70ed6b130603081043t5c13d72ao67d884d9acf37bce@mail.gmail.com> <8C81105DF835ADF-B54-184AF@FWM-M31.sysops.aol.com> Message-ID: <03E22101-F887-4B7E-B124-C67278C65AD4@dsl.pipex.com> Hi, On top of what Paul said there is also the Stack incompatibility issues to contend with in 2.7. I totally agree that we need and have said several times over the last year or so that a bug fix only release is what is needed. This product has had heaps of new functionality added over the last couple of years and bugs that were there in the start have not been fixed. This means that new functionality might actually break once a bug has been fixed as well as just making the product much harder to use. I can't understand why new functionality is added to a buggy base. For instance the new feature detailed here: New object blending capabilities. All objects, including standard system controls such as buttons and fields, as well as media elements such as QuickTime movies, can now be rendered using a rich variety of blend modes and opacity settings. Over 20 brand new blend modes. Includes the industry standard porter- duff and SVG compositing operators. Window level transitions. Now you can perform transitions with alpha channels on an entire window, allowing effects such as rippling applications on the desktop. New image rendering options. Render an image from any object on- screen, preserving the alpha channel, then transform and save. Anti-aliasing Graphics Engine. Revolution?s vector graphics presentation layer is now anti-aliased. These are super-cool features, but they are not NEEDED, adding this functionality now just means that any bugs that do not have a work- around need to be fixed now and I'm betting that bugs that do have a work-around will be put onto the "to do" list along with all the others and so the "to do" list will grow. I've seen this situation with other products. CodeWarrior for instance had a very buggy debugger for ages and each new version did nothing to fix it, but added loads of new functionality, which inevitably had new bugs which needed to be fixed. It made using the product a much less satisfying prospect which is what I have found with RunRev and for a Newbie it is very off-putting. I would much rather have 75% of the functionality with 5% bugs, than 100% of the functionality with 25% bugs! All the Best Dave On 8 Mar 2006, at 20:27, simplsol at aol.com wrote: > Dan, > I use OS X and agree with David. New users should start with 2.6.x > and wait while 2.7 matures. > Version 2.6.1 was the best all-around release of Rev in the last > three years. "In my experience" 2.7 was one of the worst. > The missing documentation chapters, crashes when accessing the > Table panel on the Inspector, etc. etc. affect all platforms. The > automatic changing of creator codes and file types affect OS X > users (especially the changing of creator codes which are not an > issue on Windows or UNIX). Changing the appearance of previously > created stacks from OS X to OS 9 may or may not be exclusively an > OS X problem. > 2.7 promises to be very good when it is ready. I don't believe it > is ready yet. > Paul Looney > PS Remember the last meeting in Monterey when we asked for two > updates that did nothing but fix bugs? That seems, in hindsight, to > have been a very good suggestion. 2.6.8 could have been awesome! > > -----Original Message----- > From: Dan Shafer > To: How to use Revolution > Sent: Wed, 8 Mar 2006 10:43:21 -0800 > Subject: Re: 2.7 bugs From jbv.silences at club-internet.fr Thu Mar 9 06:28:15 2006 From: jbv.silences at club-internet.fr (jbv) Date: Thu, 09 Mar 2006 12:28:15 +0100 Subject: 2.7 bugs References: <001901c63ab6$0696e8d0$1500a8c0@ACERLaptop> <403AED7B-CF0E-4CB5-89F4-54D56064CA12@dsl.pipex.com> <70ed6b130603081043t5c13d72ao67d884d9acf37bce@mail.gmail.com> <8C81105DF835ADF-B54-184AF@FWM-M31.sysops.aol.com> <03E22101-F887-4B7E-B124-C67278C65AD4@dsl.pipex.com> Message-ID: <44101148.961165E0@club-internet.fr> David, > > Anti-aliasing Graphics Engine. Revolution?s vector graphics > presentation layer is now anti-aliased. > These are super-cool features, but they are not NEEDED, anti-aliased vector graphics were BADLY NEEDED, and I've been begging for it since 2002 or so... In a couple of projects that required high quality graphics I had to write an external that used 2D openGL to achieve the quality requested by my client. And of course, I wasn't able to charge that client for the development time that happened to be several times more important than using a simple vector graphics tool in Rev (simply because it was hard to admit that a dev. tool that I described as "the best one around" didn't feature anti-aliased graphics)... Different needs, different priorities... Best, JB From dburgun at dsl.pipex.com Thu Mar 9 06:33:45 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 9 Mar 2006 11:33:45 +0000 Subject: 2.7 bugs In-Reply-To: <44101148.961165E0@club-internet.fr> References: <001901c63ab6$0696e8d0$1500a8c0@ACERLaptop> <403AED7B-CF0E-4CB5-89F4-54D56064CA12@dsl.pipex.com> <70ed6b130603081043t5c13d72ao67d884d9acf37bce@mail.gmail.com> <8C81105DF835ADF-B54-184AF@FWM-M31.sysops.aol.com> <03E22101-F887-4B7E-B124-C67278C65AD4@dsl.pipex.com> <44101148.961165E0@club-internet.fr> Message-ID: <9CF00F63-F02A-40D5-A568-CA3938BFE2D4@dsl.pipex.com> Hi, I've had to write some externals too for features that are not in RunRev already. The point is that you found a work-around, however if you have a bug at the "core" of RunRev there is no work-around except to use a different development system. Also once you have written your external all you have to do from them on is use it in all other projects that require that feature, whereas if it's a bug in RunRev then you have to remember that feature "X" does not work in all other projects. I've wasted days trying to make something work in RunRev that according to the documentation should work just fine but because of a bug it either didn't work at all or didn't work as published. Of course I couldn't charge the client for that time either. In your case this just happened to you with one client, not because of a bug, but because a feature was not present, which you could have found out simply by asking RunRev "Is Anti-Aliased vector graphics supported?". You could then build the time to code this as an external into your quote. With a bug in RunRev you are dealing with something that should work and that is documented to work but just doesn't work. This (at least potentially) affects all developers in all projects and causes a lot time to be waste as well as a lot of hair pulling and grinding of teeth! If we added up all the hours lost by all developers (as well as putting off newbies) because of bugs in RunRev, I'm willing to bet that it would add up to a lot more than the time you lost due to not having a feature added. The difference is in control. With an unsupported feature, the developer is in control, with bug the developer is NOT in control and therefore in a much more frustrating position. All the Best Dave On 9 Mar 2006, at 11:28, jbv wrote: > > > David, > >> >> Anti-aliasing Graphics Engine. Revolution?s vector graphics >> presentation layer is now anti-aliased. >> These are super-cool features, but they are not NEEDED, > > anti-aliased vector graphics were BADLY NEEDED, and I've been > begging for it since 2002 or so... > In a couple of projects that required high quality graphics I had > to write > an external that used 2D openGL to achieve the quality requested by > my client. And of course, I wasn't able to charge that client for the > development time that happened to be several times more important > than using a simple vector graphics tool in Rev (simply because it was > hard to admit that a dev. tool that I described as "the best one > around" > didn't feature anti-aliased graphics)... > > Different needs, different priorities... > > Best, > JB > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcdomi at free.fr Thu Mar 9 07:21:45 2006 From: mcdomi at free.fr (Dom) Date: Thu, 9 Mar 2006 13:21:45 +0100 Subject: [FR] [EN]Re: The End of Dreamcard? In-Reply-To: <5DE14B83-50B5-48B9-892E-45809A896205@lexicall.org> Message-ID: <1hbxox0.fd83sq1bzmg00M%mcdomi@free.fr> Marielle Lange wrote: > There are two things that I don't understand. Bien dit, Marielle ! On est vraiment en plein brouillard... et quand on pose une question, le PDG intervient pour nous dire que ?a n'est pas le bon endroit ;-> Que peut faire Media, et surtout qu'est-ce que Media ne peut pas faire, et que DreamCard pouvait faire ?? [systran] One is really in full fog... and when a question is put, the chairman intervenes to say to us that that is not the good place ;-> What can make Media, and especially what Media cannot make, and which DreamCard could make?? From kevin at runrev.com Thu Mar 9 07:35:07 2006 From: kevin at runrev.com (Kevin Miller) Date: Thu, 09 Mar 2006 12:35:07 +0000 Subject: 2.7 bugs In-Reply-To: <44101148.961165E0@club-internet.fr> Message-ID: On 9/3/06 11:28, "jbv" wrote: >> Anti-aliasing Graphics Engine. Revolution?s vector graphics >> presentation layer is now anti-aliased. >> These are super-cool features, but they are not NEEDED, > > anti-aliased vector graphics were BADLY NEEDED, and I've been > begging for it since 2002 or so... > In a couple of projects that required high quality graphics I had to write > an external that used 2D openGL to achieve the quality requested by > my client. And of course, I wasn't able to charge that client for the > development time that happened to be several times more important > than using a simple vector graphics tool in Rev (simply because it was > hard to admit that a dev. tool that I described as "the best one around" > didn't feature anti-aliased graphics)... > > Different needs, different priorities... I think these two sides of this debate sum it up quite well. We can't please everyone with every release. I hear what people are saying about bugs and stability issues. At the same time I also know that the vast majority of the feedback we have received on this release has been positive. Remember that only a percentage of our customers are on this list, and we receive a lot of feedback directly too. Now that the hard work for this new release cycle is out of the way, we will do a series of point releases to fix bugs and provide greater feature completeness. The first of those will smooth out the handful of rough edges in 2.7 that have been reported, and then we'll be tackling some other areas that have attracted feedback for a longer period of time. The first such point release is right around the corner now, so please wait patiently for a short while as we get that together. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From lan.kc.macmail at gmail.com Thu Mar 9 08:01:37 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 9 Mar 2006 21:01:37 +0800 Subject: My DreamCard doesn't start In-Reply-To: <440F55B6.3010304@hyperactivesw.com> References: <310e1d856374fcff10a2b8b7544de661@maccosm.info> <440F55B6.3010304@hyperactivesw.com> Message-ID: On 3/9/06, J. Landman Gay wrote: > Did you move it from its default location? It sounds like some of the > support files aren't available. If you moved it, put it back. If not, > try reinstalling. I'm looking at moving 2.7 from it's default location. Any tips on how to do this correctly? For all previous versions of REV, and the Mac OS for that matter, I've had no problem just dragging the REV folder to a separate HD where I keep all my programing related items. I get the feeling that 2.7 will be problematic, making it one of the very few non Apple programs that I run that NEEDs to reside in the Application folder. Currently I have a SYMLINK (not a simple alias) inside my Applications folder which points to my other HD, this works for all other Apps. Advise appreciated. From tacintosh at maccosm.info Thu Mar 9 08:33:51 2006 From: tacintosh at maccosm.info (Takaaki Furukawa) Date: Thu, 9 Mar 2006 22:33:51 +0900 Subject: My DreamCard doesn't start In-Reply-To: <440F55B6.3010304@hyperactivesw.com> References: <310e1d856374fcff10a2b8b7544de661@maccosm.info> <440F55B6.3010304@hyperactivesw.com> Message-ID: <3f4eadb658b95f8e06acf01de43bd9a3@maccosm.info> Jacqueline, It worked! I moved it to the top level of Applications folder and now it's perfectly ok. Thank you. I want Revolution to be more flexible about where it is (if it is called "Revolution"), though. - Takaaki > Takaaki Furukawa wrote: >> My DreamCard 2.5 for Mac OS X doesn't start. The dock icon bounces >> for a couple of times >> when I click it, but it quits without warning. I deleted the Pref >> file but no effect. >> What should I do? > > Did you move it from its default location? It sounds like some of the > support files aren't available. If you moved it, put it back. If not, > try reinstalling. From dburgun at dsl.pipex.com Thu Mar 9 08:43:19 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 9 Mar 2006 13:43:19 +0000 Subject: 2.7 bugs In-Reply-To: References: Message-ID: <198719C5-6172-480A-8D4F-C085E5B90A8A@dsl.pipex.com> On 9 Mar 2006, at 12:35, Kevin Miller wrote: > On 9/3/06 11:28, "jbv" wrote: > >>> Anti-aliasing Graphics Engine. Revolution?s vector graphics >>> presentation layer is now anti-aliased. >>> These are super-cool features, but they are not NEEDED, >> >> anti-aliased vector graphics were BADLY NEEDED, and I've been >> begging for it since 2002 or so... >> In a couple of projects that required high quality graphics I had >> to write >> an external that used 2D openGL to achieve the quality requested by >> my client. And of course, I wasn't able to charge that client for the >> development time that happened to be several times more important >> than using a simple vector graphics tool in Rev (simply because it >> was >> hard to admit that a dev. tool that I described as "the best one >> around" >> didn't feature anti-aliased graphics)... >> >> Different needs, different priorities... > > I think these two sides of this debate sum it up quite well. We can't > please everyone with every release. I hear what people are saying > about > bugs and stability issues. At the same time I also know that the vast > majority of the feedback we have received on this release has been > positive. > Remember that only a percentage of our customers are on this list, > and we > receive a lot of feedback directly too. In this case he had written an external to handle it, so it was a non- problem. Also it wouldn't have been a problem at all if he had either used a different development system (one that supported AA) or planned to add AA as an external from the start and incorporated the cost in his initial costing. All the new features mentioned in my post are not NEEDED, they may make the system more cool and may make it more attractive for a developer/user and so increase sales, however as soon as they start to develop an application they run into bugs that have been around for ages. The result is wasted time and frustration and for a Newbie a lack of trust in the system begins to develop, this results in more wasted time. One of the good things about RunRev is that you can easily add to the system using External Commands, that way new features can be developed and debugged before adding to the system as a whole and it allows developers to use RunRev for applications that the "standard" system does not support. > Now that the hard work for this new release cycle is out of the > way, we will > do a series of point releases to fix bugs and provide greater feature > completeness. That's really good news and I really hope it happens. I can't help thinking that it would have been easier/quicker to fix the bugs if new features had not been added. The time to fix "core" bugs is when the system is small and when there are fewer developers. The more the system grows and the more people it effects the harder it is to get things fixed in a timely manner. > The first of those will smooth out the handful of rough edges > in 2.7 that have been reported, and then we'll be tackling some > other areas > that have attracted feedback for a longer period of time. If new features had not been added then there would be no need for smoothing and the only people affected by problems would be those that were using the new features. > The first such point release is right around the corner now, so > please wait patiently for a > short while as we get that together. That's good news too, but I won't be using 2.7 for some time, I've been burnt before by "upgrades" that take me back a few steps and waste my time. I will wait and see which way the wind blows before upgrading. All the Best Dave From kevin at runrev.com Thu Mar 9 09:10:22 2006 From: kevin at runrev.com (Kevin Miller) Date: Thu, 09 Mar 2006 14:10:22 +0000 Subject: 2.7 bugs In-Reply-To: <198719C5-6172-480A-8D4F-C085E5B90A8A@dsl.pipex.com> Message-ID: On 9/3/06 13:43, "David Burgun" wrote: >> Now that the hard work for this new release cycle is out of the way, we will >> do a series of point releases to fix bugs and provide greater feature >> completeness. > > That's really good news and I really hope it happens. I can't help > thinking that it would have been easier/quicker to fix the bugs if > new features had not been added. The time to fix "core" bugs is when > the system is small and when there are fewer developers. The more the > system grows and the more people it effects the harder it is to get > things fixed in a timely manner. That's simply not the case. Many of the bugs and issues people have reported are either easier to address, or in some cases can only be addressed by rewriting or reworking a specific area. In 2.7 we reworked large areas related to rendering and that will have knock on effects in allowing us to address several of the more popular things people have been asking for. For example, in order to properly address the feedback on printing related issues we needed to do most of the groundwork we just did. "Exposing" the antialising feature on top of that work was relatively little effort, for an enhancement that many have requested. Over 2.7.x we are now well placed to do more. >> The first of those will smooth out the handful of rough edges in 2.7 that >> have been reported, and then we'll be tackling some other areas that have >> attracted feedback for a longer period of time. > > If new features had not been added then there would be no need for > smoothing and the only people affected by problems would be those > that were using the new features. When rewriting any major area, you always run the risk of introducing some new issues. But if you put in new foundations that are sound, it makes it easier to address anything you have inadvertently shaken up, and then go on to improve other areas. This is fairly typical pattern for software upgrades - a major release followed by point releases. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From lan.kc.macmail at gmail.com Thu Mar 9 09:15:10 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 9 Mar 2006 22:15:10 +0800 Subject: Revolution vs Visual Basic In-Reply-To: <9b408d8e0603081149g43ce5dc6ge9f8a897694e37ed@mail.gmail.com> References: <70ed6b130603081056o103b9456n598ca0f40b197642@mail.gmail.com> <9b408d8e0603081149g43ce5dc6ge9f8a897694e37ed@mail.gmail.com> Message-ID: On 3/9/06, Mikey wrote: > > > Revolution's grandfather, HyperCard made the task of building > prototypes a trivial enterprise. Revolution is also easy to use to > build prototypes. The overhead that is usually associated with > building a project is for the most part abssent. You don't have to > cast and instantiate anything. Types are context-implied (see my > previous example). In short it is REALLY easy to build something > quickly. So is this good or bad? Last month I visited my brother and took my mountain bike so we could ride some trails. For various reasons my bike had road tyres on it so when I arrived I fitted some new nobby tyres. I enjoy cycling and have one of those cyclecomputers so I can record my rides. Unfortunately I'd long lost the manual for the cyclecomputer so couldn't modify the tyre diameter to reflect the new tyres. If you hit 80kmph you don't want it to only say 78.5:-) So for a couple of days I just jotted down the ride details on a piece of paper. Then one day when I had two hours to spare I whipped up a quick stack that consisted of two buttons - one to select the tyre size in the computer, the other to select the tyre size on the bike. Then 10 fields, basically 6 fields to enter the data in and 4 fields to show the 'corrected' data. Fields like 'Time' didn't need correcting. The longest part of the whole process was finding (on the internet, where I could have found the procedure to enter the new diameter into my cyclecomputer) and typing the 52 standard tyre sizes into a custom property, the single property being used by both buttons, and then creating the switch statement to relate these tyre sizes to their specific diameters! The next longest part was organising to transfer the data into the stack which stores the record of all my rides - a stack I created about 3 months ago to takeover from an AppleWorks spreadsheet:-) The fields and buttons only took minutes to place and size and the single function, a simple percentage adjustment which was used by all fields that needed correcting, took only a little longer. Could have saved on typing if I wasn't so partial for very descriptive variable names like tMyTyreSizeStoredInCyclecomputer Of course I do get a real kick out of the comments I get from my brother (always ribbing me about Macs being toys, he sells U$80,000 - 140,000+ software for a living) - for a Mac user you sure seem to tinker with the insides a lot. So my problem with this is, I must produce one of these every couple of weeks - OoooHhh look a problem, I could write a stack to solve that - but I never actually FINISH anything because I've 'discovered' another problem I could solve with REV! I never get around to building proper menus, the aesthetic leave a lot to be desired and I could count on one hand how many standalones I've actually produced. I have illusions of grandeur, that one day I'll make something for someone else, which is why I entered all 52 tyre sizes rather than just the two I needed. And I know I'm not the only one, I take great reassurance from the sporadic post I read of people who run everything within the IDE because their solutions are only for them! So consider yourself warned;-) From index at kenjikojima.com Thu Mar 9 09:24:24 2006 From: index at kenjikojima.com (Kenji Kojima) Date: Thu, 9 Mar 2006 09:24:24 -0500 Subject: Unicode Font List (Was Re: Revolution vs Visual Basic) In-Reply-To: <440F95E1.4070704@fourthworld.com> References: <440F31F1.5070109@paraboliclogic.com> <440F95E1.4070704@fourthworld.com> Message-ID: <4D414E36-8258-41F1-AAA6-4DBBA1ED1EA0@kenjikojima.com> > Richard Gaskin wrote: > Now what do we do to get a Font menu to display the font names > correctly? > Japanese sample: go url "http://www.kenjikojima.com/runrev/handbook/download/ jpnFontmenu.rev" -- Kenji Kojima CHIBI NINJA free: http://www.kenjikojima.com/chibinin/ From lan.kc.macmail at gmail.com Thu Mar 9 09:43:00 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 9 Mar 2006 22:43:00 +0800 Subject: The End of Dreamcard? In-Reply-To: <5DE14B83-50B5-48B9-892E-45809A896205@lexicall.org> References: <5DE14B83-50B5-48B9-892E-45809A896205@lexicall.org> Message-ID: On 3/9/06, Marielle Lange wrote: > > > I rather agree with the argument you make, but I disagree with the > way it is made, using the story of another person that nobody can > check up. I far prefer that attempts to convince non profit users on > this list to put the little money they have in revolution rather than > other products focus on a discussion of the intrinsic quality of the > product and customer support. OK, then substitute me. I can fully relate to the story Dan posted as I basically used exactly the same logic when I upgraded from REV Express (free at the time) to REV DreamCard (may not have been called DreamCard) and then to REV Studio. REV Express disappeared and I was pretty ticked off at not having a 'free' version for hobbiests to 'play with'. I even emailed REV and let them know what I thought. But to put it into perspective, I 'play with' trains, and I spend more annually on model trains than REV. I enjoy cycling, and spend more on my bike annually than I do on REV. See my recent post - subject REV vs Visual Basic - on how I use REV to support my cycling. I enjoy computers, and whilst I LOVE Perl, MySQL and other freebies. I still spend more annually on computer hardware and software (excluding REV) than on REV alone. Then again children do form a large part of the software expenditure pie (games). So, I'm never going to make money out of my trains (apart from a few sound investments), my bike, or from REV. Although I still hope that one day I'll actually script something that is useful to someone else. Please feel free to 'check up' my story. I'd love to send you a photo of my Live Steam engine or my new road bike;-) From liamlambert at mac.com Thu Mar 9 10:28:36 2006 From: liamlambert at mac.com (liamlambert) Date: Thu, 9 Mar 2006 15:28:36 +0000 Subject: importing list Message-ID: <0334E53D-5775-4866-8555-7667B2F0BB81@mac.com> Just a note to say thank you all I got it all working I was downloading database info from a web site 5000 files and filtering out a lot of info I did not need just leaving the address and some other info with help from this list I got it done in 6 hours and then printing them out on labels and putting the info into a db I ended up with a nice little app REV AND THIS LIST are really powerful things Thanks' a lot every body. Liam Lambert liamlambert at mac.com IRELAND From 3mcgrath at adelphia.net Thu Mar 9 10:29:51 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 9 Mar 2006 10:29:51 -0500 Subject: New MS Origami device Message-ID: <95C9C13D-E82E-4612-8744-ACE489C1F846@adelphia.net> i was wondering if Rev will jump on this OS for these new devices? Or if we will work out of the box? We've got Intel on the Mac and Origami (Win XP Tablet Modified) on Windows. http://money.cnn.com/2006/03/09/technology/microsoft_origami.reut/ index.htm?cnn=yes Tom Thomas J McGrath III 3mcgrath at adelphia.net 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 From 3mcgrath at adelphia.net Thu Mar 9 10:33:39 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 9 Mar 2006 10:33:39 -0500 Subject: Expanded DPI images for printing -Good News (news to me anyway)... In-Reply-To: References: Message-ID: Are we sure about this? I mean PNGs allow for a separate PPI for printing and screen display. I always assumed that apps like Rev used the PPI information for printing. Is this just Rev that is ignoring the other formats and just focusing on the pict format? I haven't test this and would really like to know what others have found. Thanks Stephen, Tom On Mar 9, 2006, at 2:13 AM, Stephen Barncard wrote: > In other words, Rev reads the DPI of the image from the file and > prints accordingly in the print region. This does not work with > PNG, Gif or jpg images, that show and print at screen resolution. > > So has rev always worked this way, or is this new? > Weren't we encouraged to not use picts anymore? > And finally, are PC users able to create picts? Thomas J McGrath III 3mcgrath at adelphia.net 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 From marty at vertex.ucls.uchicago.edu Thu Mar 9 10:40:59 2006 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Thu, 9 Mar 2006 09:40:59 -0600 (CST) Subject: Dictionary in OS X In-Reply-To: <20060309012221.6F341825B56@mail.runrev.com> References: <20060309012221.6F341825B56@mail.runrev.com> Message-ID: Gregory Lypny writes: > > I had read somewhere that it is possible to access some built-in Mac > applications, such as Dictionary, directly from the command line. > Now I was wondering whether it would also be possible to access those > applications through Revolution. I'm doing research that involves > indexing all the words in big text files. Of course, using the xTalk > definition of a word as any quoted string or string separated by one > or more spaces leaves me with many words that are not words we use in > the sense of dictionary words, things like acronyms, and others that > aren't relevant to me because they are proper nouns, such as company > or product names. So I was hoping to write a script that might check > whether each of the words in my index exists in the dictionary. > > Any thoughts would be most appreciated. Look in /usr/share/dict for the lists of words. You might be able to use these files for your index-checker. (As an aside, why wouldn't you want proper nouns in your index if they're relevant to your topic?) - marty -- Marty Billingsley (marty at ucls.uchicago.edu) The University of Chicago Laboratory Schools From 3mcgrath at adelphia.net Thu Mar 9 10:43:33 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 9 Mar 2006 10:43:33 -0500 Subject: 2.7 bugs In-Reply-To: <9CF00F63-F02A-40D5-A568-CA3938BFE2D4@dsl.pipex.com> References: <001901c63ab6$0696e8d0$1500a8c0@ACERLaptop> <403AED7B-CF0E-4CB5-89F4-54D56064CA12@dsl.pipex.com> <70ed6b130603081043t5c13d72ao67d884d9acf37bce@mail.gmail.com> <8C81105DF835ADF-B54-184AF@FWM-M31.sysops.aol.com> <03E22101-F887-4B7E-B124-C67278C65AD4@dsl.pipex.com> <44101148.961165E0@club-internet.fr> <9CF00F63-F02A-40D5-A568-CA3938BFE2D4@dsl.pipex.com> Message-ID: <0C1634D5-6696-4557-AB2D-5315C3DCE8DA@adelphia.net> Dave, Yeah but these bugs that are being reported recently are almost all in the development environment and not in the "core". I have yet to have any of my standalone applications either on Mac or Win crash. It is the IDE that tends to be buggy for certain things and the team at RR have focused always on the engine level bugs first and fixed those. 2cents Tom On Mar 9, 2006, at 6:33 AM, David Burgun wrote: > I've had to write some externals too for features that are not in > RunRev already. The point is that you found a work-around, however > if you have a bug at the "core" of RunRev there is no work-around > except to use a different development system. Also once you have > written your external all you have to do from them on is use it in > all other projects that require that feature, whereas if it's a bug > in RunRev then you have to remember that feature "X" does not work > in all other projects. Thomas J McGrath III 3mcgrath at adelphia.net 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 From garrett at paraboliclogic.com Thu Mar 9 10:49:37 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 09 Mar 2006 07:49:37 -0800 Subject: 2.7 bugs In-Reply-To: <198719C5-6172-480A-8D4F-C085E5B90A8A@dsl.pipex.com> References: <198719C5-6172-480A-8D4F-C085E5B90A8A@dsl.pipex.com> Message-ID: <44104E91.9030808@paraboliclogic.com> It's nice to see someone else who feels as I do about the bugs. ;-) -Garrett From rcozens at pon.net Thu Mar 9 11:32:52 2006 From: rcozens at pon.net (Rob Cozens) Date: Thu, 9 Mar 2006 08:32:52 -0800 Subject: New MS Origami device In-Reply-To: <95C9C13D-E82E-4612-8744-ACE489C1F846@adelphia.net> References: <95C9C13D-E82E-4612-8744-ACE489C1F846@adelphia.net> Message-ID: <5AE9A418-AF8A-11DA-8981-0030657E1638@pon.net> Hi Tom, > i was wondering if Rev will jump on this OS for these new devices? Or > if we will work out of the box? RR isn't Tablet PC compliant now; so it won't be Origami compliant out-of-the-box. Bugzilla #3252 requests TPC compliance for RunRev. You can vote for this at 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) From rcozens at pon.net Thu Mar 9 11:33:17 2006 From: rcozens at pon.net (Rob Cozens) Date: Thu, 9 Mar 2006 08:33:17 -0800 Subject: Stack on a server In-Reply-To: <440F8873.2030300@comcast.net> References: <440F8873.2030300@comcast.net> Message-ID: <6999F06B-AF8A-11DA-8981-0030657E1638@pon.net> Hi Marty, > Can multiple people simultaneously access data from a Rev stack on a > server (from a standalone)? Is there a recommended method of doing so? > > Only for read-only access as Devin described. Since a stack is entirely RAM-resident, one user can open the stack, keep it open while others make changes, and then save the stack--undoing all changes made since he/she originally opened the file. The most practical way I have found to do do this is via a db server app that supports record locking. See . 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) From rcozens at pon.net Thu Mar 9 11:33:48 2006 From: rcozens at pon.net (Rob Cozens) Date: Thu, 9 Mar 2006 08:33:48 -0800 Subject: No OpenStack ..... ! Now Ending ! In-Reply-To: References: Message-ID: <7C5F0073-AF8A-11DA-8981-0030657E1638@pon.net> Francis, > One more small point. When I drop my files onto (would > you believe it ?) a Lexar JumpDrive, and move to the PC, > I find that I have twice the files I thought. I get the same > number of Alias ? files, equivalent to the files I copied. > How do I remove this problem ? > I have simply ignored the files that whose names start with "._". I suspect these files contain the resource fork data -- if the file has any. Since Rev stacks have nothing in the resource fork, it shouldn't be an issue...and hasn't been for moi. Rob Cozens, CCW Serendipity Software Company "A human being is a part of the whole, called by us "Universe," a part limited in time and space. He experiences himself, his thoughts and feelings as something separated from the rest--a kind of optical delusion of his consciousness. This delusion is a kind of prison for us, restricting us to our personal desires and to affection for a few persons nearest to us. Our task must be to free ourselves from this prison by widening our circle of compassion to embrace all living creatures and the whole nature in its beauty." -- Albert Einstein From JimAultWins at yahoo.com Thu Mar 9 11:45:26 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 09 Mar 2006 08:45:26 -0800 Subject: importing list In-Reply-To: <440FEF60.7010901@tweedly.net> Message-ID: On 3/9/06 1:03 AM, "Alex Tweedly" wrote: > Jim, you can't do that (at least, not if I interpreted Liam's email > correctly). I'm pretty sure he is saying that the file contains > multiple "entries", each entry consisting of the multiple "fields". If > you had a single entry, then this 'split'-based technique is the one I'd > use - but it can't be used while there are multiple entries .... you'd > finish up with an array element for each field name, containing the data > for the last entry. > > You could keep the outer loop from Devin's code, to create tCurrRecord, > and then split tCurrRecord Yes, Alex, you are correct about the multiple 'records' per file, and I was thinking that in the beginning, but was not sure since the description of the task was not clear. As you say, you would need to put another repeat level to parse the multiple 'records' per file, then do the array stuff. After assuming one-per-file, I offered the attached alternative. I would design a more robust approach by using regEx, assuming some errors, the possibility multiple records per file, and even test for incomplete records, missing values, as well as incomplete html downloads. I have several programs that do very robust html download and error checking for my business projects. One program I use as a lynch pin is AltBrowser by Altuit. Glad you studied this well enough to see the limitations :-) Jim Ault Las Vegas > Jim Ault wrote: > >> --------------- >> Another approach would have an advantage or two. >> ONE - using a web address like http://website.com would not use the colon as >> a delimiter, since the 'split' command only considers the first occurance >> TWO - if any glitches occurred that added spurious lines that did not match >> an existing field, these would be ignored. (eg. tab, space) >> THREE - if your labels have a leading/trailing space this will get cleaned >> off >> FOUR -- filter rawData without empty >> >> NOTE: I would recommend that you not use "/" in your field label (eg. >> Principal/Director) can lead to problems later with scripting. >> >> ------------------------------------------------------------- From 3mcgrath at adelphia.net Thu Mar 9 11:45:59 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 9 Mar 2006 11:45:59 -0500 Subject: New MS Origami device In-Reply-To: <5AE9A418-AF8A-11DA-8981-0030657E1638@pon.net> References: <95C9C13D-E82E-4612-8744-ACE489C1F846@adelphia.net> <5AE9A418-AF8A-11DA-8981-0030657E1638@pon.net> Message-ID: <74A98F77-FB8F-403A-87F5-34BD8E8E142F@adelphia.net> Done and voted on. T On Mar 9, 2006, at 11:32 AM, Rob Cozens wrote: > > Hi Tom, > >> i was wondering if Rev will jump on this OS for these new devices? >> Or if we will work out of the box? > > RR isn't Tablet PC compliant now; so it won't be Origami compliant > out-of-the-box. > > Bugzilla #3252 requests TPC compliance for RunRev. You can vote > for this at > > > > > Rob Cozens > CCW, Serendipity Software Company Thomas J McGrath III 3mcgrath at adelphia.net 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 From wlists at fireworksmm.com Thu Mar 9 11:50:04 2006 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Thu, 9 Mar 2006 11:50:04 -0500 Subject: New MS Origami device In-Reply-To: <5AE9A418-AF8A-11DA-8981-0030657E1638@pon.net> References: <95C9C13D-E82E-4612-8744-ACE489C1F846@adelphia.net> <5AE9A418-AF8A-11DA-8981-0030657E1638@pon.net> Message-ID: <0B5CCEBE-E6DC-4973-9EC5-819DBA64C51D@fireworksmm.com> Having said this... I run a custom home-control system on my tablet pc without any issues, just no tablet pc goodies. W. On Mar 9, 2006, at 11:32 AM, Rob Cozens wrote: > > Hi Tom, > >> i was wondering if Rev will jump on this OS for these new devices? >> Or if we will work out of the box? > > RR isn't Tablet PC compliant now; so it won't be Origami compliant > out-of-the-box. > > Bugzilla #3252 requests TPC compliance for RunRev. You can vote > for this at From knoxnet at dmrtc.net Thu Mar 9 12:08:53 2006 From: knoxnet at dmrtc.net (Steve Knox) Date: Thu, 9 Mar 2006 12:08:53 -0500 Subject: Slow Dialogs in Rev 2.7 In-Reply-To: References: Message-ID: I see this occasionally too, but not real often. I'm also running 10.4.4. Does it real bad in Appleworks 6.2.7. Might be a Carbon issue? 10.4.5 is out, but haven't tried it yet. Steve On Mar 9, 2006, at 3:20 AM, Paul Claude wrote: > Well, I've copied the whole revolution folder in my iBook, and > there it > works normally (mac os x 10.3.9), so it's not a plugin issue. I > think the > problem could be related to Mac Os 10.4.4. > > on 08/03/2006 19:16, J. Landman Gay at jacque at hyperactivesw.com wrote: > >> I am completely puzzled. I don't think anyone else has this >> problem or >> they would have said so. It must be something about your particular >> system. All I can suggest is to reinstall Revolution. >> >> Sometimes virus checkers interfere and cause slowdowns, but that >> doesn't >> seem too likely since your other windows open okay. >> >> If you have any custom plugins, try removing them and restarting Rev. >> Also make sure you have no custom frontscripts or backscripts. I hope >> someone else can think of other things to try, because what is >> happening >> is not normal behavior. > From rjb at robelko.com Thu Mar 9 12:03:34 2006 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 9 Mar 2006 18:03:34 +0100 Subject: ._ files (was: No OpenStack ..... ! Now Ending !) In-Reply-To: <7C5F0073-AF8A-11DA-8981-0030657E1638@pon.net> References: <7C5F0073-AF8A-11DA-8981-0030657E1638@pon.net> Message-ID: >Francis, > >>One more small point. When I drop my files onto (would >>you believe it ?) a Lexar JumpDrive, and move to the PC, >>I find that I have twice the files I thought. I get the same >>number of Alias ? files, equivalent to the files I copied. >>How do I remove this problem ? >> > >I have simply ignored the files that whose names start with "._". > >I suspect these files contain the resource fork data -- if the file >has any. Since Rev stacks have nothing in the resource fork, it >shouldn't be an issue...and hasn't been for moi. > >Rob Cozens, CCW >Serendipity Software Company For those wondering about those ._ files, here is the explanation from the "guilty" party, Apple itself: http://docs.info.apple.com/article.html?artnum=106510 For most files, these ._ are actually empty and in case of Rev stacks safely ditched. Robert From rcozens at pon.net Thu Mar 9 12:12:58 2006 From: rcozens at pon.net (Rob Cozens) Date: Thu, 9 Mar 2006 09:12:58 -0800 Subject: New MS Origami device In-Reply-To: <0B5CCEBE-E6DC-4973-9EC5-819DBA64C51D@fireworksmm.com> References: <95C9C13D-E82E-4612-8744-ACE489C1F846@adelphia.net> <5AE9A418-AF8A-11DA-8981-0030657E1638@pon.net> <0B5CCEBE-E6DC-4973-9EC5-819DBA64C51D@fireworksmm.com> Message-ID: Hi Wally, > Having said this... I run a custom home-control system on my tablet pc > without any issues, just no tablet pc goodies. I'm running RR v2.7 on my TPC, working around compliance issues. My main hangup seems to be that ink input is sent to a RR field as Unicode; but characters typed on the on-screen keyboard are 8-bit. I have not tried voice input -- dictation or command -- with Revolution. If you or anybody else is interested, contact me privately for a copy of the eMail I sent to RR Support after installing Microsoft's TPC SDK and reading the documentation. 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) From 3mcgrath at adelphia.net Thu Mar 9 12:24:00 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 9 Mar 2006 12:24:00 -0500 Subject: ._ files (was: No OpenStack ..... ! Now Ending !) In-Reply-To: References: <7C5F0073-AF8A-11DA-8981-0030657E1638@pon.net> Message-ID: What this article doesn't say is what happens if you don't see both file, then what does not 'safely ignoring' the file do? Is it unsafe to delete the file in some cases? And how does the file get put back together? Does the OS know how to do this? "The second new file has the name of the original file prefixed by a "._ " and contains the resource fork of the original file. If you see both files, the ._ file can be safely ignored. Sometimes when deleting a file, the ._ component will not be deleted. If this occurs you can safely delete the ._ file." Tom On Mar 9, 2006, at 12:03 PM, Robert Brenstein wrote: >> Francis, >> >>> One more small point. When I drop my files onto (would >>> you believe it ?) a Lexar JumpDrive, and move to the PC, >>> I find that I have twice the files I thought. I get the same >>> number of Alias ? files, equivalent to the files I copied. >>> How do I remove this problem ? >>> >> >> I have simply ignored the files that whose names start with "._". >> >> I suspect these files contain the resource fork data -- if the >> file has any. Since Rev stacks have nothing in the resource fork, >> it shouldn't be an issue...and hasn't been for moi. >> >> Rob Cozens, CCW >> Serendipity Software Company > > > For those wondering about those ._ files, here is the explanation > from the "guilty" party, Apple itself: > > http://docs.info.apple.com/article.html?artnum=106510 > > For most files, these ._ are actually empty and in case of Rev > stacks safely ditched. > > Robert > Thomas J McGrath III 3mcgrath at adelphia.net 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 From pevensen at siboneylg.com Thu Mar 9 12:31:32 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 09 Mar 2006 11:31:32 -0600 Subject: Player object and memory Message-ID: <6.2.1.2.2.20060309113126.066efb48@exchange.slg.com> I am trying to play a sequence of MP3s. I am using 3 interleaved players to speed up the transition between the sounds. I set up the first 3 sounds on Player 1 - Player 3. I then start Player 1 and when I get a playStopped message, I start Player 2 and set the filename for Player 1 to the next sound file for that player (if there is one). Is there any memory management issues I need to be aware of? My stack freezes eventually on XP, both as a standalone, and in the IDE. I am doing this under Rev 2.6.1, but it also happens on 2.7. In watching the messages, it freezes right after a startPlaying mesage is sent (but no sound plays, and I get a watch cursor and have to force quit Rev). It doesn't freeze right away, but only after I have played a (seeming variable) number sound sequences. Is this a bug? Do I need to manually free any resources? I haven't tested it most on Mac OS X, but I haven't seen it freeze on there. In putting in copious puts to a field, before it freezes, there is a long pause when I set the next filename in QueueNext. This happens after I start the next player whose sound does NOT play. I have a group setup to contain the players. I originally had the code attached to each player and had the same result. I have generalized my code and moved it to the group script. My group script is the following (perhaps someone can see a problem): function NextPlayerNumber pName put word 2 of pName into tPlayerNumber put tPlayerNumber + 1 into tPlayerNumber if tPlayerNumber > the number of players of me then put 1 into tPlayerNumber return tPlayerNumber end NextPlayerNumber on playStopped put NextPlayerNumber(the short name of the target) into tNextPlayer if the cpDone of player ("Player" && tNextPlayer) of me is not true then start player ("Player" && tNextPlayer) of me QueueNext else StoppedReading end if end playStopped on QueueNext put the cpSoundList of the target into tCurrentSoundList if tCurrentSoundList is not empty then if there is no file the first item of tCurrentSoundList then ReportError "Cannot find file:" && the first item of tCurrentSoundList, "Missing Sound File" set the cpDone of the target to true else lock messages set the filename of the target to the first item of tCurrentSoundList unlock messages delete item 1 of tCurrentSoundList set the cpSoundList of the target to tCurrentSoundList end if else set the cpDone of the target to true end if end QueueNext on SetSoundFiles pSoundFileList put the number of players in me into tNumPlayers -- split up the list among the players, interleaving the sounds repeat with i = 1 to the number of items in pSoundFileList put (i - 1) mod tNumPlayers + 1 into tPlayerNumber put tPlayerList[tPlayerNumber] & item i of pSoundFileList & "," into tPlayerList[tPlayerNumber] end repeat -- queue up the first sound file for each lock messages repeat with i = 1 to tNumPlayers if there is no file the first item of tPlayerList[i] then ReportError "Cannot find file:" && the first item of tPlayerList[i], "Missing Sound File" set the cpDone of player ("Player" && i) to true else set the filename of player ("Player" && i) to the first item of tPlayerList[i] delete the first item of tPlayerList[i] set the cpSoundList of player ("Player" && i) to tPlayerList[i] set the cpDone of player ("Player" && i) to false end if end repeat unlock messages end SetSoundFiles on StartPlaying start player "Player 1" of me end StartPlaying Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From pevensen at siboneylg.com Thu Mar 9 12:32:23 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 09 Mar 2006 11:32:23 -0600 Subject: Player object and memory Message-ID: <6.2.1.2.2.20060309113221.064ccc68@exchange.slg.com> I am trying to play a sequence of MP3s. I am using 3 interleaved players to speed up the transition between the sounds. I set up the first 3 sounds on Player 1 - Player 3. I then start Player 1 and when I get a playStopped message, I start Player 2 and set the filename for Player 1 to the next sound file for that player (if there is one). Is there any memory management issues I need to be aware of? My stack freezes eventually on XP, both as a standalone, and in the IDE. I am doing this under Rev 2.6.1, but it also happens on 2.7. In watching the messages, it freezes right after a startPlaying mesage is sent (but no sound plays, and I get a watch cursor and have to force quit Rev). It doesn't freeze right away, but only after I have played a (seeming variable) number sound sequences. Is this a bug? Do I need to manually free any resources? I haven't tested it most on Mac OS X, but I haven't seen it freeze on there. In putting in copious puts to a field, before it freezes, there is a long pause when I set the next filename in QueueNext. This happens after I start the next player whose sound does NOT play. I have a group setup to contain the players. I originally had the code attached to each player and had the same result. I have generalized my code and moved it to the group script. My group script is the following (perhaps someone can see a problem): function NextPlayerNumber pName put word 2 of pName into tPlayerNumber put tPlayerNumber + 1 into tPlayerNumber if tPlayerNumber > the number of players of me then put 1 into tPlayerNumber return tPlayerNumber end NextPlayerNumber on playStopped put NextPlayerNumber(the short name of the target) into tNextPlayer if the cpDone of player ("Player" && tNextPlayer) of me is not true then start player ("Player" && tNextPlayer) of me QueueNext else StoppedReading end if end playStopped on QueueNext put the cpSoundList of the target into tCurrentSoundList if tCurrentSoundList is not empty then if there is no file the first item of tCurrentSoundList then ReportError "Cannot find file:" && the first item of tCurrentSoundList, "Missing Sound File" set the cpDone of the target to true else lock messages set the filename of the target to the first item of tCurrentSoundList unlock messages delete item 1 of tCurrentSoundList set the cpSoundList of the target to tCurrentSoundList end if else set the cpDone of the target to true end if end QueueNext on SetSoundFiles pSoundFileList put the number of players in me into tNumPlayers -- split up the list among the players, interleaving the sounds repeat with i = 1 to the number of items in pSoundFileList put (i - 1) mod tNumPlayers + 1 into tPlayerNumber put tPlayerList[tPlayerNumber] & item i of pSoundFileList & "," into tPlayerList[tPlayerNumber] end repeat -- queue up the first sound file for each lock messages repeat with i = 1 to tNumPlayers if there is no file the first item of tPlayerList[i] then ReportError "Cannot find file:" && the first item of tPlayerList[i], "Missing Sound File" set the cpDone of player ("Player" && i) to true else set the filename of player ("Player" && i) to the first item of tPlayerList[i] delete the first item of tPlayerList[i] set the cpSoundList of player ("Player" && i) to tPlayerList[i] set the cpDone of player ("Player" && i) to false end if end repeat unlock messages end SetSoundFiles on StartPlaying start player "Player 1" of me end StartPlaying Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From soapdog at mac.com Thu Mar 9 12:32:43 2006 From: soapdog at mac.com (Andre Garzia) Date: Thu, 9 Mar 2006 14:32:43 -0300 Subject: ._ files (was: No OpenStack ..... ! Now Ending !) In-Reply-To: References: <7C5F0073-AF8A-11DA-8981-0030657E1638@pon.net> Message-ID: <575EDA8E-626C-4CDF-96FC-912C1D096A26@mac.com> Those prefixed files are created everytime you copy something from HFS, HFS+ partitions to some flat file partition such as CDFS, Fat32, Ext2... The finder creates it so that it does not lose resource fork information. Deleting it might endanger your app depending on how the app was programed. On an app that makes heavy use of the resource fork for storing icons, images and stuff, you can be sure that deleting that file will break things. The finder will also reassemble the files as they are moved back onto HFS/HFS+ Cheers andre PS: Gotta love those ADC docs... On Mar 9, 2006, at 2:24 PM, Thomas McGrath III wrote: > What this article doesn't say is what happens if you don't see both > file, then what does not 'safely ignoring' the file do? Is it > unsafe to delete the file in some cases? > > And how does the file get put back together? Does the OS know how > to do this? > > > "The second new file has the name of the original file prefixed by > a "._ " and contains the resource fork of the original file. If you > see both files, the ._ file can be safely ignored. Sometimes when > deleting a file, the ._ component will not be deleted. If this > occurs you can safely delete the ._ file." > > Tom > > On Mar 9, 2006, at 12:03 PM, Robert Brenstein wrote: > >>> Francis, >>> >>>> One more small point. When I drop my files onto (would >>>> you believe it ?) a Lexar JumpDrive, and move to the PC, >>>> I find that I have twice the files I thought. I get the same >>>> number of Alias ? files, equivalent to the files I copied. >>>> How do I remove this problem ? >>>> >>> >>> I have simply ignored the files that whose names start with "._". >>> >>> I suspect these files contain the resource fork data -- if the >>> file has any. Since Rev stacks have nothing in the resource >>> fork, it shouldn't be an issue...and hasn't been for moi. >>> >>> Rob Cozens, CCW >>> Serendipity Software Company >> >> >> For those wondering about those ._ files, here is the explanation >> from the "guilty" party, Apple itself: >> >> http://docs.info.apple.com/article.html?artnum=106510 >> >> For most files, these ._ are actually empty and in case of Rev >> stacks safely ditched. >> >> Robert >> > > Thomas J McGrath III > 3mcgrath at adelphia.net > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Thu Mar 9 12:33:53 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 9 Mar 2006 09:33:53 -0800 (PST) Subject: No OpenStack ..... ! Now Ending ! In-Reply-To: <7C5F0073-AF8A-11DA-8981-0030657E1638@pon.net> Message-ID: This is exactly the same problem I had with my students last week. Only neither one would open. Judy On Thu, 9 Mar 2006, Rob Cozens wrote: > > Francis, > > > One more small point. When I drop my files onto (would > > you believe it ?) a Lexar JumpDrive, and move to the PC, > > I find that I have twice the files I thought. I get the same > > number of Alias ? files, equivalent to the files I copied. > > How do I remove this problem ? > > > > I have simply ignored the files that whose names start with "._". > > I suspect these files contain the resource fork data -- if the file has > any. Since Rev stacks have nothing in the resource fork, it shouldn't > be an issue...and hasn't been for moi. From aturban at qwest.net Thu Mar 9 12:35:24 2006 From: aturban at qwest.net (Arthur Urban) Date: Thu, 09 Mar 2006 10:35:24 -0700 Subject: RegEx Question Message-ID: <4410675C.80300@qwest.net> Is there a syntax for regular expressions in Rev that will allow a case-insensitive search? Thanx! From devin_asay at byu.edu Thu Mar 9 12:37:13 2006 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 9 Mar 2006 10:37:13 -0700 Subject: document icon problems on OSX In-Reply-To: <48b4884d33148c75bc499346d110f3c3@unimelb.edu.au> References: <20060307015756.348CA826405@mail.runrev.com> <48b4884d33148c75bc499346d110f3c3@unimelb.edu.au> Message-ID: <9C91188E-A672-4BCD-A3A8-BD4D6FD351F0@byu.edu> On Mar 8, 2006, at 7:20 PM, Terry Judd wrote: > Not sure whether there is something peculiar with my particular Mac > but I don't seem to be able to get the correct icon showing on > documents created by my standalone (I'm using a custom creator code > but sticking with the RSTK filetype). No matter whether I assign a > custom document icon via the standalone builder or not my documents > invariably appear with the Rev application icon. I've checked the > contents of the app package and the correct icon seems to be in > place (RevolutionDoc.icns) but still no go. (OS 10.3.9, Rev 2.6/2.7) > > Any ideas? I've had a similar problem, but with application icons on OS X. I launch the app, and the correct icon appears in the Dock, but the finder icon remains the generic application icon. I solve the problem by opening the Get Info window for the app, clicking the icon, and hitting delete. Bingo! The correct icon now appears in the Finder. You could try this same technique on documents created by your app and see if it works. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From JimAultWins at yahoo.com Thu Mar 9 12:45:17 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 09 Mar 2006 09:45:17 -0800 Subject: RegEx Question In-Reply-To: <4410675C.80300@qwest.net> Message-ID: (?i) -- case insensitive (?Ui) --Ungreedy and case insensitive (?Usi) --Ungreedy, ignore end of line, case insensitive Jim Ault Las Vegas On 3/9/06 9:35 AM, "Arthur Urban" wrote: > Is there a syntax for regular expressions in Rev that will allow a > case-insensitive search? Thanx! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Thu Mar 9 12:45:53 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 09 Mar 2006 09:45:53 -0800 Subject: Player object and memory In-Reply-To: <6.2.1.2.2.20060309113126.066efb48@exchange.slg.com> Message-ID: Recently, Peter T. Evensen wrote: > I am trying to play a sequence of MP3s. I am using 3 interleaved players > to speed up the transition between the sounds. I set up the first 3 sounds > on Player 1 - Player 3. I then start Player 1 and when I get a playStopped > message, I start Player 2 and set the filename for Player 1 to the next > sound file for that player (if there is one). Is there any memory > management issues I need to be aware of? My stack freezes eventually on > XP, both as a standalone, and in the IDE. You might try setting the fileName of each player to empty before setting new fileNames. I had an issue way back that was alleviated by doing this -- it might help in your situation. Also, you might make sure that no playStopped message is being sent when *setting* the fileName of a player. This was a bug some time ago that caused some frustration -- don't know if it was ever fixed, but even if it is still present, I can't say if it would be a problem in your situation. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From pevensen at siboneylg.com Thu Mar 9 12:56:37 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 09 Mar 2006 11:56:37 -0600 Subject: Player object and memory In-Reply-To: References: <6.2.1.2.2.20060309113126.066efb48@exchange.slg.com> Message-ID: <6.2.1.2.2.20060309115529.06842b30@exchange.slg.com> Scott, Thanks for your input. I'll try setting it to empty and then setting it to the next filename. I was thinking part of the issue was that at one point I was setting the filename to empty and I thought that might be causing the issue. I'm locking message before I set the filename so I don't get a playStopped message. I had seen that issue before, which caused some nasty recursion in my other program. At 11:45 AM 3/9/2006, you wrote: >Recently, Peter T. Evensen wrote: > > > I am trying to play a sequence of MP3s. I am using 3 interleaved players > > to speed up the transition between the sounds. I set up the first 3 sounds > > on Player 1 - Player 3. I then start Player 1 and when I get a playStopped > > message, I start Player 2 and set the filename for Player 1 to the next > > sound file for that player (if there is one). Is there any memory > > management issues I need to be aware of? My stack freezes eventually on > > XP, both as a standalone, and in the IDE. > >You might try setting the fileName of each player to empty before setting >new fileNames. I had an issue way back that was alleviated by doing this -- >it might help in your situation. > >Also, you might make sure that no playStopped message is being sent when >*setting* the fileName of a player. This was a bug some time ago that >caused some frustration -- don't know if it was ever fixed, but even if it >is still present, I can't say if it would be a problem in your situation. > >Regards, > >Scott Rossi >Creative Director >Tactile Media, Multimedia & Design >----- >E: scott at tactilemedia.com >W: http://www.tactilemedia.com > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From katir at hindu.org Thu Mar 9 03:38:49 2006 From: katir at hindu.org (Sivakatirswami) Date: Wed, 8 Mar 2006 22:38:49 -1000 Subject: OT: Linux & Revolution Message-ID: <6A73AD09-5CC2-4EBD-B1C3-7C2BCEA48888@hindu.org> We'll be upgrading our web server to a new box soon. Among various variables is the OS on the box. Red Hat Fedora Linux Core 3 is a high probable on the new box. Should I anticipate any problem with the Linux version of Revolution? Linux wizards please set me straight here off list. Thanks! Sivakatirswami From JimAultWins at yahoo.com Thu Mar 9 13:03:11 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 09 Mar 2006 10:03:11 -0800 Subject: RegEx Question In-Reply-To: Message-ID: Pay attention that these codes ARE always case sensitive, 'Usi' On 3/9/06 9:45 AM, "Jim Ault" wrote: > (?i) -- case insensitive > (?Ui) --Ungreedy and case insensitive > (?Usi) --Ungreedy, ignore end of line, case insensitive > > Jim Ault > Las Vegas > > On 3/9/06 9:35 AM, "Arthur Urban" wrote: > >> Is there a syntax for regular expressions in Rev that will allow a >> case-insensitive search? Thanx! From jperryl at ecs.fullerton.edu Thu Mar 9 13:06:42 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 9 Mar 2006 10:06:42 -0800 (PST) Subject: [FR] [EN]Re: The End of Dreamcard? In-Reply-To: <1hbxox0.fd83sq1bzmg00M%mcdomi@free.fr> Message-ID: Hmmmm... I was going to stay out of this but inasmuch as others have stepped up to the plate it seems it's my turn to become flamebait. I, too, have a friend. She's an educator (boo, hiss!). She is lucky to have survived three or four rounds of layoffs at her university, part of a larger chain which has seen its funding decreased by 20% and more over the last couple of years even as enrollement has increased. Her department is less lucky. The discipline has been seeing record low enrollments nationwide, which has translated in her department's losing something like one full-time faculty position per year for several years. Her department's ftp server was cobbled together from parts of various broken-down old computers. Her computer lab is so old that, when she agreed to allow a university photographer to photograph her class for various promotional brochures, the photographer was sufficiently moved to shoot IN THE DARK without the lights on and focused on a student using the overhead because showing the lab machines themselves would have been an embarassment for the university. Up until a year ago those machines had only 128 MB RAM. And her department had to go begging to higher-ups for the money for it. Oh, and that old ftp server? It's corrupted several of the critical files and applications used for her class. Well, application isn't the right word, really. The proper word is "demo" because the department doesn't have the funds to buy applications such as image editors, animation software, 3D modeling software, and sound-editing software needed for a multimedia class. And, so my friend has had to spend many hours crawling the web looking for demo replacements. And, as she tells me, it's tough going inasmuch as her lab still runs OS 9. She doesn't get paid for this time. The scanner doesn't work. It takes 5 minutes to print a text file over the network. Students needing to edit video or convert from one video file format to another use the instructor's QT Pro license. Those wanting to use a midi keyboard or a Wacom drawing tablet use those belonging to the instructor. By now you have probably figured out that I am my own best friend. ;-) And while I am not sounding the call for a dozen weepy violins, I suspect that other educators on the list might well tell similar tales. Judy From ambassador at fourthworld.com Thu Mar 9 13:14:04 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 09 Mar 2006 10:14:04 -0800 Subject: ._ files In-Reply-To: References: <7C5F0073-AF8A-11DA-8981-0030657E1638@pon.net> Message-ID: <4410706C.5070700@fourthworld.com> Robert Brenstein wrote: > For those wondering about those ._ files, here is the explanation from > the "guilty" party, Apple itself: > > http://docs.info.apple.com/article.html?artnum=106510 > > For most files, these ._ are actually empty and in case of Rev stacks > safely ditched. So in all cases where the file has no resource fork (many Classic file, most OS X files, and just about all Rev stacks, MP3s, MPEGs, and more) it's merely a waste of time and space. That Apple provides no option for the user to be able to decide whether this happens is an unfortunate design decision. That Apple does this for files that have no resource fork is a bug. That is, it would be a bug but another poster here already pointed out that no software vendor in the world 'cept RunRev ever ships anything with known bugs. ;) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From pevensen at siboneylg.com Thu Mar 9 13:18:50 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 09 Mar 2006 12:18:50 -0600 Subject: Player object and memory In-Reply-To: References: <6.2.1.2.2.20060309113126.066efb48@exchange.slg.com> Message-ID: <6.2.1.2.2.20060309121605.068a8828@exchange.slg.com> Still hangs, even if I set the filename to empty. I did this: lock messages set the filename of the target to empty set the filename of the target to the first item of tCurrentSoundList unlock messages Is that what you had in mind? Any other suggestions? This is becoming a show-stopper. I couldn't get a SMIL file to work over the network. It wouldn't play all the files (it would skip some to keep up). At 11:45 AM 3/9/2006, you wrote: >Recently, Peter T. Evensen wrote: > > > I am trying to play a sequence of MP3s. I am using 3 interleaved players > > to speed up the transition between the sounds. I set up the first 3 sounds > > on Player 1 - Player 3. I then start Player 1 and when I get a playStopped > > message, I start Player 2 and set the filename for Player 1 to the next > > sound file for that player (if there is one). Is there any memory > > management issues I need to be aware of? My stack freezes eventually on > > XP, both as a standalone, and in the IDE. > >You might try setting the fileName of each player to empty before setting >new fileNames. I had an issue way back that was alleviated by doing this -- >it might help in your situation. > >Also, you might make sure that no playStopped message is being sent when >*setting* the fileName of a player. This was a bug some time ago that >caused some frustration -- don't know if it was ever fixed, but even if it >is still present, I can't say if it would be a problem in your situation. > >Regards, > >Scott Rossi >Creative Director >Tactile Media, Multimedia & Design >----- >E: scott at tactilemedia.com >W: http://www.tactilemedia.com > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From gregory.lypny at videotron.ca Thu Mar 9 13:34:04 2006 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 9 Mar 2006 13:34:04 -0500 Subject: Dictionary in OS X In-Reply-To: <20060309165721.575D8825D68@mail.runrev.com> References: <20060309165721.575D8825D68@mail.runrev.com> Message-ID: <2F4B6011-6073-47F3-A9A6-52EC331A1920@videotron.ca> Thank you, Marty. But I'm afraid that I don't have a folder named "share". I tried "shared" but it's empty. I'm not interested in proper nouns are the moment because I've already created a separate index for company names. I may bring in other proper nouns later, but for the time being, I'll be looking at a short list of finance-related terms. Regards, Greg On Thu, Mar 9, 2006, at 11:57 AM, use-revolution- request at lists.runrev.com wrote: > Look in /usr/share/dict for the lists of words. You might be able > to use these files for your index-checker. > > (As an aside, why wouldn't you want proper nouns in your index if > they're > relevant to your topic?) > > - marty > From scott at tactilemedia.com Thu Mar 9 13:40:08 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 09 Mar 2006 10:40:08 -0800 Subject: Player object and memory In-Reply-To: <6.2.1.2.2.20060309121605.068a8828@exchange.slg.com> Message-ID: Recently, Peter T. Evensen wrote: > Still hangs, even if I set the filename to empty. I did this: > > lock messages > set the filename of the target to empty > set the filename of the target to the first item of tCurrentSoundList > unlock messages > > Is that what you had in mind? Yes, but really you would call it every time you change sound files (not just the first time). I would expect using this the first time you set a filename would have no effect -- the code is supposed to "clear out" the player for the *next* sound file to be played. If your stack is hanging the *first* time filenames are set, something else is going on. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From pevensen at siboneylg.com Thu Mar 9 13:50:32 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 09 Mar 2006 12:50:32 -0600 Subject: Player object and memory In-Reply-To: References: <6.2.1.2.2.20060309121605.068a8828@exchange.slg.com> Message-ID: <6.2.1.2.2.20060309124551.069b3e90@exchange.slg.com> It hangs someplace down the line (i.e., not the first file name). The code I have below IS used to set every filename, but it is still hanging. I thought maybe the lock messages was causing a legitimate playStopped to be missed, so I modified it to use a custom property as a semaphore and it still hangs. I tried to set the filename to empty and then send a message to the target in 500 milliseconds that sets the new filename, along with using the semaphores, and it still hangs. :( At 12:40 PM 3/9/2006, you wrote: >Recently, Peter T. Evensen wrote: > > > Still hangs, even if I set the filename to empty. I did this: > > > > lock messages > > set the filename of the target to empty > > set the filename of the target to the first item of tCurrentSoundList > > unlock messages > > > > Is that what you had in mind? > >Yes, but really you would call it every time you change sound files (not >just the first time). I would expect using this the first time you set a >filename would have no effect -- the code is supposed to "clear out" the >player for the *next* sound file to be played. If your stack is hanging the >*first* time filenames are set, something else is going on. > >Regards, > >Scott Rossi >Creative Director >Tactile Media, Multimedia & Design >----- >E: scott at tactilemedia.com >W: http://www.tactilemedia.com Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From rjb at robelko.com Thu Mar 9 13:49:20 2006 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 9 Mar 2006 19:49:20 +0100 Subject: ._ files In-Reply-To: <4410706C.5070700@fourthworld.com> References: <7C5F0073-AF8A-11DA-8981-0030657E1638@pon.net> <4410706C.5070700@fourthworld.com> Message-ID: >Robert Brenstein wrote: >>For those wondering about those ._ files, here is the explanation >>from the "guilty" party, Apple itself: >> >>http://docs.info.apple.com/article.html?artnum=106510 >> >>For most files, these ._ are actually empty and in case of Rev >>stacks safely ditched. > >So in all cases where the file has no resource fork (many Classic >file, most OS X files, and just about all Rev stacks, MP3s, MPEGs, >and more) it's merely a waste of time and space. > >That Apple provides no option for the user to be able to decide >whether this happens is an unfortunate design decision. > >That Apple does this for files that have no resource fork is a bug. > >That is, it would be a bug but another poster here already pointed >out that no software vendor in the world 'cept RunRev ever ships >anything with known bugs. ;) > >-- > Richard Gaskin > Managing Editor, revJournal Well, no, it is not exactly a bug in the way you present it. I simplified above (distorted the truth if you wish) saying that files are empty: they contain at least a single line with Finder info, like file type and creator, which is good enough reason to create that file even for files with no resource fork. Robert From ambassador at fourthworld.com Thu Mar 9 14:07:35 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 09 Mar 2006 11:07:35 -0800 Subject: ._ files In-Reply-To: References: <7C5F0073-AF8A-11DA-8981-0030657E1638@pon.net> <4410706C.5070700@fourthworld.com> Message-ID: <44107CF7.6080506@fourthworld.com> Robert Brenstein wrote: >> Robert Brenstein wrote: >>> For those wondering about those ._ files, here is the explanation >>> from the "guilty" party, Apple itself: >>> >>> http://docs.info.apple.com/article.html?artnum=106510 >>> >>> For most files, these ._ are actually empty and in case of Rev stacks >>> safely ditched. >> >> So in all cases where the file has no resource fork (many Classic >> file, most OS X files, and just about all Rev stacks, MP3s, MPEGs, and >> more) it's merely a waste of time and space. >> >> That Apple provides no option for the user to be able to decide >> whether this happens is an unfortunate design decision. >> >> That Apple does this for files that have no resource fork is a bug. >> >> That is, it would be a bug but another poster here already pointed out >> that no software vendor in the world 'cept RunRev ever ships anything >> with known bugs. ;) > > Well, no, it is not exactly a bug in the way you present it. I > simplified above (distorted the truth if you wish) saying that files are > empty: they contain at least a single line with Finder info, like file > type and creator, which is good enough reason to create that file even > for files with no resource fork. But many OS X apps (even some from Apple?) don't set the Finder info, relying on OS X's preference to determine type from the file type extension in the name. But okay, it's not a bug per se. My main point there was having fun with the notion that no vendor except Rev has ever shipped any software with known bugs. ;) Of course there are enough examples that we needn't stretch to find more. I still feel it would be useful to allow users to be in control of these additional files. It makes it cumbersome to use any non-Apple Flash drive, work with multi-platform networks, etc. Not allowing that control just makes Apple look bad, lending credence to the old lightbulb joke: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From lists at mangomultimedia.com Thu Mar 9 14:20:30 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 9 Mar 2006 11:20:30 -0800 Subject: Player object and memory In-Reply-To: <6.2.1.2.2.20060309121605.068a8828@exchange.slg.com> References: <6.2.1.2.2.20060309113126.066efb48@exchange.slg.com> <6.2.1.2.2.20060309121605.068a8828@exchange.slg.com> Message-ID: <66232DD8-C6CC-4E3B-AAF7-B10E0FE20E38@mangomultimedia.com> On Mar 9, 2006, at 10:18 AM, Peter T. Evensen wrote: > > Any other suggestions? This is becoming a show-stopper. I > couldn't get a SMIL file to work over the network. It wouldn't > play all the files (it would skip some to keep up). You could try creating a reference movie using EnhancedQT. It is similar in concept to SMIL but perhaps the performance will be better. Worth a try. Here is how you would do it: 1) Get your list of movie filepaths. 2) Create two player objects 3) Call qtNewMovie to create a new empty movie in a temp directory. Load this movie into player 1. 4) Loop through your list of movies. For each movie: - Load into player 2 - qtSelectAll the movieControllerID of player 2 - qtCopy the movieControllerID of player 2 - qtPaste the movieControllerID of player 2 Player 1 now contains references to all of the movies. Trying playing this back and see if performance is any better. Creating the reference movie won't necessarily be quick though. If you just want to test the reference movie concept without writing the code in Rev you can do the same thing in QT Player Pro. Just create a new player, open all of the sound files you want to merge then copy and paste them into the new player. Save the movie checking the save as reference movie, NOT self-contained. You can then load this movie into a player object and see how performance is. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From stephenREVOLUTION at barncard.com Thu Mar 9 14:19:54 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 9 Mar 2006 11:19:54 -0800 Subject: 2.7 bugs In-Reply-To: <03E22101-F887-4B7E-B124-C67278C65AD4@dsl.pipex.com> References: <001901c63ab6$0696e8d0$1500a8c0@ACERLaptop> <403AED7B-CF0E-4CB5-89F4-54D56064CA12@dsl.pipex.com> <70ed6b130603081043t5c13d72ao67d884d9acf37bce@mail.gmail.com> <8C81105DF835ADF-B54-184AF@FWM-M31.sysops.aol.com> <03E22101-F887-4B7E-B124-C67278C65AD4@dsl.pipex.com> Message-ID: Hmmm. the only show stopping bug in 2.7 that I've seen is the app-fatal drag-cut-paste bug, and I know they're tracking it down. And I love the new features. sqb > >I would much rather have 75% of the functionality with 5% bugs, than >100% of the functionality with 25% bugs! > >All the Best >Dave > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From martyknapp at comcast.net Thu Mar 9 14:23:30 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 09 Mar 2006 11:23:30 -0800 Subject: Put data into text file on server Message-ID: <441080B2.2080801@comcast.net> I'm trying to put data into a text file on a server using the following: put "test"after URL "ftp://username:password at ftp.mydomain.com/mylog.txt" but nothing gets written to the file. The Result shows no error. Am I missing something obvious? Marty Knapp From pevensen at siboneylg.com Thu Mar 9 14:27:41 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 09 Mar 2006 13:27:41 -0600 Subject: Player object and memory In-Reply-To: <66232DD8-C6CC-4E3B-AAF7-B10E0FE20E38@mangomultimedia.com> References: <6.2.1.2.2.20060309113126.066efb48@exchange.slg.com> <6.2.1.2.2.20060309121605.068a8828@exchange.slg.com> <66232DD8-C6CC-4E3B-AAF7-B10E0FE20E38@mangomultimedia.com> Message-ID: <6.2.1.2.2.20060309132442.052afa50@exchange.slg.com> I think that might take too long (especially over a network). I'm playing on the order of 10-20 files in sequence to read a word problem sentence that has been spliced together. I originally tried creating the number of players I'd need and setting each one to the appropriate filename and then playing them one after another, but that took too long. I'm tempted just to create a maximum number of players (rather than recreating them each time) and see if I can get acceptable performance without hanging by setting up all the file names and then playing them in sequence. At 01:20 PM 3/9/2006, you wrote: >On Mar 9, 2006, at 10:18 AM, Peter T. Evensen wrote: >> >>Any other suggestions? This is becoming a show-stopper. I >>couldn't get a SMIL file to work over the network. It wouldn't >>play all the files (it would skip some to keep up). > >You could try creating a reference movie using EnhancedQT. It is >similar in concept to SMIL but perhaps the performance will be >better. Worth a try. Here is how you would do it: > >1) Get your list of movie filepaths. >2) Create two player objects >3) Call qtNewMovie to create a new empty movie in a temp directory. >Load this movie into player 1. >4) Loop through your list of movies. For each movie: > - Load into player 2 > - qtSelectAll the movieControllerID of player 2 > - qtCopy the movieControllerID of player 2 > - qtPaste the movieControllerID of player 2 > >Player 1 now contains references to all of the movies. Trying >playing this back and see if performance is any better. Creating the >reference movie won't necessarily be quick though. Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From ambassador at fourthworld.com Thu Mar 9 14:31:51 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 09 Mar 2006 11:31:51 -0800 Subject: Unicode Font List (Was Re: Revolution vs Visual Basic) In-Reply-To: <4D414E36-8258-41F1-AAA6-4DBBA1ED1EA0@kenjikojima.com> References: <440F31F1.5070109@paraboliclogic.com> <440F95E1.4070704@fourthworld.com> <4D414E36-8258-41F1-AAA6-4DBBA1ED1EA0@kenjikojima.com> Message-ID: <441082A7.2030800@fourthworld.com> Kenji Kojima wrote: >> Richard Gaskin wrote: > >> Now what do we do to get a Font menu to display the font names >> correctly? >> > > Japanese sample: > go url > "http://www.kenjikojima.com/runrev/handbook/download/jpnFontmenu.rev" Nice work -- thanks. Is there a way to do that for mixed Unicode encodings, so that we could show each font in its own language? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From effendi at wanadoo.fr Thu Mar 9 14:40:53 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 9 Mar 2006 20:40:53 +0100 Subject: No OpenStack ..... ! Now Ending ! Message-ID: Hi to all, and thanks for your comments about the .xxx files when moving from Mac to PC, I think the name of the thread has now changed to "What the h.... are these files ?". I more or less guessed what the files were. My problem is not what they are for, but HOW TO STOP THEM FROM BEING COPIED, when I move from Mac to PC. Simply because they are a PAIN ! Sometimes I copy folders with 200 or 300 files from my Mac to my PC, and I can tell you, ignoring these .xxx files is not as easy as it looks ! -Francis "In the quantum world, what you see is what you get and nothing is real. The best you can hope for is a set of delusions that agree with one another" From gregory.lypny at videotron.ca Thu Mar 9 14:41:34 2006 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 9 Mar 2006 14:41:34 -0500 Subject: The templateField Keyword Message-ID: <20ECCA3C-CC73-4B4B-B84E-56FC5B16237F@videotron.ca> Hello everyone, I tried to create a field template using the templateField keyword, but it doesn't seem to work. When I use the handler below, the text in newly created fields is Lucida Grande, but the size is 11 instead of 12, and the height is 14 instead of 18. What am I doing wrong? Regards, Gregory on openStack set the textFont of the templateField to "Lucida Grande" set the textSize of the templateField to 12 set the fixedLineHeight of the templateField to true set the textHeight of the templateField to 18 end openStack From stephenREVOLUTION at barncard.com Thu Mar 9 14:42:29 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 9 Mar 2006 11:42:29 -0800 Subject: 2.7 Anomaly -- barber pole and table field inside combo box In-Reply-To: <4D414E36-8258-41F1-AAA6-4DBBA1ED1EA0@kenjikojima.com> References: <440F31F1.5070109@paraboliclogic.com> <440F95E1.4070704@fourthworld.com> <4D414E36-8258-41F1-AAA6-4DBBA1ED1EA0@kenjikojima.com> Message-ID: Aha! I see this again in the Japanese Font menu just mentioned. Sometimes combo boxes look really strange - like the field part in the control has huge table-like borders plus a 'barber-pole' graphic behind it (usually used for progress indication). A real mess and one can't read the field text. Has this been reported? sqb -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From ambassador at fourthworld.com Thu Mar 9 14:51:54 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 09 Mar 2006 11:51:54 -0800 Subject: No OpenStack ..... ! Now Ending ! In-Reply-To: References: Message-ID: <4410875A.40908@fourthworld.com> Francis Nugent Dixon wrote: > and thanks for your comments about the .xxx files when > moving from Mac to PC, > > I think the name of the thread has now changed to > "What the h.... are these files ?". > > I more or less guessed what the files were. My problem > is not what they are for, but HOW TO STOP THEM FROM > BEING COPIED, when I move from Mac to PC. Simply > because they are a PAIN ! Sometimes I copy folders with 200 > or 300 files from my Mac to my PC, and I can tell you, ignoring > these .xxx files is not as easy as it looks ! Good luck. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From stephenREVOLUTION at barncard.com Thu Mar 9 14:59:13 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 9 Mar 2006 11:59:13 -0800 Subject: Expanded DPI images for printing -Good News (news to me anyway)... In-Reply-To: References: Message-ID: I'm not sure how to set this up in a .png save from Photoshop, or if it's possible. I don't see any options for that in "save as" or "save for web". Anyway PICTS work great - and have transparency too. >Are we sure about this? I mean PNGs allow for a separate PPI for >printing and screen display. I always assumed that apps like Rev >used the PPI information for printing. > >Is this just Rev that is ignoring the other formats and just >focusing on the pict format? I haven't test this and would really >like to know what others have found. > >Thanks Stephen, > >Tom -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jacque at hyperactivesw.com Thu Mar 9 15:00:57 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Mar 2006 14:00:57 -0600 Subject: My DreamCard doesn't start In-Reply-To: References: <310e1d856374fcff10a2b8b7544de661@maccosm.info> <440F55B6.3010304@hyperactivesw.com> Message-ID: <44108979.6060902@hyperactivesw.com> Kay C Lan wrote: > I'm looking at moving 2.7 from it's default location. Any tips on how to do > this correctly? The easiest way is just to install the app where you want it in the first place. But you can move it later if you want. Version 2.7 acts a little differently, so if you move the app after installation you may have to enter your registration info again the first time you launch it. Other than that, there shouldn't be a problem. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Mar 9 15:02:22 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Mar 2006 14:02:22 -0600 Subject: My DreamCard doesn't start In-Reply-To: <3f4eadb658b95f8e06acf01de43bd9a3@maccosm.info> References: <310e1d856374fcff10a2b8b7544de661@maccosm.info> <440F55B6.3010304@hyperactivesw.com> <3f4eadb658b95f8e06acf01de43bd9a3@maccosm.info> Message-ID: <441089CE.70608@hyperactivesw.com> Takaaki Furukawa wrote: > Jacqueline, > It worked! I moved it to the top level of Applications folder and now > it's perfectly ok. > Thank you. I want Revolution to be more flexible about where it is (if > it is called "Revolution"), though. > The 2.6.x Dreamcard installation relies on having all its files together in the same folder. If you move the application or the Player out, they may not work correctly. However, if you move the entire folder, it should work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From wlists at fireworksmm.com Thu Mar 9 15:04:26 2006 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Thu, 9 Mar 2006 15:04:26 -0500 Subject: No OpenStack ..... ! Now Ending ! In-Reply-To: References: Message-ID: When you zip the files they are joined into one file, which in my experience, allows them to survive the transit through the many routers and other pieces of gear on the internet. This file is usually smaller than the sum of the parts as well so there are some time savings involved in zipping them as well. On Mar 8, 2006, at 4:56 PM, Francis Nugent Dixon wrote: > Thanks for the clarifications. I will zip my files now before > transferring, although I would love to know WHY this solves > problems. From rcozens at pon.net Thu Mar 9 15:05:11 2006 From: rcozens at pon.net (Rob Cozens) Date: Thu, 9 Mar 2006 12:05:11 -0800 Subject: Can a Handler Differentiate Between Empty & Missing Parameters? Message-ID: <0395EAAE-AFA8-11DA-9226-0030657E1638@pon.net> Hi All, Given a handler such as: on myHandler requiredParam, at optionalParam can myHandler differentiate between put empty into optionalParam myHandler requiredParam,optionalParam and myHandler requiredParam, ? 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) From jacque at hyperactivesw.com Thu Mar 9 15:16:49 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Mar 2006 14:16:49 -0600 Subject: Dictionary in OS X In-Reply-To: <2F4B6011-6073-47F3-A9A6-52EC331A1920@videotron.ca> References: <20060309165721.575D8825D68@mail.runrev.com> <2F4B6011-6073-47F3-A9A6-52EC331A1920@videotron.ca> Message-ID: <44108D31.3070904@hyperactivesw.com> Gregory Lypny wrote: > Thank you, Marty. > > But I'm afraid that I don't have a folder named "share". I tried > "shared" but it's empty. You do, but it is one of the hidden system files. Go to the Finder "Go" menu and choose "Go to folder", then type in: /usr/share/ and there it is. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Thu Mar 9 15:18:13 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Mar 2006 12:18:13 -0800 Subject: The End of Dreamcard? In-Reply-To: References: <5DE14B83-50B5-48B9-892E-45809A896205@lexicall.org> Message-ID: <11612510659.20060309121813@ahsoftware.net> Kay- Thursday, March 9, 2006, 6:43:00 AM, you wrote: > But to put it into perspective, I 'play with' trains, and I spend more > annually on model trains than REV. I can totally relate to this, having just come back from the Model Train Museum in San Diego (and wandering around looking at the switches and displays and video controllers and thinking "I could do that in rev..."). -- -Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Thu Mar 9 15:20:22 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 09 Mar 2006 14:20:22 -0600 Subject: Can a Handler Differentiate Between Empty & Missing Parameters? In-Reply-To: <0395EAAE-AFA8-11DA-9226-0030657E1638@pon.net> Message-ID: On 3/9/06 2:05 PM, "Rob Cozens" wrote: > Hi All, > > Given a handler such as: > > on myHandler requiredParam, at optionalParam > > can myHandler differentiate between > > put empty into optionalParam > myHandler requiredParam,optionalParam > > and > > myHandler requiredParam, > > ? Well, first of all you can't call a handler like: myHandler requiredParam, because the trailing "," causes an error when trying to close the script. If you provide *no* second param: myHandler requiredParam Then you get an error trying to *execute* the command because pass-by-reference parameters can't be optional. And if you provide empty as the second param: myHandler requiredParam,"" You *also* get an error because the second param is not a variable, and so it won't work with pass-by-reference parameters. So the original question is moot... Of course you might want to vote for Bug #741, as I suggested optional PBR variables as an enhancement to Rev... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mwieder at ahsoftware.net Thu Mar 9 15:22:42 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Mar 2006 12:22:42 -0800 Subject: New MS Origami device In-Reply-To: <95C9C13D-E82E-4612-8744-ACE489C1F846@adelphia.net> References: <95C9C13D-E82E-4612-8744-ACE489C1F846@adelphia.net> Message-ID: <2712779475.20060309122242@ahsoftware.net> Thomas- Thursday, March 9, 2006, 7:29:51 AM, you wrote: > i was wondering if Rev will jump on this OS for these new devices? Or > if we will work out of the box? Might be good to wait until the point release... "It?s the Newton all over again," said Peter Gorham, an independent analyst, referring to an early tablet device that never took off developed by Apple Computer. "It?s what we dreaded: a letdown. Microsoft runs the risk of putting so much into it that it doesn?t do anything well. It is the next-stage PDA, and who knows if there is a true consumer market for this." http://weblogs.jupiterresearch.com/analysts/gartenberg/archives/014216.html http://blogs.siliconvalley.com/gmsv/2006/03/_it_looks_like_.html http://www.redherring.com/Article.aspx?a=15994&hed=Intel%E2%80%99s+Inside+Origami+PCs§or=Regions&subsector=Americas -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Thu Mar 9 15:28:18 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Mar 2006 14:28:18 -0600 Subject: 2.7 Anomaly -- barber pole and table field inside combo box In-Reply-To: References: <440F31F1.5070109@paraboliclogic.com> <440F95E1.4070704@fourthworld.com> <4D414E36-8258-41F1-AAA6-4DBBA1ED1EA0@kenjikojima.com> Message-ID: <44108FE2.7040008@hyperactivesw.com> Stephen Barncard wrote: > Aha! I see this again in the Japanese Font menu just mentioned. > > Sometimes combo boxes look really strange - like the field part in the > control has huge table-like borders plus a 'barber-pole' graphic behind > it (usually used for progress indication). A real mess and one can't > read the field text. Has this been reported? Yes. I saw it once (and bugzillaed it), and it has come into the tech queue a couple of times too. One of the RR people also reports he's seen it. The problem is -- no one can reproduce it at will, and restarting the app clears the problem. If you get a recipe, do tell. I haven't been able to reproduce it again since it happened that one time, and I don't know what triggered it. By the way, it isn't just combo boxes. I saw it in the dictionary and inspector. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pevensen at siboneylg.com Thu Mar 9 15:30:48 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 09 Mar 2006 14:30:48 -0600 Subject: playStarted message? Message-ID: <6.2.1.2.2.20060309143021.06b2bf90@exchange.slg.com> It appears a player gets sent a playStarted message, is that correct? The documentation does not mention this message at all (even on 2.7). Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From davis.phil at comcast.net Thu Mar 9 15:34:32 2006 From: davis.phil at comcast.net (Phil Davis) Date: Thu, 09 Mar 2006 12:34:32 -0800 Subject: playStarted message? In-Reply-To: <6.2.1.2.2.20060309143021.06b2bf90@exchange.slg.com> References: <6.2.1.2.2.20060309143021.06b2bf90@exchange.slg.com> Message-ID: <44109158.5000908@comcast.net> Yes - you're not dreaming. I discovered that too. Phil Davis Peter T. Evensen wrote: > It appears a player gets sent a playStarted message, is that correct? > The documentation does not mention this message at all (even on 2.7). > > Peter T. Evensen > http://www.PetersRoadToHealth.com > 314-629-5248 or 888-628-4588 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From JimAultWins at yahoo.com Thu Mar 9 16:10:06 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 09 Mar 2006 13:10:06 -0800 Subject: Can a Handler Differentiate Between Empty & Missing Parameters? In-Reply-To: Message-ID: You could just go with a param list the params -------------------- on gotHere aa,bb,cc answer aa && BB && CC answer the params if the number of items in the params < 2 then doThis end if end gotHere gotHere "His","tie","was",1,2,3,4,"very", "loud" ------------------------------ Jim Ault Las Vegas On 3/9/06 12:20 PM, "Ken Ray" wrote: > On 3/9/06 2:05 PM, "Rob Cozens" wrote: >> Given a handler such as: >> >> on myHandler requiredParam, at optionalParam >> >> can myHandler differentiate between >> >> put empty into optionalParam >> myHandler requiredParam,optionalParam >> >> and >> >> myHandler requiredParam, >> > From chipp at chipp.com Thu Mar 9 16:14:02 2006 From: chipp at chipp.com (Chipp Walters) Date: Thu, 09 Mar 2006 15:14:02 -0600 Subject: MagicCarpet Users and 2.7 bugs In-Reply-To: References: <001901c63ab6$0696e8d0$1500a8c0@ACERLaptop> <403AED7B-CF0E-4CB5-89F4-54D56064CA12@dsl.pipex.com> <70ed6b130603081043t5c13d72ao67d884d9acf37bce@mail.gmail.com> <8C81105DF835ADF-B54-184AF@FWM-M31.sysops.aol.com> <03E22101-F887-4B7E-B124-C67278C65AD4@dsl.pipex.com> Message-ID: <44109A9A.8030805@chipp.com> For those of you who use MagicCarpet: The only serious bug I can track down has to do with FTP and libURL. Turns out Rev 2.7 won't upload propertly to our FTP servers with the new version of libURL (MagicCarpet plugin users should be aware of this!). That said, Dave Cragg's already got a fix (and patch) and I assume it will find it's way into the dot upgrade of 2.7. If you're a MagicCarpet user and are using 2.7, I suggest you contact Dave Cragg for the libURL patch. best, Chipp PS For those of you who don't use MagicCarpet, you can learn more about it at: www.altuit.com/webs/altuit2/MagicCarpetCover/default.htm From rjb at robelko.com Thu Mar 9 16:21:38 2006 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 9 Mar 2006 22:21:38 +0100 Subject: ._ files In-Reply-To: <44107CF7.6080506@fourthworld.com> References: <7C5F0073-AF8A-11DA-8981-0030657E1638@pon.net> <4410706C.5070700@fourthworld.com> <44107CF7.6080506@fourthworld.com> Message-ID: >But many OS X apps (even some from Apple?) don't set the Finder >info, relying on OS X's preference to determine type from the file >type extension in the name. Many don't but many still do. Many set both, type and suffix. :) >I still feel it would be useful to allow users to be in control of >these additional files. It makes it cumbersome to use any non-Apple >Flash drive, work with multi-platform networks, etc. Not allowing >that control just makes Apple look bad, lending credence to the old >lightbulb joke: > > >-- > Richard Gaskin > Managing Editor, revJournal Well, yes, it would be nice, but then it would create new issues tot ackle. One one hand, to explain to users when to say yes and when to say no. On the other hand, to implement it in the interface cleanly. Like if I copy a folder with 100 files and need this extra file for only 3 of the files, then what? In a way, it is simpler to just have the extra file and tell people that it is needed for OSX. In my mind, it is not that different from the mysteries of long and short variants of filenames in Windows. Robert From dave at crystalpiersw.com Thu Mar 9 16:59:10 2006 From: dave at crystalpiersw.com (Dave Beck) Date: Thu, 9 Mar 2006 18:59:10 -0300 Subject: 2.7 bugs In-Reply-To: <20060309123441.D539C825D1A@mail.runrev.com> Message-ID: <20060309205957.6C074825EAB@mail.runrev.com> > The first of those will smooth out the handful of rough edges in 2.7 that > have been reported, and then we'll be tackling some other areas that have > attracted feedback for a longer period of time. The first such point > release is right around the corner now, so please wait patiently for a > short while as we get that together. Along with the "rough edges" being smoothed out I am looking forward to the gaping chasm being filled in that is preventing me from upgrading. That chasm would be the crashes associated with copying, pasting, and editing text that are present in the Win XP and it seems to a lesser extend in the Mac OS version. As long as that chasm exists it is not prudent to upgrade. Thanks. Dave From rcozens at pon.net Thu Mar 9 17:02:59 2006 From: rcozens at pon.net (Rob Cozens) Date: Thu, 9 Mar 2006 14:02:59 -0800 Subject: Can a Handler Differentiate Between Empty & Missing Parameters? In-Reply-To: References: Message-ID: <788829F2-AFB8-11DA-B15E-0030657E1638@pon.net> Thanks Ken, > If you provide *no* second param: > > myHandler requiredParam > > Then you get an error trying to *execute* the command because > pass-by-reference parameters can't be optional. > That's the issue that will probably make it necessary to change my approach. Originally, I figured I could just try writing to optionalParam and trap for an error; ut it sounds like the engine won't let me get that far. I'm glad I asked before scripting what I had in mind. 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) From pevensen at siboneylg.com Thu Mar 9 17:03:57 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 09 Mar 2006 16:03:57 -0600 Subject: Player object and memory In-Reply-To: <6.2.1.2.2.20060309113126.066efb48@exchange.slg.com> References: <6.2.1.2.2.20060309113126.066efb48@exchange.slg.com> Message-ID: <6.2.1.2.2.20060309155830.05291280@exchange.slg.com> I think I solved the problem. The issue comes from starting a player in the playStopped handler. I set up a group with the number of players needed to play all the sounds and use the handlers as below (but since I had enough players, they didn't need to load any new files) and it still hung up. That indicated the start player in the playStopped was the culprit. I change the playStopped to send "StartPlayer" && ("Player" && tNextPlayer) to me in 10 milliseconds, and I haven't been able to get it to hang. I reduced the number of players to try interleaving them again, but setting up the next file in the playStopped handler would delay the message to play the next one, dragging out the sequence. What I wound up with was doing a send "QueueNext" to sPlayerToSetup in 10 milliseconds in a startPlaying handler, so I could start the next sound quickly, and then load the next sound safely while the current one is playing. If I didn't send in 10 milliseconds in the startPlaying, it would still hang, but not as often. The (QuickTime) player on Windows seems to be very timing sensitive. At 11:31 AM 3/9/2006, you wrote: >I am trying to play a sequence of MP3s. I am using 3 interleaved players >to speed up the transition between the sounds. I set up the first 3 >sounds on Player 1 - Player 3. I then start Player 1 and when I get a >playStopped message, I start Player 2 and set the filename for Player 1 to >the next sound file for that player (if there is one). Is there any >memory management issues I need to be aware of? My stack freezes >eventually on XP, both as a standalone, and in the IDE. >I have a group setup to contain the players. I originally had the code >attached to each player and had the same result. I have generalized my >code and moved it to the group script. My group script is the following >(perhaps someone can see a problem): > >function NextPlayerNumber pName > put word 2 of pName into tPlayerNumber > put tPlayerNumber + 1 into tPlayerNumber > if tPlayerNumber > the number of players of me then put 1 into > tPlayerNumber > return tPlayerNumber >end NextPlayerNumber > >on playStopped > put NextPlayerNumber(the short name of the target) into tNextPlayer > if the cpDone of player ("Player" && tNextPlayer) of me is not true then > start player ("Player" && tNextPlayer) of me > QueueNext > else > StoppedReading > end if >end playStopped > >on QueueNext > put the cpSoundList of the target into tCurrentSoundList > if tCurrentSoundList is not empty then > if there is no file the first item of tCurrentSoundList then > ReportError "Cannot find file:" && the first item of > tCurrentSoundList, "Missing Sound File" > set the cpDone of the target to true > else > lock messages > set the filename of the target to the first item of tCurrentSoundList > unlock messages > delete item 1 of tCurrentSoundList > set the cpSoundList of the target to tCurrentSoundList > end if > else > set the cpDone of the target to true > end if >end QueueNext > >on SetSoundFiles pSoundFileList > put the number of players in me into tNumPlayers > > -- split up the list among the players, interleaving the sounds > repeat with i = 1 to the number of items in pSoundFileList > put (i - 1) mod tNumPlayers + 1 into tPlayerNumber > put tPlayerList[tPlayerNumber] & item i of pSoundFileList & "," into > tPlayerList[tPlayerNumber] > end repeat > > -- queue up the first sound file for each > lock messages > repeat with i = 1 to tNumPlayers > if there is no file the first item of tPlayerList[i] then > ReportError "Cannot find file:" && the first item of > tPlayerList[i], "Missing Sound File" > set the cpDone of player ("Player" && i) to true > else > set the filename of player ("Player" && i) to the first item of > tPlayerList[i] > delete the first item of tPlayerList[i] > set the cpSoundList of player ("Player" && i) to tPlayerList[i] > set the cpDone of player ("Player" && i) to false > end if > end repeat > unlock messages >end SetSoundFiles > >on StartPlaying > start player "Player 1" of me >end StartPlaying > > > >Peter T. Evensen >http://www.PetersRoadToHealth.com >314-629-5248 or 888-628-4588 >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From rjb at robelko.com Thu Mar 9 17:29:59 2006 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 9 Mar 2006 23:29:59 +0100 Subject: No OpenStack ..... ! Now Ending ! In-Reply-To: References: Message-ID: >I more or less guessed what the files were. My problem >is not what they are for, but HOW TO STOP THEM FROM >BEING COPIED, when I move from Mac to PC. Simply >because they are a PAIN ! Sometimes I copy folders with 200 >or 300 files from my Mac to my PC, and I can tell you, ignoring >these .xxx files is not as easy as it looks ! > >-Francis A job for a nifty Rev plugin (or just a function) that zaps those files into oblivion given a folder path? Robert From dcragg at lacscentre.co.uk Thu Mar 9 19:19:49 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 10 Mar 2006 00:19:49 +0000 Subject: MagicCarpet Users and 2.7 bugs In-Reply-To: <44109A9A.8030805@chipp.com> References: <001901c63ab6$0696e8d0$1500a8c0@ACERLaptop> <403AED7B-CF0E-4CB5-89F4-54D56064CA12@dsl.pipex.com> <70ed6b130603081043t5c13d72ao67d884d9acf37bce@mail.gmail.com> <8C81105DF835ADF-B54-184AF@FWM-M31.sysops.aol.com> <03E22101-F887-4B7E-B124-C67278C65AD4@dsl.pipex.com> <44109A9A.8030805@chipp.com> Message-ID: On 9 Mar 2006, at 21:14, Chipp Walters wrote: > For those of you who use MagicCarpet: > > The only serious bug I can track down has to do with FTP and > libURL. Turns out Rev 2.7 won't upload propertly to our FTP servers > with the new version of libURL (MagicCarpet plugin users should be > aware of this!). > > That said, Dave Cragg's already got a fix (and patch) and I assume > it will find it's way into the dot upgrade of 2.7. If you're a > MagicCarpet user and are using 2.7, I suggest you contact Dave > Cragg for the libURL patch. > Just a word on this before you all flood me with requests. There was small change to the FTP routine in the libUrl version that ships with 2.7. It was designed to get round a problem that some users had reported. Chipp's FTP server is the only one we know of so far to have a problem with the new libUrl version. So it's most likely some people will see an improvement with the version in 2.7, and most will see no change. Below is some background to the problem, which might help you decide whether you are suffering from the issue Chipp mentioned. But if you are having FTP problems in general, please let me know, and I'll take a look. (If you could supply some log data by using libUrlSetLogField, it would help greatly.) The background.... Under 2.6.1 (and earlier )a few users had reported a problem with timeouts when uploading files (usually largish ones > 100KB). The timeouts occurred at a stage in the FTP process immediately after the file had uploaded, when libUrl is waiting for a "226 completed" message from the server. Some people reported switching to "active" FTP mode helped, but this didn't work in all cases. I started experiencing the same problem after installing a new (and cheap) ADSL router. The problem also occurred when using commercial FTP client applications. Taking a hint from one of Fetch's "obscure settings" designed for problematic NAT routers, I added an extra "do nothing" command (NOOP) at the end of the upload and before checking for the "226" response. I understand that some other FTP client implementations employ a similar approach. This has worked in testing with a variety of servers. Chipp's is the first problem encountered. The error returned from Chipp's server is "421 Timeout (no new data for 900 seconds)". The 900 seconds is misleading. The message comes long before that. But if you see a 421 result, then you may want to let me know, and I can send you a temporary libUrl patch. Cheers Dave From erikhans08 at yahoo.com Thu Mar 9 19:21:50 2006 From: erikhans08 at yahoo.com (Erik Hansen) Date: Thu, 9 Mar 2006 16:21:50 -0800 (PST) Subject: RevCon West Pre-Announcement - Save June 16-17! In-Reply-To: <70ed6b130602211316n1a55dbc7u3715fc0205800980@mail.gmail.com> Message-ID: <20060310002150.66675.qmail@web33010.mail.mud.yahoo.com> Dan, i am putting on a show at the RIO Theatre in Santa Cruz for every local youth dance company in this town. most of these turn out to be Latin kids. Baile Juventud is the title, tickets will be $5.00 because i want the place to SELL OUT plus the familes are all on budgets. every cent i have has gone into the rent and i will have to wait until tickets sell by April 30th. before there are funds for anything else. last year your camera man said he might be able to use a second camera. if i shoot for you full time, could i get the veterano alumno discount? i also edit. the material is over my head anyway so peripheral learning is fine. i will also be buying Arcade and Malte says he can hook me up with game creators who can take my dance concept and do something with it. the time has come to admit that the whole job is way over my head and seek partners who are REAL programmer while i focus on the dance end. the point being that there is still a reason for me to attend an increasingly heavy hitting conference like yours. Erik Hansen erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From lan.kc.macmail at gmail.com Thu Mar 9 20:10:00 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 10 Mar 2006 09:10:00 +0800 Subject: The End of Dreamcard? In-Reply-To: <11612510659.20060309121813@ahsoftware.net> References: <5DE14B83-50B5-48B9-892E-45809A896205@lexicall.org> <11612510659.20060309121813@ahsoftware.net> Message-ID: On 3/10/06, Mark Wieder wrote: > wandering around looking at the > switches and displays and video controllers and thinking "I could do > that in rev... Oh yeah, one of these days I'd just love to give it a go, but I first need to figure out how to script 25 hours into a day. Anyone got any examples I could use, I'm trying; convert tMyDay from short date to long date but I still only end up with 24 hours, just not enough to do everything I want to do in life:-) From lan.kc.macmail at gmail.com Thu Mar 9 21:26:57 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 10 Mar 2006 10:26:57 +0800 Subject: My DreamCard doesn't start In-Reply-To: <44108979.6060902@hyperactivesw.com> References: <310e1d856374fcff10a2b8b7544de661@maccosm.info> <440F55B6.3010304@hyperactivesw.com> <44108979.6060902@hyperactivesw.com> Message-ID: Kay C Lan wrote: > > > I'm looking at moving 2.7 from it's default location. Any tips on how > to do > > this correctly? On 3/10/06, J. Landman Gay wrote: The easiest way is just to install the app where you want it in the > first place. Ah, now I see it's hidden in the 'Custom' install. Quite unusual not to have the selection of install destination as 'it's own step.' Also, I've never seen selection of install destination in the 'Custom' pane and further surprised that this was all that Rev allowed you to customise. Thanks, I'm now in the process of Installing 2.7 onto my Software HD From martyknapp at comcast.net Thu Mar 9 21:57:33 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 09 Mar 2006 18:57:33 -0800 Subject: Secure download location Message-ID: <4410EB1D.3040705@comcast.net> I'm wanting to set up a situation where people can download an update of my program via a "download update" menu script, but keep the URL from being known. I was tinkering with the revGoURL ftp route, but my username and password show up in the browser history, which is, of course, not good! I've been reading the docs about all the URL stuff. I took a look at the Tutorials from So Smart Software and I'm getting more, not less confused. It seems like there's a lot of options, though the difference between them isn't clear to me yet. Basically I need to protect myself from people just downloading the software who haven't paid, but make it easy for those who have paid to download the latest version. Because it's a low-dollar item I can't afford to be manually processing stuff - I want my computer & web site to take care of 99% (that's why they made computers - right!?). If someone can help get the twist out of my shorts, I'd appreciate it! Thanks, Marty Knapp From garrett at paraboliclogic.com Thu Mar 9 22:07:36 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 09 Mar 2006 19:07:36 -0800 Subject: Change image to another image in stack In-Reply-To: <4410EB1D.3040705@comcast.net> References: <4410EB1D.3040705@comcast.net> Message-ID: <4410ED78.3080809@paraboliclogic.com> Rev 2.6.1 How do I change an image object on my stack to show another image that is also contained in the same stack? Thanks, -Garrett From scott at elementarysoftware.com Thu Mar 9 22:21:34 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 9 Mar 2006 19:21:34 -0800 Subject: Dictionary in OS X In-Reply-To: <64061E1E-54E6-41D8-8EFC-CF63118898AE@videotron.ca> References: <64061E1E-54E6-41D8-8EFC-CF63118898AE@videotron.ca> Message-ID: <8B481816-1DB2-45C4-A188-250BB543C67C@elementarysoftware.com> Jean-Baptiste LE STANG has written an AppleScript extension < http://www.lestang.org/ > that allows a link to Apple's OSX spell checking engine. It can be used with Revolution to create a spell checker. I have placed an example solution in the RevOnline User Space under username "Scott" - or from the message box: go URL "http://elementarysoftware.com/rev_demos/spellcheck_demo.rev" On Mar 8, 2006, at 11:24 AM, Gregory Lypny wrote: > Hello everyone, > > I had read somewhere that it is possible to access some built-in > Mac applications, such as Dictionary, directly from the command > line. Now I was wondering whether it would also be possible to > access those applications through Revolution. I'm doing research > that involves indexing all the words in big text files. Of course, > using the xTalk definition of a word as any quoted string or string > separated by one or more spaces leaves me with many words that are > not words we use in the sense of dictionary words, things like > acronyms, and others that aren't relevant to me because they are > proper nouns, such as company or product names. So I was hoping to > write a script that might check whether each of the words in my > index exists in the dictionary. > > Any thoughts would be most appreciated. > > Gregory From lan.kc.macmail at gmail.com Thu Mar 9 22:45:49 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 10 Mar 2006 11:45:49 +0800 Subject: [FR] [EN]Re: The End of Dreamcard? In-Reply-To: References: <1hbxox0.fd83sq1bzmg00M%mcdomi@free.fr> Message-ID: On 3/10/06, Judy Perry wrote: > > > And while I am not sounding the call for a dozen weepy violins, I suspect > that other educators on the list might well tell similar tales. So I can only surmise that you must be happy that Media will be cheaper than DreamCard. For what it's worth I started with Rev Express way back when. It was free. In many ways this turned me off Rev because what was so easy was made so difficult by the need to work around the 10 line limit. I thought it rather strange that Rev had entire Doc section on how to work around the 10 line limit! During that time I spent little time scripting because I just didn't enjoy it. As mentioned above when Rev dropped Express and I had to 'pay' I was pretty ticked off and sent Rev an email letting them know it. Even at free I didn't think Rev represented value for money;-) In the end I should be thankful to Rev for forcing me to buy the 'real' tool. You get what you pay for. I now spend a lot of time scripting. Many people would not buy a 'model train' considering it an expensive toy. Some people have to do crosswords, others soduku, others can live without either. Some people get enjoyment out of golf, other find it pointless. Marielle wrote: > focus on a discussion of the intrinsic quality of the > product and customer support. > If programing is in your blood then the 'intrinsic' quality will be different for everyone. Repeatedly from those who make a living out of using Rev we read that they consider it too cheap. For those who use Rev as a hobby, they want it a little cheaper and I think Rev has moved that way. Plastic, die cast, or brass model train. Media, Studio or Enterprise. Each will find their level of intrinsic value = $$$ spent. From lan.kc.macmail at gmail.com Thu Mar 9 23:17:05 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 10 Mar 2006 12:17:05 +0800 Subject: sort of OT, CD names to iTunes In-Reply-To: <846973A9-228E-4786-9FD2-868AE66F7F2D@conncoll.edu> References: <9913D058-D86D-4301-A350-1C16D1C3BEC4@conncoll.edu> <43F85FFD.3010506@tweedly.net> <846973A9-228E-4786-9FD2-868AE66F7F2D@conncoll.edu> Message-ID: On 3/8/06, Charles Hartman wrote: > > > As for OK vs Next in iTunes, note that if you've burned the tracks to > CD before importing to iTunes, cmd-I (Get Info) on the CD with no > track selected lets you fill in album-title and album-artist (and > album-composer if there's only one) just once, leaving only track > names and composers to be filled in. Ah, brilliant. You learn something new every day. Fortunately for me I've digitized and loaded into iTunes 95% of my LPs that I want to keep, I only have a handful of CDs left to burn so thankfully this whole process is basically over for me:-) Currently listening to Peter Frampton - Do You Feel Like I Do, served by iTunes on an old G4 'sawtooth' feeding wirelessly to a Roku SoundBridge connected to my stereo at the other end of the house which is partiallially controlled (Volume mainly) by a Rev Stack I wrote which resides on the G4 PowerBook that I'm using right now in my study:-) The house is a rockin' so don't bother knockin':-) From kray at sonsothunder.com Thu Mar 9 23:25:43 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 09 Mar 2006 22:25:43 -0600 Subject: Change image to another image in stack In-Reply-To: <4410ED78.3080809@paraboliclogic.com> Message-ID: On 3/9/06 9:07 PM, "Garrett Hylltun" wrote: > Rev 2.6.1 > > How do I change an image object on my stack to show another image that > is also contained in the same stack? put into for example: put img "Train" of card 2 of stack "mySubstack" into img "Sample" Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dvk at dvkconsult.com.au Thu Mar 9 23:45:21 2006 From: dvk at dvkconsult.com.au (David Vaughan) Date: Fri, 10 Mar 2006 15:45:21 +1100 Subject: Bugs bunnies Message-ID: <84EE896B-CA9A-4B49-AD93-D3CCC680E7BA@dvkconsult.com.au> "I would much rather have 75% of the functionality with 5% bugs, than 100% of the functionality with 25% bugs!" Good thought, I thought, but what if RunRev could not target quite that well? What if there were 77% of the functionality with, alas, 6% bugs, or 55% functionality with 1% bugs? Would either of those be acceptable? Fortunately, I have a solution to this conundrum and expect soon to become very rich :-) I propose that all interested parties complete the following simple exercise and send the results to me. For every percentage of functionality between 50 and 100 and every bug percentage from 25 to 0, rate each of the 1326 combinations on a desirability scale from 0 (min) to 9 (max). From this I will be able to derive a mathematical function, probably polynomial, which will describe to RunRev the average risk profile of their user base. Oh, it is also essential that you define accurately for me what constitutes a percentage of functionality, or what is a percentage of bugs. Also, what punishment should we inflict if a fug or bunction is accidentally missed? If your point is that, generally speaking, you prefer reliability to features then welcome to a diverse community, You may or may not find yourself in the tail of a Bell curve at the far end of which is a set of users devoted to cutting edge functionality at the cost of several work-arounds and in the middle of which is a large group of people who use the product with varying levels of delight or discomfort. Uncomfortable people exist at both ends of the scale, not only on the side you personally inhabit. This seething mass of desires and groans is what RunRev happily call "a market". The weekend will be here soon; then they might like to have a Scotch :-D cheers David Post Script: I stripped the name of the person who originated the quotation above because they are undoubtedly frustrated by a problem which they currently are unable to get around. I am commenting on the problems involved in simple expressions of needs. From jacque at hyperactivesw.com Thu Mar 9 23:46:49 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Mar 2006 22:46:49 -0600 Subject: The End of Dreamcard? In-Reply-To: References: <5DE14B83-50B5-48B9-892E-45809A896205@lexicall.org> <11612510659.20060309121813@ahsoftware.net> Message-ID: <441104B9.5070005@hyperactivesw.com> Kay C Lan wrote: > Oh yeah, one of these days I'd just love to give it a go, but I first need > to figure out how to script 25 hours into a day. Anyone got any examples I > could use I am still working on my time warp stack, which I started next year and plan to finish by last week. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Mar 9 23:55:21 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Mar 2006 22:55:21 -0600 Subject: Change image to another image in stack In-Reply-To: <4410ED78.3080809@paraboliclogic.com> References: <4410EB1D.3040705@comcast.net> <4410ED78.3080809@paraboliclogic.com> Message-ID: <441106B9.50703@hyperactivesw.com> Garrett Hylltun wrote: > Rev 2.6.1 > > How do I change an image object on my stack to show another image that > is also contained in the same stack? You'll love this, it's so...x-talky: put into Like this: put img 1 into img 2 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jperryl at ecs.fullerton.edu Fri Mar 10 00:23:26 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 9 Mar 2006 21:23:26 -0800 (PST) Subject: [FR] [EN]Re: The End of Dreamcard? In-Reply-To: Message-ID: On Fri, 10 Mar 2006, Kay C Lan wrote: > So I can only surmise that you must be happy that Media will be cheaper than > DreamCard. Well, yes, because I think it costs the company nothing and has the potential to bring in a certain class of users who are now or would likely be scared witless by something that involved diving into "scripting" right off the bat and that didn't have a bunch of pre-builts (aka templates). I think it may well end up being the seductive agent for the PowerPoint crowd and is priced accordingly. Now they just need to get it noticed... This doesn't, however, mean that I am happy to see DC go away. > For what it's worth I started with Rev Express way back when. It was free. > In many ways this turned me off Rev because what was so easy was made so > difficult by the need to work around the 10 line limit. I thought it rather > strange that Rev had entire Doc section on how to work around the 10 line > limit! During that time I spent little time scripting because I just didn't > enjoy it. Yes, I started back when it was MetaCard for the Mac. Same 10-line limitation for the free version, only a vastly uglier interface. I still don't understand people's unhappiness with the 10-line limited FREE version. I mean, I'm supremely irritated that I've spent the better part of three days searching for a whatever-crippled Bryce demo... I am happy to pay to the extent I can to support keeping the product (Rev) alive and growing. FWIW, I have purchased personal copies above and beyond what I've been able to get the university to buy for me. > If programing is in your blood then the 'intrinsic' quality will be > different for everyone. Repeatedly from those who make a living out of using > Rev we read that they consider it too cheap. For those who use Rev as a > hobby, they want it a little cheaper and I think Rev has moved that way. > > Plastic, die cast, or brass model train. > > Media, Studio or Enterprise. Each will find their level of intrinsic value = > $$$ spent. Yup! Judy From mwieder at ahsoftware.net Fri Mar 10 00:35:28 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Mar 2006 21:35:28 -0800 Subject: The End of Dreamcard? In-Reply-To: References: <5DE14B83-50B5-48B9-892E-45809A896205@lexicall.org> <11612510659.20060309121813@ahsoftware.net> Message-ID: <4645947458.20060309213528@ahsoftware.net> Kay- Thursday, March 9, 2006, 5:10:00 PM, you wrote: > convert tMyDay from short date to long date > but I still only end up with 24 hours, just not enough to do everything I > want to do in life:-) convert time to money -- doesn't work either... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Mar 10 00:45:44 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Mar 2006 21:45:44 -0800 Subject: 2.7 Anomaly -- barber pole and table field inside combo box In-Reply-To: <44108FE2.7040008@hyperactivesw.com> References: <440F31F1.5070109@paraboliclogic.com> <440F95E1.4070704@fourthworld.com> <4D414E36-8258-41F1-AAA6-4DBBA1ED1EA0@kenjikojima.com> <44108FE2.7040008@hyperactivesw.com> Message-ID: <8146563564.20060309214544@ahsoftware.net> Jacque- > Yes. I saw it once (and bugzillaed it), and it has come into the tech I got it and BZed it as well, but I couldn't reproduce it. -- -Mark Wieder mwieder at ahsoftware.net From kee at kagi.com Fri Mar 10 01:04:35 2006 From: kee at kagi.com (kee nethery) Date: Thu, 9 Mar 2006 22:04:35 -0800 Subject: Secure download location In-Reply-To: <4410EB1D.3040705@comcast.net> References: <4410EB1D.3040705@comcast.net> Message-ID: <1269F910-94FE-496A-9302-0B7AB07C6279@kagi.com> On Mar 9, 2006, at 6:57 PM, Marty Knapp wrote: > I'm wanting to set up a situation where people can download an > update of my program via a "download update" menu script, but keep > the URL from being known. I was tinkering with the revGoURL ftp > route, but my username and password show up in the browser history, > which is, of course, not good! > > I've been reading the docs about all the URL stuff. I took a look > at the Tutorials from So Smart Software and I'm getting more, not > less confused. It seems like there's a lot of options, though the > difference between them isn't clear to me yet. Basically I need to > protect myself from people just downloading the software who > haven't paid, but make it easy for those who have paid to download > the latest version. Because it's a low-dollar item I can't afford > to be manually processing stuff - I want my computer & web site to > take care of 99% (that's why they made computers - right!?). There are two things to consider. FTP is pretty open. If you give someone the FTP URL, that IS the FTP URL. It is pretty difficult to hide that URL. So whatever you do, you have to assume that payees and non-payees will see the URL. My suggestion is that you have a web page that is public that contains some static data. Your app would query that as it's download update. There would be the latest version number in plain text and some other data that is encrypted. Your app would decrypt the download data (if it is the paid version assuming there is a difference between paid and unpaid) and the decrypted data would have some obscure URL. It would go to the obscure URL to actually download the latest version. The unpaid version would not be able to decrypt the information and would thus not be able to see the obscure download URL. Maybe once a week, move the latest version to another location and alter the static file to match. You could have the FTP server require a login with their reg code as either their user name or their password. I think you could add bad reg codes to the list on the FTP server and reject them, preventing them from downloading. I think you can do that in the .htaccess file on the FTP server. Summary: 1. have there be a difference between paid and unpaid copies. 2. use that difference to decode a static web page that has the latest version URL encrypted on it. 3. use the FTP server permissions to prevent pirated reg codes from getting upgrades. Kee Nethery From garrett at paraboliclogic.com Fri Mar 10 01:16:09 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 09 Mar 2006 22:16:09 -0800 Subject: Change image to another image in stack In-Reply-To: <441106B9.50703@hyperactivesw.com> References: <4410EB1D.3040705@comcast.net> <4410ED78.3080809@paraboliclogic.com> <441106B9.50703@hyperactivesw.com> Message-ID: <441119A9.5040508@paraboliclogic.com> J. Landman Gay wrote: > Garrett Hylltun wrote: >> Rev 2.6.1 >> >> How do I change an image object on my stack to show another image that >> is also contained in the same stack? > > You'll love this, it's so...x-talky: > > put into > > Like this: > > put img 1 into img 2 > Yeah tell me about it. I'm sitting here trying to use "fileName" to no avail. I knew it was something as simple as this! I now hate asking questions about Rev, because I know the answer is going to be so damn simple that I'm going to feel like an idiot when I see it! ;-) Ken Ray, J. Landman Gay, thanks a bunch for helping me :-) -Garrett From scott at proherp.com Fri Mar 10 02:05:17 2006 From: scott at proherp.com (Scott Kane) Date: Fri, 10 Mar 2006 18:05:17 +1100 Subject: Oragami In-Reply-To: <441119A9.5040508@paraboliclogic.com> Message-ID: <000001c64410$fe4ad380$0201010a@royalnexus> Hi folks, M$ have just released a virtual machine for their Oragami hand held. Supposedly anything that runs on XP should run on Oragami. The virtual machine link is below. http://www.microsoft.com/downloads/details.aspx?FamilyID=9c01c822-e6d2-4 240-9fb3-b00e8ff4fbbf&DisplayLang=en Cheers Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 9/03/2006 From Cubist at aol.com Fri Mar 10 05:24:52 2006 From: Cubist at aol.com (Cubist at aol.com) Date: Fri, 10 Mar 2006 05:24:52 EST Subject: Secure download location Message-ID: <26f.71ec216.3142adf4@aol.com> In a message dated 3/9/06 7:08:13 PM, Marty Knapp writes: >I'm wanting to set up a situation where people can download an update of >my program via a "download update" menu script, but keep the URL from >being known. I was tinkering with the revGoURL ftp route, but my >username and password show up in the browser history, which is, of >course, not good! > >I've been reading the docs about all the URL stuff. I took a look at the >Tutorials from So Smart Software and I'm getting more, not less >confused. It seems like there's a lot of options, though the difference >between them isn't clear to me yet. Basically I need to protect myself >from people just downloading the software who haven't paid, but make it >easy for those who have paid to download the latest version. Because >it's a low-dollar item I can't afford to be manually processing stuff - >I want my computer & web site to take care of 99% (that's why they made >computers - right!?). > >If someone can help get the twist out of my shorts, I'd appreciate it! Forget concealing the URL. Instead, play with cookies. When a user installs your app, the app creates a cookie as part of the installation process. When Joe User surfs over to your download site, your server only lets Joe get there if Joe has the right cookie. Otherwise, Joe ends up at a different URL -- perhaps one from which he can download a trial version of your software. From effendi at wanadoo.fr Fri Mar 10 06:03:28 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 10 Mar 2006 12:03:28 +0100 Subject: .xxx files Message-ID: <26b224d6c449174c3c47de6030a30a67@wanadoo.fr> Hi Robert, Sigh ! Well I suppose that is an obvious solution that I hadn't even thought about. And it represents no more than five minutes of scripting time ! Back to the drawing board ........ ! Thanks -Francis > I more or less guessed what the files were. My problem > is not what they are for, but HOW TO STOP THEM FROM > BEING COPIED, when I move from Mac to PC. Simply > because they are a PAIN ! Sometimes I copy folders with 200 > or 300 files from my Mac to my PC, and I can tell you, ignoring > these .xxx files is not as easy as it looks ! > > -Francis A job for a nifty Rev plugin (or just a function) that zaps those files into oblivion given a folder path? From 3mcgrath at adelphia.net Fri Mar 10 09:38:50 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 10 Mar 2006 09:38:50 -0500 Subject: Oragami In-Reply-To: <000001c64410$fe4ad380$0201010a@royalnexus> References: <000001c64410$fe4ad380$0201010a@royalnexus> Message-ID: Yeah, but did you install that! It is just a resized window for XP! I guess the message is if t runs on XP then it will run on Oragami. But I seriously doubt it. They did declare that the mobile version was scaled down etc. I thought this was a joke at first. Since it just took what was on my screen and resized the window. It didn't launch anything from with in an emulator but rather just framed the already running apps in a new window. Tom On Mar 10, 2006, at 2:05 AM, Scott Kane wrote: > Hi folks, > > M$ have just released a virtual machine for their > Oragami hand held. Supposedly anything that runs > on XP should run on Oragami. The virtual machine > link is below. > > http://www.microsoft.com/downloads/details.aspx?FamilyID=9c01c822- > e6d2-4 > 240-9fb3-b00e8ff4fbbf&DisplayLang=en > > Cheers > > Scott > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: > 9/03/2006 > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 3mcgrath at adelphia.net 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 From JimCarwardine at OwnYourFuture-net.com Fri Mar 10 10:09:19 2006 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Fri, 10 Mar 2006 11:09:19 -0400 Subject: Latest Version of RunRev for Mac OS 9??? In-Reply-To: Message-ID: Here is exactly what Heather told me... I am not expecting to see a 2.7 Classic version of Revolution I'm afraid. on 3/7/06 4:09 PM, Robert Brenstein wrote: >> Hi Dave... It's Rev 2.6.1 and you have to ask Heather directly. It's >> doubtful that 2.7 or later will get to OS 9... Jim >> > > I hope you are wrong, Jim. And the RR web site states that OS9 > version is coming, whatever that means. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Helping people focus and use time effectively and satisfyingly as they go through their day. Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From JimCarwardine at OwnYourFuture-net.com Fri Mar 10 10:17:36 2006 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Fri, 10 Mar 2006 11:17:36 -0400 Subject: Latest Version of RunRev for Mac OS 9??? In-Reply-To: Message-ID: Heather gave me this url: For Mac Classic: http://downloads.runrev.com/distributions/2.6.1/revolution.sit Jim on 3/8/06 2:10 PM, David Burgun wrote: > Hi, > > So was the 2.6.6 version promised, however we are still waiting for it. > > > I agree it is important to the educational market (as well as other > markets) which is why it blows my mind that there is no download > available for it. > > I have no intention of porting my MacOS 9 only stacks to 2.7, it's > just not worth it, but I would like to be able to download a version > of RunRev that works on MacOS 9 NOW, regardless of the version number! > > I really can't see the point of removing a working version of RunRev > for MacOS 9 from the website and replacing it with nothing! Surely it > would be better to leave the existing version available and then if > and when 2.7 comes along replace it then? > > In the meantime, here I am twiddling my thumbs waiting for someone > from RunRev to contact me and send the latest version (which I have a > license for). > > All the Best > Dave > > On 8 Mar 2006, at 17:46, Stephen Barncard wrote: > >> The OS9 version was promised, and I have no doubt they will deliver >> it. It's too important to the educational market. I heard the >> difficulty is that they have to use a new compiler for OS9. I think >> they don't want a non- version 2.7 out there. >> >> >>> Hi, >>> >>> I doubt there will be a version 2.7 for MacOS 9 either, the same >>> was said about version 2.6.6 and that version didn't materialize. >>> Don't understand why version 2.6.1 isn't on their web site tho? >>> >>> All the Best >>> Dave >>> >>> On 7 Mar 2006, at 20:09, Robert Brenstein wrote: >>> >>>>> Hi Dave... It's Rev 2.6.1 and you have to ask Heather directly. >>>>> It's >>>>> doubtful that 2.7 or later will get to OS 9... Jim >>>>> >>>> >>>> I hope you are wrong, Jim. And the RR web site states that OS9 >>>> version is coming, whatever that means. >>>> _______________________________________________ >> >> -- >> stephen barncard >> s a n f r a n c i s c o >> - - - - - - - - - - - - >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Helping people focus and use time effectively and satisfyingly as they go through their day. Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From ambassador at fourthworld.com Fri Mar 10 10:20:58 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Mar 2006 07:20:58 -0800 Subject: ._ files In-Reply-To: References: <7C5F0073-AF8A-11DA-8981-0030657E1638@pon.net> <4410706C.5070700@fourthworld.com> <44107CF7.6080506@fourthworld.com> Message-ID: <4411995A.1080205@fourthworld.com> Robert Brenstein wrote: >> But many OS X apps (even some from Apple?) don't set the Finder info, >> relying on OS X's preference to determine type from the file type >> extension in the name. > > Many don't but many still do. Many set both, type and suffix. :) > >> I still feel it would be useful to allow users to be in control of >> these additional files. It makes it cumbersome to use any non-Apple >> Flash drive, work with multi-platform networks, etc. Not allowing >> that control just makes Apple look bad, lending credence to the old >> lightbulb joke: >> > > Well, yes, it would be nice, but then it would create new issues tot > ackle. One one hand, to explain to users when to say yes and when to say > no. On the other hand, to implement it in the interface cleanly. I don't see it as all that atom-splitting. If I were appointed Resource File Czar I'd leave the default the way it is, and have an "Advanced" option in a control panel for people who want control over their Mac. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From rjb at robelko.com Fri Mar 10 10:27:00 2006 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 10 Mar 2006 16:27:00 +0100 Subject: Latest Version of RunRev for Mac OS 9??? In-Reply-To: References: Message-ID: I wonder what that exactly means: no 2.7.0 but 2.7.1. or 2.7.2 or no 2.7.x at all. If the latters, RunRev could be accused of false advertisement. I wonder whether that is the same offense in Scotland as it is in the US. Furthermore, if they were planning not to have any 2.7.x release, why would they remove 2.6.x? I guess I am trying to stay optimistic and see their action in best possible light :) >Here is exactly what Heather told me... > > >I am not expecting to see a 2.7 Classic version of Revolution I'm afraid. > > >on 3/7/06 4:09 PM, Robert Brenstein wrote: > >>> Hi Dave... It's Rev 2.6.1 and you have to ask Heather directly. It's >>> doubtful that 2.7 or later will get to OS 9... Jim >>> >> >> I hope you are wrong, Jim. And the RR web site states that OS9 >> version is coming, whatever that means. > > _______________________________________________ From mvreade at earthlink.net Fri Mar 10 10:45:07 2006 From: mvreade at earthlink.net (Mvreade) Date: Fri, 10 Mar 2006 07:45:07 -0800 Subject: Making the move... Message-ID: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> Hi, I've been playing with Revolution for a few days and am VERY impressed with its capabilities and ease of use. I do however, have a few questions and reservations, which hopefully you guys can answer. I found it a bit buggy (using a iBook G4, 1G of memory, on OSX 10.4). The property inspector went blank a few times, the application crashed once, the sample database query in the example solutions was updating records, demo videos weren't displaying, to mention a few. So the quesiton is, how good of an environment to work on is it? And how stable are the final applications? For users who have used Rev for databases, I was wondering what it's like to develop a system with, say, 20 tables and lots or relationships and methods? Where would one store all the methods? For relationships, would one just keep a VERYlong list of Database Queries? Finally, does any one know if Runtime Revolution Ltd has any plans to have a connection to an open source, embeddable database, such as SQLite? Thanks for your help, Michael Reade From JimCarwardine at OwnYourFuture-net.com Fri Mar 10 10:57:58 2006 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Fri, 10 Mar 2006 11:57:58 -0400 Subject: Latest Version of RunRev for Mac OS 9??? In-Reply-To: Message-ID: My guess it that developing for 2 Mac platforms is expensive for Rev when (I suspect) that not too many Rev users are still using OS 9 or Classic. I still am because I'm still using some very old Mac software that can't be replaced on a Mac OSX platform - like MacProject - that has a 1989 date on it. I'll bet there are millions of Mac users out there as well using ancient Macs that are frozen at OS 8 or 7.5. Then there is this guy... God love him. I want Apple to stand by their promise to all third party developers years ago when they published their Apple Mac Standards volumes - conform to these standards and your application will always run on a Mac. If they don't then you and I will be stale-dated at OS 10.4.5 or whatever. If they renege on that promise and cancel Classic it creates a huge problem for developers who bought into it as there are still a huge number of OS 9 users out there. After 20 years it is still good but it seems that Classic will not be continued... Jim on 3/10/06 11:27 AM, Robert Brenstein wrote: > I wonder what that exactly means: no 2.7.0 but 2.7.1. or 2.7.2 or no > 2.7.x at all. > > If the latters, RunRev could be accused of false advertisement. I > wonder whether that is the same offense in Scotland as it is in the > US. Furthermore, if they were planning not to have any 2.7.x release, > why would they remove 2.6.x? > > I guess I am trying to stay optimistic and see their action in best > possible light :) > > > >> Here is exactly what Heather told me... >> >> >> I am not expecting to see a 2.7 Classic version of Revolution I'm afraid. >> >> >> on 3/7/06 4:09 PM, Robert Brenstein wrote: >> >>>> Hi Dave... It's Rev 2.6.1 and you have to ask Heather directly. It's >>>> doubtful that 2.7 or later will get to OS 9... Jim >>>> >>> >>> I hope you are wrong, Jim. And the RR web site states that OS9 >>> version is coming, whatever that means. >>> _______________________________________________ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Helping people focus and use time effectively and satisfyingly as they go through their day. Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From livfoss at mac.com Fri Mar 10 12:38:13 2006 From: livfoss at mac.com (Graham Samuel) Date: Fri, 10 Mar 2006 18:38:13 +0100 Subject: Must an OSX app have an 'Edit' menu? Message-ID: <939A185F-D546-4DAC-985E-E972C056E3B3@mac.com> I've been asked to produce an app with no 'Edit' features on its main screen (editing is confined to specialised activities in other stacks that are not normally visible), and as such the 'Edit' menu is redundant. However, this may be against the HIG, and anyway the RR docs say > The Edit menu and the "Preferences" menu item > On OS X systems, the "Preferences" menu item is also normally > placed in the > Application menu. To accommodate this user-interface standard, > Revolution removes the > last two menu items of the Edit menu when a standalone application > is running on an OS > X system. Therefore, the last menu item in your Edit menu button > should be > "Preferences". The menu item above it should be a divider line (a > dash). > Note: The Preferences menu item is treated in this special way > only if its name starts > with the string "Preferences". Well, I need a 'Preferences' item, so am I doomed to have an 'Edit' menu on OSX? Anyone know a way around this? TIA Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From jperryl at ecs.fullerton.edu Fri Mar 10 12:38:25 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 10 Mar 2006 09:38:25 -0800 (PST) Subject: Latest Version of RunRev for Mac OS 9??? In-Reply-To: Message-ID: My department's FrankenLab is still running OS 9. Until a year ago it was because the machines only had 128 MB RAM, however, now it seems we're fated to run OS 9 in perpetuity because one of our courses uses some obscure and ancient software that apparently can't be found running on any newer OSs. :-( Judy On Fri, 10 Mar 2006, Jim Carwardine wrote: > My guess it that developing for 2 Mac platforms is expensive for Rev when > (I suspect) that not too many Rev users are still using OS 9 or Classic. > > I still am because I'm still using some very old Mac software that can't be > replaced on a Mac OSX platform - like MacProject - that has a 1989 date on > it. I'll bet there are millions of Mac users out there as well using > ancient Macs that are frozen at OS 8 or 7.5. Then there is this guy... > God love him. From jperryl at ecs.fullerton.edu Fri Mar 10 12:40:31 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 10 Mar 2006 09:40:31 -0800 (PST) Subject: Making the move... In-Reply-To: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> Message-ID: Michael, For the videos, did you check the box when installing rev to install the necessary enSharpen codec? Hopefully others can answer your other questions. Judy From klaus at major-k.de Fri Mar 10 12:54:42 2006 From: klaus at major-k.de (Klaus Major) Date: Fri, 10 Mar 2006 18:54:42 +0100 Subject: Must an OSX app have an 'Edit' menu? In-Reply-To: <939A185F-D546-4DAC-985E-E972C056E3B3@mac.com> References: <939A185F-D546-4DAC-985E-E972C056E3B3@mac.com> Message-ID: <9F3B2550-16D4-4B06-8C50-FEBBC3F5067C@major-k.de> Hi Graham, > I've been asked to produce an app with no 'Edit' features on its > main screen (editing is confined to specialised activities in other > stacks that are not normally visible), and as such the 'Edit' menu > is redundant. However, this may be against the HIG, and anyway the > RR docs say > >> The Edit menu and the "Preferences" menu item >> On OS X systems, the "Preferences" menu item is also normally >> placed in the >> Application menu. To accommodate this user-interface standard, >> Revolution removes the >> last two menu items of the Edit menu when a standalone application >> is running on an OS >> X system. Therefore, the last menu item in your Edit menu button >> should be >> "Preferences". The menu item above it should be a divider line (a >> dash). >> Note: The Preferences menu item is treated in this special way >> only if its name starts >> with the string "Preferences". > > Well, I need a 'Preferences' item, so am I doomed to have an 'Edit' > menu on OSX? I am afraid yes :-/ See also bug nr. 818 > Anyone know a way around this? The only way to work around this is to have a disabled menuitems in that menu, that's the way I do it: (Cu&t/X (&Copy/C (&Paste/V (Clear - Preferences > TIA > > Graham > > ---------------------------------------- > Graham Samuel / The Living Fossil Co. / UK and France Regards Klaus Major klaus at major-k.de http://www.major-k.de From chipp at chipp.com Fri Mar 10 13:17:54 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 10 Mar 2006 12:17:54 -0600 Subject: Making the move... In-Reply-To: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> References: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> Message-ID: <4411C2D2.60803@chipp.com> Mvreade wrote: > So the quesiton is, how good of an environment to work on is it? The version you are probably using, 2.7, is only recently released and as such still has some fixes to go through. Many of us are still on 2.6.1 waiting for the next dot release to switch over. > > And how stable are the final applications? I've not had any problems with final apps and we've created quite a few. www.altuit.com > > For users who have used Rev for databases, I was wondering what it's > like to develop a system with, say, 20 tables and lots or > relationships and methods? > > Where would one store all the methods? You can use Trevor Devore's excellent (and free!) libDatabase at: http://www.mangomultimedia.com/developer/revolution/ to help you with your functions and handlers. > > For relationships, would one just keep a VERYlong list of Database > Queries? > > Finally, does any one know if Runtime Revolution Ltd has any plans to > have a connection to an open source, embeddable database, such as > SQLite? We sell an a Rev DB SQLite connector which also has a great overall Rev DB tutorial...takes 5 minutes. You can check it out at: http://www.altuit.com/webs/altuit2/altSQLiteCover/default.htm best, Chipp Walters From Andre.Bisseret at inria.fr Fri Mar 10 13:37:54 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q?Andr=E9.Bisseret?=) Date: Fri, 10 Mar 2006 19:37:54 +0100 Subject: copy from a locked, focusable fld under Windows Message-ID: Hi ! I have fields that are set to "lock text", "focusable" and "auto hilite text". I want that users be able to select a part of text and to copy it in order to paste it elsewhere (for ex. in a Word document). All works well with Mac : 1 - draging or (clicking at the beginning of the text and shift-clicking at the end) > the text is selected 2 then, "Copy" in the "Edit" menu, or "Apple C" put the text into the clipboard. With Windows system, friends who are testing my app. report that Ctrl C does not work. I tried a button "bCopy" ( do the name of me) with the following handler in the stack script : on bCopy if there is no selection then answer "Nothing selected" exit bCopy else copy the selectedText answer "Your selected text is in the clipboard" end if end bCopy It works well on Mac but not on Windows. Any idea to get it on Windows Thanks a lot in advance Best regards from Grenoble Andr? From ambassador at fourthworld.com Fri Mar 10 13:52:21 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Mar 2006 10:52:21 -0800 Subject: folder permissions on Win? Message-ID: <4411CAE5.9010802@fourthworld.com> On OS X it's easy to set up a truly limited user account, but on Windows when I set an account to "Limited" I can still access just about every folder on the drive. As far as I can tell the only limitation on a "Limited" account is the inability to create other accounts, but since those accounts are not limited in any other way it's not much of a limitation at all. This raises two questions: 1. How can I set up an account which prevents access to the Program Files directory? 2. Should I file a bug report with Microsoft to let them know that "limited" accounts are not really limited? I wouldn't mind being wrong on this one if someone can point the way to creating an account which doesn't let the "limited" user destroy everything on my system. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From troy_lists at rpsystems.net Fri Mar 10 14:03:23 2006 From: troy_lists at rpsystems.net (Troy Rollins) Date: Fri, 10 Mar 2006 14:03:23 -0500 Subject: Mac OSX, Spotlight, and Rev Message-ID: <429A66B6-B58A-4325-8651-5FDA984F8FF7@rpsystems.net> (Hi again, everyone.) Some time back, I seem to recall reading that Revolution had some form of Spotlight integration under OSX. Can anyone point me to some information about this? Or just tell me I remember wrongly? Thanks. -- Troy RPSystems, Ltd. http://www.rpsystems.net From jacque at hyperactivesw.com Fri Mar 10 14:15:49 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Mar 2006 13:15:49 -0600 Subject: Change image to another image in stack In-Reply-To: <441119A9.5040508@paraboliclogic.com> References: <4410EB1D.3040705@comcast.net> <4410ED78.3080809@paraboliclogic.com> <441106B9.50703@hyperactivesw.com> <441119A9.5040508@paraboliclogic.com> Message-ID: <4411D065.2070101@hyperactivesw.com> Garrett Hylltun wrote: > I now hate asking questions about Rev, because I know the answer is > going to be so damn simple that I'm going to feel like an idiot when I > see it! ;-) I know you're joking, but please don't feel stupid and do keep asking questions, no matter how simple you think they may be. I've said this before but it bears repeating: for every question someone asks, there are ten shy people out there who want to know but haven't had the courage. This list gets very esoteric sometimes. I really welcome the newcomer questions, because there are so many others on this list who can benefit from them. Your questions are a blessing to this list. Please carry on, and be as stupid as you like. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Fri Mar 10 14:30:32 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 10 Mar 2006 11:30:32 -0800 Subject: The End of Dreamcard? In-Reply-To: <441104B9.5070005@hyperactivesw.com> References: <5DE14B83-50B5-48B9-892E-45809A896205@lexicall.org> <11612510659.20060309121813@ahsoftware.net> <441104B9.5070005@hyperactivesw.com> Message-ID: <15611470513.20060310113032@ahsoftware.net> Jacque- > I am still working on my time warp stack, which I started next year and > plan to finish by last week. I'm going to be out of town last week. If you finish by week before last then I'll be in good shape. -- -Mark Wieder mwieder at ahsoftware.net From soapdog at mac.com Fri Mar 10 15:16:37 2006 From: soapdog at mac.com (Andre Garzia) Date: Fri, 10 Mar 2006 17:16:37 -0300 Subject: Mac OSX, Spotlight, and Rev In-Reply-To: <429A66B6-B58A-4325-8651-5FDA984F8FF7@rpsystems.net> References: <429A66B6-B58A-4325-8651-5FDA984F8FF7@rpsystems.net> Message-ID: <84C6E023-DA45-4E89-B37F-7EC373A8F36F@mac.com> Troy, you can access all spotlight query features using the shell() command and calling mdfind command. Revolution 2.6 has a spotlight importer that will index our scripts but I really don't know if it is present on 2.7 Cheers andre On Mar 10, 2006, at 4:03 PM, Troy Rollins wrote: > (Hi again, everyone.) > > Some time back, I seem to recall reading that Revolution had some > form of Spotlight integration under OSX. Can anyone point me to > some information about this? Or just tell me I remember wrongly? > > Thanks. > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jonathandlynch at gmail.com Fri Mar 10 15:47:20 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 10 Mar 2006 15:47:20 -0500 Subject: Making the move... In-Reply-To: <4411C2D2.60803@chipp.com> References: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> <4411C2D2.60803@chipp.com> Message-ID: <31e1938c0603101247t4763d3b9k914838526791fc01@mail.gmail.com> One thing to bear in mind as well... It is not just the program, it is the support you get from this group - far better and more creative than any simple help desk a company could ever provide. If you need to find a solution using RunRev, and the path to pursue is not apparent, you can seek help on this group and will probably get excellent replies in just a few minutes. From jonathandlynch at gmail.com Fri Mar 10 15:48:51 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 10 Mar 2006 15:48:51 -0500 Subject: copy from a locked, focusable fld under Windows In-Reply-To: References: Message-ID: <31e1938c0603101248q145c3998n7d9b90830de4d43@mail.gmail.com> Sometimes, trying to copy from RunRev on windows does not work. In Task Mage I intercept ctrl C and tell it to do what I want. From sanke at hrz.uni-kassel.de Fri Mar 10 16:17:01 2006 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 10 Mar 2006 22:17:01 +0100 Subject: copy from a locked, focusable fld under Windows Message-ID: <4411ECCD.1060606@hrz.uni-kassel.de> On Fri Mar 10, 2006, Andr?.Bisseret Andre.Bisseret at inria.fr wrote: > Hi ! > I have fields that are set to "lock text", "focusable" and "auto hilite > text". > I want that users be able to select a part of text and to copy it in > order to paste it elsewhere (for ex. in a Word document). > > (snip) > > It works well on Mac but not on Windows. > > Any idea to get it on Windows > > Thanks a lot in advance > > Best regards from Grenoble > Andr? Hi Andr?, It works for me here on Windows (XP) with engine version 2.6.1, but somewhat differently in the Metacard and Revolution IDEs. In the Metacard IDE CTRL-c and CTRL-V for copying and pasting work without problems (with "locktext", "Autohilite", and "Traversal On" checked; "Traversal On" is the equivalent of "focusable" in Rev.) In the Revolution IDE CTRL-C indeed does not work (with the same field and stack), but I could copy the mouse-selected text from the menubar. This would pose a problem in Rev if your application is a standalone. The stack I tested is my documentation search stack "SearchdocsXML_2.6.1" which you are already acquainted with as you had a look at it while you were experimenting with search strategies some time ago (page "Tools and Samples for Development" of my website ). Kind regards, Wilhelm Sanke From revolutionary.dan at gmail.com Fri Mar 10 16:33:37 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Fri, 10 Mar 2006 13:33:37 -0800 Subject: runrev for CRM In-Reply-To: References: <70ed6b130603081037g18d7a81an90aada84a2c208eb@mail.gmail.com> Message-ID: <70ed6b130603101333h172b30f1n22fbc4c3d5c6c7c4@mail.gmail.com> Yes, that would certainly be doable. My guess is that lots of people here have rolled their own pieces of this kind of solution. But Rev is a very good choice of a tool to do what you want for sure. On 3/8/06, Thom Wright wrote: > > Sorry for the confusion, looking for a customer relationship management > program kind of like ACT goldmine, now up to date, daylite, etc. but it > doesn't need to manage sales and billable accounts. want something to > manage specifics, appt dates, > link to word files, give a history of activities. be customizeable. > > would something like that be doable. > > thanks for your time, > > > Thom Wright > School Counselor > Jefferson Middle School > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From revolutionary.dan at gmail.com Fri Mar 10 16:43:15 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Fri, 10 Mar 2006 13:43:15 -0800 Subject: Revolution vs Visual Basic In-Reply-To: <9b408d8e0603081149g43ce5dc6ge9f8a897694e37ed@mail.gmail.com> References: <70ed6b130603081056o103b9456n598ca0f40b197642@mail.gmail.com> <9b408d8e0603081149g43ce5dc6ge9f8a897694e37ed@mail.gmail.com> Message-ID: <70ed6b130603101343s596c3685ga9fa6bb23b2423a0@mail.gmail.com> Just by way of explanation.... I was responding to the specific user's specific question. If you come from a high comfort level in VB and you are building Windows-only apps, then the result is likely as I describe. For anyone whose situation does not fit that profile, my comment is less applicable or even totally wrong and irrelevant. On 3/8/06, Mikey wrote: > > > A lot of what you are looking for in Rev isn't built in but as others > have > > shown in their answers here, creating the functionality in Rev is close > to > > trivial. But the programming paradigm in Revolution with its Transcript > > xTalk language is so substantially different from the approaches taken > by VB > > that twisting your head around it may prove challenging. That challenge > is > > definitely worthwhile if you plan to create cross-platform software but > if > > you don't, I'm not sure it's worth it. > > I would tend to agree with and disagree with this statement at the > same time. > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From revolutionary.dan at gmail.com Fri Mar 10 16:45:11 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Fri, 10 Mar 2006 13:45:11 -0800 Subject: Revolution vs Visual Basic In-Reply-To: <440F859A.5010104@howsoft.com> References: <440F859A.5010104@howsoft.com> Message-ID: <70ed6b130603101345i5879564doc3c380c1c8077e2f@mail.gmail.com> There is also a wonderful InstallGadget Rev app that wraps the INNO installer nicely. Available from Sweat Technologies: http://www.sweattechnologies.com/InstallGadget/ On 3/8/06, Bob Warren wrote: > > Haitham wrote: > > >Question (6): > > >When we want to produce the program (or application) that is created by > >Revolution, we can produce it as EXE file (in windows). But what if we > >need to make some kind of Installation or Setup? Can we do it? > > >What about if the users want to uninstall our program (or software)? > >Can they? > > ------------------------------------------------------------------ > For a demo INNO setup of a Rev standalone, navigate to:- > > http://www.howsoft.com/runrev/downloads/ > > - and download the file: > > Picture Chooser Widget for Windows XP or 2000_setup.exe > > It includes an uninstall. > > Cheers, > Bob Warren > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From revolutionary.dan at gmail.com Fri Mar 10 16:48:19 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Fri, 10 Mar 2006 13:48:19 -0800 Subject: Revolution vs Visual Basic In-Reply-To: References: <70ed6b130603081056o103b9456n598ca0f40b197642@mail.gmail.com> <9b408d8e0603081149g43ce5dc6ge9f8a897694e37ed@mail.gmail.com> Message-ID: <70ed6b130603101348t7d4a5eefhe3104c04cdddec05@mail.gmail.com> Thanks for sharing that delightful story, Kay. I'm sure it resonates with a LOT of us. On 3/9/06, Kay C Lan wrote: -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From simplsol at aol.com Fri Mar 10 16:49:33 2006 From: simplsol at aol.com (simplsol at aol.com) Date: Fri, 10 Mar 2006 16:49:33 -0500 Subject: runrev for CRM In-Reply-To: <70ed6b130603101333h172b30f1n22fbc4c3d5c6c7c4@mail.gmail.com> References: <70ed6b130603081037g18d7a81an90aada84a2c208eb@mail.gmail.com> <70ed6b130603101333h172b30f1n22fbc4c3d5c6c7c4@mail.gmail.com> Message-ID: <8C812A3A710829C-10E0-5248@FWM-M12.sysops.aol.com> Thom, A CRM can be something as simple as a Rolodex-style card file or a module in a fully integrated business system. We have done both. Rev works well for either. Simple CRMs are done quite easily and will not excessively challenge the skills of most Rev beginners. More complicated CRMs are more work, almost "real programming", and require more time, effort, commitment, and skill. One of the biggest advantages of Rev (and all Xcards) is that you can "work backwards": build the interface first, then write the scripts to support that interface - in my experience this will take about 1/10 th the time required to build it the traditional way. An additional advantage is the modular nature of things you build with Rev - it is usually easy to fix bugs, add features or enhance the product after it is completed. You can begin with something very basic and grow it as you needs and budget require/permit. To answer your question specifically: this is not only "doable" in Rev, Rev is probably the best means of doing it. Paul Looney -----Original Message----- From: Dan Shafer To: How to use Revolution Sent: Fri, 10 Mar 2006 13:33:37 -0800 Subject: Re: runrev for CRM Yes, that would certainly be doable. My guess is that lots of people here have rolled their own pieces of this kind of solution. But Rev is a very good choice of a tool to do what you want for sure. On 3/8/06, Thom Wright wrote: > > Sorry for the confusion, looking for a customer relationship management > program kind of like ACT goldmine, now up to date, daylite, etc. but it > doesn't need to manage sales and billable accounts. want something to > manage specifics, appt dates, > link to word files, give a history of activities. be customizeable. > > would something like that be doable. > > thanks for your time, > > > Thom Wright > School Counselor > Jefferson Middle School > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From revolutionary.dan at gmail.com Fri Mar 10 16:52:40 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Fri, 10 Mar 2006 13:52:40 -0800 Subject: Put data into text file on server In-Reply-To: <441080B2.2080801@comcast.net> References: <441080B2.2080801@comcast.net> Message-ID: <70ed6b130603101352i7dcf2f99y6092ac6e2112018a@mail.gmail.com> I don't think you can use FTP for this purpose. FTP wants to transfer a file from point A to point B. On 3/9/06, Marty Knapp wrote: > > I'm trying to put data into a text file on a server using the following: > > put "test"after URL "ftp://username:password at ftp.mydomain.com/mylog.txt" > > but nothing gets written to the file. The Result shows no error. Am I > missing something obvious? > > > Marty Knapp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From troy_lists at rpsystems.net Fri Mar 10 17:15:22 2006 From: troy_lists at rpsystems.net (Troy Rollins) Date: Fri, 10 Mar 2006 17:15:22 -0500 Subject: Mac OSX, Spotlight, and Rev In-Reply-To: <84C6E023-DA45-4E89-B37F-7EC373A8F36F@mac.com> References: <429A66B6-B58A-4325-8651-5FDA984F8FF7@rpsystems.net> <84C6E023-DA45-4E89-B37F-7EC373A8F36F@mac.com> Message-ID: <4B09EEC5-2101-4A9C-9FCF-E06ED5491337@rpsystems.net> On Mar 10, 2006, at 3:16 PM, Andre Garzia wrote: > you can access all spotlight query features using the shell() > command and calling mdfind command. > > Revolution 2.6 has a spotlight importer that will index our scripts > but I really don't know if it is present on 2.7 Hmm. So, if we wanted to make our own content indexable, this doesn't have much to do with that, huh? I was hoping there was some way to support indexing data stacks and the like. -- Troy RPSystems, Ltd. http://www.rpsystems.net From JimAultWins at yahoo.com Fri Mar 10 17:17:09 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 10 Mar 2006 14:17:09 -0800 Subject: Put data into text file on server In-Reply-To: <441080B2.2080801@comcast.net> Message-ID: Suggest that you set up the log to a field using libURLSetLogField longFieldDescriptor Worked for me, but I only used it a few times for very small files. 'after' should work, since the mechanism used by Rev is that the file is downloaded to you first, appended, then uploaded. Dave Cragg made some suggestions about a month ago on this list, and he is the guy who really knows this stuff. Search the archives for his post and perhaps solve your problem. Jim Ault Las Vegas On 3/9/06 11:23 AM, "Marty Knapp" wrote: > I'm trying to put data into a text file on a server using the following: > > put "test"after URL "ftp://username:password at ftp.mydomain.com/mylog.txt" > > but nothing gets written to the file. The Result shows no error. Am I > missing something obvious? > > > Marty Knapp From soapdog at mac.com Fri Mar 10 17:20:48 2006 From: soapdog at mac.com (Andre Garzia) Date: Fri, 10 Mar 2006 19:20:48 -0300 Subject: Mac OSX, Spotlight, and Rev In-Reply-To: <4B09EEC5-2101-4A9C-9FCF-E06ED5491337@rpsystems.net> References: <429A66B6-B58A-4325-8651-5FDA984F8FF7@rpsystems.net> <84C6E023-DA45-4E89-B37F-7EC373A8F36F@mac.com> <4B09EEC5-2101-4A9C-9FCF-E06ED5491337@rpsystems.net> Message-ID: Troy, you can use applescript to set the text that is used to index you content... I really think there were something along the lines of a property called spotlighttext in Rev 2.6 that you could set and then it would be indexed using finder.mdimport... but I am quoting from memory and I might had dreamed it. Cheers andre On Mar 10, 2006, at 7:15 PM, Troy Rollins wrote: > > On Mar 10, 2006, at 3:16 PM, Andre Garzia wrote: > >> you can access all spotlight query features using the shell() >> command and calling mdfind command. >> >> Revolution 2.6 has a spotlight importer that will index our >> scripts but I really don't know if it is present on 2.7 > > Hmm. So, if we wanted to make our own content indexable, this > doesn't have much to do with that, huh? I was hoping there was some > way to support indexing data stacks and the like. > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Fri Mar 10 17:21:29 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 10 Mar 2006 14:21:29 -0800 Subject: copy from a locked, focusable fld under Windows In-Reply-To: Message-ID: On 3/10/06 10:37 AM, "Andr?.Bisseret" wrote: > Hi ! > I have fields that are set to "lock text", "focusable" and "auto hilite > text". > I want that users be able to select a part of text and to copy it in > order to paste it elsewhere (for ex. in a Word document). > > All works well with Mac : > 1 - draging or (clicking at the beginning of the text and > shift-clicking at the end) > the text is selected > 2 then, "Copy" in the "Edit" menu, or "Apple C" put the text into the > clipboard. > > With Windows system, friends who are testing my app. report that Ctrl > C does not work. > > I tried a button "bCopy" ( do the name of me) with the following > handler in the stack script : > on bCopy > if there is no selection then > answer "Nothing selected" > exit bCopy > else > copy the selectedText > answer "Your selected text is in the clipboard" > end if > end bCopy > > It works well on Mac but not on Windows. > > Any idea to get it on Windows > > Thanks a lot in advance > The work around I used a couple months ago was to let the Windows user click the field which put the text in an unlocked field. Definitely not a standard interface, but the text was small values rather than paragraphs, so the client actually liked the way it worked. A refinement was that he could click on successive terms/values and they would concatenate in the temp field and could be copied in one step. If you find a good solution, I would be interested. My next client app will likely need the feature you are describing. Jim Ault Las Vegas From revolutionary.dan at gmail.com Fri Mar 10 17:21:56 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Fri, 10 Mar 2006 14:21:56 -0800 Subject: Secure download location In-Reply-To: <4410EB1D.3040705@comcast.net> References: <4410EB1D.3040705@comcast.net> Message-ID: <70ed6b130603101421g75e57e92j57a541f08025b03c@mail.gmail.com> Think about building this functionality on Altuit's Magic Carpet. http://www.altuit.com On 3/9/06, Marty Knapp wrote: > > I'm wanting to set up a situation where people can download an update of > my program via a "download update" menu script, but keep the URL from > being known. I was tinkering with the revGoURL ftp route, but my > username and password show up in the browser history, which is, of > course, not good! > > I've been reading the docs about all the URL stuff. I took a look at the > Tutorials from So Smart Software and I'm getting more, not less > confused. It seems like there's a lot of options, though the difference > between them isn't clear to me yet. Basically I need to protect myself > from people just downloading the software who haven't paid, but make it > easy for those who have paid to download the latest version. Because > it's a low-dollar item I can't afford to be manually processing stuff - > I want my computer & web site to take care of 99% (that's why they made > computers - right!?). > > If someone can help get the twist out of my shorts, I'd appreciate it! > > Thanks, > Marty Knapp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From sarah.reichelt at gmail.com Fri Mar 10 17:23:19 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 11 Mar 2006 08:23:19 +1000 Subject: Mac OSX, Spotlight, and Rev In-Reply-To: <4B09EEC5-2101-4A9C-9FCF-E06ED5491337@rpsystems.net> References: <429A66B6-B58A-4325-8651-5FDA984F8FF7@rpsystems.net> <84C6E023-DA45-4E89-B37F-7EC373A8F36F@mac.com> <4B09EEC5-2101-4A9C-9FCF-E06ED5491337@rpsystems.net> Message-ID: > > Revolution 2.6 has a spotlight importer that will index our scripts > > but I really don't know if it is present on 2.7 > > Hmm. So, if we wanted to make our own content indexable, this doesn't > have much to do with that, huh? I was hoping there was some way to > support indexing data stacks and the like. Rev stacks since 2.6.1 (I think) have been indexed by Spotlight, but I think it only indexes the scripts and not the fields. It may index custom properties, so if your data is stored there, you can test that. Cheers, Sarah From martyknapp at comcast.net Fri Mar 10 17:32:10 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Fri, 10 Mar 2006 14:32:10 -0800 Subject: Put data into text file on server In-Reply-To: <70ed6b130603101352i7dcf2f99y6092ac6e2112018a@mail.gmail.com> References: <441080B2.2080801@comcast.net> <70ed6b130603101352i7dcf2f99y6092ac6e2112018a@mail.gmail.com> Message-ID: <4411FE6A.5090407@comcast.net> Thanks Dan, That make total sense. Not sure why that didn't occur to me! Jim Ault had a suggestion to check Dave Cragg's post on this - I'll see what I can find. Marty Knapp > I don't think you can use FTP for this purpose. FTP wants to transfer a file > from point A to point B. > > > > On 3/9/06, Marty Knapp wrote: > >> I'm trying to put data into a text file on a server using the following: >> >> put "test"after URL "ftp://username:password at ftp.mydomain.com/mylog.txt" >> >> but nothing gets written to the file. The Result shows no error. Am I >> missing something obvious From ambassador at fourthworld.com Fri Mar 10 17:38:33 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Mar 2006 14:38:33 -0800 Subject: Mac OSX, Spotlight, and Rev In-Reply-To: References: <429A66B6-B58A-4325-8651-5FDA984F8FF7@rpsystems.net> <84C6E023-DA45-4E89-B37F-7EC373A8F36F@mac.com> <4B09EEC5-2101-4A9C-9FCF-E06ED5491337@rpsystems.net> Message-ID: <4411FFE9.2020808@fourthworld.com> Sarah Reichelt wrote: > Rev stacks since 2.6.1 (I think) have been indexed by Spotlight, but I > think it only indexes the scripts and not the fields. Who wants their scripts indexed? And if someone wants a stack indexed, isn't the interest more likely in having the content indexed? :\ -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From martyknapp at comcast.net Fri Mar 10 17:40:29 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Fri, 10 Mar 2006 14:40:29 -0800 Subject: Secure download location In-Reply-To: <70ed6b130603101421g75e57e92j57a541f08025b03c@mail.gmail.com> References: <4410EB1D.3040705@comcast.net> <70ed6b130603101421g75e57e92j57a541f08025b03c@mail.gmail.com> Message-ID: <4412005D.8050200@comcast.net> I'll check out Altuit's Magic Carpet. I have been playing with the tutorial from So Smart Software and have made a lot of progress. One of my problems was that the disk image I was testing on for my download was corrupted. Argh. It's amazing how many hours you can fight with something, only to find something really stupid that's tripping you up. Thanks to a number of you who have made suggestions. Here's another question - If I use the "load url" command and go with the ftp protocol, am I exposing myself by having my username and password passed with this? I now know that it's exposed if I use a browser, but what about this route? Thanks, Marty Knapp Dan Shafer wrote: > Think about building this functionality on Altuit's Magic Carpet. > http://www.altuit.com > > On 3/9/06, Marty Knapp wrote: > >> I'm wanting to set up a situation where people can download an update of >> my program via a "download update" menu script, but keep the URL from >> being known. I was tinkering with the revGoURL ftp route, but my >> username and password show up in the browser history, which is, of >> course, not good! >> >> I've been reading the docs about all the URL stuff. I took a look at the >> Tutorials from So Smart Software and I'm getting more, not less >> confused. It seems like there's a lot of options, though the difference >> between them isn't clear to me yet. Basically I need to protect myself >> from people just downloading the software who haven't paid, but make it >> easy for those who have paid to download the latest version. Because >> it's a low-dollar item I can't afford to be manually processing stuff - >> I want my computer & web site to take care of 99% (that's why they made >> computers - right!?). From JimAultWins at yahoo.com Fri Mar 10 17:41:32 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 10 Mar 2006 14:41:32 -0800 Subject: Mac OSX, Spotlight, and Rev In-Reply-To: Message-ID: Hmmm, I don't get any results for my Rev stacks, either script, fld, or custom property. Maybe there is a preference or setting required. It would be nice to be able to have the spotlight search. Spotlight does work in NoteTaker (.ntx) outlining formats and Excel workbooks. Does anyone have this working? I have a plugin that loads a button into altPlugins toolbar where one click saves the top stack, and saves the stack script container to a text file in a folder called 'scriptsRev'. I append the seconds to the front of the file name so the versions are in chrono. Also, I build a function that writes the scripts of my apps when they start, so I get copies of the scripts, even when I stop, tweak, and restart. Jim Ault Las Vegas On 3/10/06 2:23 PM, "Sarah Reichelt" wrote: >>> Revolution 2.6 has a spotlight importer that will index our scripts >>> but I really don't know if it is present on 2.7 >> >> Hmm. So, if we wanted to make our own content indexable, this doesn't >> have much to do with that, huh? I was hoping there was some way to >> support indexing data stacks and the like. > > Rev stacks since 2.6.1 (I think) have been indexed by Spotlight, but I > think it only indexes the scripts and not the fields. It may index > custom properties, so if your data is stored there, you can test that. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Fri Mar 10 17:42:14 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Mar 2006 14:42:14 -0800 Subject: Revolution vs Visual Basic In-Reply-To: <70ed6b130603101345i5879564doc3c380c1c8077e2f@mail.gmail.com> References: <440F859A.5010104@howsoft.com> <70ed6b130603101345i5879564doc3c380c1c8077e2f@mail.gmail.com> Message-ID: <441200C6.6080601@fourthworld.com> Haitham wrote: > When we want to produce the program (or application) that is > created by Revolution, we can produce it as EXE file (in > windows). But what if we need to make some kind of Installation > or Setup? Can we do it? You can use any common installer system for that just like you would anything else. I used to use Wise Install, and while I think it's a wonderful tool I needed tighter integration with my automated build system so I'm writing my own installer. Only a couple days' work and I'm almost done. In fact, the Rev 2.7 installer was also made with Rev. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From revolutionary.dan at gmail.com Fri Mar 10 17:42:54 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Fri, 10 Mar 2006 14:42:54 -0800 Subject: The End of Dreamcard? In-Reply-To: <5DE14B83-50B5-48B9-892E-45809A896205@lexicall.org> References: <5DE14B83-50B5-48B9-892E-45809A896205@lexicall.org> Message-ID: <70ed6b130603101442v57058163od05e603f219f8d46@mail.gmail.com> Marielle...... I take note of the fact that you don't like my anonymous-endorser methodology. It was not my intent to "convince non profit usrs on this list to put the little money they have in revolution rather than other products." My intent, as I stated it clearly, was to bring perhaps a little perspective and humor to the discussion. Obviously in your case I failed. On 3/9/06, Marielle Lange wrote: > > Hi Dan, > > I rather agree with the argument you make, but I disagree with the > way it is made, using the story of another person that nobody can > check up. I far prefer that attempts to convince non profit users on > this list to put the little money they have in revolution rather than > other products focus on a discussion of the intrinsic quality of the > product and customer support. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From chipp at chipp.com Fri Mar 10 17:40:57 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 10 Mar 2006 16:40:57 -0600 Subject: copy from a locked, focusable fld under Windows In-Reply-To: References: Message-ID: <44120079.2000304@chipp.com> Andr?, It works here with RR 2.6.1 and WinXP as well. You might want to explicity capture the copyKey message with a script in your stack which does something like: on copyKey if the selectedText is not empty then copy end copyKey Keep in mind, Rev traps the copyKey message when in development mode. But if you suspend development, you will find it works. best, Chipp Andr?.Bisseret wrote: > Hi ! > I have fields that are set to "lock text", "focusable" and "auto hilite > text". > I want that users be able to select a part of text and to copy it in > order to paste it elsewhere (for ex. in a Word document). > With Windows system, friends who are testing my app. report that Ctrl C > does not work. From chipp at chipp.com Fri Mar 10 17:47:24 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 10 Mar 2006 16:47:24 -0600 Subject: Mac OSX, Spotlight, and Rev In-Reply-To: <4411FFE9.2020808@fourthworld.com> References: <429A66B6-B58A-4325-8651-5FDA984F8FF7@rpsystems.net> <84C6E023-DA45-4E89-B37F-7EC373A8F36F@mac.com> <4B09EEC5-2101-4A9C-9FCF-E06ED5491337@rpsystems.net> <4411FFE9.2020808@fourthworld.com> Message-ID: <441201FC.6040909@chipp.com> Richard Gaskin wrote: > Who wants their scripts indexed? > > And if someone wants a stack indexed, isn't the interest more likely in > having the content indexed? While I'm not a Mac user, I would actually enjoy this feature. I've created hundreds of stacks which do different things, and sometimes it takes me forever to remember which stack had a handler I used before. It would be cool to search for: 'altAnswerList' and find all the stacks I've used an altAnswerList function, then sort them by date to get the most recent. Heck just searching for 'alt*' anything would be fun! :-) -C From revolutionary.dan at gmail.com Fri Mar 10 18:16:18 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Fri, 10 Mar 2006 15:16:18 -0800 Subject: [FR] [EN]Re: The End of Dreamcard? In-Reply-To: References: <1hbxox0.fd83sq1bzmg00M%mcdomi@free.fr> Message-ID: <70ed6b130603101516u3f855d51r589db238317b6a8b@mail.gmail.com> Vis a vis the comments made by Judy Perry and others on this thread and others on the board regarding the state of funding for education.... It is appalling to me that as a country, the United States (and apparently this phenomenon is not a respecter of national borders) values education so little. My business partner's daughter has a degree in social service and education and wants to teach. Instead, she's a bartender because she can make more in a good weekend of tending bar than she can in a week of teaching. At lunch the other day, two of my other friends and colleagues were sharing stories about *their* daughters, who are both full-time teachers but who supplement their incomes with waitress jobs that end up paying them more in a year than their teaching positions. Funding for specific programs -- particularly those which, as Judy describes, are showing declining enrollments but may nonetheless be important to the overall value of education -- gets reduced while sports programs, MBA programs and other efforts designed more to feather the university's PR and endowment nest than to contribute to mankind, get increased. All that said, I don't believe this obligates any company to have a policy that so favors the educational community that it affects that company's ability to stay in business and serve its primary customer base well. And, before anyone jumps all over me again, I am *not* saying or implying that Judy or anyone else here suggests RunRev should do so. But even though Judy said in one of her replies that when it comes to creating and distributing Media "I think it costs the company nothing and has the potential to bring in a certain class of users." I'm sure she didn't mean that Rev Media didn't cost the company nothing, but only perhaps that having a strategy to sell such a product doesn't cut into the sales of their primary product line and in that sense isn't a revenue disruption. I'd like to see the educational administrators get their priorities together so that liberal arts programs aren't short-shrifted while business and science/technology programs explode. But in a sense, I suppose, they, too, are just responding to demand. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From jonathandlynch at gmail.com Fri Mar 10 18:16:42 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 10 Mar 2006 18:16:42 -0500 Subject: copy from a locked, focusable fld under Windows In-Reply-To: <44120079.2000304@chipp.com> References: <44120079.2000304@chipp.com> Message-ID: <31e1938c0603101516i3493bc03v50743fb1f77e08ae@mail.gmail.com> This is how I would up doing it: on RawKeyDown pKey if (pKey = 99 or pKey = 67) and the commandkey is down then if the selectedfield <> empty then put the selection into tSel put the htmltext of the selection into tSelHtml set the clipboarddata["text"] to tSel set the clipboarddata["html"] to tSelHtml select the selectedchunk exit rawkeydown end if end if pass rawkeydown end rawkeydown This is adapted from a the rawkeydown handler in taskmage, which does a bunch of other stuff that does not need to be included here. I find this script works well, and allows you to copy both formatted and unformatted text so that it can be copied from a rev application and pasted into any other application. From aturban at qwest.net Fri Mar 10 18:20:25 2006 From: aturban at qwest.net (Arthur Urban) Date: Fri, 10 Mar 2006 16:20:25 -0700 Subject: Interesing bug with word elements Message-ID: <441209B9.3010608@qwest.net> The following code produces what I think is a bug: put "a" into word 1 of test put "b" into word 2 of test Examining test shows "ab" in word 1, not two words as requested. If you change the code from "word" to "line" or to "item" Rev correctly produces the lines or items needed to fulfill the command. I'm seeing this on Win32, don't know about OSX. Bug, or no? From pevensen at siboneylg.com Fri Mar 10 18:24:56 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Fri, 10 Mar 2006 17:24:56 -0600 Subject: Interesing bug with word elements In-Reply-To: <441209B9.3010608@qwest.net> References: <441209B9.3010608@qwest.net> Message-ID: <6.2.1.2.2.20060310172257.052ab650@exchange.slg.com> It depends on what the contents of test was. If you look at the user guide (and maybe other documentation), item is the only chunk that will create blank items, so for put something into word 2 to work, there already needs to be a word two, but put x into item 5 of test will add the commas to make test=,,,.x So I think this is documented behavior and not a bug. At 05:20 PM 3/10/2006, you wrote: >The following code produces what I think is a bug: > > put "a" into word 1 of test > put "b" into word 2 of test > >Examining test shows "ab" in word 1, not two words as requested. If you >change the code from "word" to "line" or to "item" Rev correctly produces >the lines or items needed to fulfill the command. I'm seeing this on >Win32, don't know about OSX. > >Bug, or no? >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From j.tangen at unsw.edu.au Fri Mar 10 19:36:37 2006 From: j.tangen at unsw.edu.au (Jason Tangen) Date: Sat, 11 Mar 2006 11:36:37 +1100 Subject: Rev on Intel iMacs Message-ID: <47BDA5ED-6A5F-4EDC-BC98-87D1687F369B@unsw.edu.au> I've just learned that the Apple has declared the G5 iMac 'end of life' , and the only option for an iMac now is the Intel Core Duo. Kevin mentioned previously that Universal binaries won't make it into version 2.7, but will be during the 2.7.x cycle. While we're waiting, has anyone tried Rev on an Intel iMac under Rosetta? Any reports on performance? Cheers, Jason From stevef at upnaway.com Fri Mar 10 20:24:02 2006 From: stevef at upnaway.com (Flavel Steve) Date: Sat, 11 Mar 2006 09:24:02 +0800 Subject: Thousands Separator on OSX Message-ID: <36B4BF48-B5F1-42A1-AEF8-027DBE6A5309@upnaway.com> My brain is hurting try to get the current thousands separator on a Mac OS. I have tried put replaceText(shell("defaults read NSGlobalDomain NSThousandsSeparator"),"(\s|\(|\))","") into gThousandsSeparator but nothing. OS X 10.4.5 Any help much appreciated. Steve Flavel From troy_lists at rpsystems.net Fri Mar 10 20:43:41 2006 From: troy_lists at rpsystems.net (Troy Rollins) Date: Fri, 10 Mar 2006 20:43:41 -0500 Subject: Mac OSX, Spotlight, and Rev In-Reply-To: <4411FFE9.2020808@fourthworld.com> References: <429A66B6-B58A-4325-8651-5FDA984F8FF7@rpsystems.net> <84C6E023-DA45-4E89-B37F-7EC373A8F36F@mac.com> <4B09EEC5-2101-4A9C-9FCF-E06ED5491337@rpsystems.net> <4411FFE9.2020808@fourthworld.com> Message-ID: On Mar 10, 2006, at 5:38 PM, Richard Gaskin wrote: > Who wants their scripts indexed? > > And if someone wants a stack indexed, isn't the interest more > likely in having the content indexed? Bingo. Although being able to spotlight my scripts could ultimately be helpful, I was hoping it worked with content. That would make it a lot more interesting, at least for Mac specific tools, and even my own desktop stuff. -- Troy RPSystems, Ltd. http://www.rpsystems.net From jhurley at infostations.com Fri Mar 10 20:56:09 2006 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 10 Mar 2006 17:56:09 -0800 Subject: Mac OSX, Spotlight, and Rev In-Reply-To: <20060311002432.78E77826063@mail.runrev.com> References: <20060311002432.78E77826063@mail.runrev.com> Message-ID: > >Message: 19 >Date: Sat, 11 Mar 2006 08:23:19 +1000 >From: "Sarah Reichelt" >Subject: Re: Mac OSX, Spotlight, and Rev >To: "How to use Revolution" >Message-ID: > >Content-Type: text/plain; charset=ISO-8859-1 > > > > Revolution 2.6 has a spotlight importer that will index our scripts > > > but I really don't know if it is present on 2.7 >> >> Hmm. So, if we wanted to make our own content indexable, this doesn't >> have much to do with that, huh? I was hoping there was some way to >> support indexing data stacks and the like. > >Rev stacks since 2.6.1 (I think) have been indexed by Spotlight, but I >think it only indexes the scripts and not the fields. It may index >custom properties, so if your data is stored there, you can test that. > >Cheers, >Sarah > Sarah, You are right. Spotlight does not index content, but EasyFind--see below--does search content. Richard: Very useful in finding that stack which has the special function, e.g. "intersection" or "theAngleBetween" in some script, somewhere. However, EasyFind will search both the scripts and the content. It does not index, so it is slow. (To search scripts be sure to include "RSTK" file types.) To check out EasyFind (freeware) check the url: http://www.versiontracker.com/dyn/moreinfo/macosx/11706 Jim From troy_lists at rpsystems.net Fri Mar 10 21:28:39 2006 From: troy_lists at rpsystems.net (Troy Rollins) Date: Fri, 10 Mar 2006 21:28:39 -0500 Subject: Mac OSX, Spotlight, and Rev In-Reply-To: References: <20060311002432.78E77826063@mail.runrev.com> Message-ID: <845079CB-B559-4B11-AAEB-6B00D9C87565@rpsystems.net> On Mar 10, 2006, at 8:56 PM, Jim Hurley wrote: > You are right. Spotlight does not index content, but EasyFind--see > below--does search content. I wonder what it would take to make content stacks spotlight compatible? EasyFind sounds pretty neat, but it is a whole 'nuther thing. -- Troy RPSystems, Ltd. http://www.rpsystems.net From mdswindell at cruzio.com Fri Mar 10 22:12:43 2006 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 10 Mar 2006 19:12:43 -0800 Subject: [FR] [EN]Re: The End of Dreamcard? In-Reply-To: <70ed6b130603101516u3f855d51r589db238317b6a8b@mail.gmail.com> References: <1hbxox0.fd83sq1bzmg00M%mcdomi@free.fr> <70ed6b130603101516u3f855d51r589db238317b6a8b@mail.gmail.com> Message-ID: As someone who has long been involved in elementary education I can say that at our level, while decisions may be made to shuffle existing funds one direction or another, those "existing funds" are negligible. The bank is broke. Cutting the fat out happened long ago. Then most of the meat went. It's now down to making the hard decision on which tendons and bones to keep, and even those that are saved are being whittled away, slowly but surely. Most anything that looks from the outside like a well-funded program is based on door to door fund-raisers and parent donations, taxes by another name, collected by kids. As a culture that respects and values education, ours pretty much... uh... sucks. No Child Left Behind... right. Mark On Mar 10, 2006, at 3:16 PM, Dan Shafer wrote: > I'd like to see the educational administrators get their priorities > together > so that liberal arts programs aren't short-shrifted while business and > science/technology programs explode. But in a sense, I suppose, > they, too, > are just responding to demand. From ambassador at fourthworld.com Fri Mar 10 23:53:18 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Mar 2006 20:53:18 -0800 Subject: [FR] [EN]Re: The End of Dreamcard? In-Reply-To: References: <1hbxox0.fd83sq1bzmg00M%mcdomi@free.fr> <70ed6b130603101516u3f855d51r589db238317b6a8b@mail.gmail.com> Message-ID: <441257BE.7090901@fourthworld.com> Mark Swindell wrote: > As a culture that respects and values education, ours > pretty much... uh... sucks. No Child Left Behind... right. As a budget-cutting move they've recently shortened that to simply "No Child Left". :) The upside is that it's now more accurate. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Mar 10 23:59:03 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Mar 2006 20:59:03 -0800 Subject: Mac OSX, Spotlight, and Rev In-Reply-To: References: <429A66B6-B58A-4325-8651-5FDA984F8FF7@rpsystems.net> <84C6E023-DA45-4E89-B37F-7EC373A8F36F@mac.com> <4B09EEC5-2101-4A9C-9FCF-E06ED5491337@rpsystems.net> <4411FFE9.2020808@fourthworld.com> Message-ID: <44125917.6090902@fourthworld.com> Troy Rollins wrote: > > On Mar 10, 2006, at 5:38 PM, Richard Gaskin wrote: > >> Who wants their scripts indexed? >> >> And if someone wants a stack indexed, isn't the interest more likely >> in having the content indexed? > > Bingo. Although being able to spotlight my scripts could ultimately be > helpful, I was hoping it worked with content. That would make it a lot > more interesting, at least for Mac specific tools, and even my own > desktop stuff. I've always thought of Spotlight in Rev as something that's most useful not for developers, but for developers' customers. It's dirt simple to make a script search tool for Rev in Rev. And if I need to search my own content it's only a little more time and that's done too. But my customers, they're the ones that need Spotlight support. They don't program in Transcript, they can't get at data like we developers can. But they do enjoy Spotlight, and increasingly it plays a role in how they think about the content on their drive. I can understand adding Spotlight support for scripts, but only as the second thing I'd do, long after making content indexed first. Curious priorities, impenetrable to my weak mind.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From troy_lists at rpsystems.net Sat Mar 11 00:01:34 2006 From: troy_lists at rpsystems.net (Troy Rollins) Date: Sat, 11 Mar 2006 00:01:34 -0500 Subject: Mac OSX, Spotlight, and Rev In-Reply-To: <44125917.6090902@fourthworld.com> References: <429A66B6-B58A-4325-8651-5FDA984F8FF7@rpsystems.net> <84C6E023-DA45-4E89-B37F-7EC373A8F36F@mac.com> <4B09EEC5-2101-4A9C-9FCF-E06ED5491337@rpsystems.net> <4411FFE9.2020808@fourthworld.com> <44125917.6090902@fourthworld.com> Message-ID: <1129FA03-5FB2-4ACF-970B-7364571CD6F6@rpsystems.net> On Mar 10, 2006, at 11:59 PM, Richard Gaskin wrote: > I've always thought of Spotlight in Rev as something that's most > useful not for developers, but for developers' customers. Exactly. The ability to let them use the native tools of the OS to best advantage. Makes for more powerful software. -- Troy RPSystems, Ltd. http://www.rpsystems.net From revolutionary.dan at gmail.com Sat Mar 11 02:48:45 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Fri, 10 Mar 2006 23:48:45 -0800 Subject: The templateField Keyword In-Reply-To: <20ECCA3C-CC73-4B4B-B84E-56FC5B16237F@videotron.ca> References: <20ECCA3C-CC73-4B4B-B84E-56FC5B16237F@videotron.ca> Message-ID: <70ed6b130603102348i65dc5c6eqa7b987847d6cf2c7@mail.gmail.com> Looks like a bug to me. I can't get templateField to work correctly in OS X with 2.6.1 or 2.7. Unfortunately, for some reason Bugzilla isn't responding so I can't check to see if this is a previously identified problem. On 3/9/06, Gregory Lypny wrote: > > Hello everyone, > > I tried to create a field template using the templateField keyword, > but it doesn't seem to work. When I use the handler below, the text > in newly created fields is Lucida Grande, but the size is 11 instead > of 12, and the height is 14 instead of 18. What am I doing wrong? > > Regards, > > Gregory > > on openStack > set the textFont of the templateField to "Lucida Grande" > set the textSize of the templateField to 12 > set the fixedLineHeight of the templateField to true > set the textHeight of the templateField to 18 > end openStack > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From dcragg at lacscentre.co.uk Sat Mar 11 03:18:44 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 11 Mar 2006 08:18:44 +0000 Subject: The templateField Keyword In-Reply-To: <20ECCA3C-CC73-4B4B-B84E-56FC5B16237F@videotron.ca> References: <20ECCA3C-CC73-4B4B-B84E-56FC5B16237F@videotron.ca> Message-ID: <282F89B0-FAB3-4FC9-94A4-CC23BEF57E95@lacscentre.co.uk> On 9 Mar 2006, at 19:41, Gregory Lypny wrote: > Hello everyone, > > I tried to create a field template using the templateField keyword, > but it doesn't seem to work. When I use the handler below, the > text in newly created fields is Lucida Grande, but the size is 11 > instead of 12, and the height is 14 instead of 18. What am I doing > wrong? > > Regards, > > Gregory > > on openStack > set the textFont of the templateField to "Lucida Grande" > set the textSize of the templateField to 12 > set the fixedLineHeight of the templateField to true > set the textHeight of the templateField to 18 > end openStack Are these newly created fields made by using the Rev tool palette? I'd assume that Rev sets the templateField every time you create a field. That would explainwhat you see. To create fields using templateField settings of your own, you need to use "create field" before anything else can change the templateField again. Something like this: on createField set the textFont of the templateField to "Lucida Grande" set the textSize of the templateField to 12 set the fixedLineHeight of the templateField to true set the textHeight of the templateField to 18 create field reset the templateField end createField Cheers Dave From Andre.Bisseret at inria.fr Sat Mar 11 05:44:05 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q?Andr=E9.Bisseret?=) Date: Sat, 11 Mar 2006 11:44:05 +0100 Subject: Interesing bug with word elements In-Reply-To: <441209B9.3010608@qwest.net> Message-ID: Le Saturday, 11 Mar 2006, ? 00:20 Europe/Paris, Arthur Urban a ?crit : > The following code produces what I think is a bug: > > put "a" into word 1 of test > put "b" into word 2 of test > > Examining test shows "ab" in word 1, not two words as requested. If > you change the code from "word" to "line" or to "item" Rev correctly > produces the lines or items needed to fulfill the command. I'm seeing > this on Win32, don't know about OSX. Hi Arthur, On my Mac G4 0SX, 10.2.8 I get the same. Putting "a" in line 5 of test creates 4 empty lines before ; it works for items too. But not with words : In msg : put "a" into word 1 of test put "b" into word 2 of test put "c" into word 3 of test put test --> abc put word 1 of test -> abc So it's just like you had written : put "a" into word 1 of test put "b" after word 1 of test put test -> ab Now : put "b" into word 2 of test put "a" into word 1 of test put test -> a And : put "b" into word 2 of test put "a" into word 2 of test put test -> ba Well, fortunately :-) put "a " into word 1 of test -- space after a (could be a solution ?) put "b" into word 2 of test put test -> a b put cr & word 1 of test after msg -> a put cr & word 2 of test after msg -> b Likely a lot of more possible amusing tests !;-))) > > Bug, or no? Could be not, if it is documented as Peter said ; I did'nt read this documentation ; but I imagine it was difficult to explain that, if "test" includes "a" as word 1, putting "b" in word 2 appends "b" after "a" in word 1 :-))) Best regards from Grenoble Andr? From klaus at major-k.de Sat Mar 11 05:57:34 2006 From: klaus at major-k.de (Klaus Major) Date: Sat, 11 Mar 2006 11:57:34 +0100 Subject: Thousands Separator on OSX In-Reply-To: <36B4BF48-B5F1-42A1-AEF8-027DBE6A5309@upnaway.com> References: <36B4BF48-B5F1-42A1-AEF8-027DBE6A5309@upnaway.com> Message-ID: <66E0017D-91FF-4E8A-9926-AB6739113F8B@major-k.de> Hi Flavel, > My brain is hurting try to get the current thousands separator on a > Mac OS. > > I have tried > put replaceText(shell("defaults read NSGlobalDomain > NSThousandsSeparator"),"(\s|\(|\))","") into gThousandsSeparator > but nothing. > > OS X 10.4.5 > Any help much appreciated. If you just want to get that thing: put shell("defaults read NSGlobalDomain NSThousandsSeparator") into gThousandsSeparator Works here, i get a dot "." (german system) But your line above also works here!!!? OS X 10.4.5. > Steve Flavel Regards Klaus Major klaus at major-k.de http://www.major-k.de From stevef at upnaway.com Sat Mar 11 06:08:54 2006 From: stevef at upnaway.com (Flavel Steve) Date: Sat, 11 Mar 2006 19:08:54 +0800 Subject: Thousands Separator on OSX In-Reply-To: <66E0017D-91FF-4E8A-9926-AB6739113F8B@major-k.de> References: <36B4BF48-B5F1-42A1-AEF8-027DBE6A5309@upnaway.com> <66E0017D-91FF-4E8A-9926-AB6739113F8B@major-k.de> Message-ID: <6273D3BF-150A-4113-B941-FE91A9F6B9B9@upnaway.com> Hi Klaus This is what I get from pasting your code 2006-03-11 19:06:46.564 defaults[604] The domain/default pair of (kCFPreferencesAnyApplication, NSThousandsSeparator) does not exist What system are you using? Steve On 11/03/2006, at 6:57 PM, Klaus Major wrote: > Hi Flavel, > >> My brain is hurting try to get the current thousands separator on >> a Mac OS. >> >> I have tried >> put replaceText(shell("defaults read NSGlobalDomain >> NSThousandsSeparator"),"(\s|\(|\))","") into gThousandsSeparator >> but nothing. >> >> OS X 10.4.5 >> Any help much appreciated. > > If you just want to get that thing: > put shell("defaults read NSGlobalDomain NSThousandsSeparator") into > gThousandsSeparator > > Works here, i get a dot "." (german system) > > But your line above also works here!!!? > OS X 10.4.5. > >> Steve Flavel > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Sat Mar 11 06:27:34 2006 From: klaus at major-k.de (Klaus Major) Date: Sat, 11 Mar 2006 12:27:34 +0100 Subject: Thousands Separator on OSX In-Reply-To: <6273D3BF-150A-4113-B941-FE91A9F6B9B9@upnaway.com> References: <36B4BF48-B5F1-42A1-AEF8-027DBE6A5309@upnaway.com> <66E0017D-91FF-4E8A-9926-AB6739113F8B@major-k.de> <6273D3BF-150A-4113-B941-FE91A9F6B9B9@upnaway.com> Message-ID: Hi Steve, > Hi Klaus > > This is what I get from pasting your code > 2006-03-11 19:06:46.564 defaults[604] > The domain/default pair of (kCFPreferencesAnyApplication, > NSThousandsSeparator) does not exist ??? Very strange... > What system are you using? A (stock) german system 10.4.5 Any X/Unix guys/gals out there that could shed some light on this phenomenon? > Steve Regards Klaus Major klaus at major-k.de http://www.major-k.de From thierry.arbellot at laposte.net Sat Mar 11 06:53:16 2006 From: thierry.arbellot at laposte.net (Thierry Arbellot) Date: Sat, 11 Mar 2006 12:53:16 +0100 Subject: Thousands Separator on OSX In-Reply-To: References: <36B4BF48-B5F1-42A1-AEF8-027DBE6A5309@upnaway.com> <66E0017D-91FF-4E8A-9926-AB6739113F8B@major-k.de> <6273D3BF-150A-4113-B941-FE91A9F6B9B9@upnaway.com> Message-ID: <8ecaf40ab55177fbb85a18fedb26cf0a@laposte.net> Hi all, I have seen this problem with some domain. Open the international panel in system preferences and change the thousand separator, it should create the domain/default pair. Hope it helps Thierry On 2006, Mar 11, , at 12:27, Klaus Major wrote: > Hi Steve, > >> Hi Klaus >> >> This is what I get from pasting your code >> 2006-03-11 19:06:46.564 defaults[604] >> The domain/default pair of (kCFPreferencesAnyApplication, >> NSThousandsSeparator) does not exist > > ??? Very strange... > >> What system are you using? > > A (stock) german system 10.4.5 > > Any X/Unix guys/gals out there that could shed some light on this > phenomenon? > >> Steve > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From paulclaude at postino.it Sat Mar 11 08:43:02 2006 From: paulclaude at postino.it (Paul Claude) Date: Sat, 11 Mar 2006 14:43:02 +0100 Subject: Font character shape Message-ID: I've copied a field from an external stack in my own stack and all the characters in this field are changed and looks bad; my stack uses the same font (Arial narrow), the same size and style (controlled also with the "effective" keyword), but the two stacks, together opened in Rev 2.7, looks very different. In my stack the shape of characters seems raw, and in the original stack the shape seems perfect. There is some stack general property that change the look of the characters (antialiasing, etc.)? I haven't found nothing in the Rev documentation. From scott at tactilemedia.com Sat Mar 11 12:43:34 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 11 Mar 2006 09:43:34 -0800 Subject: Font character shape In-Reply-To: Message-ID: Recently, Paul Claude wrote: > I've copied a field from an external stack in my own stack and all the > characters in this field are changed and looks bad; my stack uses the same > font (Arial narrow), the same size and style (controlled also with the > "effective" keyword), but the two stacks, together opened in Rev 2.7, looks > very different. > > In my stack the shape of characters seems raw, and in the original stack the > shape seems perfect. There is some stack general property that change the > look of the characters (antialiasing, etc.)? I haven't found nothing in the > Rev documentation. What platform/system version? Does your stack have a custom windowshape? There appears to be a bug with text antialiasing in Rev 2.7, on Mac OS X 10.3.9 -- specifically the text antialiasing gets removed. The bug does not appear to be present on more recent systems. The Rev developers are aware of this. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jacque at hyperactivesw.com Sat Mar 11 12:57:47 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 11 Mar 2006 11:57:47 -0600 Subject: Thousands Separator on OSX In-Reply-To: <6273D3BF-150A-4113-B941-FE91A9F6B9B9@upnaway.com> References: <36B4BF48-B5F1-42A1-AEF8-027DBE6A5309@upnaway.com> <66E0017D-91FF-4E8A-9926-AB6739113F8B@major-k.de> <6273D3BF-150A-4113-B941-FE91A9F6B9B9@upnaway.com> Message-ID: <44130F9B.7020002@hyperactivesw.com> Flavel Steve wrote: > > Hi Klaus > > This is what I get from pasting your code > > 2006-03-11 19:06:46.564 defaults[604] > The domain/default pair of (kCFPreferencesAnyApplication, > NSThousandsSeparator) does not exist I get the same thing. I think that means the user has not set a separator in the system prefs yet, so there is no specific character identified. Probably the script could assume the generic default separator, a comma, is in use. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mlange at lexicall.org Sat Mar 11 14:33:12 2006 From: mlange at lexicall.org (Marielle Lange) Date: Sat, 11 Mar 2006 19:33:12 +0000 Subject: use-revolution Digest, Vol 30, Issue 23 In-Reply-To: <20060309165721.14410825D96@mail.runrev.com> References: <20060309165721.14410825D96@mail.runrev.com> Message-ID: <228959B8-9EA9-44A2-B16C-ADA9990C71BE@lexicall.org> Kan, Thanks for sharing this, But as you made clear in your earlier post, you are only using revolution for fun. I was myself very happy paying for a studio license in this context, just for being given the opportunity to play around at evening and week-end time. Have this "feel clever" feeling because I was ready to rapidly assemble 2 text boxes, 3 buttons and have them "do something". For my part, I went up to an entreprise license. And then I started to be unhappy. I know some people on this list make ample money from their runrev activities. Making money was not what I was most interested in. A paradox is that the fact that you don't make money out of your hobby makes you more demanding about what you pay out of your "hobby" budget. Strangely, you become a lot more unforgiving of any default in the product you bought... because your money has been spent, you cannot afford to buy a replacement before a few months. The reason I reacted to Dan's email is that he used the analogy to a photographer who is ready to pay a lot more for his lenses. I doubt that the semi-serious hobbyist he was didn't take the time that each penny he put into his hobby was well spent. I am sure his friend chooses each one of his lenses carefully, taking into account the intrinsic quality as well as long term reliability of the tool. I am sure a story like the one Dan's told on a semi-serious-amateur photographer list wouldn't have decided him to pay for a $200 lens he was not ready to pay for, from the start. I am sure you do choose your bikes carefully even if you are well aware you cannot afford Lance Amstrong's one. I am sure that even if you buy your bikes out of your hobby budget you still expect to be treated as a serious customer. I only encouraged Dan to focus on the aspects of intrinsic quality of the product and customer support, as I believe they will have a lot more impact on non profit users than what may appear to some as not very subtle door salesman's tricks. Marielle On 09/03/2006, at 4:57 PM, "Kay C Lan" wrote: > OK, then substitute me. > > I can fully relate to the story Dan posted as I basically used > exactly the same logic when I upgraded from REV Express (free at > the time) to REV DreamCard (may not have been called DreamCard) and > then to REV Studio. > > REV Express disappeared and I was pretty ticked off at not having a > 'free' version for hobbiests to 'play with'. I even emailed REV and > let them know what I thought. > > But to put it into perspective, I 'play with' trains, and I spend > more annually on model trains than REV. > > I enjoy cycling, and spend more on my bike annually than I do on > REV. See my recent post - subject REV vs Visual Basic - on how I > use REV to support my cycling. > > I enjoy computers, and whilst I LOVE Perl, MySQL and other > freebies. I still spend more annually on computer hardware and > software (excluding REV) than on REV alone. Then again children do > form a large part of the software expenditure pie (games). > > So, I'm never going to make money out of my trains (apart from a > few sound investments), my bike, or from REV. Although I still hope > that one day I'll actually script something that is useful to > someone else. > > Please feel free to 'check up' my story. I'd love to send you a > photo of my Live Steam engine or my new road bike;-) ------------------------------------------------------------------------ -------- Marielle Lange (PhD), Psycholinguist Alternative emails: mlange at blueyonder.co.uk, Homepage http://homepages.widged.com/mlange/ Easy access to lexical databases http:// lexicall.widged.com/ Supporting Education Technologists http:// revolution.widged.com/wiki/ From mpetrides at earthlink.net Sat Mar 11 15:15:06 2006 From: mpetrides at earthlink.net (Marian Petrides) Date: Sat, 11 Mar 2006 14:15:06 -0600 Subject: OT: Course Builder (was: The End of Dreamcard?) In-Reply-To: <70ed6b130603041340u21e33ab3x82eb749501680642@mail.gmail.com> References: <1hbo7xr.sami10ds87i8M%mcdomi@free.fr> <4409F920.4040200@fourthworld.com> <2F4220BE-BB00-4460-A115-F78A183F4409@mac.com> <4409FC64.4080907@fourthworld.com> <70ed6b130603041340u21e33ab3x82eb749501680642@mail.gmail.com> Message-ID: <51F65028-221A-4477-8693-3424B6088824@earthlink.net> Indeed, there was a scripting language in World Builder. Bill Appleton (a native Knoxvillean) went on to turn that into Course Builder, which was a delightful visually-oriented way to create software. He went on to develop SuperCard after that. Eventually, Discovery Systems of Knoxville (comprised of 2 or 3 of the folks involved in the inception of Course Builder) acquired the rights to Course Builder and marketed it for about 10 years. Alas, all good things must come to and end and it finally became financially infeasible for them to continue marketing Course Builder. They had wonderful, free tech support (you often got one of the authors if you called for help). I was very sad when they finally folded shop. :-( Thanks for the trip down memory lane! Marian On Mar 4, 2006, at 3:40 PM, Dan Shafer wrote: > I think you're right, Robert. I seem to recall writing a piece on > interactive fiction in that time frame and interviewing Appleton > for it. My > memory is a bit fuzzy but I think he did have a scripting language > of sorts > in that quit-delightful tool. > > On 3/4/06, Robert Brenstein wrote: >> >>> Andre Garzia wrote: >>>> >>>> On Mar 4, 2006, at 5:31 PM, Richard Gaskin wrote: >>>> >>>>> Which multimedia authoring tool had a scripting language and >>>>> premiered >>>>> at the Boston expo the year before HC was released? >>>> >>>> Was it Director known as VideoWorks first??? did I won? Gee, I was >>>> only seven years old! :-D >>> >>> Good guess, but Director/Videoworks didn't add a scripting language >>> until after HC was released. >>> >>> Hint: the developer's first name was Bill, and his last name started >>> with an "A", but it wasn't "Atkinson". >>> >>> -- >>> Richard Gaskin >>> Managing Editor, revJournal >> >> >> Would you mean World Builder by Bill Appleton (Silicon Beach >> Software)? >> >> Robert >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Information Product Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.shafermediastore.com/tech_main.html > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stevef at upnaway.com Sat Mar 11 16:54:00 2006 From: stevef at upnaway.com (Flavel Steve) Date: Sun, 12 Mar 2006 05:54:00 +0800 Subject: Thousands Separator on OSX In-Reply-To: <44130F9B.7020002@hyperactivesw.com> References: <36B4BF48-B5F1-42A1-AEF8-027DBE6A5309@upnaway.com> <66E0017D-91FF-4E8A-9926-AB6739113F8B@major-k.de> <6273D3BF-150A-4113-B941-FE91A9F6B9B9@upnaway.com> <44130F9B.7020002@hyperactivesw.com> Message-ID: <20780D84-6A7D-40B3-BFB2-65689245B4AB@upnaway.com> On 12/03/2006, at 1:57 AM, J. Landman Gay wrote: >> Hi Klaus >> This is what I get from pasting your code >> 2006-03-11 19:06:46.564 defaults[604] >> The domain/default pair of (kCFPreferencesAnyApplication, >> NSThousandsSeparator) does not exist > > I get the same thing. I think that means the user has not set a > separator in the system prefs yet, so there is no specific > character identified. Probably the script could assume the generic > default separator, a comma, is in use. I changed the settings to those typical of Germany, but I still get the "does not exist message". Is it possible to get the thousand separator, currency symbol and decimal symbol? Steve From revolutionary.dan at gmail.com Sat Mar 11 18:53:45 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Sat, 11 Mar 2006 15:53:45 -0800 Subject: The templateField Keyword In-Reply-To: <282F89B0-FAB3-4FC9-94A4-CC23BEF57E95@lacscentre.co.uk> References: <20ECCA3C-CC73-4B4B-B84E-56FC5B16237F@videotron.ca> <282F89B0-FAB3-4FC9-94A4-CC23BEF57E95@lacscentre.co.uk> Message-ID: <70ed6b130603111553v324c73bevaff06ff89337db5a@mail.gmail.com> Good one, Dave. But there's no need to reset the templateField (unless of course you need to) and further testing suggests you *can* set the templateField in an openStack handler and its values persist for all fields you create *in scripts* but not those you create manually in the IDE> The docs could be a bit clearer. On 3/11/06, Dave Cragg wrote: > > > On 9 Mar 2006, at 19:41, Gregory Lypny wrote: > > > Hello everyone, > > > > I tried to create a field template using the templateField keyword, > > but it doesn't seem to work. When I use the handler below, the > > text in newly created fields is Lucida Grande, but the size is 11 > > instead of 12, and the height is 14 instead of 18. What am I doing > > wrong? > > > > Regards, > > > > Gregory > > > > on openStack > > set the textFont of the templateField to "Lucida Grande" > > set the textSize of the templateField to 12 > > set the fixedLineHeight of the templateField to true > > set the textHeight of the templateField to 18 > > end openStack > > Are these newly created fields made by using the Rev tool palette? > I'd assume that Rev sets the templateField every time you create a > field. That would explainwhat you see. > > To create fields using templateField settings of your own, you need > to use "create field" before anything else can change the > templateField again. Something like this: > > > on createField > set the textFont of the templateField to "Lucida Grande" > set the textSize of the templateField to 12 > set the fixedLineHeight of the templateField to true > set the textHeight of the templateField to 18 > create field > reset the templateField > end createField > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From stephenREVOLUTION at barncard.com Sat Mar 11 19:11:30 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sat, 11 Mar 2006 16:11:30 -0800 Subject: Grouping inside Grouping not that robust In-Reply-To: <70ed6b130603111553v324c73bevaff06ff89337db5a@mail.gmail.com> References: <20ECCA3C-CC73-4B4B-B84E-56FC5B16237F@videotron.ca> <282F89B0-FAB3-4FC9-94A4-CC23BEF57E95@lacscentre.co.uk> <70ed6b130603111553v324c73bevaff06ff89337db5a@mail.gmail.com> Message-ID: It seem like Rev is still got problems with groups inside groups...anyone else seen this? I've been trying to make design elements out of little line segments, and that requires making groups of groups sometimes to make them movable and usable. But it's like walking on eggs. Rev gets confused as to what group is what, groups are hard to select, and twice in my case while trying to group it did something horrible to the stack - it made a tabbed button beneath it invisible - like the object shows up in the inspectors, but .... isn't there, isn't offscreen... it's just not visible and no property change will bring it back. Revert. I think this is a bug and it seems to corrupt the stack. I guess the rule is -- don't go more than 2 level deep with groups in groups. And as far as graphics go - if I have to work with small pieces, I think I'll do it in Appleworks or MacDraft and assemble the artwork there in front of an image of where they'll go... I've spent hours with this... It would also be nice if there was some way to know what level of grouping one is in... as well as some way of grouping line elements so that they become a new graphic object. Or how about 'locking' groups so the elements stays together in the group. sqb -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From sanke at hrz.uni-kassel.de Sat Mar 11 19:22:01 2006 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sun, 12 Mar 2006 01:22:01 +0100 Subject: [ANN] ImageData Gallery Message-ID: <441369A9.50601@hrz.uni-kassel.de> I have uploaded a series of images created with the "ImageData Toolkit", which is a modified version of my "Colorpattern Toolkit" (). Thanks to the information provided by Ken Ray about "imagedata" on his website () I was able to start my quest of the intricacies of this special way to create and manipulate images, which I had not paid much attention to before. I think such information as offered by Ken should be linked in some way to the Rev documentation. The information about imagedata in the documentation alone would not have been sufficient to get me going. I have already rewritten about two-thirds of the 200 algorithms of the Colorpattern Toolkit, but because of other time-consuming tasks I will not be able to offer the new ImageData Toolkit before the beginning of May. The Toolkit now uses 640 X 480 images as the basis, which means that 1.228.000 chars of the imagedata for such a size have to be handled as each pixel of the imagedata is represented by 4 chars, but compared to dealing with the 160 X 120 char resolution of the color field of the Colorpattern Toolkit, the speed for imagedata handling is in many cases even faster - probably due to the binary nature of the imagedata - whereas other special algorithms run at best at a "tolerable" speed. The Imagedata Toolkit will provide the option to import photos as a basis for image manipulation. Experimenting with imagedata I came across a number of new solutions for scripting functions, which I will also use to improve my present Colorpattern Toolkit. Regards, Wilhelm Sanke From lan.kc.macmail at gmail.com Sun Mar 12 02:56:14 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 12 Mar 2006 15:56:14 +0800 Subject: Making the move... In-Reply-To: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> References: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> Message-ID: My qualifications to answer this question is based on the fact that I have no formal programing experience, I script for a hobby, and use MySQL because it is in my price range (free). I run OSX. On 3/10/06, Mvreade wrote: > For users who have used Rev for databases, I was wondering what it's like > to develop a system with, say, 20 tables and lots or relationships and > methods? My biggest project runs 2 DBs with a total of 16 tables with no problems. One thing to get your head around is that you are really considering two different things here: 1) The DB engine. If it can handle it, then you can create it; a DB with 20 tables is only scratching the surface of MySQL potential. If you can create the query that joins the tables that extracts the data then you're OK, if you can't, REV isn't going to help. 2)) REV as the GUI. If you can visualize how you want your data presented, then you can build it with REV. I particularly like to use Master Stack -> Sub Stack with Table -> joined Table. There is really only two tricky bits with marrying Rev to DB: 1) Building and formatting the query correctly. To make life easy for me I do all the 'dry runs' with CocoaMySQL (also free) until I know I have the correct query structure before determining how to build that query in Rev using buttons and fields. One reasons for this is getting the quotes right. In CocoaMySQL (or Terminal) SELECT * FROM products WHERE price = "9.99" In a REV script "SELECT * FROM products WHERE price = " & quote & "9.99" & quote For complex queries if I try to do it straight in REV I invariable end up with errors because of incorrect quoting, but if I create a correct query in CocoaMySQL I can copy it and use REV's neat inbuilt 'Copy as Formatted String' item in the Edit menu which will take the first line and turn it into the second line. Easy! 2) Taking the data returned from a query and placing it in appropriate fields and buttons. This is a little more complex and certainly more time consuming, and worthy of an entire tutorial. Having said that though, once you have figured out how to do it for one button or field, the rest will be more of the same. The only real decision is whether the query will return a cursor position, or the data itself. > Where would one store all the methods? I assume by methods you are referring to what xTalkers would call 'handlers' To start with you'd probably store them in the most logical place, the button, field or menu (which are in fact buttons) that corresponds with what you want to achieve. You may have three buttons, 'Name', 'Supplier','Price' Then you could have something like this: Button 'Name' on mouseUp put revDataFromQuery(,,currentDB,,"SELECT * FROM product ORDER BY Name" into tMyDbData -- more script to place data in fields end mouseUp Button 'Supplier' on mouseUp put revDataFromQuery(,,currentDB,,"SELECT * FROM product ORDER BY Supplier" into tMyDbData -- more script to place data in fields end mouseUp Button 'Price' on mouseUp put revDataFromQuery(,,currentDB,,"SELECT * FROM product ORDER by Price" into tMyDbData -- more script to place data in fields end mouseUp But, about 5 min after you complete your first prototype you'll realise a better way you could have done things, like; IN THE STACK SCRIPT, create a custom handler, on hMyHandlerToSetTheSortOrder pMyButtonPressed put revDataFromQuery(,,currentDB,,"SELECT * FROM product ORDER by " & pMyButtonPressed into tMyDbData -- more script to place the data in the desired fields, buttons etc end hMyHandlerToSetTheSortOrder Then in each button you'd have the same script; on mouseUp -- the short name of me will send the name of the button pressed hMyHandlerToSetTheSortOrder the short name of me end mouseUp For relationships, would one just keep a VERYlong list of Database Queries? Yes you could do it that way, a custom property would be an ideal location. If the queries are 'static' then that would be relatively easy, or as with the example above, if a button only does one thing then the query would be inbuilt into that script. With my DBs I have numerous Option Buttons, some with 10's of options, others with over a 100 options, plus check boxs and a field where I can enter a number between 1 - 100. Overall the combinations must easily run into the 100,000s if not the 1,000,000s. I build the final query on the fly and activate it using a separate 'Query' button. In summary, I find REV and MySQL (with CocoaSQL) such an easy combination to work with that I regularly use it where it's really probably a bit of overkill. Bit like driving the Suburban down to the local shops to pick up a bottle of milk when riding my bike would have been better for me, the environment and quicker considering Sunday morning traffic;-) HTH From lan.kc.macmail at gmail.com Sun Mar 12 03:21:47 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 12 Mar 2006 16:21:47 +0800 Subject: use-revolution Digest, Vol 30, Issue 23 In-Reply-To: <228959B8-9EA9-44A2-B16C-ADA9990C71BE@lexicall.org> References: <20060309165721.14410825D96@mail.runrev.com> <228959B8-9EA9-44A2-B16C-ADA9990C71BE@lexicall.org> Message-ID: On 3/12/06, Marielle Lange wrote: > > > A paradox is that the fact that you don't make money > out of your hobby makes you more demanding about what you pay out of > your "hobby" budget. Strangely, you become a lot more unforgiving of > any default in the product you bought... because your money has been > spent, you cannot afford to buy a replacement before a few months. Very well said! And I guess a very difficult dilemma for a marketing department to figure out how to handle. I know it's been said on this list that Apple got it wrong with HyperCard. All those users who got it for free and wanting support etc. For Apple all pain for no 'direct' financial gain. I guess they may have learnt their lesson as iTunes still remains free, even though the rest of the the iLife package you need to pay for. iTunes also happens to be the Apple product that I've sent in the must 'user feedback':-) Let's hope others can develop a thick skin for the whinges (and I've obviously been one) so they can benefit from a growing user base:-) From thierry.arbellot at laposte.net Sun Mar 12 03:56:24 2006 From: thierry.arbellot at laposte.net (Thierry Arbellot) Date: Sun, 12 Mar 2006 09:56:24 +0100 Subject: Thousands Separator on OSX In-Reply-To: <20780D84-6A7D-40B3-BFB2-65689245B4AB@upnaway.com> References: <36B4BF48-B5F1-42A1-AEF8-027DBE6A5309@upnaway.com> <66E0017D-91FF-4E8A-9926-AB6739113F8B@major-k.de> <6273D3BF-150A-4113-B941-FE91A9F6B9B9@upnaway.com> <44130F9B.7020002@hyperactivesw.com> <20780D84-6A7D-40B3-BFB2-65689245B4AB@upnaway.com> Message-ID: <437247d1c5c5983100406ce33d991e41@laposte.net> here is a script to get the decimal separator: do "get item 2 of (1.1 as string)" as appleScript put the result into theDecimalSeparator replace quote with empty in theDecimalSeparator Thierry On 2006, Mar 11, , at 22:54, Flavel Steve wrote: > > > > > On 12/03/2006, at 1:57 AM, J. Landman Gay wrote: > >>> Hi Klaus >>> This is what I get from pasting your code >>> 2006-03-11 19:06:46.564 defaults[604] >>> The domain/default pair of (kCFPreferencesAnyApplication, >>> NSThousandsSeparator) does not exist >> >> I get the same thing. I think that means the user has not set a >> separator in the system prefs yet, so there is no specific character >> identified. Probably the script could assume the generic default >> separator, a comma, is in use. > > I changed the settings to those typical of Germany, but I still get > the "does not exist message". > Is it possible to get the thousand separator, currency symbol and > decimal symbol? > > Steve > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From JimAultWins at yahoo.com Sun Mar 12 05:16:38 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 12 Mar 2006 02:16:38 -0800 Subject: REV, Applescript, Javascript technique Message-ID: Hope there is a simple answer to the following: Using Rev to coordinate getting account info via the web. Used to work, but not does not for some strange reason. Rev sets the clipboard then calls... tell application "Safari" set safariJavaCmdStr to the clipboard do JavaScript safariJavaCmdStr in document 1 end tell Document 1 is the current web page frontmost. The safariJavaCmdStr is the same code as the link on the web page that opens a popup window when clicked to show detail. Clicking works. onclick=popup = window.open('','detailPopup', 'scrollbars')....more code When this window is showing, I tell Safari to... set sorce to the source of the front document then tell BBEdit to do some fancy RegEx to extract the essentials then back to Rev to catalog and loop to the next popup window link. This worked 6 months ago, OSX 10.3.9 Safari Version 1.3.1 (312.3.1) Currently does not work on older G4, Panther 10.3.8, Rev 2.5.1 --or-- Now on Tiger 10.4.2 with both Safari Version 1.3.1 (312.3.1) & Version 2.0 (412.2) Another test was..... Sending the javaScript command directly from Script Editor (also fails with no change or message in Safari) This is the command (watch word wrap.. all one line)... onclick=\"popup = window.open('','detailPopup', 'scrollbars');popup.blur();document.TransactionListForm.gradeNumber.value = 91629973; document.TransactionListForm.ticketNumber.value = 0; document.TransactionListForm.wagerNumber.value = 0; document.TransactionListForm.submit(); return I am not conversant in JavaScript, but understand enough try for a solution if I had a few clues. Is there another way to open a series of these 'detail popup' windows, get the source, close and do the next in a loop? Why doesn't Applescript/Safari work with the do javaScript command? Thanks for any guidance or help. The manual method can work, but what a pain. Jim Ault Las Vegas From tsj at unimelb.edu.au Sun Mar 12 05:28:29 2006 From: tsj at unimelb.edu.au (Terry Judd) Date: Sun, 12 Mar 2006 21:28:29 +1100 Subject: stack images - pixmapID not supported in 2.7 In-Reply-To: <20060307015756.348CA826405@mail.runrev.com> References: <20060307015756.348CA826405@mail.runrev.com> Message-ID: <997462ec1f63e8824f61ea8eb6c9c62a@unimelb.edu.au> Various cool routines for capturing stack images (including offscreen portions) that utilised the pixmapID of the stack were posted recently. Unfortunately they don't work in 2.7 as pixmapID is no longer supported. Any other ideas on how this might be achieved or is (as it appears) that it! Terry... Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA From scott at tactilemedia.com Sun Mar 12 05:45:52 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 12 Mar 2006 02:45:52 -0800 Subject: stack images - pixmapID not supported in 2.7 In-Reply-To: <997462ec1f63e8824f61ea8eb6c9c62a@unimelb.edu.au> Message-ID: Recently, Terry Judd wrote: > Various cool routines for capturing stack images (including offscreen > portions) that utilised the pixmapID of the stack were posted recently. > Unfortunately they don't work in 2.7 as pixmapID is no longer > supported. Any other ideas on how this might be achieved or is (as it > appears) that it! If I understood correctly, the Rev guys will be re-implementing pixmapID in a later 2.7.x version. For now, you can do screen captures using object references in hidden windows: "...snapshots can be taken of objects that are not on the current card or in stacks that are not open." An interesting benefit of this is that if you reference a control, the screenshot includes the control's alphaData. See "import" in the new docs for detailed info. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From katir at hindu.org Sun Mar 12 04:19:15 2006 From: katir at hindu.org (Sivakatirswami) Date: Sat, 11 Mar 2006 23:19:15 -1000 Subject: Grouping inside Grouping not that robust In-Reply-To: References: <20ECCA3C-CC73-4B4B-B84E-56FC5B16237F@videotron.ca> <282F89B0-FAB3-4FC9-94A4-CC23BEF57E95@lacscentre.co.uk> <70ed6b130603111553v324c73bevaff06ff89337db5a@mail.gmail.com> Message-ID: Yes, this can become a bit of a challenge to say the least. Especially if you are also trying to get certain objects in some groups to be at the top of the group. Does anyone else wish there were another "group-layer" editing strategy in Rev? as we have in photoshop? Imagine a palette which only shows groups. the default "layer" being the ungrouped objects on the "bottom" of the card. Groups appear as layers in this palette, and you could turn them on and off move them up and down by dragging. if you have a group selected in this palette, all object of all groups and as well as the ungrouped objects of the "default" layer, show on screen, but effectively you are editing only objects in that group and all other objects in other groups are unselectable, but visible. yet, you could take a selected object and drag it from one group to another. And the object changes groups. The Adobe model for this is close to perfect. I don't know if this is one of those things that could be easily translated into the Rev core...of if advance Rev usages of groups has some other constraint that makes such a model unfit, or if it would be some kind of major re-engineering effort. I'm not sure I understand how having groups inside of groups is even useful, true it is possible, but what if every group were completely independent... would we lose something? I suppose the ability to place several groups all at once, by placing a single group has some utility? this whole area definitely needs a new paradigm or at least a pair of nickels... some kind of upgrade. On Mar 11, 2006, at 2:11 PM, Stephen Barncard wrote: > It seem like Rev is still got problems with groups inside > groups...anyone else seen this? > > I've been trying to make design elements out of little line > segments, and that requires making groups of groups sometimes to > make them movable and usable. > > But it's like walking on eggs. Rev gets confused as to what group > is what, groups are hard to select, and twice in my case while > trying to group it did something horrible to the stack - it made a > tabbed button beneath it invisible - like the object shows up in > the inspectors, but .... isn't there, isn't offscreen... it's just > not visible and no property change will bring it back. Revert. > > I think this is a bug and it seems to corrupt the stack. > > I guess the rule is -- don't go more than 2 level deep with groups > in groups. And as far as graphics go - if I have to work with small > pieces, I think I'll do it in Appleworks or MacDraft and assemble > the artwork there in front of an image of where they'll go... I've > spent hours with this... > > It would also be nice if there was some way to know what level of > grouping one is in... as well as some way of grouping line elements > so that they become a new graphic object. Or how about 'locking' > groups so the elements stays together in the group. From markgreenberg at cox.net Sun Mar 12 08:27:36 2006 From: markgreenberg at cox.net (Mark Greenberg) Date: Sun, 12 Mar 2006 06:27:36 -0700 Subject: In-line Fraction with Horizontal Line (Solution) Message-ID: Thank you to Gordon, Ken Ray, Cubist, Glenn, and both Jims for your solutions to this problem. With your help I was able to write script that produced a perfectly satisfying result. After a few experiments, I went with Ken's suggestion to use TextShift, but with a twist. Here's what worked: Sample Desired Equation: y = 3/5x + 12 (in a centered field 1 line in height) Put "y = 3x + 12" into field QBox Put Return & "y = 5x + 12" after field QBox This is so the 5 is directly under the 3, since there is quite a bit of variation in the width of the equations. The second equation is not visible to the user because of the height of the field. Then I shrank and raised the 3 with TextSize and TextShift (-18 in my case, but it depends on the lineheight and font). I set the TextStyle of the 3 to "Underlined" to form the dividing line. (Good idea, Ken.) Here's the twist. I used an extreme TextShift value (-85) to move the 5 all the way up into the first line of the field, just under the dividing line. I also changed its size to match that of the 3. The 3 and 5 needed to be padded with a space on either side to make it look right. I looks perfect, as if horizontal-line fractions are built right into the font. I can send the stack (not yet finished) if anyone is interested. Just contact me off-list. Thanks again. I couldn't have done it without your help. Mark Greenberg From preid at reidit.co.uk Sun Mar 12 10:14:25 2006 From: preid at reidit.co.uk (Peter Reid) Date: Sun, 12 Mar 2006 15:14:25 +0000 Subject: MIDI-USB Input & Rev Media? Message-ID: I'm thinking of doing a project with my son that involves connecting an electronic drum kit up to his iBook (running OS X 10.4.x) via a USB-MIDI interface. What he wants to do is sense drum beats and display different images and play different sounds based on what drum pads the user strikes. In particular, he wants to sense a drum beat and use that as a trigger to change the images on display and stop/start different sound tracks. Firstly, can anyone point me in the right direction for sensing the drum input via a USB-MIDI adapter. Secondly, could this project be done using the new Rev Media product? I have a full Enterprise licence, but my son doesn't have a licence for Rev and yet he'd like to be involved in the actual programming. So he'll need a Rev licence as well. As he's a student, he hasn't got a lot of spare cash and so Rev Media would be ideal, rather than having to buy Rev Studio (there doesn't seem to be a single-user educational price for Studio). However, can this be done with Rev Media or are there too many restrictions for this type of project? Thanks for any suggestions. Peter -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576 E-mail: preid at reidit.co.uk Web: http://www.reidit.co.uk From alex at harryscollar.com Sun Mar 12 11:05:17 2006 From: alex at harryscollar.com (Alex Shaw) Date: Mon, 13 Mar 2006 02:05:17 +1000 Subject: standalone [pc/win] dialog bug In-Reply-To: <20060311180003.BE1EC82587E@mail.runrev.com> References: <20060311180003.BE1EC82587E@mail.runrev.com> Message-ID: <441446BD.9060607@harryscollar.com> Hi Getting a few annoying problems with a current project with standalones on windows (ok on mac) using 2.6.1 & 2.7 I have invisible main stack which i create as a standalone. This stack loads a splash stack which in turn loads various other module stacks (including the one in which all interaction happens). The problem: All the text in the dialog windows (ask or answer) are underlined, even the input field.. do i need to define default text styles in the main stack to be linked as an exe? Another problem which happens after a varied period of use in the standalone & rev ide is the cursor disappearing when within any stack or ide windows and a small black square appearing either in the top left of the screen or the top left of the current stack.. this then almost immediately leads to more screen corruption and I have to restart the ide or exe. I thought it may be the way i had a invisible exe stack launching a splash so i quickly threw together a brand new test launch & splash stack using the same priciples, with a single ask button on the splash.. things worked ok Tested on 4 pcs.. 2 win2000s & 2 xps.. all same problems. Again not getting it on the macs.. Anyway first time i've encountered both.. I've had a quick look thru my digest archives & bugzilla but haven't found any answers.. ..any suggestions? regards alex From europe at ehug.info Sun Mar 12 12:49:10 2006 From: europe at ehug.info (Mark Schonewille) Date: Sun, 12 Mar 2006 18:49:10 +0100 Subject: standalone [pc/win] dialog bug In-Reply-To: <441446BD.9060607@harryscollar.com> References: <20060311180003.BE1EC82587E@mail.runrev.com> <441446BD.9060607@harryscollar.com> Message-ID: <44145F16.300@ehug.info> Hi Alex, I don't know whether there is a Bugzilla entry for the dialog problems you describe, but I'd like to invite you to add your observations regarding cursors to Copy-pasting your message should suffice. I have seen similar issues in older Rev versions on both Windows PC's and 68K Macs. Best regards, Mark Alex Shaw wrote: > Hi > > > Another problem which happens after a varied period of use in the > standalone & rev ide is the cursor disappearing when within any stack or > ide windows and a small black square appearing either in the top left of > the screen or the top left of the current stack.. this then almost > immediately leads to more screen corruption and I have to restart the > ide or exe. > > I thought it may be the way i had a invisible exe stack launching a > splash so i quickly threw together a brand new test launch & splash > stack using the same priciples, with a single ask button on the splash.. > things worked ok > > Tested on 4 pcs.. 2 win2000s & 2 xps.. all same problems. Again not > getting it on the macs.. Anyway first time i've encountered both.. I've > had a quick look thru my digest archives & bugzilla but haven't found > any answers.. > > ..any suggestions? > > regards > alex -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From list at dreamscapesoftware.com Sun Mar 12 13:24:18 2006 From: list at dreamscapesoftware.com (dreamscapesoftware.com - List) Date: Sun, 12 Mar 2006 13:24:18 -0500 Subject: Associate Files on SUSE Linux (GNOME) Message-ID: <200603121824.k2CIOIrs007952@valuworld.com> Does anyone know how to setup File Type Associations on Linux? I'm running SUSE Linux 10 with GNOME. Thanks! Derek Bump Dreamscape Software www.dreamscapesoftware.com From list at dreamscapesoftware.com Sun Mar 12 13:26:11 2006 From: list at dreamscapesoftware.com (dreamscapesoftware.com - List) Date: Sun, 12 Mar 2006 13:26:11 -0500 Subject: Look and Feel on Linux Message-ID: <200603121826.k2CIQBZX008823@valuworld.com> Some time ago I downloaded Linux and used Revolution on it. It worked wonderfully and even adapted to the Look and Feel settings. Now I'm using SUSE Linux 1.0 with GNOME, and Revolution 2.5.1 is not adapting to the Look and Feel of Linux. Is the Look and Feel only compatable with KDE, or is something messed up on my end? I tried changing the Look & Feel settings, but I keep getting that (crappy) old UNIX look and Feel. Thanks Derek Bump Dreamscape Software www.dreamscapesoftware.com From stephenREVOLUTION at barncard.com Sun Mar 12 13:57:39 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 12 Mar 2006 10:57:39 -0800 Subject: Making the move... In-Reply-To: References: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> Message-ID: I have never seen the Edit menu "Copy as Formatted String". It is not in 2.7. I just checked. Are you sure this isn't some kind of customization? > >For complex queries if I try to do it straight in REV I invariable end up >with errors because of incorrect quoting, but if I create a correct query in >CocoaMySQL I can copy it and use REV's neat inbuilt 'Copy as Formatted >String' item in the Edit menu which will take the first line and turn it >into the second line. Easy! > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jacque at hyperactivesw.com Sun Mar 12 14:44:33 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Mar 2006 13:44:33 -0600 Subject: Making the move... In-Reply-To: References: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> Message-ID: <44147A21.8070107@hyperactivesw.com> Stephen Barncard wrote: > I have never seen the Edit menu "Copy as Formatted String". It is not in > 2.7. I just checked. > > Are you sure this isn't some kind of customization? It's only available when the script editor is open. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tsj at unimelb.edu.au Sun Mar 12 15:11:02 2006 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 13 Mar 2006 07:11:02 +1100 Subject: stack images - pixmapID not supported in 2.7 In-Reply-To: <20060312180003.12E10825784@mail.runrev.com> References: <20060312180003.12E10825784@mail.runrev.com> Message-ID: <16cb530d75e093f82647e635c110b595@unimelb.edu.au> > Recently, Terry Judd wrote: > >> Various cool routines for capturing stack images (including offscreen >> portions) that utilised the pixmapID of the stack were posted >> recently. >> Unfortunately they don't work in 2.7 as pixmapID is no longer >> supported. Any other ideas on how this might be achieved or is (as it >> appears) that it! > > If I understood correctly, the Rev guys will be re-implementing > pixmapID in > a later 2.7.x version. For now, you can do screen captures using > object > references in hidden windows: > > "...snapshots can be taken of objects that are not on the current > card or in stacks that are not open." > > An interesting benefit of this is that if you reference a control, the > screenshot includes the control's alphaData. > > See "import" in the new docs for detailed info. Thanks Scott - I'll take a look! Terry... > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com From stephenREVOLUTION at barncard.com Sun Mar 12 15:14:51 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 12 Mar 2006 12:14:51 -0800 Subject: Making the move... In-Reply-To: <44147A21.8070107@hyperactivesw.com> References: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> <44147A21.8070107@hyperactivesw.com> Message-ID: Well, not while Constellation is active.... not there.. >Stephen Barncard wrote: >>I have never seen the Edit menu "Copy as Formatted String". It is >>not in 2.7. I just checked. >> >>Are you sure this isn't some kind of customization? > >It's only available when the script editor is open. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From katir at hindu.org Sun Mar 12 15:38:47 2006 From: katir at hindu.org (Sivakatirswami) Date: Sun, 12 Mar 2006 10:38:47 -1000 Subject: OT: Web Server Processors Message-ID: We are trying to evaluate requirements for a new web server. The processor speed is an unknown to us, which to choose and why. I see lots of comments on the web for use of Intel 4 3mgz; inter 4 3mgz HT ("Hyper threaded"); Xeon Dual The bottom line is, if your applications *can* make use of two processor and are multi-threaded, then a dual processor is helpful. If you are not using such applications, then having a dual processor doesn't mean anything. But, this assumes a high level of knowledge on the part of the "client" about the applications in use on the web server. If he doesn't know, he's still in the dark. In this context we are only interested in the performance of four apps Apache Revolution PHP (mod_php) QT streaming as it relates single or dual processors. Will any of these four put the second processor to work if the first one is topped out? Since this is way OT (almost but not quite, completely) email me off list. Thanks! Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From wlists at fireworksmm.com Sun Mar 12 16:20:01 2006 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Sun, 12 Mar 2006 16:20:01 -0500 Subject: .xxx files In-Reply-To: <26b224d6c449174c3c47de6030a30a67@wanadoo.fr> References: <26b224d6c449174c3c47de6030a30a67@wanadoo.fr> Message-ID: I remember seeing a setting somewhere that turns off the copying of resource forks for drives that are not HFS+ Maybe a look at www.macosxhints.com might have some info on this. Can't do it myself right now... w. On Mar 10, 2006, at 6:03 AM, Francis Nugent Dixon wrote: > Hi Robert, > > Sigh ! Well I suppose that is an obvious solution > that I hadn't even thought about. > > And it represents no more than five minutes of > scripting time ! > > Back to the drawing board ........ ! > > Thanks > > -Francis > > >> I more or less guessed what the files were. My problem >> is not what they are for, but HOW TO STOP THEM FROM >> BEING COPIED, when I move from Mac to PC. Simply >> because they are a PAIN ! Sometimes I copy folders with 200 >> or 300 files from my Mac to my PC, and I can tell you, ignoring >> these .xxx files is not as easy as it looks ! >> >> -Francis > > A job for a nifty Rev plugin (or just a function) that zaps those > files into oblivion given a folder path? > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From garrett at paraboliclogic.com Sun Mar 12 16:53:46 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Sun, 12 Mar 2006 13:53:46 -0800 Subject: Get list of all objects on a card? In-Reply-To: <200603121826.k2CIQBZX008823@valuworld.com> References: <200603121826.k2CIQBZX008823@valuworld.com> Message-ID: <4414986A.3030402@paraboliclogic.com> Rev 2.6.1 Greetings, I'm trying to figure out how to get a list of all objects on a card, but have not been able to find anything in the docs related to this. I know how to get a list of cards in a stack with the "cardNames", but see no equivalent for objects on the card. :-( Does anyone know if there is a way accomplish this? Thanks, -Garrett From stephenREVOLUTION at barncard.com Sun Mar 12 17:00:32 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 12 Mar 2006 14:00:32 -0800 Subject: Get list of all objects on a card? In-Reply-To: <4414986A.3030402@paraboliclogic.com> References: <200603121826.k2CIQBZX008823@valuworld.com> <4414986A.3030402@paraboliclogic.com> Message-ID: local tcontrolList get the number of controls in repeat with n = 1 to it put the long name of control n of & return after tcontrolList end repeat the long name is quite specific and has all the info you need. this is not tested but you can get the idea. you can then filter the object types by what's in the first part of each line. >Rev 2.6.1 > >Greetings, > >I'm trying to figure out how to get a list of all objects on a card, >but have not been able to find anything in the docs related to this. > >I know how to get a list of cards in a stack with the "cardNames", >but see no equivalent for objects on the card. :-( > >Does anyone know if there is a way accomplish this? > >Thanks, >-Garrett > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From davis.phil at comcast.net Sun Mar 12 17:03:23 2006 From: davis.phil at comcast.net (Phil Davis) Date: Sun, 12 Mar 2006 14:03:23 -0800 Subject: REV, Applescript, Javascript technique In-Reply-To: References: Message-ID: <44149AAB.3010508@comcast.net> Jim - Shot in the dark: Do your Safari browser settings allow the applescript to work as intended? Or are there some OS settings that prevent things from working right? Thanks - Phil Davis Jim Ault wrote: > Hope there is a simple answer to the following: > > Using Rev to coordinate getting account info via the web. > Used to work, but not does not for some strange reason. > Rev sets the clipboard then calls... > tell application "Safari" > set safariJavaCmdStr to the clipboard > do JavaScript safariJavaCmdStr in document 1 > end tell > > Document 1 is the current web page frontmost. > The safariJavaCmdStr is the same code as the link on the web page that opens > a popup window when clicked to show detail. Clicking works. > > onclick=popup = window.open('','detailPopup', 'scrollbars')....more code > > When this window is showing, I tell Safari to... > > set sorce to the source of the front document > then tell BBEdit to do some fancy RegEx to extract the essentials > then back to Rev to catalog and loop to the next popup window link. > > This worked 6 months ago, OSX 10.3.9 Safari Version 1.3.1 (312.3.1) > Currently does not work on older G4, Panther 10.3.8, Rev 2.5.1 > --or-- > Now on Tiger 10.4.2 with both Safari Version 1.3.1 (312.3.1) & Version 2.0 > (412.2) > > Another test was..... > Sending the javaScript command directly from Script Editor (also fails with > no change or message in Safari) > > This is the command (watch word wrap.. all one line)... > onclick=\"popup = window.open('','detailPopup', > 'scrollbars');popup.blur();document.TransactionListForm.gradeNumber.value = > 91629973; document.TransactionListForm.ticketNumber.value = 0; > document.TransactionListForm.wagerNumber.value = 0; > document.TransactionListForm.submit(); return > > I am not conversant in JavaScript, but understand enough try for a solution > if I had a few clues. Is there another way to open a series of these > 'detail popup' windows, get the source, close and do the next in a loop? > > Why doesn't Applescript/Safari work with the do javaScript command? > > Thanks for any guidance or help. The manual method can work, but what a > pain. > > Jim Ault > Las Vegas From Stgoldberg at aol.com Sun Mar 12 17:06:48 2006 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Sun, 12 Mar 2006 17:06:48 EST Subject: Revolution 2.7 and new Intel Macs Message-ID: <24e.7f140f1.3145f578@aol.com> I just got back from my local Mac store where they were demonstrating the new Intel Macs and tested a number of Rev standlalones I built using Rev 2.7 on my Mac OS X system. I am pleased to report that all the standalones worked fine, including those with movies, sounds and hundreds of cards. (I couldn't test unbuilt stacks, though, since I don't as yet have the player for 2.7.) Steve Goldberg From europe at ehug.info Sun Mar 12 17:38:04 2006 From: europe at ehug.info (Mark Schonewille) Date: Sun, 12 Mar 2006 23:38:04 +0100 Subject: Get list of all objects on a card? In-Reply-To: <4414986A.3030402@paraboliclogic.com> References: <200603121826.k2CIQBZX008823@valuworld.com> <4414986A.3030402@paraboliclogic.com> Message-ID: <4414A2CC.8030103@ehug.info> Hi Garrett, I posted these scripts before (mind line wraps): getProp objects repeat with x = 1 to number of controls of the target put the name of control x of the target & return after myList end repeat sort myList return myList end objects getProp objectIDs repeat with x = 1 to number of controls of the target put the id of control x of the target & return after myList end repeat sort myList return myList end objectIDs They are not very different from Stephen's script, but they allow you use syntax such as: put the objects of this cd put the objects of grp 1 The above scripts belong either in the stack script of a stack in use or the main stack of your project. Best, Mark Garrett Hylltun wrote: > Rev 2.6.1 > > Greetings, > > I'm trying to figure out how to get a list of all objects on a card, but > have not been able to find anything in the docs related to this. > > I know how to get a list of cards in a stack with the "cardNames", but > see no equivalent for objects on the card. :-( > > Does anyone know if there is a way accomplish this? > > Thanks, > -Garrett -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From europe at ehug.info Sun Mar 12 18:38:57 2006 From: europe at ehug.info (Mark Schonewille) Date: Mon, 13 Mar 2006 00:38:57 +0100 Subject: copy locked text In-Reply-To: <43F23EED.5090603@hytext.com> References: <43F23EED.5090603@hytext.com> Message-ID: <4414B111.7050609@ehug.info> Hi, I know this problem was posted a month ago, but it appears that it was never answered. There is a bug in the Revolution IDE that may cause the copy command to unhighlight any selected text. This seems not to happen in a standalone, though. So, before you try to create a workaround, build a standalone and see if the problem persists. Best, Mark Jerry Muelver wrote: > For a helpdesk application, I have fields with hyperlinks in their text. The > fields have lockText and traversalOn both set to true, so the links will > work. The user can mouse-drag to select text, Ctrl-C to copy (highlight > disappears... oh, well...), and Ctrl-V in another app to paste. Perfect. > Just what I need for helpdesk and CRM applications. > > However, only the first such select-and-copy works. Select another, and when > you paste you get the first selection. Select another, even from the field > after is is blanked and rewritten, and you can paste only the first > selection. Less than perfect.... > > I've tried "How do I allowing copying from lockText" in the Help file, which > got me this far. Now I need, "How do I copy again?" to keep me going. -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From gregory.lypny at videotron.ca Sun Mar 12 19:03:24 2006 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sun, 12 Mar 2006 19:03:24 -0500 Subject: The templateField Keyword In-Reply-To: <20060311180003.9A2488255DB@mail.runrev.com> References: <20060311180003.9A2488255DB@mail.runrev.com> Message-ID: Thanks for responding, Dan and Dave. Dave, What you say below is not how I expect templateField to work based on its description. I thought that setting the templateField was a one-time thing and that it remained in effect until it was reset. Your handler based on the createField message would seem to make templateField unnecessary because you're changing the style of newly created fields using a script after they've been created, whereas the point of templateField is to set those properties before. Am I misunderstanding what you've intended? Incidentally, I was introduced to templateField by another member on this list shortly before 2.7 was released; I dabbled with it briefly, and it seemed to work fine with 2.6, although Dan writes that it doesn't work in that version either. Regards, Greg On Sat, Mar 11, 2006, at 1:00 PM, use-revolution- request at lists.runrev.com wrote: > On 9 Mar 2006, at 19:41, Gregory Lypny wrote: > >> Hello everyone, >> >> I tried to create a field template using the templateField keyword, >> but it doesn't seem to work. When I use the handler below, the >> text in newly created fields is Lucida Grande, but the size is 11 >> instead of 12, and the height is 14 instead of 18. What am I doing >> wrong? >> >> Regards, >> >> Gregory >> >> on openStack >> set the textFont of the templateField to "Lucida Grande" >> set the textSize of the templateField to 12 >> set the fixedLineHeight of the templateField to true >> set the textHeight of the templateField to 18 >> end openStack > > Are these newly created fields made by using the Rev tool palette? > I'd assume that Rev sets the templateField every time you create a > field. That would explainwhat you see. > > To create fields using templateField settings of your own, you need > to use "create field" before anything else can change the > templateField again. Something like this: > > > on createField > set the textFont of the templateField to "Lucida Grande" > set the textSize of the templateField to 12 > set the fixedLineHeight of the templateField to true > set the textHeight of the templateField to 18 > create field > reset the templateField > end createField > > Cheers > Dave > From liamlambert at mac.com Sun Mar 12 19:52:14 2006 From: liamlambert at mac.com (liamlambert) Date: Mon, 13 Mar 2006 00:52:14 +0000 Subject: random Message-ID: <80D41C37-B21D-4CAC-A261-A5506C522515@mac.com> I have this code for a random number in 6 fld's how do I stop the same number form appearing in more then one fld put "1a,2a,3a,4a,5a,6a" into tFieldNames repeat for each item tfield in tFieldNames put the random of 45 into trandom put trandom into fld tfield end repeat Liam Lambert liamlambert at mac.com IRELAND From sarah.reichelt at gmail.com Sun Mar 12 20:09:23 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 13 Mar 2006 11:09:23 +1000 Subject: random In-Reply-To: <80D41C37-B21D-4CAC-A261-A5506C522515@mac.com> References: <80D41C37-B21D-4CAC-A261-A5506C522515@mac.com> Message-ID: On 3/13/06, liamlambert wrote: > I have this code for a random number in 6 > fld's how do I stop the same number form appearing > in more then one fld > > put "1a,2a,3a,4a,5a,6a" into tFieldNames > repeat for each item tfield in tFieldNames > put the random of 45 into trandom > put trandom into fld tfield > end repeat > This is the sort of question that always produces lots of methods, but here's one possibility: -- build a list of the numbers from 1 to 45 put empty into tNumberList repeat with x = 1 to 45 put x & cr after tNumberList end repeat -- sort this list randomly sort lines of tNumberList by random(10000) -- use the first 6 numbers to fill your fields put "1a,2a,3a,4a,5a,6a" into tFieldNames repeat for each item tfield in tFieldNames put line 1 of tNumberList into fld tfield delete line 1 of tNumberList end repeat Cheers, Sarah From scott at elementarysoftware.com Sun Mar 12 20:40:34 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 12 Mar 2006 17:40:34 -0800 Subject: random In-Reply-To: <80D41C37-B21D-4CAC-A261-A5506C522515@mac.com> References: <80D41C37-B21D-4CAC-A261-A5506C522515@mac.com> Message-ID: <695695E8-FCC7-4E2C-86FC-7A3C98F66D6F@elementarysoftware.com> Try this: on mouseUp put "1a,2a,3a,4a,5a,6a" into tFieldNames put empty into tNumList repeat for each item tfield in tFieldNames put the random of 45 into tRandom repeat forever if tRandom is not among the items of tNumList then put tRandom & comma after tNumList put tRandom into fld tfield exit repeat end if put the random of 45 into tRandom -- that number didn't work so try another end repeat end repeat end mouseUp -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Mar 12, 2006, at 4:52 PM, liamlambert wrote: > I have this code for a random number in 6 > fld's how do I stop the same number form appearing > in more then one fld > > put "1a,2a,3a,4a,5a,6a" into tFieldNames > repeat for each item tfield in tFieldNames > put the random of 45 into trandom > put trandom into fld tfield > end repeat > > Liam Lambert > liamlambert at mac.com > IRELAND > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Sun Mar 12 20:48:36 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 13 Mar 2006 09:48:36 +0800 Subject: Bug 744 - Incorrect Window Scroll on MacOS Message-ID: OSX .4.5, Rev 2.6.1 I've just added menubars to the half dozen substacks I have. I thought I was very clever, reviewed Jeane DeVoto's excellent 'Menu's' scripting conference, then wrote a quick handler in the message box to repeat through each substack, add 21 pixels to it's height, copy the 'Standard' group from the mainstack to the substack, then set the menubar to "Standard". Worked like a charm. Until I closed and reopend the substacks. Each one now has a 21 pixel white band at the bottom. I tried to fix it by manually buidling the menus using Menu Builder but no change - It all appears to do it's thing, creates the buttons at the top of the stack then move everything up the appropriate amount to hide them when 'Set as Menu Bar on Mac OS" is selected. But if I close and reopen the substack the bottom 21 pixels are blank. A search with RevZilla came up with Bug 744. It is spot on what happens. This was reported for version 2.1 but it appears to be still open as the status remains as New! I see Jacque made a few comments. Here is the listed recipe to make it happen and a workaround by Tuviah Snyder: ------ ok here is the final recipe to trigger this bug. set the decorations to some decorations and then set the decorations to something else in the preopenstack. close and save the stack, close revolution. open revolution, reopen the stack and it happens. You can fix this by either setting the decorations of the stack before saving it to a standalone..or moving the line which changes the decorations to openstack. ------ Well that's great except I don't set any stack decorations in a script. They are all just their default when each substack was created. So anyone know how to fix this problem? Thanks in advance. From garrett at paraboliclogic.com Sun Mar 12 21:11:28 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Sun, 12 Mar 2006 18:11:28 -0800 Subject: Problem getting the text of an object on another stack and card In-Reply-To: References: Message-ID: <4414D4D0.6050900@paraboliclogic.com> Rev 2.6.1 Greetings, I can get the name of the stack, list the cards of that stack, and list the objects of the card(s). But when I try to apply code for getting the text of one of the objects I get the following error: compiling at 5:48:47 PM Type Commands: missing ',' Object ObjectsList Line put the text of varTempObject of card varTempCard of stack varTempStack into varTempResult Hint into The line of code is this: put the text of varTempObject of card varTempCard of stack varTempStack into varTempResult varTempStack holds the name of the stack, varTempCard holds the name of the card. varTempObject holds the type and name of the object, such as: button "Button1" So the line of the code in question would look like this: put the text of button "Button1" of card "MainCard" of stack "MainStack" into varTempResult And I don't understand the error at all. I am not aware of having to add any comma in this situation. Does anyone understand this? Or can someone tell me if I am coding this wrong? Thanks, -Garrett From jacque at hyperactivesw.com Sun Mar 12 21:16:27 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Mar 2006 20:16:27 -0600 Subject: The templateField Keyword In-Reply-To: References: <20060311180003.9A2488255DB@mail.runrev.com> Message-ID: <4414D5FB.4050802@hyperactivesw.com> Gregory Lypny wrote: > I thought that setting the templateField was a > one-time thing and that it remained in effect until it was reset. Right. If you build a standalone or suspend the IDE, you should see the behavior you describe. However, the IDE resets the templatefield, templateButton, etc. when you choose an item from the toolbar during development. So while developing, you may see it change. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 12 21:22:21 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Mar 2006 20:22:21 -0600 Subject: MIDI-USB Input & Rev Media? In-Reply-To: References: Message-ID: <4414D75D.6090702@hyperactivesw.com> Peter Reid wrote: > I'm thinking of doing a project with my son that involves connecting an > electronic drum kit up to his iBook (running OS X 10.4.x) via a USB-MIDI > interface. What he wants to do is sense drum beats and display > different images and play different sounds based on what drum pads the > user strikes. In particular, he wants to sense a drum beat and use that > as a trigger to change the images on display and stop/start different > sound tracks. > > Firstly, can anyone point me in the right direction for sensing the drum > input via a USB-MIDI adapter. I'm not sure you can yet, since Rev can't read the USB port. There's been some demand for this, and at one point I thought Altuit was working on an external to do it, but I can't recall now if it ever got finished. Chipp? > Secondly, could this project be done using the new Rev Media product? I > have a full Enterprise licence, but my son doesn't have a licence for > Rev and yet he'd like to be involved in the actual programming. So he'll > need a Rev licence as well. As he's a student, he hasn't got a lot of > spare cash and so Rev Media would be ideal, rather than having to buy > Rev Studio (there doesn't seem to be a single-user educational price for > Studio). However, can this be done with Rev Media or are there too many > restrictions for this type of project? If you can overcome the USB port problem then I think Media would work fine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From davis.phil at comcast.net Sun Mar 12 21:36:57 2006 From: davis.phil at comcast.net (Phil Davis) Date: Sun, 12 Mar 2006 18:36:57 -0800 Subject: Problem getting the text of an object on another stack and card In-Reply-To: <4414D4D0.6050900@paraboliclogic.com> References: <4414D4D0.6050900@paraboliclogic.com> Message-ID: <4414DAC9.2090504@comcast.net> Hi Garrett, I sometimes see this too. I'm sure there must be a definitive cause of it, but I don't have a definitive fix for you - maybe someone else will. In the mean time... You can try helping Rev understand your code by giving it hints with parentheses, like this (watch line wraps): put (the text of varTempObject of card varTempCard of stack varTempStack) into varTempResult -- or break the problem statement into a couple of lines: get (the text of varTempObject of card varTempCard of stack varTempStack) put it into varTempResult HTH - Phil Davis Garrett Hylltun wrote: > Rev 2.6.1 > > Greetings, > > I can get the name of the stack, list the cards of that stack, and list > the objects of the card(s). But when I try to apply code for getting > the text of one of the objects I get the following error: > > compiling at 5:48:47 PM > Type Commands: missing ',' > Object ObjectsList > Line put the text of varTempObject of card varTempCard of stack > varTempStack into varTempResult > Hint into > > > The line of code is this: > > put the text of varTempObject of card varTempCard of stack varTempStack > into varTempResult > > varTempStack holds the name of the stack, varTempCard holds the name of > the card. varTempObject holds the type and name of the object, such as: > > button "Button1" > > So the line of the code in question would look like this: > > put the text of button "Button1" of card "MainCard" of stack "MainStack" > into varTempResult > > And I don't understand the error at all. I am not aware of having to > add any comma in this situation. > > Does anyone understand this? Or can someone tell me if I am coding this > wrong? > > Thanks, > -Garrett > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From nicolas_cueto at yahoo.com Sun Mar 12 23:22:25 2006 From: nicolas_cueto at yahoo.com (N Cueto) Date: Sun, 12 Mar 2006 20:22:25 -0800 (PST) Subject: [OT] cgi, rev/mc & signal 6 In-Reply-To: <4414D75D.6090702@hyperactivesw.com> Message-ID: <20060313042225.54530.qmail@web60618.mail.yahoo.com> Sorry for posting this here. For years I had been using mc for cgi work thru my webhost's server, but this all stopped after completing a package upgrade last week. Looking into reasons why, Ken Ray's cgi+mc/rev advise-page suggests (via Andu) using ldd to find whether any Apache shared libraries that mc needs are missing. The result of trying the ldd mc command line was: mc: mc: signal 6 A google search informs me that "signal 6" indicates a terminated process, but that's not enough of a clue for me to figure out what the next step might be. Any suggestions would be welcome. Thank you. -- Nicolas Cueto From stephenREVOLUTION at barncard.com Sun Mar 12 23:24:29 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 12 Mar 2006 20:24:29 -0800 Subject: Problem getting the text of an object on another stack and card In-Reply-To: <4414D4D0.6050900@paraboliclogic.com> References: <4414D4D0.6050900@paraboliclogic.com> Message-ID: I see you are using a variable for the object. If this is in a loop of many objects, remember that some objects don't have a text property and that will throw an error. sqb >Rev 2.6.1 > >Greetings, > >I can get the name of the stack, list the cards of that stack, and >list the objects of the card(s). But when I try to apply code for >getting the text of one of the objects I get the following error: > >compiling at 5:48:47 PM >Type Commands: missing ',' >Object ObjectsList >Line put the text of varTempObject of card varTempCard of stack >varTempStack into varTempResult >Hint into > > >The line of code is this: > >put the text of varTempObject of card varTempCard of stack >varTempStack into varTempResult > >varTempStack holds the name of the stack, varTempCard holds the name >of the card. varTempObject holds the type and name of the object, >such as: > >button "Button1" > >So the line of the code in question would look like this: > >put the text of button "Button1" of card "MainCard" of stack >"MainStack" into varTempResult > >And I don't understand the error at all. I am not aware of having >to add any comma in this situation. > >Does anyone understand this? Or can someone tell me if I am coding >this wrong? > >Thanks, >-Garrett -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From revolutionary.dan at gmail.com Sun Mar 12 23:37:04 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Sun, 12 Mar 2006 20:37:04 -0800 Subject: The templateField Keyword In-Reply-To: References: <20060311180003.9A2488255DB@mail.runrev.com> Message-ID: <70ed6b130603122037r171f4709sb75fcab05e7527f6@mail.gmail.com> In fact, as I think I posted earlier, you need not reset the templateField after use. As long as you don't change any values in the templateField between uses, you can set it once and then create as many fields as you want that follow its pattern, *provided* you use the 'create field' command and not the IDE tool. On 3/12/06, Gregory Lypny wrote: > > Thanks for responding, Dan and Dave. > > Dave, > > What you say below is not how I expect templateField to work based > on its description. I thought that setting the templateField was a > one-time thing and that it remained in effect until it was reset. > Your handler based on the createField message would seem to make > templateField unnecessary because you're changing the style of newly > created fields using a script after they've been created, whereas the > point of templateField is to set those properties before. Am I > misunderstanding what you've intended? Incidentally, I was > introduced to templateField by another member on this list shortly > before 2.7 was released; I dabbled with it briefly, and it seemed to > work fine with 2.6, although Dan writes that it doesn't work in that > version either. > > Regards, > > Greg > > On Sat, Mar 11, 2006, at 1:00 PM, use-revolution- > request at lists.runrev.com wrote: > > > On 9 Mar 2006, at 19:41, Gregory Lypny wrote: > > > >> Hello everyone, > >> > >> I tried to create a field template using the templateField keyword, > >> but it doesn't seem to work. When I use the handler below, the > >> text in newly created fields is Lucida Grande, but the size is 11 > >> instead of 12, and the height is 14 instead of 18. What am I doing > >> wrong? > >> > >> Regards, > >> > >> Gregory > >> > >> on openStack > >> set the textFont of the templateField to "Lucida Grande" > >> set the textSize of the templateField to 12 > >> set the fixedLineHeight of the templateField to true > >> set the textHeight of the templateField to 18 > >> end openStack > > > > Are these newly created fields made by using the Rev tool palette? > > I'd assume that Rev sets the templateField every time you create a > > field. That would explainwhat you see. > > > > To create fields using templateField settings of your own, you need > > to use "create field" before anything else can change the > > templateField again. Something like this: > > > > > > on createField > > set the textFont of the templateField to "Lucida Grande" > > set the textSize of the templateField to 12 > > set the fixedLineHeight of the templateField to true > > set the textHeight of the templateField to 18 > > create field > > reset the templateField > > end createField > > > > Cheers > > Dave > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From jacque at hyperactivesw.com Mon Mar 13 01:00:55 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Mar 2006 00:00:55 -0600 Subject: [OT] cgi, rev/mc & signal 6 In-Reply-To: <20060313042225.54530.qmail@web60618.mail.yahoo.com> References: <20060313042225.54530.qmail@web60618.mail.yahoo.com> Message-ID: <44150A97.7090504@hyperactivesw.com> N Cueto wrote: > Sorry for posting this here. > > For years I had been using > mc for cgi work thru my > webhost's server, but this > all stopped after completing > a package upgrade last week. > > Looking into reasons why, Ken > Ray's cgi+mc/rev advise-page > suggests (via Andu) using ldd > to find whether any Apache > shared libraries that mc needs > are missing. > > The result of trying the ldd mc > command line was: > > mc: > > mc: signal 6 > > A google search informs me that > "signal 6" indicates a terminated > process, but that's not enough > of a clue for me to figure out > what the next step might be. There should be info about the reason for the termination in the system error log. Most hosting companies let you see that via a control panel or similar. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gcanyon at inspiredlogic.com Mon Mar 13 01:12:38 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun, 12 Mar 2006 22:12:38 -0800 Subject: Problem getting the text of an object on another stack and card In-Reply-To: <4414D4D0.6050900@paraboliclogic.com> References: <4414D4D0.6050900@paraboliclogic.com> Message-ID: <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> On Mar 12, 2006, at 6:11 PM, Garrett Hylltun wrote: > The line of code is this: > > put the text of varTempObject of card varTempCard of stack > varTempStack into varTempResult > > varTempStack holds the name of the stack, varTempCard holds the > name of the card. varTempObject holds the type and name of the > object, such as: > > button "Button1" > > So the line of the code in question would look like this: > > put the text of button "Button1" of card "MainCard" of stack > "MainStack" into varTempResult I don't believe you can use this syntax. Putting button "Button1" into a variable "tButton" and then saying put the text of tButton of card tCard won't work. You can put the name of the button into tButton and then say put the text of button tButton of card tCard etc. Or you can put the full reference into a variable. For example, this will work: put the long id of button "Button1" into tID put the text of tID regards, Geoff From a.calloway at callowaygreen.com Mon Mar 13 02:31:20 2006 From: a.calloway at callowaygreen.com (Andy Calloway) Date: Mon, 13 Mar 2006 07:31:20 -0000 Subject: Deleting A Card Message-ID: <004601c64670$2067c1b0$1500a8c0@ACERLaptop> 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. From paulclaude at postino.it Mon Mar 13 02:46:14 2006 From: paulclaude at postino.it (Paul Claude) Date: Mon, 13 Mar 2006 08:46:14 +0100 Subject: Font character shape In-Reply-To: Message-ID: Mac Os X, system 10.3.9, custom windowshape, no text antialiasing. Ok, the bug is exactly as you told. I hope Rev developers will correct this in next update. Greetings Paul Claude on 11-03-2006 18:43, Scott Rossi at scott at tactilemedia.com wrote: > What platform/system version? Does your stack have a custom windowshape? > > There appears to be a bug with text antialiasing in Rev 2.7, on Mac OS X > 10.3.9 -- specifically the text antialiasing gets removed. The bug does not > appear to be present on more recent systems. The Rev developers are aware > of this. From dcragg at lacscentre.co.uk Mon Mar 13 03:29:47 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 13 Mar 2006 08:29:47 +0000 Subject: The templateField Keyword In-Reply-To: References: <20060311180003.9A2488255DB@mail.runrev.com> Message-ID: On 13 Mar 2006, at 00:03, Gregory Lypny wrote: > > What you say below is not how I expect templateField to work based > on its description. I thought that setting the templateField was a > one-time thing and that it remained in effect until it was reset. > Your handler based on the createField message would seem to make > templateField unnecessary because you're changing the style of > newly created fields using a script after they've been created, > whereas the point of templateField is to set those properties > before. Am I misunderstanding what you've intended? I think Dan's reply clears it up. There's no need to reset the templateField, although I learned it was a "good idea" back when I started with Metacard, and so have followed that advice like a good boy. ;-) I think the idea is that by immediately resetting the templatexxxxx, you don't leave any surprises around for the next time you create an object. But if you're solely in charge of what gets created, then I guess it doesn't matter. The main point I wanted to make was that you should use "create field" in your own script to get a field that follows the template settings you have made. I don't think you can rely on the tool palette in the IDE to respect the settings you have made. I say this without knowing how the tool palette creates objects; I was just assuming it was likely to set the templateField itself before doing so. I also wasn't sure what the palette does after it has created an object, but Dan's reply suggests it sets back to the state it was in before. Sorry for any confusion. Dave From dcragg at lacscentre.co.uk Mon Mar 13 03:32:58 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 13 Mar 2006 08:32:58 +0000 Subject: Deleting A Card In-Reply-To: <004601c64670$2067c1b0$1500a8c0@ACERLaptop> References: <004601c64670$2067c1b0$1500a8c0@ACERLaptop> Message-ID: On 13 Mar 2006, at 07:31, Andy Calloway 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? > Check whether you have the cantDelete property of the card set. You can see this in the card property inspector (Object menu -> Card Inspector) Cheers Dave From a.calloway at callowaygreen.com Mon Mar 13 03:57:37 2006 From: a.calloway at callowaygreen.com (Andy Calloway) Date: Mon, 13 Mar 2006 08:57:37 -0000 Subject: Deleting A Card In-Reply-To: Message-ID: <000301c6467c$2d71ce80$0200a8c0@ACERLaptop> Nope, that's not set. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dave Cragg Sent: 13 March 2006 08:33 To: How to use Revolution Subject: Re: Deleting A Card On 13 Mar 2006, at 07:31, Andy Calloway 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? > Check whether you have the cantDelete property of the card set. You can see this in the card property inspector (Object menu -> Card Inspector) Cheers Dave _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From Andre.Bisseret at inria.fr Mon Mar 13 04:37:41 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q?Andr=E9.Bisseret?=) Date: Mon, 13 Mar 2006 10:37:41 +0100 Subject: copy locked text In-Reply-To: <4414B111.7050609@ehug.info> Message-ID: <0443777F-B275-11DA-9426-000393DBAA2A@inria.fr> Hi ! I just had the same problem as Jerry and I posted a question a couple of days ago ; Have a look at the thread "copy from a locked, focusable fld under Windows" Nice ideas and solutions have been posted there, from Jonathan Linch, Wilhelm Sanke, Jim Ault and Chipp Walter. Best regards from Grenoble Andr? Le Monday, 13 Mar 2006, ? 00:38 Europe/Paris, Mark Schonewille a ?crit : > Hi, > > I know this problem was posted a month ago, but it appears that it was > never answered. > > There is a bug in the Revolution IDE that may cause the copy command > to unhighlight any selected text. This seems not to happen in a > standalone, though. So, before you try to create a workaround, build a > standalone and see if the problem persists. > > Best, > > Mark > > Jerry Muelver wrote: >> For a helpdesk application, I have fields with hyperlinks in their >> text. The >> fields have lockText and traversalOn both set to true, so the links >> will >> work. The user can mouse-drag to select text, Ctrl-C to copy >> (highlight >> disappears... oh, well...), and Ctrl-V in another app to paste. >> Perfect. >> Just what I need for helpdesk and CRM applications. >> However, only the first such select-and-copy works. Select another, >> and when >> you paste you get the first selection. Select another, even from the >> field >> after is is blanked and rewritten, and you can paste only the first >> selection. Less than perfect.... >> I've tried "How do I allowing copying from lockText" in the Help >> file, which >> got me this far. Now I need, "How do I copy again?" to keep me going. > From revlist at azurevision.co.uk Mon Mar 13 05:46:25 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 13 Mar 2006 10:46:25 +0000 Subject: Turning imageData into alphaData (quickly)? Message-ID: <2C26FAC1-3B43-4E65-B5E6-CFE809FF619E@azurevision.co.uk> Hi all, I've been lurking for a few years, but not posted for some time... I'm doing quite a lot of stuff generating PNGs with transparency, and wondered if there is any fast way to combine an 'image' img and a 'transparency' img? A handler that goes through each RGB pixel and reduce it to a grayscale value for use as alphaData was pretty easy, but for a 200x200px image that's 40,000 repeats, and takes minutes on a G5. on maskStuff put the seconds into tStart put "" into tMaskData put the imageData of img "mask" into tImgData put number of chars of tImgData / 4 & return into fld "status" lock screen repeat with x = 1 to ((number of chars of tImgData) / 4) if the mouse is down then exit to top put charToNum(char (x*4)-2 of tImgData) into tR put charToNum(char (x*4)-1 of tImgData) into tG put charToNum(char (x*4) of tImgData) into tB put the round of ((tR + tG + tB)/3) into tM put numToChar(tM) after tMaskData --put tM & return after fld "status" end repeat unlock screen put the seconds - tStart after fld "status" end maskStuff As the project is currently on a Mac I can use AppleScripts to do it all in Photoshop from two exported images (and makes it easy to add drop-shadows), but for future cross-platform use this is a no-no. Any ideas for a faster way? Cross-platform command-line tools? Ian Wood Panoramic photography, from web to billboard, sunrise to moonrise http://www.landmarksofbritain.co.uk http://www.azurevision.co.uk P.S. OS X 10.4.5, Rev 2.7 (haven't gone back and tried in 2.6 yet). From sims at ezpzapps.com Mon Mar 13 05:45:44 2006 From: sims at ezpzapps.com (sims) Date: Mon, 13 Mar 2006 11:45:44 +0100 Subject: activate Message-ID: On a Mac I can use the applescript: tell application "myApp" activate end tell to bring to the front an application (make it pop out in front of all other open application windows). On Windows is there some way to do the same? Some shell script perhaps? Might there even be some shell script that would work with both OS X and Windows? ciao, sims European Rev Conference 2006 www.techietours.com From Andre.Bisseret at inria.fr Mon Mar 13 05:53:10 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q?Andr=E9.Bisseret?=) Date: Mon, 13 Mar 2006 11:53:10 +0100 Subject: copy from a locked, focusable fld under Windows In-Reply-To: <31e1938c0603101516i3493bc03v50743fb1f77e08ae@mail.gmail.com> Message-ID: <8FE922A2-B27F-11DA-9426-000393DBAA2A@inria.fr> Thanks a lot to Jonathan, Wilhelm, Jim and Chipp for their very useful ideas and solutions. I confirm that here (G4, OSX, 10.2.8 -RR 2.6.1) neither "command c" nor "command C" is working (; but as Wilhelm said "Copy text" from Edit menu works. Meanwhile, "command v" as well as "command V" works. The following handler works on Mac, keeping the html form : on copySelection if the selection is empty then -- there is no selection then answer "No selected text" exit copySelection else copy the selectedText answer "The selected text is in the clipboard" end if end copier In order to try on Windows, I made another button, and I intercepted "command c" using the handler of Jonathan (below). Nevertheless, I needed to replace the line "if the selectedfield <> empty then" by "if the selection is empty then" (or "if the selectedText is empty" as well). The reason is that a single click in the field (without any text selected) is setting "the selectedfield <> empty" to true (so that it is reporting "The selected text is in the clipboard" and then copying nothing). I have not had the opportunity to test that on Windows yet. I will inform you about the results as soon as I would have done it :-) Best regards from Grenoble Andr? Le Saturday, 11 Mar 2006, ? 00:16 Europe/Paris, Jonathan Lynch a ?crit : > This is how I would up doing it: > > on RawKeyDown pKey > if (pKey = 99 or pKey = 67) and the commandkey is down then > if the selectedfield <> empty then > put the selection into tSel > put the htmltext of the selection into tSelHtml > set the clipboarddata["text"] to tSel > set the clipboarddata["html"] to tSelHtml > select the selectedchunk > exit rawkeydown > end if > end if > pass rawkeydown > end rawkeydown > > This is adapted from a the rawkeydown handler in taskmage, which does a > bunch of other stuff that does not need to be included here. > > I find this script works well, and allows you to copy both formatted > and > unformatted text so that it can be copied from a rev application and > pasted > into any other application. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From revlist at azurevision.co.uk Mon Mar 13 05:53:55 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 13 Mar 2006 10:53:55 +0000 Subject: activate In-Reply-To: References: Message-ID: Have a look in the Docs for the 'launch' command which will work on both platforms if the app isn't already running, but it also mentions get shell("start MyProgram.exe") for Windows which might work. Ian On 13 Mar 2006, at 10:45, sims wrote: > On a Mac I can use the applescript: > > tell application "myApp" > activate > end tell > > to bring to the front an application (make it pop out in > front of all other open application windows). > > On Windows is there some way to do the same? > Some shell script perhaps? > > Might there even be some shell script that would work with > both OS X and Windows? > > ciao, > sims > > European Rev Conference 2006 > www.techietours.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sims at ezpzapps.com Mon Mar 13 06:00:43 2006 From: sims at ezpzapps.com (sims) Date: Mon, 13 Mar 2006 12:00:43 +0100 Subject: Turning imageData into alphaData (quickly)? In-Reply-To: <2C26FAC1-3B43-4E65-B5E6-CFE809FF619E@azurevision.co.uk> References: <2C26FAC1-3B43-4E65-B5E6-CFE809FF619E@azurevision.co.uk> Message-ID: >Hi all, I've been lurking for a few years, but not posted for some time... > >I'm doing quite a lot of stuff generating PNGs with transparency, >and wondered if there is any fast way to combine an 'image' img and >a 'transparency' img? >A handler that goes through each RGB pixel and reduce it to a >grayscale value for use as alphaData was pretty easy, but for a >200x200px image that's 40,000 repeats, and takes minutes on a G5. Perhaps the following might help? Also, I think Chipp has done some work along those lines. I have uploaded a series of images created with the "ImageData Toolkit", which is a modified version of my "Colorpattern Toolkit" (). ciao, sims European Rev Conference 2006 www.techietours.com From sims at ezpzapps.com Mon Mar 13 06:02:52 2006 From: sims at ezpzapps.com (sims) Date: Mon, 13 Mar 2006 12:02:52 +0100 Subject: activate In-Reply-To: References: Message-ID: >Have a look in the Docs for the 'launch' command which will work on >both platforms if the app isn't already running, but it also >mentions get shell("start MyProgram.exe") for Windows which might >work. > >Ian Thanks Ian, my app will already be open so 'launch' will not do it for the Mac. I'll will look into the shell you mention...unless someone knows a better way... ciao, sims European Rev Conference 2006 www.techietours.com From Cubist at aol.com Mon Mar 13 08:36:54 2006 From: Cubist at aol.com (Cubist at aol.com) Date: Mon, 13 Mar 2006 08:36:54 EST Subject: random Message-ID: <27c.6ffd0a0.3146cf76@aol.com> In a message dated 3/13/06 2:49:16 AM, liamlambert writes: >I have this code for a random number in 6 >fld's how do I stop the same number form appearing >in more then one fld As Ms. Reichelt noted, this is one of those questions that tends to attract a wide variety of answers... and here is mine. put "1a,2a,3a,4a,5a,6a" into tFieldNames # build list of numbers put "" into DisList repeat with K1 = 1 to 45 put K1 into item K1 of DisList end repeat #shuffle the list repeat 20 put the random of 45 into Fred put item Fred ofDisList & "," before DisList delete item (Fred + 1) of DisList end repeat # for general-purpose scrambling, you might want to repeat this more than 20 times. # in this case, however, we're only interested in the first six items. therefore, # 20 times should be (more than?) enough # put the first six items of DisList into the six fields repeat with K1 = 1 to the number of items in tFieldNames put item K1 of DisList into fld (item K1 of tFieldNames) end repeat From gregory.lypny at videotron.ca Mon Mar 13 08:47:05 2006 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Mon, 13 Mar 2006 08:47:05 -0500 Subject: The templateField Keyword In-Reply-To: <20060313094845.AE8C1825223@mail.runrev.com> References: <20060313094845.AE8C1825223@mail.runrev.com> Message-ID: <6CDF6CC4-C235-4BDA-B22A-12A7B53400D7@videotron.ca> Thanks once again, Dan, Dave, and Jacqueline. I think I get it. When all is said and done, it seems that for development it's easier and faster to create a little stack of fields and other things with the features I want and simply copy and paste them into the project I'm working on. Gregory On Mon, Mar 13, 2006, at 4:48 AM, Dave Cragg wrote: > On 13 Mar 2006, at 00:03, Gregory Lypny wrote: >> >> What you say below is not how I expect templateField to work based >> on its description. I thought that setting the templateField was a >> one-time thing and that it remained in effect until it was reset. >> Your handler based on the createField message would seem to make >> templateField unnecessary because you're changing the style of >> newly created fields using a script after they've been created, >> whereas the point of templateField is to set those properties >> before. Am I misunderstanding what you've intended? > > > I think Dan's reply clears it up. There's no need to reset the > templateField, although I learned it was a "good idea" back when I > started with Metacard, and so have followed that advice like a good > boy. ;-) I think the idea is that by immediately resetting the > templatexxxxx, you don't leave any surprises around for the next time > you create an object. But if you're solely in charge of what gets > created, then I guess it doesn't matter. > > The main point I wanted to make was that you should use "create > field" in your own script to get a field that follows the template > settings you have made. I don't think you can rely on the tool > palette in the IDE to respect the settings you have made. I say this > without knowing how the tool palette creates objects; I was just > assuming it was likely to set the templateField itself before doing > so. I also wasn't sure what the palette does after it has created an > object, but Dan's reply suggests it sets back to the state it was in > before. From paulclaude at postino.it Mon Mar 13 09:23:40 2006 From: paulclaude at postino.it (Paul Claude) Date: Mon, 13 Mar 2006 15:23:40 +0100 Subject: Add your app to login items (Mac) Message-ID: There is a way to do a script that may add or delete your app to Mac "Login Items" (to auto run your app at Mac startup)? I know that you could read/write the loginwindow.plist, but there is a more simple way? I don't like to adopt and study complex XML libraries only for this target. Greetings Paul Claude From klaus at major-k.de Mon Mar 13 09:40:28 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 13 Mar 2006 15:40:28 +0100 Subject: Add your app to login items (Mac) In-Reply-To: References: Message-ID: <495A8117-DD22-4553-A3D7-B9A2B56D24E9@major-k.de> Bonjour Paul, > There is a way to do a script that may add or delete your app to > Mac "Login > Items" (to auto run your app at Mac startup)? > > I know that you could read/write the loginwindow.plist, but there > is a more > simple way? I don't like to adopt and study complex XML libraries > only for > this target. very quick guess (not tested, but worth a try :-): Maybe one could create an alias to the app in the folder "Startupitems"? -> Bootvolume/Library/Startupitems/ > Greetings > > Paul Claude Regards Klaus Major klaus at major-k.de http://www.major-k.de From sims at ezpzapps.com Mon Mar 13 09:43:40 2006 From: sims at ezpzapps.com (sims) Date: Mon, 13 Mar 2006 15:43:40 +0100 Subject: Add your app to login items (Mac) In-Reply-To: References: Message-ID: At 3:23 PM +0100 3/13/06, Paul Claude wrote: >There is a way to do a script that may add or delete your app to Mac "Login >Items" (to auto run your app at Mac startup)? > >I know that you could read/write the loginwindow.plist, but there is a more >simple way? I don't like to adopt and study complex XML libraries only for >this target. Applescript (watch the word wrap so you get the path right): tell application "System Events" get exists login item "MyCoolProgram" if result is false then make new login item at end of login items with properties {path:"/Applications/MyCoolProgram.app", hidden:true, kind:application, name:"MyCoolProgram"} end if end tell ciao, sims European Rev Conference 2006 www.techietours.com From wlists at fireworksmm.com Mon Mar 13 10:03:10 2006 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Mon, 13 Mar 2006 10:03:10 -0500 Subject: .xxx files In-Reply-To: References: <26b224d6c449174c3c47de6030a30a67@wanadoo.fr> Message-ID: <9D97E52A-A06C-40CC-A2D0-4C2542347F71@fireworksmm.com> Here you go. http://www.macosxhints.com/article.php?story=20051121091532444 have not tested these, but just trying to help... W. On Mar 12, 2006, at 4:20 PM, Wally Rodriguez wrote: > I remember seeing a setting somewhere that turns off the copying of > resource forks for drives that are not HFS+ > > Maybe a look at www.macosxhints.com might have some info on this. > Can't do it myself right now... > > w. > > On Mar 10, 2006, at 6:03 AM, Francis Nugent Dixon wrote: > >> Hi Robert, >> >> Sigh ! Well I suppose that is an obvious solution >> that I hadn't even thought about. >> >> And it represents no more than five minutes of >> scripting time ! >> >> Back to the drawing board ........ ! >> >> Thanks >> >> -Francis >> >> >>> I more or less guessed what the files were. My problem >>> is not what they are for, but HOW TO STOP THEM FROM >>> BEING COPIED, when I move from Mac to PC. Simply >>> because they are a PAIN ! Sometimes I copy folders with 200 >>> or 300 files from my Mac to my PC, and I can tell you, ignoring >>> these .xxx files is not as easy as it looks ! >>> >>> -Francis >> >> A job for a nifty Rev plugin (or just a function) that zaps those >> files into oblivion given a folder path? >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From paulclaude at postino.it Mon Mar 13 10:18:11 2006 From: paulclaude at postino.it (Paul Claude) Date: Mon, 13 Mar 2006 16:18:11 +0100 Subject: Add your app to login items (Mac) In-Reply-To: <495A8117-DD22-4553-A3D7-B9A2B56D24E9@major-k.de> Message-ID: Thanks Klaus, I had thought about to this possibility, but I believed there was a way in order to work directly with "login items"... I must also check if creating an alias (or deleting it) in the startupItems folder needs an authentication. on 13-03-2006 15:40, Klaus Major at klaus at major-k.de wrote: > very quick guess (not tested, but worth a try :-): > Maybe one could create an alias to the app in the folder "Startupitems"? > -> Bootvolume/Library/Startupitems/ From sims at ezpzapps.com Mon Mar 13 10:19:00 2006 From: sims at ezpzapps.com (sims) Date: Mon, 13 Mar 2006 16:19:00 +0100 Subject: Add your app to login items (Mac) In-Reply-To: References: Message-ID: At 4:18 PM +0100 3/13/06, Paul Claude wrote: >I had thought about to this possibility, but I believed there was a way in >order to work directly with "login items"... > >I must also check if creating an alias (or deleting it) in the startupItems >folder needs an authentication. The applescript I sent to the list was tested and works fine here...just ran it, checked login items, rebooted and all worked fine. ciao, sims European Rev Conference 2006 www.techietours.com From paulclaude at postino.it Mon Mar 13 10:24:13 2006 From: paulclaude at postino.it (Paul Claude) Date: Mon, 13 Mar 2006 16:24:13 +0100 Subject: Add your app to login items (Mac) In-Reply-To: Message-ID: Ciao Sims, Thank you very much, I will test ASAP this Applescript. Greetings Paul Claude on 13-03-2006 15:43, sims at sims at ezpzapps.com wrote: > tell application "System Events" > get exists login item "MyCoolProgram" > if result is false then > make new login item at end of login items with > properties {path:"/Applications/MyCoolProgram.app", hidden:true, > kind:application, name:"MyCoolProgram"} > end if > end tell From klaus at major-k.de Mon Mar 13 10:25:35 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 13 Mar 2006 16:25:35 +0100 Subject: Add your app to login items (Mac) In-Reply-To: References: Message-ID: <6A143930-4ABF-4E4F-8D03-0BE552793A27@major-k.de> Hi sims, > At 3:23 PM +0100 3/13/06, Paul Claude wrote: >> There is a way to do a script that may add or delete your app to >> Mac "Login >> Items" (to auto run your app at Mac startup)? >> >> I know that you could read/write the loginwindow.plist, but there >> is a more >> simple way? I don't like to adopt and study complex XML libraries >> only for >> this target. > > Applescript (watch the word wrap so you get the path right): > > tell application "System Events" > get exists login item "MyCoolProgram" > if result is false then > make new login item at end of login items with properties {path:"/ > Applications/MyCoolProgram.app", hidden:true, kind:application, > name:"MyCoolProgram"} > end if > end tell very cool, sims :-) Went straight into my archieves! > ciao, > sims > > European Rev Conference 2006 > www.techietours.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From ccondit at geo.umass.edu Mon Mar 13 10:56:07 2006 From: ccondit at geo.umass.edu (Chris Condit) Date: Mon, 13 Mar 2006 10:56:07 -0500 Subject: Rev on Intel iMacs Message-ID: I used a couple of stand-alones on an iMac last week. They are both a big (20 to 29 meg programs that you can download from http://ddm.geo.umass.edu/ddm-svf/ and http://ddm.geo.umass.edu/ddm-ne) that essentially manage the integrated display of maps, images, field guides and analytical data. The programs ran smoothly and were very responsive under Rosetta - no problems there. Incidentally, has any one else had trouble with zooming into and out of QuickTime panoramas using 2.7.1? Chrsi -- Dr. Christopher D. Condit, Associate Prof., Dept. of Geosciences Univ. Massachusetts, 611 North Pleasant St., Amherst, MA, 01003-9297 ccondit at geo.umass.edu 413-545-0272 My Web Page: http://www.geo.umass.edu/faculty/condit.htm Revolution Dynamic Digital Maps: http://ddm.geo.umass.edu From jerry at daniels-mara.com Mon Mar 13 11:00:21 2006 From: jerry at daniels-mara.com (Jerry Daniels) Date: Mon, 13 Mar 2006 10:00:21 -0600 Subject: Making the move... In-Reply-To: References: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> <44147A21.8070107@hyperactivesw.com> Message-ID: <046B45DC-B0C9-46A9-B96B-A9952168ADDB@daniels-mara.com> Constellation doesn't use the Rev script editor menu. That function would make a good tool for the script editor toolbar, though. Best, Jerry Daniels -------------- next part -------------- Artists, Consultants & Developers http://www.daniels-mara.com/art http://www.daniels-mara.com/products http://www.daniels-mara.com Voice: 512.879.6286 Skype: jerry.daniels On Mar 12, 2006, at 2:14 PM, Stephen Barncard wrote: > Well, not while Constellation is active.... not there.. > >> Stephen Barncard wrote: >>> I have never seen the Edit menu "Copy as Formatted String". It is >>> not in 2.7. I just checked. >>> >>> Are you sure this isn't some kind of customization? >> >> It's only available when the script editor is open. > > -- > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revlist at azurevision.co.uk Mon Mar 13 11:31:46 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 13 Mar 2006 16:31:46 +0000 Subject: QTVRs (was: Rev on Intel iMacs) In-Reply-To: References: Message-ID: 2.7.1 !?! I just had a look at a QTVR file - zooming in and out was quite jerky, in fact the performance was appalling overall, frame rates must have been in single figures on a dual G5. On the other hand, simply showing a QTVR file is no longer using 100% of a processor... Ian On 13 Mar 2006, at 15:56, Chris Condit wrote: > Incidentally, has any one else had trouble with zooming into and > out of QuickTime panoramas using 2.7.1? > > Chrsi From sanke at hrz.uni-kassel.de Mon Mar 13 11:56:52 2006 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Mon, 13 Mar 2006 17:56:52 +0100 Subject: Turning imageData into alphaData (quickly)? Message-ID: <4415A454.5060505@hrz.uni-kassel.de> On Mon Mar 13, 2006, Ian Wood revlist at azurevision.co.uk wrote: > (snip) > A handler that goes through each RGB pixel and reduce it to a > grayscale value for use as alphaData was pretty easy, but for a > 200x200px image that's 40,000 repeats, and takes minutes on a G5. > > on maskStuff > put the seconds into tStart > put "" into tMaskData > put the imageData of img "mask" into tImgData > put number of chars of tImgData / 4 & return into fld "status" > lock screen > repeat with x = 1 to ((number of chars of tImgData) / 4) > if the mouse is down then exit to top > put charToNum(char (x*4)-2 of tImgData) into tR > put charToNum(char (x*4)-1 of tImgData) into tG > put charToNum(char (x*4) of tImgData) into tB > put the round of ((tR + tG + tB)/3) into tM > put numToChar(tM) after tMaskData > --put tM & return after fld "status" > end repeat > (snip) > Any ideas for a faster way? Cross-platform command-line tools? > > Ian Wood > Panoramic photography, from web to billboard, sunrise to moonrise > http://www.landmarksofbritain.co.uk Hi Ian, I modified your script to the solution below, i.e. I took the script of my "gray-scale" button of my ImageData Toolkit and adapted it to your needs. The script is for a 640 X 480 image, meaning that more than about one million of chars have to be processed (640 * 480 * 3) Running the script takes *one* second on my Windows XP computer (2 GHz): on mouseUp set the cursor to watch put the milliseconds into Start put the imageData of image 2 into iData put empty into tmaskdata put 2560 into re # i.e. 640 * 4 repeat with i = 0 to 479 repeat with j = 0 to 639 put chartonum(char (i*re + (j*4+2)) of idata) into tC1 put chartonum(char (i*re + (j*4+3)) of idata) into tC2 put chartonum(char (i*re + (j*4+4)) of idata) into tC3 put the round of ((tc1 + tc2 + tc3)/3) into tM put numToChar(tM) after tMaskData end repeat end repeat put the milliseconds - Start into fld "test" end mouseUp Best regards, Wilhelm Sanke From lists at mangomultimedia.com Mon Mar 13 12:13:47 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 13 Mar 2006 09:13:47 -0800 Subject: QTVRs (was: Rev on Intel iMacs) In-Reply-To: References: Message-ID: <911CAD9B-D872-4A30-BD82-E87B839750FC@mangomultimedia.com> On Mar 13, 2006, at 8:31 AM, Ian Wood wrote: > 2.7.1 !?! > > I just had a look at a QTVR file - zooming in and out was quite > jerky, in fact the performance was appalling overall, frame rates > must have been in single figures on a dual G5. On the other hand, > simply showing a QTVR file is no longer using 100% of a processor... This is a result of the Rev transition to the newer QuickTime APIs that report how often an application needs to idle QuickTime movies. How often you idle a QTVR determines how smooth the playback is. It should be fixed in the 2.7.1 release but for the time being you can reduce the idleRate property to something like 10 and see really smooth playback. -- Trevor DeVore Blue Mango Learning Systems - http://www.bluemangolearning.com trevor at bluemangolearning.com From chipp at chipp.com Mon Mar 13 12:52:15 2006 From: chipp at chipp.com (Chipp Walters) Date: Mon, 13 Mar 2006 11:52:15 -0600 Subject: Turning imageData into alphaData (quickly)? In-Reply-To: References: <2C26FAC1-3B43-4E65-B5E6-CFE809FF619E@azurevision.co.uk> Message-ID: <4415B14F.3090405@chipp.com> I'd get rid of as much math as you can in the repeat loops. Precalculate your loop vars. But, I think you're pretty much stuck for now with the solution you have. We're working on an image external toolset which does this and much more. But it's not yet ready for primetime ;-) best, Chipp sims wrote: > Also, I think Chipp has done some work along those lines. From kray at sonsothunder.com Mon Mar 13 13:18:38 2006 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 13 Mar 2006 12:18:38 -0600 Subject: activate In-Reply-To: Message-ID: On 3/13/06 4:45 AM, "sims" wrote: > On Windows is there some way to do the same? Here's a VBS version. NOTE: Pass it the *title* of the window, not the path to the app... this is how Windows locates running apps. Watch for line wraps: on VBS_AppActivate pTitle put format("set WshShell = WScript.CreateObject(\"WScript.Shell\")") into tVBS put tVBS & cr & "WshShell.AppActivate" && quote & pTitle & quote into tVBS put "C:\vbs_temp.vbs" into tVBSPath put tVBS into url ("file:" & tVBSPath) set the hideConsoleWindows to true get shell("cscript.exe //nologo" && tVBSPath) put it into tResult if there is a file tVBSPath then send "delete file" && quote & tVBSPath & quote to me in 1 second end if if tResult <> "" then return "Error: " & tResult end VBS_AppActivate Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From josh at dvcreators.net Mon Mar 13 14:16:09 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 13 Mar 2006 11:16:09 -0800 Subject: Making the move... In-Reply-To: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> References: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> Message-ID: <5C835FFD-F0DD-4EF8-B65B-CB69526443C2@dvcreators.net> On Mar 10, 2006, at 7:45 AM, Mvreade wrote: > Hi, > > I've been playing with Revolution for a few days and am VERY > impressed with its capabilities and ease of use. > > I do however, have a few questions and reservations, which > hopefully you guys can answer. > > I found it a bit buggy (using a iBook G4, 1G of memory, on OSX > 10.4). The property inspector went blank a few times, the > application crashed once, the sample database query in the example > solutions was updating records, demo videos weren't displaying, to > mention a few. After 10 years of developing applications in Director and Filemaker, 5 years of Flash & LiveStage Pro, a couple years of PHP/MySQL and doing some thorough exploration and testing with RealBasic and Ruby on Rails I plan to (try to) create most every project in Revolution from here on out. Bottom line: The ability to switch tools and instantly run the app without any 'compiling' eliminates RealBasic, Java, C++ and many other options for me. The superior Quicktime performance, card paradigm and database implementation beats Director. The ease of coding with Constellation beats Flash Studio. The ease of integrating MySQL beats FileMaker. The interface consistency, speed and reliability beats Ruby on Rails. I have seen various descriptions of noobs like me as they travel those first few wobbly steps- the "aha" factor, etc. I think of as a kind of love/dismay relationship... Revolution in many ways is so powerful and fast to produce results it lives up to any hype you've heard. On the other hand the dev environment is buggy (for me anyway), some commands just don't work or work in clearly different ways than intended, sometimes I have to force quit (thanks for Constellation autosave) but the final standalone product is rock- solid- 3,000+ users of one app developed by Fourth World for us with zero problems or problems- that's right folks, ZERO! Director projects have always at best demonstrated scattered incompatibilities with certain OS/QT combos and sometimes severe performance problems. There is a 3rd party script editor called Constellation without which, in my opinion, Revolution is barely usable in a professional setting. For a small user base, there is excellent support available on this email list and on the websites of the major developers. I am currently (attempting to) develop a system utilizing a remote MySQL multiuser database (12 tables currently, will probably end up at 20) and I'm amazed at well it's going whenever I have time to devote to it. It's fast, reliable, solid and once you figure out what works, it works every time. I can now do in 10-15 minutes what it takes a Rails expert an hour or more to do- and that's with a "framework" app! I hope soon Rev gets Guy Kawasaki for Marketing VP and sells millions of copies and is able to subsidize the hero pioneers efforts who without which Rev would die a quick death, the Kens, Richards, Jerrys, Jans, and so on, and fix all the bugs and make the wish list come true... but until then, I will use it anyway! > > So the quesiton is, how good of an environment to work on is it? > > And how stable are the final applications? > > For users who have used Rev for databases, I was wondering what > it's like to develop a system with, say, 20 tables and lots or > relationships and methods? > > Where would one store all the methods? I am currently storing functions, scripts and even data in fields on a "data" card, it's great "seeing" your variables live! > > For relationships, would one just keep a VERYlong list of Database > Queries? > > Finally, does any one know if Runtime Revolution Ltd has any plans > to have a connection to an open source, embeddable database, such > as SQLite? > > Thanks for your help, > > Michael Reade > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jerry at daniels-mara.com Mon Mar 13 14:24:43 2006 From: jerry at daniels-mara.com (Jerry Daniels) Date: Mon, 13 Mar 2006 13:24:43 -0600 Subject: Making the move... In-Reply-To: <5C835FFD-F0DD-4EF8-B65B-CB69526443C2@dvcreators.net> References: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> <5C835FFD-F0DD-4EF8-B65B-CB69526443C2@dvcreators.net> Message-ID: On Mar 13, 2006, at 1:16 PM, Josh Mellicker wrote: > There is a 3rd party script editor called Constellation without > which, in my opinion, Revolution is barely usable in a professional > setting. That is one heckuva quote. Thanks, Josh. Best, Jerry Daniels 5 Reasons 12 Top Rev Developers Use to Constellation! http://daniels-mara.com/products/5reasons.htm Voice: 512.879.6286 Skype: jerry.daniels From sims at ezpzapps.com Mon Mar 13 14:28:51 2006 From: sims at ezpzapps.com (sims) Date: Mon, 13 Mar 2006 20:28:51 +0100 Subject: activate In-Reply-To: References: Message-ID: At 12:18 PM -0600 3/13/06, Ken Ray wrote: >On 3/13/06 4:45 AM, "sims" wrote: > >> On Windows is there some way to do the same? > >Here's a VBS version. NOTE: Pass it the *title* of the window, not the path >to the app... this is how Windows locates running apps. Thanks a bunch Ken! ciao, sims European Rev Conference 2006 www.techietours.com From revolutionary.dan at gmail.com Mon Mar 13 15:09:01 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Mon, 13 Mar 2006 12:09:01 -0800 Subject: The templateField Keyword In-Reply-To: <6CDF6CC4-C235-4BDA-B22A-12A7B53400D7@videotron.ca> References: <20060313094845.AE8C1825223@mail.runrev.com> <6CDF6CC4-C235-4BDA-B22A-12A7B53400D7@videotron.ca> Message-ID: <70ed6b130603131209u1ca7bcbbp1581935e38eca06@mail.gmail.com> Gregory..... Yep and you'll find that creating one or more libraries of scripts that you can use with "start using" will be another great productivity gain in Rev. On 3/13/06, Gregory Lypny wrote: > > Thanks once again, Dan, Dave, and Jacqueline. I think I get it. > When all is said and done, it seems that for development it's easier > and faster to create a little stack of fields and other things with > the features I want and simply copy and paste them into the project > I'm working on. > > Gregory > > On Mon, Mar 13, 2006, at 4:48 AM, Dave Cragg wrote: > > > On 13 Mar 2006, at 00:03, Gregory Lypny wrote: > >> > >> What you say below is not how I expect templateField to work based > >> on its description. I thought that setting the templateField was a > >> one-time thing and that it remained in effect until it was reset. > >> Your handler based on the createField message would seem to make > >> templateField unnecessary because you're changing the style of > >> newly created fields using a script after they've been created, > >> whereas the point of templateField is to set those properties > >> before. Am I misunderstanding what you've intended? > > > > > > I think Dan's reply clears it up. There's no need to reset the > > templateField, although I learned it was a "good idea" back when I > > started with Metacard, and so have followed that advice like a good > > boy. ;-) I think the idea is that by immediately resetting the > > templatexxxxx, you don't leave any surprises around for the next time > > you create an object. But if you're solely in charge of what gets > > created, then I guess it doesn't matter. > > > > The main point I wanted to make was that you should use "create > > field" in your own script to get a field that follows the template > > settings you have made. I don't think you can rely on the tool > > palette in the IDE to respect the settings you have made. I say this > > without knowing how the tool palette creates objects; I was just > > assuming it was likely to set the templateField itself before doing > > so. I also wasn't sure what the palette does after it has created an > > object, but Dan's reply suggests it sets back to the state it was in > > before. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From pevensen at siboneylg.com Mon Mar 13 15:46:54 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 13 Mar 2006 14:46:54 -0600 Subject: Thousands Separator on OSX In-Reply-To: <36B4BF48-B5F1-42A1-AEF8-027DBE6A5309@upnaway.com> References: <36B4BF48-B5F1-42A1-AEF8-027DBE6A5309@upnaway.com> Message-ID: <6.2.1.2.2.20060313144629.052ab798@exchange.slg.com> To me it seems the Rev engine should give one access to this setting... Has someone BZed it? At 07:24 PM 3/10/2006, you wrote: >My brain is hurting try to get the current thousands separator on a >Mac OS. > > >I have tried > put replaceText(shell("defaults read NSGlobalDomain >NSThousandsSeparator"),"(\s|\(|\))","") into gThousandsSeparator > >but nothing. > >OS X 10.4.5 > >Any help much appreciated. > > >Steve Flavel > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From revlist at azurevision.co.uk Mon Mar 13 15:51:50 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 13 Mar 2006 20:51:50 +0000 Subject: Turning imageData into alphaData (quickly)? In-Reply-To: <4415A454.5060505@hrz.uni-kassel.de> References: <4415A454.5060505@hrz.uni-kassel.de> Message-ID: <717E91CD-BF68-4904-AA76-D3C903CF4194@azurevision.co.uk> On 13 Mar 2006, at 16:56, Wilhelm Sanke wrote: > Hi Ian, > > I modified your script to the solution below, i.e. I took the > script of my "gray-scale" button of my ImageData Toolkit and > adapted it to your needs. > The script is for a 640 X 480 image, meaning that more than about > one million of chars have to be processed (640 * 480 * 3) > Running the script takes *one* second on my Windows XP computer (2 > GHz): > > on mouseUp > set the cursor to watch > put the milliseconds into Start > put the imageData of image 2 into iData > put empty into tmaskdata > put 2560 into re # i.e. 640 * 4 > repeat with i = 0 to 479 > repeat with j = 0 to 639 > put chartonum(char (i*re + (j*4+2)) of idata) into tC1 > put chartonum(char (i*re + (j*4+3)) of idata) into tC2 > put chartonum(char (i*re + (j*4+4)) of idata) into tC3 > put the round of ((tc1 + tc2 + tc3)/3) into tM > put numToChar(tM) after tMaskData > end repeat > end repeat > put the milliseconds - Start into fld "test" > end mouseUp > > Best regards, > > Wilhelm Sanke > > Wow! The 200x200 image processed in 200ms. And making a universal version to work with any image dimensions is trivial, just change a few lines and make it a function, just pass the name of the img - or to be safer, edit to make it run off the long ID... function makeMask tMaskImg set the cursor to watch put width of tMaskImg into tW put height of tMaskImg into tH put the milliseconds into Start put the imageData of tMaskImg into iData put empty into tmaskdata put tW * 4 into re repeat with i = 0 to (tH - 1) repeat with j = 0 to (tW - 1) put chartonum(char (i*re + (j*4+2)) of idata) into tC1 put chartonum(char (i*re + (j*4+3)) of idata) into tC2 put chartonum(char (i*re + (j*4+4)) of idata) into tC3 put the round of ((tc1 + tc2 + tc3)/3) into tM put numToChar(tM) after tMaskData end repeat end repeat return tMaskData end makeMask Thanks a lot, Ian From garrett at paraboliclogic.com Mon Mar 13 16:07:57 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Mon, 13 Mar 2006 13:07:57 -0800 Subject: Would this be a situation for a Front Script? In-Reply-To: <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> References: <4414D4D0.6050900@paraboliclogic.com> <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> Message-ID: <4415DF2D.40303@paraboliclogic.com> Rev 2.6.1 Greetings, I have about 200 objects on a card, and I want to have mouseEnter and mouseLeave handlers for all of them, but instead of writing code for each one, would it be better to just use a front script to intercept these events? All of them will do the same thing, which is change the color of the background of each object on enter and then change it back on leaving. I have the objects named individually like this "box1" all the way through "box200". So determining which object fired the event is not an issue. But I don't have any experience with front scripts, so I don't know if this would be a situation where a front script would be of benefit or not. If so, can someone point me to a tutorial on front scripts? Thanks, -Garrett From cmsheffield at gmail.com Mon Mar 13 16:12:06 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon, 13 Mar 2006 14:12:06 -0700 Subject: Would this be a situation for a Front Script? In-Reply-To: <4415DF2D.40303@paraboliclogic.com> References: <4414D4D0.6050900@paraboliclogic.com> <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> <4415DF2D.40303@paraboliclogic.com> Message-ID: <0F67F635-E5EA-4567-B7DE-69B59FF68489@gmail.com> Hi Garrett, Just use a group. Group all your fields together, then place your handlers in the group's script. You can use "the target" if necessary to determine which fields the script should refer to. No need for a front script. Chris On Mar 13, 2006, at 2:07 PM, Garrett Hylltun wrote: > Rev 2.6.1 > > Greetings, > > > I have about 200 objects on a card, and I want to have mouseEnter > and mouseLeave handlers for all of them, but instead of writing > code for each one, would it be better to just use a front script to > intercept these events? > > All of them will do the same thing, which is change the color of > the background of each object on enter and then change it back on > leaving. I have the objects named individually like this "box1" all > the way through "box200". So determining which object fired the > event is not an issue. > > But I don't have any experience with front scripts, so I don't know > if this would be a situation where a front script would be of > benefit or not. If so, can someone point me to a tutorial on front > scripts? > > Thanks, > -Garrett > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From dcragg at lacscentre.co.uk Mon Mar 13 16:22:00 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 13 Mar 2006 21:22:00 +0000 Subject: Would this be a situation for a Front Script? In-Reply-To: <4415DF2D.40303@paraboliclogic.com> References: <4414D4D0.6050900@paraboliclogic.com> <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> <4415DF2D.40303@paraboliclogic.com> Message-ID: <6148617B-6584-4CA4-BF6F-1074035F7D62@lacscentre.co.uk> On 13 Mar 2006, at 21:07, Garrett Hylltun wrote: > > I have about 200 objects on a card, and I want to have mouseEnter > and mouseLeave handlers for all of them, but instead of writing > code for each one, would it be better to just use a front script to > intercept these events? Instead of a front script, handlers in the card script would probably be easier. This takes advantage of the Rev message hierarchy. If the mouseEnter and mouseLeave messages aren't handled in the objects themselves, the messages pass on to the card. > > All of them will do the same thing, which is change the color of > the background of each object on enter and then change it back on > leaving. I have the objects named individually like this "box1" all > the way through "box200". So determining which object fired the > event is not an issue. Small suggestion, although perhaps not so important in this case. When you have many items named basically the same but appended with a number, I find it more useful to make the names into two words. For example, "box 1", "box 2", "box 115", etc. Then it's easy to get the numbered part by using "word 2 of the short name of whatever". The handlers in this case might look like this: ## in card script on mouseEnter if word 1 of the short name of the target is "box" then set the backcolor of the target to end if end mouseEnter on mouseLeave if word 1 of the short name of the target is "box" then set the backcolor of the target to end if end mouseLeave Cheers Dave From cmsheffield at gmail.com Mon Mar 13 16:42:52 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon, 13 Mar 2006 14:42:52 -0700 Subject: filter question Message-ID: I'm trying to apply a filter to a list field. The columns of the field are tab delimited. I have a separate "filter" field that allows the user to apply a filter to the list based on whichever column is the current sort column. I can get the filter to work fine so long as the first column is selected, but anything else does not work. How can I apply a filter to a list based on say item 3 of each line of that list? Is that possible? Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From garrett at paraboliclogic.com Mon Mar 13 16:49:23 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Mon, 13 Mar 2006 13:49:23 -0800 Subject: How to use checkbox in Rev? In-Reply-To: <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> References: <4414D4D0.6050900@paraboliclogic.com> <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> Message-ID: <4415E8E3.4020101@paraboliclogic.com> Rev 2.6.1 Greetings, I must be missing something... I can't find any info on how to use the check box. How do I determine if the box is checked and not checked? And how would I set the check mark of it from within my own code? Thanks, -Garrett From stephenREVOLUTION at barncard.com Mon Mar 13 16:51:07 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 13 Mar 2006 13:51:07 -0800 Subject: How to use checkbox in Rev? In-Reply-To: <4415E8E3.4020101@paraboliclogic.com> References: <4414D4D0.6050900@paraboliclogic.com> <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> <4415E8E3.4020101@paraboliclogic.com> Message-ID: the hilite of btn x >Rev 2.6.1 > >Greetings, > >I must be missing something... I can't find any info on how to use >the check box. How do I determine if the box is checked and not >checked? And how would I set the check mark of it from within my own >code? > >Thanks, >-Garrett >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From garrett at paraboliclogic.com Mon Mar 13 17:17:38 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Mon, 13 Mar 2006 14:17:38 -0800 Subject: How to use checkbox in Rev? In-Reply-To: References: <4414D4D0.6050900@paraboliclogic.com> <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> <4415E8E3.4020101@paraboliclogic.com> Message-ID: <4415EF82.4020107@paraboliclogic.com> Stephen Barncard wrote: > the hilite of btn x > >> Rev 2.6.1 >> >> Greetings, >> >> I must be missing something... I can't find any info on how to use the Thanks! :-) -Garrett From garrett at paraboliclogic.com Mon Mar 13 17:18:17 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Mon, 13 Mar 2006 14:18:17 -0800 Subject: Would this be a situation for a Front Script? In-Reply-To: <6148617B-6584-4CA4-BF6F-1074035F7D62@lacscentre.co.uk> References: <4414D4D0.6050900@paraboliclogic.com> <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> <4415DF2D.40303@paraboliclogic.com> <6148617B-6584-4CA4-BF6F-1074035F7D62@lacscentre.co.uk> Message-ID: <4415EFA9.10301@paraboliclogic.com> Dave Cragg wrote: > > On 13 Mar 2006, at 21:07, Garrett Hylltun wrote: >> >> I have about 200 objects on a card, and I want to have mouseEnter and >> mouseLeave handlers for all of them, but instead of writing code for >> each one, would it be better to just use a front script to intercept >> these events? > > Instead of a front script, handlers in the card script would probably be Thanks Dave, and Chris too. :-) -Garrett From davis.phil at comcast.net Mon Mar 13 17:33:21 2006 From: davis.phil at comcast.net (Phil Davis) Date: Mon, 13 Mar 2006 14:33:21 -0800 Subject: filter question In-Reply-To: References: Message-ID: <4415F331.7030204@comcast.net> Hi Chris, To filter on column 3, are you using something like this? put fld "list" into tList filter tList \ with "*" & tab & "*" & tab & fld "filter" & tab & "*" put tList into fld "list" If so, it seems like that should work. Phil Davis Chris Sheffield wrote: > I'm trying to apply a filter to a list field. The columns of the field > are tab delimited. I have a separate "filter" field that allows the > user to apply a filter to the list based on whichever column is the > current sort column. I can get the filter to work fine so long as the > first column is selected, but anything else does not work. > > How can I apply a filter to a list based on say item 3 of each line of > that list? Is that possible? > > Thanks, > Chris > > > ------------------------------------------ > Chris Sheffield > Read Naturally > The Fluency Company > http://www.readnaturally.com > ------------------------------------------ From sarah.reichelt at gmail.com Mon Mar 13 19:08:01 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 14 Mar 2006 10:08:01 +1000 Subject: filter question In-Reply-To: <4415F331.7030204@comcast.net> References: <4415F331.7030204@comcast.net> Message-ID: It might be faster to filter the list simply to reduce it to lines that contain the filter string anywhere, and then do a loop to check if the filter string is in the correct item. -- gather the original data and the required settings put fld "List" into tList put fld "Filter into Filter put 3 into tItemNum -- do the first filter to reduce the list filter tList with "*" & tFilter & "*" -- loop through making sure it appears in the right item put empty into tMatches repeat for each line L in tList if item tItemNum of L contains tFilter then put L & cr after tMatches end repeat -- remove the trailing cr delete last char of tMatches -- display the matching results put tMatches into fld "Results" Cheers. Sarah On 3/14/06, Phil Davis wrote: > Hi Chris, > > To filter on column 3, are you using something like this? > > put fld "list" into tList > filter tList \ > with "*" & tab & "*" & tab & fld "filter" & tab & "*" > put tList into fld "list" > > If so, it seems like that should work. > > Phil Davis > > > Chris Sheffield wrote: > > I'm trying to apply a filter to a list field. The columns of the field > > are tab delimited. I have a separate "filter" field that allows the > > user to apply a filter to the list based on whichever column is the > > current sort column. I can get the filter to work fine so long as the > > first column is selected, but anything else does not work. > > > > How can I apply a filter to a list based on say item 3 of each line of > > that list? Is that possible? > > > > Thanks, > > Chris > > > > > > ------------------------------------------ > > Chris Sheffield > > Read Naturally > > The Fluency Company > > http://www.readnaturally.com > > ------------------------------------------ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Mon Mar 13 20:35:34 2006 From: chipp at chipp.com (Chipp Walters) Date: Mon, 13 Mar 2006 19:35:34 -0600 Subject: filter question In-Reply-To: References: Message-ID: <44161DE6.4080005@chipp.com> sort lines of field tFldName numeric by item 3 of each Chris Sheffield wrote: > I'm trying to apply a filter to a list field. The columns of the field > are tab delimited. I have a separate "filter" field that allows the > user to apply a filter to the list based on whichever column is the > current sort column. I can get the filter to work fine so long as the > first column is selected, but anything else does not work. From yvescoppe at skynet.be Tue Mar 14 01:36:01 2006 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 14 Mar 2006 07:36:01 +0100 Subject: Move stack problem Message-ID: <35B5C1E7-3285-4806-85FA-54AF23BB3648@skynet.be> Hi list On MAC OS X Tiger 10.4.5 with rev 2.7 I've made a stack, one only, no substack and set the windowshape of this stack to an img. OK BUT I cannot move the stack. It appears on the screen and I cannot move this window to put it on another place of the screen. I've tried to grab the stack with the mouse every possible point of the window : it doesn't move ! Any idea how i can proceed ? Thank you. Greetings. Yves COPPE yvescoppe at skynet.be From sarah.reichelt at gmail.com Tue Mar 14 01:47:58 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 14 Mar 2006 16:47:58 +1000 Subject: Move stack problem In-Reply-To: <35B5C1E7-3285-4806-85FA-54AF23BB3648@skynet.be> References: <35B5C1E7-3285-4806-85FA-54AF23BB3648@skynet.be> Message-ID: > On MAC OS X Tiger 10.4.5 with rev 2.7 > > I've made a stack, one only, no substack and set the windowshape of > this stack to an img. > > OK > > BUT > > I cannot move the stack. It appears on the screen and I cannot move > this window to put it on another place of the screen. I've tried to > grab the stack with the mouse every possible point of the window : it > doesn't move ! > Check out Klaus's Christmas tree stack . When you use a window shape, you loose the title bar which is normally used for moving. You also lose the close button, so both these functions need to be allowed for in another way. Have a look at the scripts in Klaus's stack and you'll see how this can be done. Cheers, Sarah From yvescoppe at skynet.be Tue Mar 14 01:49:11 2006 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 14 Mar 2006 07:49:11 +0100 Subject: Move stack problem In-Reply-To: References: <35B5C1E7-3285-4806-85FA-54AF23BB3648@skynet.be> Message-ID: <3DDDF287-8AD6-49C3-AF69-64B84D4F5E59@skynet.be> Le 14 mars 06 ? 07:47, Sarah Reichelt a ?crit : > > Check out Klaus's Christmas tree stack > . > > When you use a window shape, you loose the title bar which is normally > used for moving. You also lose the close button, so both these > functions need to be allowed for in another way. Have a look at the > scripts in Klaus's stack and you'll see how this can be done. > > Cheers, > Sarah Thank you Sarah. it's just the answer to my question. Greetings. Yves COPPE yvescoppe at skynet.be From chipp at chipp.com Tue Mar 14 01:44:53 2006 From: chipp at chipp.com (Chipp Walters) Date: Tue, 14 Mar 2006 00:44:53 -0600 Subject: [OT] RevCentral Newsletter #7 [ANN] RevConWest is ALIVE!!! Message-ID: <44166665.4070306@chipp.com> Hey gang, Once again, another issue of RevCentral Newsletter is making the rounds. If haven't already seen it in your InBox, then you can subscribe (free) at: http://www.altuit.com/webs/revCentral/revCentralHome/default.htm This issue has all the news about RevConWest from Dan. Hope you take time to check it out! If you're not subscribed, you can view the newsletter at: http://www.altuit.com/webs/revCentral/Number7/default.htm -Chipp From chipp at chipp.com Tue Mar 14 01:47:53 2006 From: chipp at chipp.com (Chipp Walters) Date: Tue, 14 Mar 2006 00:47:53 -0600 Subject: [ANN] altSQLite ships Linux Version and more... Message-ID: <44166719.6080905@chipp.com> You altSQLite users are in for a treat. The new Linux version is out and it's a FREE upgrade to existing altSQLite3 users! Check out the altSQLite website for details: http://www.altuit.com/webs/altuit2/altSQLiteCover/default.htm Also, there's a new version of the Demo/Installer which installs the connector and QueryBuilder files correctly on Rev 2.7. Plus, Mac users now get a free update to altSQLite3 which fixes a few obscure bugs, and updates the SQLite version so it's more compatible with other open source SQLite products. Enjoy, Chipp From effendi at wanadoo.fr Tue Mar 14 04:47:59 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 14 Mar 2006 10:47:59 +0100 Subject: Multi-Platform ? Message-ID: Hi from Paris, After buying DreamCard just a few months ago, (just before they discontinued the product !), I was amazed at the speed at which I could convert my Hypercard Stacks to DreamCard. It was a pleasure to discover the 1001 useful improvements. My stacks were up and running on the Mac within days, and I can honestly say that some of my scripts are pretty hefty. I spent more than ten years with HyperCard, developing my own little world, and I now WANT it in DreamCard. Of course, I had the classical problems of trying to find what DreamCard function replaced the XFCN and XCMD goodies from Rinaldi & Co., but it was fun, and it forced me to read the documentation ! Then I started to move my stacks to the PC, running under the Oh so impermeable "Stack Runner", and then .... the glitter wore off somewhat. Result : Some functions DON'T, some button scripts DON'T, some fields have the wrong fonts , or the wrong font size or fontheight, etc. And of course, on the PC I see absolutely nothing about what is wrong. So I go from Mac to PC, painstakingly adding : answer "So far - so good !" commands to my scripts, and displaying intermediate results in new fields on my cards, to see what I was doing wrong - because obviously, I was doing SOMETHING wrong ! As an example, It took me a week to find the incorrect use of the "not equal" sign on the PC (OK, so it WAS noted in the doc, and it WAS my fault !) I have finally come to the conclusion that the only mistake I made was NOT to have bought the PC version of DreamCard at the same time ! Unfortunately - now it's too late ! I learned a lot in the last month, and have come up with 3 decisions and 2 questions. Decision 1 - I love DreamCard - it's GREAT ! Decision 2 - I don't want to pay ?199 (or more) Decision 3 - I don't want version 2.7 Question 1 - Having bought DreamCard on one platform, why can't we have the option to buy the other (PC) platform development DreamCard (at some cut-price rate), to iron out the platform problems ? Question 2 - Is there ANY way I can legally buy DreamCard 2.6.1 for PC (from anybody !), so I can get my stacks up and running on my PC with no sweat ? This is a call to anybody who bought DreamCard 2.6.1 for PC, and has decided not to use it any more ! - Francis From revlist at azurevision.co.uk Tue Mar 14 06:34:20 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 14 Mar 2006 11:34:20 +0000 Subject: QTVRs (was: Rev on Intel iMacs) In-Reply-To: <911CAD9B-D872-4A30-BD82-E87B839750FC@mangomultimedia.com> References: <911CAD9B-D872-4A30-BD82-E87B839750FC@mangomultimedia.com> Message-ID: On 13 Mar 2006, at 17:13, Trevor DeVore wrote: > On Mar 13, 2006, at 8:31 AM, Ian Wood wrote: > >> 2.7.1 !?! >> >> I just had a look at a QTVR file - zooming in and out was quite >> jerky, in fact the performance was appalling overall, frame rates >> must have been in single figures on a dual G5. On the other hand, >> simply showing a QTVR file is no longer using 100% of a processor... > > This is a result of the Rev transition to the newer QuickTime APIs > that report how often an application needs to idle QuickTime > movies. How often you idle a QTVR determines how smooth the > playback is. It should be fixed in the 2.7.1 release but for the > time being you can reduce the idleRate property to something like > 10 and see really smooth playback. Bingo! Thanks Trevor. Although I did notice some odd effects with resting CPU-usage with different idleRates: 16 or lower - 90-100% 17 - 4-8% 18-19 - 9-12% 20 - 30% over 20 it ramps down again From chris at carroll-davis.co.uk Tue Mar 14 07:35:36 2006 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Tue, 14 Mar 2006 12:35:36 +0000 Subject: Render Images Message-ID: <8FC44EE1-9B7C-4E76-8311-CA45CE65B2A0@carroll-davis.co.uk> Hello all - I've been away for a few months and lo! when I get back to Rev (just when I thought I was starting to get the hang of it) they go and release a new version... :-) A question: the release blurb for 2.7 says: "Render an image from any object on-screen, preserving the alpha channel, then transform and save." Now this seems to be exactly what I need!... I would like to convert some formatted text (i.e. a field) to a PNG file with transparency. Can I do this in 2.7? Can't find reference to this in docs. I can achieve a similar effect by exporting (via snapshot) text on a white background then displaying resulting image using the "multiply" or "screen" inks (which are brilliant, btw) but that limits my options for colours in text. Any ideas??? Regards, Chris From revlist at azurevision.co.uk Tue Mar 14 08:09:26 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 14 Mar 2006 13:09:26 +0000 Subject: Render Images In-Reply-To: <8FC44EE1-9B7C-4E76-8311-CA45CE65B2A0@carroll-davis.co.uk> References: <8FC44EE1-9B7C-4E76-8311-CA45CE65B2A0@carroll-davis.co.uk> Message-ID: On 14 Mar 2006, at 12:35, Chris Carroll-Davis wrote: > A question: the release blurb for 2.7 says: "Render an image from > any object on-screen, preserving the alpha channel, then transform > and save." Now this seems to be exactly what I need!... I would > like to convert some formatted text (i.e. a field) to a PNG file > with transparency. Can I do this in 2.7? Can't find reference to > this in docs. import snapshot from fld "test" or export snapshot from fld "test" to file "test.png" as PNG Having made sure that the opaque of the field is set to false first so that there is actually some transparency to capture. This is VERY powerful as it takes the info from the object directly - it doesn't matter if there are other objects on top. A dream come true for some of my apps... > I can achieve a similar effect by exporting (via snapshot) text on > a white background then displaying resulting image using the > "multiply" or "screen" inks (which are brilliant, btw) but that > limits my options for colours in text. If you just want to show text over other colours you can use a regular text field with the opaque set to false - no limitations on colours, and works in older versions of Rev. Ian From chris at carroll-davis.co.uk Tue Mar 14 08:43:42 2006 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Tue, 14 Mar 2006 13:43:42 +0000 Subject: Render Images In-Reply-To: References: <8FC44EE1-9B7C-4E76-8311-CA45CE65B2A0@carroll-davis.co.uk> Message-ID: <5DFC84FD-5DBC-4678-A796-996009B267CB@carroll-davis.co.uk> Ian - Thanks so much - that's perfect! I am writing a multimedia app that needs to display text in many, many languages. Whilst Unicode goes a long to help, it is not a panacea - e.g. can you display Cambodian and Thai on your machine? I'm writing a utility that means that as long as our translators can correctly see the text (as text) on their machine we can export the text as a graphic to display correctly within the app on anyone's machine. By the way - where did you find this syntax? Is there a document I'm missing? I checked through the Rev docs and User guide pdf but couldn't find any reference to it... Thanks again! Chris On 14 Mar 2006, at 13:09, Ian Wood wrote: > > On 14 Mar 2006, at 12:35, Chris Carroll-Davis wrote: > >> A question: the release blurb for 2.7 says: "Render an image from >> any object on-screen, preserving the alpha channel, then transform >> and save." Now this seems to be exactly what I need!... I would >> like to convert some formatted text (i.e. a field) to a PNG file >> with transparency. Can I do this in 2.7? Can't find reference to >> this in docs. > > import snapshot from fld "test" > or > export snapshot from fld "test" to file "test.png" as PNG > > Having made sure that the opaque of the field is set to false first > so that there is actually some transparency to capture. This is > VERY powerful as it takes the info from the object directly - it > doesn't matter if there are other objects on top. A dream come true > for some of my apps... > >> I can achieve a similar effect by exporting (via snapshot) text on >> a white background then displaying resulting image using the >> "multiply" or "screen" inks (which are brilliant, btw) but that >> limits my options for colours in text. > > If you just want to show text over other colours you can use a > regular text field with the opaque set to false - no limitations on > colours, and works in older versions of Rev. > > Ian > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revlist at azurevision.co.uk Tue Mar 14 08:49:32 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 14 Mar 2006 13:49:32 +0000 Subject: Render Images In-Reply-To: <5DFC84FD-5DBC-4678-A796-996009B267CB@carroll-davis.co.uk> References: <8FC44EE1-9B7C-4E76-8311-CA45CE65B2A0@carroll-davis.co.uk> <5DFC84FD-5DBC-4678-A796-996009B267CB@carroll-davis.co.uk> Message-ID: In the docs for import/ export snapshot: "To export a snapshot of a specific (non-stack) object, use the form: export snapshot from [rect[angle] ] of chunk to ... Where chunk is any chunk expression resolving to a control, or any expression evaluating to a control reference." As usual it took me a little trial and error to turn the docs into actual code, in this case by trying to be too complex - now to see if it'll work on groups... Ian On 14 Mar 2006, at 13:43, Chris Carroll-Davis wrote: > Ian - > > Thanks so much - that's perfect! I am writing a multimedia app > that needs to display text in many, many languages. Whilst Unicode > goes a long to help, it is not a panacea - e.g. can you display > Cambodian and Thai on your machine? I'm writing a utility that > means that as long as our translators can correctly see the text > (as text) on their machine we can export the text as a graphic to > display correctly within the app on anyone's machine. > > By the way - where did you find this syntax? Is there a document > I'm missing? I checked through the Rev docs and User guide pdf but > couldn't find any reference to it... > > Thanks again! > > Chris > > > On 14 Mar 2006, at 13:09, Ian Wood wrote: > >> >> On 14 Mar 2006, at 12:35, Chris Carroll-Davis wrote: >> >>> A question: the release blurb for 2.7 says: "Render an image >>> from any object on-screen, preserving the alpha channel, then >>> transform and save." Now this seems to be exactly what I >>> need!... I would like to convert some formatted text (i.e. a >>> field) to a PNG file with transparency. Can I do this in 2.7? >>> Can't find reference to this in docs. >> >> import snapshot from fld "test" >> or >> export snapshot from fld "test" to file "test.png" as PNG >> >> Having made sure that the opaque of the field is set to false >> first so that there is actually some transparency to capture. This >> is VERY powerful as it takes the info from the object directly - >> it doesn't matter if there are other objects on top. A dream come >> true for some of my apps... >> >>> I can achieve a similar effect by exporting (via snapshot) text >>> on a white background then displaying resulting image using the >>> "multiply" or "screen" inks (which are brilliant, btw) but that >>> limits my options for colours in text. >> >> If you just want to show text over other colours you can use a >> regular text field with the opaque set to false - no limitations >> on colours, and works in older versions of Rev. >> >> Ian >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jonathandlynch at gmail.com Tue Mar 14 08:59:25 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Tue, 14 Mar 2006 08:59:25 -0500 Subject: Grouping inside Grouping not that robust In-Reply-To: References: <20ECCA3C-CC73-4B4B-B84E-56FC5B16237F@videotron.ca> <282F89B0-FAB3-4FC9-94A4-CC23BEF57E95@lacscentre.co.uk> <70ed6b130603111553v324c73bevaff06ff89337db5a@mail.gmail.com> Message-ID: <31e1938c0603140559j40d0510csd11b0ecde8995a16@mail.gmail.com> I go eight levels deep with groups in Task Mage, and it works great. There are a few things you need to realize when doing this, but once you get the methodology worked out, it is not a problem. Also, you can know how deep you are by parsing the long name of an object. like this: put the long name of me into tName replace " of " with comma in tName put the number of items in tName into tNumberOfLevelsDeep As for objects dissappearing, they are probably off to the side, out of the exposed area of a group. I would be happy to check out your stack to see if I can see what is wrong. Take care, Jonathan From revlist at azurevision.co.uk Tue Mar 14 09:02:09 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 14 Mar 2006 14:02:09 +0000 Subject: Render Images In-Reply-To: References: <8FC44EE1-9B7C-4E76-8311-CA45CE65B2A0@carroll-davis.co.uk> <5DFC84FD-5DBC-4678-A796-996009B267CB@carroll-davis.co.uk> Message-ID: On 14 Mar 2006, at 13:49, Ian Wood wrote: > now to see if it'll work on groups... It does. Opens up possibilities for faking soft dropshadows using several translucent copies behind the main field, group the lot and export: Drag over a mid-tine background for the best effect. Ian From chris at carroll-davis.co.uk Tue Mar 14 09:06:17 2006 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Tue, 14 Mar 2006 14:06:17 +0000 Subject: Render Images In-Reply-To: References: <8FC44EE1-9B7C-4E76-8311-CA45CE65B2A0@carroll-davis.co.uk> <5DFC84FD-5DBC-4678-A796-996009B267CB@carroll-davis.co.uk> Message-ID: <89DDE320-DB98-4622-B39E-5C78A7750C74@carroll-davis.co.uk> Ian - DOH! I saw that in the docs, but just thought it was taking the rect info of the object to get a partial screen grab. Should read more carefully... Should read more carefully... Should read more carefully... Should read more carefully... Should read more carefully... Should read more carefully... Just tried it with a group and it seems to work beautifully! C On 14 Mar 2006, at 13:49, Ian Wood wrote: > In the docs for import/ export snapshot: > > "To export a snapshot of a specific (non-stack) object, use the form: > > export snapshot from [rect[angle] ] of chunk to ... > > Where chunk is any chunk expression resolving to a control, or any > expression evaluating to a control reference." > > As usual it took me a little trial and error to turn the docs into > actual code, in this case by trying to be too complex - now to see > if it'll work on groups... > > Ian > > On 14 Mar 2006, at 13:43, Chris Carroll-Davis wrote: > >> Ian - >> >> Thanks so much - that's perfect! I am writing a multimedia app >> that needs to display text in many, many languages. Whilst >> Unicode goes a long to help, it is not a panacea - e.g. can you >> display Cambodian and Thai on your machine? I'm writing a utility >> that means that as long as our translators can correctly see the >> text (as text) on their machine we can export the text as a >> graphic to display correctly within the app on anyone's machine. >> >> By the way - where did you find this syntax? Is there a document >> I'm missing? I checked through the Rev docs and User guide pdf >> but couldn't find any reference to it... >> >> Thanks again! >> >> Chris >> >> >> On 14 Mar 2006, at 13:09, Ian Wood wrote: >> >>> >>> On 14 Mar 2006, at 12:35, Chris Carroll-Davis wrote: >>> >>>> A question: the release blurb for 2.7 says: "Render an image >>>> from any object on-screen, preserving the alpha channel, then >>>> transform and save." Now this seems to be exactly what I >>>> need!... I would like to convert some formatted text (i.e. a >>>> field) to a PNG file with transparency. Can I do this in 2.7? >>>> Can't find reference to this in docs. >>> >>> import snapshot from fld "test" >>> or >>> export snapshot from fld "test" to file "test.png" as PNG >>> >>> Having made sure that the opaque of the field is set to false >>> first so that there is actually some transparency to capture. >>> This is VERY powerful as it takes the info from the object >>> directly - it doesn't matter if there are other objects on top. A >>> dream come true for some of my apps... >>> >>>> I can achieve a similar effect by exporting (via snapshot) text >>>> on a white background then displaying resulting image using the >>>> "multiply" or "screen" inks (which are brilliant, btw) but that >>>> limits my options for colours in text. >>> >>> If you just want to show text over other colours you can use a >>> regular text field with the opaque set to false - no limitations >>> on colours, and works in older versions of Rev. >>> >>> Ian >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bobwarren at howsoft.com Tue Mar 14 09:10:27 2006 From: bobwarren at howsoft.com (Bob Warren) Date: Tue, 14 Mar 2006 11:10:27 -0300 Subject: [OT] Has anyone tried to send howsoft.com a bug report? Message-ID: <4416CED3.6090802@howsoft.com> At my site (www.howsoft.com) there is a link to a simple PHP form for the reporting of bugs. It is very rarely used (??!!) Recently, I changed service provider, and I didn't realize that the old syntax of the PHP form would not work any more. Yesterday, someone tried to send me a bug report, but it arrived without the info typed by the sender, including his/her e-mail address. If someone on this list is trying to report a bug, I want to know about it! If you have tried to send a report in the last day or so, please accept my apologies and try again. Thanks. Regards, Bob Warren P.S. E-mails can now be sent to me directly (even from the RR server) at the following address: bobwarren at howsoft.com From mvreade at earthlink.net Tue Mar 14 09:21:02 2006 From: mvreade at earthlink.net (mvreade at earthlink.net) Date: Tue, 14 Mar 2006 09:21:02 -0500 Subject: Making the move... Message-ID: <9F95E0DF-9973-4D5B-9BB9-7F1821AE0D64@earthlink.net> Kay, Thank you for your thoughtful and extensive reply. It sure helps me begin to wrap my head around what the development environment is all about. I am, at this point, playing with both Revolution and RealBasic, and I'll probably be making a decision within the month. Your reply has been a great help. Thanks. Michael From mvreade at earthlink.net Tue Mar 14 09:40:18 2006 From: mvreade at earthlink.net (mvreade at earthlink.net) Date: Tue, 14 Mar 2006 09:40:18 -0500 Subject: Making the move... Message-ID: Josh, Very strong statements. Wow! If I may ask for further clarification... I have two questions I'd love you expound upon. 1) RealBasic -- that's the main rival, as I see it. I haven't written big enough apps to test, but it seem that the compiler is pretty fast. I wonder how they compare in development and upkeep of for database projects. What are your thoughts about the 2 development environments? 2) Revolution vs Ruby on Rails? You mean to say you use Revolution to write browser enabled web-apps? Something I could access with Firefox? If so, I'd love to hear more. Thanks again for you very insightful comments. I really appreciate them. Michael From rcozens at pon.net Tue Mar 14 10:33:04 2006 From: rcozens at pon.net (Rob Cozens) Date: Tue, 14 Mar 2006 07:33:04 -0800 Subject: Thousands Separator on OSX In-Reply-To: <6.2.1.2.2.20060313144629.052ab798@exchange.slg.com> References: <36B4BF48-B5F1-42A1-AEF8-027DBE6A5309@upnaway.com> <6.2.1.2.2.20060313144629.052ab798@exchange.slg.com> Message-ID: Hi Peter, > To me it seems the Rev engine should give one access to this > setting... Has someone BZed it? I totally agree. There should be a systemNumberFormat function to return decimal character, thousands separator, and currency symbol string and/or a formatNumber function that returns a numeric value formatted as per system preferences. Especially since every solution posted here is platform-specific. If you find or log this in BZ, post the # and I'll allocate some votes to it. 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) bb From lists at mangomultimedia.com Tue Mar 14 11:12:54 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 14 Mar 2006 08:12:54 -0800 Subject: QTVRs (was: Rev on Intel iMacs) In-Reply-To: References: <911CAD9B-D872-4A30-BD82-E87B839750FC@mangomultimedia.com> Message-ID: On Mar 14, 2006, at 3:34 AM, Ian Wood wrote: > > Bingo! Thanks Trevor. Although I did notice some odd effects with > resting CPU-usage with different idleRates: > 16 or lower - 90-100% > 17 - 4-8% > 18-19 - 9-12% > 20 - 30% > over 20 it ramps down again Yeah, you usually don't want to have the idle rate low like that. What happens is that QuickTime reports that certain media types need to be idled as often as possible (QTVR, AXEL component, etc.). Right now Rev idles (updates) these movies at the idleRate. This isn't fast enough for QTVR though. I would leave the idleRate alone for now and just wait for 2.7.1. Playing with the value is just to show that there isn't any major problem with QTVR, just that it isn't being idled enough. -- Trevor DeVore Blue Mango Learning Systems - http://www.bluemangolearning.com trevor at bluemangolearning.com From simplsol at aol.com Tue Mar 14 11:55:19 2006 From: simplsol at aol.com (simplsol at aol.com) Date: Tue, 14 Mar 2006 11:55:19 -0500 Subject: Rev in Rosetta Message-ID: <8C8159F35D71ECA-1A30-8B78@FWM-R17.sysops.aol.com> There have been some requests for info on the new Macs with the Intel processors: I've been using an Intel iMac for two days now. The only problem in that time was a lockup trying to read from a flash drive. I restarted and never had the problem again. As for Rev in Rosetta: I don't have many empirical, stop watch, tests but importing and converting a large stack to a database required 3.4 minutes on the 2.0 GHZ iMac (stock 512 K RAM). The same import required 6.8 minutes on my 1.67 GHZ PowerBook (1 GB RAM). Everything "feels" faster on the iMac than the PB. Opening Rev files, coding, running code, debugging, etc. are all more than acceptable. I don't use heavy image manipulation or QuickTime so there may be issues I've not encountered that would be a problem for other users but for my work Rosetta works. With a Universal Binary Rev this computer should fly! Paul Looney From jonathandlynch at gmail.com Tue Mar 14 12:10:59 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Tue, 14 Mar 2006 12:10:59 -0500 Subject: Making the move... In-Reply-To: References: Message-ID: <31e1938c0603140910x73f83aa2y73fc337250a8516c@mail.gmail.com> If you search the archives, you will find countless RunRev Vs. Real Basic discussions. I think it breaks down to your needs and your programming style. For me, RunRev and Transcript just fit with my brain really well. From mvreade at earthlink.net Tue Mar 14 12:26:04 2006 From: mvreade at earthlink.net (mvreade at earthlink.net) Date: Tue, 14 Mar 2006 12:26:04 -0500 Subject: Making the move... In-Reply-To: <31e1938c0603140910x73f83aa2y73fc337250a8516c@mail.gmail.com> References: <31e1938c0603140910x73f83aa2y73fc337250a8516c@mail.gmail.com> Message-ID: I will. Could you please elaborate on the second question is asked: 2) Revolution vs Ruby on Rails? You mean to say you use Revolution to write browser enabled web-apps? Something I could access with Firefox? If so, I'd love to hear more. Thanks. Michael On Mar 14, 2006, at 12:10 PM, Jonathan Lynch wrote: > If you search the archives, you will find countless RunRev Vs. Real > Basic > discussions. > > I think it breaks down to your needs and your programming style. > For me, > RunRev and Transcript just fit with my brain really well. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From davis.phil at comcast.net Tue Mar 14 13:08:39 2006 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 14 Mar 2006 10:08:39 -0800 Subject: Rev in Rosetta (inflight fun) In-Reply-To: <8C8159F35D71ECA-1A30-8B78@FWM-R17.sysops.aol.com> References: <8C8159F35D71ECA-1A30-8B78@FWM-R17.sysops.aol.com> Message-ID: <441706A7.40608@comcast.net> Sorry - Paul paints too visual a picture for me to resist... disclaimer: I don't know flight jargon. simplsol at aol.com wrote: -- snip -- > work Rosetta works. With a Universal Binary Rev this computer should fly! on joyRide set the weightUnits to grams set the weight of the machine to -5 set the attitude of the machine to +15 lock thrust set the thrustUnits to pounds set the thrust of the machine to 100000 send "holdOn" to the topStack unlock thrust with effect increase to maximum in 5 seconds end joyRide Just 4 Fun - Phil Davis From Karen at curlypaws.com Tue Mar 14 13:53:41 2006 From: Karen at curlypaws.com (Karen) Date: Tue, 14 Mar 2006 18:53:41 +0000 Subject: [ANN] altSQLite ships Linux Version and more... In-Reply-To: <20060314130558.068D8825561@mail.runrev.com> References: <20060314130558.068D8825561@mail.runrev.com> Message-ID: <48F24A83-216F-454F-9A01-D04DE480838A@curlypaws.com> On 14 Mar 2006, at 13:05, Chipp Walters wrote: > Plus, Mac users now get a free update to altSQLite3 which fixes a few > obscure bugs, and updates the SQLite version so it's more compatible > with other open source SQLite products. Thanks Chipp, I'm very pleased with altSQLite3 - it makes database use with Rev about as easy as it could be. What with altBrowser, altFont and InterfaceDesigner I think that you've got a fairly indispensable group of utilities there! Karen From cmsheffield at gmail.com Tue Mar 14 14:01:30 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue, 14 Mar 2006 12:01:30 -0700 Subject: filter question In-Reply-To: References: <4415F331.7030204@comcast.net> Message-ID: Thanks, Sarah. I ended up going with a solution similar to this to get the job done. I thought Phil's suggestion would have worked, and that's what I was trying to do, but unfortunately it didn't. But thanks to all who responded. Chris On Mar 13, 2006, at 5:08 PM, Sarah Reichelt wrote: > It might be faster to filter the list simply to reduce it to lines > that contain the filter string anywhere, and then do a loop to check > if the filter string is in the correct item. > > -- gather the original data and the required settings > put fld "List" into tList > put fld "Filter into Filter > put 3 into tItemNum > > -- do the first filter to reduce the list > filter tList with "*" & tFilter & "*" > > -- loop through making sure it appears in the right item > put empty into tMatches > repeat for each line L in tList > if item tItemNum of L contains tFilter then put L & cr after > tMatches > end repeat > > -- remove the trailing cr > delete last char of tMatches > > -- display the matching results > put tMatches into fld "Results" > > > Cheers. > Sarah > > On 3/14/06, Phil Davis wrote: >> Hi Chris, >> >> To filter on column 3, are you using something like this? >> >> put fld "list" into tList >> filter tList \ >> with "*" & tab & "*" & tab & fld "filter" & tab & "*" >> put tList into fld "list" >> >> If so, it seems like that should work. >> >> Phil Davis >> >> >> Chris Sheffield wrote: >>> I'm trying to apply a filter to a list field. The columns of >>> the field >>> are tab delimited. I have a separate "filter" field that allows >>> the >>> user to apply a filter to the list based on whichever column is the >>> current sort column. I can get the filter to work fine so long >>> as the >>> first column is selected, but anything else does not work. >>> >>> How can I apply a filter to a list based on say item 3 of each >>> line of >>> that list? Is that possible? >>> >>> Thanks, >>> Chris >>> >>> >>> ------------------------------------------ >>> Chris Sheffield >>> Read Naturally >>> The Fluency Company >>> http://www.readnaturally.com >>> ------------------------------------------ >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From JimAultWins at yahoo.com Tue Mar 14 14:25:45 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 14 Mar 2006 11:25:45 -0800 Subject: filter question In-Reply-To: Message-ID: Hey, Chris, I know you probably don't have the time, but I am wondering why Phil's solution did not work. I use the filter command all the time and Phil had the correct syntax and useage, as far as I could see. Mostly just curiosity to find exceptions or tricky problems for future reference. Surprised it did not work. Thanks, Jim Ault Las Vegas On 3/14/06 11:01 AM, "Chris Sheffield" wrote: > Thanks, Sarah. I ended up going with a solution similar to this to > get the job done. I thought Phil's suggestion would have worked, and > that's what I was trying to do, but unfortunately it didn't. > > But thanks to all who responded. > > Chris > > > On Mar 13, 2006, at 5:08 PM, Sarah Reichelt wrote: > >> It might be faster to filter the list simply to reduce it to lines >> that contain the filter string anywhere, and then do a loop to check >> if the filter string is in the correct item. >> >> -- gather the original data and the required settings >> put fld "List" into tList >> put fld "Filter into Filter >> put 3 into tItemNum >> >> -- do the first filter to reduce the list >> filter tList with "*" & tFilter & "*" >> >> -- loop through making sure it appears in the right item >> put empty into tMatches >> repeat for each line L in tList >> if item tItemNum of L contains tFilter then put L & cr after >> tMatches >> end repeat >> >> -- remove the trailing cr >> delete last char of tMatches >> >> -- display the matching results >> put tMatches into fld "Results" >> >> Sarah >> >> On 3/14/06, Phil Davis wrote: >>> Hi Chris, >>> >>> To filter on column 3, are you using something like this? >>> >>> put fld "list" into tList >>> filter tList \ >>> with "*" & tab & "*" & tab & fld "filter" & tab & "*" >>> put tList into fld "list" >>> >>> Phil Davis >>> >>> >>> Chris Sheffield wrote: >>>> I'm trying to apply a filter to a list field. The columns of >>>> the field >>>> are tab delimited. I have a separate "filter" field that allows >>>> the >>>> user to apply a filter to the list based on whichever column is the >>>> current sort column. I can get the filter to work fine so long >>>> as the >>>> first column is selected, but anything else does not work. >>>> >>>> How can I apply a filter to a list based on say item 3 of each >>>> line of >>>> that list? Is that possible? >>>> >>>> Thanks, >>>> Chris >>>> >>>> From cmsheffield at gmail.com Tue Mar 14 14:31:35 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue, 14 Mar 2006 12:31:35 -0700 Subject: filter question In-Reply-To: References: Message-ID: <4E2F8AE5-C569-49E3-8A7A-CECEEBC7A3D0@gmail.com> I'm not really 100% sure to be honest. I think it's because in my case I have to account for filtering with only a partial string. So for example, if my user enters "a", the filter needs to return any records where say the third item of each line begins with "a". Because Phil's solution uses tabs around the filter string (tab & fld "filter" & tab), it doesn't work quite right for me. I tried a couple different modifications, including placing *'s between the filter string and the tabs, to make it work for me but couldn't find anything that worked in all cases. Hope that provides you with a little more information. Chris On Mar 14, 2006, at 12:25 PM, Jim Ault wrote: > Hey, Chris, > > I know you probably don't have the time, but I am wondering why Phil's > solution did not work. I use the filter command all the time and > Phil had > the correct syntax and useage, as far as I could see. > > Mostly just curiosity to find exceptions or tricky problems for future > reference. Surprised it did not work. > > Thanks, > Jim Ault > Las Vegas > > > On 3/14/06 11:01 AM, "Chris Sheffield" wrote: > >> Thanks, Sarah. I ended up going with a solution similar to this to >> get the job done. I thought Phil's suggestion would have worked, and >> that's what I was trying to do, but unfortunately it didn't. >> >> But thanks to all who responded. >> >> Chris >> >> >> On Mar 13, 2006, at 5:08 PM, Sarah Reichelt wrote: >> >>> It might be faster to filter the list simply to reduce it to lines >>> that contain the filter string anywhere, and then do a loop to check >>> if the filter string is in the correct item. >>> >>> -- gather the original data and the required settings >>> put fld "List" into tList >>> put fld "Filter into Filter >>> put 3 into tItemNum >>> >>> -- do the first filter to reduce the list >>> filter tList with "*" & tFilter & "*" >>> >>> -- loop through making sure it appears in the right item >>> put empty into tMatches >>> repeat for each line L in tList >>> if item tItemNum of L contains tFilter then put L & cr after >>> tMatches >>> end repeat >>> >>> -- remove the trailing cr >>> delete last char of tMatches >>> >>> -- display the matching results >>> put tMatches into fld "Results" >>> >>> Sarah >>> >>> On 3/14/06, Phil Davis wrote: >>>> Hi Chris, >>>> >>>> To filter on column 3, are you using something like this? >>>> >>>> put fld "list" into tList >>>> filter tList \ >>>> with "*" & tab & "*" & tab & fld "filter" & tab & "*" >>>> put tList into fld "list" >>>> >>>> Phil Davis >>>> >>>> >>>> Chris Sheffield wrote: >>>>> I'm trying to apply a filter to a list field. The columns of >>>>> the field >>>>> are tab delimited. I have a separate "filter" field that allows >>>>> the >>>>> user to apply a filter to the list based on whichever column >>>>> is the >>>>> current sort column. I can get the filter to work fine so long >>>>> as the >>>>> first column is selected, but anything else does not work. >>>>> >>>>> How can I apply a filter to a list based on say item 3 of each >>>>> line of >>>>> that list? Is that possible? >>>>> >>>>> Thanks, >>>>> Chris >>>>> >>>>> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From Stgoldberg at aol.com Tue Mar 14 15:09:43 2006 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Tue, 14 Mar 2006 15:09:43 EST Subject: Can't delete standalone in Windows Message-ID: Recently I've noted a problem on building standalones (on my Mac OS X using Rev 2.7) and moving them to Windows. While the standalones work on Windows, if I try to move them to the trash in Windows, I get a message: "Cannot delete (the program). Access is denied. Make sure the disk is not full or write protected and that the file in not currently in use." The problem is that the file is not in use, I have about 200gb of disk space, there is no password needed to access the computer, and I do not have this problem with other kinds of files. The only way I can trash the files is to restart the computer and try again. I do not know if this is a problem with Revolution or with my Windows computer. Any suggestions? Thanks. Steve Goldberg From twright at jamestown.wnyric.org Tue Mar 14 15:17:04 2006 From: twright at jamestown.wnyric.org (Thom Wright) Date: Tue, 14 Mar 2006 15:17:04 -0500 Subject: can someone show me a CRM solution Message-ID: If possible, could someone point me towards a CRM solution created with runrev. thanks, Thom Wright School Counselor Jefferson Middle School From garrett at paraboliclogic.com Tue Mar 14 15:20:16 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Tue, 14 Mar 2006 12:20:16 -0800 Subject: Group Object? In-Reply-To: <4415EFA9.10301@paraboliclogic.com> References: <4414D4D0.6050900@paraboliclogic.com> <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> <4415DF2D.40303@paraboliclogic.com> <6148617B-6584-4CA4-BF6F-1074035F7D62@lacscentre.co.uk> <4415EFA9.10301@paraboliclogic.com> Message-ID: <44172580.1060905@paraboliclogic.com> Rev 2.6.1 Greetings, Is there a panel object that has the same style of rounded corner border like the tabpanel object? Or is there a way to achieve this using the tabpanel without the tab buttons on it? Thanks, -Garrett From JimAultWins at yahoo.com Tue Mar 14 15:24:57 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 14 Mar 2006 12:24:57 -0800 Subject: filter question In-Reply-To: <4E2F8AE5-C569-49E3-8A7A-CECEEBC7A3D0@gmail.com> Message-ID: Yes, that clarifies the situation. You probably need more that one format and test for the differences, then apply the right version. Thanks Jim Ault Las Vegas On 3/14/06 11:31 AM, "Chris Sheffield" wrote: > I'm not really 100% sure to be honest. I think it's because in my > case I have to account for filtering with only a partial string. So > for example, if my user enters "a", the filter needs to return any > records where say the third item of each line begins with "a". > > Because Phil's solution uses tabs around the filter string (tab & fld > "filter" & tab), it doesn't work quite right for me. I tried a > couple different modifications, including placing *'s between the > filter string and the tabs, to make it work for me but couldn't find > anything that worked in all cases. > > Hope that provides you with a little more information. > > Chris > > > On Mar 14, 2006, at 12:25 PM, Jim Ault wrote: > >> Hey, Chris, >> >> I know you probably don't have the time, but I am wondering why Phil's >> solution did not work. I use the filter command all the time and >> Phil had >> the correct syntax and useage, as far as I could see. >> >> Mostly just curiosity to find exceptions or tricky problems for future >> reference. Surprised it did not work. >> >> Thanks, >> Jim Ault >> Las Vegas >> >> >> On 3/14/06 11:01 AM, "Chris Sheffield" wrote: >> >>> Thanks, Sarah. I ended up going with a solution similar to this to >>> get the job done. I thought Phil's suggestion would have worked, and >>> that's what I was trying to do, but unfortunately it didn't. >>> >>> But thanks to all who responded. >>> >>> Chris >>> >>> >>> On Mar 13, 2006, at 5:08 PM, Sarah Reichelt wrote: >>> >>>> It might be faster to filter the list simply to reduce it to lines >>>> that contain the filter string anywhere, and then do a loop to check >>>> if the filter string is in the correct item. >>>> >>>> -- gather the original data and the required settings >>>> put fld "List" into tList >>>> put fld "Filter into Filter >>>> put 3 into tItemNum >>>> >>>> -- do the first filter to reduce the list >>>> filter tList with "*" & tFilter & "*" >>>> >>>> -- loop through making sure it appears in the right item >>>> put empty into tMatches >>>> repeat for each line L in tList >>>> if item tItemNum of L contains tFilter then put L & cr after >>>> tMatches >>>> end repeat >>>> >>>> -- remove the trailing cr >>>> delete last char of tMatches >>>> >>>> -- display the matching results >>>> put tMatches into fld "Results" >>>> >>>> Sarah >>>> >>>> On 3/14/06, Phil Davis wrote: >>>>> Hi Chris, >>>>> >>>>> To filter on column 3, are you using something like this? >>>>> >>>>> put fld "list" into tList >>>>> filter tList \ >>>>> with "*" & tab & "*" & tab & fld "filter" & tab & "*" >>>>> put tList into fld "list" >>>>> >>>>> Phil Davis >>>>> >>>>> >>>>> Chris Sheffield wrote: >>>>>> I'm trying to apply a filter to a list field. The columns of >>>>>> the field >>>>>> are tab delimited. I have a separate "filter" field that allows >>>>>> the >>>>>> user to apply a filter to the list based on whichever column >>>>>> is the >>>>>> current sort column. I can get the filter to work fine so long >>>>>> as the >>>>>> first column is selected, but anything else does not work. >>>>>> >>>>>> How can I apply a filter to a list based on say item 3 of each >>>>>> line of >>>>>> that list? Is that possible? >>>>>> >>>>>> Thanks, >>>>>> Chris >>>>>> >>>>>> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > ------------------------------------------ > Chris Sheffield > Read Naturally > The Fluency Company > http://www.readnaturally.com > ------------------------------------------ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pevensen at siboneylg.com Tue Mar 14 15:28:56 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 14 Mar 2006 14:28:56 -0600 Subject: Button Label on graphic button Message-ID: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> Is there any way to get Rev to center a button label on a graphical button? It seems to only want to display it under the icon. Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From sarah.reichelt at gmail.com Tue Mar 14 15:32:09 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 15 Mar 2006 06:32:09 +1000 Subject: Group Object? In-Reply-To: <44172580.1060905@paraboliclogic.com> References: <4414D4D0.6050900@paraboliclogic.com> <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> <4415DF2D.40303@paraboliclogic.com> <6148617B-6584-4CA4-BF6F-1074035F7D62@lacscentre.co.uk> <4415EFA9.10301@paraboliclogic.com> <44172580.1060905@paraboliclogic.com> Message-ID: > Rev 2.6.1 > > Greetings, > > Is there a panel object that has the same style of rounded corner border > like the tabpanel object? Or is there a way to achieve this using the > tabpanel without the tab buttons on it? Make a group, set the showBorder to true and adjust the width of the border until you get the right look. You may want to adjust the margins of the group to get the edges further away from the objects inside. Cheers, Sarah From jonathandlynch at gmail.com Tue Mar 14 15:33:23 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Tue, 14 Mar 2006 15:33:23 -0500 Subject: Group Object? In-Reply-To: <44172580.1060905@paraboliclogic.com> References: <4414D4D0.6050900@paraboliclogic.com> <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> <4415DF2D.40303@paraboliclogic.com> <6148617B-6584-4CA4-BF6F-1074035F7D62@lacscentre.co.uk> <4415EFA9.10301@paraboliclogic.com> <44172580.1060905@paraboliclogic.com> Message-ID: <31e1938c0603141233r1bb8b97cy5023b24fbe875456@mail.gmail.com> There are probably a dozen ways to accomplish this. The best solution will depend on your needs, but you can, for example, have an image in whatever shape you want, and make that image do just about anything. Depending on your system, buttons can be set with rounded corners. There is, of course, the rounded rectangle object. When I want a specifice shape, I always use images, because it gives me complete control. But if you are having to continuously resize it, a rounded rectangle might be better. If this is mean to act as a containter of objects, you would need a group with the rounded rectangle as the bottom most object of the group. What do you need it for? From sarah.reichelt at gmail.com Tue Mar 14 15:35:59 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 15 Mar 2006 06:35:59 +1000 Subject: Button Label on graphic button In-Reply-To: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> Message-ID: On 3/15/06, Peter T. Evensen wrote: > Is there any way to get Rev to center a button label on a graphical > button? It seems to only want to display it under the icon. > Adjust the margins of the button. Normally the margins is a single number, but it can also be 4 comma-separated numbers, specifiying the left, top, right & bottom margins respectively. Play around with altering these and see if you can get the result you want. Sarah From wlists at fireworksmm.com Tue Mar 14 15:45:47 2006 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Tue, 14 Mar 2006 15:45:47 -0500 Subject: Making the move... In-Reply-To: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> References: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> Message-ID: <115395F5-4D63-48D5-BA7A-439DCF1130F5@fireworksmm.com> Hello Michael: As a non-developer type I might be able to give you yet another perspective on Rev. I own a post-production finishing house for commercials. My days are crazy with just my normal job and then I have to manage the IT needs and I'm also in charge of engineering. I did a very small amount of HyperCard programming back in '91-'93 and have put together a few filemaker pro databases, but basically have no experience as a programmer. The fact that the program can switch from "programming" mode to "run" mode while you work makes it very easy and quick to see what you're going to get. Using Revolution I have been able to: 1. Automate our web page generation for client feedback. This is a relatively complex setup that reads movies placed in various folders on our webserver and with some user input, generates password- protected php web pages that look every bit as good as others out there. 2. Created a touch-screen interface for iTunes to run on a powerbook in my car. 3. Created a slate generator (slates are the identifiers used in commercials). This program combines some background image with text to create sequential countdowns for our video projects. It runs on XP and OSX. In the month or so it's been running it has generated over 2000 images! I'm in the process of building a home-control application that acts as a client to iRed (an infrared remote server). The cool thing about this app is that it's allowed me to rescue a couple of old machines to use as controllers. The standalone client currently runs on OS9, XP tablet edition and OSX. This in itself is pretty amazing. All of this while doing the rest of my work and without looking back. I strongly recommend the product. Two things, start with v 2.6.1, (especially if you're going to be developing on windows) and I understand that there is a deal where you get Constellation for free. It's worth the $50 it costs anyway, but free is soo much better! :-) So I find that it's the easiest way to write code that can actually do something without having to lear a complex and cryptic language. W. On Mar 10, 2006, at 10:45 AM, Mvreade wrote: > Hi, > > I've been playing with Revolution for a few days and am VERY > impressed with its capabilities and ease of use. > > I do however, have a few questions and reservations, which > hopefully you guys can answer. > > I found it a bit buggy (using a iBook G4, 1G of memory, on OSX > 10.4). The property inspector went blank a few times, the > application crashed once, the sample database query in the example > solutions was updating records, demo videos weren't displaying, to > mention a few. > > So the quesiton is, how good of an environment to work on is it? > > And how stable are the final applications? > > For users who have used Rev for databases, I was wondering what > it's like to develop a system with, say, 20 tables and lots or > relationships and methods? > > Where would one store all the methods? > > For relationships, would one just keep a VERYlong list of Database > Queries? > > Finally, does any one know if Runtime Revolution Ltd has any plans > to have a connection to an open source, embeddable database, such > as SQLite? > > Thanks for your help, > > Michael Reade > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From thierry.arbellot at laposte.net Tue Mar 14 15:50:30 2006 From: thierry.arbellot at laposte.net (Thierry Arbellot) Date: Tue, 14 Mar 2006 21:50:30 +0100 Subject: Can't delete standalone in Windows In-Reply-To: References: Message-ID: Hi Steve, I had sometimes the same problem when I copy the standalone from the Mac to the PC through the network (I connect from the Mac and the PC is mounted as a network disk). MacOS may lock the copied file on the PC. I must eject the PC to unlock the file. Hope it helps Thierry On 2006, Mar 14, , at 21:09, Stgoldberg at aol.com wrote: > Recently I've noted a problem on building standalones (on my Mac OS X > using > Rev 2.7) and moving them to Windows. While the standalones work on > Windows, if > I try to move them to the trash in Windows, I get a message: > > "Cannot delete (the program). Access is denied. Make sure the disk > is not > full or write protected and that the file in not currently in use." > > The problem is that the file is not in use, I have about 200gb of > disk > space, there is no password needed to access the computer, and I do > not have this > problem with other kinds of files. The only way I can trash the > files is to > restart the computer and try again. I do not know if this is a problem > with > Revolution or with my Windows computer. Any suggestions? Thanks. > Steve Goldberg > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From pevensen at siboneylg.com Tue Mar 14 15:51:01 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 14 Mar 2006 14:51:01 -0600 Subject: Button Label on graphic button In-Reply-To: References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> Message-ID: <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> Actually I already did this. It "work" per se, but then one winds up with a large empty area around the button that is clickable, which is kind of strange from a UI standpoint. I was thinking I could roll my own graphical button with a text field and a image. That is what I might wind up doing. I was hoping there was an easier way. I should put in an enhancement request to make buttons respect an icon's transparent area. I mentioned it to Mark, but not sure it got on the list. At 02:35 PM 3/14/2006, you wrote: >On 3/15/06, Peter T. Evensen wrote: > > Is there any way to get Rev to center a button label on a graphical > > button? It seems to only want to display it under the icon. > > > >Adjust the margins of the button. Normally the margins is a single >number, but it can also be 4 comma-separated numbers, specifiying the >left, top, right & bottom margins respectively. Play around with >altering these and see if you can get the result you want. > >Sarah Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From pevensen at siboneylg.com Tue Mar 14 15:52:47 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 14 Mar 2006 14:52:47 -0600 Subject: Can't delete standalone in Windows In-Reply-To: References: Message-ID: <6.2.1.2.2.20060314145129.14becd88@exchange.slg.com> Hit ctrl-alt-delete and look for your standalone in the task manager. I've had times where all the windows close but for some reason, the application is still "running." If you find it there, you can force quit it, and then you should be able to trash the standalone. This seems to usually happen if a script error occurs in the runtime that prevents a stack from appearing, I think. At 02:09 PM 3/14/2006, you wrote: >Recently I've noted a problem on building standalones (on my Mac OS X using >Rev 2.7) and moving them to Windows. While the standalones work on >Windows, if >I try to move them to the trash in Windows, I get a message: > >"Cannot delete (the program). Access is denied. Make sure the disk is not >full or write protected and that the file in not currently in use." > >The problem is that the file is not in use, I have about 200gb of disk >space, there is no password needed to access the computer, and I do not >have this >problem with other kinds of files. The only way I can trash the files is to >restart the computer and try again. I do not know if this is a problem with >Revolution or with my Windows computer. Any suggestions? Thanks. >Steve Goldberg >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From scott at proherp.com Tue Mar 14 15:58:01 2006 From: scott at proherp.com (Scott Kane) Date: Wed, 15 Mar 2006 07:58:01 +1100 Subject: Can't delete standalone in Windows In-Reply-To: Message-ID: <000401c647a9$fcb9adb0$0201010a@royalnexus> > "Cannot delete (the program). Access is denied. Make sure > the disk is not > full or write protected and that the file in not currently in use." Use the CTRL + Delete key. You'll see your app running there still. You can close it from there. To avoid this be sure to implicitly call Quit in the application when closing down. Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.2.2/280 - Release Date: 13/03/2006 From mvreade at earthlink.net Tue Mar 14 16:01:02 2006 From: mvreade at earthlink.net (mvreade at earthlink.net) Date: Tue, 14 Mar 2006 16:01:02 -0500 Subject: Making the move... In-Reply-To: <115395F5-4D63-48D5-BA7A-439DCF1130F5@fireworksmm.com> References: <02cd01c64459$9b8c0220$0502a8c0@MRTOSHIBA> <115395F5-4D63-48D5-BA7A-439DCF1130F5@fireworksmm.com> Message-ID: Wally, Thanks for your input. Like you, I am not a developer by training. I have a few different solutions, written in Filemaker, which target mostly Art and Antique galleries. I have been wondering about picking up RealBasic, which looks nice, but not quite as intuitive as Revolution. So I imagine that it will take me little longer to become productive in RB than in Revolution. I also wonder whether once the learning curve has been conquered, whether Revolution would still be faster than RB. I have a feeling that it would be... Thanks, Michael On Mar 14, 2006, at 3:45 PM, Wally Rodriguez wrote: > Hello Michael: > > As a non-developer type I might be able to give you yet another > perspective on Rev. I own a post-production finishing house for > commercials. My days are crazy with just my normal job and then I > have to manage the IT needs and I'm also in charge of engineering. > > I did a very small amount of HyperCard programming back in '91-'93 > and have put together a few filemaker pro databases, but basically > have no experience as a programmer. > > The fact that the program can switch from "programming" mode to > "run" mode while you work makes it very easy and quick to see what > you're going to get. > > Using Revolution I have been able to: > > 1. Automate our web page generation for client feedback. This is a > relatively complex setup that reads movies placed in various > folders on our webserver and with some user input, generates > password-protected php web pages that look every bit as good as > others out there. > > 2. Created a touch-screen interface for iTunes to run on a > powerbook in my car. > > 3. Created a slate generator (slates are the identifiers used in > commercials). This program combines some background image with text > to create sequential countdowns for our video projects. It runs on > XP and OSX. In the month or so it's been running it has generated > over 2000 images! > > I'm in the process of building a home-control application that acts > as a client to iRed (an infrared remote server). The cool thing > about this app is that it's allowed me to rescue a couple of old > machines to use as controllers. The standalone client currently > runs on OS9, XP tablet edition and OSX. This in itself is pretty > amazing. > > All of this while doing the rest of my work and without looking > back. I strongly recommend the product. > > Two things, start with v 2.6.1, (especially if you're going to be > developing on windows) and I understand that there is a deal where > you get Constellation for free. It's worth the $50 it costs anyway, > but free is soo much better! :-) > > So I find that it's the easiest way to write code that can actually > do something without having to lear a complex and cryptic language. > > W. > > > On Mar 10, 2006, at 10:45 AM, Mvreade wrote: > >> Hi, >> >> I've been playing with Revolution for a few days and am VERY >> impressed with its capabilities and ease of use. >> >> I do however, have a few questions and reservations, which >> hopefully you guys can answer. >> >> I found it a bit buggy (using a iBook G4, 1G of memory, on OSX >> 10.4). The property inspector went blank a few times, the >> application crashed once, the sample database query in the example >> solutions was updating records, demo videos weren't displaying, to >> mention a few. >> >> So the quesiton is, how good of an environment to work on is it? >> >> And how stable are the final applications? >> >> For users who have used Rev for databases, I was wondering what >> it's like to develop a system with, say, 20 tables and lots or >> relationships and methods? >> >> Where would one store all the methods? >> >> For relationships, would one just keep a VERYlong list of Database >> Queries? >> >> Finally, does any one know if Runtime Revolution Ltd has any plans >> to have a connection to an open source, embeddable database, such >> as SQLite? >> >> Thanks for your help, >> >> Michael Reade >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jonathandlynch at gmail.com Tue Mar 14 16:03:25 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Tue, 14 Mar 2006 16:03:25 -0500 Subject: Button Label on graphic button In-Reply-To: <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> Message-ID: <31e1938c0603141303m4c7294e9re5b644342d1dcc8a@mail.gmail.com> Can you just create an image to use as an Icon that has your picture and text all in the same image? From scott at proherp.com Tue Mar 14 16:04:37 2006 From: scott at proherp.com (Scott Kane) Date: Wed, 15 Mar 2006 08:04:37 +1100 Subject: Can't delete standalone in Windows In-Reply-To: <000401c647a9$fcb9adb0$0201010a@royalnexus> Message-ID: <000701c647aa$ed14bed0$0201010a@royalnexus> > Use the CTRL + Delete key. That should of course be CTRL + ALT+Delete Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.2.2/280 - Release Date: 13/03/2006 From sarah.reichelt at gmail.com Tue Mar 14 16:13:55 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 15 Mar 2006 07:13:55 +1000 Subject: Can't delete standalone in Windows In-Reply-To: References: Message-ID: On 3/15/06, Stgoldberg at aol.com wrote: > Recently I've noted a problem on building standalones (on my Mac OS X using > Rev 2.7) and moving them to Windows. While the standalones work on Windows, if > I try to move them to the trash in Windows, I get a message: > > "Cannot delete (the program). Access is denied. Make sure the disk is not > full or write protected and that the file in not currently in use." > There are a few things that can cause this: a window left open (it be hidden or have been closed but not removed from memory) pending messages still runnning a library still in use - this can esecially happen if the speech library is not unloaded. Cheers, Sarah From sarah.reichelt at gmail.com Tue Mar 14 16:13:55 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 15 Mar 2006 07:13:55 +1000 Subject: Can't delete standalone in Windows In-Reply-To: References: Message-ID: On 3/15/06, Stgoldberg at aol.com wrote: > Recently I've noted a problem on building standalones (on my Mac OS X using > Rev 2.7) and moving them to Windows. While the standalones work on Windows, if > I try to move them to the trash in Windows, I get a message: > > "Cannot delete (the program). Access is denied. Make sure the disk is not > full or write protected and that the file in not currently in use." > There are a few things that can cause this: a window left open (it be hidden or have been closed but not removed from memory) pending messages still runnning a library still in use - this can esecially happen if the speech library is not unloaded. Cheers, Sarah From kray at sonsothunder.com Tue Mar 14 16:20:31 2006 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 14 Mar 2006 15:20:31 -0600 Subject: can someone show me a CRM solution In-Reply-To: Message-ID: On 3/14/06 2:17 PM, "Thom Wright" wrote: > If possible, could someone point me towards a CRM solution created with > runrev. It's vertical market for the entertainment industry: http://www.inentertainment.com/ Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From scott at proherp.com Tue Mar 14 16:27:12 2006 From: scott at proherp.com (Scott Kane) Date: Wed, 15 Mar 2006 08:27:12 +1100 Subject: can someone show me a CRM solution In-Reply-To: Message-ID: <000a01c647ae$10b5cf70$0201010a@royalnexus> > It's vertical market for the entertainment industry: > Impressive. The toolbar - is that faked, do you know, or are they a cool control set made for the purpose? Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.2.2/280 - Release Date: 13/03/2006 From garrett at paraboliclogic.com Tue Mar 14 16:39:11 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Tue, 14 Mar 2006 13:39:11 -0800 Subject: Group Object? In-Reply-To: References: <4414D4D0.6050900@paraboliclogic.com> <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> <4415DF2D.40303@paraboliclogic.com> <6148617B-6584-4CA4-BF6F-1074035F7D62@lacscentre.co.uk> <4415EFA9.10301@paraboliclogic.com> <44172580.1060905@paraboliclogic.com> Message-ID: <441737FF.4070205@paraboliclogic.com> Sarah Reichelt wrote: >> Rev 2.6.1 >> >> Greetings, >> >> Is there a panel object that has the same style of rounded corner border >> like the tabpanel object? Or is there a way to achieve this using the >> tabpanel without the tab buttons on it? > > Make a group, set the showBorder to true and adjust the width of the > border until you get the right look. You may want to adjust the > margins of the group to get the edges further away from the objects > inside. Sarah, thank you, this is what I was looking for. :-) -Garrett From garrett at paraboliclogic.com Tue Mar 14 16:41:25 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Tue, 14 Mar 2006 13:41:25 -0800 Subject: Group Object? In-Reply-To: <31e1938c0603141233r1bb8b97cy5023b24fbe875456@mail.gmail.com> References: <4414D4D0.6050900@paraboliclogic.com> <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> <4415DF2D.40303@paraboliclogic.com> <6148617B-6584-4CA4-BF6F-1074035F7D62@lacscentre.co.uk> <4415EFA9.10301@paraboliclogic.com> <44172580.1060905@paraboliclogic.com> <31e1938c0603141233r1bb8b97cy5023b24fbe875456@mail.gmail.com> Message-ID: <44173885.1090004@paraboliclogic.com> Jonathan Lynch wrote: > There are probably a dozen ways to accomplish this. > Jonathan, Thanks for the info, but Sarah beat ya to it. -Garrett From jonathandlynch at gmail.com Tue Mar 14 17:07:28 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Tue, 14 Mar 2006 17:07:28 -0500 Subject: Group Object? In-Reply-To: <44173885.1090004@paraboliclogic.com> References: <4414D4D0.6050900@paraboliclogic.com> <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> <4415DF2D.40303@paraboliclogic.com> <6148617B-6584-4CA4-BF6F-1074035F7D62@lacscentre.co.uk> <4415EFA9.10301@paraboliclogic.com> <44172580.1060905@paraboliclogic.com> <31e1938c0603141233r1bb8b97cy5023b24fbe875456@mail.gmail.com> <44173885.1090004@paraboliclogic.com> Message-ID: <31e1938c0603141407j17e059fci1bd6a32a8e3d0c62@mail.gmail.com> Sarah is far more knowledgable than myself... I would listen to her anytime. If you want rounded corners though, I think you will have to have an object with rounded corners inside the group. Can groups have rounded corners? I did not think they could. From LunchnMeets at aol.com Tue Mar 14 17:16:40 2006 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Tue, 14 Mar 2006 17:16:40 EST Subject: Printing Problem Message-ID: <30c.d027c.31489ac8@aol.com> Hi Everyone, When I print a card then show and/or hide some field or group and then print again it doesn't completely flush the old image. The problem seems to be that the borders of the fields don't show as they should. Thanks in advance for your continuing help for this newbie. Joe Orlando, Florida From sarah.reichelt at gmail.com Tue Mar 14 17:25:07 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 15 Mar 2006 08:25:07 +1000 Subject: Group Object? In-Reply-To: <31e1938c0603141407j17e059fci1bd6a32a8e3d0c62@mail.gmail.com> References: <4414D4D0.6050900@paraboliclogic.com> <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> <4415DF2D.40303@paraboliclogic.com> <6148617B-6584-4CA4-BF6F-1074035F7D62@lacscentre.co.uk> <4415EFA9.10301@paraboliclogic.com> <44172580.1060905@paraboliclogic.com> <31e1938c0603141233r1bb8b97cy5023b24fbe875456@mail.gmail.com> <44173885.1090004@paraboliclogic.com> <31e1938c0603141407j17e059fci1bd6a32a8e3d0c62@mail.gmail.com> Message-ID: On 3/15/06, Jonathan Lynch wrote: > Sarah is far more knowledgable than myself... I would listen to her anytime. :-) > > If you want rounded corners though, I think you will have to have an object > with rounded corners inside the group. > > Can groups have rounded corners? I did not think they could. They certainly do on Mac OS X, but maybe not on Windows? Sarah From klaus at major-k.de Tue Mar 14 17:26:43 2006 From: klaus at major-k.de (Klaus Major) Date: Tue, 14 Mar 2006 23:26:43 +0100 Subject: Button Label on graphic button In-Reply-To: <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> Message-ID: <0F0688DC-B5A7-43F8-AF63-147829E94FA3@major-k.de> Hi Peter, > Actually I already did this. It "work" per se, but then one winds > up with a large empty area around the button that is clickable, > which is kind of strange from a UI standpoint. this is actually a no-solution sincet it is almost useless and the result not predictable... > I was thinking I could roll my own graphical button with a text > field and a image. That is what I might wind up doing. I was > hoping there was an easier way. > > I should put in an enhancement request to make buttons respect an > icon's transparent area. I mentioned it to Mark, but not sure it > got on the list. please check Bugzilla Nr. 1032. This is marked as RESOLVED although it IS NOT! :-/ > Peter T. Evensen > http://www.PetersRoadToHealth.com > 314-629-5248 or 888-628-4588 Regards Klaus Major klaus at major-k.de http://www.major-k.de From kray at sonsothunder.com Tue Mar 14 17:24:53 2006 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 14 Mar 2006 16:24:53 -0600 Subject: can someone show me a CRM solution In-Reply-To: <000a01c647ae$10b5cf70$0201010a@royalnexus> Message-ID: On 3/14/06 3:27 PM, "Scott Kane" wrote: > >> It's vertical market for the entertainment industry: >> > > Impressive. The toolbar - is that faked, do you know, or are they > a cool control set made for the purpose? Well, it depends on what you mean by a "cool control set"... :-) I have a toolbar library that I'm using that does this, and handles different sizes and icons, but doesn't have a customize sheet yet... :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From klaus at major-k.de Tue Mar 14 17:28:59 2006 From: klaus at major-k.de (Klaus Major) Date: Tue, 14 Mar 2006 23:28:59 +0100 Subject: Button Label on graphic button In-Reply-To: <31e1938c0603141303m4c7294e9re5b644342d1dcc8a@mail.gmail.com> References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <31e1938c0603141303m4c7294e9re5b644342d1dcc8a@mail.gmail.com> Message-ID: Hi Jonathan, > Can you just create an image to use as an Icon that has your > picture and > text all in the same image? sure, but that a LOT of work. Imagine buttons for different languages! It would be so nice if one could use a nice graphic and just change the label of the buttons... See my answer to Peter and my mention of godzilla Nr. 1032... Regards Klaus Major klaus at major-k.de http://www.major-k.de From jonathandlynch at gmail.com Tue Mar 14 17:34:30 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Tue, 14 Mar 2006 17:34:30 -0500 Subject: Group Object? In-Reply-To: References: <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> <4415DF2D.40303@paraboliclogic.com> <6148617B-6584-4CA4-BF6F-1074035F7D62@lacscentre.co.uk> <4415EFA9.10301@paraboliclogic.com> <44172580.1060905@paraboliclogic.com> <31e1938c0603141233r1bb8b97cy5023b24fbe875456@mail.gmail.com> <44173885.1090004@paraboliclogic.com> <31e1938c0603141407j17e059fci1bd6a32a8e3d0c62@mail.gmail.com> Message-ID: <31e1938c0603141434m5c3568dds75bb88c22328b409@mail.gmail.com> I am looking at the property inspector of a group right now, and I see no way give it rounded corners. (I am on Windows) Looking at the property inspector on a Mac, in which tab do you have the option to make a group have rounded corners? From revolutionary.dan at gmail.com Tue Mar 14 17:42:13 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Tue, 14 Mar 2006 14:42:13 -0800 Subject: Making the move... In-Reply-To: References: <31e1938c0603140910x73f83aa2y73fc337250a8516c@mail.gmail.com> Message-ID: <70ed6b130603141442u5e451c60g2e298b985516f09f@mail.gmail.com> Pardon me for jumping in here but I just went through a fairly extensive and intense period of working with Ruby on Rails and I'm a sort of long-time Revolutionary so I figured I could add something to the discussion. Web applications in the sense Ruby on Rails defines them cannot be written in Revolution. You *can* write CGIs and deploy stacks on servers and Web servers but there is, e.g., no Revolution plugin that would allow you to deploy a Rev app on a Web server so that a Firefox user could access it. You can, however, develop what are called Desktop Web Appliances (see http://www.daniels-mara.com/WebAppliances.htm) using Rev quite nicely. And with Altuit's amazingly powerful altBrowser ( http://www.altuit.com/webs/altuit2/altBrowserCover/default.htm), you can create custom browsers that embed the behavior of Firefox and/or IE on OS X and Windows, respectively. And creating Web-aware Rev apps is really a piece of cake. So if you just need an app to be able to deal with the Internet/Web, Rev is perfect. If, OTOH, you really need or want to build apps that reside on the Web and can be accessed out of standard Web browsers, then Rev won't work. In that case, Ruby on Rails is the best tool for creating such apps as I've seen but be forewarned: it's deceptively easy to do simple stuff in RoR but I found it dishearteningly difficult to use it to create anything real even after spending a lot of time, energy and money (see http://www.danshafer.com/onemind/?q=node/43). As for REALBasic vs. Revolution, Johnathan Lynch is basically right on target with his comments. I'd add one more: unless you already know BASIC syntax and/or have some familiarity with a Visual Basic-type environment, Real isn't going to be very easy to learn or use. And as far as I can tell, database stuff is far more mature and accessible in Rev than in Real. On 3/14/06, mvreade at earthlink.net wrote: > > I will. Could you please elaborate on the second question is asked: > > 2) Revolution vs Ruby on Rails? You mean to say you use Revolution > to write browser enabled web-apps? Something I could access with > Firefox? If so, I'd love to hear more. > > Thanks. > > Michael > > > On Mar 14, 2006, at 12:10 PM, Jonathan Lynch wrote: > > > If you search the archives, you will find countless RunRev Vs. Real > > Basic > > discussions. > > > > I think it breaks down to your needs and your programming style. > > For me, > > RunRev and Transcript just fit with my brain really well. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From garrett at paraboliclogic.com Tue Mar 14 17:44:38 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Tue, 14 Mar 2006 14:44:38 -0800 Subject: Group Object? In-Reply-To: <31e1938c0603141407j17e059fci1bd6a32a8e3d0c62@mail.gmail.com> References: <4414D4D0.6050900@paraboliclogic.com> <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> <4415DF2D.40303@paraboliclogic.com> <6148617B-6584-4CA4-BF6F-1074035F7D62@lacscentre.co.uk> <4415EFA9.10301@paraboliclogic.com> <44172580.1060905@paraboliclogic.com> <31e1938c0603141233r1bb8b97cy5023b24fbe875456@mail.gmail.com> <44173885.1090004@paraboliclogic.com> <31e1938c0603141407j17e059fci1bd6a32a8e3d0c62@mail.gmail.com> Message-ID: <44174756.3010200@paraboliclogic.com> Jonathan Lynch wrote: > Sarah is far more knowledgable than myself... I would listen to her anytime. > > If you want rounded corners though, I think you will have to have an object > with rounded corners inside the group. > > Can groups have rounded corners? I did not think they could. In OS X they do, but not in Windows unless you're using an XP Visual Style or are running WindowBlinds, otherwise, it's a plain old rectangle border for Windows. -Garrett From klaus at major-k.de Tue Mar 14 17:44:50 2006 From: klaus at major-k.de (Klaus Major) Date: Tue, 14 Mar 2006 23:44:50 +0100 Subject: Group Object? In-Reply-To: <31e1938c0603141434m5c3568dds75bb88c22328b409@mail.gmail.com> References: <6373341C-9A60-4EAB-9B26-E60AC1F1824C@inspiredlogic.com> <4415DF2D.40303@paraboliclogic.com> <6148617B-6584-4CA4-BF6F-1074035F7D62@lacscentre.co.uk> <4415EFA9.10301@paraboliclogic.com> <44172580.1060905@paraboliclogic.com> <31e1938c0603141233r1bb8b97cy5023b24fbe875456@mail.gmail.com> <44173885.1090004@paraboliclogic.com> <31e1938c0603141407j17e059fci1bd6a32a8e3d0c62@mail.gmail.com> <31e1938c0603141434m5c3568dds75bb88c22328b409@mail.gmail.com> Message-ID: Hi Jonathan, > I am looking at the property inspector of a group right now, and I > see no > way give it rounded corners. (I am on Windows) > > Looking at the property inspector on a Mac, in which tab do you > have the > option to make a group have rounded corners? opaque groups with the default border width of 2 pixel have rounded corners "by nature" on OS X :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From sarah.reichelt at gmail.com Tue Mar 14 17:50:13 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 15 Mar 2006 08:50:13 +1000 Subject: Group Object? In-Reply-To: <31e1938c0603141434m5c3568dds75bb88c22328b409@mail.gmail.com> References: <4415DF2D.40303@paraboliclogic.com> <6148617B-6584-4CA4-BF6F-1074035F7D62@lacscentre.co.uk> <4415EFA9.10301@paraboliclogic.com> <44172580.1060905@paraboliclogic.com> <31e1938c0603141233r1bb8b97cy5023b24fbe875456@mail.gmail.com> <44173885.1090004@paraboliclogic.com> <31e1938c0603141407j17e059fci1bd6a32a8e3d0c62@mail.gmail.com> <31e1938c0603141434m5c3568dds75bb88c22328b409@mail.gmail.com> Message-ID: On 3/15/06, Jonathan Lynch wrote: > I am looking at the property inspector of a group right now, and I see no > way give it rounded corners. (I am on Windows) > > Looking at the property inspector on a Mac, in which tab do you have the > option to make a group have rounded corners? I don't do anything, They all have rounded corners. If you go to you'll see screden shots for my Pic-A-POD app in both Mac & Windows. Cick on the screen shots to see a larger image, the have a look near the bottom left of the window, where there are 3 checkboxes in a group labelled "Download pictures from". Both Mac & Window groups have rounded corners on their borders. Is this not what you were looking for? Sarah From scott at proherp.com Tue Mar 14 17:51:34 2006 From: scott at proherp.com (Scott Kane) Date: Wed, 15 Mar 2006 09:51:34 +1100 Subject: can someone show me a CRM solution In-Reply-To: Message-ID: <000201c647b9$d9819d70$0201010a@royalnexus> > Well, it depends on what you mean by a "cool control set"... > :-) I have a toolbar library that I'm using that does this, > and handles different sizes and icons, but doesn't have a > customize sheet yet... :-) Sounds like it'd make a good Rev add on product. I know I'd certainly be interested in it. Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.3/281 - Release Date: 14/03/2006 From jonathandlynch at gmail.com Tue Mar 14 17:52:08 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Tue, 14 Mar 2006 17:52:08 -0500 Subject: Making the move... In-Reply-To: <70ed6b130603141442u5e451c60g2e298b985516f09f@mail.gmail.com> References: <31e1938c0603140910x73f83aa2y73fc337250a8516c@mail.gmail.com> <70ed6b130603141442u5e451c60g2e298b985516f09f@mail.gmail.com> Message-ID: <31e1938c0603141452w3e23e49cubd7b64a326fc99f2@mail.gmail.com> Hmm... Dan, are sure there is no way to do a Web app in Rev? I mean, it seems like it should be possible. Perhaps I am misunderstanding what a web application is... But, you can use Rev to create web pages and respond to information put into a web page. And Rev can function as a server unto itself. Does the term web application only mean a program that is embedded in a browser, and displays inside the browser? From revolutionary.dan at gmail.com Tue Mar 14 18:02:46 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Tue, 14 Mar 2006 15:02:46 -0800 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? Message-ID: <70ed6b130603141502y6b65dca1mea2ffbeadc949eca@mail.gmail.com> Amazon announced today a new online mass storage system called S3 (Simple Storage Service) that sounds amazingly good and really cheap. They've published sample code in a bunch of languages. I wonder if anyone here (you eavesdropping again, Andre, you crazy Brazilian?) would care to tackle writing a Rev UI for it. Could be way cool. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From revolutionary.dan at gmail.com Tue Mar 14 18:04:12 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Tue, 14 Mar 2006 15:04:12 -0800 Subject: Making the move... In-Reply-To: <31e1938c0603141452w3e23e49cubd7b64a326fc99f2@mail.gmail.com> References: <31e1938c0603140910x73f83aa2y73fc337250a8516c@mail.gmail.com> <70ed6b130603141442u5e451c60g2e298b985516f09f@mail.gmail.com> <31e1938c0603141452w3e23e49cubd7b64a326fc99f2@mail.gmail.com> Message-ID: <70ed6b130603141504n71688ec7l1764ec5b439100d1@mail.gmail.com> Jonathan... I said "Web app as defined by Ruby on Rails." In their parlance -- which I think is fairly standard on the Web -- you create an application in a server-side language like PHP or Ruby and then you glue your browser interface to that application. Depending on how much of that definition you need to have, you can have lots of shades of gray. On 3/14/06, Jonathan Lynch wrote: > > Hmm... > > Dan, are sure there is no way to do a Web app in Rev? > > > I mean, it seems like it should be possible. Perhaps I am misunderstanding > what a web application is... > > But, you can use Rev to create web pages and respond to information put > into > a web page. And Rev can function as a server unto itself. > > > Does the term web application only mean a program that is embedded in a > browser, and displays inside the browser? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From mvreade at earthlink.net Tue Mar 14 18:17:58 2006 From: mvreade at earthlink.net (mvreade at earthlink.net) Date: Tue, 14 Mar 2006 18:17:58 -0500 Subject: Making the move... In-Reply-To: <70ed6b130603141442u5e451c60g2e298b985516f09f@mail.gmail.com> References: <31e1938c0603140910x73f83aa2y73fc337250a8516c@mail.gmail.com> <70ed6b130603141442u5e451c60g2e298b985516f09f@mail.gmail.com> Message-ID: Dan, Thank you for your response. The main thrust of my apps are as desktop apps, both LAN and WAN. However, there is an increasing interest in being able to select some artworks and on the desktop app and push the date to a web app for general viewing. So I anticipate that the web apps would be VERY simple, and it might even be possible to push the date into something like PHP-Fusion or Joomla! There's no need to reinvent the wheel. I have glimpsed at the "pickaxe" book on Ruby, and while it looks like a very elegant language, it sure is DEEP. I have ordered your book, by the way, and look forward to getting my hands on it. All the best, Michael On Mar 14, 2006, at 5:42 PM, Dan Shafer wrote: > Pardon me for jumping in here but I just went through a fairly > extensive and > intense period of working with Ruby on Rails and I'm a sort of long- > time > Revolutionary so I figured I could add something to the discussion. > > Web applications in the sense Ruby on Rails defines them cannot be > written > in Revolution. You *can* write CGIs and deploy stacks on servers > and Web > servers but there is, e.g., no Revolution plugin that would allow > you to > deploy a Rev app on a Web server so that a Firefox user could > access it. > > You can, however, develop what are called Desktop Web Appliances (see > http://www.daniels-mara.com/WebAppliances.htm) using Rev quite > nicely. And > with Altuit's amazingly powerful altBrowser ( > http://www.altuit.com/webs/altuit2/altBrowserCover/default.htm), > you can > create custom browsers that embed the behavior of Firefox and/or IE > on OS X > and Windows, respectively. And creating Web-aware Rev apps is > really a piece > of cake. > > So if you just need an app to be able to deal with the Internet/ > Web, Rev is > perfect. If, OTOH, you really need or want to build apps that > reside on the > Web and can be accessed out of standard Web browsers, then Rev > won't work. > In that case, Ruby on Rails is the best tool for creating such apps > as I've > seen but be forewarned: it's deceptively easy to do simple stuff in > RoR but > I found it dishearteningly difficult to use it to create anything > real even > after spending a lot of time, energy and money (see > http://www.danshafer.com/onemind/?q=node/43). > > As for REALBasic vs. Revolution, Johnathan Lynch is basically right on > target with his comments. I'd add one more: unless you already know > BASIC > syntax and/or have some familiarity with a Visual Basic-type > environment, > Real isn't going to be very easy to learn or use. And as far as I > can tell, > database stuff is far more mature and accessible in Rev than in Real. > > On 3/14/06, mvreade at earthlink.net wrote: >> >> I will. Could you please elaborate on the second question is asked: >> >> 2) Revolution vs Ruby on Rails? You mean to say you use Revolution >> to write browser enabled web-apps? Something I could access with >> Firefox? If so, I'd love to hear more. >> >> Thanks. >> >> Michael >> >> >> On Mar 14, 2006, at 12:10 PM, Jonathan Lynch wrote: >> >>> If you search the archives, you will find countless RunRev Vs. Real >>> Basic >>> discussions. >>> >>> I think it breaks down to your needs and your programming style. >>> For me, >>> RunRev and Transcript just fit with my brain really well. >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Information Product Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.shafermediastore.com/tech_main.html > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jonathandlynch at gmail.com Tue Mar 14 18:35:55 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Tue, 14 Mar 2006 18:35:55 -0500 Subject: Making the move... In-Reply-To: References: <31e1938c0603140910x73f83aa2y73fc337250a8516c@mail.gmail.com> <70ed6b130603141442u5e451c60g2e298b985516f09f@mail.gmail.com> Message-ID: <31e1938c0603141535h6c5f9ccap2a5b80ebb17900ab@mail.gmail.com> This is different from what Dan is talking about, if I understand correctly. You can have a Rev application that stores and retrieves data from the internet, and there are multiple ways to accomplish this. I am currently adapting Task Mage for file sharing from FTP sites. ---- Thanks Dan, my understanding of some of the terminology is somewhat weak at times. From davis.phil at comcast.net Tue Mar 14 18:39:56 2006 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 14 Mar 2006 15:39:56 -0800 Subject: filter question In-Reply-To: <4E2F8AE5-C569-49E3-8A7A-CECEEBC7A3D0@gmail.com> References: <4E2F8AE5-C569-49E3-8A7A-CECEEBC7A3D0@gmail.com> Message-ID: <4417544C.4000303@comcast.net> Chris Sheffield wrote: > I'm not really 100% sure to be honest. I think it's because in my case > I have to account for filtering with only a partial string. So for > example, if my user enters "a", the filter needs to return any records > where say the third item of each line begins with "a". Right. That's where my solution breaks down. It assumes that the "Filter" field is always complete before filtering occurs. I wonder if it would work with the addition of "*" at both ends of the Filter field? I don't see why that wouldn't work - then the filter will only be looking for a string of contiguous chars in that item of each line, rather than requiring the item to start or end with the chars. Phil Davis > Because Phil's solution uses tabs around the filter string (tab & fld > "filter" & tab), it doesn't work quite right for me. I tried a couple > different modifications, including placing *'s between the filter > string and the tabs, to make it work for me but couldn't find anything > that worked in all cases. > > Hope that provides you with a little more information. > > Chris > > > On Mar 14, 2006, at 12:25 PM, Jim Ault wrote: > >> Hey, Chris, >> >> I know you probably don't have the time, but I am wondering why Phil's >> solution did not work. I use the filter command all the time and >> Phil had >> the correct syntax and useage, as far as I could see. >> >> Mostly just curiosity to find exceptions or tricky problems for future >> reference. Surprised it did not work. >> >> Thanks, >> Jim Ault >> Las Vegas >> >> >> On 3/14/06 11:01 AM, "Chris Sheffield" wrote: >> >>> Thanks, Sarah. I ended up going with a solution similar to this to >>> get the job done. I thought Phil's suggestion would have worked, and >>> that's what I was trying to do, but unfortunately it didn't. >>> >>> But thanks to all who responded. >>> >>> Chris >>> >>> >>> On Mar 13, 2006, at 5:08 PM, Sarah Reichelt wrote: >>> >>>> It might be faster to filter the list simply to reduce it to lines >>>> that contain the filter string anywhere, and then do a loop to check >>>> if the filter string is in the correct item. >>>> >>>> -- gather the original data and the required settings >>>> put fld "List" into tList >>>> put fld "Filter into Filter >>>> put 3 into tItemNum >>>> >>>> -- do the first filter to reduce the list >>>> filter tList with "*" & tFilter & "*" >>>> >>>> -- loop through making sure it appears in the right item >>>> put empty into tMatches >>>> repeat for each line L in tList >>>> if item tItemNum of L contains tFilter then put L & cr after >>>> tMatches >>>> end repeat >>>> >>>> -- remove the trailing cr >>>> delete last char of tMatches >>>> >>>> -- display the matching results >>>> put tMatches into fld "Results" >>>> >>>> Sarah >>>> >>>> On 3/14/06, Phil Davis wrote: >>>> >>>>> Hi Chris, >>>>> >>>>> To filter on column 3, are you using something like this? >>>>> >>>>> put fld "list" into tList >>>>> filter tList \ >>>>> with "*" & tab & "*" & tab & fld "filter" & tab & "*" >>>>> put tList into fld "list" >>>>> >>>>> Phil Davis >>>>> >>>>> >>>>> Chris Sheffield wrote: >>>>> >>>>>> I'm trying to apply a filter to a list field. The columns of >>>>>> the field >>>>>> are tab delimited. I have a separate "filter" field that allows >>>>>> the >>>>>> user to apply a filter to the list based on whichever column is the >>>>>> current sort column. I can get the filter to work fine so long >>>>>> as the >>>>>> first column is selected, but anything else does not work. >>>>>> >>>>>> How can I apply a filter to a list based on say item 3 of each >>>>>> line of >>>>>> that list? Is that possible? >>>>>> >>>>>> Thanks, >>>>>> Chris From revolutionary.dan at gmail.com Tue Mar 14 18:46:40 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Tue, 14 Mar 2006 15:46:40 -0800 Subject: Making the move... In-Reply-To: References: <31e1938c0603140910x73f83aa2y73fc337250a8516c@mail.gmail.com> <70ed6b130603141442u5e451c60g2e298b985516f09f@mail.gmail.com> Message-ID: <70ed6b130603141546g7ab9f5a5v7ef10b5b1a4b5d75@mail.gmail.com> On 3/14/06, mvreade at earthlink.net wrote: However, there is an increasing interest in being able to select some artworks and on the desktop app and push the date to a web app for general viewing. So I anticipate that the web apps would be VERY simple, and it might even be possible to push the date into something like PHP-Fusion or Joomla! There's no need to reinvent the wheel. I agree. You can definitely use Rev for this kind of app. I've done it. Even if you had an app that demanded a server-side database, Rev is ideal. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From stephenREVOLUTION at barncard.com Tue Mar 14 19:02:05 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 14 Mar 2006 16:02:05 -0800 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: <70ed6b130603141502y6b65dca1mea2ffbeadc949eca@mail.gmail.com> References: <70ed6b130603141502y6b65dca1mea2ffbeadc949eca@mail.gmail.com> Message-ID: Dan -- Link, please if you have it....Google doesn't know about his yet. >Amazon announced today a new online mass storage system called S3 (Simple >Storage Service) that sounds amazingly good and really cheap. They've >published sample code in a bunch of languages. I wonder if anyone here (you >eavesdropping again, Andre, you crazy Brazilian?) would care to tackle >writing a Rev UI for it. Could be way cool. > >-- >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Dan Shafer, Information Product Consultant and Author -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From lan.kc.macmail at gmail.com Tue Mar 14 19:32:27 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 15 Mar 2006 08:32:27 +0800 Subject: Group Object? In-Reply-To: References: <6148617B-6584-4CA4-BF6F-1074035F7D62@lacscentre.co.uk> <4415EFA9.10301@paraboliclogic.com> <44172580.1060905@paraboliclogic.com> <31e1938c0603141233r1bb8b97cy5023b24fbe875456@mail.gmail.com> <44173885.1090004@paraboliclogic.com> <31e1938c0603141407j17e059fci1bd6a32a8e3d0c62@mail.gmail.com> <31e1938c0603141434m5c3568dds75bb88c22328b409@mail.gmail.com> Message-ID: Garrett Hylltun asked: Is there a panel object that has the same style of rounded corner border > like the tabpanel object? Or is there a way to achieve this using the > tabpanel without the tab buttons on it? > Had exactly the same problem yesterday. Jonathan Lynch answered: There is, of course, the rounded rectangle object. > Came to this conclusion also, because I had no idea about: Sarah Reichelt also answered: Make a group, set the showBorder to true and adjust the width of the > border until you get the right look. You may want to adjust the > margins of the group to get the edges further away from the objects > inside. > Brilliant, gone back and replaced my ugly 2D rectangle with a proper border. Looks so good I think I'll create a few more groups and place borders around them. Thanks Garrett for asking the question:-) From marcus_graham22 at yahoo.com Tue Mar 14 19:56:24 2006 From: marcus_graham22 at yahoo.com (marcus graham) Date: Tue, 14 Mar 2006 16:56:24 -0800 (PST) Subject: to many mails Message-ID: <20060315005624.33602.qmail@web31311.mail.mud.yahoo.com> dont send any mails --------------------------------- Yahoo! Mail Use Photomail to share photos without annoying attachments. From scott at proherp.com Tue Mar 14 19:57:33 2006 From: scott at proherp.com (Scott Kane) Date: Wed, 15 Mar 2006 11:57:33 +1100 Subject: to many mails In-Reply-To: <20060315005624.33602.qmail@web31311.mail.mud.yahoo.com> Message-ID: <001701c647cb$7377ebd0$0201010a@royalnexus> > dont send any mails See the bottom of this email, a list that you singed up for, for information on how to unsubscribe yourself. Scott Kane -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.3/281 - Release Date: 14/03/2006 From stephenREVOLUTION at barncard.com Tue Mar 14 20:00:19 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 14 Mar 2006 17:00:19 -0800 Subject: to many mails In-Reply-To: <20060315005624.33602.qmail@web31311.mail.mud.yahoo.com> References: <20060315005624.33602.qmail@web31311.mail.mud.yahoo.com> Message-ID: Then read the link at the bottom of your email and usub, dude, just the way you subscribed. >dont send any mails > >--------------------------------- > Yahoo! Mail > Use Photomail to share photos without annoying attachments. >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From scott at proherp.com Tue Mar 14 20:12:32 2006 From: scott at proherp.com (Scott Kane) Date: Wed, 15 Mar 2006 12:12:32 +1100 Subject: Vista Vis In-Reply-To: Message-ID: <001a01c647cd$8b27d8b0$0201010a@royalnexus> For those who are not on the beta team, or have not seen MS Vista running there are some screenshots (very poor ones) available at the link below (run by MSDN). Ignore the tripe about being the best operating system available. It's as close to OSX as they can get without a law suit. http://blogs.msdn.com/conblog/archive/2006/03/14/550826.aspx Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.3/281 - Release Date: 14/03/2006 From scott at proherp.com Tue Mar 14 20:32:29 2006 From: scott at proherp.com (Scott Kane) Date: Wed, 15 Mar 2006 12:32:29 +1100 Subject: POP 3 & SMTP In-Reply-To: <001a01c647cd$8b27d8b0$0201010a@royalnexus> Message-ID: <002201c647d0$54a1fe30$0201010a@royalnexus> Hi, I'm going to write a small application to assist myself and fellow moderators for Usenet. The home server sends requests for approval using email accounts, so no NNTP direct injection is needed. What I'm after is an example of POP3 and SMTP with Rev. I've looked at a couple and they don't seem to work (I'm testing on Win XP Pro). All thoughts, comments and abuse welcomes. Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.3/281 - Release Date: 14/03/2006 From scott at proherp.com Tue Mar 14 20:33:40 2006 From: scott at proherp.com (Scott Kane) Date: Wed, 15 Mar 2006 12:33:40 +1100 Subject: POP 3 & SMTP In-Reply-To: <002201c647d0$54a1fe30$0201010a@royalnexus> Message-ID: <002501c647d0$7ecb2510$0201010a@royalnexus> > for approval using email accounts, so no NNTP direct > injection is needed. That should read "NNTP direct injection is *not* needed". Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.3/281 - Release Date: 14/03/2006 From howard.bornstein at gmail.com Tue Mar 14 20:56:33 2006 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Tue, 14 Mar 2006 20:56:33 -0500 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: <200603142358.k2ENw1Zu028064@ms-smtp-02.rdc-nyc.rr.com> References: <200603142358.k2ENw1Zu028064@ms-smtp-02.rdc-nyc.rr.com> Message-ID: <3f07cc260603141756u25c55bdepc2dedace00f6d0f7@mail.gmail.com> On 3/14/06, Stephen Barncard wrote: > Dan -- Link, please if you have it....Google doesn't know about his yet. Here's the press release (watch for wrap): http://phx.corporate-ir.net/phoenix.zhtml?c=176060&p=irol-newsArticle&ID=830815&highlight= and here's the service info: http://aws.amazon.com/s3 -- Regards, Howard Bornstein ----------------------- www.designeq.com From jumpjacks at comcast.net Tue Mar 14 21:45:20 2006 From: jumpjacks at comcast.net (jumpjacks at comcast.net) Date: Wed, 15 Mar 2006 02:45:20 +0000 Subject: (no subject) Message-ID: <031520060245.20473.44177FC00006AA6000004FF922073000339C050C0E069F039A06@comcast.net> -- http://www.ecoquest.com/chendric From sarah.reichelt at gmail.com Tue Mar 14 21:56:44 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 15 Mar 2006 12:56:44 +1000 Subject: POP 3 & SMTP In-Reply-To: <002201c647d0$54a1fe30$0201010a@royalnexus> References: <001a01c647cd$8b27d8b0$0201010a@royalnexus> <002201c647d0$54a1fe30$0201010a@royalnexus> Message-ID: On 3/15/06, Scott Kane wrote: > Hi, > > I'm going to write a small application to assist myself and fellow > moderators for Usenet. The home server sends requests for approval > using email accounts, so no NNTP direct injection is needed. What > I'm after is an example of POP3 and SMTP with Rev. I've looked at > a couple and they don't seem to work (I'm testing on Win XP Pro). > I have a library for each, which you can get from . I'm a Mac person so they have only been extensively tested on Macs, but it shouldn't be any different on Windows. Each library comes with a demo stack for testing. Let me know if you have any problems or if you have any feature requests. Cheers, Sarah From revolutionary.dan at gmail.com Tue Mar 14 22:01:54 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Tue, 14 Mar 2006 19:01:54 -0800 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: <3f07cc260603141756u25c55bdepc2dedace00f6d0f7@mail.gmail.com> References: <200603142358.k2ENw1Zu028064@ms-smtp-02.rdc-nyc.rr.com> <3f07cc260603141756u25c55bdepc2dedace00f6d0f7@mail.gmail.com> Message-ID: <70ed6b130603141901v1b87c437gfd5a6d94233ed77d@mail.gmail.com> Thanks for being speedier than me, Howard! I actually put a link in my original email but apparently managed to hit the backspace key before sending. On 3/14/06, Howard Bornstein wrote: > > On 3/14/06, Stephen Barncard wrote: > > Dan -- Link, please if you have it....Google doesn't know about his yet. > > Here's the press release (watch for wrap): > > > http://phx.corporate-ir.net/phoenix.zhtml?c=176060&p=irol-newsArticle&ID=830815&highlight= > > and here's the service info: > > http://aws.amazon.com/s3 > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From Stgoldberg at aol.com Tue Mar 14 22:28:22 2006 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Tue, 14 Mar 2006 22:28:22 EST Subject: Can't delete standalone in Windows Message-ID: <77.5757bdac.3148e3d6@aol.com> Regarding the inability to trash certain standalones that are transferred from Mac to Windows, it does appear that I can trash the standalone in Windows using control-alt-delete. But to prevent the problem in the first place, you are correct, Scott, that quitting the program through the "Quit" command, rather than the close box in the titlebar prevents the problem. Thus, the solution seems to be to not build in a close box in the standalone titlebar. Thanks Scott. I love this group. Steve Goldberg In a message dated 3/14/06 5:35:41 PM, use-revolution-request at lists.runrev.com writes: > From: "Scott Kane" > Subject: RE: Can't delete standalone in Windows > To: "'How to use Revolution'" > Message-ID: <000401c647a9$fcb9adb0$0201010a at royalnexus> > Content-Type: text/plain;? ? charset="windows-1250" > > > > "Cannot delete (the program). Access is denied.?? Make sure > > the disk is not > > full or write protected and that the file in not currently in use." > > Use the CTRL + Delete key.? You'll see your app running there still. > You can close it from there.? To avoid this be sure to implicitly call > Quit in the application when closing down. > > Scott > From scott at proherp.com Tue Mar 14 22:35:59 2006 From: scott at proherp.com (Scott Kane) Date: Wed, 15 Mar 2006 14:35:59 +1100 Subject: Can't delete standalone in Windows In-Reply-To: <77.5757bdac.3148e3d6@aol.com> Message-ID: <000301c647e1$955d6f20$0201010a@royalnexus> Steve, > are correct, Scott, that quitting the program through the > "Quit" command, > rather than the close box in the titlebar prevents the > problem. Thus, the > solution seems to be to not build in a close box in the > standalone titlebar. A better solution is to place the Quit command in the On CloseStack event... Then it'll work with the title bar as well. :-) > Scott. I love this group. The people here are awesome! They've really helped me a heap and I am very grateful to be able to pitch in sometimes. Cheers Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.3/281 - Release Date: 14/03/2006 From soapdog at mac.com Tue Mar 14 22:36:15 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 15 Mar 2006 00:36:15 -0300 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: <70ed6b130603141502y6b65dca1mea2ffbeadc949eca@mail.gmail.com> References: <70ed6b130603141502y6b65dca1mea2ffbeadc949eca@mail.gmail.com> Message-ID: <7F70B15B-34DB-40F6-B9D9-71D96318830B@mac.com> Dan, It's based on REST and SOAP... I'll try to cook something for it on the weekend! :D (I wonder, we sometimes really need a SOAP library) Cheers andre On Mar 14, 2006, at 8:02 PM, Dan Shafer wrote: > Amazon announced today a new online mass storage system called S3 > (Simple > Storage Service) that sounds amazingly good and really cheap. They've > published sample code in a bunch of languages. I wonder if anyone > here (you > eavesdropping again, Andre, you crazy Brazilian?) would care to tackle > writing a Rev UI for it. Could be way cool. > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Information Product Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.shafermediastore.com/tech_main.html > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Tue Mar 14 22:37:06 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 15 Mar 2006 00:37:06 -0300 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: References: <70ed6b130603141502y6b65dca1mea2ffbeadc949eca@mail.gmail.com> Message-ID: <84F30816-BB8E-4279-BBF6-C22CB570EC5D@mac.com> Stephen, you asked, and you shall receive: http://www.amazon.com/gp/ browse.html/ref=sc_fe_l_2/102-6090063-3048902?% 5Fencoding=UTF8&node=16427261&no=3435361&me=A36L942TSJ2AJA the link... Cheers andre On Mar 14, 2006, at 9:02 PM, Stephen Barncard wrote: > Dan -- Link, please if you have it....Google doesn't know about his > yet. > >> Amazon announced today a new online mass storage system called S3 >> (Simple >> Storage Service) that sounds amazingly good and really cheap. They've >> published sample code in a bunch of languages. I wonder if anyone >> here (you >> eavesdropping again, Andre, you crazy Brazilian?) would care to >> tackle >> writing a Rev UI for it. Could be way cool. >> >> -- >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Dan Shafer, Information Product Consultant and Author > > -- > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Tue Mar 14 22:40:33 2006 From: chipp at chipp.com (Chipp Walters) Date: Tue, 14 Mar 2006 21:40:33 -0600 Subject: POP 3 & SMTP In-Reply-To: <002201c647d0$54a1fe30$0201010a@royalnexus> References: <002201c647d0$54a1fe30$0201010a@royalnexus> Message-ID: <44178CB1.7000606@chipp.com> Hi Scott, Don't know if you checked it out yet, but I have a pretty straightforward harness wrapped around Sean Shao's excellent libSmtp253 available. It's called altEmailHarness at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm (bottom of the page) best, Chipp From chipp at chipp.com Tue Mar 14 22:41:51 2006 From: chipp at chipp.com (Chipp Walters) Date: Tue, 14 Mar 2006 21:41:51 -0600 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: <7F70B15B-34DB-40F6-B9D9-71D96318830B@mac.com> References: <70ed6b130603141502y6b65dca1mea2ffbeadc949eca@mail.gmail.com> <7F70B15B-34DB-40F6-B9D9-71D96318830B@mac.com> Message-ID: <44178CFF.4040103@chipp.com> Hey Andre, You coming to RevConWest this year? I know you haven't missed one yet :-) -Chipp From soapdog at mac.com Tue Mar 14 22:49:24 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 15 Mar 2006 00:49:24 -0300 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: <44178CFF.4040103@chipp.com> References: <70ed6b130603141502y6b65dca1mea2ffbeadc949eca@mail.gmail.com> <7F70B15B-34DB-40F6-B9D9-71D96318830B@mac.com> <44178CFF.4040103@chipp.com> Message-ID: Chipp, not only I plan to come, but, I plan something huge!!!! The only issue is that the day has only 24h and I simply can't code enough! I think that in couple days, you guys will see a very nice annoucement. I really want to go this year, as a sponsor, same as last year! and I promisse that two weeks before RevConWest, I'll take a conversation english course so that I arrive there with less accent! Cheers andre On Mar 15, 2006, at 12:41 AM, Chipp Walters wrote: > Hey Andre, > > You coming to RevConWest this year? I know you haven't missed one > yet :-) > > -Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Tue Mar 14 22:50:11 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 14 Mar 2006 19:50:11 -0800 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: <3f07cc260603141756u25c55bdepc2dedace00f6d0f7@mail.gmail.com> References: <200603142358.k2ENw1Zu028064@ms-smtp-02.rdc-nyc.rr.com> <3f07cc260603141756u25c55bdepc2dedace00f6d0f7@mail.gmail.com> Message-ID: This is pretty neat. yes, anyone going for a REV library for this? Just the existence of a REV library along with Java, Ruby, C# and PERL would get Rev some more legitimacy out there... sqb >On 3/14/06, Stephen Barncard wrote: >> Dan -- Link, please if you have it....Google doesn't know about his yet. > >Here's the press release (watch for wrap): > >http://phx.corporate-ir.net/phoenix.zhtml?c=176060&p=irol-newsArticle&ID=830815&highlight= > >and here's the service info: > >http://aws.amazon.com/s3 > >-- >Regards, > >Howard Bornstein >----------------------- >www.designeq.com -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From scott at proherp.com Tue Mar 14 22:51:28 2006 From: scott at proherp.com (Scott Kane) Date: Wed, 15 Mar 2006 14:51:28 +1100 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Doa Rev Interface? In-Reply-To: <44178CFF.4040103@chipp.com> Message-ID: <000801c647e3$bf2aa870$0201010a@royalnexus> > You coming to RevConWest this year? I know you haven't missed > one yet :-) Wish we had more developers down under. RevConOz would be great. Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.3/281 - Release Date: 14/03/2006 From soapdog at mac.com Tue Mar 14 23:05:54 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 15 Mar 2006 01:05:54 -0300 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: References: <200603142358.k2ENw1Zu028064@ms-smtp-02.rdc-nyc.rr.com> <3f07cc260603141756u25c55bdepc2dedace00f6d0f7@mail.gmail.com> Message-ID: Folks, I am looking into it right now. The authentication needs HMAC/SHA1 encryption, do we have that in Rev? If we can assemble the AWS authentication the rest is pretty easy. Cheers andre On Mar 15, 2006, at 12:50 AM, Stephen Barncard wrote: > This is pretty neat. yes, anyone going for a REV library for this? > Just the existence of a REV library along with Java, Ruby, C# and > PERL would get Rev some more legitimacy out there... > > sqb > > >> On 3/14/06, Stephen Barncard wrote: >>> Dan -- Link, please if you have it....Google doesn't know about >>> his yet. >> >> Here's the press release (watch for wrap): >> >> http://phx.corporate-ir.net/phoenix.zhtml?c=176060&p=irol- >> newsArticle&ID=830815&highlight= >> >> and here's the service info: >> >> http://aws.amazon.com/s3 >> >> -- >> Regards, >> >> Howard Bornstein >> ----------------------- >> www.designeq.com > > -- > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Tue Mar 14 23:04:07 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 14 Mar 2006 20:04:07 -0800 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: References: <70ed6b130603141502y6b65dca1mea2ffbeadc949eca@mail.gmail.com> <7F70B15B-34DB-40F6-B9D9-71D96318830B@mac.com> <44178CFF.4040103@chipp.com> Message-ID: Andre, your English is FINE! and you're funny too! It will be great to see your smiling self again... sqb >Chipp, > >not only I plan to come, but, I plan something huge!!!! The only >issue is that the day has only 24h and I simply can't code enough! I >think that in couple days, you guys will see a very nice annoucement. > >I really want to go this year, as a sponsor, same as last year! and >I promisse that two weeks before RevConWest, I'll take a >conversation english course so that I arrive there with less accent! > >Cheers >andre > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From 3mcgrath at adelphia.net Tue Mar 14 23:31:32 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 14 Mar 2006 23:31:32 -0500 Subject: The long answer on when to use a function vs command Message-ID: <1A0956C4-8524-461D-81AE-7450C3FF06D5@adelphia.net> Hello listeroos, Can someone give the long answer on when is it best to use a function versus a command? I have a lot to write of both commands and functions and have been overly confusing myself. Please give at least two examples each with parameters and how to call/use them. Much appreciated, Tom Thomas J McGrath III 3mcgrath at adelphia.net 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 From ambassador at fourthworld.com Tue Mar 14 23:46:36 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Mar 2006 20:46:36 -0800 Subject: Making the move... In-Reply-To: <20060315030531.063AD8260CC@mail.runrev.com> References: <20060315030531.063AD8260CC@mail.runrev.com> Message-ID: <44179C2C.4060304@fourthworld.com> Dan Shafer wrote: > Web applications in the sense Ruby on Rails defines them cannot be written > in Revolution. Since that definition requires the Ruby language and that it be on "rails", nothing can satisfy it except Ruby on Rails. :) But DHTML (or AJAX* as the kids now call it) is just ASCII, and Transcript is unusually adept at parsing, concatenating, and merging text. And behind the presentation layer a database is a database, and interfacing it is always only as graceful as the self-discipline of the developer, regardless of the language. Frameworks are not a new invention, and certainly not unique to RoR. If the goal is to meet someone else's very specific definition of a development paradigm, sure, Transcript may not be able to do exactly that. But if the goal is to deliver the benefits of productive, flexible systems, Transcript can prove quite capable in ways that may surprise. Extra bonus points: With Rev you have the option of moving beyond Web 2.0 as in , and moving right up to Web 3.0 a la . :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com * I'm so old when I hear "Ajax" I think of . From kray at sonsothunder.com Tue Mar 14 23:46:14 2006 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 14 Mar 2006 22:46:14 -0600 Subject: The long answer on when to use a function vs command In-Reply-To: <1A0956C4-8524-461D-81AE-7450C3FF06D5@adelphia.net> Message-ID: On 3/14/06 10:31 PM, "Thomas McGrath III" <3mcgrath at adelphia.net> wrote: > Hello listeroos, > > Can someone give the long answer on when is it best to use a function > versus a command? I have a lot to write of both commands and > functions and have been overly confusing myself. Please give at least > two examples each with parameters and how to call/use them. In general, you use functions when you want to return some value, and you use commands to "execute" things. However, both constructs allow you to do both, so it's really a matter of preference. An example of a typical function: on mouseUp put addEmUp(5,10,20) into field 1 end mouseUp function addEmUp pNum1,pNum2,pNum3 put pNum1+pNum2+pNum3 into tTotal return tTotal end addEmUp and a typical command: on mouseUp NotifyUser "We're done!" end mouseUp on NotifyUser pMsg put "Just wanted to tell you:" && pMsg into tText answer tText end NotifyUser However you could (if you wanted to), reverse them: A function as a command: on mouseUp addEmUp 5,10,20 put the result into field 1 end mouseUp on addEmUp pNum1,pNum2,pNum3 put pNum1+pNum2+pNum3 into tTotal return tTotal end addEmUp A command as a function: on mouseUp get NotifyUser("We're done!") end mouseUp function NotifyUser pMsg put "Just wanted to tell you:" && pMsg into tText answer tText end NotifyUser Your call as to how to use them... but in general, a function returns a value and a command doesn't. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From soapdog at mac.com Wed Mar 15 00:29:44 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 15 Mar 2006 02:29:44 -0300 Subject: The long answer on when to use a function vs command In-Reply-To: References: Message-ID: <927DD39C-D71E-4B9A-BF56-6B100485093A@mac.com> Also, one important thing to notice is that commands (I am the only one that call them handlers?) do travel the message path so you can use all the message path 'manipulators' to work on them. For example for a simple timeout routine: on timeout answer "Timeout!!!!" end timeout on doSomething local tTimeoutMsgID send timeout to me in 15 seconds put the result into tTimeoutMsgID -- Stores the message ID for the send in time operation doSomethingThatWillTakeTime cancel tTimeoutMsgID end doSomething So if the doSomethingThatWillTakeTime takes more than 15 seconds the timeout message will trigger, if not, the cancel operation will cancel the pendingMessage. This behaviour is much more complicate to achieve using functions for you can't send a function in time. My *style* is Cases when I use Commands/Handlers: When the code should be used with a 'send in time' opetation. When the command should be considered an Event, as in UI Events, Server transaction events, game workflow events. When I want OOP-style inheritance, like messages travelling up the message path from object->card->stack. Cases when I use functions: all the quick routines that simply are supposed to receive arguments and output results. All the repetitive tasks, if I identiy a piece of code that is used in two or more handlers, I make that piece a function and remove it from the handler. I tend to think like Commands own the code and functions are handy things that Commands use. When I think a program, I think which events will happen, I then code them as Commands/Messages/Handlers then I make all the functions needed by those handlers. Thats how I think, which, I think is not how everyone thinks... Cheers andre On Mar 15, 2006, at 1:46 AM, Ken Ray wrote: > On 3/14/06 10:31 PM, "Thomas McGrath III" <3mcgrath at adelphia.net> > wrote: > >> Hello listeroos, >> >> Can someone give the long answer on when is it best to use a function >> versus a command? I have a lot to write of both commands and >> functions and have been overly confusing myself. Please give at least >> two examples each with parameters and how to call/use them. > > In general, you use functions when you want to return some value, > and you > use commands to "execute" things. However, both constructs allow > you to do > both, so it's really a matter of preference. > > An example of a typical function: > > on mouseUp > put addEmUp(5,10,20) into field 1 > end mouseUp > > function addEmUp pNum1,pNum2,pNum3 > put pNum1+pNum2+pNum3 into tTotal > return tTotal > end addEmUp > > and a typical command: > > on mouseUp > NotifyUser "We're done!" > end mouseUp > > on NotifyUser pMsg > put "Just wanted to tell you:" && pMsg into tText > answer tText > end NotifyUser > > However you could (if you wanted to), reverse them: > > A function as a command: > > on mouseUp > addEmUp 5,10,20 > put the result into field 1 > end mouseUp > > on addEmUp pNum1,pNum2,pNum3 > put pNum1+pNum2+pNum3 into tTotal > return tTotal > end addEmUp > > A command as a function: > > on mouseUp > get NotifyUser("We're done!") > end mouseUp > > function NotifyUser pMsg > put "Just wanted to tell you:" && pMsg into tText > answer tText > end NotifyUser > > Your call as to how to use them... but in general, a function > returns a > value and a command doesn't. > > HTH, > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From davis.phil at comcast.net Wed Mar 15 00:31:16 2006 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 14 Mar 2006 21:31:16 -0800 Subject: Making the move... [way OT] In-Reply-To: <44179C2C.4060304@fourthworld.com> References: <20060315030531.063AD8260CC@mail.runrev.com> <44179C2C.4060304@fourthworld.com> Message-ID: <4417A6A4.1060107@comcast.net> Richard Gaskin wrote: -- snip -- > * I'm so old when I hear "Ajax" I think of > . I think of the jingle I heard on TV as a kid: http://pdslabs.net/ajax-foaming-cleanser-50a.wav Phil Davis From mwieder at ahsoftware.net Wed Mar 15 00:36:13 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 14 Mar 2006 21:36:13 -0800 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: <3f07cc260603141756u25c55bdepc2dedace00f6d0f7@mail.gmail.com> References: <200603142358.k2ENw1Zu028064@ms-smtp-02.rdc-nyc.rr.com> <3f07cc260603141756u25c55bdepc2dedace00f6d0f7@mail.gmail.com> Message-ID: <12344666617.20060314213613@ahsoftware.net> Howard- Tuesday, March 14, 2006, 5:56:33 PM, you wrote: > http://aws.amazon.com/s3 ...it's got a BitTorrent interface !!! -- -Mark Wieder mwieder at ahsoftware.net From soapdog at mac.com Wed Mar 15 00:37:18 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 15 Mar 2006 02:37:18 -0300 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: <12344666617.20060314213613@ahsoftware.net> References: <200603142358.k2ENw1Zu028064@ms-smtp-02.rdc-nyc.rr.com> <3f07cc260603141756u25c55bdepc2dedace00f6d0f7@mail.gmail.com> <12344666617.20060314213613@ahsoftware.net> Message-ID: <045632CB-82DD-48E4-AC5C-839BB64D6DEB@mac.com> Mark, it still required HMAC/SHA1 authentication which I think our current implementation of encrypt can't generate... Cheers andre On Mar 15, 2006, at 2:36 AM, Mark Wieder wrote: > Howard- > > Tuesday, March 14, 2006, 5:56:33 PM, you wrote: > >> http://aws.amazon.com/s3 > > ...it's got a BitTorrent interface !!! > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Wed Mar 15 00:57:53 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 15 Mar 2006 02:57:53 -0300 Subject: can someone show me a CRM solution In-Reply-To: References: Message-ID: Ken, I've seen the screens for mac and the project part... those grid fields are amazing, are they stacked objects? the wonderfull popup inside flds to select "executive producer" and stuff, pretty cool Cheers andre On Mar 14, 2006, at 6:20 PM, Ken Ray wrote: > On 3/14/06 2:17 PM, "Thom Wright" > wrote: > >> If possible, could someone point me towards a CRM solution created >> with >> runrev. > > It's vertical market for the entertainment industry: > > http://www.inentertainment.com/ > > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Wed Mar 15 01:03:36 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Mar 2006 00:03:36 -0600 Subject: to many mails In-Reply-To: References: <20060315005624.33602.qmail@web31311.mail.mud.yahoo.com> Message-ID: <4417AE38.6060903@hyperactivesw.com> Stephen Barncard wrote: > Then read the link at the bottom of your email and usub, dude, just the > way you subscribed. Actually, it's possible he doesn't know how he got subscribed. The last time I looked, there was a checkbox that subscribed you to the list when you downloaded the trial version. If you don't notice and don't uncheck it, here you are. Most people understand what to do, but some others don't know what a mailing list is and don't know why they are being flooded. You and I, on the other hand, understand why we are being flooded and we put up with it anyway. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Wed Mar 15 01:04:43 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 15 Mar 2006 00:04:43 -0600 Subject: can someone show me a CRM solution In-Reply-To: Message-ID: On 3/14/06 11:57 PM, "Andre Garzia" wrote: > Ken, > > I've seen the screens for mac and the project part... those grid > fields are amazing, are they stacked objects? the wonderfull popup > inside flds to select "executive producer" and stuff, pretty cool Thanks! Richard did the basis for the grid fields, which I added and modified later on... they're not stacked objects but multiple objects in a group (a main field with gridlines turned on, buttons over each column for titles, invisible buttons between column headers to get the drag-resizing ability, a bunch of custom properties and a library to handle it all). Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From soapdog at mac.com Wed Mar 15 01:11:40 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 15 Mar 2006 03:11:40 -0300 Subject: can someone show me a CRM solution In-Reply-To: References: Message-ID: <1B321E70-9FCB-4EE6-9D8D-E9E7616A1F8A@mac.com> Ken, Okay, you can say that I am officially amazed!!!! :D You know, you should take grabs of all those stuff, create slide show and we can have a silent session at RevConWest called "watch and wonder"... We can throw in some Jerry Daniels interfaces and Scott Rossi marvels, then, after, we could create a military scale extraction plan to remove you guys from the building before people started asking "How on earth can those things be done!!!!" ;-) Andre On Mar 15, 2006, at 3:04 AM, Ken Ray wrote: > On 3/14/06 11:57 PM, "Andre Garzia" wrote: > >> Ken, >> >> I've seen the screens for mac and the project part... those grid >> fields are amazing, are they stacked objects? the wonderfull popup >> inside flds to select "executive producer" and stuff, pretty cool > > Thanks! Richard did the basis for the grid fields, which I added and > modified later on... they're not stacked objects but multiple > objects in a > group (a main field with gridlines turned on, buttons over each > column for > titles, invisible buttons between column headers to get the drag- > resizing > ability, a bunch of custom properties and a library to handle it all). > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Wed Mar 15 01:16:02 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Mar 2006 00:16:02 -0600 Subject: The long answer on when to use a function vs command In-Reply-To: <1A0956C4-8524-461D-81AE-7450C3FF06D5@adelphia.net> References: <1A0956C4-8524-461D-81AE-7450C3FF06D5@adelphia.net> Message-ID: <4417B122.3070902@hyperactivesw.com> Thomas McGrath III wrote: > Hello listeroos, > > Can someone give the long answer on when is it best to use a function > versus a command? I have a lot to write of both commands and functions > and have been overly confusing myself. Please give at least two > examples each with parameters and how to call/use them. This may help: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From davis.phil at comcast.net Wed Mar 15 01:39:44 2006 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 14 Mar 2006 22:39:44 -0800 Subject: The long answer on when to use a function vs command In-Reply-To: <1A0956C4-8524-461D-81AE-7450C3FF06D5@adelphia.net> References: <1A0956C4-8524-461D-81AE-7450C3FF06D5@adelphia.net> Message-ID: <4417B6B0.9080209@comcast.net> Hi Tom, Here are some simple ways I figure out whether to use a command or a function in a given situation. A function name can naturally take on the role of a noun in a sentence. Or in RunRev terms, it can naturally fill the role of a containerName. A good function name can really improve the readability of the code in those places where it is used. put selectedTunes() into fld "tuneList" put cardObjectIDs("firstCard") into tObjectList if errorCount() > 3 then... In each of the above cases, a function name takes the place of a subprocess that is probably secondary to the purpose of the calling handler. That secondary code is moved to a place of its own, where it can be appreciated for its value instead of cursed as a distraction, as it might be if it were coded inline. Without functions, code would be a lot harder to read. A command name can be a short imperative sentence without the spaces: refreshMembersList closeCurrentScreen startMotor moveRobotArm "left",5 -- this one has 2 parameters If at a given spot in your code, you can describe what needs to be done in a short sentence like the ones above, a command will probably serve well in that spot. This isn't exactly what you asked for, but maybe it helps. Phil Davis Thomas McGrath III wrote: > Hello listeroos, > > Can someone give the long answer on when is it best to use a function > versus a command? I have a lot to write of both commands and functions > and have been overly confusing myself. Please give at least two > examples each with parameters and how to call/use them. > > Much appreciated, > > Tom > > > Thomas J McGrath III > 3mcgrath at adelphia.net > > 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 From scott at proherp.com Wed Mar 15 03:07:47 2006 From: scott at proherp.com (Scott Kane) Date: Wed, 15 Mar 2006 19:07:47 +1100 Subject: can someone show me a CRM solution In-Reply-To: <1B321E70-9FCB-4EE6-9D8D-E9E7616A1F8A@mac.com> Message-ID: <000101c64807$8d4a3720$0201010a@royalnexus> > Okay, you can say that I am officially amazed!!!! :D > > You know, you should take grabs of all those stuff, create > slide show > and we can have a silent session at RevConWest called "watch and > wonder"... We can throw in some Jerry Daniels interfaces and Scott > Rossi marvels, then, after, we could create a military scale > extraction plan to remove you guys from the building before people > started asking "How on earth can those things be done!!!!" It'd be great if more people on the list could show off screenshots of what they've achieved in Rev. I mean - we know, now, that Ken's doing some cool things, and we know Chipp is a past master of great looking Windows GUI's. But it'd be nice to see what other people have achieved too. Could be rather insperational. Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.3/281 - Release Date: 14/03/2006 From lan.kc.macmail at gmail.com Wed Mar 15 05:40:26 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 15 Mar 2006 18:40:26 +0800 Subject: Not connecting to MySQL 5 Message-ID: OSX.4.5 Rev 2.6.1 MySQL 5.0.18 Standard connect via localhost Just upgraded MySQL from 4 to 5, which was a bit of a drag because the download wasn't the usual install package (.dmg) but expanded out to a normal folder filled with all the goodies. Took a while to figure out what I had to do to move the folder where it needed to go. Anyway, eventually got eveything up and running, I can start MySQL the usual way using the Prefence Pane. I can connect to all my data using CocoaMySQL - which confirms that MySQL 5.0.18 standard is running. Unfortunately my stacks don't work. The result of: put revOpenDatabase("MySQL",,"dbname","dbusr","usrpassword") into gDatabaseID is "Client does not support authentication protocol requested by server; consider upgrading MySQL client" The above function appears in an openstack handler after a bunch of other stuff happens, but even if I just run the funcion in the message box I get the same result. Is Rev 2.6.1 incompatible with MySQL 5? I checked revzilla and I didn't see anything there. I notice also that Ken Ray was asking about MySQL 5 - did you eventually upgrade to 5 and is it working for you? Any advice appreciated. From mb.ur at harbourhost.co.uk Wed Mar 15 06:20:00 2006 From: mb.ur at harbourhost.co.uk (Martin Baxter) Date: Wed, 15 Mar 2006 11:20:00 +0000 Subject: Not connecting to MySQL 5 In-Reply-To: References: Message-ID: <4417F860.5060405@harbourhost.co.uk> You need to use a login account whose password is in OLD_PASSWORD format. Rev can't do the newer format. See MySQL docs for info in the problems and common errors section. Martin Kay C Lan wrote: > OSX.4.5 > Rev 2.6.1 > MySQL 5.0.18 Standard > connect via localhost > > Just upgraded MySQL from 4 to 5, which was a bit of a drag because the > download wasn't the usual install package (.dmg) but expanded out to a > normal folder filled with all the goodies. Took a while to figure out what I > had to do to move the folder where it needed to go. > > Anyway, eventually got eveything up and running, I can start MySQL the usual > way using the Prefence Pane. I can connect to all my data using CocoaMySQL - > which confirms that MySQL 5.0.18 standard is running. > > Unfortunately my stacks don't work. The result of: > > put revOpenDatabase("MySQL",,"dbname","dbusr","usrpassword") into > gDatabaseID > > is "Client does not support authentication protocol requested by server; > consider upgrading MySQL client" > > The above function appears in an openstack handler after a bunch of other > stuff happens, but even if I just run the funcion in the message box I get > the same result. > > Is Rev 2.6.1 incompatible with MySQL 5? > > I checked revzilla and I didn't see anything there. > > I notice also that Ken Ray was asking about MySQL 5 - did you eventually > upgrade to 5 and is it working for you? > > Any advice appreciated. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stevenf at gmail.com Wed Mar 15 07:01:56 2006 From: stevenf at gmail.com (Steven Fernandez) Date: Wed, 15 Mar 2006 08:01:56 -0400 Subject: Best source for examples In-Reply-To: <70ed6b130603081045k19d69846w88aa36356372399@mail.gmail.com> References: <00dc01c63bbd$bb2fd650$1500a8c0@ACERLaptop> <70ed6b130603081045k19d69846w88aa36356372399@mail.gmail.com> Message-ID: <768fa4fc0603150401v705843b5se9454a2b19678f49@mail.gmail.com> I was in your shoes and Dan's book was a great start. On 3/8/06, Dan Shafer wrote: > > Andy.... > > Welcome to the Revolution! > > At the risk of being accused of shameless self-promotion (OK, it *is* > shameless self-promotion), you might benefit by reading my book, > "REvolution: Software at the Speed of Thought," available through Shafer > Media Store at http://www.shafermediastore.com/tech_main.html in both PDF > and printed form. > > The other suggestions folks have made here are valuable as well. > > > On 2/27/06, Andy wrote: > > > > Can anyone point me to some resources, examples etc for Rev? I'm new to > it > > (i.e. last Friday), and being a PHP programmer, I'm still trying to get > my > > head around the concepts! > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Information Product Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > >From http://www.shafermediastore.com/tech_main.html > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From a.calloway at callowaygreen.com Wed Mar 15 07:47:01 2006 From: a.calloway at callowaygreen.com (Andy Calloway) Date: Wed, 15 Mar 2006 12:47:01 -0000 Subject: Best source for examples In-Reply-To: <768fa4fc0603150401v705843b5se9454a2b19678f49@mail.gmail.com> Message-ID: <002d01c6482e$8e374480$0200a8c0@ACERLaptop> Just bought it and printing it out now. I've been sat here with RunRev on my laptop having the odd play with it and not really doing anything serious so as it's lunchtime I think it's time to have a go! Andy. > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Steven Fernandez > Sent: 15 March 2006 12:02 > To: How to use Revolution > Subject: Re: Best source for examples > > I was in your shoes and Dan's book was a great start. > > From wdesmet at wanadoo.nl Wed Mar 15 07:51:35 2006 From: wdesmet at wanadoo.nl (William de Smet) Date: Wed, 15 Mar 2006 13:51:35 +0100 Subject: Can anyone explain me how to shorten the code I use? Message-ID: Hi there, I've picked up Rev today after a while and started a new app. I noticed how it amused me again but there is still one thing I don't understand: I have repeating code and I don't know how to shorten it. In my app I will use 25 fields and they need to be checked: --field "naam1" if the text of field "naam1" = empty and the selectedtext of button "naam1nivo" = "1" then answer error "Naam van leerling 1 mag niet leeg zijn!" if the text of field "naam1" = empty and the selectedtext of button "naam1nivo" = "2" then answer error "Naam van leerling 1 mag niet leeg zijn!" if the text of field "naam1" = empty and the selectedtext of button "naam1nivo" = "3" then answer error "Naam van leerling 1 mag niet leeg zijn!" if the text of field "naam1" = empty and the selectedtext of button "naam1nivo" = "4" then answer error "Naam van leerling 1 mag niet leeg zijn!" if the text of field "naam1" = empty and the selectedtext of button "naam1nivo" = "5" then answer error "Naam van leerling 1 mag niet leeg zijn!" if the text of field "naam1" = empty and the selectedtext of button "naam1nivo" = "6" then answer error "Naam van leerling 1 mag niet leeg zijn!" if the text of field "naam1" = empty and the selectedtext of button "naam1nivo" = "7" then answer error "Naam van leerling 1 mag niet leeg zijn!" if the text of field "naam1" is not empty and the selectedtext of button "naam1nivo" = "..." then answer error "Niveau van leerling 1 mag niet leeg zijn!" if the text of field "naam1" = empty and the selectedtext of button "naam1nivo" = "..." then put "" into tData else put field "naam1" && the selection of button "naam1nivo" &cr into tData So can anyone help to shorten the code (because I have 25 fields)? Greetings from a cold but sunny Holland, William de Smet From mark at maseurope.net Wed Mar 15 08:37:53 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 15 Mar 2006 13:37:53 +0000 Subject: Can anyone explain me how to shorten the code I use? In-Reply-To: References: Message-ID: William, you can build the names of controls as you go, like so: repeat with n = 1 to 25 put "naam" & n into tFieldName put "naam" & n & "nivo" into tButtonName ... end repeat You get the idea, best, Mark On 15 Mar 2006, at 12:51, William de Smet wrote: > f the text of field "naam1" = empty and the selectedtext of button > "naam1nivo" = "1" > then answer error "Naam van leerling 1 mag niet leeg zijn!" > if the text of field "naam1" = empty and the selectedtext of button > "naam1nivo" = "2" From gilbert at isphlg.rimed.cu Wed Mar 15 10:24:53 2006 From: gilbert at isphlg.rimed.cu (Gilberto Cuba) Date: Wed, 15 Mar 2006 10:24:53 -0500 Subject: Minimize stack... Message-ID: <00a101c64844$f2e2be80$1c037b98@p42600> Hi, I have a Rev 2.6 in a Debian Sarge distributions, and I tried to minimize my application in KDE, it work very fine, but I tried to minimized in GNOME that is not work. Why? How I can minimize my application in GNOME? Best regards, Gilberto Cuba From 3mcgrath at adelphia.net Wed Mar 15 10:13:01 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 15 Mar 2006 10:13:01 -0500 Subject: The long answer on when to use a function vs command In-Reply-To: <4417B6B0.9080209@comcast.net> References: <1A0956C4-8524-461D-81AE-7450C3FF06D5@adelphia.net> <4417B6B0.9080209@comcast.net> Message-ID: <303B2CB4-DF4A-433F-B8B7-89E7A1F6EBE2@adelphia.net> Ken, Jac, Andre, and Phil, In the past I have only used functions for mathematical equations and not much else. I tend to use commands(handlers) for everything. I didn't know about the 'send in time' issue with functions, thanks Andre. I didn't think about the noun usage which seems sound. I usually considered functions to be small little things but am not sure if that is fair or right. I am curious as to any other unique aspects that could affect a decision on which to use in different situations. Functions are normally used with a 'put' or 'get' -- Is this true? Commands are normally used alone (with/without a parameter) but not usually with a get or put -- Is this true? Is one more friendly with a lot of parameters? -- enough params that you would need a switch/case If you have a function to get some info on an object like: put getObjInfo("objName") into field "Info" Would you use a command to set that info like: -- or should this be a function too? -- (ignore the cust prop aspect for now) setObjInfo "Fun" or getObjVis() -- function setObjVis true -- command getObjPosition() -- function setObjPosition 34,5 -- command Is get and set a good indicator of wether they should be functions or commands? Thanks Tom On Mar 15, 2006, at 1:39 AM, Phil Davis wrote: > Hi Tom, > > Here are some simple ways I figure out whether to use a command or > a function in a given situation. > > A function name can naturally take on the role of a noun in a > sentence. Or in RunRev terms, it can naturally fill the role of a > containerName. A good function name can really improve the > readability of the code in those places where it is used. > > put selectedTunes() into fld "tuneList" > put cardObjectIDs("firstCard") into tObjectList > if errorCount() > 3 then... > > In each of the above cases, a function name takes the place of a > subprocess that is probably secondary to the purpose of the calling > handler. That secondary code is moved to a place of its own, where > it can be appreciated for its value instead of cursed as a > distraction, as it might be if it were coded inline. Without > functions, code would be a lot harder to read. > > > A command name can be a short imperative sentence without the spaces: > > refreshMembersList > closeCurrentScreen > startMotor > moveRobotArm "left",5 -- this one has 2 parameters > > If at a given spot in your code, you can describe what needs to be > done in a short sentence like the ones above, a command will > probably serve well in that spot. From kevin at runrev.com Wed Mar 15 10:17:48 2006 From: kevin at runrev.com (Kevin Miller) Date: Wed, 15 Mar 2006 15:17:48 +0000 Subject: Runtime and Proactive Enter into Strategic Agreement Message-ID: Hi All, I would like to let you know of some changes at Runtime Revolution Ltd. We have historically been based in Scotland since our inception as a company, and while we have a super international user community and sales have steadily improved over the years, we have been looking at ways to take the company to the next level. Over the last several months, you may have noticed some changes - not the least our website! Runtime Revolution has now partnered with Proactive International (http://www.proactive-intl.com) to help us evolve as a business. This includes not only nuts-and-bolts of selling into new markets, but also worldwide strategic business management. Proactive International has worked with a broad spectrum of software companies and products - with significant experience in development tools and media applications. Proactive International is owned by Lynn Fredricks, who you may already be familiar with from our various lists. He is also (now) a shareholder in Runtime Revolution. Over the course if this coming year, I believe you will witness some steady steps forward from Runtime as a business and Revolution as a product. Proactive will be talking a very active role in this, and this will include a higher level of involvement of Lynn with the venues in which Runtime works with customers. You should not be surprised if he also uses a signature that is appropriate to working with Runtime at the executive level. I hope you will make Lynn and Proactive welcome. I do not want to turn this into an extended discussion on the list, so if you would like to ask detailed questions I recommend that you email Lynn or myself directly. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From kray at sonsothunder.com Wed Mar 15 10:31:50 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 15 Mar 2006 09:31:50 -0600 Subject: Can anyone explain me how to shorten the code I use? In-Reply-To: Message-ID: On 3/15/06 6:51 AM, "William de Smet" wrote: > Hi there, > I've picked up Rev today after a while and started a new app. > I noticed how it amused me again but there is still one thing I don't > understand: I have repeating code and I don't know how to shorten it. Try this: if the text of field "naam1" = empty then repeat with x = 1 to 25 if the selectedText of btn "naam1nivo" = x then answer error "Naam van leerling 1 mag niet leeg zijn!" end if end repeat if the selectedText of btn "naam1nivo" = "... then put "" into tData else put field "naam1" && the selection of button "naam1nivo" &cr into tData end if else -- text field not empty if the selectedText of btn "naam1nivo" = "... then answer error "Niveau van leerling 1 mag niet leeg zijn!" end if end if Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From revlist at azurevision.co.uk Wed Mar 15 10:49:52 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 15 Mar 2006 15:49:52 +0000 Subject: Screenshots of our creations (was: can someone show me a CRM solution) In-Reply-To: <000101c64807$8d4a3720$0201010a@royalnexus> References: <000101c64807$8d4a3720$0201010a@royalnexus> Message-ID: <31DD987D-02D1-423E-ACD6-C04E6A1BFC32@azurevision.co.uk> Wonderful idea! Here's a screengrab movie to get things rolling, of an early stage work-in-progress: 3MB, QT7 required. Note that the transition at the beginning and the blue 'area of interest' borders were added in Keynote, not Rev. Ian On 15 Mar 2006, at 08:07, Scott Kane wrote: > It'd be great if more people on the list could show off screenshots > of what they've achieved in Rev. I mean - we know, now, that Ken's > doing some cool things, and we know Chipp is a past master of > great looking Windows GUI's. But it'd be nice to see what other > people have achieved too. Could be rather insperational. > > Scott From rcozens at pon.net Wed Mar 15 11:00:51 2006 From: rcozens at pon.net (Rob Cozens) Date: Wed, 15 Mar 2006 08:00:51 -0800 Subject: Can anyone explain me how to shorten the code I use? In-Reply-To: References: Message-ID: Hi William, > if the text of field "naam1" = empty and the selectedtext of button > "naam1nivo" = "1" > then answer error "Naam van leerling 1 mag niet leeg zijn!" > if the text of field "naam1" = empty and the selectedtext of button > "naam1nivo" = "2" > then answer error "Naam van leerling 1 mag niet leeg zijn!" > if the text of field "naam1" = empty and the selectedtext of button > "naam1nivo" = "3" > then answer error "Naam van leerling 1 mag niet leeg zijn!" > if the text of field "naam1" = empty and the selectedtext of button > "naam1nivo" = "4" > then answer error "Naam van leerling 1 mag niet leeg zijn!" > if the text of field "naam1" = empty and the selectedtext of button > "naam1nivo" = "5" > then answer error "Naam van leerling 1 mag niet leeg zijn!" > if the text of field "naam1" = empty and the selectedtext of button > "naam1nivo" = "6" > then answer error "Naam van leerling 1 mag niet leeg zijn!" > if the text of field "naam1" = empty and the selectedtext of button > "naam1nivo" = "7" > then answer error "Naam van leerling 1 mag niet leeg zijn!" Note: the following case > > if the text of field "naam1" is not empty and the selectedtext of > button "naam1nivo" = "..." > then answer error "Niveau van leerling 1 mag niet leeg zijn!" > triggers a second action in the else clause below > if the text of field "naam1" = empty and the selectedtext of button > "naam1nivo" = "..." > then put "" into tData > else put field "naam1" && the selection of button "naam1nivo" &cr > into tData > > So can anyone help to shorten the code (because I have 25 fields)? > on processFields put "Naam van leerling 1 mag niet leeg zijn!" into errorMessage -- if "1" is constant repeat with x = 1 to 25 put ("Naam van leerling"&x&"mag niet leeg zijn!") into errorMessage -- if "1" changes put ("naam"&x&"nivo") into buttonName put (the text of field ("naam"&x) = empty) into emptyField get the selectedtext of button buttonName if it "..." then if not emptyField then answer error errorMessage if emptyField then put "" into tData else put field ("naam"&x) && the selection of button buttonName &cr into tData else if emptyField answer error errorMessage end repeat end processFields 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) From rcozens at pon.net Wed Mar 15 11:10:15 2006 From: rcozens at pon.net (Rob Cozens) Date: Wed, 15 Mar 2006 08:10:15 -0800 Subject: Can anyone explain me how to shorten the code I use? In-Reply-To: References: Message-ID: <304B83A5-B43E-11DA-8A86-0030657E1638@pon.net> Moi: > if it "..." then > should be: if it = "..." then Sorry. 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) From userev at canelasoftware.com Wed Mar 15 11:24:29 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 15 Mar 2006 08:24:29 -0800 Subject: Screenshots of our creations (was: can someone show me a CRM solution) In-Reply-To: <31DD987D-02D1-423E-ACD6-C04E6A1BFC32@azurevision.co.uk> References: <000101c64807$8d4a3720$0201010a@royalnexus> <31DD987D-02D1-423E-ACD6-C04E6A1BFC32@azurevision.co.uk> Message-ID: <6DE65A54-3FDA-44B6-AC70-3475F89E9E6C@canelasoftware.com> On Mar 15, 2006, at 7:49 AM, Ian Wood wrote: > Wonderful idea! > > Here's a screengrab movie to get things rolling, of an early stage > work-in-progress: > editor_preview_h264.html> > 3MB, QT7 required. Very cool application Ian! Is this for personal use or do you have a customer? Mark Talluto -- CANELA Software http://www.canelasoftware.com From revlist at azurevision.co.uk Wed Mar 15 11:48:59 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 15 Mar 2006 16:48:59 +0000 Subject: Screenshots of our creations (was: can someone show me a CRM solution) In-Reply-To: <6DE65A54-3FDA-44B6-AC70-3475F89E9E6C@canelasoftware.com> References: <000101c64807$8d4a3720$0201010a@royalnexus> <31DD987D-02D1-423E-ACD6-C04E6A1BFC32@azurevision.co.uk> <6DE65A54-3FDA-44B6-AC70-3475F89E9E6C@canelasoftware.com> Message-ID: <70C87237-01A7-4D9C-90F5-20E06D6CC8D1@azurevision.co.uk> On 15 Mar 2006, at 16:24, Mark Talluto wrote: > On Mar 15, 2006, at 7:49 AM, Ian Wood wrote: > >> Wonderful idea! >> >> Here's a screengrab movie to get things rolling, of an early stage >> work-in-progress: >> > editor_preview_h264.html> >> 3MB, QT7 required. > > Very cool application Ian! Is this for personal use or do you have > a customer? Both. :-) I can't go into huge detail yet as it's being publicly announced in May - but it's basically a visual editor for building interactive panoramas, and what's shown in the video is just the tip of the iceberg... Here's a screengrab of an older app: Turns QTVR panoramas into a video sequence. Ian From gbojsza at gmail.com Wed Mar 15 11:52:51 2006 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 15 Mar 2006 10:52:51 -0600 Subject: Educational stacks Message-ID: <3d8af4150603150852kc24ffa9rbe8987f18d4d177@mail.gmail.com> Hello everyone, I was wondering if anyone has used Revolution in creating 1. A multiple choice quiz stack? 2. A multimedia "training" stack ? My interest is in the "look and feel" from the user experience and how self-contained training modules show flow. I have all the content material for several modules but lack the experience on the educational side in how best design the courses and test the users. thanks in advance, Glen From pevensen at siboneylg.com Wed Mar 15 11:58:43 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Wed, 15 Mar 2006 10:58:43 -0600 Subject: Button Label on graphic button In-Reply-To: References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <31e1938c0603141303m4c7294e9re5b644342d1dcc8a@mail.gmail.com> Message-ID: <6.2.1.2.2.20060315105522.15b61e28@exchange.slg.com> How is Bug #1032 Resolved? I don't see how it is either. We *could* at the text to the graphic, but what if we need to change the button label? I need to go back to the artist and get new artwork. At 04:28 PM 3/14/2006, you wrote: >Hi Jonathan, > >>Can you just create an image to use as an Icon that has your >>picture and >>text all in the same image? > >sure, but that a LOT of work. > >Imagine buttons for different languages! > >It would be so nice if one could use a nice graphic and just change >the label >of the buttons... > >See my answer to Peter and my mention of godzilla Nr. 1032... > > >Regards > >Klaus Major >klaus at major-k.de >http://www.major-k.de Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From klaus at major-k.de Wed Mar 15 12:08:32 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 15 Mar 2006 18:08:32 +0100 Subject: Button Label on graphic button In-Reply-To: <6.2.1.2.2.20060315105522.15b61e28@exchange.slg.com> References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <31e1938c0603141303m4c7294e9re5b644342d1dcc8a@mail.gmail.com> <6.2.1.2.2.20060315105522.15b61e28@exchange.slg.com> Message-ID: <13D31ABA-3428-4053-B490-75CDD7A27089@major-k.de> Hi Peter, > How is Bug #1032 Resolved? I don't see how it is either. Sometimes they seem to dream a little in broad daylight ;-) > We *could* at the text to the graphic, but what if we need to > change the button label? I need to go back to the artist and get > new artwork. I just saw that i created a new bugzilla entry with this some time ago: 3265 Put some votes on it, if you like... > Peter T. Evensen > http://www.PetersRoadToHealth.com > 314-629-5248 or 888-628-4588 Regards Klaus Major klaus at major-k.de http://www.major-k.de From pevensen at siboneylg.com Wed Mar 15 12:21:59 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Wed, 15 Mar 2006 11:21:59 -0600 Subject: Button Label on graphic button In-Reply-To: <13D31ABA-3428-4053-B490-75CDD7A27089@major-k.de> References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <31e1938c0603141303m4c7294e9re5b644342d1dcc8a@mail.gmail.com> <6.2.1.2.2.20060315105522.15b61e28@exchange.slg.com> <13D31ABA-3428-4053-B490-75CDD7A27089@major-k.de> Message-ID: <6.2.1.2.2.20060315112134.15b615f0@exchange.slg.com> Great! I just added my votes. Thanks for adding a new bug report. I posted a note on the other one, as you probably saw. At 11:08 AM 3/15/2006, you wrote: >Hi Peter, > >>How is Bug #1032 Resolved? I don't see how it is either. > >Sometimes they seem to dream a little in broad daylight ;-) > >>We *could* at the text to the graphic, but what if we need to >>change the button label? I need to go back to the artist and get >>new artwork. > >I just saw that i created a new bugzilla entry with this some time >ago: 3265 > >Put some votes on it, if you like... > >>Peter T. Evensen >>http://www.PetersRoadToHealth.com >>314-629-5248 or 888-628-4588 > >Regards > >Klaus Major >klaus at major-k.de >http://www.major-k.de > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From jperryl at ecs.fullerton.edu Wed Mar 15 12:42:34 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 15 Mar 2006 09:42:34 -0800 (PST) Subject: Educational stacks In-Reply-To: <3d8af4150603150852kc24ffa9rbe8987f18d4d177@mail.gmail.com> Message-ID: Glen, Can you give me a better idea of what you have and what you want to do? Judy On Wed, 15 Mar 2006, Glen Bojsza wrote: > Hello everyone, > > I was wondering if anyone has used Revolution in creating > > 1. A multiple choice quiz stack? > > 2. A multimedia "training" stack ? > > My interest is in the "look and feel" from the user experience and how > self-contained training modules show flow. I have all the content material > for several modules but lack the experience on the educational side in how > best design the courses and test the users. > > thanks in advance, > > Glen > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sanke at hrz.uni-kassel.de Wed Mar 15 12:47:10 2006 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 15 Mar 2006 18:47:10 +0100 Subject: Educational stacks Message-ID: <4418531E.7000901@hrz.uni-kassel.de> On Wed, 15 Mar 2006 , "Glen Bojsza" wrote : > Hello everyone, > > I was wondering if anyone has used Revolution in creating > > 1. A multiple choice quiz stack? > > 2. A multimedia "training" stack ? > > My interest is in the "look and feel" from the user experience and how > self-contained training modules show flow. I have all the content material > for several modules but lack the experience on the educational side in how > best design the courses and test the users. > > thanks in advance, > > Glen Hello Glen, This question comes up in regular intervals. Some hints: - There are some educational stacks to be found at RevOnline. - Marielle Lange has set up a special website for educational stacks: - As far as I know, Marty Billingsley of the Chicago Laboratory School (founded by John Dewey at about 1895 as an institution of "Progressive Education") persues the work of Dewey using Revolution both for teaching and for introducing students to programming (search the list archives for more information). - There is a education-revolution list - I had anwered to a similar post on this list (use-revolution) on Feb 7: > There are some "educational" stacks on my website > you could check out: > > On page "Tools and Samples for Development" > > - "Seminar01" (A stack from 2001: step by step introduction - however > in German, but the scripts are of course in English - for different > kinds of basic educational software, among them a stepwise development > of a simple vocabulary trainer) > > - "Multiple-Choice Tutorial" (see also the broader information for > this stack on page "Tutorials") > > On page "Sample Stacks" > > - "Image and Words" > > - "Animals" > > - and possibly ""Word Scramble". > > On page "Student Samples" there is one stack "German States" for > learning to match the names of the German states and their flags and > other exercises. This stack is an exe-file, but may be interesting to > inspect because of the pedagogical design. On page "Projects: Language Suite" you will find some information (although still in German) about some language learning stacks. We intend to make demo versions available of these stacks in the near future. Best regards, Wilhelm Sanke From jhonken at x12.info Wed Mar 15 12:55:23 2006 From: jhonken at x12.info (Jeff Honken) Date: Wed, 15 Mar 2006 10:55:23 -0700 Subject: Auto tab to next field Message-ID: <000001c64859$a20ce0c0$670fa8c0@work1> I trying to program an automatic tab to the next field after the user inputs three characters. Here's the code I'm using: on keyDown theKey if the number of chars in me >= 3 then focus on fld ProvOfficePhone2 exit keyDown else pass keyDown end if end keyDown The above code works but when I hit the fourth character it tabs to the next field but it loses the character that was typed. i.e. if you type 1234 the 123 goes into my first box and the cursor goes to the next field but it doesn't input 4 into that field. Any suggestions? Jeff From gregory.lypny at videotron.ca Wed Mar 15 13:01:12 2006 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 15 Mar 2006 13:01:12 -0500 Subject: Object Library Message-ID: <9A1B998A-CC0E-4BDE-83AE-DE2AED96B7C1@videotron.ca> My apologies if I missed this in a previous post, but where's the Object library in the new version of Revolution? When I click on Object Library under the Development menu, I get the Library stack and an empty field under the Object tab where those nifty objects used to be in previous versions. Greg From mark at maseurope.net Wed Mar 15 13:11:40 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 15 Mar 2006 18:11:40 +0000 Subject: Auto tab to next field In-Reply-To: <000001c64859$a20ce0c0$670fa8c0@work1> References: <000001c64859$a20ce0c0$670fa8c0@work1> Message-ID: <360B2970-7909-4A24-BF7E-6C0484229AEC@maseurope.net> Jeff, this should work: on keyDown theKey if the number of chars in me >= 3 then put theKey into fld "ProvOfficePhone2" focus on fld "ProvOfficePhone2" exit keyDown else pass keyDown end if end keyDown replace with if you want to keep typing in the newly focused fld. Cheers, Mark On 15 Mar 2006, at 17:55, Jeff Honken wrote: > I trying to program an automatic tab to the next field after the user > inputs three characters. Here's the code I'm using: > > on keyDown theKey > if the number of chars in me >= 3 then > focus on fld ProvOfficePhone2 > exit keyDown > else > pass keyDown > end if > end keyDown > > The above code works but when I hit the fourth character it tabs to > the > next field but it loses the character that was typed. i.e. if you type > 1234 the 123 goes into my first box and the cursor goes to the next > field but it doesn't input 4 into that field. Any suggestions? Jeff > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From revolutionary.dan at gmail.com Wed Mar 15 13:47:00 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Wed, 15 Mar 2006 10:47:00 -0800 Subject: Making the move... In-Reply-To: <44179C2C.4060304@fourthworld.com> References: <20060315030531.063AD8260CC@mail.runrev.com> <44179C2C.4060304@fourthworld.com> Message-ID: <70ed6b130603151047x43a3deads85e3d1b465bf4080@mail.gmail.com> Richard..... I *certainly* don't disagree with your response, but I'm earnestly seeking a description of how you'd go about building an app in Rev that is entirely deliverable via a Web browser, which is, I submit, the definition of a Web application. I think that was the original point/question. Creating thin-client Web appliances is amazingly easy with Rev. Creating CGIs that run on a server -- including back-end database access -- is also feasible, if somewhat limited in terms of performance (no FCGI support as far as I know). If this is possible, I'd sure like to know how to do it. On 3/14/06, Richard Gaskin wrote: But if the goal is to deliver the benefits of productive, flexible systems, Transcript can prove quite capable in ways that may surprise. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From soapdog at mac.com Wed Mar 15 13:56:54 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 15 Mar 2006 15:56:54 -0300 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: <1452362206.20060315101745@ahsoftware.net> References: <200603142358.k2ENw1Zu028064@ms-smtp-02.rdc-nyc.rr.com> <3f07cc260603141756u25c55bdepc2dedace00f6d0f7@mail.gmail.com> <12344666617.20060314213613@ahsoftware.net> <045632CB-82DD-48E4-AC5C-839BB64D6DEB@mac.com> <1452362206.20060315101745@ahsoftware.net> Message-ID: <9BBD4FC5-EA18-4031-92C3-8E4B42ED4602@mac.com> Mark, I read the docs, there appear to be no magical/automated interface for BT. What appears to exist is that if you create a public object, which is a resource that can be accessed by a URL without authentication, then you can run your BT Tracker and use your resource with it. Meaning, they don't really support a BitTorrent interface but since they have a way to make the objects accessible without authentication, nothing will stop you from using BT with it. It is the same as saying Amazon S3 supports Runtime Revolution libURL, they don't, what they support is a simple HTTP transport without authentication case you need. I really thing that bittorrent piece was put there by some marketing guy. Since S3 is a paid service and you end up paying for the data transfer, it would be smart to use BitTorrent to lower your costs... but also, if you set up a object that can be used with BT, your object can also be retrieved by anyone that knows the URL, and depending on what you're hosting, it just needs one post in a forum to skyrocket your costs. if we had HMAC/SHA1 routines, we could build a S3 library in 20 minutes, it's very easy. Cheers andre On Mar 15, 2006, at 3:17 PM, Mark Wieder wrote: > Andre- > > Tuesday, March 14, 2006, 9:37:18 PM, you wrote: > >> it still required HMAC/SHA1 authentication which I think our current >> implementation of encrypt can't generate... > > Yes, but my point was being amazed at finding BitTorrent here... > > This is important for a couple of reasons: first of all, it's a cool > mechanism for allowing distributed access to files and still limiting > bandwidth consumption; and secondly because Amazon's support of > BitTorrent adds legitimacy to peer-to-peer distribution and places > them directly in opposition to the MPAA. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Wed Mar 15 14:00:17 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 15 Mar 2006 11:00:17 -0800 Subject: Can anyone explain me how to shorten the code I use? In-Reply-To: References: Message-ID: <1834915087.20060315110017@ahsoftware.net> William- Here's my take on it: local tErrMsg, x, tData, tErrs local tFld, tBtn put empty into tErrs repeat with x=1 to 25 put "Niveau van leerling" && x && "mag niet leeg zijn!" into tErrMsg put "naam" & x into tFld put "naam" & x & "nivo" into tBtn put field tFld && the selection of button tBtn into tData if field tFld is empty then if the selectedText of button tBtn is "..." then put empty into tData else --answer error tErrMsg put tErrMsg & cr after tErrs end if else -- field x is not empty if the selectedText of button tBtn = "..." then --answer error tErrMsg put tErrMsg & cr after tErrs end if end if end repeat ...but I'm not sure exactly what you want the end result to be. Notice that what you wrote could result in 25 error dialogs appearing on the screen, one after another, which could be very annoying. I substituted the accumulation of errors into a variable which could be checked after the run: if tErrs is not empty then answer error tErrs end if -- -Mark Wieder mwieder at ahsoftware.net From jhurley at infostations.com Wed Mar 15 14:03:36 2006 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 15 Mar 2006 11:03:36 -0800 Subject: ANN: Displacement Scaling of graphic objects In-Reply-To: <20060315030531.063AD8260CC@mail.runrev.com> References: <20060315030531.063AD8260CC@mail.runrev.com> Message-ID: Scaling is a very common feature of all graphics applications, e.g. Illustrator and Freehand. But there is another type of scaling that is sometimes useful; for lack of a better expression I'll call it displacement scaling. (Thanks to a suggestion from Scott Rossi for bringing this up.) As a simple example, consider a rectangle of width w and height h. If you magnify this in Illustrator or Freehand by an amount m, you get a rectangle with sides m*w and m*h. This preserves the geometrical features of the rectangle. For example the tangent of the angle between the diagonal and the base is h/w in both rectangles. But suppose you wanted to make a frame by putting two rectangles together, one inside the other. You would want all the sides of the expanded rectangle to be at a uniform distance, say "d", from the original--as in a frame. This expanded rectangle does not preserve the geometry. The tangent of the diagonal angle becomes: (h+2d)/(w+2d), which is not the same as h/w. In fact, for large displacements, the rectangle becomes a square--the tangent approaches one. (Similarly, an expanded ellipse approaches a circle.) The stack "ScaleMe" performs this displacement scaling on all polygons. (It also applies to any polygon with sufficient points that it approximates a curved figure, for example an ellipse.) It presents some interesting problems, particularly when the graphic points are numerous and close together--as in an ellipse. In this case it is necessary to define the points of the graphic, not by Run Rev's graphic points (with just 3 significant figures) but with the full precision of Run Rev's decimal calculations. The calculated graphic points are stored in a custom property of the graphic. The points then are stored both as the customary 3 digit graphic points for purposes of display and as a decimal (8 displayed , 15 total?) digits for purposes of calculation. (Scott: This eliminates all the problems we had with such figures.) The stack shows how to create some dazzling graphic figures by repeatedly scaling a simple form and setting each displaced figure to a different color. It also touches on fractal graphics. In the message box: go url "http://home.infostations.net/jhurley/ScaleMe3.rev" From mark at maseurope.net Wed Mar 15 14:07:11 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 15 Mar 2006 19:07:11 +0000 Subject: Auto tab to next field In-Reply-To: <000001c64860$ce3ca8e0$670fa8c0@work1> References: <000001c64860$ce3ca8e0$670fa8c0@work1> Message-ID: <6E597490-AFB4-477B-8082-746D0C7E8FD0@maseurope.net> Jeff, my suggestion below should deal with that.... Cheers, Mark On 15 Mar 2006, at 18:46, Jeff Honken wrote: > replace with > if you want to keep typing in > the newly focused fld. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Wed Mar 15 14:20:18 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 15 Mar 2006 11:20:18 -0800 Subject: ANN: Displacement Scaling of graphic objects In-Reply-To: Message-ID: Recently, Jim Hurley wrote: > go url "http://home.infostations.net/jhurley/ScaleMe3.rev" Jim - I only have one word for this: friggin' unbelievably awesome. What a fantastic stack. The potential of all this... The mind reels... (We must be mentally in tune -- I was just thinking about this problem yesterday!) Many many thanks for solving this super-challenge. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From revolution at jaedworks.com Tue Mar 14 21:47:08 2006 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 14 Mar 2006 18:47:08 -0800 Subject: Button Label on graphic button In-Reply-To: <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> Message-ID: At 2:51 PM -0600 3/14/2006, Peter T. Evensen wrote: >At 02:35 PM 3/14/2006, Sarah wrote: >>On 3/15/06, Peter T. Evensen wrote: >>> Is there any way to get Rev to center a button label on a graphical >> > button? It seems to only want to display it under the icon. >>> >>Adjust the margins of the button. Normally the margins is a single >>number, but it can also be 4 comma-separated numbers, specifiying the >>left, top, right & bottom margins respectively. Play around with >>altering these and see if you can get the result you want. >Actually I already did this. It "work" per se, but then one winds >up with a large empty area around the button that is clickable, >which is kind of strange from a UI standpoint. I'm not sure what you did, if you got a "large empty area around the button". You leave the button at the same size - usually just large enough to accommodate the icon - then adjust the top and bottom margins until both icon and text are centered. (If you just increase the bottom margin, the text moves up but so does the icon, so you also need to increase the top margin to move the icon back down.) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From revolution at jaedworks.com Wed Mar 15 14:21:11 2006 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Wed, 15 Mar 2006 11:21:11 -0800 Subject: The long answer on when to use a function vs command In-Reply-To: <303B2CB4-DF4A-433F-B8B7-89E7A1F6EBE2@adelphia.net> References: <1A0956C4-8524-461D-81AE-7450C3FF06D5@adelphia.net> <4417B6B0.9080209@comcast.net> <303B2CB4-DF4A-433F-B8B7-89E7A1F6EBE2@adelphia.net> Message-ID: At 10:13 AM -0500 3/15/2006, Thomas McGrath III wrote: >I am curious as to any other unique aspects that could affect a >decision on which to use in different situations. > >Functions are normally used with a 'put' or 'get' -- Is this true? >Commands are normally used alone (with/without a parameter) but not >usually with a get or put -- Is this true? Not necessarily. I think an easier way to think of how functions are used is to consider that a function can be part of an expression, while a command is more of a thing unto itself. Consider: put myFunction(this,that,theotherThing) into field "Result" if myFunction(this,that) + 1 > 25 then beep wait until myFunction(that,theOtherThing) is true In all these cases, the function call substitutes for a value (a number or string), and the line it's on uses that value. This is not possible with a command. >Is one more friendly with a lot of parameters? -- enough params that >you would need a switch/case Not really. You use the parameters in the same way, once you're in the custom handler. >If you have a function to get some info on an object like: >put getObjInfo("objName") into field "Info" (I'd probably name it objectInfo, not getObjectInfo. No functional need, but I think it reads better that way. "getObjectInfo" reads like a command.) >Would you use a command to set that info like: -- or should this be >a function too? -- (ignore the cust prop aspect for now) Think about it like this: what's the routine's main purpose in life? Is it to do something, or to return a value? It sounds like setting the object info would mainly exist to do something - set a property, perhaps - so it ought to be a command. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From revlist at azurevision.co.uk Wed Mar 15 14:24:52 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 15 Mar 2006 19:24:52 +0000 Subject: The long answer on when to use a function vs command In-Reply-To: References: <1A0956C4-8524-461D-81AE-7450C3FF06D5@adelphia.net> <4417B6B0.9080209@comcast.net> <303B2CB4-DF4A-433F-B8B7-89E7A1F6EBE2@adelphia.net> Message-ID: <5FB8C304-238B-467E-969B-9186077CFEB8@azurevision.co.uk> On 15 Mar 2006, at 19:21, Jeanne A. E. DeVoto wrote: > > Think about it like this: what's the routine's main purpose in > life? Is it to do something, or to return a value? It sounds like > setting the object info would mainly exist to do something - set a > property, perhaps - so it ought to be a command. > -- > jeanne a. e. devoto ~ revolution at jaedworks.com > http://www.jaedworks.com That's pretty much my take on it as well - anything that returns a value gets written as a function, anything else as a regular handler. Ian From mwieder at ahsoftware.net Wed Mar 15 14:43:48 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 15 Mar 2006 11:43:48 -0800 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: <3f07cc260603151033r5faf962fs544ec00ed803215@mail.gmail.com> References: <200603150533.k2F5X35V016365@ms-smtp-02.rdc-nyc.rr.com> <3f07cc260603151033r5faf962fs544ec00ed803215@mail.gmail.com> Message-ID: <87525471.20060315114348@ahsoftware.net> Howard- Wednesday, March 15, 2006, 10:33:26 AM, you wrote: > Even though the licensing agreement says: "4) You represent and > warrant that: (i) Your S3 Content does not infringe or violate any > rights of any other person or entity;", I suspect this service may end > up giving the RIAA fits. Exactly. -- -Mark Wieder mwieder at ahsoftware.net From devin_asay at byu.edu Wed Mar 15 14:44:46 2006 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 15 Mar 2006 12:44:46 -0700 Subject: ANN: Displacement Scaling of graphic objects In-Reply-To: References: <20060315030531.063AD8260CC@mail.runrev.com> Message-ID: <19B14A0A-AC9D-4F44-AE4A-120FCEC9FC6F@byu.edu> On Mar 15, 2006, at 12:03 PM, Jim Hurley wrote: > go url "http://home.infostations.net/jhurley/ScaleMe3.rev" The creativity and brain power of this group never fails to amaze me. Thanks for a way cool stack, Jim. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From mwieder at ahsoftware.net Wed Mar 15 14:47:21 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 15 Mar 2006 11:47:21 -0800 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: <9BBD4FC5-EA18-4031-92C3-8E4B42ED4602@mac.com> References: <200603142358.k2ENw1Zu028064@ms-smtp-02.rdc-nyc.rr.com> <3f07cc260603141756u25c55bdepc2dedace00f6d0f7@mail.gmail.com> <12344666617.20060314213613@ahsoftware.net> <045632CB-82DD-48E4-AC5C-839BB64D6DEB@mac.com> <1452362206.20060315101745@ahsoftware.net> <9BBD4FC5-EA18-4031-92C3-8E4B42ED4602@mac.com> Message-ID: <47738707.20060315114721@ahsoftware.net> Andre- Wednesday, March 15, 2006, 10:56:54 AM, you wrote: > is a simple HTTP transport without authentication case you need. I > really thing that bittorrent piece was put there by some marketing guy. I suspect you're right, but the placement of it early on in the specs is auspicious. It's roughly equivalent to the legitimacy conferred on personal computers when IBM entered the market. -- -Mark Wieder mwieder at ahsoftware.net From pevensen at siboneylg.com Wed Mar 15 14:48:04 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Wed, 15 Mar 2006 13:48:04 -0600 Subject: Button Label on graphic button In-Reply-To: References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> Message-ID: <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> I was just setting the margin on the inspector. I guess you have to manually set the top and bottom margins in the message box? That seems to be working better. Thanks! At 08:47 PM 3/14/2006, you wrote: >At 2:51 PM -0600 3/14/2006, Peter T. Evensen wrote: >>At 02:35 PM 3/14/2006, Sarah wrote: >>>On 3/15/06, Peter T. Evensen wrote: >>>> Is there any way to get Rev to center a button label on a graphical >>> > button? It seems to only want to display it under the icon. >>>Adjust the margins of the button. Normally the margins is a single >>>number, but it can also be 4 comma-separated numbers, specifiying the >>>left, top, right & bottom margins respectively. Play around with >>>altering these and see if you can get the result you want. > >>Actually I already did this. It "work" per se, but then one winds up >>with a large empty area around the button that is clickable, which is >>kind of strange from a UI standpoint. > > >I'm not sure what you did, if you got a "large empty area around the >button". You leave the button at the same size - usually just large enough >to accommodate the icon - then adjust the top and bottom margins until >both icon and text are centered. (If you just increase the bottom margin, >the text moves up but so does the icon, so you also need to increase the >top margin to move the icon back down.) >-- >jeanne a. e. devoto ~ revolution at jaedworks.com >http://www.jaedworks.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From soapdog at mac.com Wed Mar 15 14:56:31 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 15 Mar 2006 16:56:31 -0300 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: <47738707.20060315114721@ahsoftware.net> References: <200603142358.k2ENw1Zu028064@ms-smtp-02.rdc-nyc.rr.com> <3f07cc260603141756u25c55bdepc2dedace00f6d0f7@mail.gmail.com> <12344666617.20060314213613@ahsoftware.net> <045632CB-82DD-48E4-AC5C-839BB64D6DEB@mac.com> <1452362206.20060315101745@ahsoftware.net> <9BBD4FC5-EA18-4031-92C3-8E4B42ED4602@mac.com> <47738707.20060315114721@ahsoftware.net> Message-ID: Mark, yes you are right. Just by acknowledging (heck, I can not spell in english) the legal use of BitTorrent it is a great achievement. I use BT very much for downloading Linux ISOs and for sending BeOS/ Zeta test builds back and forth the development team. It is the best way to send big files around. Cheers andre On Mar 15, 2006, at 4:47 PM, Mark Wieder wrote: > Andre- > > Wednesday, March 15, 2006, 10:56:54 AM, you wrote: > >> is a simple HTTP transport without authentication case you need. I >> really thing that bittorrent piece was put there by some marketing >> guy. > > I suspect you're right, but the placement of it early on in the specs > is auspicious. It's roughly equivalent to the legitimacy conferred on > personal computers when IBM entered the market. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Wed Mar 15 15:01:05 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 Mar 2006 12:01:05 -0800 Subject: Making the move... In-Reply-To: <20060315180004.23F3082638F@mail.runrev.com> References: <20060315180004.23F3082638F@mail.runrev.com> Message-ID: <44187281.9030805@fourthworld.com> Dan Shafer wrote: > On 3/14/06, Richard Gaskin wrote: > >> But if the goal is to deliver the benefits of productive, >> flexible systems, Transcript can prove quite capable in >> ways that may surprise. > > Richard..... > > I *certainly* don't disagree with your response, but I'm earnestly > seeking a description of how you'd go about building an app in Rev > that is entirely deliverable via a Web browser, which is, I submit, > the definition of a Web application. I think that was the original > point/question. Creating thin-client Web appliances is amazingly > easy with Rev. Creating CGIs that run on a server -- including > back-end database access -- is also feasible, if somewhat limited > in terms of performance (no FCGI support as far as I know). > > If this is possible, I'd sure like to know how to do it. A "web application" has at least a web-based interface, and often also has a server-side component to it. There are three viable methods of making an interactive interface in a web browser: a) Java b) Flash c) DHTL (recently re-christened "Ajax") Rev doesn't produce Java or Flash output, so if those are desired you would indeed have to go to another tool. But neither does Ruby. Nor is Ruby embedded in web browsers. Web browsers have only one universal language at this time: JavaScript, which is the heart of DHTML/Ajax. JavaScript is plain uncompiled ASCII text. It can be generated/assembled/sliced/diced by a Rev-based CGI just as assuredly as any other language, such as Ruby, can do so. Rev's merge function is enormously powerful, as are its chunk expressions and file handling. Smartly-designed snippets of JavaScript and HTML can be combined and recombined quickly and easily with Transcript. As for performance, most CGIs are loaded when called. The exception is FastCGI, employing a stay-resident option to minimize load times. Many ISPs preconfigure their Perl installations to use FastCGI, and FastCGI is the recommended interface when you install and set up Ruby. It may be possible to use FastCGI with Rev; I'll leave it to the server experts here to fill us in on that. When run as a CGI, the Rev engine loads _much_ faster than it does on the desktop, which is pretty darn fast as it is. As a CGI it doesn't need to initialize any of its GUI elements, so the load time on a decent server should be roughly on par with any other engine of equivalent size. It would be helpful is someone here has performance benchmarks on Rev as a CGI relative to Perl, Python, Ruby, and other server-side languages. If FastCGI cannot be used with the Rev engine, then indeed we can expect a performance disparity between the Rev engine and the Ruby engine. But "impossible"? I don't see how. One of the main bullet points for developing in RoR is the MVC implementation, but again that's not exactly new. Smalltalk had MVC, and there are implementations in most OOPs and many non-OOPs as well, including a few done in Rev to varying degrees. While the Rev ones have focused on native controls for triggers, one would have to write JavaScript triggers for web-based UIs, as they would with any browser-based implementation. Ruby is a fine language, and the "on Rails" framework is well thought out and very useful. But it's not magic; Ruby is just a language, its "Rails" just a framework, and I've seen nothing in it that couldn't also be done with Perl, Python, Rev, or any other CGI. There may be tradeoffs with runtime performance and development productivity, but I see nothing which would discount all web applications as "impossible" to do in Rev. And as you note, Rev does one thing Ruby can't: compliment the range of deliverables with a net-savvy desktop app (think maps.google vs Google Earth). While only useful in a subset of scenarios, it offers many benefits, esp. for intranets where employers are losing billions in lost productivity by providing open web access to their employees when all they really need is access to specific company- and vendor-specific resources. Rev-based net-savvy apps (or "net apps", or "net appliances", or "thick clients", or whatever else one might call them) are like VPNs for the rest of us. And, as with Google Earth, there are UI benefits to such desktop implementations as well. All that said, there are two benefits to Ruby: most of the code you'd need is already written, and as open source it's all freely available. But while Ruby may have some advantages, that doesn't make using other languages to generate DHTML interfaces impossible. Taking this a step further, I'll close with an exercise for the reader: 1. Make a web app development tool in Rev for laying out and generating DHTML controls for web pages. 2. Now make the same tool in Ruby. ;) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From liamlambert at mac.com Wed Mar 15 15:07:35 2006 From: liamlambert at mac.com (liamlambert) Date: Wed, 15 Mar 2006 20:07:35 +0000 Subject: add main stack Message-ID: <06580497-D7BC-4DB0-AD9A-1C132651C920@mac.com> I have a stack "Booking" which is the main stack, I want to add a stack "Welcome" which will be the main stack and the stack "Booking" be a sub stack of welcome How do I do this Thanks Liam Lambert liamlambert at mac.com IRELAND From stephenREVOLUTION at barncard.com Wed Mar 15 15:07:31 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 15 Mar 2006 12:07:31 -0800 Subject: [OT] Spotlight and Tiger In-Reply-To: <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> Message-ID: Does anyone here know about a way to turn off all Spotlight activity and replace it with the the Panther style search? I really, really HATE Spotlight. I just want to search filenames, not the content. In spotlight I get way more hits than I need. I design all my filenames to tell me all I need to know. I also hate the way it anticipates my typing, as it blocks any other activity, and if you make a mistake, one is faced with the dreaded spinning beachball until it is ready. Finally there are hardly any adjustments in its panel to turn any of this behavior off. This thing blows so many HUI guidlines it's not funny. Is anyone else annoyed with this horrible 'feature' of an otherwise great OS? sqb -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From revlist at azurevision.co.uk Wed Mar 15 15:14:47 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 15 Mar 2006 20:14:47 +0000 Subject: add main stack In-Reply-To: <06580497-D7BC-4DB0-AD9A-1C132651C920@mac.com> References: <06580497-D7BC-4DB0-AD9A-1C132651C920@mac.com> Message-ID: 1. Open up (or create) the stack "Welcome". 2. Go to the Inspector for stack "Booking" and in the basic properties look for the Main Stack menu, choose "Welcome" from it. 3. There is no step 3. Ian On 15 Mar 2006, at 20:07, liamlambert wrote: > I have a stack "Booking" which is the main stack, > I want to add a stack "Welcome" which will be the > main stack and the stack "Booking" be a sub stack of welcome > How do I do this > Thanks > Liam Lambert > liamlambert at mac.com > IRELAND > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Wed Mar 15 15:27:14 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 15 Mar 2006 17:27:14 -0300 Subject: [OT] Spotlight and Tiger In-Reply-To: References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> Message-ID: <424D65D6-9485-4FF4-B00E-443C8BA7F9CB@mac.com> Stephen, spotlight is a very powefull feature. The lag you see is that it appears that spotlight needs to load its database on first interaction, so your first search after boot is always granted with a little beach ball, the next ones will be quicker, I promisse (the thing should load its database on boot and not on first use I think...). If you don't care do use some of MacOS X Unix powers, then read on for a little recipe!!!! -- function that searches spotlight based on filename. function mdFindFilesbyName pFilename put format("mdfind %s | grep -i %s", pFilename, pFilename) into tShellCMD get shell(tShellCMD) return it end mdFindFilesbyName This little function will search spotlight for the pattern you said was the filename and grep will filter the lines for the filename. With mdfind you can do boolean searches like search for something and somethingelse and not someotherthing... you can do many cool things with mdfind and if you use pipes for grep, tr, awk... you have a killer toolkit!!!! Always Remember, MacOS X is a Unix and Pipes are your Friend! :-D the mdfind command line tool might be what you're looking for. You can build a nice GUI for it in Rev if you want. a Good resource on mdfind is http://www.macdevcenter.com/pub/a/mac/ 2006/01/04/mdfind.html Cheers andre PS: I love spotlight, but I'd rather have full blown BFS like queries. On Mar 15, 2006, at 5:07 PM, Stephen Barncard wrote: > Does anyone here know about a way to turn off all Spotlight > activity and replace it with the the Panther style search? > > I really, really HATE Spotlight. I just want to search filenames, > not the content. In spotlight I get way more hits than I need. I > design all my filenames to tell me all I need to know. > > I also hate the way it anticipates my typing, as it blocks any > other activity, and if you make a mistake, one is faced with the > dreaded spinning beachball until it is ready. Finally there are > hardly any adjustments in its panel to turn any of this behavior > off. This thing blows so many HUI guidlines it's not funny. > > Is anyone else annoyed with this horrible 'feature' of an otherwise > great OS? > > > sqb > -- > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pevensen at siboneylg.com Wed Mar 15 15:35:22 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Wed, 15 Mar 2006 14:35:22 -0600 Subject: Thousands Separator on OSX In-Reply-To: References: <36B4BF48-B5F1-42A1-AEF8-027DBE6A5309@upnaway.com> <6.2.1.2.2.20060313144629.052ab798@exchange.slg.com> Message-ID: <6.2.1.2.2.20060315143459.14a57c98@exchange.slg.com> It is BZ 3392. Please all cast your votes. At 09:33 AM 3/14/2006, Rob Cozens wrote: >Hi Peter, > >>To me it seems the Rev engine should give one access to this >>setting... Has someone BZed it? > >I totally agree. There should be a systemNumberFormat function to return >decimal character, thousands separator, and currency symbol string and/or >a formatNumber function that returns a numeric value formatted as per >system preferences. Especially since every solution posted here is >platform-specific. > >If you find or log this in BZ, post the # and I'll allocate some votes to it. > > >Rob Cozens >CCW, Serendipity Software Company Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From liamlambert at mac.com Wed Mar 15 15:40:44 2006 From: liamlambert at mac.com (liamlambert) Date: Wed, 15 Mar 2006 20:40:44 +0000 Subject: add main stack Message-ID: That is what I thought but when I try this it does not work the stacks revert to what they were I had done this before when I had dreamcard but now I am using studio Is this a bug Liam Lambert liamlambert at mac.com IRELAND From sarah.reichelt at gmail.com Wed Mar 15 15:44:30 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 16 Mar 2006 06:44:30 +1000 Subject: [OT] Spotlight and Tiger In-Reply-To: References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> Message-ID: On 3/16/06, Stephen Barncard wrote: > Does anyone here know about a way to turn off all Spotlight activity > and replace it with the the Panther style search? > > I really, really HATE Spotlight. I just want to search filenames, not > the content. In spotlight I get way more hits than I need. I design > all my filenames to tell me all I need to know. > I've started using PathFinder from CocoaTech , which allows me to do a Spotlight search or to enter a more restricted set of search conditions e.g. files with names contains "blue", with the extension "rev", modified within the last week whose size is greater than 1 MB. Cheers, Sarah From sarah.reichelt at gmail.com Wed Mar 15 15:46:44 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 16 Mar 2006 06:46:44 +1000 Subject: add main stack In-Reply-To: References: Message-ID: On 3/16/06, liamlambert wrote: > That is what I thought but when I try this it does not work > the stacks revert to what they were > I had done this before when I had dreamcard but now I am using studio > Is this a bug > Liam Lambert > liamlambert at mac.com > IRELAND Then you need to save, then to get to the stacks, you open up the file of the new main stack. I've done this many times and never had a problem with it, but I haven't had to do it yet using Rev 2.7 so maybe you have found a bug, or maybe the stacks and stackFiles are confusing you :-) Cheers, Sarah From revlist at azurevision.co.uk Wed Mar 15 15:57:07 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 15 Mar 2006 20:57:07 +0000 Subject: [OT] Spotlight and Tiger In-Reply-To: References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> Message-ID: There are three main interfaces to Spotlight - the useful one and the other two. ;-P The only one that's all that useful is the one you get when hitting Apple-F in a Finder window, which allows you to restrict searches by - Name:Contains: Last Modified:Within:Last Week Kind:Others:Revolution Stack etc. Ian On 15 Mar 2006, at 20:07, Stephen Barncard wrote: > Does anyone here know about a way to turn off all Spotlight > activity and replace it with the the Panther style search? > > I really, really HATE Spotlight. I just want to search filenames, > not the content. In spotlight I get way more hits than I need. I > design all my filenames to tell me all I need to know. > > I also hate the way it anticipates my typing, as it blocks any > other activity, and if you make a mistake, one is faced with the > dreaded spinning beachball until it is ready. Finally there are > hardly any adjustments in its panel to turn any of this behavior > off. This thing blows so many HUI guidlines it's not funny. > > Is anyone else annoyed with this horrible 'feature' of an otherwise > great OS? > > > sqb > -- > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From liamlambert at mac.com Wed Mar 15 16:04:10 2006 From: liamlambert at mac.com (liamlambert) Date: Wed, 15 Mar 2006 21:04:10 +0000 Subject: add main stack Message-ID: Just tried it in dreamcard worked fine not in studio Liam On 3/16/06, liamlambert wrote: > That is what I thought but when I try this it does not work > the stacks revert to what they were > I had done this before when I had dreamcard but now I am using studio > Is this a bug > Liam Lambert > liamlambert at mac.com > IRELAND Then you need to save, then to get to the stacks, you open up the file of the new main stack. I've done this many times and never had a problem with it, but I haven't had to do it yet using Rev 2.7 so maybe you have found a bug, or maybe the stacks and stackFiles are confusing you :-) Cheers, Sarah Liam Lambert liamlambert at mac.com IRELAND From JimAultWins at yahoo.com Wed Mar 15 16:24:05 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 15 Mar 2006 13:24:05 -0800 Subject: [OT] Spotlight and Tiger In-Reply-To: Message-ID: Recommendation based only on my experience: Set folders and drives to 'private' in Spotlight -- no indexing will occur (esp large data file storage) Use Path Finder by Cocoa Tech (I went back to ver 3.2.2 since 4.x was buggy back in December when it was first released.. probably not buggy anymore) Path Finder - The Find (cmd-F) in Path Finder is plenty fast enough for me, and will search all selected drives, showing full path names!!! for all hits. Path Finder can be launched when needed, run at startup, and coexist with the Apple Finder just fine. Path Finder is much slower when moving and trashing lots of files. I use the Finder for disk cleanup. I love some of the features of Path Finder, so I am biased, however, I use both the Finder and PF all day long. As always, your smileage may vary. Jim Ault Las Vegas OSX 10.4.2, Path Finder 3.2.2 On 3/15/06 12:07 PM, "Stephen Barncard" wrote: > Does anyone here know about a way to turn off all Spotlight activity > and replace it with the the Panther style search? > > I really, really HATE Spotlight. I just want to search filenames, not > the content. In spotlight I get way more hits than I need. I design > all my filenames to tell me all I need to know. > > I also hate the way it anticipates my typing, as it blocks any other > activity, and if you make a mistake, one is faced with the dreaded > spinning beachball until it is ready. Finally there are hardly any > adjustments in its panel to turn any of this behavior off. This thing > blows so many HUI guidlines it's not funny. > > Is anyone else annoyed with this horrible 'feature' of an otherwise great OS? > > > sqb From revolution at jaedworks.com Wed Mar 15 16:25:11 2006 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Wed, 15 Mar 2006 13:25:11 -0800 Subject: Button Label on graphic button In-Reply-To: <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> Message-ID: At 1:48 PM -0600 3/15/2006, Peter T. Evensen wrote: >I was just setting the margin on the inspector. I guess you have to >manually set the top and bottom margins in the message box? That >seems to be working better. Thanks! You can actually do this in the inspector palette, too - the margins property accepts either a single number (for all margins) or a list of four comma-separated numbers: left, top, right, and bottom. The user interface in the inspector doesn't make this obvious at all, but you can enter all four into the inspector as well. For example, you can enter 4,20,4,30 to change the top and bottom margins. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From psahores at easynet.fr Wed Mar 15 16:32:12 2006 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 15 Mar 2006 22:32:12 +0100 Subject: Making the move... In-Reply-To: <44179C2C.4060304@fourthworld.com> References: <20060315030531.063AD8260CC@mail.runrev.com> <44179C2C.4060304@fourthworld.com> Message-ID: <84797D7D-F774-45F5-BDA5-B9FDBD04F457@easynet.fr> And as long as MCRev web applications servers have been my best incomes sources betwin 1997 and 200x, i just can add that Rev is, before J2SE or PHP and behind Ruby on Rails, a real firstclass web apps development platform. RoR is probably before Rev in about the apps deployment framework and Rev is probably lots before RoR about the development langage it self, at least in my humble mind because the transcript xtalk structure, because the rev engine, both more polished and able to let us design our web apps in less time than in building them in Ruby coding. A public accessible example app : Some design, downloadable material and guildelines : :) Le 15 mars 06 ? 05:46, Richard Gaskin a ?crit : > Dan Shafer wrote: >> Web applications in the sense Ruby on Rails defines them cannot be >> written >> in Revolution. > > Since that definition requires the Ruby language and that it be on > "rails", nothing can satisfy it except Ruby on Rails. > > :) > > But DHTML (or AJAX* as the kids now call it) is just ASCII, and > Transcript is unusually adept at parsing, concatenating, and merging > text. And behind the presentation layer a database is a database, and > interfacing it is always only as graceful as the self-discipline of > the > developer, regardless of the language. Frameworks are not a new > invention, and certainly not unique to RoR. > > If the goal is to meet someone else's very specific definition of a > development paradigm, sure, Transcript may not be able to do > exactly that. > > But if the goal is to deliver the benefits of productive, flexible > systems, Transcript can prove quite capable in ways that may surprise. > > Extra bonus points: With Rev you have the option of moving beyond > Web 2.0 as in , and moving right up to Web > 3.0 a la . :) > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > > > * I'm so old when I hear "Ajax" I think of wiki/Operation_ajax>. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From sanke at hrz.uni-kassel.de Wed Mar 15 16:51:44 2006 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 15 Mar 2006 22:51:44 +0100 Subject: Educational stacks Message-ID: <44188C70.7060102@hrz.uni-kassel.de> Hello Glen, You wrote: > Hello everyone, > > I was wondering if anyone has used Revolution in creating > > 1. A multiple choice quiz stack? > > (snip) As an addendum to my previous post three hours ago: You can find Steve Messimers "Preceptor Tools", which very much rely on the "multiple-choice" principle, here : . There is also a stack "Multiple Choice Questionnaire" in folder "sample projects" of the Revolution distribution. This stack might be interesting as an example how specific questions of constructing multiple-choice exercises are addressed and programmed, otherwise it is very much sub-standard. At best it could serve as a starting point - maybe it is intended as such - for developing exercises that are nearer to state-of-the-art and state-of-the-discussion standards concerning "multiple choice". As an educational format, multiple-choice is very much disputed and discouraged. Very often, multiple-choice exercises do not clearly distinguish in their objectives, e.g. are they intended for "teaching", "learning", or simply "testing"? More modern teaching and testing procedures try to minimize the role of "multiple-choice". Even the American SAT, which very much relied on multiple-choice, is slowly steering away from this format as it adds more and more essay and open-ended parts where you actively have to produce responses and not only to recall and choose from preselected answers. So does the FCAT, the "Florida Comprehensive Assessment Test", which is applied at various grade levels in Florida schools and the main threshold you have to pass to get your high-school diploma. But designing multiple-choice exercises can be a nice programming enterprise; this is what I had in mind when I produced my multiple-choice tutorial. And, indeed, a carefully designed multiple-choice exercise can be useful as a *part* of more comprehensive teaching, learning, and testing strategies. Best regards, Wilhelm Sanke From psahores at easynet.fr Wed Mar 15 16:55:10 2006 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 15 Mar 2006 22:55:10 +0100 Subject: Runtime and Proactive Enter into Strategic Agreement In-Reply-To: References: Message-ID: Congratulations RunRev ! Kind Regards, Pierre Le 15 mars 06 ? 16:17, Kevin Miller a ?crit : > Hi All, > > I would like to let you know of some changes at Runtime Revolution > Ltd. We > have historically been based in Scotland since our inception as a > company, > and while we have a super international user community and sales have > steadily improved over the years, we have been looking at ways to > take the > company to the next level. > > Over the last several months, you may have noticed some changes - > not the > least our website! > > Runtime Revolution has now partnered with Proactive International > (http://www.proactive-intl.com) to help us evolve as a business. This > includes not only nuts-and-bolts of selling into new markets, but also > worldwide strategic business management. Proactive International > has worked > with a broad spectrum of software companies and products - with > significant > experience in development tools and media applications. > > Proactive International is owned by Lynn Fredricks, who you may > already be > familiar with from our various lists. He is also (now) a > shareholder in > Runtime Revolution. > > Over the course if this coming year, I believe you will witness > some steady > steps forward from Runtime as a business and Revolution as a product. > Proactive will be talking a very active role in this, and this will > include > a higher level of involvement of Lynn with the venues in which > Runtime works > with customers. You should not be surprised if he also uses a > signature that > is appropriate to working with Runtime at the executive level. > > I hope you will make Lynn and Proactive welcome. I do not want to > turn this > into an extended discussion on the list, so if you would like to ask > detailed questions I recommend that you email Lynn or myself directly. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From jacque at hyperactivesw.com Wed Mar 15 17:12:07 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Mar 2006 16:12:07 -0600 Subject: Making the move... In-Reply-To: <44187281.9030805@fourthworld.com> References: <20060315180004.23F3082638F@mail.runrev.com> <44187281.9030805@fourthworld.com> Message-ID: <44189137.4090004@hyperactivesw.com> Richard Gaskin wrote: > It would be helpful is someone here has performance benchmarks on Rev as > a CGI relative to Perl, Python, Ruby, and other server-side languages. I don't have benchmarks, but Scott Raney once said that the load time of the engine when used as a CGI was "insignificant". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gbojsza at gmail.com Wed Mar 15 17:12:40 2006 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 15 Mar 2006 16:12:40 -0600 Subject: Educational stacks In-Reply-To: <44188C70.7060102@hrz.uni-kassel.de> References: <44188C70.7060102@hrz.uni-kassel.de> Message-ID: <3d8af4150603151412o63cd4eeet72460767702d7d20@mail.gmail.com> Wilhelm, Thanks for the information which will take a little digesting. To answer Judy's question - I am trying to create custome learning modules that explain very specific telecommunications technology by means of visual animation and user interaction which needs to be tested for to see if the key points were understood. The trick with using multiple choice testing is to word the question and answers so that the correct solution is not quite obvious. It would be better to have essay style questions but then support for correcting and giving feedback becomes an issue. So for a start I will look at Wilhelm's suggestions and see where it goes. thanks, On 3/15/06, Wilhelm Sanke wrote: > > Hello Glen, > > You wrote: > > > Hello everyone, > > > > I was wondering if anyone has used Revolution in creating > > > > 1. A multiple choice quiz stack? > > > > (snip) > > > > As an addendum to my previous post three hours ago: > > You can find Steve Messimers "Preceptor Tools", which very much rely on > the "multiple-choice" principle, here : > >. > > There is also a stack "Multiple Choice Questionnaire" in folder "sample > projects" of the Revolution distribution. This stack might be > interesting as an example how specific questions of constructing > multiple-choice exercises are addressed and programmed, otherwise it is > very much sub-standard. At best it could serve as a starting point - > maybe it is intended as such - for developing exercises that are nearer > to state-of-the-art and state-of-the-discussion standards concerning > "multiple choice". > > As an educational format, multiple-choice is very much disputed and > discouraged. Very often, multiple-choice exercises do not clearly > distinguish in their objectives, e.g. are they intended for "teaching", > "learning", or simply "testing"? > > More modern teaching and testing procedures try to minimize the role of > "multiple-choice". Even the American SAT, which very much relied on > multiple-choice, is slowly steering away from this format as it adds > more and more essay and open-ended parts where you actively have to > produce responses and not only to recall and choose from preselected > answers. So does the FCAT, the "Florida Comprehensive Assessment Test", > which is applied at various grade levels in Florida schools and the main > threshold you have to pass to get your high-school diploma. > > But designing multiple-choice exercises can be a nice programming > enterprise; this is what I had in mind when I produced my > multiple-choice tutorial. And, indeed, a carefully designed > multiple-choice exercise can be useful as a *part* of more comprehensive > teaching, learning, and testing strategies. > > Best regards, > > Wilhelm Sanke > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Wed Mar 15 17:15:18 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Mar 2006 16:15:18 -0600 Subject: ANN: Displacement Scaling of graphic objects In-Reply-To: References: <20060315030531.063AD8260CC@mail.runrev.com> Message-ID: <441891F6.4080104@hyperactivesw.com> Jim Hurley wrote: > In the message box: > > go url "http://home.infostations.net/jhurley/ScaleMe3.rev" Oh my. To those of us who are math-impaired, this is astounding. It is also funny you should post this right now, because just two days ago I was thinking how I would like to write a fractal generator, only I don't have the math to do it. I still don't. But if I did, I bet I could. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sanke at hrz.uni-kassel.de Wed Mar 15 17:19:00 2006 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 15 Mar 2006 23:19:00 +0100 Subject: Button Label on graphic button Message-ID: <441892D4.6090105@hrz.uni-kassel.de> On Wed Mar 15, Jeanne A. E. DeVoto revolution at jaedworks.com wrote: (snip) > For example, you > can enter > 4,20,4,30 > to change the top and bottom margins. > -- > jeanne a. e. devoto ~ revolution at jaedworks.com > http://www.jaedworks.com While this indeed puts the name/label of the button on *top* of the icon it is an awkward workaround with deficiencies (concerning the clickable area of the button). Another solution would be to set the image/icon as a backpattern of the button, but this only is feasable for rectangular images, because the transparent parts of non-rectangular images appear as black when used as backpatterns. In a number of (eductional) contexts it is necessary to decide upon the name/label of a button at runtime, meaning to produce pre-fabricated combinations of images with text would not be a possible solution - for example for matching or multiple-choice exercises. We indeed need, in many cases, a feature where non-rectangular and partly transparent icons can be placed directly under the button name. Regards, Wilhelm Sanke From garrett at paraboliclogic.com Wed Mar 15 17:27:08 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Wed, 15 Mar 2006 14:27:08 -0800 Subject: Placement of Stack on screen? In-Reply-To: <5FB8C304-238B-467E-969B-9186077CFEB8@azurevision.co.uk> References: <1A0956C4-8524-461D-81AE-7450C3FF06D5@adelphia.net> <4417B6B0.9080209@comcast.net> <303B2CB4-DF4A-433F-B8B7-89E7A1F6EBE2@adelphia.net> <5FB8C304-238B-467E-969B-9186077CFEB8@azurevision.co.uk> Message-ID: <441894BC.2090800@paraboliclogic.com> Rev 2.6.1 Greetings, Where and how do I control the placement of my stack on the screen? I want to center my stack the first time the user runs my program, then from there on out, it will open where it was last when the user previously closed it. Thanks, -Garrett From chipp at chipp.com Wed Mar 15 17:22:34 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 15 Mar 2006 16:22:34 -0600 Subject: Making the move... In-Reply-To: <44187281.9030805@fourthworld.com> References: <20060315180004.23F3082638F@mail.runrev.com> <44187281.9030805@fourthworld.com> Message-ID: <441893AA.3070407@chipp.com> Richard Gaskin wrote: > All that said, there are two benefits to Ruby: most of the code you'd > need is already written, and as open source it's all freely available. > > But while Ruby may have some advantages, that doesn't make using other > languages to generate DHTML interfaces impossible. > > > Taking this a step further, I'll close with an exercise for the reader: > > 1. Make a web app development tool in Rev for laying out and generating > DHTML controls for web pages. > > 2. Now make the same tool in Ruby. An interesting side note to all of this is that RonR really doesn't do much with DHTML and javascript...they leave that up to the AJAX developers. RonR is primarly server oriented, and only provides basic html scaffolding as UI. There are a few groups trying to paste AJAX on top of Ruby, but it's not that easy (yet). Dan has first hand info on how easy/hard it is to deploy apps in RonR. I'm pretty sure one could right a framework similar to RonR in Rev using Rev CGI's but there's always the cgi performace issue. I think Pierre Sahores has figured out a way to use a single instance of RevCGI and the multiple port capabilites of PHP, though I don't remember the details. -Chipp From jacque at hyperactivesw.com Wed Mar 15 17:32:11 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Mar 2006 16:32:11 -0600 Subject: Button Label on graphic button In-Reply-To: <441892D4.6090105@hrz.uni-kassel.de> References: <441892D4.6090105@hrz.uni-kassel.de> Message-ID: <441895EB.7060700@hyperactivesw.com> Wilhelm Sanke wrote: > We indeed need, in many cases, a feature where non-rectangular and > partly transparent icons can be placed directly under the button name. You can put the name on top by setting margins too. Set the bottom margin larger than the top margin, and experiment with different amounts. I was just able to do it. The button remains rectangular though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From psahores at easynet.fr Wed Mar 15 17:38:50 2006 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 15 Mar 2006 23:38:50 +0100 Subject: Making the move... In-Reply-To: <441893AA.3070407@chipp.com> References: <20060315180004.23F3082638F@mail.runrev.com> <44187281.9030805@fourthworld.com> <441893AA.3070407@chipp.com> Message-ID: Le 15 mars 06 ? 23:22, Chipp Walters a ?crit : > Richard Gaskin wrote: > >> All that said, there are two benefits to Ruby: most of the code >> you'd need is already written, and as open source it's all freely >> available. >> But while Ruby may have some advantages, that doesn't make using >> other languages to generate DHTML interfaces impossible. >> Taking this a step further, I'll close with an exercise for the >> reader: >> 1. Make a web app development tool in Rev for laying out and >> generating DHTML controls for web pages. >> 2. Now make the same tool in Ruby. > > An interesting side note to all of this is that RonR really doesn't > do much with DHTML and javascript...they leave that up to the AJAX > developers. RonR is primarly server oriented, and only provides > basic html scaffolding as UI. There are a few groups trying to > paste AJAX on top of Ruby, but it's not that easy (yet). > > Dan has first hand info on how easy/hard it is to deploy apps in > RonR. I'm pretty sure one could right a framework similar to RonR > in Rev using Rev CGI's but there's always the cgi performace issue. > I think Pierre Sahores has figured out a way to use a single > instance of RevCGI and the multiple port capabilites of PHP, though > I don't remember the details. ;) > > -Chipp > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From jacque at hyperactivesw.com Wed Mar 15 17:41:28 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Mar 2006 16:41:28 -0600 Subject: Placement of Stack on screen? In-Reply-To: <441894BC.2090800@paraboliclogic.com> References: <1A0956C4-8524-461D-81AE-7450C3FF06D5@adelphia.net> <4417B6B0.9080209@comcast.net> <303B2CB4-DF4A-433F-B8B7-89E7A1F6EBE2@adelphia.net> <5FB8C304-238B-467E-969B-9186077CFEB8@azurevision.co.uk> <441894BC.2090800@paraboliclogic.com> Message-ID: <44189818.60207@hyperactivesw.com> Garrett Hylltun wrote: > Rev 2.6.1 > > Greetings, > > Where and how do I control the placement of my stack on the screen? I > want to center my stack the first time the user runs my program, then > from there on out, it will open where it was last when the user > previously closed it. Initially: set the loc of this stack to the screenloc Then trap the "moveStack" system message and set a custom property: on moveStack -- user has moved the window set the cStackPos of this stack to the loc of this stack end moveStack And after that: set the loc of this stack to the cStackPos of this stack -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lynn at paradigmasoft.com Wed Mar 15 17:47:34 2006 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Wed, 15 Mar 2006 14:47:34 -0800 Subject: 3rd Annual Revolution Convention Returns to Monterey Message-ID: <1069659601-190284883@lindbergh.macserve.net> 3rd Annual Revolution Convention Returns to Monterey Early Bird Discounts End May 1, 2006 March 15, 2006. Monterey, CA. RevCentral and Runtime Revolution Ltd, announced plans for the largest gathering of Revolution users and developers to be held in Monterey, California from June 17-18. This marks the third consecutive year that RevCentral has hosted this event. Runtime Revolution, Ltd is co-sponsoring the event. In 2005, Revolutionaries converged on Monterey and enjoyed a two-day gathering that drew nearly unanimous rave reviews. This year's conference is expected to double the size of the 2005 event and will include two brand-new features. RevCon West 2006 will be held June 16-17 at the Monterey Conference Center. Confirmed speakers include Trevor DeVore, Richard Gaskin, Ken Ray, Scott Rossi, Jan Schenkel, Dan Shafer, and Chipp Walters. CEO Kevin Miller and CTO Mark Waddingham of Runtime Revolution will also attend. The speaker schedule will be updated over the coming weeks. "RevCon West 2005 was a delightful and educational experience for anyone interested in developing rich media projects, network solutions and cross-platform applications for Windows, Linux and Mac OS X," said Kevin Miller, CEO of Runtime Revolution, Ltd, "we are looking forward to being a part of RevCon West 2006 in sunny Monterey." Every attendee will also receive a free license of Revolution Media, a feature rich tool for creating interactive media and software utilities. Right out of the box it includes templates for creating kiosks, presentations, adventure games, portfolios and more. A new optional third day event will also be held at the Monterey Conference Center. That post-conference gathering will feature in-depth technical discussions of major topics of interest to Revolution developers, a "coding kitchen" in which attendees will be able to work on their projects with ready access to several top Revolutionary developers. An advanced technology brief is also planned. Also new this year will be a pre-conference tutorial workshop designed for newcomers to Revolution and Revolution Media. The tutorial will be held on Wednesday and Thursday, June 14-15, also at the Monterey Conference Center, The first day will focus on how to design and build Revolution applications and the second day will be devoted to learning the Revolution scripting language. The main conference will kick off with a jazz party Thursday evening, admission to which is included in the conference fee. The fee for the main conference June 16-17 is $299 (Early Bird Discount price of $225 until May 1). The two-day pre-conference tutorial is priced at $595, with an Early Bird Discount price of $449. The Post-Conference In-Depth sessions will cost $295, with an Early Bird Discount price of $220. Conference fees include all sessions, all handout materials, catered lunch all five days, break snacks all five days, Internet access (T-1 wireless), the Thursday Night kick-off party, and other conference giveaways. For complete pricing, travel and sponsorship information, visit the RevConWest website at http://www.revconwest.com. About RevCentral RevCentral publishes the widely read RevCentral Newsletter and acts as a conduit for third-party Revolution products. The company was founded in 2004 by Monerey-based ShaferMedia and Austin, Texas- based Altuit, Inc. Shafer Media publishes four books and eBooks about Revolution. Altuit, Inc., develop quality developer solutions for Revolution along with its flagship product, the Web site development and management system Hemingway. Learn more about RevCentral at its website at http://www.revcentral.com. About Runtime Revolution Founded in 1997, Runtime Revolution focuses on bringing user-centric software development to all major platforms: Windows, Macintosh, Linux, and Unix. The company is based in Edinburgh, Scotland. For more information on Runtime Revolution, please visit the company on the web at http://www.runrev.com or http://www.tenthumbstypingtutor.com. From jonathandlynch at gmail.com Wed Mar 15 17:59:06 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Wed, 15 Mar 2006 17:59:06 -0500 Subject: Making the move... In-Reply-To: <441893AA.3070407@chipp.com> References: <20060315180004.23F3082638F@mail.runrev.com> <44187281.9030805@fourthworld.com> <441893AA.3070407@chipp.com> Message-ID: <31e1938c0603151459s4a8b4f16n24e508ae63758cd8@mail.gmail.com> Couldn't a person build a Rev app that runs continuously, interpreting information that comes in a various ports and returning the appropriate html data as needed? I mean, Rev can operate as a server. So, as long as you are willing to write in all html formulating, it should be doable. From klaus at major-k.de Wed Mar 15 18:20:14 2006 From: klaus at major-k.de (Klaus Major) Date: Thu, 16 Mar 2006 00:20:14 +0100 Subject: Button Label on graphic button In-Reply-To: <441895EB.7060700@hyperactivesw.com> References: <441892D4.6090105@hrz.uni-kassel.de> <441895EB.7060700@hyperactivesw.com> Message-ID: Hi Jaqueline, > Wilhelm Sanke wrote: > >> We indeed need, in many cases, a feature where non-rectangular and >> partly transparent icons can be placed directly under the button >> name. > > You can put the name on top by setting margins too. Set the bottom > margin larger than the top margin, and experiment with different > amounts. and that is what we do not want to do. We just want to place the text on top of an icon, without dangerous experiments! :-) > I was just able to do it. The button remains rectangular though. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From psahores at easynet.fr Wed Mar 15 18:22:00 2006 From: psahores at easynet.fr (Pierre Sahores) Date: Thu, 16 Mar 2006 00:22:00 +0100 Subject: Making the move... In-Reply-To: <31e1938c0603151459s4a8b4f16n24e508ae63758cd8@mail.gmail.com> References: <20060315180004.23F3082638F@mail.runrev.com> <44187281.9030805@fourthworld.com> <441893AA.3070407@chipp.com> <31e1938c0603151459s4a8b4f16n24e508ae63758cd8@mail.gmail.com> Message-ID: <425B1B3B-FB08-4DA7-B091-588A7D615D2D@easynet.fr> ;) Le 15 mars 06 ? 23:59, Jonathan Lynch a ?crit : > Couldn't a person build a Rev app that runs continuously, interpreting > information that comes in a various ports and returning the > appropriate html > data as needed? > > I mean, Rev can operate as a server. So, as long as you are willing > to write > in all html formulating, it should be doable. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From stephenREVOLUTION at barncard.com Wed Mar 15 18:29:00 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 15 Mar 2006 15:29:00 -0800 Subject: [OT] Major Flood in Kauai - Swami?? In-Reply-To: <425B1B3B-FB08-4DA7-B091-588A7D615D2D@easynet.fr> References: <20060315180004.23F3082638F@mail.runrev.com> <44187281.9030805@fourthworld.com> <441893AA.3070407@chipp.com> <31e1938c0603151459s4a8b4f16n24e508ae63758cd8@mail.gmail.com> <425B1B3B-FB08-4DA7-B091-588A7D615D2D@easynet.fr> Message-ID: Our fellow Revolutionary Sivakatirswami lives in Kauai, HI. I found out today that there was a major dam breach on a river on the north shore. I hope you're ok, man. http://edition.cnn.com/2006/US/03/15/hawaii.dam/index.html sqb -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jonathandlynch at gmail.com Wed Mar 15 18:52:59 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Wed, 15 Mar 2006 18:52:59 -0500 Subject: Making the move... In-Reply-To: <425B1B3B-FB08-4DA7-B091-588A7D615D2D@easynet.fr> References: <20060315180004.23F3082638F@mail.runrev.com> <44187281.9030805@fourthworld.com> <441893AA.3070407@chipp.com> <31e1938c0603151459s4a8b4f16n24e508ae63758cd8@mail.gmail.com> <425B1B3B-FB08-4DA7-B091-588A7D615D2D@easynet.fr> Message-ID: <31e1938c0603151552m36f7c710h607cf982ea5200a5@mail.gmail.com> yeah, that's the idea... Step three in my development of Task Mage will be to create a client/server version, with a rev app managing the sharing of the tasks from various server side Task Mages. From revolutionary.dan at gmail.com Wed Mar 15 20:05:16 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Wed, 15 Mar 2006 17:05:16 -0800 Subject: Making the move... In-Reply-To: <31e1938c0603151552m36f7c710h607cf982ea5200a5@mail.gmail.com> References: <20060315180004.23F3082638F@mail.runrev.com> <44187281.9030805@fourthworld.com> <441893AA.3070407@chipp.com> <31e1938c0603151459s4a8b4f16n24e508ae63758cd8@mail.gmail.com> <425B1B3B-FB08-4DA7-B091-588A7D615D2D@easynet.fr> <31e1938c0603151552m36f7c710h607cf982ea5200a5@mail.gmail.com> Message-ID: <70ed6b130603151705r462ad5fdn9133039773b87824@mail.gmail.com> With the caveat that I am hardly a Rails expert and certainly have not done a lot of work with Rev on the server side either, let me see if I can clarify my earlier point here. I know that what I'm going to say is probably so trivial to many reading this thread that it will seem like I'm just off base, but I'm trying to make the issue I see really starkly clear. With PHP or Ruby on Rails, 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. So for example (and I realize this is so simplistic that it may not be sufficiently illustrative), in a .rhtml (rubified HTML) file, you might find this construct: It is now <%= Time.now %> When this page is called from the client's browser, the Ruby method "now" is called against the class Time (this is a class method), which returns a string that replaces everything between the angle brackets in the Web page. Every time that page is loaded, the method executes and the page is updated. This is a direct call to the language interpreter, not a CGI execution (at least that's how I understand this being handled). It is therefore blazingly fast. We're not calling a script on the server and invoking a command or function. Now if I understand things on the Rev side correctly -- and there are a lot of folks here who know more about this than I do -- the only way to get a Rev script to run is as a CGI. That means, among other things, that you'd have to minimally create a text file with a script called "on startup" and save that script as an executable CGI script. So you'd end up dealing with a text file, permissions, and an indirect call to the contents of the script file to accomplish the same thing that one line of embedded Ruby code does in RoR. 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. I am NOT suggesting it would be impossible to remedy these issues in Rev. Nor am I suggesting that the overhead of this processing is so onerous that using Rev CGI solutions is impractical. All I'm trying to say is that there is a pretty fundamental difference here between invoking a script language's command directly and being forced to explicitly call a CGI function that in turn executs a script command. Now before you jump in my face again, go back and re-read the caveat at the beginning of this message. :-) -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From mlange at lexicall.org Wed Mar 15 20:22:34 2006 From: mlange at lexicall.org (Marielle Lange) Date: Thu, 16 Mar 2006 01:22:34 +0000 Subject: Making the move... Message-ID: Dan, Simple: "A method for outputting Java byte-codes equivalent to MetaCard scripts has been designed, but implementation has been delayed until the serious performance, compatibility, and functionality limitations in Java have been rectified." http://www.metacard.com/pi5.html Then, you can have a multiple export format, to java file, java applet, standalone for mac windows, linux, exactly the way they do here: http://www.processing.org/ On top, that's free. Their GUI is limited but that's only version Beta. They announce a contribution from http://www.thbbpt.net/ interfascia/, to enhance their set of GUI elements. So you can expect it to improve in the future. I really invite you to have a try, that's a gem. Alternatively, you can convert hypertalk to javascript: http:// lexnet.bravepages.com/HTMLJS.htm Alternatively, you can convert it to a mix of xml and embedded script, compatible with one of these: http://luxor-xul.sourceforge.net/ http://www.simkin.co.uk/ Or you can write an hypertalk interpreter in java: http:// boredgamer.org/HyperJava/. There is another guy with a version a lot more advanced than that (no, not freecard), but that's not on the web. So many possibilities! Marielle > Richard..... > > I *certainly* don't disagree with your response, but I'm earnestly > seeking a > description of how you'd go about building an app in Rev that is > entirely > deliverable via a Web browser, which is, I submit, the definition > of a Web > application. I think that was the original point/question. Creating > thin-client Web appliances is amazingly easy with Rev. Creating > CGIs that > run on a server -- including back-end database access -- is also > feasible, > if somewhat limited in terms of performance (no FCGI support as far > as I > know). > > If this is possible, I'd sure like to know how to do it. > ------------------------------------------------------------------------ -------- Marielle Lange (PhD), Psycholinguist Alternative emails: mlange at blueyonder.co.uk, Homepage http://homepages.widged.com/mlange/ Easy access to lexical databases http:// lexicall.widged.com/ Supporting Education Technologists http:// revolution.widged.com/wiki/ From lan.kc.macmail at gmail.com Wed Mar 15 20:47:10 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 16 Mar 2006 09:47:10 +0800 Subject: Not connecting to MySQL 5 In-Reply-To: <4417F860.5060405@harbourhost.co.uk> References: <4417F860.5060405@harbourhost.co.uk> Message-ID: On 3/15/06, Martin Baxter wrote: > > You need to use a login account whose password is in OLD_PASSWORD > format. Rev can't do the newer format. See MySQL docs for info in the > problems and common errors section. The only thing I could find was the old_password variable, which default setting was OFF. I set it to ON but it made no difference I still get the: "Client does not support authentication protocol requested by server; consider upgrading MySQL client" message. Any further help appreciated. From mvreade at earthlink.net Wed Mar 15 20:57:01 2006 From: mvreade at earthlink.net (mvreade at earthlink.net) Date: Wed, 15 Mar 2006 20:57:01 -0500 Subject: Not connecting to MySQL 5 In-Reply-To: References: <4417F860.5060405@harbourhost.co.uk> Message-ID: <982C7250-3214-4575-95AD-2CA8A70B6FF2@earthlink.net> Check this from the MySQL website: http://dev.mysql.com/doc/refman/4.1/en/old-client.html Hope this helps, Michael Reade On Mar 15, 2006, at 8:47 PM, Kay C Lan wrote: > On 3/15/06, Martin Baxter wrote: >> >> You need to use a login account whose password is in OLD_PASSWORD >> format. Rev can't do the newer format. See MySQL docs for info in the >> problems and common errors section. > > > > The only thing I could find was the old_password variable, which > default > setting was OFF. I set it to ON but it made no difference I still > get the: > > "Client does not support authentication protocol requested by server; > consider upgrading MySQL client" > > message. > > Any further help appreciated. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Wed Mar 15 20:58:19 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Mar 2006 19:58:19 -0600 Subject: Not connecting to MySQL 5 In-Reply-To: References: <4417F860.5060405@harbourhost.co.uk> Message-ID: <4418C63B.1040501@hyperactivesw.com> Kay C Lan wrote: > On 3/15/06, Martin Baxter wrote: > >>You need to use a login account whose password is in OLD_PASSWORD >>format. Rev can't do the newer format. See MySQL docs for info in the >>problems and common errors section. > > > > > The only thing I could find was the old_password variable, which default > setting was OFF. I set it to ON but it made no difference I still get the: > > "Client does not support authentication protocol requested by server; > consider upgrading MySQL client" > > message. > > Any further help appreciated. This thread: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revlist at azurevision.co.uk Wed Mar 15 21:51:39 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 16 Mar 2006 02:51:39 +0000 Subject: Faking soft dropshadows Message-ID: With the new import/export snapshot abilities in Rev 2.7, it just got much easier to do certain kinds of image manipulation, and I finally got around to making a stack that will add relatively convincing dropshadows to a copy any image, transparent or not. Basically, it copies flat colour into the image, makes multiple copies of it with different opacities and positions, then groups everything together so that it can be exported or imported as a new image with full transparency. In the message box: go url "http://www.azurevision.co.uk/rev/dropshadow_004.rev" An example output: You can also change the colour of the dropshadow... Have fun, Ian Wood Panoramic photography, from web to billboard, sunrise to moonrise http://www.landmarksofbritain.co.uk http://www.azurevision.co.uk From lan.kc.macmail at gmail.com Wed Mar 15 22:57:30 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 16 Mar 2006 11:57:30 +0800 Subject: Not connecting to MySQL 5 In-Reply-To: <4418C63B.1040501@hyperactivesw.com> References: <4417F860.5060405@harbourhost.co.uk> <4418C63B.1040501@hyperactivesw.com> Message-ID: Thanks Michael and Jaque the threads pointed me to the other problem I'd created. As it was a new installation of MySQL I decided it was time to update a few of the passwords! Martins solution would have worked if I had not changed the passwords BEFORE I'd set the old_passwords variable. Everythings back to it's usual rock solid performance. Now I can attend to the 'reason' this whole process started; discovered 'subqueries' and figured I could produce some pretty cool results, but I was running 4.0 and needed to update to take advantage of subqueries:-) From lan.kc.macmail at gmail.com Wed Mar 15 23:18:43 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 16 Mar 2006 12:18:43 +0800 Subject: [OT] Spotlight and Tiger In-Reply-To: References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> Message-ID: On 3/16/06, Stephen Barncard wrote: > > > Is anyone else annoyed with this horrible 'feature' of an otherwise great > OS? You miss the most annoying feature of all. Spotlight is invariably WRONG. I fail to find folders or files which blantanly exist. The number of times I typed in the exact file/folder name and spotlight fails to find it is mind boggling. It has nothing to do with permissions because I check. I can find the file next to the one that is 'spotlight-shy' or find files/folders inside the folder that is 'spotlight-shy'. I 'reset' permissions (because they are no different) to the file/folder's neighbour, but it makes no difference. I've used FileBuddy for years and was thinking that it was becoming less and less useful - little did I know. From revolutionary.dan at gmail.com Thu Mar 16 00:16:37 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Wed, 15 Mar 2006 21:16:37 -0800 Subject: Making the move... In-Reply-To: References: Message-ID: <70ed6b130603152116r38df1affj44de9f557b503f94@mail.gmail.com> Marielle.... Wow. Thanks for all those cool pointers. I had no idea! On 3/15/06, Marielle Lange wrote: > > Dan, > > Simple: "A method for outputting Java byte-codes equivalent to > MetaCard scripts has been designed, but implementation has been > delayed until the serious performance, compatibility, and > functionality limitations in Java have been rectified." > http://www.metacard.com/pi5.html > > Then, you can have a multiple export format, to java file, java > applet, standalone for mac windows, linux, exactly the way they do here: > http://www.processing.org/ > On top, that's free. Their GUI is limited but that's only version > Beta. They announce a contribution from http://www.thbbpt.net/ > interfascia/, to enhance their set of GUI elements. So you can expect > it to improve in the future. I really invite you to have a try, > that's a gem. > > Alternatively, you can convert hypertalk to javascript: http:// > lexnet.bravepages.com/HTMLJS.htm > > Alternatively, you can convert it to a mix of xml and embedded > script, compatible with one of these: > http://luxor-xul.sourceforge.net/ > http://www.simkin.co.uk/ > > Or you can write an hypertalk interpreter in java: http:// > boredgamer.org/HyperJava/. There is another guy with a version a lot > more advanced than that (no, not freecard), but that's not on the web. > > So many possibilities! > > Marielle > > > > > > Richard..... > > > > I *certainly* don't disagree with your response, but I'm earnestly > > seeking a > > description of how you'd go about building an app in Rev that is > > entirely > > deliverable via a Web browser, which is, I submit, the definition > > of a Web > > application. I think that was the original point/question. Creating > > thin-client Web appliances is amazingly easy with Rev. Creating > > CGIs that > > run on a server -- including back-end database access -- is also > > feasible, > > if somewhat limited in terms of performance (no FCGI support as far > > as I > > know). > > > > If this is possible, I'd sure like to know how to do it. > > > ------------------------------------------------------------------------ > -------- > Marielle Lange (PhD), Psycholinguist > > Alternative emails: mlange at blueyonder.co.uk, > > Homepage > http://homepages.widged.com/mlange/ > Easy access to lexical databases http:// > lexicall.widged.com/ > Supporting Education Technologists http:// > revolution.widged.com/wiki/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From 3mcgrath at adelphia.net Thu Mar 16 00:42:34 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 16 Mar 2006 00:42:34 -0500 Subject: [OT] Spotlight and Tiger In-Reply-To: References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> Message-ID: I have HATED spotlight until this very second......... Ian, thank you. I can now look for just the damn name AND just one that I touched this past week. AWESOME.... Tom On Mar 15, 2006, at 3:57 PM, Ian Wood wrote: > There are three main interfaces to Spotlight - the useful one and > the other two. ;-P > > The only one that's all that useful is the one you get when hitting > Apple-F in a Finder window, which allows you to restrict searches by - > Name:Contains: > Last Modified:Within:Last Week > Kind:Others:Revolution Stack > etc. > > Ian > > On 15 Mar 2006, at 20:07, Stephen Barncard wrote: > >> Does anyone here know about a way to turn off all Spotlight >> activity and replace it with the the Panther style search? >> >> I really, really HATE Spotlight. I just want to search filenames, >> not the content. In spotlight I get way more hits than I need. I >> design all my filenames to tell me all I need to know. >> >> I also hate the way it anticipates my typing, as it blocks any >> other activity, and if you make a mistake, one is faced with the >> dreaded spinning beachball until it is ready. Finally there are >> hardly any adjustments in its panel to turn any of this behavior >> off. This thing blows so many HUI guidlines it's not funny. >> >> Is anyone else annoyed with this horrible 'feature' of an >> otherwise great OS? >> >> >> sqb >> -- Thomas J McGrath III 3mcgrath at adelphia.net 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 From stephenREVOLUTION at barncard.com Thu Mar 16 01:09:37 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 15 Mar 2006 22:09:37 -0800 Subject: [OT] Spotlight and Tiger In-Reply-To: References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> Message-ID: so I took Andre's suggestion and build a little simple file search stack, using the Shell and a little Applescript. Double clicking one of the returned lines will reveal the enclosing folder. Just a dumb file search right now, and only works on the boot drive... But I've already used it 6 times today...even limited as it is, I like it a lot better than spotlight!! thanks Andre... now I'll share it with those that want it: run this in the message box... go URL "http://barncard.com/search.rev" >On 3/16/06, Stephen Barncard wrote: >> >> >> Is anyone else annoyed with this horrible 'feature' of an otherwise great >> OS? > > >You miss the most annoying feature of all. Spotlight is invariably WRONG. I >fail to find folders or files which blantanly exist. The number of times I -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From chipp at chipp.com Thu Mar 16 03:33:15 2006 From: chipp at chipp.com (Chipp Walters) Date: Thu, 16 Mar 2006 02:33:15 -0600 Subject: Faking soft dropshadows In-Reply-To: References: Message-ID: <441922CB.3020102@chipp.com> I get: No Such Card. Perhaps you should check the URL? > In the message box: > go url "http://www.azurevision.co.uk/rev/dropshadow_004.rev" From chipp at chipp.com Thu Mar 16 03:34:56 2006 From: chipp at chipp.com (Chipp Walters) Date: Thu, 16 Mar 2006 02:34:56 -0600 Subject: Faking soft dropshadows In-Reply-To: References: Message-ID: <44192330.8090102@chipp.com> Never mind, I was using Rev 2.6 not 2.7 and because the file format changed, rev couldn't recognize your stack. Thanks, looks nice! -Chipp From chipp at chipp.com Thu Mar 16 03:42:06 2006 From: chipp at chipp.com (Chipp Walters) Date: Thu, 16 Mar 2006 02:42:06 -0600 Subject: [OT] Spotlight and Tiger In-Reply-To: References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> Message-ID: <441924DE.7090603@chipp.com> There's an excellent Spotlight tutorial DVD by Rick Ligas at http://www.discoveryourmac.com/ Just in case anyone's interested. -Chipp From stephenREVOLUTION at barncard.com Thu Mar 16 04:05:24 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 16 Mar 2006 01:05:24 -0800 Subject: [OT] Spotlight and Tiger In-Reply-To: <441924DE.7090603@chipp.com> References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> <441924DE.7090603@chipp.com> Message-ID: Which costs about the same as than a copy of Path Finder! >There's an excellent Spotlight tutorial DVD by Rick Ligas at >http://www.discoveryourmac.com/ > >Just in case anyone's interested. > >-Chipp -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From revlist at azurevision.co.uk Thu Mar 16 04:23:19 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 16 Mar 2006 09:23:19 +0000 Subject: [OT] Spotlight and Tiger In-Reply-To: References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> Message-ID: On 16 Mar 2006, at 04:18, Kay C Lan wrote: > On 3/16/06, Stephen Barncard wrote: >> >> Is anyone else annoyed with this horrible 'feature' of an >> otherwise great >> OS? > > You miss the most annoying feature of all. Spotlight is invariably > WRONG. I > fail to find folders or files which blantanly exist. The number of > times I > typed in the exact file/folder name and spotlight fails to find it > is mind > boggling. It has nothing to do with permissions because I check. Sounds like the database files have got seriously corrupted somehow. If you are happy in the terminal have a look at the two following pages, which have some instructions and experiences with renewing the database: Edit - an easier way - go to the privacy tab in the Spotlight preference pane, drag all your partitions in, then remove them again. Note that the rebuild may take several hours... Ian From lan.kc.macmail at gmail.com Thu Mar 16 07:20:37 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 16 Mar 2006 20:20:37 +0800 Subject: [OT] Spotlight and Tiger In-Reply-To: References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> Message-ID: On 3/16/06, Ian Wood wrote: > > Sounds like the database files have got seriously corrupted somehow. > Thanks for the links about rebuilding the database. Note that the rebuild may take several hours... Hmmmm. I think I might leave it until next time I have to watch paint dry:-) FileBuddy gives me case sensitive searches and allows me to restrict the search to 3 folders on 2 HDs. Gets the right file/folder every time in a couple of seconds. Then again, is the spotlight db only used by spotlight or is a corrupt db likely to effect other things? Why can FileBuddy find the file and not spotlight, I assume they use the same db? Thanks From revlist at azurevision.co.uk Thu Mar 16 07:26:22 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 16 Mar 2006 12:26:22 +0000 Subject: [OT] Spotlight and Tiger In-Reply-To: References: <6.2.1.2.2.20060314142642.14b440c8@exchange.slg.com> <6.2.1.2.2.20060314144849.14c06e10@exchange.slg.com> <6.2.1.2.2.20060315134729.08678bd0@exchange.slg.com> Message-ID: <0F6A3226-BB56-447A-90FA-9FCA5797C346@azurevision.co.uk> On 16 Mar 2006, at 12:20, Kay C Lan wrote: > Then again, is the spotlight db only used by spotlight or is a > corrupt db > likely to effect other things? Why can FileBuddy find the file and not > spotlight, I assume they use the same db? Offhand, I can't think of anything else it would affect, other than searches within Mail. Never used FileBuddy, so couldn't answer that one. Ian From Andre.Bisseret at inria.fr Thu Mar 16 07:33:11 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q?Andr=E9.Bisseret?=) Date: Thu, 16 Mar 2006 13:33:11 +0100 Subject: =?iso-8859-1?q?Printing_fields_with_images_included_by_=AB_set_t?= =?iso-8859-1?q?he_imageSource_of_such_char_=BB?= Message-ID: <07E7BF8F-B4E9-11DA-A147-000393DBAA2A@inria.fr> Hi ! On each card of an App. I have differents texts ; some are including images that are put there by means of one char on a line (ex. : ?,?,??) whose imageSource is set to an image number (the images are in a special substack). I want the user be able to print the text of this fld. My first method is the following : I created a hidden field (in the main stack), say field ? toPrint ? in which I am composing (from several fields in a card) and formating the text to print. The core of it is : put fld ? theText ? into fld ? toPrint ? set the HTMLText of fld ? toPrint ? to the HTMLText of fld ?theText ?. Then I print with revShowPrintDialog false,true put tab & "Page " & "<%pageNumber%>" into footer revPrintText (the htmlText of fld "toPrint"),,footer That works very well on Mac, The field ? toPrint ? is printed exactly as I want, including printing the images nicely. But testers got problems with Windows (mainly, repetitions of part of the text on new pages). So I am trying another method using a special PrintingStack with two fields, one, say, the ? bufferField ? the other the fldToPrint : filling in the second while emptying the first, line after line (thanks to the explanations I founded in the SmartEBook on Printing by Dan Schafer). .Mainly : repeat until the formattedHeight of fld "fldToPrint" of cd cardNum >= gPrintHeight set the htmlText of line lineToAdd of fld "fldToPrint"\ to the htmlText of line 1 of fld "bufferField" of cd 1 delete line 1 of fld "bufferField" of cd 1 All works well if there is no image. When there is an image, the image appears normally. BUT it is followed by an incredible mess (a lot of chars such as squares, apples, and so on) which could take several pages if it was not remaining on the same card where the image appears. Then the normal text is following, normally on another created card. Is it possible to manage to avoid such a mess ? Thanks a lot in advance for any suggestion Best regards from Grenoble Andr? From Stgoldberg at aol.com Thu Mar 16 07:37:46 2006 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Thu, 16 Mar 2006 07:37:46 EST Subject: use-revolution Digest, Vol 30, Issue 36 Message-ID: <26c.7986652.314ab61a@aol.com> In a message dated 3/15/06 12:34:17 PM, Glen Bojsza wrote: > I was wondering if anyone has used Revolution in creating > 1. A multiple choice quiz stack? > 2. A multimedia "training" stack ? > My interest is in the "look and feel" from the user experience and how > self-contained training modules show flow. I have all the content material > for several modules but lack the experience on the educational side in how > best design the courses and test the users. > I am presently converting all the educational CDs produced by MedMaster (www.medmaster.net) from their original format (mTropolis) to Revolution. mTropolis, a very useful program which is now essentially defunct in view of its incompatibility with the new Intel Macs, enabled rapid development of educational materials. However, I am finding by comparison that Revolution is better, allowing much more rapid development in view of its powerful scripting language. The key is to first decide what kind of format you want in the educational program, which may differ depending on the educational level of the students and the topic of the course. It would first help to explore existing educational programs in your field of interest, whether or not they are in computerized or written format. Once you have decided on what you want to accomplish, the likelihood is that you will be able to do it in Revolution. I'll be happy to send you a sample of one or more of the programs I've done. These include: 1. Neurologic localization - a program designed to instantly point graphically to the areas of the nervous system involved in neurologic deficits. Teaches the user how to make diagnoses. Contains a laboratory course in neuroanatomy. (No quiz questions) 2. Ophthalmology atlas - teaches ophthalmic examination, including an atlas of ophthalmologic diseases (no scoring) 3. Radiology atlas of ophthalmologic diseases - quizzes the student on radiologic images (no scoring) 4. Cardiology - teaches heart sounds, EKGs, x-rays, echocardiography, along with a series of quiz questions (no scoring) 4. Review for the Medical Board exams - I'm working on several Board exams. Each CD includes 1000+ questions, with scoring. Frankly, I'm amazed at the relative ease of doing this in Revolution. One of the really nice things about Revolution is the ease of connecting from the CD program to Internet sites, which should prove increasingly important in future educational programs. I've taught medical students for 25 years, which may involve a different educational approach than other audiences. So the audience and the subject may influence the design. Stephen Goldberg, MD President, MedMaster Inc stgoldberg at aol.com www.medmaster.net From Stgoldberg at aol.com Thu Mar 16 07:39:06 2006 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Thu, 16 Mar 2006 07:39:06 EST Subject: Educational stacks Message-ID: <280.768d2b1.314ab66a@aol.com> In a message dated 3/15/06 12:34:17 PM, Glen Bojsza wrote: > I was wondering if anyone has used Revolution in creating > 1. A multiple choice quiz stack? > 2. A multimedia "training" stack ? > My interest is in the "look and feel" from the user experience and how > self-contained training modules show flow. I have all the content material > for several modules but lack the experience on the educational side in how > best design the courses and test the users. > > I am presently converting all the educational CDs produced by MedMaster (www.medmaster.net) from their original format (mTropolis) to Revolution. mTropolis, a very useful program which is now essentially defunct in view of its incompatibility with the new Intel Macs, enabled rapid development of educational materials.? However, I am finding by comparison that Revolution? is better, allowing much more rapid development? in view of its powerful scripting language. The key is to first decide? what kind of format you want in the educational program, which may differ depending on the educational level of the students and the topic of the course. It would first help to explore existing educational programs in your field of interest, whether or not they are in computerized or written format.? Once you have decided on what you want to accomplish, the likelihood is that you will be able to do it in Revolution. I'll be happy to send you a sample of one or more of the programs I've done. These include: 1.? Neurologic localization - a program designed to instantly point graphically to the areas of the nervous system involved in neurologic deficits.? Teaches the user how to make diagnoses. Contains a laboratory course in neuroanatomy. (No quiz questions) 2.? Ophthalmology atlas - teaches ophthalmic examination, including an atlas of ophthalmologic diseases (no scoring) 3.? Radiology atlas of ophthalmologic diseases - quizzes the student on radiologic images (no scoring) 4.? Cardiology - teaches heart sounds, EKGs, x-rays, echocardiography, along with a series of quiz questions (no scoring) 4.? Review for the Medical Board exams - I'm working on several Board exams. Each CD? includes 1000+ questions, with scoring.? Frankly, I'm amazed at the relative ease of doing this in Revolution.? One of the really nice things about Revolution is the ease of connecting from the CD program to? Internet sites, which should prove increasingly important in future educational programs. I've taught medical students for 25 years, which may involve a different educational approach than other audiences.? So the audience and the subject may influence the design. Stephen Goldberg, MD President, MedMaster Inc stgoldberg at aol.com www.medmaster.net From livfoss at mac.com Thu Mar 16 08:24:21 2006 From: livfoss at mac.com (Graham Samuel) Date: Thu, 16 Mar 2006 14:24:21 +0100 Subject: How does 'Create Folder' give its result? Message-ID: <2C4F9855-3C77-40A9-92AE-83423BECEA36@mac.com> I have a path in a variable say myPath, and I execute create folder myPath sometimes the folder can't be created (if the directory is protected etc) and if I execute the above in the message box in these circumstances, I see the text can't create that directory But if I do this by script, this text doesn't seem to be in 'the result' or in 'it' (which appears to contain 'OK' even if the create hasn't worked), so where is this text - ? The 2.7.0 docs (dictionary and PDF) are silent on the matter. As 'create' is not a function, I don't see any other way for it to return a value. Clearly I can produce a workaround by checking if the folder exists immediately after trying to create it, but how does 'create' show its result"? TIA Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From effendi at wanadoo.fr Thu Mar 16 08:35:27 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 16 Mar 2006 14:35:27 +0100 Subject: Positioning the Message Box ? Message-ID: Hi from Paris, I like to display information in the message box (an old Hypercard habit !) during execution of some of my routines (Print, etc.). So I thought I would control the position and size of the box to sit it under my stack window. When I execute the command : set the rect of window "message box" to 394,681,802,826 in the message box, it changes position and size to my requirements, but when I put it into my script : show message box set the rect of window "message box" to 394,681,802,826 nothing happens. It sits in the standard place with the standard size. Am I doing something wrong, or is is the command not acceptable ? -Francis "Nothing should ever be done for the first time" From kray at sonsothunder.com Thu Mar 16 08:59:29 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 16 Mar 2006 07:59:29 -0600 Subject: Faking soft dropshadows In-Reply-To: Message-ID: On 3/15/06 8:51 PM, "Ian Wood" wrote: > With the new import/export snapshot abilities in Rev 2.7, it just got > much easier to do certain kinds of image manipulation, and I finally > got around to making a stack that will add relatively convincing > dropshadows to a copy any image, transparent or not. Very nice, Ian! And quite fast as well... Well done! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jhurley at infostations.com Thu Mar 16 09:43:36 2006 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 16 Mar 2006 06:43:36 -0800 Subject: ANN: Displacement Scaling of graphic objects In-Reply-To: <20060315211440.ACF48826409@mail.runrev.com> References: <20060315211440.ACF48826409@mail.runrev.com> Message-ID: > >Jim Hurley wrote: > >> In the message box: >> >> go url "http://home.infostations.net/jhurley/ScaleMe3.rev" > >Oh my. To those of us who are math-impaired, this is astounding. > >It is also funny you should post this right now, because just two days >ago I was thinking how I would like to write a fractal generator, only I >don't have the math to do it. I still don't. But if I did, I bet I could. ;) > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com > Thanks to all for your kind words. We all bring special backgrounds to this tool which we share. Personally, I never got over the joy I found in my high school geometry class. But I too am astounded by all the rest of you, with your sockets, and your cgi, and your HMAC/SHA1, and all the rest of the mysteries of programming. But Jacque, I know you can do fractals with your math tied behind your back. The beauty of Turtle Graphics is that all the analytical stuff is done for you. The rest is a little geometry using such commands as: Forward, Back, Right, Left, to handle the local geometry, and setXY, incXY to deal with the coordinate stuff. It is amazing what you can do with this tool. There are books, written by MIT math professors, using TG to do special relativity. To do the snowflake all the geometry you need is to recognize that: on drawSide L forward L left 60 forward L right 120 forward L left 60 forward L end drawSide will draw a four segment line with a angular (60 degree) bump in the middle. The hard part, at least it's hard for me, is to recognize that the recursive version of this is: on drawSide L if L > 3 then --Three is a measure of the smallest fractal segment to be considered. divide L by 3 -- Or whatever drawSide L left 60 drawSide L right 120 drawSide L left 60 drawSide L else forward L end if end drawSide And that takes a while to see. You would probably be better at that than I am. My mind doesn't work recursively. The "stopTurtle" stack is an interpreter I wrote in Transcript to implement TG. To check it out, in the msg box, run: go url "http://home.infostations.net/jhurley/StopTurtles.rev" It includes a TG dictionary and a few examples. Jim From effendi at wanadoo.fr Thu Mar 16 09:56:27 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 16 Mar 2006 15:56:27 +0100 Subject: Positioning the Message Box ? Message-ID: <4167e2f54e13e2a9de140cb5f066e356@wanadoo.fr> Hi from Paris, I have an update on my own question. When I position the message box, show message box set the rect of window "message box" to 394,681,802,826 it goes to the right place. But when I display any data in it, it RETURNS to its original position (It happens so quickly during my script execution, that it was hard to see !). So now my question is reformulated. Can I freeze the message box so that it doesn't move ? -Francis "Nothing should ever be done for the first time" From rcozens at pon.net Thu Mar 16 10:55:07 2006 From: rcozens at pon.net (Rob Cozens) Date: Thu, 16 Mar 2006 07:55:07 -0800 Subject: How does 'Create Folder' give its result? In-Reply-To: <2C4F9855-3C77-40A9-92AE-83423BECEA36@mac.com> References: <2C4F9855-3C77-40A9-92AE-83423BECEA36@mac.com> Message-ID: <3DEA0B63-B505-11DA-8D54-0030657E1638@pon.net> Hi Graham, > As 'create' is not a function, I don't see any other way for it to > return a value. Commands can return a value in "the result." create folder myPath get the result if it is not empty then beep answer error it end if While not pertinent in this context, commands & functions can also return values via referenced parameters: function validDate theDate, at theDay, at theMonth, at theYear .... --parse theDate for validity if itsADate then convert theDate to dateItems put item 1 of theDate into theYear put item 2 of theDate into theMonth put item 3 of theDate into theDay return true end if return false end validDate on dateElements theDateItems, at theDay, at theMonth, at theYear put item 1 of theDateItems into theYear put item 2 of theDateItems into theMonth put item 3 of theDateItems into theDay end dateElements In both the function and the command the values of the variables passed in the last three parameters are updated in the calling 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) From mwieder at ahsoftware.net Thu Mar 16 11:58:54 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 16 Mar 2006 08:58:54 -0800 Subject: Making the move... In-Reply-To: References: Message-ID: <1753661374.20060316085854@ahsoftware.net> Marielle- Wednesday, March 15, 2006, 5:22:34 PM, you wrote: > Simple: "A method for outputting Java byte-codes equivalent to > MetaCard scripts has been designed, but implementation has been > delayed until the serious performance, compatibility, and > functionality limitations in Java have been rectified." > http://www.metacard.com/pi5.html Thanks indeed for the links. That one, however, seems to be circa-2003 vaporware. -- -Mark Wieder mwieder at ahsoftware.net From klaus at major-k.de Thu Mar 16 12:39:54 2006 From: klaus at major-k.de (Klaus Major) Date: Thu, 16 Mar 2006 18:39:54 +0100 Subject: Making the move... In-Reply-To: <1753661374.20060316085854@ahsoftware.net> References: <1753661374.20060316085854@ahsoftware.net> Message-ID: <2461FA70-EF12-4331-98D7-14CE58088464@major-k.de> Hi Mark, > Marielle- > > Wednesday, March 15, 2006, 5:22:34 PM, you wrote: > >> Simple: "A method for outputting Java byte-codes equivalent to >> MetaCard scripts has been designed, but implementation has been >> delayed until the serious performance, compatibility, and >> functionality limitations in Java have been rectified." >> http://www.metacard.com/pi5.html > > Thanks indeed for the links. That one, however, seems to be circa-2003 > vaporware. well, Dr. Rainey is not known for airy statements, actually ;-) > -- > -Mark Wieder > mwieder at ahsoftware.net Regards Klaus Major klaus at major-k.de http://www.major-k.de From rjb at robelko.com Thu Mar 16 12:47:20 2006 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 16 Mar 2006 18:47:20 +0100 Subject: Positioning the Message Box ? In-Reply-To: <4167e2f54e13e2a9de140cb5f066e356@wanadoo.fr> References: <4167e2f54e13e2a9de140cb5f066e356@wanadoo.fr> Message-ID: >Hi from Paris, > >I have an update on my own question. When I position the >message box, > >show message box >set the rect of window "message box" to 394,681,802,826 > >it goes to the right place. But when I display any data in it, it >RETURNS to its original position (It happens so quickly >during my script execution, that it was hard to see !). > >So now my question is reformulated. Can I freeze >the message box so that it doesn't move ? > >-Francis > Since Revolution, unlike Hypercard, offers you substacks, instead of fighting message box, create a substack with a single field in it and use for your progress. Display. In pseudo code it goes like set the rect of stack "myprogressdisplay" to 394,681,802,826 modeless stack "myprogressdisplay" put "my progress info" into fld 1 of stack "myprogressdisplay" close stack "myprogressdisplay" Robert From chipp at chipp.com Thu Mar 16 12:14:51 2006 From: chipp at chipp.com (Chipp Walters) Date: Thu, 16 Mar 2006 11:14:51 -0600 Subject: ANN: Displacement Scaling of graphic objects In-Reply-To: References: <20060315211440.ACF48826409@mail.runrev.com> Message-ID: <44199D0B.6030906@chipp.com> Jim Hurley wrote: > The "stopTurtle" stack is an interpreter I wrote in Transcript to > implement TG. To check it out, in the msg box, run: > > go url "http://home.infostations.net/jhurley/StopTurtles.rev" > > It includes a TG dictionary and a few examples. OK Jim, now you're just showing off! Nice work. -Chipp From ambassador at fourthworld.com Thu Mar 16 13:13:15 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Mar 2006 10:13:15 -0800 Subject: Making the move... Message-ID: <4419AABB.1080508@fourthworld.com> Dan Shafer wrote: > With the caveat that I am hardly a Rails expert and certainly have not done > a lot of work with Rev on the server side either, let me see if I can > clarify my earlier point here. I know that what I'm going to say is probably > so trivial to many reading this thread that it will seem like I'm just off > base, but I'm trying to make the issue I see really starkly clear. I'm certainly no Ruby/Rails expert either, but I am among those attracted to the word "impossible". :) Even though we've moved past that original point, there may be some interesting things to explore here. This one got a bit long (from me? Gosh, when did I ever write a long post? ), so I added section headers to try to make it an easier read: PARSING/ASSEMBLING THE CLIENT OUTPUT ------------------------------------ > With PHP or Ruby on Rails, 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. > > So for example (and I realize this is so simplistic that it may not be > sufficiently illustrative), in a .rhtml (rubified HTML) file, you might find > this construct: > > It is now <%= Time.now %> In Transcript: It is now [[the time]] You run that through the merge function: put merge("It is now [[the time]]") ...and you get: It is now 4:44 PM More interesting is that you don't need to use literal expressions with merge; you can pass it variables as well, with any number of bracketed statements, allowing you to make whole pages of snippets which have all the smarts of Transcript embedded throughout, processed in a single merge() call. And of course we all know about the other powerful text manipulation stuff in Transcript like chunk expressions and such, so we can move on to the bigger question of how we hook the engine into the web transaction process. HOOKING REV INTO THE SERVER TRANSACTION --------------------------------------- Most of the RoR documentation makes reference to FastCGI as the deployment mechanism for Ruby, and recommends using a specialized server app, WEBrick, for testing locally before deployment. It seems Rev has both of these covered. If I read Pierre's article at correctly, it seems we can use Rev as a daemon (at least on Linux), providing a stay-resident option just as one would do with other engines like Perl, Python, etc. 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. Because the interest in using Ruby on web servers is relatively recent, I can't imagine there's anything in the server configuration that couldn't also be done with Rev (or Python or PHP other popular engines). In both cases you need to install the engine and set up the server so it knows what to do with it. There may be some reason that Rev can't be used with FastCGI per se, but given that it will run as a daemon on Linux offhand I don't know what that could be. If anyone here knows it would be interesting to find out, and even more interesting to find out if you've been able to use Rev with FastCGI successfully. PROS AND CONS OF REV AND RUBY ----------------------------- Beyond the configuration, there are two main differences between a Rev and a Ruby solution: OOP and Rails. The first is the age-old procedural vs. OOP argument. There are benefits both ways, and I dare not suggest we need to answer that big abstract question here. :) Where Ruby really shines is in Rails: there's a lot of code there, well-crafted code. You'd have to write that yourself to get to the same level of development productivity with Rev. But consider this about the origins of Ruby: Matz's primary design consideration is to make programmers happy by reducing the menial work they must do, following the principles of good user interface design. He stresses that systems design needs to emphasize human, rather than computer, needs. Sound like another language we know? :) Personally, I think the only reasons we're reading about Ruby on Rails rather than Revolution on Rails are that both Ruby and Rails are open source, and there is no similar framework for Rev. While Rev isn't inherently OOP as Ruby is, it has its own favorable tradeoffs which make it quite attractive in its own right. FRAMEWORKS AND DEPLOYMENT OPTIONS --------------------------------- So what if someone took that much time to craft a web app framework in Transcript? I'm reminded of Andre's presentation at the first RevCon West and later that year at the Euro RevCon in Malta: web applications driven by Rev on the server. Andre took the whole stay-resident paradigm one step further, implementing a WEBrick-like server built with Rev. While there are no doubt drawbacks to using Rev instead of Apache for heavy-load deployments, there are some upsides for more modest uses: it's small, reasonably efficient, and much, much simpler to set up than Apache + Ruby + GEMS + Rails + whatever else is needed to make RoR run. Andre's system started with mchttpd.mc, a stack Scott Raney put together to show off the engine's socket support with a surprisingly small set of scripts that act as a web server. It can be downloaded here: It's no Apache nor is it meant to be, but it does show off the engine's capabilities in a practical solution for specialized uses, such as an extranet for remote workgroups. For larger loads it might be beneficial to use Apache, set up to use Rev as is commonly done for Ruby (I'd sure love to see benchmarks if anyone's set up both). But for a good many intranet and extranet uses a Rev-based server has some merits. Andre took Dr. Raney's modest example and expanded it greatly, setting up a number of applications in a modular way so that he could just write a small stack when he needs another app, drop it on the server, and it's available when called by name in the URL (Andre, did I recall that correctly?). And if memory serves, he even used directory names as part of the program's logic, similar to how RoR uses them. Maybe we could entice Andre to write an article for revJournal outlining this? Something like "Andre on Rails" would be great to read. > I am NOT suggesting it would be impossible to remedy these issues in Rev. > Nor am I suggesting that the overhead of this processing is so onerous that > using Rev CGI solutions is impractical. All I'm trying to say is that there > is a pretty fundamental difference here between invoking a script language's > command directly and being forced to explicitly call a CGI function that in > turn executs a script command. > > Now before you jump in my face again, go back and re-read the caveat at the > beginning of this message. :-) Please accept my apologies if it seemed I was jumping in your face. Sometimes my enthusiasm for the language is stronger than the clarity of my writing. My intention was simply to encourage the readers here to consider comparisons of goals rather than implementations, in hopes that it might inspire more Andre-quality solutions implemented in ways that take advantage of people's current knowledge and the things Transcript has going for it. FUTURE POSSIBILITIES -------------------- While we wait to see if anyone here has time to try setting up Rev with FastCGI (we already know it works well as a traditional CGI), I would enourage those interested in web apps grab Dr. Raney's mchttpd.mc and play with it a while. It's a thing of beauty to just open the stack, click the "Start" button, and call it with your browser. And then consider this: If Rev is still free to use as a faceless server process (it used to be; not sure if that still applies), there's an opportunity to encourage folks to learn Transcript by bundling a Transcript framework with it which takes care of the tedious meat of such applications, leaving the developer free to focus on the domain-specific logic but with the ease of Transcript and a much simpler installation than RoR. And when they find they can make GUI admin tools for just $49 with Rev Media it gets even better. :) The missing link is the killer app made with it. RoR was virtually unheard of before BaseCamp took off, showing the world how powerful and flexible RoR is. If we had an app of similar scope and appeal I have no doubt that as long as the engine is free for such uses and the scripts are open source it would attract considerable attention. Ah, the limitless possibilities.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From katir at hindu.org Thu Mar 16 04:43:05 2006 From: katir at hindu.org (Sivakatirswami) Date: Wed, 15 Mar 2006 23:43:05 -1000 Subject: [OT] Major Flood in Kauai - Swami?? In-Reply-To: References: <20060315180004.23F3082638F@mail.runrev.com> <44187281.9030805@fourthworld.com> <441893AA.3070407@chipp.com> <31e1938c0603151459s4a8b4f16n24e508ae63758cd8@mail.gmail.com> <425B1B3B-FB08-4DA7-B091-588A7D615D2D@easynet.fr> Message-ID: <8083994B-4B3B-49A5-90CE-2FCFED93EA3D@hindu.org> Aloha, yes, we are fine... Thanks for asking. The reservoir that broke is about 20 miles north of us. It's been raining for 4-5 days, almost none stop, yesterday it rained steadily for 20 out of 24 hours. We think the storm has moved on... Seven people missing.. several found washed out to sea... their home must have been in direct path. But, not to focus only on us... this is happening everywhere...in many countries. Other strange things: The billion dollar new Mariott, when it was redone, the engineers decided to build the new hotel on a river bed and divert that stream to the ocean through a duct on the side of the hotel. Well, guess what, the stream delivered 10 times the duct capacity and decided to go for her old path to the ocean: straight through the hotel, in the top floors, down through the halls, out the lobby, onto the beach and back to Mother! No one hurt, but -- well, for species homo sapiens --- rather an embarrassing moment of incredulous dismay. Mount Waialeale above us, I can see her daily when I step out from our publications office... is the wettest place on earth. And that's with an average rainfall around 460 inches a year. But, get this: in 2005 we measured over 1000 inches at the top of the mountain. Kauai's Hindu Monastery is in a very safe place. We are on higher elevation just a few miles inland. But even so, here we are standing at an electrical box on the side of a power line pole, it's four feet above ground in front of the temple... there is water pouring out of it, as if someone had hooked it up to a pump... can't believe our eyes, never saw such a thing. the land to the north from our property is at a higher elevation, fields, completely saturated and the underground electrical system has become a drain pipe for higher ground water. The salinity measurements between the tropical latitudes has spiked, so, all that evaporated water..it's got to come down somewhere... someone said they had 24 free of snow in the midwest somewhere...never happened before in their lifetime. It's happening folks; we were warned... this list is not the place to say more, suffice it to say: the show begins. Sivakatirswami On Mar 15, 2006, at 1:29 PM, Stephen Barncard wrote: > Our fellow Revolutionary Sivakatirswami lives in Kauai, HI. > I found out today that there was a major dam breach on a river on > the north shore. I hope you're ok, man. > > http://edition.cnn.com/2006/US/03/15/hawaii.dam/index.html > > sqb > -- > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From collabyrinth at sympatico.ca Thu Mar 16 13:34:43 2006 From: collabyrinth at sympatico.ca (Collabyrinth VPN) Date: Thu, 16 Mar 2006 11:34:43 -0700 Subject: Making the move... In-Reply-To: <4419AABB.1080508@fourthworld.com> References: <4419AABB.1080508@fourthworld.com> Message-ID: <4419AFC3.3080406@sympatico.ca> Forgive the intrusion from a 'lurker', but as I've learned so much from you all the last three months, it's time I gave something back. I'm developing using Ruby on Rails on both Windows XP Pro SP2 & (Knoppix) Linux simultaneously. Rev works just fine with FastCGI. Fwiw, I'd be happy to set up some benchmarks and publish the results next week, if it helps. A brief general comment. I use and modify the Ruby code to handle the 'unseen' parts, if you will, and Rev to generate what the user sees on the websites. I see Rev as complementary to ROR, and it seems to work well. A good mix. Cheers from Canada Peter Elliott Richard Gaskin wrote: > Dan Shafer wrote: > >> With the caveat that I am hardly a Rails expert and certainly have >> not done >> a lot of work with Rev on the server side either, let me see if I can >> clarify my earlier point here. I know that what I'm going to say is >> probably >> so trivial to many reading this thread that it will seem like I'm >> just off >> base, but I'm trying to make the issue I see really starkly clear. > > > I'm certainly no Ruby/Rails expert either, but I am among those > attracted to the word "impossible". :) Even though we've moved past > that original point, there may be some interesting things to explore > here. > > This one got a bit long (from me? Gosh, when did I ever write a long > post? ), so I added section headers to try to make it an easier read: > > > PARSING/ASSEMBLING THE CLIENT OUTPUT > ------------------------------------ > >> With PHP or Ruby on Rails, 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. >> >> So for example (and I realize this is so simplistic that it may not be >> sufficiently illustrative), in a .rhtml (rubified HTML) file, you >> might find >> this construct: >> >> It is now <%= Time.now %> > > > In Transcript: > > It is now [[the time]] > > You run that through the merge function: > > put merge("It is now [[the time]]") > > ...and you get: > > It is now 4:44 PM > > More interesting is that you don't need to use literal expressions with > merge; you can pass it variables as well, with any number of bracketed > statements, allowing you to make whole pages of snippets which have > all the smarts of Transcript embedded throughout, processed in a > single merge() call. > > And of course we all know about the other powerful text manipulation > stuff in Transcript like chunk expressions and such, so we can move on > to the bigger question of how we hook the engine into the web > transaction process. > > > HOOKING REV INTO THE SERVER TRANSACTION > --------------------------------------- > > Most of the RoR documentation makes reference to FastCGI as the > deployment mechanism for Ruby, and recommends using a specialized > server app, WEBrick, for testing locally before deployment. It seems > Rev has both of these covered. > > If I read Pierre's article at > correctly, it seems > we can use Rev as a daemon (at least on Linux), providing a > stay-resident option just as one would do with other engines like > Perl, Python, etc. > > 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. > > Because the interest in using Ruby on web servers is relatively recent, > I can't imagine there's anything in the server configuration that > couldn't also be done with Rev (or Python or PHP other popular engines). > In both cases you need to install the engine and set up the server so it > knows what to do with it. > > There may be some reason that Rev can't be used with FastCGI per se, > but given that it will run as a daemon on Linux offhand I don't know > what that could be. If anyone here knows it would be interesting to > find out, and even more interesting to find out if you've been able to > use Rev with FastCGI successfully. > > > > PROS AND CONS OF REV AND RUBY > ----------------------------- > > Beyond the configuration, there are two main differences between a Rev > and a Ruby solution: OOP and Rails. > > The first is the age-old procedural vs. OOP argument. There are > benefits both ways, and I dare not suggest we need to answer that big > abstract question here. :) > > Where Ruby really shines is in Rails: there's a lot of code there, > well-crafted code. You'd have to write that yourself to get to the same > level of development productivity with Rev. > > But consider this about the origins of Ruby: > > Matz's primary design consideration is to make programmers > happy by reducing the menial work they must do, following > the principles of good user interface design. He stresses > that systems design needs to emphasize human, rather than > computer, needs. > > > Sound like another language we know? :) > > Personally, I think the only reasons we're reading about Ruby on Rails > rather than Revolution on Rails are that both Ruby and Rails are open > source, and there is no similar framework for Rev. While Rev isn't > inherently OOP as Ruby is, it has its own favorable tradeoffs which > make it quite attractive in its own right. > > > > FRAMEWORKS AND DEPLOYMENT OPTIONS > --------------------------------- > > So what if someone took that much time to craft a web app framework in > Transcript? > > > I'm reminded of Andre's presentation at the first RevCon West and later > that year at the Euro RevCon in Malta: web applications driven by Rev > on the server. > > Andre took the whole stay-resident paradigm one step further, > implementing a WEBrick-like server built with Rev. While there are no > doubt drawbacks to using Rev instead of Apache for heavy-load > deployments, there are some upsides for more modest uses: it's small, > reasonably efficient, and much, much simpler to set up than Apache + > Ruby + GEMS + Rails + whatever else is needed to make RoR run. > > Andre's system started with mchttpd.mc, a stack Scott Raney put together > to show off the engine's socket support with a surprisingly small set of > scripts that act as a web server. It can be downloaded here: > > > > It's no Apache nor is it meant to be, but it does show off the engine's > capabilities in a practical solution for specialized uses, such as an > extranet for remote workgroups. > > For larger loads it might be beneficial to use Apache, set up to use Rev > as is commonly done for Ruby (I'd sure love to see benchmarks if > anyone's set up both). But for a good many intranet and extranet uses > a Rev-based server has some merits. > > Andre took Dr. Raney's modest example and expanded it greatly, setting > up a number of applications in a modular way so that he could just > write a small stack when he needs another app, drop it on the server, > and it's available when called by name in the URL (Andre, did I recall > that correctly?). > > And if memory serves, he even used directory names as part of the > program's logic, similar to how RoR uses them. > > Maybe we could entice Andre to write an article for revJournal outlining > this? Something like "Andre on Rails" would be great to read. > > >> I am NOT suggesting it would be impossible to remedy these issues in >> Rev. >> Nor am I suggesting that the overhead of this processing is so >> onerous that >> using Rev CGI solutions is impractical. All I'm trying to say is that >> there >> is a pretty fundamental difference here between invoking a script >> language's >> command directly and being forced to explicitly call a CGI function >> that in >> turn executs a script command. >> >> Now before you jump in my face again, go back and re-read the caveat >> at the >> beginning of this message. :-) > > > Please accept my apologies if it seemed I was jumping in your face. > Sometimes my enthusiasm for the language is stronger than the clarity of > my writing. > > My intention was simply to encourage the readers here to consider > comparisons of goals rather than implementations, in hopes that it might > inspire more Andre-quality solutions implemented in ways that take > advantage of people's current knowledge and the things Transcript has > going for it. > > > > FUTURE POSSIBILITIES > -------------------- > > While we wait to see if anyone here has time to try setting up Rev with > FastCGI (we already know it works well as a traditional CGI), I would > enourage those interested in web apps grab Dr. Raney's mchttpd.mc and > play with it a while. It's a thing of beauty to just open the stack, > click the "Start" button, and call it with your browser. > > And then consider this: If Rev is still free to use as a faceless > server process (it used to be; not sure if that still applies), > there's an opportunity to encourage folks to learn Transcript by > bundling a Transcript framework with it which takes care of the > tedious meat of such applications, leaving the developer free to focus > on the domain-specific logic but with the ease of Transcript and a > much simpler installation than RoR. > > And when they find they can make GUI admin tools for just $49 with Rev > Media it gets even better. :) > > The missing link is the killer app made with it. RoR was virtually > unheard of before BaseCamp took off, showing the world how powerful > and flexible RoR is. If we had an app of similar scope and appeal I > have no doubt that as long as the engine is free for such uses and the > scripts are open source it would attract considerable attention. > > Ah, the limitless possibilities.... > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Thu Mar 16 14:02:03 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Mar 2006 11:02:03 -0800 Subject: Making the move... Message-ID: <4419B62B.6000607@fourthworld.com> Peter Elliott wrote: > Rev works just fine with FastCGI. Fwiw, I'd be happy to set up > some benchmarks and publish the results next week, if it helps. That would be enormously helpful. Thank you! If you come to RevCon West in June or Euro RevCon in November I'll buy the beverage of your choice at one of the get-togethers. It's the least I could do for such helpful information as the benchmarks. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Thu Mar 16 14:21:49 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Mar 2006 11:21:49 -0800 Subject: How does 'Create Folder' give its result? Message-ID: <4419BACD.1080803@fourthworld.com> Graham Samuel wrote: > I have a path in a variable say myPath, and I execute > > create folder myPath > > sometimes the folder can't be created (if the directory is protected > etc) and if I execute the above in the message box in these > circumstances, I see the text > > can't create that directory > > But if I do this by script, this text doesn't seem to be in 'the > result' or in 'it' (which appears to contain 'OK' even if the create > hasn't worked), so where is this text - ? The 2.7.0 docs (dictionary > and PDF) are silent on the matter. As 'create' is not a function, I > don't see any other way for it to return a value. > > Clearly I can produce a workaround by checking if the folder exists > immediately after trying to create it, but how does 'create' show its > result"? That's the easy part, "the result": create folder myPath if the result is not empty then answer the result exit to top end if The hard part is determining exactly what went wrong. When a file or folder creation error happens, in most cases all the result says is "can't create file" or "can't create folder" with no further explanation. How do you advise your users? The trick is the sysError function, which queries the OS to obtain the specific error code associated with the failure. So you could do something like: create folder myPath if the result is not empty then answer the result &" (" sysError() &")" exit to top end if That'll give you a specific error code: can't create directory (43) That at least allows your users to give you an error code number when they call your tech support line, but I'm a big fan of reducing those calls altogether when I can, and that means finding out the meaning of all the OS error codes for each supported platform, and building in a lookup table to present more meaningful info to the user. A while back I posted a request for pointers to those codes: I've turned up some, but I have too many for Win32 and very few for OS X. While I winnow the Win list down to a manageable subset of common culprits, if someone out there has a link to OS X error codes I'd certainly appreciate it, and show that appreciation with a modest library to make those lookups. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From lists at mangomultimedia.com Thu Mar 16 14:54:15 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 16 Mar 2006 11:54:15 -0800 Subject: How does 'Create Folder' give its result? In-Reply-To: <4419BACD.1080803@fourthworld.com> References: <4419BACD.1080803@fourthworld.com> Message-ID: On Mar 16, 2006, at 11:21 AM, Richard Gaskin wrote: > > I've turned up some, but I have too many for Win32 and very few for > OS X. While I winnow the Win list down to a manageable subset of > common culprits, if someone out there has a link to OS X error > codes I'd certainly appreciate it, and show that appreciation with > a modest library to make those lookups. I always start my searches for error codes on Mac here: -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From collabyrinth at sympatico.ca Thu Mar 16 15:02:51 2006 From: collabyrinth at sympatico.ca (Collabyrinth VPN) Date: Thu, 16 Mar 2006 13:02:51 -0700 Subject: Making the move... In-Reply-To: <4419B62B.6000607@fourthworld.com> References: <4419B62B.6000607@fourthworld.com> Message-ID: <4419C46B.4090601@sympatico.ca> Richard Thank you for the kind invitation! Given that I'm writing these server programs in aid of a certain well-known 12 Step program's online activities, and that it's doubtful I'll be at either event, more's the pity, please be advised you can Fed-Ex any kind of high-test caffiene-laden product (Saigon Dark beans, por ejemplo ...) to my office, anytime. All kidding aside, and now that I've de-lurked, of all the mailing lists and digest I receive, I find this one of the most fertile & stimulating. I thank you all for that. I think I can safely commit to delivering benchmarks by Wednesday of next week and will be happy to do so. Peter Elliott Richard Gaskin wrote: > Peter Elliott wrote: > >> Rev works just fine with FastCGI. Fwiw, I'd be happy to set up >> some benchmarks and publish the results next week, if it helps. > > > That would be enormously helpful. Thank you! > > If you come to RevCon West in June or Euro RevCon in November I'll buy > the beverage of your choice at one of the get-togethers. It's the > least I could do for such helpful information as the benchmarks. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From list at dreamscapesoftware.com Thu Mar 16 15:06:42 2006 From: list at dreamscapesoftware.com (dreamscapesoftware.com - List) Date: Thu, 16 Mar 2006 15:06:42 -0500 Subject: Revolution 2.6.1 and 2.7 on osX86 Message-ID: <200603162006.k2GK6g3b019808@valuworld.com> Does Revolution 2.6.1 and 2.7 function on a Intel Mac? Reason I ask is because I tried the osx86 thing and got it to work, but Revolution won't load. The icon bounces once and then nothing. Any ideas? -- Derek From Camm29 at tesco.net Thu Mar 16 15:14:15 2006 From: Camm29 at tesco.net (Camm29) Date: Thu, 16 Mar 2006 20:14:15 -0000 Subject: to many mails References: <20060315005624.33602.qmail@web31311.mail.mud.yahoo.com> Message-ID: <001e01c64936$7ff593a0$0a01a8c0@mobile1> Read your subscription info ! It explains why you get mails , always read the small print ! Regards ----- Original Message ----- From: "marcus graham" To: Sent: Wednesday, March 15, 2006 12:56 AM Subject: to many mails > dont send any mails > > --------------------------------- > Yahoo! Mail > Use Photomail to share photos without annoying attachments. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From livfoss at mac.com Thu Mar 16 15:17:41 2006 From: livfoss at mac.com (Graham Samuel) Date: Thu, 16 Mar 2006 21:17:41 +0100 Subject: How does 'Create Folder' give its result? Message-ID: <69FECFDF-DDD1-40AF-AA50-8E2CA7EAEBDC@mac.com> On Thu, 16 Mar 2006 at 07:55:07 -0800, Rob Cozens wrote: > > Hi Graham, > > >> As 'create' is not a function, I don't see any other way for it to >> return a value. >> > > Commands can return a value in "the result." > > create folder myPath > get the result > if it is not empty then > beep > answer error it > end if > > While not pertinent in this context, commands & functions can also > return values via referenced parameters: [snip] Thanks for the reply, but my point is that the 'create folder' function doesn't appear to me to return anything in 'the result' when an error occurs: 'the result' just goes on being empty - but the command does apparently generate an error text because I can see it in the message box. So I still want to know where this text is put - the docs don't say **anything** about what happens if this command encounters an error. I just hope someone knows... Of course it could be a bug in RR 2.7.0, but to show this we'd have to know what the expected behaviour really is. BTW I've only seen this on Windows up to now. Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From JimAultWins at yahoo.com Thu Mar 16 15:29:47 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 16 Mar 2006 12:29:47 -0800 Subject: How does 'Create Folder' give its result? In-Reply-To: <69FECFDF-DDD1-40AF-AA50-8E2CA7EAEBDC@mac.com> Message-ID: > Thanks for the reply, but my point is that the 'create folder' > function doesn't appear to me to return anything in 'the result' when > an error occurs: 'the result' just goes on being empty - but the > command does apparently generate an error text because I can see it > in the message box. So I still want to know where this text is put - > the docs don't say **anything** about what happens if this command > encounters an error. I just hope someone knows... > > Of course it could be a bug in RR 2.7.0, but to show this we'd have > to know what the expected behaviour really is. BTW I've only seen > this on Windows up to now. > > Graham > Try this snippet and see what you get create folder "cde:/illegal:name/" get the result if it is not empty then beep put it answer error it -->"can't create that directory" end if Jim Ault Las Vegas On 3/16/06 12:17 PM, "Graham Samuel" wrote: > On Thu, 16 Mar 2006 at 07:55:07 -0800, Rob Cozens > wrote: >> >> Hi Graham, >> >> >>> As 'create' is not a function, I don't see any other way for it to >>> return a value. >>> >> >> Commands can return a value in "the result." >> >> create folder myPath >> get the result >> if it is not empty then >> beep >> answer error it >> end if >> >> While not pertinent in this context, commands & functions can also >> return values via referenced parameters: > > [snip] > > ---------------------------------------- > Graham Samuel / The Living Fossil Co. / UK and France > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Thu Mar 16 15:33:18 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 16 Mar 2006 12:33:18 -0800 Subject: [ANN] tm|color and tm|gradient Updates Message-ID: Greetings List: We're happy to announce some minor updates to tm|color and tm|gradient plugins for Revolution 2.6.x. - tm|color, our non-modal color chooser, now supports marker colors (fill and line) and includes a few bug fixes. - The radial fill option in tm|gradient, a gradient building tool, now supports an offset angle which allows you to create more realistic looking sphere objects, and the stack includes some small bug fixes. As an example of what can be done with the plugins, we've created a stack which contains 59 shaded 3D object images, all created using tm|gradient and tm|color. The objects are completely FREE to use in your own stacks, but you'll need tm|color and tm|gradient to colorize the objects in Revolution. http://www.tactilemedia.com/tmtools/tmgradient/tm_3dobjects.zip Here's another example built this morning in about an hour and half, created entirely within Revolution: http://www.tactilemedia.com/tmtools/tmcolor/label.jpg We've also updated our gradient gallery stack with a couple of new objects to inspire creative uses of the tools. If you haven't seen this stack yet, take a look: http://www.tactilemedia.com/tmtools/tmgradient/tm_gallery.rev.zip Don't forget the online resources as well: QuickStart Guide http://www.tactilemedia.com/tmtools/tmgradient/quickstart.html Widget Tutorial http://www.tactilemedia.com/tmtools/tmgradient/tutorial1_1.html Remember, you can get BOTH tm|color and tm|gradient for only US$18. Visit the Media section of our Web site for more info: http://www.tactilemedia.com. Also compatible with Jerry Daniels' Constellation! ---------- PLEASE NOTE: these updates are effective for Rev 2.6.x ONLY. Like many other folks, we're still ironing out issues with Rev 2.7. Best Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From gilbert at isphlg.rimed.cu Thu Mar 16 16:57:35 2006 From: gilbert at isphlg.rimed.cu (Gilberto Cuba) Date: Thu, 16 Mar 2006 16:57:35 -0500 Subject: Minimize stack... Message-ID: <000801c64944$caed9750$1c037b98@p42600> Hi, I have a Rev 2.6 in a Debian Sarge distributions, and I tried to minimize my application in KDE, it work very fine, but I tried to minimized in GNOME that is not work. Why? How I can minimize my application in GNOME? Best regards, Gilberto Cuba From jacque at hyperactivesw.com Thu Mar 16 15:57:37 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Mar 2006 14:57:37 -0600 Subject: How does 'Create Folder' give its result? In-Reply-To: <69FECFDF-DDD1-40AF-AA50-8E2CA7EAEBDC@mac.com> References: <69FECFDF-DDD1-40AF-AA50-8E2CA7EAEBDC@mac.com> Message-ID: <4419D141.5080102@hyperactivesw.com> Graham Samuel wrote: > Thanks for the reply, but my point is that the 'create folder' function > doesn't appear to me to return anything in 'the result' when an error > occurs: 'the result' just goes on being empty - but the command does > apparently generate an error text because I can see it in the message > box. The result is very fragile, and is usually emptied almost immediately. To make sure you catch it, you have to check for it in the very next line of script. Do you have any lines of script between the "create" command and the result check? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From aturban at qwest.net Thu Mar 16 16:37:04 2006 From: aturban at qwest.net (Arthur Urban) Date: Thu, 16 Mar 2006 14:37:04 -0700 Subject: Evolution of Revolution? Message-ID: <4419DA80.1080207@qwest.net> I'm seriously considering buying Rev, but I'd like to know where the developers are taking this product. Does anybody know what's in store down the road in terms of enhanced controls, language features, and the like? I know that's a rather open-ended question, but surely there's much more room for this IDE to grow. I'm occasionally bumping into "short-comings"; no show-stoppers, but developer annoyances...you know the kind :) Thanx for any info! From jonathandlynch at gmail.com Thu Mar 16 16:44:40 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Thu, 16 Mar 2006 16:44:40 -0500 Subject: Evolution of Revolution? In-Reply-To: <4419DA80.1080207@qwest.net> References: <4419DA80.1080207@qwest.net> Message-ID: <31e1938c0603161344l138489a3od143df62dca916f7@mail.gmail.com> In my experience, most of the shortcomings can be overcome. And once they are overcome, you can save reuse the solution forever. For example, the table object in Rev is imperfect. It is good for some things, but it does not do what I need it to do as a user interface. So, I created my own table object that does exactly what I want. There are quite a few cases out there where users have created similar solutions, and are willing to share them with the rest of us. So, if you share you shortcomings with us, I bet we can help you find a quick and permanent solution for most of them:) From stephenREVOLUTION at barncard.com Thu Mar 16 16:48:27 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 16 Mar 2006 13:48:27 -0800 Subject: How does 'Create Folder' give its result? In-Reply-To: <4419D141.5080102@hyperactivesw.com> References: <69FECFDF-DDD1-40AF-AA50-8E2CA7EAEBDC@mac.com> <4419D141.5080102@hyperactivesw.com> Message-ID: Have you put the command in a 'try' structure? Syntax: try statementList catch errorVariable errorStatementsList [finally cleanupStatementsList] end try See also: catch keyword , end try keyword , finally keyword , lockErrorDialogs property , throw control structure Summary: Executes a list of statements, sending any errors to the try structure to be handled. Use the try control structure to execute a series of statements and handle any error messages in the catch section, instead of letting Revolution display the error window. >Graham Samuel wrote: > >>Thanks for the reply, but my point is that the 'create folder' >>function doesn't appear to me to return anything in 'the result' >>when an error occurs: 'the result' just goes on being empty - but >>the command does apparently generate an error text because I can >>see it in the message box. > >The result is very fragile, and is usually emptied almost >immediately. To make sure you catch it, you have to check for it in >the very next line of script. Do you have any lines of script >between the "create" command and the result check? > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From sarah.reichelt at gmail.com Thu Mar 16 16:50:26 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 17 Mar 2006 07:50:26 +1000 Subject: Positioning the Message Box ? In-Reply-To: <4167e2f54e13e2a9de140cb5f066e356@wanadoo.fr> References: <4167e2f54e13e2a9de140cb5f066e356@wanadoo.fr> Message-ID: On 3/17/06, Francis Nugent Dixon wrote: > Hi from Paris, > > I have an update on my own question. When I position the > message box, > > show message box > set the rect of window "message box" to 394,681,802,826 > > it goes to the right place. But when I display any data in it, it > RETURNS to its original position (It happens so quickly > during my script execution, that it was hard to see !). > > So now my question is reformulated. Can I freeze > the message box so that it doesn't move ? Using "show" seems to be the problem. If you just do something like: set the rect of stack "Message box" to 137,554,538,696 put "Here I am" it will stay in the right place. Cheers, Sarah From douez at wanadoo.fr Thu Mar 16 17:36:30 2006 From: douez at wanadoo.fr (thierry) Date: Thu, 16 Mar 2006 22:36:30 +0000 Subject: set the graphic "G" to x,y,.... In-Reply-To: <4419AFC3.3080406@sympatico.ca> References: <4419AABB.1080508@fourthworld.com> <4419AFC3.3080406@sympatico.ca> Message-ID: <4419E86E.9040101@wanadoo.fr> Hi all, Testing Rev27 on Win32, with my demoStack, i found that the command : set the graphic "G" to listPoints is 5 times slower on Rev27 than on Rev21. because, i'm using this command in a loop it's really not too good :-( the anti-aliasing is off. Does anyone saw that and has a clue or is this a bug ? Regards, thierry From effendi at wanadoo.fr Thu Mar 16 17:40:32 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 16 Mar 2006 23:40:32 +0100 Subject: Positioning the Message Box ? Message-ID: <4fc4971834199b4fefaa1e81265999cb@wanadoo.fr> Hi Robert, Thanks for the feedback. I realized that there were alternate solutions (such as a substack), but I am a lazy "git", and I want to limit the modifications to my Hypercard stack scripts while converting. I even wrote a "Hypercard to Revolution" script conversion script, to help me in my conversion, but I can see it getting much more complicated. The message box was so useful ......... ! Sigh - I suppose I will have to do it the hard way ! -Francis "Nothing should ever be done for the first time !" From douez at wanadoo.fr Thu Mar 16 17:41:52 2006 From: douez at wanadoo.fr (thierry) Date: Thu, 16 Mar 2006 22:41:52 +0000 Subject: set the graphic "G" to x,y,.... In-Reply-To: <4419E86E.9040101@wanadoo.fr> References: <4419AABB.1080508@fourthworld.com> <4419AFC3.3080406@sympatico.ca> <4419E86E.9040101@wanadoo.fr> Message-ID: <4419E9B0.9060304@wanadoo.fr> Oups, bad typo, sorry. the command is: set the points of graphic "G" to listPoints thierry > Hi all, > > Testing Rev27 on Win32, with my demoStack, > i found that the command : > > set the graphic "G" to listPoints > > is 5 times slower on Rev27 than on Rev21. > > because, i'm using this command in a loop it's really not too good :-( > > the anti-aliasing is off. > > Does anyone saw that and has a clue or is this a bug ? > > Regards, > thierry From JimAultWins at yahoo.com Thu Mar 16 18:20:24 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 16 Mar 2006 15:20:24 -0800 Subject: How does 'Create Folder' give its result? In-Reply-To: Message-ID: On 3/16/06 1:48 PM, "Stephen Barncard" wrote: > Have you put the command in a 'try' structure?> > Syntax: > try > statementList > catch errorVariable errorStatementsList > [finally cleanupStatementsList] > end try >snip > > Use the try control structure to execute a series of statements and > handle any error messages in the catch section, instead of letting > Revolution display the error window. The "catch" with using [try-catch] with the [create folder] failure is that it is not a Rev error, so no catch is triggered. You do need to test the result returned by the operating system. A Rev error is one that is a operation such as put 4 * marbleCount into totalMarbles and marbleCount is not a number. In this case, a try structure would work and allow some alternate course of action without stopping the program. Jim Ault Las Vegas > >> Graham Samuel wrote: >> >>> Thanks for the reply, but my point is that the 'create folder' >>> function doesn't appear to me to return anything in 'the result' >>> when an error occurs: 'the result' just goes on being empty - but >>> the command does apparently generate an error text because I can >>> see it in the message box. >> >> The result is very fragile, and is usually emptied almost >> immediately. To make sure you catch it, you have to check for it in >> the very next line of script. Do you have any lines of script >> between the "create" command and the result check? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com From wlists at fireworksmm.com Thu Mar 16 18:23:38 2006 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Thu, 16 Mar 2006 18:23:38 -0500 Subject: Making the move... In-Reply-To: <4419AFC3.3080406@sympatico.ca> References: <4419AABB.1080508@fourthworld.com> <4419AFC3.3080406@sympatico.ca> Message-ID: <878983E8-E450-485B-A95F-54942323469F@fireworksmm.com> How about a tutorial on how to set up Rev to use FastCGI. For those of us for whom a lot of these terms are totatlly new, it would be great to be able to take advantage of some of these tools. I know I'm already salivating at the possibilities of merge(), something I just learned about on this thread. W. On Mar 16, 2006, at 1:34 PM, Collabyrinth VPN wrote: > Forgive the intrusion from a 'lurker', but as I've learned so much > from you all the last three months, it's time I gave something back. > > I'm developing using Ruby on Rails on both Windows XP Pro SP2 & > (Knoppix) Linux simultaneously. > > Rev works just fine with FastCGI. Fwiw, I'd be happy to set up some > benchmarks and publish the results next week, if it helps. > > A brief general comment. I use and modify the Ruby code to handle > the 'unseen' parts, if you will, and Rev to generate what the user > sees on the websites. I see Rev as complementary to ROR, and it > seems to work well. A good mix. > > Cheers from Canada > Peter Elliott From garrett at paraboliclogic.com Thu Mar 16 18:52:09 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 16 Mar 2006 15:52:09 -0800 Subject: Icon for OS X compiled .app not showing :-( In-Reply-To: References: <4167e2f54e13e2a9de140cb5f066e356@wanadoo.fr> Message-ID: <4419FA29.50708@paraboliclogic.com> Rev 2.6.1 Greetings, Ok, made .png files in sizes of 16x16, 32x32, 48x48 and 128x128. Put them all in Icon Composer and saved the file as a .icns file. Then I picked that file as the icons in the standalone settings for OS X and selected the dialog png files and so on. I used the same .icns file for both the application and document icon. But after the standalone was saved, the icons I made are not being used at all for the .app in finder. It's using the default icon from OS X as if mine didn't exist or something. Looking into the .app resouces shows both icons, and the plist file does name the icons appropriately. Am I doing something wrong? Thanks, -Garrett From garrett at paraboliclogic.com Thu Mar 16 18:53:49 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 16 Mar 2006 15:53:49 -0800 Subject: Icon for OS X compiled .app not showing :-( In-Reply-To: <4419FA29.50708@paraboliclogic.com> References: <4167e2f54e13e2a9de140cb5f066e356@wanadoo.fr> <4419FA29.50708@paraboliclogic.com> Message-ID: <4419FA8D.9060501@paraboliclogic.com> Garrett Hylltun wrote: > Rev 2.6.1 > I should mention though that the dock icon is correct. Thanks, -Garrett From wlists at fireworksmm.com Thu Mar 16 18:54:22 2006 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Thu, 16 Mar 2006 18:54:22 -0500 Subject: Positioning the Message Box ? In-Reply-To: <4fc4971834199b4fefaa1e81265999cb@wanadoo.fr> References: <4fc4971834199b4fefaa1e81265999cb@wanadoo.fr> Message-ID: I imagine that there is a way to intercept the calls to the message box from your original code since Constellation can basically replace it with it's own integrated message box. Worth a try depending on what might take longer to do... W. On Mar 16, 2006, at 5:40 PM, Francis Nugent Dixon wrote: > Hi Robert, > > Thanks for the feedback. I realized that there were > alternate solutions (such as a substack), but I am a > lazy "git", and I want to limit the modifications to my > Hypercard stack scripts while converting. > I even wrote a "Hypercard to Revolution" script > conversion script, to help me in my conversion, but > I can see it getting much more complicated. > > The message box was so useful ......... ! > > Sigh - I suppose I will have to do it the hard way ! > > -Francis > > "Nothing should ever be done for the first time !" > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From JimAultWins at yahoo.com Thu Mar 16 19:00:20 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 16 Mar 2006 16:00:20 -0800 Subject: Making the move... In-Reply-To: <4419AABB.1080508@fourthworld.com> Message-ID: On 3/16/06 10:13 AM, "Richard Gaskin" wrote: > I would > enourage those interested in web apps grab Dr. Raney's mchttpd.mc and > play with it a while. It's a thing of beauty to just open the stack, > click the "Start" button, and call it with your browser. Hi, Richard, I am beginning to step toward the world of web apps and did the dnld of the mchttpd app, started it on a G5, but am not sure how to access it. Tried in Safari (on the same OSX 10.4.2 computer) (& IE on Win32 behind the same router) http://192.186.15.100 http://192.186.15.100/index.html => can't find the server Does the mchttpd computer have to have static IP? Although I am new at this, I know someone who might jump into Rev if he saw this working. Thanks. Jim Ault Las Vegas From scott at proherp.com Thu Mar 16 19:03:52 2006 From: scott at proherp.com (Scott Kane) Date: Fri, 17 Mar 2006 11:03:52 +1100 Subject: Icon for OS X compiled .app not showing :-( In-Reply-To: <4419FA8D.9060501@paraboliclogic.com> Message-ID: <000f01c64956$4a0f0030$0201010a@royalnexus> > I should mention though that the dock icon is correct. Sometimes rebooting can solve this. Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.4/283 - Release Date: 16/03/2006 From userev at canelasoftware.com Thu Mar 16 19:17:11 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 16 Mar 2006 16:17:11 -0800 Subject: Icon for OS X compiled .app not showing :-( In-Reply-To: <4419FA29.50708@paraboliclogic.com> References: <4167e2f54e13e2a9de140cb5f066e356@wanadoo.fr> <4419FA29.50708@paraboliclogic.com> Message-ID: <1301CD6E-054F-4D72-95D9-D1394A436AEF@canelasoftware.com> On Mar 16, 2006, at 3:52 PM, Garrett Hylltun wrote: > Looking into the .app resouces shows both icons, and the plist file > does name the icons appropriately. > > Am I doing something wrong? You can force the icon to update in the finder by Option dragging a copy of the application you made. It will duplicate the app and show the correct icon. You then delete the original file and rename the .copy version appropriately. Mark Talluto -- CANELA Software http://www.canelasoftware.com From collabyrinth at sympatico.ca Thu Mar 16 19:44:21 2006 From: collabyrinth at sympatico.ca (Collabyrinth VPN) Date: Thu, 16 Mar 2006 17:44:21 -0700 Subject: Making the move... In-Reply-To: <878983E8-E450-485B-A95F-54942323469F@fireworksmm.com> References: <4419AABB.1080508@fourthworld.com> <4419AFC3.3080406@sympatico.ca> <878983E8-E450-485B-A95F-54942323469F@fireworksmm.com> Message-ID: <441A0665.2040101@sympatico.ca> Wally As (your) luck would have it, we're working on exactly such a document for the poor unfortunates who will inherit the servers once I've wrought havoc on them. This is pro bono stuff for the fellowship AFAIC, for keeping me sober since 1979, so by all means, when it's done and relatively stable, I'll release it in the RunRev wild. Some of the stuff around FastCGI is a bit tricky, but I think the documentation will pull you through. If it doesn't, you know where to get me. So, about the coffee ... Peter Elliott Wally Rodriguez wrote: > How about a tutorial on how to set up Rev to use FastCGI. For those > of us for whom a lot of these terms are totatlly new, it would be > great to be able to take advantage of some of these tools. > > I know I'm already salivating at the possibilities of merge(), > something I just learned about on this thread. > > W. > > On Mar 16, 2006, at 1:34 PM, Collabyrinth VPN wrote: > >> Forgive the intrusion from a 'lurker', but as I've learned so much >> from you all the last three months, it's time I gave something back. >> >> I'm developing using Ruby on Rails on both Windows XP Pro SP2 & >> (Knoppix) Linux simultaneously. >> >> Rev works just fine with FastCGI. Fwiw, I'd be happy to set up some >> benchmarks and publish the results next week, if it helps. >> >> A brief general comment. I use and modify the Ruby code to handle >> the 'unseen' parts, if you will, and Rev to generate what the user >> sees on the websites. I see Rev as complementary to ROR, and it >> seems to work well. A good mix. >> >> Cheers from Canada >> Peter Elliott > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mvreade at earthlink.net Thu Mar 16 20:21:50 2006 From: mvreade at earthlink.net (mvreade at earthlink.net) Date: Thu, 16 Mar 2006 20:21:50 -0500 Subject: Making the move... In-Reply-To: <441A0665.2040101@sympatico.ca> References: <4419AABB.1080508@fourthworld.com> <4419AFC3.3080406@sympatico.ca> <878983E8-E450-485B-A95F-54942323469F@fireworksmm.com> <441A0665.2040101@sympatico.ca> Message-ID: Wow Peter, great! As one of the "lurkers" who has been toying with Revolution before taking a dive, this is indeed inspiring. Thanks, Michael On Mar 16, 2006, at 7:44 PM, Collabyrinth VPN wrote: > Wally > > As (your) luck would have it, we're working on exactly such a > document for the poor unfortunates who will inherit the servers > once I've wrought havoc on them. > > This is pro bono stuff for the fellowship AFAIC, for keeping me > sober since 1979, so by all means, when it's done and relatively > stable, I'll release it in the RunRev wild. > > Some of the stuff around FastCGI is a bit tricky, but I think the > documentation will pull you through. If it doesn't, you know where > to get me. > > So, about the coffee ... > > Peter Elliott > > Wally Rodriguez wrote: > >> How about a tutorial on how to set up Rev to use FastCGI. For >> those of us for whom a lot of these terms are totatlly new, it >> would be great to be able to take advantage of some of these tools. >> >> I know I'm already salivating at the possibilities of merge(), >> something I just learned about on this thread. >> >> W. >> >> On Mar 16, 2006, at 1:34 PM, Collabyrinth VPN wrote: >> >>> Forgive the intrusion from a 'lurker', but as I've learned so >>> much from you all the last three months, it's time I gave >>> something back. >>> >>> I'm developing using Ruby on Rails on both Windows XP Pro SP2 & >>> (Knoppix) Linux simultaneously. >>> >>> Rev works just fine with FastCGI. Fwiw, I'd be happy to set up >>> some benchmarks and publish the results next week, if it helps. >>> >>> A brief general comment. I use and modify the Ruby code to >>> handle the 'unseen' parts, if you will, and Rev to generate what >>> the user sees on the websites. I see Rev as complementary to >>> ROR, and it seems to work well. A good mix. >>> >>> Cheers from Canada >>> Peter Elliott >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lfredricks at proactive-intl.com Thu Mar 16 20:23:39 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 16 Mar 2006 17:23:39 -0800 Subject: Evolution of Revolution? In-Reply-To: <4419DA80.1080207@qwest.net> Message-ID: <20060317012346.A60A77F061@spatula.dreamhost.com> > I'm seriously considering buying Rev, but I'd like to know > where the developers are taking this product. Does anybody > know what's in store down the road in terms of enhanced > controls, language features, and the like? I know that's a > rather open-ended question, but surely there's much more room > for this IDE to grow. I'm occasionally bumping into > "short-comings"; no show-stoppers, but developer > annoyances...you know the kind :) In the interests of a competitive marketplace, we cannot discuss specifics about what is in store. Enterprise customers can get access to a private list, but its effectively subject to non-disclosure. That being said - I think you will find 2006 an exceptional year for advancements in both usability and the underlying technology - and that includes the IDE. In fact, you can modify and extend the interface of Revolution yourself right now. Just take a look at the Constellation editor, that integrates with the Revolution IDE: http://www.runrev.com/section/revselect/constellation/index.php Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From 3mcgrath at adelphia.net Thu Mar 16 20:25:12 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 16 Mar 2006 20:25:12 -0500 Subject: Get a handler from a script Message-ID: <38D6B541-DA1E-419F-B258-525DA4179819@adelphia.net> Hello friends, I know how to get the script from an objects script via script: put the script of card "Foo" into tBar But, I would like to get just one of the handlers from a script via script: put handler "FooBar" of the script of card "Foo" into tBar Anyone know how to do this easily? Thanks Tom Thomas J McGrath III 3mcgrath at adelphia.net 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 From 3mcgrath at adelphia.net Thu Mar 16 20:30:50 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 16 Mar 2006 20:30:50 -0500 Subject: Making the move... In-Reply-To: <441A0665.2040101@sympatico.ca> References: <4419AABB.1080508@fourthworld.com> <4419AFC3.3080406@sympatico.ca> <878983E8-E450-485B-A95F-54942323469F@fireworksmm.com> <441A0665.2040101@sympatico.ca> Message-ID: <70C0824B-CACD-490A-8976-694A3615C73A@adelphia.net> Peter, As a fellow 'coffee' drinker, welcome to the list. "We keep what we have by giving it away." works real well in this environment too. Easy Does It, Tom On Mar 16, 2006, at 7:44 PM, Collabyrinth VPN wrote: > This is pro bono stuff for the fellowship AFAIC, for keeping me > sober since 1979, so by all means, when it's done and relatively > stable, I'll release it in the RunRev wild. > > So, about the coffee ... > > Peter Elliott Thomas J McGrath III 3mcgrath at adelphia.net 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 From garrett at paraboliclogic.com Thu Mar 16 20:39:15 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 16 Mar 2006 17:39:15 -0800 Subject: Evolution of Revolution? In-Reply-To: <20060317012346.A60A77F061@spatula.dreamhost.com> References: <20060317012346.A60A77F061@spatula.dreamhost.com> Message-ID: <441A1343.3050505@paraboliclogic.com> I'd like to see the Linux GUI Framework updated to something like GTK 2 or QT. The current gui framework is ugly and looks outdated on a linux box of today. Just do that and I'd be happy! :-) One of the main reasons I bought Rev Studio was to develop for Mac, Linux and Windows, but as it is now, I can't put anything out for linux when the gui is just flat out ugly and doesn't even come close to the current gui of Gnome or KDE. Even GTK 1.x is better looking. -Garrett From 3mcgrath at adelphia.net Thu Mar 16 20:39:55 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 16 Mar 2006 20:39:55 -0500 Subject: Pass - is it really needed Message-ID: <8FF5068C-4B6D-4CB8-BA50-B6C418BC9B08@adelphia.net> Hello friends, I am writing a lot of commands and functions for a library and was wondering if the Pass handler name was a necessity? I mean, If I am not using a handler name that is a part of transcript then do I really want the handler to pass after running it? What would be a reason I would. The reason I ask is that when I insert a new command it throws in a pass with that commands name by default. I don't normally use the Pass except when using an On card or other transcript handler. Thanks, Tom Busy again, Thomas J McGrath III 3mcgrath at adelphia.net 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 From garrett at paraboliclogic.com Thu Mar 16 20:41:43 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 16 Mar 2006 17:41:43 -0800 Subject: Icon for OS X compiled .app not showing :-( In-Reply-To: <1301CD6E-054F-4D72-95D9-D1394A436AEF@canelasoftware.com> References: <4167e2f54e13e2a9de140cb5f066e356@wanadoo.fr> <4419FA29.50708@paraboliclogic.com> <1301CD6E-054F-4D72-95D9-D1394A436AEF@canelasoftware.com> Message-ID: <441A13D7.8000003@paraboliclogic.com> Mark Talluto wrote: > > On Mar 16, 2006, at 3:52 PM, Garrett Hylltun wrote: > >> Looking into the .app resouces shows both icons, and the plist file >> does name the icons appropriately. >> >> Am I doing something wrong? > > > You can force the icon to update in the finder by Option dragging a copy > of the application you made. It will duplicate the app and show the > correct icon. You then delete the original file and rename the .copy > version appropriately. Well that did it... Thanks Mark. Damn! I made an ugly Icon! :-( Maybe should have left it alone! ;-) Back to the graphics program again. -Garrett From rjb at robelko.com Thu Mar 16 20:57:11 2006 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 17 Mar 2006 02:57:11 +0100 Subject: Pass - is it really needed In-Reply-To: <8FF5068C-4B6D-4CB8-BA50-B6C418BC9B08@adelphia.net> References: <8FF5068C-4B6D-4CB8-BA50-B6C418BC9B08@adelphia.net> Message-ID: >Hello friends, > >I am writing a lot of commands and functions for a library and was >wondering if the Pass handler name was a necessity? I mean, If I am >not using a handler name that is a part of transcript then do I >really want the handler to pass after running it? What would be a >reason I would. >The reason I ask is that when I insert a new command it throws in a >pass with that commands name by default. I don't normally use the >Pass except when using an On card or other transcript handler. > >Thanks, > >Tom >Busy again, > >Thomas J McGrath III >3mcgrath at adelphia.net The script editor is just trying to be friendly and reduce the amount of typing for you. Using pass is your call and depends on what you want to achieve. Normally, you would not pass your own handlers unless you do multi-tiered processing; for example, card handler does card-specific stuff and passes it further so background handler can do background-specific stuff and/or stack can do stack-wide stuff. The situation with standard messages is a tad different. Here, you would usually pass the call unless you want to terminate processing; for example, having openStack on card level without pass will prevent the openStack handler in the stack script from executing. Robert From 3mcgrath at adelphia.net Thu Mar 16 21:08:53 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 16 Mar 2006 21:08:53 -0500 Subject: Busy Again Message-ID: <8AC4A419-8D8C-4800-ACE7-BF411B1E0795@adelphia.net> Hey you guys and gals, I just have to say that since my last project I was being rather sluggish in jumping on the 'new' project. Well, yesterday I started twiddling around writing a couple of handlers and 'seeing' where they might lead. Next thing you know Transcript just sucked me right in. i was hooked all over again. I couldn't sleep. I couldn't take an hour to spend with the family. I haven't gotten dressed since yesterday. I'm still in my PJs. Every time I say "OK, let's take a break" I end up just jumping back in for more. I have written 74 Commands and Functions and plan on finishing this tomorrow. Two and a half days to write something this powerful with this many features is INCREDIBLE! AWESOME! UNBELIEVABLE! Pick one, pick them all. Since this is foundation for the next three or four software products I plan on releasing I am stoked. Thanks for all of your help and support. Tom Thomas J McGrath III 3mcgrath at adelphia.net 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 From rjb at robelko.com Thu Mar 16 21:11:59 2006 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 17 Mar 2006 03:11:59 +0100 Subject: Get a handler from a script In-Reply-To: <38D6B541-DA1E-419F-B258-525DA4179819@adelphia.net> References: <38D6B541-DA1E-419F-B258-525DA4179819@adelphia.net> Message-ID: >Hello friends, > >I know how to get the script from an objects script via script: >put the script of card "Foo" into tBar > >But, I would like to get just one of the handlers from a script via >script: put handler "FooBar" of the script of card "Foo" into tBar > >Anyone know how to do this easily? > >Thanks > >Tom > > >Thomas J McGrath III >3mcgrath at adelphia.net something like (not tested; watch line wraps) put extractHandlerFromScript(the script of cd "Foo","FooBar") into tBar function extractHandlerFromScript pScript,pHandlerName put lineOffset("on" && pHandlerName & space, pScript) into tHandlerBegin if tHandlerBegin is 0 then put lineOffset("on" && pHandlerName & cr, pScript) into tFooBar1 if tHandlerBegin is 0 then put lineOffset("function" && pHandlerName & space, pScript) into tFooBar1 if tHandlerBegin is 0 then put lineOffset("function" && pHandlerName & cr, pScript) into tFooBar1 if tHandlerBegin is 0 then return empty put lineOffset("end" && pHandlerName & cr, pScript) into tHandlerEnd if tHandlerEnd is 0 then put lineOffset("end" && pHandlerName & space, pScript) into tHandlerEnd if tHandlerEnd is 0 then return empty return line tHandlerBegin to tHandlerEnd of pScript end extractHandlerFromScript If formatting is not so regular, you may need to account for multiple spaces between on/function/end and handler name. Robert From mark at maseurope.net Thu Mar 16 21:16:02 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 17 Mar 2006 02:16:02 +0000 Subject: Get a handler from a script In-Reply-To: <38D6B541-DA1E-419F-B258-525DA4179819@adelphia.net> References: <38D6B541-DA1E-419F-B258-525DA4179819@adelphia.net> Message-ID: <666E59EA-4394-45C5-8E6E-8121816AE2E0@maseurope.net> Not tested, but something like this should work: function getHandler hName,tControl put the script of control tControl into tScript get lineOffset("on " & hName,tScript) if it = 0 then return "not found" put it into startLine get lineOffset("end " & hName,tScript) return line startLine to it of tScript end getHandler Cheers, Mark On 17 Mar 2006, at 01:25, Thomas McGrath III wrote: > Hello friends, > > I know how to get the script from an objects script via script: > put the script of card "Foo" into tBar > > But, I would like to get just one of the handlers from a script via > script: put handler "FooBar" of the script of card "Foo" into tBar > > Anyone know how to do this easily? > > Thanks > > Tom > > > Thomas J McGrath III > 3mcgrath at adelphia.net > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Thu Mar 16 21:16:19 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 16 Mar 2006 21:16:19 -0500 Subject: Pass - is it really needed In-Reply-To: References: <8FF5068C-4B6D-4CB8-BA50-B6C418BC9B08@adelphia.net> Message-ID: <51DC01FD-9BCB-443D-8714-5A6B0875B5FA@adelphia.net> Thanks Robert, I wasn't sure but that was what I was thinking. Your response verifies that for me and I feel I can keep treating Pass the way I normally do. I wanted to make sure I wasn't missing something crucial. Thanks again, Tom On Mar 16, 2006, at 8:57 PM, Robert Brenstein wrote: >> I am writing a lot of commands and functions for a library and was >> wondering if the Pass handler name was a necessity? I mean, If I >> am not using a handler name that is a part of transcript then do I >> really want the handler to pass after running it? What would be a >> reason I would. >> The reason I ask is that when I insert a new command it throws in >> a pass with that commands name by default. I don't normally use >> the Pass except when using an On card or other transcript handler. >> > > The script editor is just trying to be friendly and reduce the > amount of typing for you. Using pass is your call and depends on > what you want to achieve. > > Normally, you would not pass your own handlers unless you do multi- > tiered processing; for example, card handler does card-specific > stuff and passes it further so background handler can do background- > specific stuff and/or stack can do stack-wide stuff. The situation > with standard messages is a tad different. Here, you would usually > pass the call unless you want to terminate processing; for example, > having openStack on card level without pass will prevent the > openStack handler in the stack script from executing. Thomas J McGrath III 3mcgrath at adelphia.net 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 From mark at maseurope.net Thu Mar 16 21:46:06 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 17 Mar 2006 02:46:06 +0000 Subject: Get a handler from a script In-Reply-To: References: <38D6B541-DA1E-419F-B258-525DA4179819@adelphia.net> Message-ID: This is more the ticket - except I don't think we need to deal with 'on' and 'function' separately, lineOffset picks up the 'on' in 'function'. Cheers, Mark > > something like (not tested; watch line wraps) > > put extractHandlerFromScript(the script of cd "Foo","FooBar") into > tBar > > function extractHandlerFromScript pScript,pHandlerName > put lineOffset("on" && pHandlerName & space, pScript) into > tHandlerBegin > if tHandlerBegin is 0 then put lineOffset("on" && pHandlerName & > cr, pScript) into tFooBar1 > if tHandlerBegin is 0 then put lineOffset("function" && > pHandlerName & space, pScript) into tFooBar1 > if tHandlerBegin is 0 then put lineOffset("function" && > pHandlerName & cr, pScript) into tFooBar1 > if tHandlerBegin is 0 then return empty > put lineOffset("end" && pHandlerName & cr, pScript) into tHandlerEnd > if tHandlerEnd is 0 then put lineOffset("end" && pHandlerName & > space, pScript) into tHandlerEnd > if tHandlerEnd is 0 then return empty > return line tHandlerBegin to tHandlerEnd of pScript > end extractHandlerFromScript > > If formatting is not so regular, you may need to account for > multiple spaces between on/function/end and handler name. > > Robert > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Thu Mar 16 21:48:48 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 16 Mar 2006 21:48:48 -0500 Subject: Get a handler from a script In-Reply-To: <666E59EA-4394-45C5-8E6E-8121816AE2E0@maseurope.net> References: <38D6B541-DA1E-419F-B258-525DA4179819@adelphia.net> <666E59EA-4394-45C5-8E6E-8121816AE2E0@maseurope.net> Message-ID: <4C97769F-B2F6-4946-95FB-8F7D1920B1A1@adelphia.net> Mark and Robert, I needed to check for functions as well. So I adapted the script from Mark into this: function getHandlers hName,tControl put the script of card tControl into tScript put tScript get lineOffset("on " & hName,tScript) if it = 0 then get lineOffset("function " & hName,tScript) end if if it = 0 then return "not found" put it into startLine get lineOffset("end " & hName,tScript) return line startLine to it of tScript end getHandlers Thank you so much for your help, Tom On Mar 16, 2006, at 9:16 PM, Mark Smith wrote: > Not tested, but something like this should work: > > function getHandler hName,tControl > put the script of control tControl into tScript > get lineOffset("on " & hName,tScript) > if it = 0 then return "not found" > put it into startLine > get lineOffset("end " & hName,tScript) > return line startLine to it of tScript > end getHandler > > Cheers, > > Mark > > On 17 Mar 2006, at 01:25, Thomas McGrath III wrote: > >> Hello friends, >> >> I know how to get the script from an objects script via script: >> put the script of card "Foo" into tBar >> >> But, I would like to get just one of the handlers from a script >> via script: put handler "FooBar" of the script of card "Foo" >> into tBar >> >> Anyone know how to do this easily? >> >> Thanks >> >> Tom From mwieder at ahsoftware.net Thu Mar 16 21:51:03 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 16 Mar 2006 18:51:03 -0800 Subject: [Slightly OT] Amazon's New Storage Plan - Someone Do a Rev Interface? In-Reply-To: <9BBD4FC5-EA18-4031-92C3-8E4B42ED4602@mac.com> References: <200603142358.k2ENw1Zu028064@ms-smtp-02.rdc-nyc.rr.com> <3f07cc260603141756u25c55bdepc2dedace00f6d0f7@mail.gmail.com> <12344666617.20060314213613@ahsoftware.net> <045632CB-82DD-48E4-AC5C-839BB64D6DEB@mac.com> <1452362206.20060315101745@ahsoftware.net> <9BBD4FC5-EA18-4031-92C3-8E4B42ED4602@mac.com> Message-ID: <17139192756.20060316185103@ahsoftware.net> Andre- Wednesday, March 15, 2006, 10:56:54 AM, you wrote: I spent about 20 minutes today at the Software Developer's Conference in the south bay with one of the S3 developers from Amazon, and he confirmed most of what we have been thinking... > I read the docs, there appear to be no magical/automated interface > for BT. This is true. BT is supported as a distribution mechanism on the client end in order to minimize distribution costs. But there's no other explicit BT support on the server end. Nor, I think, does any need to be there. > What appears to exist is that if you create a public object, which is > a resource that can be accessed by a URL without authentication, then Yes and no. By default when you upload an object it's not publicly accessible. There's a call in the api to make it public if you want. Otherwise even with a BT client you still need to authenticate. > if we had HMAC/SHA1 routines, we could build a S3 library in 20 > minutes, it's very easy. They're only supporting HMAC/SHA1 for now, but are open to other authentication methods. There are public fora at the AWS web site for developer discussions. The Amazon guy I talked with said that he's also seen an SHA1 encoder on the web, written in Javascript, of all things. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Thu Mar 16 21:54:24 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Mar 2006 18:54:24 -0800 Subject: Making the move... In-Reply-To: <20060317005740.40EF7826489@mail.runrev.com> References: <20060317005740.40EF7826489@mail.runrev.com> Message-ID: <441A24E0.8040209@fourthworld.com> Jim Ault wrote: > On 3/16/06 10:13 AM, "Richard Gaskin" wrote: >> I would enourage those interested in web apps grab >> Dr. Raney's mchttpd.mc and play with it a while. >> It's a thing of beauty to just open the stack, >> click the "Start" button, and call it with your >> browser. > > I am beginning to step toward the world of web apps > and did the dnld of the mchttpd app, started it on > a G5, but am not sure how to access it. > > Tried in Safari > (on the same OSX 10.4.2 computer) > (& IE on Win32 behind the same router) > > http://192.186.15.100 > http://192.186.15.100/index.html > > => can't find the server > > Does the mchttpd computer have to have static IP? > > Although I am new at this, I know someone who might jump > into Rev if he saw this working. The default port in mchttpd is 8080 -- on my Mac I use: http://localhost:8080/ -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From garrett at paraboliclogic.com Thu Mar 16 21:59:16 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 16 Mar 2006 18:59:16 -0800 Subject: Busy Again In-Reply-To: <8AC4A419-8D8C-4800-ACE7-BF411B1E0795@adelphia.net> References: <8AC4A419-8D8C-4800-ACE7-BF411B1E0795@adelphia.net> Message-ID: <441A2604.8040606@paraboliclogic.com> Thomas McGrath III wrote: > Hey you guys and gals, > > I just have to say that since my last project I was being rather > sluggish in jumping on the 'new' project. > > Well, yesterday I started twiddling around writing a couple of handlers > and 'seeing' where they might lead. Next thing you know Transcript just > sucked me right in. i was hooked all over again. I couldn't sleep. I Sounds like an Intervention might have to come into play for you! ;-) -Garrett From mark at maseurope.net Thu Mar 16 22:04:54 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 17 Mar 2006 03:04:54 +0000 Subject: Get a handler from a script Message-ID: <745e934a0603161904m364a78a2i94fdd6ce4b440434@mail.gmail.com> The reason I think Roberts is more the ticket is that it deals with the case where you have a handler 'jumpHigh' as well as a handler 'jump' later in the script -- this means we need to check for the end of the handler name - which could be a space if there are parameters, or cr if not. We can avoid checking that for the 'end' line by using the third parameter to lineOffset -- lines to skip, so a revised version might be: function extractHandlerFromScript pScript,pHandlerName put lineOffset("on" && pHandlerName & space, pScript) into tHandlerBegin if tHandlerBegin is 0 then put lineOffset("on" && pHandlerName & cr, pScript) into tFooBar1 -- this deals with either space or cr at the end of the handler name -- and we don't need to check for 'function' since it contains 'on' if tHandlerBegin is 0 then return empty put lineOffset("end" && pHandlerName,pScript,tHandlerBegin) into tHandlerEnd if pHandlerEnd is 0 then return empty return line tHandlerBegin to tHandlerEnd of pScript end extractHandlerFromScript Cheers, Mark On 17 Mar 2006, at 02:48, Thomas McGrath III wrote: Mark and Robert, I needed to check for functions as well. So I adapted the script from Mark into this: function getHandlers hName,tControl put the script of card tControl into tScript put tScript get lineOffset("on " & hName,tScript) if it = 0 then get lineOffset("function " & hName,tScript) end if if it = 0 then return "not found" put it into startLine get lineOffset("end " & hName,tScript) return line startLine to it of tScript end getHandlers Thank you so much for your help, Tom On Mar 16, 2006, at 9:16 PM, Mark Smith wrote: Not tested, but something like this should work: function getHandler hName,tControl put the script of control tControl into tScript get lineOffset("on " & hName,tScript) if it = 0 then return "not found" put it into startLine get lineOffset("end " & hName,tScript) return line startLine to it of tScript end getHandler From mark at maseurope.net Thu Mar 16 22:12:19 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 17 Mar 2006 03:12:19 +0000 Subject: Get a handler from a script In-Reply-To: <745e934a0603161904m364a78a2i94fdd6ce4b440434@mail.gmail.com> References: <745e934a0603161904m364a78a2i94fdd6ce4b440434@mail.gmail.com> Message-ID: <9E7713BB-2077-48FC-8234-7B2B2B749152@maseurope.net> Sorry, using the third parameter to lineOffset means we have to do this: return line tHandlerBegin to (tHandlerBegin + tHandlerEnd) of pScript On 17 Mar 2006, at 03:04, Mark Smith wrote: > > return line tHandlerBegin to tHandlerEnd of pScript > From chipp at chipp.com Thu Mar 16 22:14:19 2006 From: chipp at chipp.com (Chipp Walters) Date: Thu, 16 Mar 2006 21:14:19 -0600 Subject: [ANN] tm|color and tm|gradient Updates In-Reply-To: References: Message-ID: <441A298B.2030608@chipp.com> Wow Scott! Very impressive. I didn't know you could do all these things with your product. Cool! If you all haven't seen the URL's below, you should take a minute and have a look! -Chipp Scott Rossi wrote: > - tm|color, our non-modal color chooser, now supports marker colors (fill > and line) and includes a few bug fixes. > http://www.tactilemedia.com/tmtools/tmgradient/quickstart.html > Widget Tutorial > http://www.tactilemedia.com/tmtools/tmgradient/tutorial1_1.html From mwieder at ahsoftware.net Thu Mar 16 22:17:07 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 16 Mar 2006 19:17:07 -0800 Subject: Get a handler from a script In-Reply-To: <38D6B541-DA1E-419F-B258-525DA4179819@adelphia.net> References: <38D6B541-DA1E-419F-B258-525DA4179819@adelphia.net> Message-ID: <8440756564.20060316191707@ahsoftware.net> Tom- Thursday, March 16, 2006, 5:25:12 PM, you wrote: > But, I would like to get just one of the handlers from a script via > script: put handler "FooBar" of the script of card "Foo" into tBar Here's a simplified version of what I do: -- pHandler is the name of the handler to extract -- pScript is the entire script text function FindHandler pHandler, pScript local tStart, tEnd put lineOffset("on" && pHandler, pScript) into tStart put lineOffset("end" && pHandler, pScript) into tEnd return line tStart to tEnd of pScript end FindHandler -- -Mark Wieder mwieder at ahsoftware.net From rjb at robelko.com Thu Mar 16 22:13:39 2006 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 17 Mar 2006 04:13:39 +0100 Subject: Get a handler from a script In-Reply-To: <745e934a0603161904m364a78a2i94fdd6ce4b440434@mail.gmail.com> References: <745e934a0603161904m364a78a2i94fdd6ce4b440434@mail.gmail.com> Message-ID: >The reason I think Roberts is more the ticket is that it deals with >the case where you have a handler 'jumpHigh' as well as a handler >'jump' later in the script -- this means we need to check for the end >of the handler name - which could be a space if there are parameters, >or cr if not. > >We can avoid checking that for the 'end' line by using the third >parameter to lineOffset -- lines to skip, so a revised version might >be: > >function extractHandlerFromScript pScript,pHandlerName > put lineOffset("on" && pHandlerName & space, pScript) into tHandlerBegin > if tHandlerBegin is 0 then put lineOffset("on" && pHandlerName & cr, >pScript) into tFooBar1 >-- this deals with either space or cr at the end of the handler name >-- and we don't need to check for 'function' since it contains 'on' > > if tHandlerBegin is 0 then return empty > put lineOffset("end" && pHandlerName,pScript,tHandlerBegin) into tHandlerEnd > if pHandlerEnd is 0 then return empty > return line tHandlerBegin to tHandlerEnd of pScript >end extractHandlerFromScript > >Cheers, > >Mark Great improvements, Mark. Robert From scott at proherp.com Thu Mar 16 22:21:10 2006 From: scott at proherp.com (Scott Kane) Date: Fri, 17 Mar 2006 14:21:10 +1100 Subject: [ANN] tm|color and tm|gradient Updates In-Reply-To: <441A298B.2030608@chipp.com> Message-ID: <001501c64971$d8b4d6a0$0201010a@royalnexus> > If you all haven't seen the URL's below, you should take a minute and > have a look! Agreed. Fantastic stuff! Scott K -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.4/283 - Release Date: 16/03/2006 From collabyrinth at sympatico.ca Fri Mar 17 00:18:48 2006 From: collabyrinth at sympatico.ca (Collabyrinth VPN) Date: Thu, 16 Mar 2006 22:18:48 -0700 Subject: Making the move... In-Reply-To: References: <4419AABB.1080508@fourthworld.com> <4419AFC3.3080406@sympatico.ca> <878983E8-E450-485B-A95F-54942323469F@fireworksmm.com> <441A0665.2040101@sympatico.ca> Message-ID: <441A46B8.4070407@sympatico.ca> Michael Well, I was looking for solution to fasttrack an entirely different project when I ran across Revolution. I've been running it on a Groundhog Day WinBox, but it's dive-time for me, most certainly. This list is also a very fertile group, I think, and that's helped immensely. Sometimes I think we programmers take far too much pride in the *complexity* of what we do, and shun truly productive environments because "anyone can do it" kind of thinking. (You're reading this from a guy who writes Pike/Ruby/PHP/C/SB code in a freeware editor just to be macho man because I'm surrounded by people 2/5ths my age. Job security.) This is a useful, powerful product, and the way it gets more exposure is if we turn out high-quality, attractive and powerful websites & apps to prove it. With apologies to VB lovers anywhere, this ain't exactly Visual Basic. Regards, Peter mvreade at earthlink.net wrote: > Wow Peter, great! As one of the "lurkers" who has been toying with > Revolution before taking a dive, this is indeed inspiring. > > Thanks, > > Michael > > > On Mar 16, 2006, at 7:44 PM, Collabyrinth VPN wrote: > >> Wally >> >> As (your) luck would have it, we're working on exactly such a >> document for the poor unfortunates who will inherit the servers once >> I've wrought havoc on them. >> >> This is pro bono stuff for the fellowship AFAIC, for keeping me >> sober since 1979, so by all means, when it's done and relatively >> stable, I'll release it in the RunRev wild. >> >> Some of the stuff around FastCGI is a bit tricky, but I think the >> documentation will pull you through. If it doesn't, you know where >> to get me. >> >> So, about the coffee ... >> >> Peter Elliott >> >> Wally Rodriguez wrote: >> >>> How about a tutorial on how to set up Rev to use FastCGI. For >>> those of us for whom a lot of these terms are totatlly new, it >>> would be great to be able to take advantage of some of these tools. >>> >>> I know I'm already salivating at the possibilities of merge(), >>> something I just learned about on this thread. >>> >>> W. >>> >>> On Mar 16, 2006, at 1:34 PM, Collabyrinth VPN wrote: >>> >>>> Forgive the intrusion from a 'lurker', but as I've learned so >>>> much from you all the last three months, it's time I gave >>>> something back. >>>> >>>> I'm developing using Ruby on Rails on both Windows XP Pro SP2 & >>>> (Knoppix) Linux simultaneously. >>>> >>>> Rev works just fine with FastCGI. Fwiw, I'd be happy to set up >>>> some benchmarks and publish the results next week, if it helps. >>>> >>>> A brief general comment. I use and modify the Ruby code to handle >>>> the 'unseen' parts, if you will, and Rev to generate what the >>>> user sees on the websites. I see Rev as complementary to ROR, and >>>> it seems to work well. A good mix. >>>> >>>> Cheers from Canada >>>> Peter Elliott >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Fri Mar 17 00:22:01 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Mar 2006 23:22:01 -0600 Subject: Pass - is it really needed In-Reply-To: <8FF5068C-4B6D-4CB8-BA50-B6C418BC9B08@adelphia.net> References: <8FF5068C-4B6D-4CB8-BA50-B6C418BC9B08@adelphia.net> Message-ID: <441A4779.1090501@hyperactivesw.com> Thomas McGrath III wrote: > The reason I ask is that when I insert a new command it throws in a > pass with that commands name by default. This isn't native Revolution behavior. Are you using Constellation? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From JimAultWins at yahoo.com Fri Mar 17 00:37:32 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 16 Mar 2006 21:37:32 -0800 Subject: Get a handler from a script In-Reply-To: <745e934a0603161904m364a78a2i94fdd6ce4b440434@mail.gmail.com> Message-ID: Perhaps using set the wholematches to true put lineOffset("on" && pHandlerName, pScript) into tStart if tStart is 0 then put lineOffset("function" && pHandlerName, pScript) into tStart put (lineOffset("end" && pHandlerName, pScript) +1 into tEnd answer tStart & cr & tEnd Jim Ault Las Vegas On 3/16/06 7:04 PM, "Mark Smith" wrote: > The reason I think Roberts is more the ticket is that it deals with > the case where you have a handler 'jumpHigh' as well as a handler > 'jump' later in the script -- this means we need to check for the end > of the handler name - which could be a space if there are parameters, > or cr if not. > > We can avoid checking that for the 'end' line by using the third > parameter to lineOffset -- lines to skip, so a revised version might > be: > > function extractHandlerFromScript pScript,pHandlerName > put lineOffset("on" && pHandlerName & space, pScript) into tHandlerBegin > if tHandlerBegin is 0 then put lineOffset("on" && pHandlerName & cr, > pScript) into tFooBar1 > -- this deals with either space or cr at the end of the handler name > -- and we don't need to check for 'function' since it contains 'on' > > if tHandlerBegin is 0 then return empty > put lineOffset("end" && pHandlerName,pScript,tHandlerBegin) into tHandlerEnd > if pHandlerEnd is 0 then return empty > return line tHandlerBegin to tHandlerEnd of pScript > end extractHandlerFromScript > > Cheers, > > Mark > > On 17 Mar 2006, at 02:48, Thomas McGrath III wrote: > > Mark and Robert, > > I needed to check for functions as well. So I adapted the script from > Mark into this: > > function getHandlers hName,tControl > put the script of card tControl into tScript > put tScript > get lineOffset("on " & hName,tScript) > if it = 0 then > get lineOffset("function " & hName,tScript) > end if > if it = 0 then return "not found" > put it into startLine > get lineOffset("end " & hName,tScript) > return line startLine to it of tScript > end getHandlers > > Thank you so much for your help, > > Tom > > > On Mar 16, 2006, at 9:16 PM, Mark Smith wrote: > > Not tested, but something like this should work: > > function getHandler hName,tControl > put the script of control tControl into tScript > get lineOffset("on " & hName,tScript) > if it = 0 then return "not found" > put it into startLine > get lineOffset("end " & hName,tScript) > return line startLine to it of tScript > end getHandler > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Fri Mar 17 00:41:09 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Mar 2006 23:41:09 -0600 Subject: Icon for OS X compiled .app not showing :-( In-Reply-To: <4419FA29.50708@paraboliclogic.com> References: <4167e2f54e13e2a9de140cb5f066e356@wanadoo.fr> <4419FA29.50708@paraboliclogic.com> Message-ID: <441A4BF5.9040403@hyperactivesw.com> Garrett Hylltun wrote: > But after the standalone was saved, the icons I made are not being used > at all for the .app in finder. It's using the default icon from OS X as > if mine didn't exist or something. As you know now, Mark's suggestion works. So does zipping and then unzipping the standalone, which is what I always used to do. But the coolest trick was just posted here within the last week or so, and I thought it was Mark Talluto's trick too (if I remember right.) Anyway, you do a "get info" on the file, select the icon, and choose "Delete" from the Edit menu. Bingo. I have now changed my ways. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From aturban at qwest.net Fri Mar 17 00:43:49 2006 From: aturban at qwest.net (Arthur Urban) Date: Thu, 16 Mar 2006 22:43:49 -0700 Subject: Developer Annoyance #1 Message-ID: <441A4C95.4080705@qwest.net> I think a new syntax needs to be made available for calling functions outside the message hierarchy. The existing mechanism does not lend itself to high readability or maintainability. Consider the following, if you will: put 1 into varA put 2 into varB put value( merge("calc([[varA]],[[varB]]))", btn "source" ) into localResult further, if I need to protect the integrity of the variable passed it begins to look like this: put "1,2,3" into varA put 4 into varB put value( merge("calc([[quote&varA"e]],[[varB]]))", btn "source" ) into localResult I'm not sure that this is the right direction for any language to be headed. Please explain why we can't have the following syntax: put calc(varA,varB) of btn "source" into localResult From JimAultWins at yahoo.com Fri Mar 17 00:55:15 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 16 Mar 2006 21:55:15 -0800 Subject: Developer Annoyance #1 In-Reply-To: <441A4C95.4080705@qwest.net> Message-ID: > I'm not sure that this is the right direction for any language to be > headed. Please explain why we can't have the following syntax: > > put calc(varA,varB) of btn "source" into localResult > Please explain what you mean by this.. I don't understand what you are trying to do What is 'calc(varA,varB) of btn "source" At the moment, this makes no sense to me. Jim Ault Las Vegas On 3/16/06 9:43 PM, "Arthur Urban" wrote: > I think a new syntax needs to be made available for calling functions > outside the message hierarchy. The existing mechanism does not lend > itself to high readability or maintainability. Consider the following, > if you will: > > put 1 into varA > put 2 into varB > put value( merge("calc([[varA]],[[varB]]))", btn "source" ) into > localResult > > further, if I need to protect the integrity of the variable passed it > begins to look like this: > > put "1,2,3" into varA > put 4 into varB > put value( merge("calc([[quote&varA"e]],[[varB]]))", btn "source" > ) into localResult > > I'm not sure that this is the right direction for any language to be > headed. Please explain why we can't have the following syntax: > > put calc(varA,varB) of btn "source" into localResult > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Fri Mar 17 01:03:42 2006 From: soapdog at mac.com (Andre Garzia) Date: Fri, 17 Mar 2006 03:03:42 -0300 Subject: Developer Annoyance #1 In-Reply-To: References: Message-ID: <3C4A0B54-2EF8-4352-BF3D-5ADC40FA14F9@mac.com> Err... can't you make it a Handler use send and check for the result??? send "calc VarA, VarB" to btn "source" put the result into localResult of course calc is not a function but a handler with a return statement. Cheers andre On Mar 17, 2006, at 2:55 AM, Jim Ault wrote: >> I'm not sure that this is the right direction for any language to be >> headed. Please explain why we can't have the following syntax: >> >> put calc(varA,varB) of btn "source" into localResult >> From JimAultWins at yahoo.com Fri Mar 17 01:09:21 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 16 Mar 2006 22:09:21 -0800 Subject: Developer Annoyance #1 In-Reply-To: <441A4C95.4080705@qwest.net> Message-ID: Ahh, if you are trying to make embedded quotes as in 'the formatted string' construct ? where localResult should be the string of calc(varA,varB) of btn "source" You can do the a few ways depending on your starting and ending strings and your preference ONE put "calc(varA,varB) of btn ""e&"source""e into localResult TWO put quote into q put "calc(varA,varB) of btn "&q&"source"&q into localResult THREE put "calc(varA,varB) of btn ^source^" into localResult replace "^" with quote in localResult FOUR make a simple 'formatted string' function that does the quoting for you. If you are quoting for Unix or shell commands you may have to 'escape' them in your function. If you are quoting for HTML or AppleScript or other, you may only have to produce the simple replacement Am I understanding your question? Jim Ault Las Vegas On 3/16/06 9:43 PM, "Arthur Urban" wrote: > I think a new syntax needs to be made available for calling functions > outside the message hierarchy. The existing mechanism does not lend > itself to high readability or maintainability. Consider the following, > if you will: > > put 1 into varA > put 2 into varB > put value( merge("calc([[varA]],[[varB]]))", btn "source" ) into > localResult > > further, if I need to protect the integrity of the variable passed it > begins to look like this: > > put "1,2,3" into varA > put 4 into varB > put value( merge("calc([[quote&varA"e]],[[varB]]))", btn "source" > ) into localResult > > I'm not sure that this is the right direction for any language to be > headed. Please explain why we can't have the following syntax: > > put calc(varA,varB) of btn "source" into localResult > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Fri Mar 17 01:17:47 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 16 Mar 2006 22:17:47 -0800 Subject: Developer Annoyance #1 In-Reply-To: <441A4C95.4080705@qwest.net> Message-ID: Ooops, I got the wrong idea from your use of value(merge... etc You can use the 'send' or 'call' commands to use a function outside the message hierarchy, even in another stack. As Andre has shown send "calc VarA, VarB" to btn "source" put the result into localResult where... on calc VarA, VarB ...do work here return theVal end calc or insert the script of btn "source" into back --now the handler(s) are in the message hierarchy put calc(varA,varB) into localResult remove the script of btn "source" from back --now or later Jim Ault Las Vegas On 3/16/06 9:43 PM, "Arthur Urban" wrote: > I think a new syntax needs to be made available for calling functions > outside the message hierarchy. The existing mechanism does not lend > itself to high readability or maintainability. Consider the following, > if you will: > > put 1 into varA > put 2 into varB > put value( merge("calc([[varA]],[[varB]]))", btn "source" ) into > localResult > > further, if I need to protect the integrity of the variable passed it > begins to look like this: > > put "1,2,3" into varA > put 4 into varB > put value( merge("calc([[quote&varA"e]],[[varB]]))", btn "source" > ) into localResult > > I'm not sure that this is the right direction for any language to be > headed. Please explain why we can't have the following syntax: > > put calc(varA,varB) of btn "source" into localResult > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Fri Mar 17 01:32:40 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 17 Mar 2006 00:32:40 -0600 Subject: Developer Annoyance #1 In-Reply-To: <3C4A0B54-2EF8-4352-BF3D-5ADC40FA14F9@mac.com> References: <3C4A0B54-2EF8-4352-BF3D-5ADC40FA14F9@mac.com> Message-ID: <441A5808.2040901@hyperactivesw.com> Andre Garzia wrote: > Err... > > can't you make it a Handler use send and check for the result??? > > send "calc VarA, VarB" to btn "source" > put the result into localResult > > of course calc is not a function but a handler with a return statement. > > Cheers > andre > > > > On Mar 17, 2006, at 2:55 AM, Jim Ault wrote: > >>> I'm not sure that this is the right direction for any language to be >>> headed. Please explain why we can't have the following syntax: >>> >>> put calc(varA,varB) of btn "source" into localResult >>> Or there's a really ugly way too, but it's short: insert script of btn "source" into back put calc(varA,varB) into localResult remove script of btn "source" from back I know, I know...but it works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From 3mcgrath at adelphia.net Fri Mar 17 01:43:33 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 17 Mar 2006 01:43:33 -0500 Subject: Busy Again In-Reply-To: <441A2604.8040606@paraboliclogic.com> References: <8AC4A419-8D8C-4800-ACE7-BF411B1E0795@adelphia.net> <441A2604.8040606@paraboliclogic.com> Message-ID: <0DD71752-C44F-4E7A-A6C7-2ED12432061F@adelphia.net> Well it's 1:30 AM and I have now finished 134 Functions and Commands for my little library. Only about 30 or 40 more to go. I do love the challenge of scripting in three different languages as well. Transcript, Applescript and Python. I think it is frying my brain to a crisp. But when you're hot, you're hot and you better get while the going is getting or hot umm, maybe that's strike while the iron is hot. Umm... yeah OK, off to sleep. Yours truly Tom On Mar 16, 2006, at 9:59 PM, Garrett Hylltun wrote: > Thomas McGrath III wrote: >> Hey you guys and gals, >> I just have to say that since my last project I was being rather >> sluggish in jumping on the 'new' project. >> Well, yesterday I started twiddling around writing a couple of >> handlers and 'seeing' where they might lead. Next thing you know >> Transcript just sucked me right in. i was hooked all over again. I >> couldn't sleep. I > > Sounds like an Intervention might have to come into play for you! ;-) > > -Garrett > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 3mcgrath at adelphia.net 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 From 3mcgrath at adelphia.net Fri Mar 17 01:44:57 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 17 Mar 2006 01:44:57 -0500 Subject: Pass - is it really needed In-Reply-To: <441A4779.1090501@hyperactivesw.com> References: <8FF5068C-4B6D-4CB8-BA50-B6C418BC9B08@adelphia.net> <441A4779.1090501@hyperactivesw.com> Message-ID: That is correct. I finally see how powerful Constellation is in my work flow. On Mar 17, 2006, at 12:22 AM, J. Landman Gay wrote: > Thomas McGrath III wrote: > >> The reason I ask is that when I insert a new command it throws in >> a pass with that commands name by default. > > This isn't native Revolution behavior. Are you using Constellation? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Thomas J McGrath III 3mcgrath at adelphia.net 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 From chipp at chipp.com Fri Mar 17 02:37:57 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 17 Mar 2006 01:37:57 -0600 Subject: Pass - is it really needed In-Reply-To: References: <8FF5068C-4B6D-4CB8-BA50-B6C418BC9B08@adelphia.net> <441A4779.1090501@hyperactivesw.com> Message-ID: <441A6755.2060303@chipp.com> Yep, I'd prefer Constellation not place a 'pass' automatically in handlers. I'm sure Jerry will add it as a preference some day :-) -Chipp But, you gotta love the tabbed browsing AND the GREAT debugger which doesn't flake out for no apparent reason. Jerry's told me he's worked really hard on making the debugger as robust as possible..and it shows. Thomas McGrath III wrote: > That is correct. I finally see how powerful Constellation is in my work > flow. > > On Mar 17, 2006, at 12:22 AM, J. Landman Gay wrote: > >> Thomas McGrath III wrote: >> >>> The reason I ask is that when I insert a new command it throws in a >>> pass with that commands name by default. >> >> >> This isn't native Revolution behavior. Are you using Constellation? From chipp at chipp.com Fri Mar 17 02:39:19 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 17 Mar 2006 01:39:19 -0600 Subject: Developer Annoyance #1 In-Reply-To: References: Message-ID: <441A67A7.2040802@chipp.com> Good point Jim, I really like 'call' as it doesn't create a context for the handler/function. Check it out in the dictionary. Jim Ault wrote: > Ooops, I got the wrong idea from your use of value(merge... etc > > You can use the 'send' or 'call' commands to use a function outside the > message hierarchy, even in another stack. From JimAultWins at yahoo.com Fri Mar 17 02:42:16 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 16 Mar 2006 23:42:16 -0800 Subject: Making the move... In-Reply-To: <441A24E0.8040209@fourthworld.com> Message-ID: On 3/16/06 6:54 PM, "Richard Gaskin" wrote: > The default port in mchttpd is 8080 -- on my Mac I use: > > http://localhost:8080/ Woiks very good... cool. Is there a tutorial about how to put this in action on my G4 that has a static IP? I know that Apache would be the default receiver of 8080 traffic and I am definitely not a config-mechanic. Jim Ault Las Vegas > Jim Ault wrote: >> On 3/16/06 10:13 AM, "Richard Gaskin" wrote: >>> I would enourage those interested in web apps grab >>> Dr. Raney's mchttpd.mc and play with it a while. >>> It's a thing of beauty to just open the stack, >>> click the "Start" button, and call it with your >>> browser. >> >> I am beginning to step toward the world of web apps >> and did the dnld of the mchttpd app, started it on >> a G5, but am not sure how to access it. >> >> Tried in Safari >> (on the same OSX 10.4.2 computer) >> (& IE on Win32 behind the same router) >> >> http://192.186.15.100 >> http://192.186.15.100/index.html >> >> => can't find the server >> >> Does the mchttpd computer have to have static IP? >> >> Although I am new at this, I know someone who might jump >> into Rev if he saw this working. From revolutionary.dan at gmail.com Fri Mar 17 02:48:28 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Thu, 16 Mar 2006 23:48:28 -0800 Subject: Making the move... In-Reply-To: References: <441A24E0.8040209@fourthworld.com> Message-ID: <70ed6b130603162348p12f725a2x20ce017ea3f701bd@mail.gmail.com> Well, at least from the mc stack, you just run it and it seems to intercept the call on the designated port. You can manually change the port in the launch stack as well. PRetty cool stuff. On 3/16/06, Jim Ault wrote: > > > > > On 3/16/06 6:54 PM, "Richard Gaskin" wrote: > > The default port in mchttpd is 8080 -- on my Mac I use: > > > > http://localhost:8080/ > > Woiks very good... cool. > > > Is there a tutorial about how to put this in action on my G4 that has a > static IP? I know that Apache would be the default receiver of 8080 > traffic > and I am definitely not a config-mechanic. > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From aturban at qwest.net Fri Mar 17 03:09:36 2006 From: aturban at qwest.net (Arthur Urban) Date: Fri, 17 Mar 2006 01:09:36 -0700 Subject: Developer Annoyance #1 In-Reply-To: <3C4A0B54-2EF8-4352-BF3D-5ADC40FA14F9@mac.com> References: <3C4A0B54-2EF8-4352-BF3D-5ADC40FA14F9@mac.com> Message-ID: <441A6EC0.2020109@qwest.net> The problem with this solution is that varA and varB are not evaluated. In order to use your syntax it would need to be: send "calc" && varA & comma & varB to btn "source" or send merge( "calc [[varA]], [[varB]]" ) to btn "source" I find both inelegant readability wise. I think there is a great burden on language developers to create a language that goes as far as it can toward self-documentation. I feel that the message passing mechanisms are a sore spot in transcript. I do not understand why Rev would be unable to parse my proposed syntax. Thank you for your suggestion, however! Andre Garzia wrote: > Err... > > can't you make it a Handler use send and check for the result??? > > send "calc VarA, VarB" to btn "source" > put the result into localResult > > of course calc is not a function but a handler with a return statement. > > Cheers > andre > > > > On Mar 17, 2006, at 2:55 AM, Jim Ault wrote: > >>> I'm not sure that this is the right direction for any language to be >>> headed. Please explain why we can't have the following syntax: >>> >>> put calc(varA,varB) of btn "source" into localResult >>> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From aturban at qwest.net Fri Mar 17 03:17:04 2006 From: aturban at qwest.net (Arthur Urban) Date: Fri, 17 Mar 2006 01:17:04 -0700 Subject: Developer Annoyance #1 In-Reply-To: <441A5808.2040901@hyperactivesw.com> References: <3C4A0B54-2EF8-4352-BF3D-5ADC40FA14F9@mac.com> <441A5808.2040901@hyperactivesw.com> Message-ID: <441A7080.5090701@qwest.net> Yeah, thought about that too, but I'm tired of accommodating transcript's ideosyncracies. A language should accommodate the developer at every turn. The problem I see with the solution below, is that if any layer in the message path has an identically named function, the one I want invoked will be intercepted early, and screen the one I actually want. It also kinda obviates the entire strategy of invoking a method in another object. :) You probably already considered these side-effects, but I spelled them out for anybody else following along, trying to learn this language. J. Landman Gay wrote: > > Or there's a really ugly way too, but it's short: > > insert script of btn "source" into back > put calc(varA,varB) into localResult > remove script of btn "source" from back > > I know, I know...but it works. > From dick.kriesel at mail.com Fri Mar 17 03:19:00 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 17 Mar 2006 00:19:00 -0800 Subject: Developer Annoyance #1 In-Reply-To: <441A5808.2040901@hyperactivesw.com> Message-ID: On 3/16/06 10:32 PM, "J. Landman Gay" wrote: > Or there's a really ugly way too, but it's short: > > insert script of btn "source" into back > put calc(varA,varB) into localResult > remove script of btn "source" from back > > I know, I know...but it works. One person's ugly is another person's beauty, it seems. The technique very simply solved a current problem for me. On 3/16/06 11:39 PM, "Chipp Walters" wrote: > I really like 'call' as it doesn't create a context for the > handler/function. My problem was that "call" and "value()" change the target, breaking some of my handlers. Thanks to Jacque and Jim. -- Dick From dick.kriesel at mail.com Fri Mar 17 03:34:15 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 17 Mar 2006 00:34:15 -0800 Subject: Developer Annoyance #1 In-Reply-To: <441A6EC0.2020109@qwest.net> Message-ID: On 3/17/06 12:09 AM, "Arthur Urban" wrote: > The problem with this solution is that varA and varB are not evaluated. > > Andre Garzia wrote: >> send "calc VarA, VarB" to btn "source" The dictionary entry for "send" says: Any parameters are evaluated before they are passed to the send command. For example, the following statement sends the mouseUp message with 2 as the first parameter: send "mouseUp 1+1" to button "Example" From aturban at qwest.net Fri Mar 17 03:35:53 2006 From: aturban at qwest.net (Arthur Urban) Date: Fri, 17 Mar 2006 01:35:53 -0700 Subject: Developer Annoyance #1 In-Reply-To: References: Message-ID: <441A74E9.5090502@qwest.net> Thanx for the alternate examples you provided. I addressed their shortcomings in other posts in the thread, so I won't reiterate. :) While I will continue to entertain other "solutions", the main thrust of my initial post was to propose a new, clearer syntax for message calling. One I think Rev could handle easily. As function: put calc(varA,varB) of btn "source" into localResult As command/message send calc varA,varB to btn "source" Clearly, everything between 'send' and 'to' is the message followed by it's arguments; very simple to parse. Why send appears to be limited to a single string argument (under the hood), is odd to me. Even if varA was a chunk expression (char 1 to 2), Rev is smart enough to know that you can't send a message to a chunk expression, ergo keep looking for an object reference when parsing. I think if developers and casual coders could easily assemble complex messages, they would be more inclined to keep the behavior with the data, leading to greater reusability. I imagine I'm a voice in the wilderness here. Jim Ault wrote: > Ooops, I got the wrong idea from your use of value(merge... etc > > You can use the 'send' or 'call' commands to use a function outside the > message hierarchy, even in another stack. > > As Andre has shown > > send "calc VarA, VarB" to btn "source" > put the result into localResult > > where... > on calc VarA, VarB > ...do work here > return theVal > end calc > > or > > insert the script of btn "source" into back > --now the handler(s) are in the message hierarchy > put calc(varA,varB) into localResult > remove the script of btn "source" from back --now or later > > Jim Ault > Las Vegas > > On 3/16/06 9:43 PM, "Arthur Urban" wrote: > > >> I think a new syntax needs to be made available for calling functions >> outside the message hierarchy. The existing mechanism does not lend >> itself to high readability or maintainability. Consider the following, >> if you will: >> >> put 1 into varA >> put 2 into varB >> put value( merge("calc([[varA]],[[varB]]))", btn "source" ) into >> localResult >> >> further, if I need to protect the integrity of the variable passed it >> begins to look like this: >> >> put "1,2,3" into varA >> put 4 into varB >> put value( merge("calc([[quote&varA"e]],[[varB]]))", btn "source" >> ) into localResult >> >> I'm not sure that this is the right direction for any language to be >> headed. Please explain why we can't have the following syntax: >> >> put calc(varA,varB) of btn "source" into localResult >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From JimAultWins at yahoo.com Fri Mar 17 03:38:14 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 17 Mar 2006 00:38:14 -0800 Subject: Developer Annoyance #1 In-Reply-To: <441A6EC0.2020109@qwest.net> Message-ID: >"transcript's ideosyncracies " I guess the basic issue is that the messaging hierarchy is designed so that there are several ways of building your functions/procedures into libraries, script containers, and objects so that they are 'available' in the message path and yet be dynamic. You have chosen to put a function in one of the few places it is more difficult to "call". You could put this in a background group script or stack script just as easily and not have the ugly. This is "idiosyncracy" is actually fundamental to the "on mouseup" handler working.. imagine if the button and field objects did NOT have the current message path... that would be ugly scripting indeed, requiring an id for everything and no longer being a rapid development environment. If you do not want to code according to the way Revolution/Metacard/Supercard/Hypercard is set up, then I agree that you will generate several instances of ugly code. >" It also kinda obviates the entire strategy of invoking a method in >another object." Depends on the object, since you have many to choose from. Putting a function in a button or a field will have the advantage that it won't be accidentally called by another handler. This is very useful for user interfaces, menus, etc. It is this a dynamic nature of XTalk that gives it avenues of richness. You can set the scripts of objects, reset them, move them in and out of the hierarchy over to different stacks, into back or front script position and more. Move card to card and have different features and functions on each one. You could EVEN have most all of your scripts in text files and set the script containers of flds, btns, cards, etc when the stack is opened. Jim Ault Las Vegas On 3/17/06 12:09 AM, "Arthur Urban" wrote: > The problem with this solution is that varA and varB are not evaluated. > In order to use your syntax it would need to be: > > send "calc" && varA & comma & varB to btn "source" > or > send merge( "calc [[varA]], [[varB]]" ) to btn "source" > > I find both inelegant readability wise. I think there is a great burden > on language developers to create a language that goes as far as it can > toward self-documentation. I feel that the message passing mechanisms > are a sore spot in transcript. I do not understand why Rev would be > unable to parse my proposed syntax. > > Thank you for your suggestion, however! > > Andre Garzia wrote: >> Err... >> >> can't you make it a Handler use send and check for the result??? >> >> send "calc VarA, VarB" to btn "source" >> put the result into localResult >> >> of course calc is not a function but a handler with a return statement. >> >> Cheers >> andre >> >> >> >> On Mar 17, 2006, at 2:55 AM, Jim Ault wrote: >> >>>> I'm not sure that this is the right direction for any language to be >>>> headed. Please explain why we can't have the following syntax: >>>> >>>> put calc(varA,varB) of btn "source" into localResult >>>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From aturban at qwest.net Fri Mar 17 03:47:28 2006 From: aturban at qwest.net (Arthur Urban) Date: Fri, 17 Mar 2006 01:47:28 -0700 Subject: Developer Annoyance #1 In-Reply-To: References: Message-ID: <441A77A0.5070807@qwest.net> I've discovered that the dictionary does not always tell the whole story. I'm sure it evaluates literals just fine, but it does not evaluate containers. Unfortunately the dictionary tends to illustrate the simplest of scenarios for a command, not the most likely ones you will find yourself using. :) The dictionary entry for "send" says: > Any parameters are evaluated before they are passed to the send command. For > example, the following statement sends the mouseUp message with 2 as the > first parameter: > > send "mouseUp 1+1" to button "Example" > From JimAultWins at yahoo.com Fri Mar 17 04:06:07 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 17 Mar 2006 01:06:07 -0800 Subject: Making the move... In-Reply-To: <70ed6b130603162348p12f725a2x20ce017ea3f701bd@mail.gmail.com> Message-ID: Hey Dan, thanks for the quick note. I think I get now. 8080 is already open. Launch this and the metacard stack listens without changing any control panel stuff. Just tried the following: Safari http://localhost:8080/~jault/ === stack running as an app (dbl clk) no problems Explorer from a Windows XP computer on my local network Firewall OFF http://192.168.15.100:8080/~jault/ === stack running as an app (dbl clk) CRASHED metacard Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 >From FireFox on the same Mac http://192.168.15.100:8080/~jault/ === CRASHED metacard EXC_BAD_ACCESS (0x0001) KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 >From Safari on the same Mac http://192.168.15.100:8080/~jault/ === CRASHED metacard Safari can?t open the page ?http://192.168.15.100:8080/~jault/?. The error was: ?lost network connection? (NSURLErrorDomain:-1005) now I am confused. Jim Ault Las Vegas On 3/16/06 11:48 PM, "Dan Shafer" wrote: > Well, at least from the mc stack, you just run it and it seems to intercept > the call on the designated port. You can manually change the port in the > launch stack as well. > > PRetty cool stuff. > > > On 3/16/06, Jim Ault wrote: >> >> >> >> >> On 3/16/06 6:54 PM, "Richard Gaskin" wrote: >>> The default port in mchttpd is 8080 -- on my Mac I use: >>> >>> http://localhost:8080/ >> >> Woiks very good... cool. >> >> >> Is there a tutorial about how to put this in action on my G4 that has a >> static IP? I know that Apache would be the default receiver of 8080 >> traffic >> and I am definitely not a config-mechanic. >> >> > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Information Product Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.shafermediastore.com/tech_main.html > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Fri Mar 17 04:09:42 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 17 Mar 2006 01:09:42 -0800 Subject: Developer Annoyance #1 In-Reply-To: <441A77A0.5070807@qwest.net> Message-ID: Agreed about only the simplest commands illustrated. Many is the time what I wanted to do was not covered. Not even close. I suppose if the dictionary was the great, all -encompassing resource, this list would be much smaller and quieter. I would be really lonely then. As it is, now I can pretend I have friends. Jim Ault Las Vegas On 3/17/06 12:47 AM, "Arthur Urban" wrote: > I've discovered that the dictionary does not always tell the whole > story. I'm sure it evaluates literals just fine, but it does not > evaluate containers. Unfortunately the dictionary tends to illustrate > the simplest of scenarios for a command, not the most likely ones you > will find yourself using. :) > > The dictionary entry for "send" says: >> Any parameters are evaluated before they are passed to the send command. For >> example, the following statement sends the mouseUp message with 2 as the >> first parameter: >> >> send "mouseUp 1+1" to button "Example" >> From PradeepKumar.MITTAL at insead.edu Fri Mar 17 04:14:45 2006 From: PradeepKumar.MITTAL at insead.edu (MITTAL Pradeep Kumar) Date: Fri, 17 Mar 2006 10:14:45 +0100 Subject: Integrating Revolution and Flash Message-ID: <8CD3C97D72BC144CB87AEBAD8D2E973202DF1572@GAIA.FBL.insead.intra> Hello, Is there any way to integrate revolution and flash ? Some way of placing Flash UI on top of Rev Card. On top of revolution Object (lets say button ) one can put the flash button. And when one clicks then revoluion button script is called. Rev can create the XML file and then XML Data can be sent to flash swf and vice versa. What do you think ? Is there anyone who has tried integrating rev an flash? Best Regards Pradeep From JimAultWins at yahoo.com Fri Mar 17 04:21:59 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 17 Mar 2006 01:21:59 -0800 Subject: Integrating Revolution and Flash In-Reply-To: <8CD3C97D72BC144CB87AEBAD8D2E973202DF1572@GAIA.FBL.insead.intra> Message-ID: Just a quick response for now, but take a look at AltBrowser2 by Altuit from Chipp For those of you who still have not taken a minute to tryout the altBrowser2 demo all you have to do is launch Revolution and and copy and paste the below script into your message box: go URL "http://www.gadgetplugins.com/altbrowser/altBrowserLauncher.rev" Thomas McGrath III wrote: > Anyway, bravo to Chipp and team on a superb product, definitely worth > the effort and you can't beat the price. On 3/17/06 1:14 AM, "MITTAL Pradeep Kumar" wrote: > Hello, > > Is there any way to integrate revolution and flash ? > > Some way of placing Flash UI on top of Rev Card. > On top of revolution Object (lets say button ) one can put the flash > button. And when one clicks then revoluion button script is called. > Rev can create the XML file and then XML Data can be sent to flash swf > and vice versa. > > What do you think ? Is there anyone who has tried integrating rev an > flash? > > Best Regards > Pradeep From 36degrees at runrev.com Fri Mar 17 04:48:00 2006 From: 36degrees at runrev.com (Mark Waddingham) Date: Fri, 17 Mar 2006 09:48:00 +0000 Subject: set the graphic "G" to x,y,.... In-Reply-To: <4419E9B0.9060304@wanadoo.fr> References: <4419AABB.1080508@fourthworld.com> <4419AFC3.3080406@sympatico.ca> <4419E86E.9040101@wanadoo.fr> <4419E9B0.9060304@wanadoo.fr> Message-ID: Hi Thierry, >> Hi all, >> >> Testing Rev27 on Win32, with my demoStack, >> i found that the command : >> >> set the graphic "G" to listPoints >> >> is 5 times slower on Rev27 than on Rev21. >> >> because, i'm using this command in a loop it's really not too >> good :-( >> >> the anti-aliasing is off. >> >> Does anyone saw that and has a clue or is this a bug ? >> >> Regards, >> thierry We've noticed this here too and are looking into it. I've filed bug 3397 about it for reference. Warmest Regards, Mark. ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From dick.kriesel at mail.com Fri Mar 17 04:58:03 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 17 Mar 2006 01:58:03 -0800 Subject: Developer Annoyance #1 In-Reply-To: <441A77A0.5070807@qwest.net> Message-ID: On 3/17/06 12:47 AM, "Arthur Urban" wrote: > I'm sure it evaluates literals just fine, but it does not > evaluate containers. This works here: on mouseUp put 1 into t send "foo t,t+1" end mouseUp on foo ask the params end foo Do you have a counter-example? -- Dick From katir at hindu.org Fri Mar 17 06:16:09 2006 From: katir at hindu.org (Sivakatirswami) Date: Fri, 17 Mar 2006 01:16:09 -1000 Subject: DRM for Images and Text in Stacks In-Reply-To: References: Message-ID: FYI, setting a customProp with the compressed image data actually increases the size of the stack if those images were resized to larger than their original incoming size (that's expected behavior) This presents somewhat of a conundrum. Since the import of a 3 X 5 jpeg whose original resolution was 72 DPI (all that is needed for the screen) and if is scaled up, storing it as image data (even compressed) bloats the stack. Since the "quest" is internet delivery, one is looking for the opposite effect: smaller stack sizes. So, one gets caught between a rock and a hard place: you want to deliver media efficiently but protect them from "theft" but then to protect them from theft you have to make a stack that is so big that delivery is difficult. hmmm... I would still opt for a new feature to protect stacks in the IDE. Then you simply store images in a substack which are obviously unavailable if driven from a standalone player. Another developer then tries to open your substack in the IDE and he can't, without a password. You shouldn't need push the image data around thru hoops to get your DRM. Without this, we are "stuck with PDF's" as a container for delivery of content where DRM is mission critical. We're not talking little gif graphics here but high end photos with strict copyright-usage issues. Musings: PDF's are very efficient and one can set security on the images to block another Acrobat Professional user from accessing the "extract images" menu item (it will be dimmed), but this "act of protection" does not impact the size of the container...(the PDF still has the images stored in "lo-quality" jpg form). So I'm looking to see how that model can be implemented in Rev, but efficiently in terms of the final stack file size. The name of the game is getting from the vertical rect of the old print world to the horizontal rect of the digital revolution. It's actually a very hard nut to crack. We recently exported some Key notes with embedded media to Power Point: file sizes were so large that internet delivery was unthinkable. one would have to put them on DVD disk and sell them to cover costs. We are just interested in deploying content, not making money on most of this content, and would rather avoid the whole burn it, package it, warehouse it, catalog it, sell it, cycle. We're looking into recording the screen thru a whole presentation and turning these into movies, but for a full 600X800 rect the resulting.mov file will also be enormous, even as an MPEG or h.264... It means burning disks again, and packaged-postal delivery. No matter how well you do this, that paradigm dramatically decreases distribution compared to a web download. I'm sitting there knowing full well that the same content deployed as a revolution stack could be packaged in 1/20 the space...or incrementally delivered in a few separate stacks...and the media wants to in the stack (at least photos) and come very, very close to the equivalent files sizes for the same content packaged as PDF's. (if not smaller) Besides-- the compress and decompress thing was very sluggish... So secure PDF's of printed pages with vertical orientation still rules... and users must scroll and zoom and scroll and zoom and scroll and zoom.....there is a lot of resistance to this among a certain strata of users... InDesign has some great export to XML options and with a little standardization on templates in Rev, it would not be hard parse a print magazine article-page file and get it all repackaged into a horizontal rect. But it comes back to DRM- security on the images or substack. Without that, the exercise is pointless. OK , 'nuf said... I'm copying this to support at Rev as a feature request. Oh... and text wrap around photos would also be dynamite! Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org On Mar 07, 2006, at 9:05 AM, Sivakatirswami wrote: >> >> Here's a simple example using compress/decompress: >> >> SETUP: >> set the uStuff of this card to compress(the imageData of img 1) >> put "" into img 1 >> >> PLAYBACK: >> set the imageData of img 1 to decompress(the uStuff of this card) From mark at maseurope.net Fri Mar 17 06:22:45 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 17 Mar 2006 11:22:45 +0000 Subject: Developer Annoyance #1 In-Reply-To: References: Message-ID: <6A9BFCB0-A422-4AF2-9204-F90977937AA4@maseurope.net> I may be misunderstanding the problem, but is it really a message passing problem? This, in a buttons script will fail: on mouseUp put "1+2" into n1 put "2+2" into n2 calc n1,n2 put the result end mouseUp on calc n1,n2 return n1 + n2 end calc So if you pass quoted expressions to a handler as parameters, they don't get evaluated in the handler unless you evaluate them yourself: on calc n1,n2 return value(n1) + value(n2) end calc Mark On 17 Mar 2006, at 09:58, Dick Kriesel wrote: > On 3/17/06 12:47 AM, "Arthur Urban" wrote: > >> I'm sure it evaluates literals just fine, but it does not >> evaluate containers. > > This works here: > > on mouseUp > put 1 into t > send "foo t,t+1" > end mouseUp > > on foo > ask the params > end foo > > > Do you have a counter-example? > > -- Dick > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rjb at robelko.com Fri Mar 17 06:42:41 2006 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 17 Mar 2006 12:42:41 +0100 Subject: Get a handler from a script In-Reply-To: References: Message-ID: >Perhaps using > >set the wholematches to true >put lineOffset("on" && pHandlerName, pScript) into tStart >if tStart is 0 then put lineOffset("function" && pHandlerName, pScript) into >tStart >put (lineOffset("end" && pHandlerName, pScript) +1 into tEnd > > >answer tStart & cr & tEnd > >Jim Ault >Las Vegas > Unfortunately, wholematches can't be used, at least for the first lineoffset, because there are likely some parameters further in that line. The alternative to lineOffset is to use regex. A truly generic function would need to know whether it searches for command or function, because it is possible to have one of each with the same name. Robert From dburgun at dsl.pipex.com Fri Mar 17 07:06:55 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 17 Mar 2006 12:06:55 +0000 Subject: Get a handler from a script In-Reply-To: References: Message-ID: <1BF42D94-68EC-46A1-8F34-334C5AACCBC6@dsl.pipex.com> Hi, Of course none of the solutions so far work if the function is commented out. To make the code 100% foolproof is a lot of work. I was doing something similar and found that comments made life really difficult. All the Best Dave On 17 Mar 2006, at 11:42, Robert Brenstein wrote: >> Perhaps using >> >> set the wholematches to true >> put lineOffset("on" && pHandlerName, pScript) into tStart >> if tStart is 0 then put lineOffset("function" && pHandlerName, >> pScript) into >> tStart >> put (lineOffset("end" && pHandlerName, pScript) +1 into tEnd >> >> >> answer tStart & cr & tEnd >> >> Jim Ault >> Las Vegas >> > > Unfortunately, wholematches can't be used, at least for the first > lineoffset, because there are likely some parameters further in > that line. The alternative to lineOffset is to use regex. > > A truly generic function would need to know whether it searches for > command or function, because it is possible to have one of each > with the same name. > > Robert > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Fri Mar 17 07:19:29 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 17 Mar 2006 12:19:29 +0000 Subject: Get a handler from a script In-Reply-To: <1BF42D94-68EC-46A1-8F34-334C5AACCBC6@dsl.pipex.com> References: <1BF42D94-68EC-46A1-8F34-334C5AACCBC6@dsl.pipex.com> Message-ID: <134E87F1-7BB2-4AD7-AE32-7E8BBC753053@maseurope.net> Commenting would only affect things if the wholeMatches is set to true - normally, lineOffset will get the right line even if it's commented out, no? Mark On 17 Mar 2006, at 12:06, David Burgun wrote: > Hi, > > Of course none of the solutions so far work if the function is > commented out. To make the code 100% foolproof is a lot of work. I > was doing something similar and found that comments made life > really difficult. > > All the Best > Dave > > On 17 Mar 2006, at 11:42, Robert Brenstein wrote: > >>> Perhaps using >>> >>> set the wholematches to true >>> put lineOffset("on" && pHandlerName, pScript) into tStart >>> if tStart is 0 then put lineOffset("function" && pHandlerName, >>> pScript) into >>> tStart >>> put (lineOffset("end" && pHandlerName, pScript) +1 into tEnd >>> >>> >>> answer tStart & cr & tEnd >>> >>> Jim Ault >>> Las Vegas >>> >> >> Unfortunately, wholematches can't be used, at least for the first >> lineoffset, because there are likely some parameters further in >> that line. The alternative to lineOffset is to use regex. >> >> A truly generic function would need to know whether it searches >> for command or function, because it is possible to have one of >> each with the same name. >> >> Robert >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From liamlambert at mac.com Fri Mar 17 07:22:24 2006 From: liamlambert at mac.com (liamlambert) Date: Fri, 17 Mar 2006 12:22:24 +0000 Subject: Report Builder Message-ID: <6DA163C5-8BA3-4BEE-8801-67D8D8342935@mac.com> How do I add Report Builder to the tool menu in 2.7 It is there in a file ToolSet but does not show up in the tool menu thanks Liam Lambert liamlambert at mac.com IRELAND From mlange at lexicall.org Fri Mar 17 07:44:16 2006 From: mlange at lexicall.org (Marielle Lange) Date: Fri, 17 Mar 2006 12:44:16 +0000 Subject: Making the move... Message-ID: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> > The missing link is the killer app made with it. RoR was virtually > unheard of before BaseCamp took off, showing the world how powerful > and flexible RoR is. If we had an app of similar scope and appeal > I have no doubt that as long as the engine is free for such uses > and the scripts are open source it would attract considerable > attention. The possibilities have been there for about 10 years. So why is it that Java is now in position 1 and Ruby in position 22 of the most popular programming languages and that none of xtalk, hypertalk, transcript is mentioned anwhere in the 100 most popular ones (though RealBasic and SmallTalk are)? http://www.tiobe.com/tpci.htm Yes, runrev product is great in the sense that it is easier to use by beginner programmers than many other things on the market. It is also great in the sense that it let advanced programmers do more in less time (but not necessarily *better*). It is also great in the sense that it let you do out of the box what would take hours if not days to set up in other environments. On this list, all discussions always come back to the same thing. This product is so great, this is so evident that everybody should adopt it... Runrev too has appeared to think that to have a great product is enough and they had to do nothing but let it sell itself. I am afraid, to have a great product is not enough. What you get with Java, Ruby, Ajax that you don't get with runrev is the following. 1) Re-usable LIBRARIES. Honestly what I have read recently on how revolution is so much superior to Director or Java is just a *BIG* joke. Agreed, revolution let you write stuff rapidly. But you have to write the same stuff again and again and again and again. But what java does is let you write it ONCE and REUSE it again and again and again. 2) Rich and easy to access documentation If you want to use a java library written by somebody else, simple, you get access to the API online and you know what method to call and how. You don't need to know *anything* about the inner workings of the library. Why is it? Because some some conventions have been created which let you comment your script in a very efficient way, where the API doc can be automatically generated from these comments. http://java.sun.com/j2se/javadoc/. There is *NOTHING* even close to this in revolution. Here, if you want to find your way through revolution it is by checking up the list as much as you can and post your questions on the list (which is an important problem for non English speaking persons). These nice little chats on the list are without doubt helping both the sender and the receiver feel very good about themselves, so priviledged to be in such a great community. Let's face it. This way of doing is plain inefficient compared to the way of doing in ruby or java communities. 3) Member's sense of investment in making their work freely available Yes, you can do fantastic stuff with revolution. But you have to start from zero and do everything by yourself. Because of all the effort, it is only worth it if you plan to sell your application to a small numbers of high-paying clients. So Richard, why is it that sourceforge project you are admin of is still empty? It was registered in 2001. http://sourceforge.net/projects/opn-repository "A project to create a publicly accessible library of handlers for the xTalk family of languages. The immediate aim of this project is to create a robust library of handlers for the cross platform Metacard/RunRev xTalk family of products." I had a chance to see David's (Bovil) library of handlers: Very impressive. So, Lynch, if you have written such nice and reusable libraries for providing better table objects, why not share it with others? Maybe then, rather than have each one of us repeat your work, we may be able to start, collaboratively, construct tools of this quality: http://jcharts.sourceforge.net/samples/bar.html http://big.faceless.org/products/graph/index.jsp http://www.jfree.org/jfreechart/samples.php http://www.eteks.com/jeks/index.html http://www.thechiselgroup.org/projects 4) Structure that encourages and facilitates collaboration You can, in fact turn your work into reusable libraries, with a bit of experience in writing such stacks. People like Eric, Scott, and many others have very generously contributed high quality demo stacks, but the number of libraries available is just ridiculous compared to the ones on rubyforge/sourceforge. In sharp contrast with the ruby and java community, these libraries are not shared, there is nothing like rubyforge or sourceforge where you can easily provide information about your project and receive feedback on them. There is nothing like rubyforge or sourceforge where you can get to know of the existing projects and get to propose your collaboration. On top, though it is possible to write libraries, there are aspects of the transcript languages which don't really make it pratical to consider flexibly using 20-100 libaries. Scott Raney recognized this and was apparently planning to work on it. Hence, another *very* important paragraph on the Metacard annoucement page (http:// www.metacard.com/pi5.html) was: "The MetaTalk language will also be extended to provide a more full featured object-oriented programming environment, which will allow development of larger-scale applications with MetaCard. The key tenants of object-oriented programming - encapsulation, polymorphism, and inheritance - are already available in the MetaTalk language, but must be extended before MetaCard will be as appropriate for large multi-developer projects as it is for the single-user projects that are presently its forte. " In sharp contrast with the work initiated and planned by S. Raney, what I have witnessed over the years is a readiness from runrev to punish the ones who had made significant contributions to the community. Richmond was banished for his views on opensource. Ken's stackrunner has been recently not outlawed. Xavier was attacked for preferring to use a product -- metacard -- that authorizes the creation of true open source resource... without any "not allowed to do anything that could be interpreted as competition" clause. I have heard that despite an official discourse of authorizing freeGui, another open source project, Kevin in fact contacted Alain Farmer to ask him to stop... or at least make sure it was not too successful. 5) Equalitarian system where the contribution of each person is valued the same way In rubyforge, sourceforge, what counts in the quality of the library. There is little information about the professional status of the persons involved in each project. Profit and non-profit have the same opportunity to have their initiative noticed. There is revonline, but it's really nothing compared to rubyforge or sourceforge and there is a 10MB limit anyway so you cannot really post anything but toy projects there. As a result, members don't get a chance to get to benefit from excellent open source resources already developed by non profit members. FYI, in reality, something as good as google earth has been realised long ago in our community. It has been advertised on our lists. But this person didn't present himself as a professional... because he was not one and he apparently largelly ignored. http://ddm.geo.umass.edu/. The excellent work of Jim Hurley and others have suffered similar fates. A problem, though, is that implementing 1-5 is not adequate with a marketing model like the one adopted with Metacard. In fact, a killer app like the one outlined above is not meant to appear with that marketing model. This is because metacard was originally targeted to a market not interested in this. Because Metacard forced you to pay a high entry cost both in terms of money and time for self-learning, the best approach, for anybody who paid that entry cost was to aim at selling his apps to a small number of clients, develop a rich set of libraries for yourself and avoid your possible competitors to get to know too much about the libraries you developed. But now, there is a new marketing strategy of a low entry price, which will attract more and more people from a non profit background. However, keeping both ends of the market appear impossible to me. In the absence of any work done to address 1-4, this will only create crises, like we have seen with Richmond, Xavier, and I guess myself. But because runrev is apparently keen to keep the clients interested in the metacard line of product, addressing 1-5 will create difficulties with these clients. You cannot really charge your client for hours of hard work when your client is well aware that a library already exist that do all the work. There is a conundrum that needs to be solved. Applications like Basecamp will not be built with tools that present such a conundrum. At least, I know for myself that I have now decided to turn to options other than runrev to develop projects that could have given that level of visibility to runrev products.... Despite the fact that I consider runrev product to be the very best option to realize my project, technically speaking, I have decided to keep away from it *because* of that conundrum. My only hope now is to hear that Lynn has joined runrev. Information on the web seems to indicate Lynn has good experience providing businesses with guidance to help them become more successful. I have read that he spent some time working in Japan. I bet he is familiar with the Kaizen method of continuous incremental improvements is an originally Japanese management concept for incremental (gradual, continuous) change (improvement). This Kaizen philosophy lies behind many Japanese management concepts such as Total Quality Control, Quality Control circles, small group activities, labor relations. Key elements of Kaizen are quality, effort, involvement of all employees, willingness to change, and communication. http://www.futureshock.co.za/Kaizen.htm http://www.graphicproducts.com/tutorials/kaizen/kaizen-benefits.php You will notice that RubyForge and SourceForge in a sense are an implementation of the Kaizen methods. That's why progress is so fast there. I heard the Kaizen method has done wonders here in Scotland: Kaizen Resultant Gets Lean Government Results in Scotland By Jon Miller - February 12, 2006 04:23 AM In Lean government news, kaizen is taking place in the Scottish government according to the Scotsman online news. An article titled The Man Who Would Save Scottish Industry on Sunday profiled kaizen consultant, excuse me, resultant Stuart Ross. Mr. Ross has been doing good work with kaizen not only in Scottish industry but is also bringing Lean government to Scotland. http://www.gembapantarei.com/2006/02/ kaizen_resultant_gets_lean_government_results_in_scotland.html You know the best, this super resultant, Scott Ross, has a hearing disability. An excellent lesson of the benefits there are to include everyone. I am impatient to see how Lynn will use his experience and expertise to introduce incremental changes. Runrev active involvement in Monterey's conference was in my view an excellent omen. But there is still that conundrum to solve. I am curious to see how runrev will get out of it. Marielle ------------------------------------------------------------------------ -------- Marielle Lange (PhD), Psycholinguist Alternative emails: mlange at blueyonder.co.uk, Homepage http://homepages.widged.com/mlange/ Easy access to lexical databases http:// lexicall.widged.com/ Supporting Education Technologists http:// revolution.widged.com/wiki/ From jerry at daniels-mara.com Fri Mar 17 07:58:11 2006 From: jerry at daniels-mara.com (Jerry Daniels) Date: Fri, 17 Mar 2006 06:58:11 -0600 Subject: Pass - is it really needed In-Reply-To: <441A6755.2060303@chipp.com> References: <8FF5068C-4B6D-4CB8-BA50-B6C418BC9B08@adelphia.net> <441A4779.1090501@hyperactivesw.com> <441A6755.2060303@chipp.com> Message-ID: I would like Constellation to read my mind and KNOW when to put in a pass and when not. Jerry Buy Constellation from Runtime Revolution! http://revstudio.runrev.com/section/revselect/constellation/ On Mar 17, 2006, at 1:37 AM, Chipp Walters wrote: > Yep, I'd prefer Constellation not place a 'pass' automatically in > handlers. I'm sure Jerry will add it as a preference some day :-) > > -Chipp > > But, you gotta love the tabbed browsing AND the GREAT debugger > which doesn't flake out for no apparent reason. Jerry's told me > he's worked really hard on making the debugger as robust as > possible..and it shows. > > Thomas McGrath III wrote: >> That is correct. I finally see how powerful Constellation is in >> my work flow. >> On Mar 17, 2006, at 12:22 AM, J. Landman Gay wrote: >>> Thomas McGrath III wrote: >>> >>>> The reason I ask is that when I insert a new command it throws >>>> in a pass with that commands name by default. >>> >>> >>> This isn't native Revolution behavior. Are you using Constellation? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mvreade at earthlink.net Fri Mar 17 10:31:55 2006 From: mvreade at earthlink.net (mvreade at earthlink.net) Date: Fri, 17 Mar 2006 10:31:55 -0500 Subject: Is the list down? In-Reply-To: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> Message-ID: <9AD74508-38D3-44C4-A33A-6EC41EB15D8A@earthlink.net> Haven't seen any posts in 2+ hours... From rcozens at pon.net Fri Mar 17 10:46:18 2006 From: rcozens at pon.net (Rob Cozens) Date: Fri, 17 Mar 2006 07:46:18 -0800 Subject: [OT] Major Flood in Kauai - Swami?? In-Reply-To: <8083994B-4B3B-49A5-90CE-2FCFED93EA3D@hindu.org> References: <20060315180004.23F3082638F@mail.runrev.com> <44187281.9030805@fourthworld.com> <441893AA.3070407@chipp.com> <31e1938c0603151459s4a8b4f16n24e508ae63758cd8@mail.gmail.com> <425B1B3B-FB08-4DA7-B091-588A7D615D2D@easynet.fr> <8083994B-4B3B-49A5-90CE-2FCFED93EA3D@hindu.org> Message-ID: <2CD41FCA-B5CD-11DA-8980-0030657E1638@pon.net> All, > The salinity measurements between the tropical latitudes has spiked, > so, all that evaporated water..it's got to come down somewhere... > someone said they had 24 free of snow in the midwest somewhere...never > happened before in their lifetime. It's happening folks; we were > warned... this list is not the place to say more, suffice it to say: > the show begins. > I've seen the PowerPoint presentation on ocean warming that was presented to the U.S. Congress by Woods Hole Oceanographic Institute, and predict we'll be experiencing more and increasingly severe bad weather in the future. Rob Cozens, Staff Conservator Mendonoma Marine Life Conservancy "[T]he international community would require us to prove to them that the climate change is adversely affecting us and what impacts it might have on our economics and what steps can be taken by us before they might consider to act. This is arrogance at its worst.... We are where we are because of the excessive consumption needs and greed of the developed and more powerful countries. They, the developed countries, must accept their responsibility and take the consequences of their actions on others more seriously." -- Bikenibeu Paeniu, Prime Minister of the atoll nation of Tuvalu, 1998 From gcanyon at inspiredlogic.com Fri Mar 17 10:57:37 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri, 17 Mar 2006 07:57:37 -0800 Subject: The long answer on when to use a function vs command In-Reply-To: <1A0956C4-8524-461D-81AE-7450C3FF06D5@adelphia.net> References: <1A0956C4-8524-461D-81AE-7450C3FF06D5@adelphia.net> Message-ID: <50B19029-6706-422C-8568-E1446B9535E9@inspiredlogic.com> On Mar 14, 2006, at 8:31 PM, Thomas McGrath III wrote: > Can someone give the long answer on when is it best to use a > function versus a command? I have a lot to write of both commands > and functions and have been overly confusing myself. Please give at > least two examples each with parameters and how to call/use them. I wrote an article about this. It's at: http://inspiredlogic.com/articles/functions.html It gives several examples. I can summarize it as: Functions Good, Handlers Bad (much of the time). ;-) regards, Geoff From livfoss at mac.com Fri Mar 17 11:02:17 2006 From: livfoss at mac.com (Graham Samuel) Date: Fri, 17 Mar 2006 17:02:17 +0100 Subject: How does 'Create Folder' give its result? Message-ID: Thanks to all who replied about this. I think Jacque must have been right about my somehow delaying looking at 'the result' - it really happened but now I can't reproduce it. Anyway, Jim Ault's suggestion > Try this snippet and see what you get > > create folder "cde:/illegal:name/" > get the result > if it is not empty then > beep > put it > answer error it -->"can't create that directory" > end if Worked exactly as advertised. So what I described was an unexplained glitch, possibly something to do with the IDE. The cause of the error in the first place is something of a mystery to me, and I wondered if it was something to do with the way the RR engine translates path strings from Unix-style to Windows-style on the fly. As happens to me all too often, a search of the documentation didn't reveal anything about this... Richard G asked > The hard part is determining exactly what went wrong. When a file or > folder creation error happens, in most cases all the result says is > "can't create file" or "can't create folder" with no further > explanation. How do you advise your users? Basically, I tell them to pick a folder for themselves rather than letting the app create one for them, as it's failed to do this. It's a crude approach and I'm not sure how it's going to play when the public (UK teachers) gets hold of it. It's about to go on a controlled beta, so we'll see. As to 'try', as suggested by Stephen Barncard apparently is inappropriate. I've never used 'try', so I might do so in another context if I can get my head round it (reading about it once wasn't enough for me to get the idea, but I learn more slowly these days). I guess it comes from a context I don't know. Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From a.calloway at callowaygreen.com Fri Mar 17 11:11:02 2006 From: a.calloway at callowaygreen.com (Andy Calloway) Date: Fri, 17 Mar 2006 16:11:02 -0000 Subject: Is the list down? In-Reply-To: <9AD74508-38D3-44C4-A33A-6EC41EB15D8A@earthlink.net> Message-ID: <009201c649dd$63a92f70$0200a8c0@ACERLaptop> St. Patrick's day, we're all drunk. > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > mvreade at earthlink.net > Sent: 17 March 2006 15:32 > To: How to use Revolution > Subject: Is the list down? > > > Haven't seen any posts in 2+ hours... > _______________________________________________ From gcanyon at inspiredlogic.com Fri Mar 17 11:16:00 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri, 17 Mar 2006 08:16:00 -0800 Subject: Get a handler from a script In-Reply-To: <38D6B541-DA1E-419F-B258-525DA4179819@adelphia.net> References: <38D6B541-DA1E-419F-B258-525DA4179819@adelphia.net> Message-ID: <30F16774-926D-4118-BC47-26CE326028FD@inspiredlogic.com> On Mar 16, 2006, at 5:25 PM, Thomas McGrath III wrote: > But, I would like to get just one of the handlers from a script via > script: put handler "FooBar" of the script of card "Foo" into tBar Most of the solutions presented so far make assumptions. For example, there can be more than one space between "on" and the handler name. In Navigator I use this to retrieve a list of the handler names: repeat for each line L in tText -- tText is the script if word 1 of L is among the items of "on,function,getprop,setprop" then put L & cr after tMenuText end if end repeat So to get the handler you would be doing something like: put 0 into tLineNumber put false into tEnteredHandler repeat for each line L in tText -- tText is the script add 1 to tLineNumber if word 1 of L is among the items of "on,function,getprop,setprop" and \ word 2 of L is tHandlerName then put tLineNumber into tStartLineNumber put true into tEnteredHandler end if if tEnteredHandler and \ word 1 of L is "end" and \ word 2 of L is tHandlerName then put tLineNumber into tEndLineNumber exit repeat end if end repeat -- if tEnteredHandler is false, we didn't find the handler -- if tEnteredHandler is true, tStartLineNumber is where it starts, -- tEndLineNumber is where it ends regards, Geoff From mvreade at earthlink.net Fri Mar 17 11:18:48 2006 From: mvreade at earthlink.net (mvreade at earthlink.net) Date: Fri, 17 Mar 2006 11:18:48 -0500 Subject: Is the list down? In-Reply-To: <009201c649dd$63a92f70$0200a8c0@ACERLaptop> References: <009201c649dd$63a92f70$0200a8c0@ACERLaptop> Message-ID: <21E41070-2DED-4825-A851-5177ABC84BED@earthlink.net> Oops, I forgot about that. Let me run to my guiness.1 On Mar 17, 2006, at 11:11 AM, Andy Calloway wrote: > St. Patrick's day, we're all drunk. > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> mvreade at earthlink.net >> Sent: 17 March 2006 15:32 >> To: How to use Revolution >> Subject: Is the list down? >> >> >> Haven't seen any posts in 2+ hours... >> _______________________________________________ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From gcanyon at inspiredlogic.com Fri Mar 17 11:23:12 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri, 17 Mar 2006 08:23:12 -0800 Subject: Developer Annoyance #1 In-Reply-To: <441A7080.5090701@qwest.net> References: <3C4A0B54-2EF8-4352-BF3D-5ADC40FA14F9@mac.com> <441A5808.2040901@hyperactivesw.com> <441A7080.5090701@qwest.net> Message-ID: Not that I disagree with your syntax suggestion -- it looks good to me. But: To avoid the problem stated below, change Jacque's code to: insert script of btn "source" into front put calc(varA,varB) into localResult remove script of btn "source" from front That way nothing else can intercept the message. I just posted in another thread an article I wrote on functions: http://inspiredlogic.com/articles/functions.html If your functions are written without side effects (they should be) then functions can be at whatever level of the message hierarchy they need to be, so the issue of how to call them becomes moot -- move them to the script of the mainstack if need be. regards Geoff On Mar 17, 2006, at 12:17 AM, Arthur Urban wrote: > Yeah, thought about that too, but I'm tired of accommodating > transcript's ideosyncracies. A language should accommodate the > developer at every turn. The problem I see with the solution below, > is that if any layer in the message path has an identically named > function, the one I want invoked will be intercepted early, and > screen the one I actually want. It also kinda obviates the entire > strategy of invoking a method in another object. :) > > You probably already considered these side-effects, but I spelled > them out for anybody else following along, trying to learn this > language. > > J. Landman Gay wrote: >> >> Or there's a really ugly way too, but it's short: >> >> insert script of btn "source" into back >> put calc(varA,varB) into localResult >> remove script of btn "source" from back >> >> I know, I know...but it works. >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mvreade at earthlink.net Fri Mar 17 11:46:05 2006 From: mvreade at earthlink.net (mvreade at earthlink.net) Date: Fri, 17 Mar 2006 11:46:05 -0500 Subject: The long answer on when to use a function vs command In-Reply-To: <50B19029-6706-422C-8568-E1446B9535E9@inspiredlogic.com> References: <1A0956C4-8524-461D-81AE-7450C3FF06D5@adelphia.net> <50B19029-6706-422C-8568-E1446B9535E9@inspiredlogic.com> Message-ID: <851A89D7-3A15-4749-BFB2-C8453D3300FF@earthlink.net> Nice article. Thanks. On Mar 17, 2006, at 10:57 AM, Geoff Canyon wrote: > > On Mar 14, 2006, at 8:31 PM, Thomas McGrath III wrote: > >> Can someone give the long answer on when is it best to use a >> function versus a command? I have a lot to write of both commands >> and functions and have been overly confusing myself. Please give >> at least two examples each with parameters and how to call/use them. > > I wrote an article about this. It's at: > > http://inspiredlogic.com/articles/functions.html > > It gives several examples. > > I can summarize it as: Functions Good, Handlers Bad (much of the > time). ;-) > > regards, > > Geoff > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Fri Mar 17 11:48:35 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 17 Mar 2006 08:48:35 -0800 Subject: How does 'Create Folder' give its result? In-Reply-To: Message-ID: Another approach that might be better for you. put "c:/oragamiFolder/" into pathh create folder pathh if there is not a folder pathh then answer "Hmm, " & pathh &" does not exist" end if On 3/17/06 8:02 AM, "Graham Samuel" wrote: > Thanks to all who replied about this. I think Jacque must have been > right about my somehow delaying looking at 'the result' - it really > happened but now I can't reproduce it. Anyway, Jim Ault's suggestion > >> Try this snippet and see what you get >> >> create folder "cde:/illegal:name/" >> get the result >> if it is not empty then >> beep >> put it >> answer error it -->"can't create that directory" >> end if > > Worked exactly as advertised. So what I described was an unexplained > glitch, possibly something to do with the IDE. The cause of the error > in the first place is something of a mystery to me, and I wondered if > it was something to do with the way the RR engine translates path > strings from Unix-style to Windows-style on the fly. As happens to me > all too often, a search of the documentation didn't reveal anything > about this... > > Richard G asked > >> The hard part is determining exactly what went wrong. When a file or >> folder creation error happens, in most cases all the result says is >> "can't create file" or "can't create folder" with no further >> explanation. How do you advise your users? > Basically, I tell them to pick a folder for themselves rather than > letting the app create one for them, as it's failed to do this. It's > a crude approach and I'm not sure how it's going to play when the > public (UK teachers) gets hold of it. It's about to go on a > controlled beta, so we'll see. > > As to 'try', as suggested by Stephen Barncard apparently is > inappropriate. I've never used 'try', so I might do so in another > context if I can get my head round it (reading about it once wasn't > enough for me to get the idea, but I learn more slowly these days). I > guess it comes from a context I don't know. > > Graham > ---------------------------------------- > Graham Samuel / The Living Fossil Co. / UK and France > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Fri Mar 17 11:57:49 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 17 Mar 2006 08:57:49 -0800 Subject: DRM for Images and Text in Stacks In-Reply-To: References: Message-ID: Why can't you protect the access online to the files on a secure server rather than try to protect the media? Who or what are the 'bad guys'?? sqb >FYI, setting a customProp with the compressed image data actually >increases the size of the stack if those images were resized to >larger than their original incoming size (that's expected behavior) >This presents somewhat of a conundrum. Since the import of a 3 X 5 >jpeg whose original resolution was 72 DPI (all that is needed for >the screen) and if is scaled up, storing it as image data (even >compressed) bloats the stack. Since the "quest" is internet >delivery, one is looking for the opposite effect: smaller stack >sizes. So, one gets caught between a rock and a hard place: you want >to deliver media efficiently but protect them from "theft" but then >to protect them from theft you have to make a stack that is so big >that delivery is difficult. hmmm... > >I would still opt for a new feature to protect stacks in the IDE. Then you >Sivakatirswami -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From johnpatten at mac.com Fri Mar 17 12:02:22 2006 From: johnpatten at mac.com (John Patten) Date: Fri, 17 Mar 2006 09:02:22 -0800 Subject: AltBrowser 2.0 Extension and Web 2.0 Web Apps? Message-ID: <13807630.1142614943060.JavaMail.johnpatten@mac.com> Hi all And Chip... I had a question regarding Chip's AltBrowser 2.0 external... Is it possible to use the external with web sites such as Writely (www.writely.com)? I attempted using the demo browser in the new 2.0 version and was not successful. On the Windows version, it would kill Rev, and with the Mac it would bring up the page, allow login, but you could not edit anything (change text style, font, etc.) My guess is maybe this is due to the fact that Writely opens up multiple windows and AltBrowser 2.0 does not support sites with multiple windows...??? Or, maybe the demo browser doesn't...? Can anyone shed any light on using AltBrowser with something like Writley? Thank you! John Patten Sylvan Union School District From mark at maseurope.net Fri Mar 17 12:09:57 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 17 Mar 2006 17:09:57 +0000 Subject: Get a handler from a script In-Reply-To: <30F16774-926D-4118-BC47-26CE326028FD@inspiredlogic.com> References: <38D6B541-DA1E-419F-B258-525DA4179819@adelphia.net> <30F16774-926D-4118-BC47-26CE326028FD@inspiredlogic.com> Message-ID: <786E7FF8-BD8A-4300-A420-82CB1D1AC0C2@maseurope.net> Lucid and thorough, as usual. And we'd all forgotten about 'Prop' handlers. However, to nitpick, and raise a question from earlier in the thread, what about handlers that are commented out? hmmm..not as simple as it might seem... Mark On 17 Mar 2006, at 16:16, Geoff Canyon wrote: > > On Mar 16, 2006, at 5:25 PM, Thomas McGrath III wrote: > >> But, I would like to get just one of the handlers from a script >> via script: put handler "FooBar" of the script of card "Foo" >> into tBar > > Most of the solutions presented so far make assumptions. For > example, there can be more than one space between "on" and the > handler name. > > In Navigator I use this to retrieve a list of the handler names: > > repeat for each line L in tText -- tText is the script > if word 1 of L is among the items of > "on,function,getprop,setprop" then > put L & cr after tMenuText > end if > end repeat > > So to get the handler you would be doing something like: > > put 0 into tLineNumber > put false into tEnteredHandler > repeat for each line L in tText -- tText is the script > add 1 to tLineNumber > if word 1 of L is among the items of > "on,function,getprop,setprop" and \ > word 2 of L is tHandlerName then > put tLineNumber into tStartLineNumber > put true into tEnteredHandler > end if > if tEnteredHandler and \ > word 1 of L is "end" and \ > word 2 of L is tHandlerName then > put tLineNumber into tEndLineNumber > exit repeat > end if > end repeat > > -- if tEnteredHandler is false, we didn't find the handler > -- if tEnteredHandler is true, tStartLineNumber is where it starts, > -- tEndLineNumber is where it ends > > regards, > > Geoff > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From darkshadow1 at metrocast.net Fri Mar 17 12:25:25 2006 From: darkshadow1 at metrocast.net (Preston Shea) Date: Fri, 17 Mar 2006 12:25:25 -0500 Subject: Rev 2.7 needs to close Message-ID: <000801c649e7$c85a4530$6401a8c0@toshibauser> My Rev Studio 2 quits unexpectedly about once an hour. This seems to happen only when selecting or moving text in a script. Has anyone else experienced this waker-upper and is there a way to avoid it. I'm getting kinda old for this s**t ! From JimAultWins at yahoo.com Fri Mar 17 12:37:52 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 17 Mar 2006 09:37:52 -0800 Subject: Get a handler from a script In-Reply-To: <786E7FF8-BD8A-4300-A420-82CB1D1AC0C2@maseurope.net> Message-ID: Also consider there is more than one way to legally comment out lines of code. The author should choose and be consistent. I used to have a routine in HCard that would find all the "on, function, --on , --function" handlers & "global" declaration lines in a stack script container and build a directory at the top of that script container for all stacksinuse. This way I could print the first page and have them documented. As you may recall, HCard had a 32K script container limit and the workaround was to do several 'stacksinuse' to build a working library. -- comment # comment /* ... block of comments on thisFunction val end thisFunction val on thisOther val end thisOther val */ If I were to do this on a consistent basis, I would copy each of my stacks into 'mysearchscript' folder, then use BBEdit file search and RegEx to Find All in that folder of stacks, then scan the search result, double clicking the hit line to go to that code. This works because the scripts in a stack are visible. What you do not get is what object has the code, and you do get a few false or ghost hits. Jim Ault Las Vegas On 3/17/06 9:09 AM, "Mark Smith" wrote: > Lucid and thorough, as usual. And we'd all forgotten about 'Prop' > handlers. > However, to nitpick, and raise a question from earlier in the thread, > what about handlers that are commented out? > > hmmm..not as simple as it might seem... > > Mark > > On 17 Mar 2006, at 16:16, Geoff Canyon wrote: > >> >> On Mar 16, 2006, at 5:25 PM, Thomas McGrath III wrote: >> >>> But, I would like to get just one of the handlers from a script >>> via script: put handler "FooBar" of the script of card "Foo" >>> into tBar >> >> Most of the solutions presented so far make assumptions. For >> example, there can be more than one space between "on" and the >> handler name. >> >> In Navigator I use this to retrieve a list of the handler names: >> >> repeat for each line L in tText -- tText is the script >> if word 1 of L is among the items of >> "on,function,getprop,setprop" then >> put L & cr after tMenuText >> end if >> end repeat >> >> So to get the handler you would be doing something like: >> >> put 0 into tLineNumber >> put false into tEnteredHandler >> repeat for each line L in tText -- tText is the script >> add 1 to tLineNumber >> if word 1 of L is among the items of >> "on,function,getprop,setprop" and \ >> word 2 of L is tHandlerName then >> put tLineNumber into tStartLineNumber >> put true into tEnteredHandler >> end if >> if tEnteredHandler and \ >> word 1 of L is "end" and \ >> word 2 of L is tHandlerName then >> put tLineNumber into tEndLineNumber >> exit repeat >> end if >> end repeat >> >> -- if tEnteredHandler is false, we didn't find the handler >> -- if tEnteredHandler is true, tStartLineNumber is where it starts, >> -- tEndLineNumber is where it ends >> >> regards, >> >> Geoff >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From userev at canelasoftware.com Fri Mar 17 13:21:21 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 17 Mar 2006 10:21:21 -0800 Subject: Icon for OS X compiled .app not showing :-( In-Reply-To: <441A4BF5.9040403@hyperactivesw.com> References: <4167e2f54e13e2a9de140cb5f066e356@wanadoo.fr> <4419FA29.50708@paraboliclogic.com> <441A4BF5.9040403@hyperactivesw.com> Message-ID: <7F5B7BE4-5679-4E8D-9A22-4081FF832B2B@canelasoftware.com> On Mar 16, 2006, at 9:41 PM, J. Landman Gay wrote: > Garrett Hylltun wrote: > >> But after the standalone was saved, the icons I made are not being >> used at all for the .app in finder. It's using the default icon >> from OS X as if mine didn't exist or something. > > As you know now, Mark's suggestion works. So does zipping and then > unzipping the standalone, which is what I always used to do. But > the coolest trick was just posted here within the last week or so, > and I thought it was Mark Talluto's trick too (if I remember > right.) Anyway, you do a "get info" on the file, select the icon, > and choose "Delete" from the Edit menu. Bingo. I have now changed > my ways. I seem to change my method every few months. I know use the Path Finder's touch command to get things straight. Who knows what method will be used in a few months. Maybe I'll write a plugin to do the job for me. :) Mark Talluto -- CANELA Software http://www.canelasoftware.com From chris at altuit.com Fri Mar 17 13:23:29 2006 From: chris at altuit.com (chris bohnert) Date: Fri, 17 Mar 2006 12:23:29 -0600 Subject: AltBrowser 2.0 Extension and Web 2.0 Web Apps? In-Reply-To: <13807630.1142614943060.JavaMail.johnpatten@mac.com> References: <13807630.1142614943060.JavaMail.johnpatten@mac.com> Message-ID: <441AFEA1.20206@altuit.com> Hi John, I just tried this with writely and the altbrowser demo and was able to login and create a new document on both the mac an pc. I'm using XP/OS 10.4.5 in rev 2.6.1. I launched the demo..clicked "launch browser" on the first card and then went directly to "http://www.writely.com". You can get us directly at support at altuit.com or me in particular at chris at altuit.com. -- cb John Patten wrote: > Hi all And Chip... > > I had a question regarding Chip's AltBrowser 2.0 external... > > Is it possible to use the external with web sites such as Writely (www.writely.com)? I attempted using the demo browser in the new 2.0 version and was not successful. On the Windows version, it would kill Rev, and with the Mac it would bring up the page, allow login, but you could not edit anything (change text style, font, etc.) > > My guess is maybe this is due to the fact that Writely opens up multiple windows and AltBrowser 2.0 does not support sites with multiple windows...??? Or, maybe the demo browser doesn't...? > > Can anyone shed any light on using AltBrowser with something like Writley? > > Thank you! > > John Patten > Sylvan Union School District > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From userev at canelasoftware.com Fri Mar 17 13:26:30 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 17 Mar 2006 10:26:30 -0800 Subject: Draw spokes on a wheel Message-ID: <5FB1A45C-F6E6-4033-8236-AB90C57C9D30@canelasoftware.com> Hello everyone, I need a little help drawing spokes to a wheel. This is actually used in a vision test. I have an image here to help illustrate the madness. I am sure someone like Jim Ault is shaking his head right now. I have been using an image, but would like to offer the ability to adjust the line length and thickness. The new antialiasing feature will also be handy. Thanks for any input. Mark Talluto -- CANELA Software http://www.canelasoftware.com From mwieder at ahsoftware.net Fri Mar 17 13:26:42 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 17 Mar 2006 10:26:42 -0800 Subject: Making the move... In-Reply-To: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> Message-ID: <17995335415.20060317102642@ahsoftware.net> Marielle- Friday, March 17, 2006, 4:44:16 AM, you wrote: > many Japanese management concepts such as Total Quality Control, > Quality Control circles, small group activities, labor relations. Key > elements of Kaizen are quality, effort, involvement of all employees, > willingness to change, and communication. Having been involved with Total Quality initiatives, Quality Control Circles, etc, on this side of the pond I can say from experience that they are doomed to failure because of underlying cultural differences. Labor and social relationships are not structured in western societies to provide the level of trust and support required to allow them to be effective. -- -Mark Wieder mwieder at ahsoftware.net From userev at canelasoftware.com Fri Mar 17 13:28:50 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 17 Mar 2006 10:28:50 -0800 Subject: DRM for Images and Text in Stacks In-Reply-To: References: Message-ID: <6A2645BE-83C8-4A07-84A7-8240F4BDE087@canelasoftware.com> On Mar 17, 2006, at 8:57 AM, Stephen Barncard wrote: > Why can't you protect the access online to the files on a secure > server rather than try to protect the media? Who or what are the > 'bad guys'?? > > sqb Can the files be outside the application in a "data" folder perhaps? If so, you could just encrypt them with a setup app. Your player or media app would then import the encrypted file, decrypt it, and then show it. All the while, the download media is encrypted and safe. Mark Talluto -- CANELA Software http://www.canelasoftware.com From aturban at qwest.net Fri Mar 17 13:46:22 2006 From: aturban at qwest.net (Arthur Urban) Date: Fri, 17 Mar 2006 11:46:22 -0700 Subject: Developer Annoyance #1 In-Reply-To: References: Message-ID: <441B03FE.6050905@qwest.net> mea culpa. Your example works just fine. I changed variable names in the send syntax without initializing them first. This caused the variable name to be sent as a string and not it's contents. Thank you for helping me discover this! Dick Kriesel wrote: > On 3/17/06 12:47 AM, "Arthur Urban" wrote: > > >> I'm sure it evaluates literals just fine, but it does not >> evaluate containers. >> > > This works here: > > on mouseUp > put 1 into t > send "foo t,t+1" > end mouseUp > > on foo > ask the params > end foo > > > Do you have a counter-example? > > -- Dick > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From chipp at chipp.com Fri Mar 17 13:51:16 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 17 Mar 2006 12:51:16 -0600 Subject: AltBrowser 2.0 Extension and Web 2.0 Web Apps? In-Reply-To: <13807630.1142614943060.JavaMail.johnpatten@mac.com> References: <13807630.1142614943060.JavaMail.johnpatten@mac.com> Message-ID: <441B0524.1090404@chipp.com> Hi John, It appears you've already received the answer, directly from Chris, the developer of the altBrowser external. Feel free to contact us directly with any questions about altBrowser at: support at altuit.com -Chipp John Patten wrote: > Hi all And Chip... > > I had a question regarding Chip's AltBrowser 2.0 external... From JimAultWins at yahoo.com Fri Mar 17 14:01:13 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 17 Mar 2006 11:01:13 -0800 Subject: Draw spokes on a wheel In-Reply-To: <5FB1A45C-F6E6-4033-8236-AB90C57C9D30@canelasoftware.com> Message-ID: Could you take a single line png, make copies, and rotate.positionAboutTheCenter them? Jim Hurly and Scott Rossi are far ahead of me in doing this sort of work (ballClock, windowShape, bezier curves, circles, polygon offsets) More than shaking my head, I'm rattling my brain and rolling my eyes... shake rattle and roll :-) Glad I don't have to solve this one. Jim Ault Las Vegas On 3/17/06 10:26 AM, "Mark Talluto" wrote: > Hello everyone, > > I need a little help drawing spokes to a wheel. This is actually > used in a vision test. I have an image here to help illustrate the > madness. I am sure someone like Jim Ault is shaking his head right > now. > > I have been using an image, but would like to offer the ability to > adjust the line length and thickness. The new antialiasing feature > will also be handy. Thanks for any input. > > > Mark Talluto From lynn at paradigmasoft.com Fri Mar 17 14:04:34 2006 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Fri, 17 Mar 2006 11:04:34 -0800 Subject: Making the move... In-Reply-To: <17995335415.20060317102642@ahsoftware.net> Message-ID: <1069500183-199849064@lindbergh.macserve.net> > > many Japanese management concepts such as Total Quality Control, > > Quality Control circles, small group activities, labor > relations. Key > > elements of Kaizen are quality, effort, involvement of all > employees, > > willingness to change, and communication. > > Having been involved with Total Quality initiatives, Quality > Control Circles, etc, on this side of the pond I can say from > experience that they are doomed to failure because of > underlying cultural differences. > Labor and social relationships are not structured in western > societies to provide the level of trust and support required > to allow them to be effective. Putting on my Proactive (http://www.proactive-intl.com) hat here on one of my favorite topics :-) Ill preface this by saying I lived in Japan for six years, have an office in Japan, Japanese spouse and bi-lingual family household. We have a good mix of Japanese staff. My kid has been cleaning my clock in spoken and written Japanese for years :-( I think almost all Japanese initiatives fail in the US for the same reason why many foreign endeavors don't make it in Japan - they werent adapted into processes towards a specific goal. And they apply differently in different industries, because there is a different mindset by industry - the automobile industry vs software is a perfect one. Total Quality Management didn't originate in Japan, but it is worshipped there. Japanese society is built around cooperation, unity, and fair treatment within the group - and you disappoint and fail the group if your product doesn't improve. It doesn't nourish creativity however, though the government has taken steps in their education system to help rectify that. There are some very good software products from Japan, but it isnt a culture that nurtures a maverick mentality that can result in lots of super programmers. You could point to console games as an industry dominated by the Japanese, but I think if you really looked at the way most of those games are structured (and that they license a lot of foreign 3D technology), you would be less impressed. But to go back to the point - adaptions Ive seen have been terrible - either self defeating or utterly silly. I think there are quality measures that can be gleaned and adapted to a certain point, with good results. Its just extremely rare. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From 3mcgrath at adelphia.net Fri Mar 17 14:08:24 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 17 Mar 2006 14:08:24 -0500 Subject: The long answer on when to use a function vs command In-Reply-To: <50B19029-6706-422C-8568-E1446B9535E9@inspiredlogic.com> References: <1A0956C4-8524-461D-81AE-7450C3FF06D5@adelphia.net> <50B19029-6706-422C-8568-E1446B9535E9@inspiredlogic.com> Message-ID: <322E2229-3104-451A-90DF-F3C8400ABA79@adelphia.net> Geoff, Great read, Thanks for this, Tom On Mar 17, 2006, at 10:57 AM, Geoff Canyon wrote: > > On Mar 14, 2006, at 8:31 PM, Thomas McGrath III wrote: > >> Can someone give the long answer on when is it best to use a >> function versus a command? I have a lot to write of both commands >> and functions and have been overly confusing myself. Please give >> at least two examples each with parameters and how to call/use them. > > I wrote an article about this. It's at: > > http://inspiredlogic.com/articles/functions.html > > It gives several examples. > > I can summarize it as: Functions Good, Handlers Bad (much of the > time). ;-) > > regards, > > Geoff > _______________________________________________ > use-revolution mailing list > use-revolution at 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 3mcgrath at adelphia.net 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 From benbock at msn.com Fri Mar 17 14:21:05 2006 From: benbock at msn.com (Ben Bock) Date: Fri, 17 Mar 2006 11:21:05 -0800 Subject: script help References: <20060317152216.4BEA7826605@mail.runrev.com> Message-ID: I have a stack that with 141 cards. 40 of the cards have images set on a timer : on openCard wait 2 seconds hide image "img1" end openCard I need to make an openStack script that will set the images to "show". My usual lowbrow, untrained approach is to hard code it, which gets tedious: on closeCard show img "img1" end closeCard I want to make a stack script for this easy problem, so that all images are set to "visible = true" or "show". I just can't get it right. on preOpenStack put the number of cds into cardCount repeat with x = 1 to cardCount end repeat put the number of images into imageCount repeat with y = 1 to imageCount end repeat put the ID of image y of cd x into imageNameList --(something is wrong here) repeat for each line Joe in imageNameList set the visible of image q to true end repeat end preOpenStack I think part of my problem is that I don't really understand the repeat syntax. 1) is there any design flaw using the wait/hide format? 2) How can I re-write the preOpenStack script to do what I want? I'll eagerly read any pointers. Thanks for any help, Ben From rcozens at pon.net Fri Mar 17 14:29:07 2006 From: rcozens at pon.net (Rob Cozens) Date: Fri, 17 Mar 2006 11:29:07 -0800 Subject: Rev 2.7 needs to close In-Reply-To: <000801c649e7$c85a4530$6401a8c0@toshibauser> References: <000801c649e7$c85a4530$6401a8c0@toshibauser> Message-ID: <4D72552F-B5EC-11DA-9CFB-0030657E1638@pon.net> Hi Preston, > My Rev Studio 2 quits unexpectedly about once an hour. This seems to > happen only when selecting or moving text in a script. Has anyone else > experienced this waker-upper and is there a way to avoid it. I'm > getting kinda old for this s**t ! > Go to and add your vote(s) and any comments...especially if you're not running Windows. 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) From rcozens at pon.net Fri Mar 17 14:44:25 2006 From: rcozens at pon.net (Rob Cozens) Date: Fri, 17 Mar 2006 11:44:25 -0800 Subject: script help In-Reply-To: References: <20060317152216.4BEA7826605@mail.runrev.com> Message-ID: <70B0B4D4-B5EE-11DA-8FBF-0030657E1638@pon.net> Hi Ben, > I have a stack that with 141 cards. 40 of the cards have images set > on a timer : > > on openCard > wait 2 seconds > hide image "img1" > end openCard > > I need to make an openStack script that will set the images to "show". Are you sure? If no runtime changes to the stack need be saved, simply set destroyStack to true and close the stack without saving it. The next time it is opened the images will all show if the stack was last saved that way. If it is compiled as a standalone, it _will_ retain the original state of the images when the standalone was built. > My usual lowbrow, untrained approach is to hard code it, which gets > tedious: > on closeCard > show img "img1" > end closeCard > > I want to make a stack script for this easy problem, so that all > images are set to "visible = true" or "show". I just can't get it > right. How about (in the stack script): on preOpenCard repeat with x = 1 to the number of images show image x end repeat end preOpenCard ? 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) From klaus at major-k.de Fri Mar 17 14:46:08 2006 From: klaus at major-k.de (Klaus Major) Date: Fri, 17 Mar 2006 20:46:08 +0100 Subject: script help In-Reply-To: References: <20060317152216.4BEA7826605@mail.runrev.com> Message-ID: Hi Ben, > I have a stack that with 141 cards. 40 of the cards have images > set on a timer : > > on openCard > wait 2 seconds > hide image "img1" > end openCard > > I need to make an openStack script that will set the images to > "show". My usual lowbrow, untrained approach is to hard code it, > which gets tedious: > on closeCard > show img "img1" > end closeCard Use "preopencard" that will happen BEFORE a card is drawn on the screen, see below... > I want to make a stack script for this easy problem, so that all > images are set to "visible = true" or "show". I just can't get it > right. > > on preOpenStack > put the number of cds into cardCount > repeat with x = 1 to cardCount > end repeat > put the number of images into imageCount > repeat with y = 1 to imageCount > end repeat > put the ID of image y of cd x into imageNameList --(something is > wrong here) > repeat for each line Joe in imageNameList > set the visible of image q to true > end repeat > end preOpenStack Let me see if I get you right: You want to hide every image on every card before you go to that card? And have this in the stackscript? In that case put this "preopencard" handler into the stackscript! on preopencard repeat with i = 1 to the num of imgs hide img i end repeat end preopencard > I think part of my problem is that I don't really understand the > repeat syntax. > > 1) is there any design flaw using the wait/hide format? "hide" is immediate, but "wait" will halt the application for the time you wait, means you cannot click buttons etc. in this time. But you can force the "wait" clause to NOT halt the whole app by adding: on openCard wait 2 secs WITH MESSAGES hide image "img1" end openCard Now you can enter text into fields, click buttons etc... during these 2 seconds. > 2) How can I re-write the preOpenStack script to do what I want? See above... > I'll eagerly read any pointers. Hope that helps... > Thanks for any help, > > Ben Regards Klaus Major klaus at major-k.de http://www.major-k.de From jonseymour at mac.com Fri Mar 17 14:48:27 2006 From: jonseymour at mac.com (Jon Seymour) Date: Fri, 17 Mar 2006 13:48:27 -0600 Subject: Zoom/maximize box Message-ID: Hi all, In my app I manipulate screen elements when the user resizes the window. For scaling Rev objects, the Geometry manager works well. I do intercept and pass the resizeStack message to do a couple of things, for example, reset the tabstops in a field, and redraw the altBrowser pane. I use liveResizing simply out of personal preference. It all works! Except...when I click that darn zoom box. On both Mac and Win platforms, this causes my resizeStack handlers to fail. The Geometry manager works, and I can see in the Message Watcher that resizeStack is being sent, but for some reason there is no action. When I click the box again to toggle back to the old size, BOOM, the items are redrawn too big, reflecting the prior window size. The minute I grab and drag the resize area in the lower right of the window, everything snaps back to normal. So, what am I missing? Is there a message sent or some other way to know specifically when the zoom box has been clicked? Thanks, Jon From henk at iglow-media.nl Fri Mar 17 14:50:50 2006 From: henk at iglow-media.nl (Henk van der Velden) Date: Fri, 17 Mar 2006 20:50:50 +0100 Subject: imagedata in Word XML Message-ID: <9614903A-563B-4CEA-937E-33F2ABAC8722@iglow-media.nl> Good day all, Word 2003 and newer can save as XML. If there is an image in the doc, it's binary data are saved in one of the nodes of an XML tree (body/p/ r/pict/binData). Now I want a Revolution stack to read these XML documents. I assumed the binary image data to be base-64 encoded. But when I decode the content of the node containing the binary image data, and set the imageData of an image in the Rev stack to it, I get a messy picture. I have also tried to base-64 encode the imageData of an image in a Rev stack and paste it into a node containing binary image data in a Word XML file. But then Word doesn't understand the data. Is there anyone who knows how Word's binary image data can be used in Rev? Kind regards, Henk From stephenREVOLUTION at barncard.com Fri Mar 17 14:54:04 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 17 Mar 2006 11:54:04 -0800 Subject: Rev 2.7 needs to close Message-ID: They're working on it.. and it's confirmed... please vote http://support.runrev.com/bugdatabase/show_bug.cgi?id=3359 >My Rev Studio 2 quits unexpectedly about once an hour. This seems to >happen only when selecting or moving text in a script. Has anyone >else experienced this waker-upper and is there a way to avoid it. >I'm getting kinda old for this s**t ! -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From got at mindspring.com Fri Mar 17 15:05:29 2006 From: got at mindspring.com (Gordon Tillman) Date: Fri, 17 Mar 2006 14:05:29 -0600 Subject: imagedata in Word XML In-Reply-To: <9614903A-563B-4CEA-937E-33F2ABAC8722@iglow-media.nl> References: <9614903A-563B-4CEA-937E-33F2ABAC8722@iglow-media.nl> Message-ID: Henk I wrote an exporter for JasperReports that can save to WordML format. This is in Java, no no help with RunRev. But I can tell you that the information is not in pure imageData format. The information in WordML is a base-64 encoded PNG or JPEG, or whatever. Well, even though you decode the information from the WordML file, now you have a binary representation of a PNG or JPEG, etc., and that is not in a format proper for imageData, which is an array of 4-byte integers, each integer representing one pixel. You will have to base-64 decode the information in the WordML file and then read it in as if you were reading an image file off a disk, etc. This will decompress the information that is encoded in the file and then you can use the result as imageData. --gordy On Mar 17, 2006, at 13:50, Henk van der Velden wrote: > Good day all, > > Word 2003 and newer can save as XML. If there is an image in the > doc, it's binary data are saved in one of the nodes of an XML tree > (body/p/r/pict/binData). > > Now I want a Revolution stack to read these XML documents. I > assumed the binary image data to be base-64 encoded. But when I > decode the content of the node containing the binary image data, > and set the imageData of an image in the Rev stack to it, I get a > messy picture. > I have also tried to base-64 encode the imageData of an image in a > Rev stack and paste it into a node containing binary image data in > a Word XML file. But then Word doesn't understand the data. > > Is there anyone who knows how Word's binary image data can be used > in Rev? > > Kind regards, > Henk > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Fri Mar 17 15:16:16 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 17 Mar 2006 12:16:16 -0800 Subject: Rev 2.7 needs to close In-Reply-To: <4D72552F-B5EC-11DA-9CFB-0030657E1638@pon.net> References: <000801c649e7$c85a4530$6401a8c0@toshibauser> <4D72552F-B5EC-11DA-9CFB-0030657E1638@pon.net> Message-ID: Rob: We may have 2 bug numbers for the same bug... sqb: clicking or dragging text randomly fatally crashes rev. Sometimes core dump dialog appears. *Confirmed with 2 apple debug dumps sent to runrev. Rob: is this possible? >Hi Preston, > >>My Rev Studio 2 quits unexpectedly about once an hour. This seems >>to happen only when selecting or moving text in a script. Has >>anyone else experienced this waker-upper and is there a way to >>avoid it. I'm getting kinda old for this s**t ! >> -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From ambassador at fourthworld.com Fri Mar 17 15:22:47 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 Mar 2006 12:22:47 -0800 Subject: Making the move... Message-ID: <441B1A97.3010005@fourthworld.com> Marielle wrote: > What you get with Java, Ruby, Ajax that you don't get with runrev is > the following. > > 1) Re-usable LIBRARIES. > > Honestly what I have read recently on how revolution is so much > superior to Director or Java is just a *BIG* joke. Agreed, revolution > let you write stuff rapidly. But you have to write the same stuff > again and again and again and again. But what java does is let you > write it ONCE and REUSE it again and again and again. Coding for reuse is a choice. There's a lot of Java out there that can barely be used, let alone reused. :) I rarely write the same routine in Transcript more than once, and every app I write is completed with considerably higher ROI than the last because of the ease of reusing code libraries. In my most recent project I would estimate that some 70% of the code base is in reusable libraries. There's even a Scripter's Scrapbook that Hugh Senior wrote in Rev to encourage even greater code reuse (with a jaw-droppingly complete feature set) at . Stephen McConnell's "Code Complete 2" offers a great insight into coding for reuse (among many other things), and just about anything from him is chock full o' good ideas. I've touched on reuse in my presentations at Rev conferences, and it would probably be useful to also address this in greater depth at revJournal. In the meantime, "Extending the Runtime Revolution Message Path" at introduces the mechanics of implementing libraries, and my Handy Handlers series at discusses the style side of crafting handlers with an emphasis on generalized reuse. It should be noted that while the specifics of coding for reuse in Transcript often rely on mechanisms unique to the language, those mechanisms are simple to work with (e.g. "start using libMyStuff") and the patterns governing reuse are pretty much the same as for other procedural languages (error-checking params, conscious source-to-dest param order, useful defaults for optional params, etc.). Any developer thinking ahead and exercising a little self-discipline can get the same level of benefit of code reuse in Transcript as in just about any procedural language, arguably more so in many cases given Transcript's self-documenting nature and the simplicity of using library stacks. That said, there's a fine line being drawn here. On the one hand you seem to request a professional level of self-discipline from those who publish libraries, while elsewhere suggesting that Rev be used by more newcomers and non-professionals. As long as there are people who haven't yet made a million mistakes, they will code in ways that don't prevent them. :) > 2) Rich and easy to access documentation > > If you want to use a java library written by somebody else, simple, > you get access to the API online and you know what method to call and > how. You don't need to know *anything* about the inner workings of > the library. Why is it? Because some some conventions have been > created which let you comment your script in a very efficient way, > where the API doc can be automatically generated from these comments. > http://java.sun.com/j2se/javadoc/. There is *NOTHING* even close to > this in revolution. Again, this is a matter of choice on the part of the developer. Some are simply more diligent documenters than others. While the number of lines needed to extract APIs from a Java code base is so great that Sun needs to provide a tool for it, getting a list of handlers from a script in Transcript can be done in just a few lines (see the MC IDE's Script Editor or Geoff Canyon's post at ). Modifying those routines to also include params would be trivial. But for such extraction to be useful the key is to provide meaningful parameter names. Remember that Java's a typed language so the prototypes will tell you more about a param than its name alone will. So again, this is a choice and some do it better than others. K&R-style single-letter arguments won't tell you very much. :) (A few tips on naming conventions are shared at ). Taking this notion one step further, the Rev Interoperability Project (RIP) at offers guidelines for libraries to include API documentation, and in a way that makes it relatively simple for a single doc-reader stack to easily display the API for any RIP-savvy library. Conventions exist for both Java and Rev; they're only as useful as they are adopted, and Java is used by more professionals for whom the benefits of self-discipline pay bigger dividends. > 3) Member's sense of investment in making their work freely available > > Yes, you can do fantastic stuff with revolution. But you have to > start from zero and do everything by yourself. > Because of all the effort, it is only worth it if you plan to sell > your application to a small numbers of high-paying clients. Exhibit A: RevOnline Exhibit B: Exhibit C: Dozens of other resources that can be pulled up in Eric Chatonet's wonderful search tool. Many of the libraries available offer free use, and some are even open source. > So Richard, why is it that sourceforge project you are admin of is > still empty? It was registered in 2001. > http://sourceforge.net/projects/opn-repository > "A project to create a publicly accessible library of handlers for > the xTalk family of languages. The immediate aim of this project is > to create a robust library of handlers for the cross platform > Metacard/RunRev xTalk family of products." I didn't set up that group, and was made aware of my status there as an "administrator" only last week when I got an expiration notice from the site. That must have been set up in the early days while we were fleshing out the workflow for the MC IDE. The MC IDE project lives at . The discussion list of its ongoing development is at . A summary History and Roadmap of the MC IDE project is at . To date we've had more than a dozen contributors to the MC IDE project, and have had fresh releases nearly every quarter. Klaus Major, Ken Ray, and myself are working on parts of it right now. > I had a chance to see David's (Bovil) library of handlers: Very > impressive. He does good work. Let's call that Exhibit D. :) > 4) Structure that encourages and facilitates collaboration > > You can, in fact turn your work into reusable libraries, with a bit > of experience in writing such stacks. People like Eric, Scott, and > many others have very generously contributed high quality demo > stacks, but the number of libraries available is just ridiculous > compared to the ones on rubyforge/sourceforge. In sharp contrast with > the ruby and java community, these libraries are not shared, there is > nothing like rubyforge or sourceforge where you can easily provide > information about your project and receive feedback on them. There is > nothing like rubyforge or sourceforge where you can get to know of > the existing projects and get to propose your collaboration. Have you tried emailing the developers? Constellation used BaseMap; RevIPC, mmgen, and RIP use Yahoo; the MC IDE project uses Yahoo for file distribution and a list hosted by RunRev for management discussion. Developers are free to choose what they like for managing their work, and they do. As for the number of libraries, the other languages you cite are either gratis and/or open source. Remember that many open source projects represent a form of "socialized software", since the project took root at publicly subsidized universities (which I like, BTW; I'd rather have my taxes create livingry than weaponry whenever practical). Java is an exception, but it isn't open source; Sun makes the investment for strategic reasons. If you can get public funding or a major corporation to throw money at RunRev Ltd to convert Rev to open source there may be an opportunity there for all of us. In the meantime, software remains expensive to create regardless of the license it's deployed with, and not everyone has accumulated the independent wealth needed to displace paying work with volunteer work full time. > On top, though it is possible to write libraries, there are aspects > of the transcript languages which don't really make it pratical to > consider flexibly using 20-100 libaries. Scott Raney recognized this > and was apparently planning to work on it. Hence, another *very* > important paragraph on the Metacard annoucement page (http:// > www.metacard.com/pi5.html) was: > "The MetaTalk language will also be extended to provide a more full > featured object-oriented programming environment, which will allow > development of larger-scale applications with MetaCard. The key > tenants of object-oriented programming - encapsulation, polymorphism, > and inheritance - are already available in the MetaTalk language, but > must be extended before MetaCard will be as appropriate for large > multi-developer projects as it is for the single-user projects that > are presently its forte. " As a proprietary product, neither Dr. Raney nor the current owners would divulge details beyond the sort of high-level abstractions presented there. That said, sometimes interesting things get discussed at NDA'd sessions at Rev conferences. I was about to delete this next paragraph and move on to more relevant things, but it contains so many factual errors that it would be a disservice to newcomers here not to address them at least in summary: > In sharp contrast with the work initiated and planned by S. Raney, > what I have witnessed over the years is a readiness from runrev to > punish the ones who had made significant contributions to the > community. Richmond was banished for his views on opensource. That's not why Richmond was temporarily banned from the list. Richmond has been openly supportive of RunRev and their licensing terms; many others here hold much more passionate views of open source than he yet have never been banned. While I disagree with the latest reasoning for his being banned, it had nothing to do with his views on open source. If this isn't clear you may want to review the list archives. > Ken's stackrunner has been recently not outlawed. Not outlawing something is a bad thing? StackRunner remains available at . > Xavier was attacked for preferring to use a product -- metacard > -- that authorizes the creation of true open source resource... MetaCard hasn't been a product for many years; it's an add-on for the Rev engine. Like any IDE or set of plugins, the MetaCard IDE is just a collection of stacks which require the Rev engine to run. The license agreement for the MetaCard IDE makes its open source status explicitly distinct from any terms for the engine needed to run it, and refers the reader to the RunRev license for any questions about usage of the engine. As for Xavier, he made a choice for himself and I respect him enough to honor his decision. You might do well to show him the same respect and discretion, allowing him the courtesy of representing himself. > I have heard that despite an official discourse of authorizing freeGui, > another open source project, Kevin in fact contacted Alain Farmer to > ask him to stop... or at least make sure it was not too successful. FreeGUI remains available at , languishing more for lack of interest than anything else. Given its goal of providing a more HyperCard-like experience to newcomers, I'm surprised more people haven't shown an interest in contributing to it. But it's there if they do. I think it's a neat project and would love to see some fresh blood flesh it out some more. > 5) Equalitarian system where the contribution of each person is > valued the same way > > In rubyforge, sourceforge, what counts in the quality of the library. Maybe that's why so many projects there haven't had activity in many months. ;) > There is little information about the professional status of the > persons involved in each project. Profit and non-profit have the same > opportunity to have their initiative noticed. There is revonline, but > it's really nothing compared to rubyforge or sourceforge and there is > a 10MB limit anyway so you cannot really post anything but toy > projects there. Of what practical use would a library be if it weighs in at larger than 10MB? As you noted, some Rev folks do use SourceForge for their libraries, and there's nothing stopping anyone from using any other means of distributing their work. I mirror RIP at the revJournal site because I have a hundred megs free there; lots of room to grow, but I pity the person who would have to wade through 100 megs of stuff. :) > FYI, in reality, something as good as google earth > has been realised long ago in our community. It has been advertised > on our lists. But this person didn't present himself as a > professional... because he was not one and he apparently largelly > ignored. http://ddm.geo.umass.edu/. The excellent work of Jim Hurley > and others have suffered similar fates. Jim, do you feel abused? :) These developers are among the most celebrated members of our community. The archives are full of "way cool!" commendations to these people, and I believe Kevin has even demo'd Dynamic Digital Maps at a trade show as the cool example project it is. I do agree that more can be done, such as making the list of cool stuff at more comprehensive. I had the pleasure of serving tiramisu to Richard K. Herz at one of our Rev meetings here, where I thanked him for his wonderful contributions with his Reactor Lab (see ). That was the same night we honored Mark Talutto's birthday, who was also thanked for open sourcing his nifty presentation tool at . If I could I'd send tasty desserts to all the folks who help show off what Rev can do, but I think the community does what they can to show appreciation for these contributors. Hats off to the lot of them! -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From userev at canelasoftware.com Fri Mar 17 16:05:05 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 17 Mar 2006 13:05:05 -0800 Subject: Draw spokes on a wheel In-Reply-To: References: Message-ID: <04D833EA-0B32-4689-9663-43D2D6B8948A@canelasoftware.com> On Mar 17, 2006, at 11:01 AM, Jim Ault wrote: > Could you take a single line png, make copies, and > rotate.positionAboutTheCenter them? > Jim Hurly and Scott Rossi are far ahead of me in doing this sort of > work > (ballClock, windowShape, bezier curves, circles, polygon offsets) > More than > shaking my head, I'm rattling my brain and rolling my eyes... > shake rattle > and roll :-) Hi Jim, I'll take a stab at your suggestion and see how it goes. It has been tricky to get this right. I have been digging around on math sites for some trig solutions. Thanks for the reference to the clock. I'll go over that code and see what I can pull from them. I had forgotten all about them. I bet what I need is in there. Mark Talluto -- CANELA Software http://www.canelasoftware.com From johnpatten at mac.com Fri Mar 17 16:05:22 2006 From: johnpatten at mac.com (John Patten) Date: Fri, 17 Mar 2006 13:05:22 -0800 Subject: AltBrowser 2.0 Extension and Web 2.0 Web Apps? Message-ID: <15505487.1142629522778.JavaMail.johnpatten@mac.com> Thanks for the quick reply! I had been trying AltBrowser 2.0 in Rev 2.7. I'm not sure if that's the problem. But when I saw Chris's reply about using 2.6 I went back, downloaded the demo again, and opened it up in 2.6. The first time I pointed the "Demo Browser" to writely.com I was able to log in, however when I went to edit a previously created document in Writely it through up an answer box, "link trying to open in new window: http://www.writely.com/DOC.aspx?id=bdcwwm88rvd" and "OK." After clicking OK Rev quit. So i thought maybe the problem had to do with the fact that I was trying to access a previoulsy created Writely document. So, I created a new document, and was able to edit, update , log off and log on to edit with no problem. Then I logged back in and and tried to access one of those previously created Writely documents, and everything worked. Oh, well there went that theory. :-) I haven't tried in 2.7 again, I was just happy that it worked! Thanks! --------------------------- ------------------------------ Message: 9 Date: Fri, 17 Mar 2006 12:23:29 -0600 From: chris bohnert Subject: Re: AltBrowser 2.0 Extension and Web 2.0 Web Apps? To: How to use Revolution Message-ID: <441AFEA1.20206 at altuit.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi John, I just tried this with writely and the altbrowser demo and was able to login and create a new document on both the mac an pc. I'm using XP/OS 10.4.5 in rev 2.6.1. I launched the demo..clicked "launch browser" on the first card and then went directly to "http://www.writely.com". You can get us directly at support at altuit.com or me in particular at chris at altuit.com. -- cb John Patten wrote: > Hi all And Chip... > > I had a question regarding Chip's AltBrowser 2.0 external... > > Is it possible to use the external with web sites such as Writely (www.writely.com)? I attempted using the demo browser in the new 2.0 version and was not successful. On the Windows version, it would kill Rev, and with the Mac it would bring up the page, allow login, but you could not edit anything (change text style, font, etc.) > > My guess is maybe this is due to the fact that Writely opens up multiple windows and AltBrowser 2.0 does not support sites with multiple windows...??? Or, maybe the demo browser doesn't...? > > Can anyone shed any light on using AltBrowser with something like Writley? > > Thank you! > > John Patten > Sylvan Union School District > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at derbrill.de Fri Mar 17 16:08:07 2006 From: revolution at derbrill.de (Malte Brill) Date: Fri, 17 Mar 2006 22:08:07 +0100 Subject: Draw spokes on a wheel In-Reply-To: <20060317180010.571AB8263F6@mail.runrev.com> Message-ID: <219E95AC-B5FA-11DA-B7F5-0030659A795C@derbrill.de> Hi Mark, here is a quicky. Make sure that the style of the grc accepts points (e.g=curve or line) on mouseUp put item 1 of the loc of this cd into centerX put item 2 of the loc of this cd into centerY put 40 into isRadius put 60 into spokeLength repeat with isAngle=0 to 360 step 15 put centerX+cos(isAngle*pi/180)*isRadius into isNewX1 put centerY+sin(isAngle*pi/180)*isRadius into isNewY1 put centerX+cos(isAngle*pi/180)*(isRadius+spokeLength) into isNewX2 put centerY+sin(isAngle*pi/180)*(isRadius+spokeLength) into isNewY2 put round(isNewX1),round(isNewY1)&cr after pointlist put round(isNewX2),round(isNewY2)&cr&cr after pointlist end repeat set the points of grc "wheel" to pointlist end mouseUp All the best, Malte -- ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From JimAultWins at yahoo.com Fri Mar 17 16:12:41 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 17 Mar 2006 13:12:41 -0800 Subject: Draw spokes on a wheel In-Reply-To: <5FB1A45C-F6E6-4033-8236-AB90C57C9D30@canelasoftware.com> Message-ID: just recalled that there was a very good exchange about points on a polygon in the archives relating to the Rossi "ballclock" and the last revision I think is ballclock4.rev This could still be on his download site. Jim Ault Las Vegas On 3/17/06 10:26 AM, "Mark Talluto" wrote: > Hello everyone, > > I need a little help drawing spokes to a wheel. This is actually > used in a vision test. I have an image here to help illustrate the > madness. I am sure someone like Jim Ault is shaking his head right > now. > > I have been using an image, but would like to offer the ability to > adjust the line length and thickness. The new antialiasing feature > will also be handy. Thanks for any input. > > > Mark Talluto From chipp at chipp.com Fri Mar 17 16:14:46 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 17 Mar 2006 15:14:46 -0600 Subject: Making the move... In-Reply-To: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> Message-ID: <441B26C6.80400@chipp.com> Marielle, Most of us know, you have a running feud with those at RunRev. If you aren't happy with the tool, then just don't use it. It's that simple. Perhaps there aren't as many libraries available for Transcript, but who says using only reusable libraries is the only way to code quickly? I can still develop my apps significantly faster than enterprise customers who code in Java and .NET (even with all their free libraries!). As Richard has implied over and over, it's about ROI for the client. If I can program some apps faster than another developer, then I provide value for my client. It really is that simple. This is not to say Revolution is the perfect application framework for every type of project --though I've personally yet to find a project which it won't work for. Projects which require large teams of programmers (like Operating Systems for instance) are not a good match for Runtime Revolution. But for small groups who need fast results, Runtime Revolution works great...libraries or not. And for the record, Richmond was not 'banished' from this list for his views on Open Source. The first time, I believe he was banished for his choice of cursed language, and RR let him back on only to have him post to this list a hack to the RR website (which many of us would have only forwarded directly to RR). Your effort here to cast RR in a poor light regarding Richmond, Xavier and others is a disservice to those who don't know the whole story. -Chipp From chipp at chipp.com Fri Mar 17 16:17:13 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 17 Mar 2006 15:17:13 -0600 Subject: AltBrowser 2.0 Extension and Web 2.0 Web Apps? In-Reply-To: <15505487.1142629522778.JavaMail.johnpatten@mac.com> References: <15505487.1142629522778.JavaMail.johnpatten@mac.com> Message-ID: <441B2759.5040509@chipp.com> John, You can right your own handlers to manage popup windows, that's what the callback is for. Again, you can reach us directly at support at altuit.com best, Chipp From mwieder at ahsoftware.net Fri Mar 17 16:20:13 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 17 Mar 2006 13:20:13 -0800 Subject: Making the move... In-Reply-To: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> Message-ID: <119105747897.20060317132013@ahsoftware.net> Marielle- Friday, March 17, 2006, 4:44:16 AM, you wrote: > 2) Rich and easy to access documentation > If you want to use a java library written by somebody else, simple, > you get access to the API online and you know what method to call and > how. You don't need to know *anything* about the inner workings of > the library. Why is it? Because some some conventions have been > created which let you comment your script in a very efficient way, > where the API doc can be automatically generated from these comments. > http://java.sun.com/j2se/javadoc/. There is *NOTHING* even close to > this in revolution. Here, if you want to find your way through ...sure there is. You have to roll your own, but it's not that much transcript code. My libraries generate their own documentation through a javadoc-like mechanism. Check out, for example, my ArchiveSearch plugin on revonline and open the libDispatcher library. Click on the API button. And the ECMI document was developed as a way to provide library developers with a standardized way of documenting the api, among other things. If library developers don't follow this then it's no different from java developers not supplying javadoc comments or providing api documentation online. They're just conventions that have become fairly universally adopted. Not knowing *anything* about the internal workings of a library can cause much more pain in java than in rev, especially in areas of throwing exceptions and threading. -- -Mark Wieder mwieder at ahsoftware.net From jhurley at infostations.com Fri Mar 17 16:25:15 2006 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 17 Mar 2006 13:25:15 -0800 Subject: Draw spokes on a wheel In-Reply-To: <20060317180009.39216826383@mail.runrev.com> References: <20060317180009.39216826383@mail.runrev.com> Message-ID: > >Message: 10 >Date: Fri, 17 Mar 2006 10:26:30 -0800 >From: Mark Talluto >Subject: Draw spokes on a wheel >To: Revolution use Revolution >Message-ID: <5FB1A45C-F6E6-4033-8236-AB90C57C9D30 at canelasoftware.com> >Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > >Hello everyone, > >I need a little help drawing spokes to a wheel. This is actually >used in a vision test. I have an image here to help illustrate the >madness. I am sure someone like Jim Ault is shaking his head right >now. > >I have been using an image, but would like to offer the ability to >adjust the line length and thickness. The new antialiasing feature >will also be handy. Thanks for any input. > > >Mark Talluto >-- >CANELA Software >http://www.canelasoftware.com > Mark, You may be able to guess what my solution might be; that's right Turtle Graphics. on mouseUp startTurtle put 12 into tNumSpokes put 100 into tLengthSpokes repeat 360/tNumSpokes forward tLengthSpokes back tLengthSpokes left 360/tNumSpokes end repeat stopTurtle end mouseUp Paste this handler into a button in the stack: go url "http://home.infostations.net/jhurley/StopTurtles.rev" Or if you want something like the clock in your graphic; go url "http://home.infostations.net/jhurley/Build_a_clock.rev" There are lots of variations possible. Jim From sarah.reichelt at gmail.com Fri Mar 17 16:27:06 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 18 Mar 2006 07:27:06 +1000 Subject: Zoom/maximize box In-Reply-To: References: Message-ID: > In my app I manipulate screen elements when the user resizes the > window. For scaling Rev objects, the Geometry manager works well. I > do intercept and pass the resizeStack message to do a couple of > things, for example, reset the tabstops in a field, and redraw the > altBrowser pane. I use liveResizing simply out of personal > preference. It all works! > > Except...when I click that darn zoom box. On both Mac and Win > platforms, this causes my resizeStack handlers to fail. The Geometry > manager works, and I can see in the Message Watcher that resizeStack > is being sent, but for some reason there is no action. When I click > the box again to toggle back to the old size, BOOM, the items are > redrawn too big, reflecting the prior window size. The minute I grab > and drag the resize area in the lower right of the window, everything > snaps back to normal. > > So, what am I missing? Is there a message sent or some other way to > know specifically when the zoom box has been clicked? This works for me, but I don't use any Geometry Manager settings, I always do all my own resizing. Do you have the resizeStack message using it's parameters for the new width & height or are you getting them from the stack's properties? Maybe the properties aren't updated until after the maximize is finished, but using the parameters works fine here. There is an "iconifyStack" message sent when you minimize, but I don;t think there is a message for maximizing apart from resizeStack. Cheers, Sarah From dick.kriesel at mail.com Fri Mar 17 16:37:37 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 17 Mar 2006 13:37:37 -0800 Subject: Draw spokes on a wheel In-Reply-To: <5FB1A45C-F6E6-4033-8236-AB90C57C9D30@canelasoftware.com> Message-ID: On 3/17/06 10:26 AM, "Mark Talluto" wrote: > I need a little help drawing spokes to a wheel. This is actually > used in a vision test. I have an image here to help illustrate the > madness. I am sure someone like Jim Ault is shaking his head right > now. > > I have been using an image, but would like to offer the ability to > adjust the line length and thickness. The new antialiasing feature > will also be handy. Thanks for any input. Here's another way to draw the spokes: on drawAstig pInnerDiameter,pOuterDiameter,pLineSize repeat with i = 0 to 345 step 15 create graphic set the style of it to "oval" set the height of it to pOuterDiameter set the width of it to pOuterDiameter set the angle of it to i set the arcangle of it to 15 set the opaque of it to "true" set the lineSize of it to pLineSize end repeat create graphic set the style of it to "oval" set the height of it to pInnerDiameter set the width of it to pInnerDiameter set the opaque of it to "true" set the foregroundColor of it to "white" create graphic set the style of it to "oval" set the height of it to pOuterDiameter+5 set the width of it to pOuterDiameter+5 set the foregroundColor of it to "white" set the lineSize of it to pLineSize + 4 end drawAstig Applying the hour numbers seems to require a different approach. If you use turtle graphics, you can probably both draw the spokes and accurately position label fields containing the hour numbers. -- Dick From mark at maseurope.net Fri Mar 17 16:53:05 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 17 Mar 2006 21:53:05 +0000 Subject: Zoom/maximize box In-Reply-To: References: Message-ID: I have a dim memory of something like this, and I think the solution was introducing a small delay before invoking my own resizing handlers. So if you have all your code in an 'on resizeStack' handler, try moving it into an 'on customResize' handler, and then make your resizeStack handler: on resizeStack send "customResize" to me int 20 millisecs pass resizeStack end resizeStack This may or may not help, but I think something like it worked for me... Mark On 17 Mar 2006, at 19:48, Jon Seymour wrote: > Hi all, > > In my app I manipulate screen elements when the user resizes the > window. For scaling Rev objects, the Geometry manager works well. I > do intercept and pass the resizeStack message to do a couple of > things, for example, reset the tabstops in a field, and redraw the > altBrowser pane. I use liveResizing simply out of personal > preference. It all works! > > Except...when I click that darn zoom box. On both Mac and Win > platforms, this causes my resizeStack handlers to fail. The > Geometry manager works, and I can see in the Message Watcher that > resizeStack is being sent, but for some reason there is no action. > When I click the box again to toggle back to the old size, BOOM, > the items are redrawn too big, reflecting the prior window size. > The minute I grab and drag the resize area in the lower right of > the window, everything snaps back to normal. > > So, what am I missing? Is there a message sent or some other way to > know specifically when the zoom box has been clicked? > > Thanks, > > Jon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at derbrill.de Fri Mar 17 16:52:26 2006 From: revolution at derbrill.de (Malte Brill) Date: Fri, 17 Mar 2006 22:52:26 +0100 Subject: set the graphic "G" to x,y,.... In-Reply-To: <20060317180010.571AB8263F6@mail.runrev.com> Message-ID: <52829721-B600-11DA-B7F5-0030659A795C@derbrill.de> Mark Waddingham wrote: > We've noticed this here too and are looking into it. I've filed bug > 3397 about it for reference. Hi Mark, while you?re at it, any chance of speeding up: set the angle of image "myImage" to (any number that is not a multiple of 45) That would be really cool. :-) All the best, Malte -- ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From jerry at daniels-mara.com Fri Mar 17 17:05:38 2006 From: jerry at daniels-mara.com (Jerry Daniels) Date: Fri, 17 Mar 2006 16:05:38 -0600 Subject: Pass - is it really needed In-Reply-To: <441A6755.2060303@chipp.com> References: <8FF5068C-4B6D-4CB8-BA50-B6C418BC9B08@adelphia.net> <441A4779.1090501@hyperactivesw.com> <441A6755.2060303@chipp.com> Message-ID: <5CEEC473-56A7-4180-87AD-2959CF937523@daniels-mara.com> Actually, I thought of a serious answer to this dilemma. I was thinking of putting a "-- pass [sys msg name]" in every blank system message handler Constellation creates. That way the user could un-comment the "pass". Like Chipp, most of the time I find the "pass" in a default handler unneeded. The other approach is to include a pass on those system message handlers where it is likely to be needed--those being the ones that the Rev IDE counts on your passing, in particular. Jerry Buy Constellation from Runtime Revolution! http://revstudio.runrev.com/section/revselect/constellation/ On Mar 17, 2006, at 1:37 AM, Chipp Walters wrote: > Yep, I'd prefer Constellation not place a 'pass' automatically in > handlers. I'm sure Jerry will add it as a preference some day :-) > > -Chipp > > But, you gotta love the tabbed browsing AND the GREAT debugger > which doesn't flake out for no apparent reason. Jerry's told me > he's worked really hard on making the debugger as robust as > possible..and it shows. > > Thomas McGrath III wrote: >> That is correct. I finally see how powerful Constellation is in >> my work flow. >> On Mar 17, 2006, at 12:22 AM, J. Landman Gay wrote: >>> Thomas McGrath III wrote: >>> >>>> The reason I ask is that when I insert a new command it throws >>>> in a pass with that commands name by default. >>> >>> >>> This isn't native Revolution behavior. Are you using Constellation? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From userev at canelasoftware.com Fri Mar 17 17:24:48 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 17 Mar 2006 14:24:48 -0800 Subject: Draw spokes on a wheel In-Reply-To: <219E95AC-B5FA-11DA-B7F5-0030659A795C@derbrill.de> References: <219E95AC-B5FA-11DA-B7F5-0030659A795C@derbrill.de> Message-ID: <77C20E72-EA9D-42BE-9FDF-C60934AE8CC8@canelasoftware.com> Wow! Thanks for the quick help on this. Man...my math is really lacking. I'll be dissecting all the solutions below for some time. For the time being, I decided to bring all the solutions together for others to use and manipulate for your needs. One things is for sure, I owe each of you a drink of your choice at the RevCon in Monterey this year. I'll be the crazy guy walking around asking for each of you. Malte, your solution worked great! on mouseUp put item 1 of the loc of this cd into centerX put item 2 of the loc of this cd into centerY put 40 into isRadius put 60 into spokeLength repeat with isAngle=0 to 360 step 15 put centerX+cos(isAngle*pi/180)*isRadius into isNewX1 put centerY+sin(isAngle*pi/180)*isRadius into isNewY1 put centerX+cos(isAngle*pi/180)*(isRadius+spokeLength) into isNewX2 put centerY+sin(isAngle*pi/180)*(isRadius+spokeLength) into isNewY2 put round(isNewX1),round(isNewY1)&cr after pointlist put round(isNewX2),round(isNewY2)&cr&cr after pointlist end repeat set the points of grc "wheel" to pointlist end mouseUp +++++ Dick Kriesel, your solution worked extra perfectly as it even set up for the inner diameter, outer circumference, and the line size. Thanks to you as well. I decided to use this solution for my project. on drawAstig pInnerDiameter,pOuterDiameter,pLineSize repeat with i = 0 to 345 step 15 create graphic set the style of it to "oval" set the height of it to pOuterDiameter set the width of it to pOuterDiameter set the angle of it to i set the arcangle of it to 15 set the opaque of it to "true" set the lineSize of it to pLineSize end repeat create graphic set the style of it to "oval" set the height of it to pInnerDiameter set the width of it to pInnerDiameter set the opaque of it to "true" set the foregroundColor of it to "white" create graphic set the style of it to "oval" set the height of it to pOuterDiameter+5 set the width of it to pOuterDiameter+5 set the foregroundColor of it to "white" set the lineSize of it to pLineSize + 4 end drawAstig +++++ Jim Hurley, ahh yes...turtle graphics! This is now in my bag of tricks as well! Thanks! on mouseUp startTurtle put 12 into tNumSpokes put 100 into tLengthSpokes repeat 360/tNumSpokes forward tLengthSpokes back tLengthSpokes left 360/tNumSpokes end repeat stopTurtle end mouseUp Paste this handler into a button in the stack: go url "http://home.infostations.net/jhurley/StopTurtles.rev" Or if you want something like the clock in your graphic; go url "http://home.infostations.net/jhurley/Build_a_clock.rev" +++++ Jim Ault, your solution worked as well. Thanks for your help! Could you take a single line png, make copies, and rotate.positionAboutTheCenter them? Jim Hurly and Scott Rossi are far ahead of me in doing this sort of work (ballClock, windowShape, bezier curves, circles, polygon offsets) More than shaking my head, I'm rattling my brain and rolling my eyes... shake rattle and roll :-) See you all in Monterey! Mark Talluto -- CANELA Software http://www.canelasoftware.com From stevef at upnaway.com Fri Mar 17 17:26:48 2006 From: stevef at upnaway.com (Flavel Steve) Date: Sat, 18 Mar 2006 06:26:48 +0800 Subject: Thousands Separator on OSX In-Reply-To: <6.2.1.2.2.20060315143459.14a57c98@exchange.slg.com> References: <36B4BF48-B5F1-42A1-AEF8-027DBE6A5309@upnaway.com> <6.2.1.2.2.20060313144629.052ab798@exchange.slg.com> <6.2.1.2.2.20060315143459.14a57c98@exchange.slg.com> Message-ID: <26D685BC-BC36-4513-8B4F-59314F254689@upnaway.com> Thanks for all the help on this It appears to be a feature needed in Rev. However, I have found out that in Sweden, the decimal symbol and thousands separator used for numbers is not the same as those used for currency. On XP it appears that sDecimalSep, sMonDecimalSep and sThousandSep, sMonThousandSep provide this discrimination. But I return empty for put queryRegistry("HKEY_CURRENT_USER\Control Panel\International \sDecimalSep") into gDecimalPoint put queryRegistry("HKEY_CURRENT_USER\Control Panel\International \sThousandSep") into gThousandsSeparator I have two questions. 1. For XP, is it possible to get sDecimalSep and sThousandSep in Rev? 2. What is the story with OS X, is it possible to have this type of number discrimination at the system level? I am using OS X and compiling for Windows and Macintosh. Steve Flavel From userev at canelasoftware.com Fri Mar 17 17:44:41 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 17 Mar 2006 14:44:41 -0800 Subject: Pass - is it really needed In-Reply-To: <5CEEC473-56A7-4180-87AD-2959CF937523@daniels-mara.com> References: <8FF5068C-4B6D-4CB8-BA50-B6C418BC9B08@adelphia.net> <441A4779.1090501@hyperactivesw.com> <441A6755.2060303@chipp.com> <5CEEC473-56A7-4180-87AD-2959CF937523@daniels-mara.com> Message-ID: <1F589EA0-EC55-42EE-A0B0-76C8CED0187E@canelasoftware.com> On Mar 17, 2006, at 2:05 PM, Jerry Daniels wrote: > I was thinking of putting a "-- pass [sys msg name]" in every blank > system message handler Constellation creates. That way the user > could un-comment the "pass". Like Chipp, most of the time I find > the "pass" in a default handler unneeded. I would be one of those that would like it to just put the end [handler name] for me. On the rare occasions that I want parameters or pass or anything else, I'll just type them in myself. Mark Talluto -- CANELA Software http://www.canelasoftware.com From dcragg at lacscentre.co.uk Fri Mar 17 18:29:13 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 17 Mar 2006 23:29:13 +0000 Subject: Making the move... In-Reply-To: <17995335415.20060317102642@ahsoftware.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <17995335415.20060317102642@ahsoftware.net> Message-ID: <93C50FC5-5CBB-49CB-BB61-8AB2247B93C7@lacscentre.co.uk> On 17 Mar 2006, at 18:26, Mark Wieder wrote: > Marielle- > > Friday, March 17, 2006, 4:44:16 AM, you wrote: > >> many Japanese management concepts such as Total Quality Control, >> Quality Control circles, small group activities, labor relations. Key >> elements of Kaizen are quality, effort, involvement of all employees, >> willingness to change, and communication. > > Having been involved with Total Quality initiatives, Quality Control > Circles, etc, on this side of the pond I can say from experience that > they are doomed to failure because of underlying cultural differences. > Labor and social relationships are not structured in western societies > to provide the level of trust and support required to allow them to be > effective. Like Lynn, I've spent a long time in Japan, and my life still carries the trappings. I agree with what you say, Mark, but I think it isn't the whole picture. In the early 80s, a guy at a Japanese steel company explained to me how his time was being taken up with visiting Americans determined to learn the secrets of Japanese TQC. He felt they were wasting their time. Not because they were incapable of learning, but because there was nothing to learn. He said that Westerners will debate and evaluate various methods until they decide on the best approach. Japanese corporations, on the other hand, will take any method, good or bad, and make it work. Having subsequently worked with a number of large Japanese corporations, I think his comments were very shrewd. In other words, it's not that Japanese methods transferred to the west are doomed to failure, but rather that any method adopted by Japanese corporations is doomed to success. (But that was in the 80s, and plenty has changed since then.) Cheers Dave From sarah.reichelt at gmail.com Fri Mar 17 18:30:38 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 18 Mar 2006 09:30:38 +1000 Subject: Pass - is it really needed In-Reply-To: <1F589EA0-EC55-42EE-A0B0-76C8CED0187E@canelasoftware.com> References: <8FF5068C-4B6D-4CB8-BA50-B6C418BC9B08@adelphia.net> <441A4779.1090501@hyperactivesw.com> <441A6755.2060303@chipp.com> <5CEEC473-56A7-4180-87AD-2959CF937523@daniels-mara.com> <1F589EA0-EC55-42EE-A0B0-76C8CED0187E@canelasoftware.com> Message-ID: > > I was thinking of putting a "-- pass [sys msg name]" in every blank > > system message handler Constellation creates. That way the user > > could un-comment the "pass". Like Chipp, most of the time I find > > the "pass" in a default handler unneeded. > > > I would be one of those that would like it to just put the end > [handler name] for me. On the rare occasions that I want parameters > or pass or anything else, I'll just type them in myself. > I agree. There is a very small list of handlers where I usually have a pass: openStack, preOpenStack, openCard, preOpenCard. Apart from that I almost never use pass, so I would prefer it if Constellation left it out and I added it manually when needed. You could add another preference: add pass to all new handlers add pass to system messages only never add pass Cheers, Sarah From psahores at easynet.fr Fri Mar 17 18:32:41 2006 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 18 Mar 2006 00:32:41 +0100 Subject: Integrating Revolution and Flash In-Reply-To: <8CD3C97D72BC144CB87AEBAD8D2E973202DF1572@GAIA.FBL.insead.intra> References: <8CD3C97D72BC144CB87AEBAD8D2E973202DF1572@GAIA.FBL.insead.intra> Message-ID: Hi Pradeep, First, i would say yes, as long as flash can be handled trough javascript calls we can bind to transcript handlers (i do that* all the time, for my own *.js stored/used as global vars from inside my rev-based web applications servers). Second, i would recommand to use AJAX (prototype.js framework and accessories) as long as AJAX let us code all what can be managed from within flash without making us depend from the Macromedia proprietary solution. Just as a small example illustration of the AJAX potential All the Best to You and Albert, Le 17 mars 06 ? 10:14, MITTAL Pradeep Kumar a ?crit : > Hello, > > Is there any way to integrate revolution and flash ? > > Some way of placing Flash UI on top of Rev Card. > On top of revolution Object (lets say button ) one can put the flash > button. And when one clicks then revoluion button script is called. > Rev can create the XML file and then XML Data can be sent to flash swf > and vice versa. > > What do you think ? Is there anyone who has tried integrating rev an > flash? > > Best Regards > Pradeep > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From lynn at paradigmasoft.com Fri Mar 17 18:47:52 2006 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Fri, 17 Mar 2006 15:47:52 -0800 Subject: Making the move... In-Reply-To: <119105747897.20060317132013@ahsoftware.net> Message-ID: <1069483188-200868752@lindbergh.macserve.net> Hi all, I must have missed the fuse on this thread, sorry - I only caught it from Mark's response to Kaizen - sorry, Marielle, I accidentally deleted your list of concerns but have now a copy to review. Some of it Id like to discuss off list. Lets step away from the impending flames of non-product issues. Until Jacque finishes her time travel stack, there isnt much that can be done with history :-) 2006 will be a good year for Runtime as a company and Revolution as a product platform. There is a limit to the amount of detail I can go into in a public venue. There are some things we can discuss in more detail at RevCon West. I hope to all see you there. In the spirit of the season, please allow the baby bird to hatch out :-) Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From jspencer78 at mac.com Fri Mar 17 19:23:35 2006 From: jspencer78 at mac.com (James Spencer) Date: Fri, 17 Mar 2006 18:23:35 -0600 Subject: Pass - is it really needed In-Reply-To: References: <8FF5068C-4B6D-4CB8-BA50-B6C418BC9B08@adelphia.net> <441A4779.1090501@hyperactivesw.com> <441A6755.2060303@chipp.com> <5CEEC473-56A7-4180-87AD-2959CF937523@daniels-mara.com> <1F589EA0-EC55-42EE-A0B0-76C8CED0187E@canelasoftware.com> Message-ID: On Mar 17, 2006, at 5:30 PM, Sarah Reichelt wrote: > I agree. There is a very small list of handlers where I usually have a > pass: openStack, preOpenStack, openCard, preOpenCard. Apart from that > I almost never use pass, so I would prefer it if Constellation left > it out and I added it manually when needed. > > You could add another preference: > add pass to all new handlers > add pass to system messages only > never add pass ... and to be really perfect, a fourth preferences to add pass to system handlers selected from a list! Seriously, an option to add pass to system messages only would be very nice. Spence James P. Spencer Rochester, MN jspencer78 at mac.com "Badges?? We don't need no stinkin badges!" From lfredricks at proactive-intl.com Fri Mar 17 20:02:37 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 17 Mar 2006 17:02:37 -0800 Subject: Making the move... In-Reply-To: <93C50FC5-5CBB-49CB-BB61-8AB2247B93C7@lacscentre.co.uk> Message-ID: <20060318010243.1F4467F01A@spatula.dreamhost.com> > I agree with what you say, Mark, but I think it isn't the > whole picture. In the early 80s, a guy at a Japanese steel > company explained to me how his time was being taken up with > visiting Americans determined to learn the secrets of > Japanese TQC. He felt they were wasting their time. Not > because they were incapable of learning, but because there > was nothing to learn. He said that Westerners will debate and > evaluate various methods until they decide on the best > approach. Japanese corporations, on the other hand, will take > any method, good or bad, and make it work. Having > subsequently worked with a number of large Japanese > corporations, I think his comments were very shrewd. In other > words, it's not that Japanese methods transferred to the west > are doomed to failure, but rather that any method adopted by > Japanese corporations is doomed to success. (But that was in > the 80s, and plenty has changed since then.) That's true - I don't think the mentality has changed since that time, though economic shifts did have its social impact. Failure really isn't an option - they make it work. But it is possible to use Japanese methods and have strong, cohesive, quality minded teams, even with a few Americans walking on the tatami mats with muddy shoes ;-) It is just extremely hard to achieve. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From jacque at hyperactivesw.com Fri Mar 17 20:29:45 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 17 Mar 2006 19:29:45 -0600 Subject: Making the move... In-Reply-To: <1069483188-200868752@lindbergh.macserve.net> References: <1069483188-200868752@lindbergh.macserve.net> Message-ID: <441B6289.6070205@hyperactivesw.com> Lynn Fredricks wrote: > Until Jacque > finishes her time travel stack, there isnt much that can be done with > history :-) > > 2006 will be a good year for Runtime as a company and Revolution as a > product platform. Playing with the beta again, are you? ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Kresten.Bjerg at psy.ku.dk Fri Mar 17 21:20:00 2006 From: Kresten.Bjerg at psy.ku.dk (Kresten Bjerg) Date: Sat, 18 Mar 2006 03:20:00 +0100 Subject: Mind mapping in Rev ? Message-ID: Has anyone been experimenting with implementing elementary mind-mapping functions in Rev ? In our development of a global freeware e-diary tool we would like to include at least some options for users to build and update their own mind-maps, without having to pay many hundreds meals of rice for themselves or their kids to do it? But a search on this site hardly has a clue. If the INSPIRATION people could do it many many years ago, it shouldnt be that complicated ? And with the 100 dollar MIT laptop to Africa it might fit into a linux context ! Kresten Bjerg www.psy.ku.dk/bjerg/diary.htm - user site: "Phenomenalog" under name: Kresten From dick.kriesel at mail.com Fri Mar 17 21:32:17 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 17 Mar 2006 18:32:17 -0800 Subject: Draw spokes on a wheel In-Reply-To: <77C20E72-EA9D-42BE-9FDF-C60934AE8CC8@canelasoftware.com> Message-ID: On 3/17/06 2:24 PM, "Mark Talluto" wrote: > One things is for sure, I owe each of you a drink of your choice at the RevCon > in Monterey this year. With positive reinforcement like that, I'll do even better: on mouseUp drawAstig 50,200,225,2 end mouseUp on drawAstig pSpokeRadiusInner,pSpokeRadiusOuter,pLabelRadius,pLineSize go url "http://home.infostations.net/jhurley/StopTurtles.rev" start using stack "stopTurtles" -- note: thanks, Jim Hurley create stack set the width of it to 600 set the height of it to 600 go to it lock screen set the textSize of the templateField to 16 set the margins of the templateField to 1,7,0,0 startTurtle setH 75 -- note: set heading repeat with i = 1 to 24 penUp forward pSpokeRadiusInner penDown forward pSpokeRadiusOuter - pSpokeRadiusInner penUp if i mod 2 = 0 then forward pLabelRadius - pSpokeRadiusOuter label i div 2 set the width of last field to the formattedWidth of last field set the height of last field to the formattedHeight of last field back pLabelRadius else back pSpokeRadiusOuter end if right 15 end repeat stopTurtle set the lineSize of last graphic to pLineSize unlock screen end drawAstig RevConWest is sounding better and better... -- Dick From chipp at chipp.com Fri Mar 17 22:05:47 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 17 Mar 2006 21:05:47 -0600 Subject: Making the move... In-Reply-To: <1069483188-200868752@lindbergh.macserve.net> References: <1069483188-200868752@lindbergh.macserve.net> Message-ID: <441B790B.2050201@chipp.com> Interesting topic. I've probably logged over 30 trips to Japan since 1986. I once had the good fortune to meet with a Dr. Sasaki, the father of computer science in Japan for lunch. He was an original member of the ENIAC team here in the US. I mentioned to him that many years before, Japan had a reputation for cheap products, then they proved it wrong by creating high-quality products. I then mentioned the fact people said Japan couldn't create steel, to which they ended up virtually owning the steel industry. I furthered on with topics on consumer electronics, computers parts, computers, cars, etc..each time with Japan ultimately proving to the world their mastery of such industries. Finally, I said, the current knock on Japan was they couldn't develop software, and would they again prove the naysayer wrong? To my astonishment, he answered 'NO', the naysayers were correct. Japan would never be a great software development country. I asked him this 10 years ago, and didn't believe his answer. He gave 3 reasons for this: 1) The culture. Great software is typically created by a small group of only a few developers-- not the Japanese way of throwing manpower at a problem. Furthurmore, typcially good developers are not very social and can be obstinate (duh!), which again flys against the culture. And, the program all night when on a roll, then sleep all day type would never fly in a Japanese corporation. 2) It is very difficult for startup companies to begin in Japan. There are huge incorporation fees, plus it's almost impossible to go public, so it's difficult to find investors, Because the 'equity' of a software startup is not 'tangible', it's very difficult to get banks to become involved, and a good banking relationship is very important to startups. 3) Lastly, the best computer languages were based in English, and very different from the way Japanese read and write. I imagine much of this has changed in the past 10 years or so since we last talked, but I still believe many of his concerns have some validity. Of course, as recently as a couple of years ago, I toured a new CG Manga studio where people slept on the floor under the desks in makeshift tent-beds and generally had a more 'western' feel like many game studios do today. Of course, as they say, the proof is in the pudding. And, we've yet to see any big mainstream programs come out of Japan. But, there are some. I believe Shade 3D is a Japanese program (Lynn, you may know about this?). -Chipp From dick.kriesel at mail.com Fri Mar 17 22:28:27 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 17 Mar 2006 19:28:27 -0800 Subject: Mind mapping in Rev ? In-Reply-To: Message-ID: On 3/17/06 6:20 PM, "Kresten Bjerg" wrote: > Has anyone been experimenting with implementing elementary mind-mapping > functions in Rev ? Yes, I have, although I'd have to emphasize elementary. A user creates graphic objects like ovals to represent concepts, and connects them using the mouse to draw arrows. When the user moves the mouse over a concept graphic, the graphic changes color, and a field appears showing custom text, like a tool tip, but with arbitrarily long text. When the user moves the mouse over an arrow graphic, the arrow and the concepts it connects change color and show their custom text. When the user clicks custom text, it's unlocked and selected, so the user can edit it. When the user moves a graphic that has arrows to it or from it, the arrows move too. What do you want? By the way, according to conceptDraw.com, which offers a product called MINDMAP 4, Mind Mapping? and Mind Map? are registered trademarks of the Buzan Organization. -- Dick From userev at canelasoftware.com Fri Mar 17 23:01:48 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 17 Mar 2006 20:01:48 -0800 Subject: Draw spokes on a wheel In-Reply-To: References: Message-ID: On Mar 17, 2006, at 6:32 PM, Dick Kriesel wrote: > On 3/17/06 2:24 PM, "Mark Talluto" wrote: > >> One things is for sure, I owe each of you a drink of your choice >> at the RevCon >> in Monterey this year. > > With positive reinforcement like that, I'll do even better: > > on mouseUp > drawAstig 50,200,225,2 > end mouseUp > > on drawAstig > pSpokeRadiusInner,pSpokeRadiusOuter,pLabelRadius,pLineSize > go url "http://home.infostations.net/jhurley/StopTurtles.rev" > start using stack "stopTurtles" -- note: thanks, Jim Hurley > create stack > set the width of it to 600 > set the height of it to 600 > go to it > lock screen > set the textSize of the templateField to 16 > set the margins of the templateField to 1,7,0,0 > startTurtle > setH 75 -- note: set heading > repeat with i = 1 to 24 > penUp > forward pSpokeRadiusInner > penDown > forward pSpokeRadiusOuter - pSpokeRadiusInner > penUp > if i mod 2 = 0 then > forward pLabelRadius - pSpokeRadiusOuter > label i div 2 > set the width of last field to the formattedWidth of last field > set the height of last field to the formattedHeight of last > field > back pLabelRadius > else > back pSpokeRadiusOuter > end if > right 15 > end repeat > stopTurtle > set the lineSize of last graphic to pLineSize > unlock screen > end drawAstig > > RevConWest is sounding better and better... I hope this means you are coming. Thanks for taking another stab at this. Looks like Jim Hurley's turtle graphics has gotten a hold of you as well. I have been playing with all the solutions and have learned a lot from each. Thanks again and the drink still stands! Mark Talluto -- CANELA Software http://www.canelasoftware.com From gcanyon at inspiredlogic.com Sat Mar 18 00:18:34 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri, 17 Mar 2006 21:18:34 -0800 Subject: Get a handler from a script In-Reply-To: <786E7FF8-BD8A-4300-A420-82CB1D1AC0C2@maseurope.net> References: <38D6B541-DA1E-419F-B258-525DA4179819@adelphia.net> <30F16774-926D-4118-BC47-26CE326028FD@inspiredlogic.com> <786E7FF8-BD8A-4300-A420-82CB1D1AC0C2@maseurope.net> Message-ID: Do you want them even though they are commented, or do you not want them? For Navigator I don't care about commented handlers although I suppose maybe I should. Since a comment relieves you of syntax requirements, this line is perfectly legitimate: -- I've commented out this handler: on doSomething I'm going to ignore such handlers, since they're just annoying. ;-) That leaves two possibilities: -- on doSomething --on doSomething So change the statement below to: if (word 1 of L is among the items of \ "on,function,getprop,setprop,--on,--function,--getprop,--setprop" and...etc.) \ or (word 1 of L is "--" and \ word 2 of L is among the items of "on,function,getprop,setprop" and...etc.) regards, Geoff On Mar 17, 2006, at 9:09 AM, Mark Smith wrote: > Lucid and thorough, as usual. And we'd all forgotten about 'Prop' > handlers. > However, to nitpick, and raise a question from earlier in the > thread, what about handlers that are commented out? > > hmmm..not as simple as it might seem... > > Mark > > On 17 Mar 2006, at 16:16, Geoff Canyon wrote: > >> >> On Mar 16, 2006, at 5:25 PM, Thomas McGrath III wrote: >> >>> But, I would like to get just one of the handlers from a script >>> via script: put handler "FooBar" of the script of card "Foo" >>> into tBar >> >> Most of the solutions presented so far make assumptions. For >> example, there can be more than one space between "on" and the >> handler name. >> >> In Navigator I use this to retrieve a list of the handler names: >> >> repeat for each line L in tText -- tText is the script >> if word 1 of L is among the items of >> "on,function,getprop,setprop" then >> put L & cr after tMenuText >> end if >> end repeat >> >> So to get the handler you would be doing something like: >> >> put 0 into tLineNumber >> put false into tEnteredHandler >> repeat for each line L in tText -- tText is the script >> add 1 to tLineNumber >> if word 1 of L is among the items of >> "on,function,getprop,setprop" and \ >> word 2 of L is tHandlerName then >> put tLineNumber into tStartLineNumber >> put true into tEnteredHandler >> end if >> if tEnteredHandler and \ >> word 1 of L is "end" and \ >> word 2 of L is tHandlerName then >> put tLineNumber into tEndLineNumber >> exit repeat >> end if >> end repeat >> >> -- if tEnteredHandler is false, we didn't find the handler >> -- if tEnteredHandler is true, tStartLineNumber is where it starts, >> -- tEndLineNumber is where it ends >> >> regards, >> >> Geoff >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From JimAultWins at yahoo.com Sat Mar 18 01:17:00 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 17 Mar 2006 22:17:00 -0800 Subject: Draw spokes on a wheel In-Reply-To: <77C20E72-EA9D-42BE-9FDF-C60934AE8CC8@canelasoftware.com> Message-ID: One note of caution: you might want to make the first three lines of the script repeat with x = the number of graphics down to 1 delete graphic x end repeat otherwise redoing/redrawing will keep adding graphics and give slower and slower performance. Happy you found a solution... and I will be tuning in to see what you come up with and add it to my Syntax Lib !! Jim Ault Las Vegas On 3/17/06 2:24 PM, "Mark Talluto" wrote: > Dick Kriesel, your solution worked extra perfectly as it even set up > for the inner diameter, outer circumference, and the line size. > Thanks to you as well. I decided to use this solution for my project. > > on drawAstig pInnerDiameter,pOuterDiameter,pLineSize > repeat with i = 0 to 345 step 15 > create graphic > set the style of it to "oval" > set the height of it to pOuterDiameter > set the width of it to pOuterDiameter > set the angle of it to i > set the arcangle of it to 15 > set the opaque of it to "true" > set the lineSize of it to pLineSize > end repeat > create graphic > set the style of it to "oval" > set the height of it to pInnerDiameter > set the width of it to pInnerDiameter > set the opaque of it to "true" > set the foregroundColor of it to "white" > create graphic > set the style of it to "oval" > set the height of it to pOuterDiameter+5 > set the width of it to pOuterDiameter+5 > set the foregroundColor of it to "white" > set the lineSize of it to pLineSize + 4 > end drawAstig From dick.kriesel at mail.com Sat Mar 18 01:26:19 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 17 Mar 2006 22:26:19 -0800 Subject: Draw spokes on a wheel In-Reply-To: Message-ID: On 3/17/06 8:01 PM, "Mark Talluto" wrote: > I hope this means you are coming. Yes, as a fine southern gentleman I know said, "God willin' and the creek don't rise." > Thanks for taking another stab at this. You're welcome. You didn't note whether it worked for you. Did it? > Looks like Jim Hurley's turtle graphics has gotten a hold of you as well. Long ago, it was Logo's turtle graphics that got hold of me. Jim's implementation enabled the simple solution. Thanks, Jim. -- Dick From herz at ucsd.edu Sat Mar 18 02:15:42 2006 From: herz at ucsd.edu (Richard K. Herz) Date: Fri, 17 Mar 2006 23:15:42 -0800 Subject: Making the move... In-Reply-To: <20060317212345.1630B826848@mail.runrev.com> References: <20060317212345.1630B826848@mail.runrev.com> Message-ID: <441BB39E.5030207@ucsd.edu> > I had the pleasure of serving tiramisu A gracious host, Richard G. is! Thanks for your full meal of a post as well as your deserts. Rich From shaosean at hotmail.com Sat Mar 18 02:35:08 2006 From: shaosean at hotmail.com (Sean Shao) Date: Sat, 18 Mar 2006 02:35:08 -0500 Subject: [REQ] Testers needed Message-ID: In the next few days I will be finishing up development and internal testing of a custom listbox object and will be needing testers. Information about the listbox object (and a single screen capture) is available at my website. The listbox object comes with a visual editor to allow you to place controls in the row. Controls currently supported are: - standard buttons - rectangle buttons - checkboxes - radio buttons - option menus - label fields - text fields - images - movies (and I guess audio files too) Other features also include: - setting the row colour - setting an alternate colour (ala mac os x) - setting a mouse enter colour - setting a selected row colour -Sean _________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfee? Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From shaosean at hotmail.com Sat Mar 18 02:35:27 2006 From: shaosean at hotmail.com (Sean Shao) Date: Sat, 18 Mar 2006 02:35:27 -0500 Subject: [REQ] Testers needed Message-ID: In the next few days I will be finishing up development and internal testing of a custom listbox object and will be needing testers. Information about the listbox object (and a single screen capture) is available at my website. The listbox object comes with a visual editor to allow you to place controls in the row. Controls currently supported are: - standard buttons - rectangle buttons - checkboxes - radio buttons - option menus - label fields - text fields - images - movies (and I guess audio files too) Other features also include: - setting the row colour - setting an alternate colour (ala mac os x) - setting a mouse enter colour - setting a selected row colour -- Sean _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From userev at canelasoftware.com Sat Mar 18 03:20:45 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Sat, 18 Mar 2006 00:20:45 -0800 Subject: Draw spokes on a wheel In-Reply-To: References: Message-ID: On Mar 17, 2006, at 10:26 PM, Dick Kriesel wrote: > You're welcome. You didn't note whether it worked for you. Did it? It worked very well. I did end up using Malte's solution because I was able to modify it easily enough to have it rotate as needed. I will be tinkering with the turtle graphics that Jim has developed. I learned a lot from all the solutions indeed! Thx again! Mark Talluto -- CANELA Software http://www.canelasoftware.com From userev at canelasoftware.com Sat Mar 18 03:21:39 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Sat, 18 Mar 2006 00:21:39 -0800 Subject: Draw spokes on a wheel In-Reply-To: References: Message-ID: <31CA1D4C-BA99-4BE7-894C-0592397486C0@canelasoftware.com> On Mar 17, 2006, at 10:17 PM, Jim Ault wrote: > Happy you found a solution... and I will be tuning in to see what > you come > up with and add it to my Syntax Lib !! I ended up going back to Malte's solution and borrowed your ideas of setting up the variables for quick manipulation. The hybrid result is coming out real nice. I will even have it rotating in a day or so in my application when I get back from a conference this weekend. My test stack shows it all works very nicely. Thanks again for your help! Mark Talluto -- CANELA Software http://www.canelasoftware.com From katir at hindu.org Sat Mar 18 04:40:22 2006 From: katir at hindu.org (Sivakatirswami) Date: Fri, 17 Mar 2006 23:40:22 -1000 Subject: DRM for Images and Text in Stacks In-Reply-To: <6A2645BE-83C8-4A07-84A7-8240F4BDE087@canelasoftware.com> References: <6A2645BE-83C8-4A07-84A7-8240F4BDE087@canelasoftware.com> Message-ID: 1) The "bad guys" are in my "dream world" are other owners of the Rev IDE, which has in this future world, become as ubiquitous as Acrobat Professional. It implies that Rev actually does become wildly popular... In that world, not all will be as scrupulous as our current obviously rapidly growing group of Rev users. The "bad guys" are people in need of content for their projects or web sites who use our content. It's already happening... with images from our web sites now, which is fine because we own it all. Within 72 hours of going live with "http://www.himalayanacademy.com/resources/books/dws/" the site was indexed by Google, hit on by users to browse and others took images which started appearing on other servers, which was fine in this case because we owned it all. "Bad" implies that these people are "criminals" but actually we don't think like that at all, we tend to deploy stuff rather freely and it looks that way to everyone and so they take it and re use it and we never do much about it... "share with the world" model.. It save an enormous amount of mental reestate that would other wise be invested in protection and yet still be able to draw some "lines" inside the media itself where users see "can't go there..." 2) Yes, all the options for encryption and storing the media externally are all there. But I would still a) like to be able to have the media in the stack and b) see a drop dead simple option to block viewing of substacks in the IDE... because i) encrypt, decrypt and display is sluggish, of course you script around even that by unpacking media in advance of display.. but then ii) CMS starts to get complicated if you separate the media from the stack. it gets back to use of mental re-estate invested in the "protection" business. It's just so "neat" to have it all in the stack. This makes it very portable, and, side benefit: scripting the presentation to an amazingly "baby" simple set of "Go Next Card" handlers with a few transitions. Or, if one is in a "do it all on one card" mood.., then hide and show handlers... Anyway, thanks for all the solutions.. I've put in my feature request, something as brainless as "set security" in the IDE, check that box for the substack and that's the beginning and end of time and effort in the protection business. 'til then all your good ideas are in my tool box... I'll try some. Sivakatirswami Himalayan Academy Publications www.HimalayanAcademy.com, www.HinduismToday.com On Mar 17, 2006, at 8:28 AM, Mark Talluto wrote: > On Mar 17, 2006, at 8:57 AM, Stephen Barncard wrote: > >> Why can't you protect the access online to the files on a secure >> server rather than try to protect the media? Who or what are the >> 'bad guys'?? >> >> sqb > > > Can the files be outside the application in a "data" folder > perhaps? If so, you could just encrypt them with a setup app. > Your player or media app would then import the encrypted file, > decrypt it, and then show it. All the while, the download media is > encrypted and safe. From sims at ezpzapps.com Sat Mar 18 05:27:15 2006 From: sims at ezpzapps.com (sims) Date: Sat, 18 Mar 2006 11:27:15 +0100 Subject: DRM for Images and Text in Stacks In-Reply-To: References: <6A2645BE-83C8-4A07-84A7-8240F4BDE087@canelasoftware.com> Message-ID: At 11:40 PM -1000 3/17/06, Sivakatirswami wrote: >see a drop dead simple option to block viewing of substacks in the IDE... If you place in the stack script of one of these files you are sending 'out into the world' (iow - not an in-house production file that you might use later for working on) the following script: if the environment is "development" then quit does that not prevent someone from opening it up in the IDE? ciao, sims From katir at hindu.org Sat Mar 18 05:39:44 2006 From: katir at hindu.org (Sivakatirswami) Date: Sat, 18 Mar 2006 00:39:44 -1000 Subject: DRM for Images and Text in Stacks In-Reply-To: References: <6A2645BE-83C8-4A07-84A7-8240F4BDE087@canelasoftware.com> Message-ID: <8A57CA63-03B6-40ED-B19B-196E3EBE315D@hindu.org> On Mar 18, 2006, at 12:27 AM, sims wrote: > At 11:40 PM -1000 3/17/06, Sivakatirswami wrote: >> see a drop dead simple option to block viewing of substacks in the >> IDE... > > If you place in the stack script of one of these files you are sending > 'out into the world' (iow - not an in-house production file that you > might use later for working on) the following script: > > if the environment is "development" then quit > > does that not prevent someone from opening it up in the IDE? mmm. I'm reviewing all the memos to date on this and see you already mentioned this. OK yes, I think this is "doable" I will try it. I wonder how hackable this could be from inside the IDE if one were to place that line into just the script of the substack "library" > > ciao, > sims From sims at ezpzapps.com Sat Mar 18 05:41:45 2006 From: sims at ezpzapps.com (sims) Date: Sat, 18 Mar 2006 11:41:45 +0100 Subject: DRM for Images and Text in Stacks In-Reply-To: <8A57CA63-03B6-40ED-B19B-196E3EBE315D@hindu.org> References: <6A2645BE-83C8-4A07-84A7-8240F4BDE087@canelasoftware.com> <8A57CA63-03B6-40ED-B19B-196E3EBE315D@hindu.org> Message-ID: >On Mar 18, 2006, at 12:27 AM, sims wrote: > >>At 11:40 PM -1000 3/17/06, Sivakatirswami wrote: >>>see a drop dead simple option to block viewing of substacks in the IDE... >> >>If you place in the stack script of one of these files you are sending >>'out into the world' (iow - not an in-house production file that you >>might use later for working on) the following script: >> >>if the environment is "development" then quit >> >>does that not prevent someone from opening it up in the IDE? > >mmm. I'm reviewing all the memos to date on this and see you >already mentioned this. > >OK yes, I think this is "doable" I will try it. I wonder how >hackable this could be from inside the IDE if one were to place that >line into just the script of the substack "library" > >> >>ciao, >>sims > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From sims at ezpzapps.com Sat Mar 18 05:52:21 2006 From: sims at ezpzapps.com (sims) Date: Sat, 18 Mar 2006 11:52:21 +0100 Subject: DRM for Images and Text in Stacks In-Reply-To: <8A57CA63-03B6-40ED-B19B-196E3EBE315D@hindu.org> References: <6A2645BE-83C8-4A07-84A7-8240F4BDE087@canelasoftware.com> <8A57CA63-03B6-40ED-B19B-196E3EBE315D@hindu.org> Message-ID: At 12:39 AM -1000 3/18/06, Sivakatirswami wrote: >>if the environment is "development" then quit With one app I... placed QuickTime videos into a userprop inside of individual files that had the above script. I then had an app open that file, grab the userprop, and create a QT video as a temporary file. Then the appropriate player object played that video and when it was finished playing the app would then delete that temp file. Seemed to keep everything well hidden, maybe not 100% foolproof but what is? ;-) ciao, sims European Rev Conference 2006 www.techietours.com From dam-pro.girard at laposte.net Sat Mar 18 05:55:23 2006 From: dam-pro.girard at laposte.net (Girard Damien) Date: Sat, 18 Mar 2006 10:55:23 -0000 Subject: Problem with a switch control structure Message-ID: Hi all, I have got this script, and I have got a problem. put "1" into toto switch toto case toto > 1 answer ">1" break case toto < 1 answer "<1" break case toto = 1 answer "=1" break end switch The problem is that none of these case is executed. Problably I have forget something, but I don't know what. Regards, Girard Damien From klaus at major-k.de Sat Mar 18 07:13:17 2006 From: klaus at major-k.de (Klaus Major) Date: Sat, 18 Mar 2006 13:13:17 +0100 Subject: Problem with a switch control structure In-Reply-To: References: Message-ID: <6D529DC0-5629-4E0B-82FD-8208A10A9BDB@major-k.de> Bonjour Girard, > Hi all, > > I have got this script, and I have got a problem. > > put "1" into toto > switch toto > case toto > 1 > answer ">1" > break > case toto < 1 > answer "<1" > break > case toto = 1 > answer "=1" > break > end switch > > The problem is that none of these case is executed. Problably I > have forget something, but I don't know what. this will work: put "1" into toto switch ## without toto, since in this case we have an EXPRESSION ## and not a VALUE that has to be evaluated... case toto > 1 answer ">1" break case toto < 1 answer "<1" break case toto = 1 answer "=1" break end switch Check the docs for a deeper explanation of "why" :-) > Regards, > > Girard Damien Regards Klaus Major klaus at major-k.de http://www.major-k.de From effendi at wanadoo.fr Sat Mar 18 07:32:47 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 18 Mar 2006 13:32:47 +0100 Subject: The long answer on when to use a function vs command Message-ID: Geoff, I thought your article was excellent also ...... Thanks -Francis "Nothing should ever be done for the first time !" > I wrote an article about this. It's at: > > http://inspiredlogic.com/articles/functions.html > > It gives several examples. From effendi at wanadoo.fr Sat Mar 18 09:29:04 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 18 Mar 2006 15:29:04 +0100 Subject: Positioning the message box ? Message-ID: <2517911fbf2fb533cdfe38493f54e994@wanadoo.fr> Hi Sarah, Using "show" seems to be the problem. If you just do something like: set the rect of stack "Message box" to 137,554,538,696 put "Here I am" it will stay in the right place. As you suggested, this works, BUT under Dreamcard development. Unfortunately under Stack Runner (both Mac and PC), not only does this not work, but it blows my script on the command "set". even when preceded by a : show message box In all events, under Stack Runner, both the : show message box and the put "xxx" into message box are both inoperative ! Not a message box on the horizon ! In the doc, nothing specifies that the functions are only for developing applications. Would this be a bug (shudder !) ? However - thanks for the suggestions -Francis "Nothing should ever be done for the first time !" From lfredricks at proactive-intl.com Sat Mar 18 09:33:05 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 18 Mar 2006 06:33:05 -0800 Subject: Making the move... In-Reply-To: <441B790B.2050201@chipp.com> Message-ID: <20060318143310.9F8777F01A@spatula.dreamhost.com> Hi Chipp, Yes, this is a very relevant list, though some things have changed at bit. > He gave 3 reasons for this: > > 1) The culture. Great software is typically created by a > small group of only a few developers-- not the Japanese way > of throwing manpower at a problem. Furthurmore, typcially > good developers are not very social and can be obstinate > (duh!), which again flys against the culture. And, the > program all night when on a roll, then sleep all day type > would never fly in a Japanese corporation. There is a growing "studio" mentality in Japan and also, the weirdness that is family owned business. A few years ago, a merger between Sega and Bandai failed because Bandai is a family run business, and Sega is more mainstream (actually they have a more hardcore, no prisoners culture comparable to Oracle). What Chipp is referring to above is interesting because, it rarely happens in the office but it can happen in incremental improvements happening on the "floor" -- where suits rarely go. A surprising amount of those incremental improvemetns come from the floor. > 2) It is very difficult for startup companies to begin in > Japan. There are huge incorporation fees, plus it's almost > impossible to go public, so it's difficult to find investors, > Because the 'equity' of a software startup is not 'tangible', > it's very difficult to get banks to become involved, and a > good banking relationship is very important to startups. This has gotten better in some ways, worse in others. When the Japanese bubble economy popped, quite a few banks simply closed, merged or were bought out. While there is now a VC climate in Japan, I don't think its really made up for the hard times. At one time simple incorporation stamp cost you $10K. Now it is possible to get by with much less, or create a foreign subsidiary without the huge paid in capital requirements of yore. > 3) Lastly, the best computer languages were based in English, > and very different from the way Japanese read and write. And in addition, the computer industry was dominated by the NEC 9800 platform, which was close but not quite the same as the AT architecture here - dominated as in Microsoft made versions of DOS and Windows for it. Id say this is one of the reasons why the Mac maintained a foothold longer in Japan than in other places - the mainstream x86 architecture had to compete with the NEC platform. > I imagine much of this has changed in the past 10 years or so > since we last talked, but I still believe many of his > concerns have some validity. Of course, as recently as a > couple of years ago, I toured a new CG Manga studio where > people slept on the floor under the desks in makeshift > tent-beds and generally had a more 'western' feel like many > game studios do today. Yes, and I think there is a certain infectiousness to this as well, esp in creative industries. > Of course, as they say, the proof is in the pudding. And, > we've yet to see any big mainstream programs come out of > Japan. But, there are some. > I believe Shade 3D is a Japanese program (Lynn, you may know > about this?). Yes, and while it is a great product, the mid-market (and up) marketspace for 3D applications, as a vertical market, has been in a total bloodbath for years -- and its gotten much worse with the acquisition of Alias. Shade is an excellent example. Its quite good, esp if you come from a CAD or architecture background. E-frontier, makers of Shade, acquired Curious Labs (makers of Poser) now little over two years ago, and they are making some of those famous Japanese improvements to Shade to adapt to the US market. They also have a good US staff that really know the 3D industry here. Another piece of software that is Japanese is --- the Ruby language. My first company did a lot of work with early Japanese game companies (back in the Super Nintendo days) and while the underlying software was incredibly fast (written mostly in assembly, with very little of that wimpy C or C++ stuff ;-)) - it seemed that almost all the games were exactly the same, except for some funny graphics and backstory. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From rcozens at pon.net Sat Mar 18 10:19:06 2006 From: rcozens at pon.net (Rob Cozens) Date: Sat, 18 Mar 2006 07:19:06 -0800 Subject: Rev 2.7 needs to close In-Reply-To: References: <000801c649e7$c85a4530$6401a8c0@toshibauser> <4D72552F-B5EC-11DA-9CFB-0030657E1638@pon.net> Message-ID: <8A3F84F4-B692-11DA-A398-0030657E1638@pon.net> Hi Stephen, > We may have 2 bug numbers for the same bug... > > sqb: > clicking or dragging text randomly fatally crashes rev. Sometimes core > dump dialog appears. > *Confirmed with 2 apple debug dumps sent to runrev. > > Rob: > > > is this possible? > Yes...my mistake: I checked under Standalone Editor before logging 3395; but 3359 is listed under OS Crash Logs. Also I was listing the problem for WinXP and 3359 listed the platform as OSX. Is 3359 restricted to the Script Editor, or do you see the problem with field text as well? I'll add a comment to 3395 cross-referencing 3359 [interesting coincidental digit transposition, eh?]. Perhaps you should also enter a cross reference to 3395 at 3359? 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) From rcozens at pon.net Sat Mar 18 10:43:01 2006 From: rcozens at pon.net (Rob Cozens) Date: Sat, 18 Mar 2006 07:43:01 -0800 Subject: imagedata in Word XML In-Reply-To: References: <9614903A-563B-4CEA-937E-33F2ABAC8722@iglow-media.nl> Message-ID: Gordy, et al: > Well, even though you decode the information from the WordML file, now > you have a binary representation of a PNG or JPEG, etc., and that is > not in a format proper for imageData, which is an array of 4-byte > integers, each integer representing one pixel. You will have to > base-64 decode the information in the WordML file and then read it in > as if you were reading an image file off a disk, etc. This will > decompress the information that is encoded in the file and then you > can use the result as imageData. > Are you sure the result should be used as the imageData of an image rather than its text? I don't know exactly what is stored in WordML; but my understanding is that the text of an image is the actual binary content of the image file, while the imageData is a Rev-proprietary representation of the image as currently displayed. 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) From jhurley at infostations.com Sat Mar 18 11:11:40 2006 From: jhurley at infostations.com (Jim Hurley) Date: Sat, 18 Mar 2006 08:11:40 -0800 Subject: Draw spokes on a wheel In-Reply-To: <20060318141758.8D5AD8265A9@mail.runrev.com> References: <20060318141758.8D5AD8265A9@mail.runrev.com> Message-ID: > >Message: 21 >Date: Sat, 18 Mar 2006 00:20:45 -0800 >From: Mark Talluto >Subject: Re: Draw spokes on a wheel >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > >On Mar 17, 2006, at 10:26 PM, Dick Kriesel wrote: > >> You're welcome. You didn't note whether it worked for you. Did it? > >It worked very well. I did end up using Malte's solution because I >was able to modify it easily enough to have it rotate as needed. I >will be tinkering with the turtle graphics that Jim has developed. I >learned a lot from all the solutions indeed! Thx again! > > >Mark Talluto >-- >CANELA Software >http://www.canelasoftware.com > Mark, And to modify the TG handler to rotate the spokes: on mouseUp startTurtle put 12 into tNumSpokes put 100 into tLengthSpokes repeat with tAngle = 0 to 358 step 2 seth tAngle --Short for setHeading repeat 360/tNumSpokes fd tLengthSpokes bk tLengthSpokes left 360/tNumSpokes end repeat stopTurtle cleanPts unlock screen --This last line is only necessary in Mac OSX. --Kevin tells me that this screen refresh problem in OSX will be fixed in 2.7.1 end repeat end mouseUp For fun and games with rolling you may want to look at: go url " http://home.infostations.net/jhurley/Rolling.rev" Run Rev has expressed an interest in implementing TG in Revolution. Be nice to have a new control, a turtle control (multiple turtles like multiple graphic objects) that responds to the TG vocabulary. Jim From lynn at paradigmasoft.com Sat Mar 18 11:22:53 2006 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Sat, 18 Mar 2006 08:22:53 -0800 Subject: Resources Page - Submit Your Updates Now Message-ID: <1069423485-204450896@lindbergh.macserve.net> Hi all, An update is coming on the Resources & Support page REAL SOON NOW. If you have a contribution of the following type, please email me directly and offlist with the following information: Website Name: Website URL: Website/Resource Description: (keep it under 100 words) If information is not in English, identify the language. We can include foreign language descriptions of any language our staff understands (or that we can figure out what it says). Here are the sections - Externals and IDE Add-on Developers Free Learning Resources Revolution User Groups Revolution News Coursework and Training There is a separate consultants page that was updated with the website a few weeks ago. After a number of pages that havent seen updates in a while are updated, all user submitted resources will get put on a regular review schedule so that they stay fresh and up-to-date. Any links that are on the current Resource & Support page that go nowhere or havent been updated in years may get tossed out. Be aware that submissions will be edited to fit the overall presentation of the site. If your site is hugely devoted to other topics it may not make the cut. Final item - I need these over the weekend to be sure they get in this update. If you miss out, just be patient. A proper form will go up as part of the update, so order shall prevail and refreshing will happen on a regular schedule. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From jhurley at infostations.com Sat Mar 18 11:33:46 2006 From: jhurley at infostations.com (Jim Hurley) Date: Sat, 18 Mar 2006 08:33:46 -0800 Subject: Draw spokes on a wheel In-Reply-To: <20060318141758.8D5AD8265A9@mail.runrev.com> References: <20060318141758.8D5AD8265A9@mail.runrev.com> Message-ID: > >Message: 11 >Date: Fri, 17 Mar 2006 18:32:17 -0800 >From: Dick Kriesel >Subject: Re: Draw spokes on a wheel >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset="US-ASCII" > >On 3/17/06 2:24 PM, "Mark Talluto" wrote: > >> One things is for sure, I owe each of you a drink of your choice >>at the RevCon >> in Monterey this year. > >With positive reinforcement like that, I'll do even better: > >on mouseUp > drawAstig 50,200,225,2 >end mouseUp > >on drawAstig pSpokeRadiusInner,pSpokeRadiusOuter,pLabelRadius,pLineSize > go url "http://home.infostations.net/jhurley/StopTurtles.rev" > start using stack "stopTurtles" -- note: thanks, Jim Hurley > create stack > set the width of it to 600 > set the height of it to 600 > go to it > lock screen > set the textSize of the templateField to 16 > set the margins of the templateField to 1,7,0,0 > startTurtle > setH 75 -- note: set heading > repeat with i = 1 to 24 > penUp > forward pSpokeRadiusInner > penDown > forward pSpokeRadiusOuter - pSpokeRadiusInner > penUp > if i mod 2 = 0 then > forward pLabelRadius - pSpokeRadiusOuter > label i div 2 > set the width of last field to the formattedWidth of last field > set the height of last field to the formattedHeight of last field > back pLabelRadius > else > back pSpokeRadiusOuter > end if > right 15 > end repeat > stopTurtle > set the lineSize of last graphic to pLineSize > unlock screen >end drawAstig > >RevConWest is sounding better and better... > -- Dick Dick, Ah, ha, A TG pro. Thanks. My apologies to all for not responding in order to the posts on this thread. I get the digest version of the list--it comes all at once. It has become a bit overwhelming recently. So much, so fast. I have only the vaguest idea of what's going on. Jim From mwieder at ahsoftware.net Sat Mar 18 11:47:30 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 18 Mar 2006 08:47:30 -0800 Subject: Making the move... In-Reply-To: <20060318143310.9F8777F01A@spatula.dreamhost.com> References: <20060318143310.9F8777F01A@spatula.dreamhost.com> Message-ID: <451128903.20060318084730@ahsoftware.net> Lynn- Saturday, March 18, 2006, 6:33:05 AM, you wrote: > Another piece of software that is Japanese is --- the Ruby language. Ah... you beat me to it. I was going to chime in about Ruby. > Lynn Fredricks > Worldwide Business Operations > Runtime Revolution, Ltd ...love the new sig... -- -Mark Wieder mwieder at ahsoftware.net From jrarick at hpsk12.net Sat Mar 18 12:55:04 2006 From: jrarick at hpsk12.net (Jack Rarick) Date: Sat, 18 Mar 2006 12:55:04 -0500 Subject: More Videograbber issues Message-ID: I want to first thank Richard Miller for his quick and accurate response to my issue of using Firewire with videograbber. Richard pointed out that one of the parameters needed to be changed to DirectX. Again, thank you. Now, can anyone point me in the direction of the best Codec to use? Compression is NOT an issue. Quality of the video is. I am moving an application from the Mac to the PC and need to be able to bring in video in high quality using generic equipment. Any DV Firewire camera and and PC with a Firewire port. I'm trying to write a very basic app that compares just a little to iMovie on the Mac. Any and all ideas will be very appreciated. Thanks in advance, Jack Rarick Braintree Athletic Systems From gcanyon at inspiredlogic.com Sat Mar 18 13:12:17 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat, 18 Mar 2006 10:12:17 -0800 Subject: Get a handler from a script In-Reply-To: References: <38D6B541-DA1E-419F-B258-525DA4179819@adelphia.net> <30F16774-926D-4118-BC47-26CE326028FD@inspiredlogic.com> <786E7FF8-BD8A-4300-A420-82CB1D1AC0C2@maseurope.net> Message-ID: <90B8DBFB-29A2-49EF-BF95-D8CD5A5B4206@inspiredlogic.com> On Mar 17, 2006, at 9:18 PM, Geoff Canyon wrote: > So change the statement below to: > > if (word 1 of L is among the items of \ > "on,function,getprop,setprop,--on,--function,--getprop,--setprop" > and...etc.) \ > or (word 1 of L is "--" and \ > word 2 of L is among the items of "on,function,getprop,setprop" > and...etc.) I rewrote this to handle numerous options. This has been lightly tested. It should handle all three forms of comments: -- # /*...*/ It should handle all cases where there isn't intervening text, so: --on myHandler # function myFunction /*getProp myProp end myProp*/ /* setProp myProp end myProp */ The script editor _hates_ the structure I used. If you format this in the script editor, the indentation will be all out of whack. I've corrected it here I think (for clarity). put 0 into tLineNumber put false into tEnteredHandler repeat for each line L in tText -- tText is the script add 1 to tLineNumber get word 1 of L if it is among the items of "--,#,/*" then put 3 into tHandlerWord get word 2 of L else put 2 into tHandlerWord end if if char 1 of it is "#" then delete char 1 of it if char 1 to 2 of it is among the items of "--,/*" then delete char 1 to 2 of it if tEnteredHandler and it is "end" then get word tHandlerWord of L if char -2 to -1 of it is "*/" then delete char -2 to -1 of it if it is tHandlerName then put tLineNumber into tEndLineNumber exit repeat end if else if it is among the items of "on,function,getprop,setprop" and \ word tHandlerWord of L is tHandlerName then put tLineNumber into tStartLineNumber put true into tEnteredHandler end if end repeat As before: -- if tEnteredHandler is false, we didn't find the handler -- if tEnteredHandler is true, tStartLineNumber is where it starts, -- tEndLineNumber is where it ends From LunchnMeets at aol.com Sat Mar 18 13:21:55 2006 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Sat, 18 Mar 2006 13:21:55 EST Subject: Search Script Message-ID: <2e6.38ef818.314da9c3@aol.com> Hi Everyone, Has anyone made the RR version of handler that was "SearchScript" in HyperCard? I tried to convert it, but my script opened up all the script windows at the same time. That was a royal pain. Maybe you could just tell me how to open a script, edit it and then go on to the next script window that has a search string. Joe, Orlando, FL From wow at together.net Sat Mar 18 13:43:34 2006 From: wow at together.net (Richard Miller) Date: Sat, 18 Mar 2006 13:43:34 -0500 Subject: More Videograbber issues In-Reply-To: References: Message-ID: Jack, Try any of the ones here: www.morgan-multimedia.com I've tried many different codec's. This one is highly compatible with the player object in Rev, designed for the PC, provides great compression (and numerous options to balance compression versus quality), and yields high-quality video. Best, Richard Miller Imprinter Technologies On Mar 18, 2006, at 12:55 PM, Jack Rarick wrote: > I want to first thank Richard Miller for his quick and accurate > response > to my issue of using Firewire with videograbber. Richard pointed out > that one of the parameters needed to be changed to DirectX. Again, > thank > you. > > Now, can anyone point me in the direction of the best Codec to use? > Compression is NOT an issue. Quality of the video is. I am moving an > application from the Mac to the PC and need to be able to bring in > video > in high quality using generic equipment. Any DV Firewire camera and > and > PC with a Firewire port. I'm trying to write a very basic app that > compares just a little to iMovie on the Mac. > > Any and all ideas will be very appreciated. > > Thanks in advance, > > Jack Rarick > Braintree Athletic Systems > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Sat Mar 18 13:44:34 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sat, 18 Mar 2006 10:44:34 -0800 Subject: Positioning the message box ? In-Reply-To: <2517911fbf2fb533cdfe38493f54e994@wanadoo.fr> References: <2517911fbf2fb533cdfe38493f54e994@wanadoo.fr> Message-ID: I don't think we're supposed to have a message box with a 'standalone' sqb > >In all events, under Stack Runner, both the : > >show message box > >and the > >put "xxx" into message box > >are both inoperative ! Not a message box on the horizon ! > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From stephenREVOLUTION at barncard.com Sat Mar 18 13:55:37 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sat, 18 Mar 2006 10:55:37 -0800 Subject: Search Script In-Reply-To: <2e6.38ef818.314da9c3@aol.com> References: <2e6.38ef818.314da9c3@aol.com> Message-ID: Why don't you just try CMD-F in the IDE? >Hi Everyone, > >Has anyone made the RR version of handler that was "SearchScript" in >HyperCard? I tried to convert it, but my script opened up all the >script windows at >the same time. That was a royal pain. Maybe you could just tell me >how to open a >script, edit it and then go on to the next script window that has a search >string. > >Joe, >Orlando, FL -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jacque at hyperactivesw.com Sat Mar 18 13:58:07 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 18 Mar 2006 12:58:07 -0600 Subject: Positioning the message box ? In-Reply-To: <2517911fbf2fb533cdfe38493f54e994@wanadoo.fr> References: <2517911fbf2fb533cdfe38493f54e994@wanadoo.fr> Message-ID: <441C583F.7020504@hyperactivesw.com> Francis Nugent Dixon wrote: > In all events, under Stack Runner, both the : > > show message box > > and the > > put "xxx" into message box > > are both inoperative ! Not a message box on the horizon ! The message box is an IDE-only component that is not included when you build a standalone, so StackRunner does not have it. You can build your own message display and put it into your stack as a substack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Cubist at aol.com Sat Mar 18 14:59:25 2006 From: Cubist at aol.com (Cubist at aol.com) Date: Sat, 18 Mar 2006 14:59:25 EST Subject: DRM for Images and Text in Stacks Message-ID: <31e.3015ab.314dc09d@aol.com> In a message dated 3/18/06 7:20:17 AM, sims writes: >At 11:40 PM -1000 3/17/06, Sivakatirswami wrote: >>see a drop dead simple option to block viewing of substacks in the IDE... > >If you place in the stack script of one of these files you are sending >'out into the world' (iow - not an in-house production file that you >might use later for working on) the following script: > >if the environment is "development" then quit > >does that not prevent someone from opening it up in the IDE? Maybe. Try typing this into the message box and see what happens: edit script of stack "MyProtectedProject" From mlange at lexicall.org Sat Mar 18 15:00:03 2006 From: mlange at lexicall.org (Marielle Lange) Date: Sat, 18 Mar 2006 20:00:03 +0000 Subject: Integrating Revolution and Flash Message-ID: <8D497507-C78F-4621-A75C-B3BD406266CD@lexicall.org> Pradeep, Pierre, In fact, you can now play flash content via javascript... for free. That's an open source project called AFLAX. This stands for "Ajax Library for the Adobe Flash Platform". Check out the demos at: http:// www.aflax.org/demos.htm Marielle > Hi Pradeep, > > First, i would say yes, as long as flash can be handled trough > javascript calls we can bind to transcript handlers (i do that* all > the time, for my own *.js stored/used as global vars from inside my > rev-based web applications servers). > Second, i would recommand to use AJAX (prototype.js framework and > accessories) as long as AJAX let us code all what can be managed > from within flash without making us depend from the Macromedia > proprietary solution. > > Just as a small example illustration of the AJAX potential www2.sahores-conseil.com/puzzle.html> ------------------------------------------------------------------------ -------- Marielle Lange (PhD), Psycholinguist Alternative emails: mlange at blueyonder.co.uk, Homepage http://homepages.widged.com/mlange/ Easy access to lexical databases http:// lexicall.widged.com/ Supporting Education Technologists http:// revolution.widged.com/wiki/ From mlange at lexicall.org Sat Mar 18 15:00:22 2006 From: mlange at lexicall.org (Marielle Lange) Date: Sat, 18 Mar 2006 20:00:22 +0000 Subject: Making the move... Message-ID: <4AEAD5CA-242D-419A-8184-DCA3276BEFBF@lexicall.org> Hi Mark, Any chance to see you post the relevant code on this list? I read the ECMI document but don't remember the part describing conventions for describing the API in a way similar to the one outlined in the javadoc. Is it possible for you to cut & paste the relevant excerpt on this list... or give pointers to page numbers if too long? Many thanks, Marielle ------------------------------------------------------------------------ -------- Marielle Lange (PhD), Psycholinguist Alternative emails: mlange at blueyonder.co.uk, Homepage http://homepages.widged.com/mlange/ Easy access to lexical databases http:// lexicall.widged.com/ Supporting Education Technologists http:// revolution.widged.com/wiki/ From sims at ezpzapps.com Sat Mar 18 15:10:32 2006 From: sims at ezpzapps.com (sims) Date: Sat, 18 Mar 2006 21:10:32 +0100 Subject: DRM for Images and Text in Stacks In-Reply-To: <31e.3015ab.314dc09d@aol.com> References: <31e.3015ab.314dc09d@aol.com> Message-ID: >In a message dated 3/18/06 7:20:17 AM, sims writes: >>At 11:40 PM -1000 3/17/06, Sivakatirswami wrote: >>>see a drop dead simple option to block viewing of substacks in the IDE... >> >>If you place in the stack script of one of these files you are sending >>'out into the world' (iow - not an in-house production file that you >>might use later for working on) the following script: >> >>if the environment is "development" then quit >> >>does that not prevent someone from opening it up in the IDE? > Maybe. Try typing this into the message box and see what happens: > edit script of stack "MyProtectedProject" Not much... Message execution error: Error description: Chunk: can't find stack ciao, sims European Rev Conference 2006 www.techietours.com From sims at ezpzapps.com Sat Mar 18 15:58:02 2006 From: sims at ezpzapps.com (sims) Date: Sat, 18 Mar 2006 21:58:02 +0100 Subject: DRM for Images and Text in Stacks In-Reply-To: References: <31e.3015ab.314dc09d@aol.com> Message-ID: At 9:10 PM +0100 3/18/06, sims wrote: >>>oes that not prevent someone from opening it up in the IDE? >> Maybe. Try typing this into the message box and see what happens: >> > edit script of stack "MyProtectedProject" Ummm...oh, I see what you mean. Back to the drawing board. ciao, sims From gcanyon at inspiredlogic.com Sat Mar 18 16:24:50 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat, 18 Mar 2006 13:24:50 -0800 Subject: Making the move... In-Reply-To: <119105747897.20060317132013@ahsoftware.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> Message-ID: <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> On Mar 17, 2006, at 1:20 PM, Mark Wieder wrote: > ...sure there is. You have to roll your own, but it's not that much > transcript code. My libraries generate their own documentation through > a javadoc-like mechanism. Check out, for example, my ArchiveSearch > plugin on revonline and open the libDispatcher library. Click on the > API button. I strive to make my functions/handlers small enough that a single line of documentation is sufficient. Actually size isn't so much of a factor as the single-purpose aspect. If a function or handler has a single purpose, generally it can be described in a single sentence. Then I include that line as a comment after the definition: on setupHOOTClasses -- creates an array (sMessageArray) of the messages each class can receive on startHOOT -- initializes HOOT and sets it as a front script Then there are the handlers that are self-explanatory: on stopHOOT on hideNavigator I've never seen a hundred-line routine that wouldn't be better as five twenty-line routines, each of which could be documented with a line of code. Perhaps even ten ten-line routines. regards, gc From liamlambert at mac.com Sat Mar 18 17:09:40 2006 From: liamlambert at mac.com (liamlambert) Date: Sat, 18 Mar 2006 22:09:40 +0000 Subject: switch Message-ID: what am I doing wrong here put fld "total" into ttotal put fld "paymenttype" into tpayment switch "tpayment" case "credit" if tpayment contains "credit" then put ttotal into fld "CreditDb" exit switch case "cash" if tpayment contains "cash" then put ttotal into fld "cash2" exit switch end switch Liam Lambert liamlambert at mac.com IRELAND From klaus at major-k.de Sat Mar 18 17:26:04 2006 From: klaus at major-k.de (Klaus Major) Date: Sat, 18 Mar 2006 23:26:04 +0100 Subject: switch In-Reply-To: References: Message-ID: <9D59BDA4-3ED7-4A3F-BD8E-15E4C4BFE26F@major-k.de> Hi Liam, > what am I doing wrong here > > put fld "total" into ttotal > put fld "paymenttype" into tpayment > ##!! switch "tpayment" ## No quotes, since this is a variable! > case "credit" > ## if tpayment contains "credit" then put ttotal into fld "CreditDb" ## If tpayment = "credit" then it also contains "credit"! :-) > ##exit switch BREAK > case "cash" > ##if tpayment contains "cash" then put ttotal into fld "cash2" ## See above > ##exit switch break > end switch this should work: ... put fld "total" into ttotal put fld "paymenttype" into tpayment switch tpayment case "credit" put ttotal into fld "CreditDb" break case "cash" put ttotal into fld "cash2" break end switch ... Hope that helps. > Liam Lambert > liamlambert at mac.com > IRELAND Regards Klaus Major klaus at major-k.de http://www.major-k.de From liamlambert at mac.com Sat Mar 18 17:30:20 2006 From: liamlambert at mac.com (liamlambert) Date: Sat, 18 Mar 2006 22:30:20 +0000 Subject: switch Message-ID: <988CEC10-FAF4-40D5-A6F5-C991FDBC91C9@mac.com> Thanks Liam Lambert liamlambert at mac.com IRELAND From kray at sonsothunder.com Sat Mar 18 21:54:53 2006 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 18 Mar 2006 20:54:53 -0600 Subject: Making the move... In-Reply-To: <4AEAD5CA-242D-419A-8184-DCA3276BEFBF@lexicall.org> Message-ID: On 3/18/06 2:00 PM, "Marielle Lange" wrote: > Hi Mark, > > Any chance to see you post the relevant code on this list? > > I read the ECMI document but don't remember the part describing > conventions for describing the API in a way similar to the one > outlined in the javadoc. It's not similar to javadoc, but the method for describing the API to the handlers in a library at documented in the uRIP["interface"] property of the ECMI specifications. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From john at debraneys.com Sat Mar 18 22:39:22 2006 From: john at debraneys.com (John Tregea) Date: Sun, 19 Mar 2006 11:39:22 +0800 Subject: switch In-Reply-To: <9D59BDA4-3ED7-4A3F-BD8E-15E4C4BFE26F@major-k.de> References: <9D59BDA4-3ED7-4A3F-BD8E-15E4C4BFE26F@major-k.de> Message-ID: <441CD26A.2040607@debraneys.com> Hi, Just a question regarding the form many of you use for naming variables. I see a lot of variable names starting with 't' and wondered what it indicates. I use 'g' as a prefix for my global variables but that is all. John (Ready to say "Duh"...) T Klaus Major wrote: > Hi Liam, > >> what am I doing wrong here >> >> put fld "total" into ttotal >> put fld "paymenttype" into tpayment >> ##!! switch "tpayment" > ## No quotes, since this is a variable! >> case "credit" >> ## if tpayment contains "credit" then put ttotal into fld "CreditDb" > ## If tpayment = "credit" then it also contains "credit"! :-) >> ##exit switch > BREAK >> case "cash" >> ##if tpayment contains "cash" then put ttotal into fld "cash2" > ## See above >> ##exit switch > break >> end switch > > this should work: > ... > put fld "total" into ttotal > put fld "paymenttype" into tpayment > switch tpayment > case "credit" > put ttotal into fld "CreditDb" > break > case "cash" > put ttotal into fld "cash2" > break > end switch > ... > > Hope that helps. > >> Liam Lambert >> liamlambert at mac.com >> IRELAND > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From chipp at chipp.com Sat Mar 18 23:05:12 2006 From: chipp at chipp.com (Chipp Walters) Date: Sat, 18 Mar 2006 22:05:12 -0600 Subject: switch In-Reply-To: <441CD26A.2040607@debraneys.com> References: <9D59BDA4-3ED7-4A3F-BD8E-15E4C4BFE26F@major-k.de> <441CD26A.2040607@debraneys.com> Message-ID: <441CD878.6090701@chipp.com> I use the t prefix to denote 'temporary' and make my code easier for me to read. I use 'p' for a parameter, 'l' for a local variable, and as you do, 'g' for global. -Chipp John Tregea wrote: > Hi, > > Just a question regarding the form many of you use for naming variables. > I see a lot of variable names starting with 't' and wondered what it > indicates. I use 'g' as a prefix for my global variables but that is all. From jspencer78 at mac.com Sat Mar 18 23:10:23 2006 From: jspencer78 at mac.com (James Spencer) Date: Sat, 18 Mar 2006 22:10:23 -0600 Subject: switch In-Reply-To: <441CD26A.2040607@debraneys.com> References: <9D59BDA4-3ED7-4A3F-BD8E-15E4C4BFE26F@major-k.de> <441CD26A.2040607@debraneys.com> Message-ID: <6848FDDA-BDF9-46B3-9562-1BB38262A489@mac.com> On Mar 18, 2006, at 9:39 PM, John Tregea wrote: > Hi, > > Just a question regarding the form many of you use for naming > variables. I see a lot of variable names starting with 't' and > wondered what it indicates. I use 'g' as a prefix for my global > variables but that is all. > > John (Ready to say "Duh"...) T See http://www.fourthworld.com/embassy/articles/scriptstyle.html for a good set of guidelines which answer, among other things, your question but the short answer: t = temporary or local variable p = parameter k = constant s = static (or script local in xTalk) James P. Spencer Rochester, MN jspencer78 at mac.com "Badges?? We don't need no stinkin badges!" From JimAultWins at yahoo.com Sat Mar 18 23:24:56 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 18 Mar 2006 20:24:56 -0800 Subject: switch In-Reply-To: <441CD26A.2040607@debraneys.com> Message-ID: Many on the list use the aforementioned naming convention. This is especially important in groups, like Fourth World. Ahh, but I am stuck in the past and my ways... thus..... I prefer not to use this style, so my offerings will have a different look. I do use the gGlobalName convention. Also, every list of lines I use is whateverList array is whateverArr When I create a path name to refer to files or servers I use "pathh" because in VB 'path' is a reserved word, in which I also do programming then pathhFN is the (path name + file name) and fpathhFN is the ("file:" +path name + file name) so that I can do the following: put the defaultfolder into pathh if the last char of pathh is not "/" then put "/" after pathh put the files into fileList put line 1 of the fileList into FN if ".txt" is in FN then put pathh & FN into pathhFN put "file:"&pathhFN into fpathhFN put "Mary had a lamb" into url fpathhFN answer folder "Choose the folder please" put it into pathh if the last char of pathh is not "/" then put "/" after pathh put "file:"&pathh into fpathh put the detailed files into fileList put empty into appendedContents repeat for each line LNN in fileList if LNN contains ".txt" then --write the directory and file name to a variable put cr & cr & pathh & ", " & LNN) & " ------" after appendedContents --now write the contents of the file on the next lines put cr & url (fpathh&LNN) after appendedContents end if end repeat --now write a new file that is appendedContents put appendedContents into url (fpathh&"appndMalarky.txt") Lots of fun, and lots of choices. And it's Saturday night :-) Jim Ault Las Vegas On 3/18/06 7:39 PM, "John Tregea" wrote: > Hi, > > Just a question regarding the form many of you use for naming variables. > I see a lot of variable names starting with 't' and wondered what it > indicates. I use 'g' as a prefix for my global variables but that is all. > > John (Ready to say "Duh"...) T > > Klaus Major wrote: >> Hi Liam, >> >>> what am I doing wrong here >>> >>> put fld "total" into ttotal >>> put fld "paymenttype" into tpayment >>> ##!! switch "tpayment" >> ## No quotes, since this is a variable! >>> case "credit" >>> ## if tpayment contains "credit" then put ttotal into fld "CreditDb" >> ## If tpayment = "credit" then it also contains "credit"! :-) >>> ##exit switch >> BREAK >>> case "cash" >>> ##if tpayment contains "cash" then put ttotal into fld "cash2" >> ## See above >>> ##exit switch >> break >>> end switch >> >> this should work: >> ... >> put fld "total" into ttotal >> put fld "paymenttype" into tpayment >> switch tpayment >> case "credit" >> put ttotal into fld "CreditDb" >> break >> case "cash" >> put ttotal into fld "cash2" >> break >> end switch >> ... >> >> Hope that helps. >> >>> Liam Lambert >>> liamlambert at mac.com >>> IRELAND >> >> Regards >> >> Klaus Major >> klaus at major-k.de >> http://www.major-k.de >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Sat Mar 18 23:27:24 2006 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 18 Mar 2006 22:27:24 -0600 Subject: [REQ] Testers needed In-Reply-To: Message-ID: On 3/18/06 1:35 AM, "Sean Shao" wrote: > In the next few days I will be finishing up development and internal testing > of a custom listbox object and will be needing testers. Sounds great, Sean! Count me in... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From Stgoldberg at aol.com Sat Mar 18 23:42:19 2006 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Sat, 18 Mar 2006 23:42:19 EST Subject: Problem building standalones with substacks in Rev 2.7 Message-ID: <349.13fc13.314e3b2b@aol.com> Recently, using Revolution 2.7 (I'm not sure if the problem is related to the version or something else) on my Mac running OS X, I have noted the following problem in trying to build a standalone: I first built a main stack, then decided that since I wanted to save data in the standalone, created a substack to it, and in the Standalone Application setting, checked off "Move substacks into individual stack files". The standalone built fine.?? However, when I went back and checked off the "Create folder for stackfiles" option (naming the folder "data") the standalone would not build, instead delivering an error message.?? The strange thing is that I went back and unchecked the "Create folder for stackfiles" option and the program would still not build a standalone.?? I've repeated this several times to be sure that this is where the problem arose.?? Can anyone suggest what may be the problem??? I've made sure to name the stack, substack, and folder differently. Perhaps it may relate to the fact that I originally created two mainstacks, and then set one stack as the main stack through the command "set the mainstack of stack 'B' to 'A'?? but I have not experienced this difficulty before?? in rev 2.6 using the same command.?? Again, the problem may not relate to the version, but to something I'm doing wrong. In addition, I've note that under rev 2.7, when one builds a standalone, there is a separate folder created in the Windows folder titled "Externals".?? What is that for??? Thanks. Steve Goldberg From john at debraneys.com Sat Mar 18 23:47:31 2006 From: john at debraneys.com (John Tregea) Date: Sun, 19 Mar 2006 12:47:31 +0800 Subject: switch In-Reply-To: References: Message-ID: <441CE263.8030402@debraneys.com> Dear Jim, Chipp and James, I thought it must be something like that but tend to call 'temporary' variables 'local' variables, so I didn't guess the connection. Thanks for the clarification. Regards John (Duh...) T Jim Ault wrote: > Many on the list use the aforementioned naming convention. > This is especially important in groups, like Fourth World. > > Ahh, but I am stuck in the past and my ways... thus..... > I prefer not to use this style, so my offerings will have a different look. > I do use the gGlobalName convention. > Also, every list of lines I use is whateverList > array is whateverArr > > When I create a path name to refer to files or servers I use "pathh" because > in VB 'path' is a reserved word, in which I also do programming > then pathhFN is the (path name + file name) > and fpathhFN is the ("file:" +path name + file name) > so that I can do the following: > > put the defaultfolder into pathh > if the last char of pathh is not "/" then put "/" after pathh > > put the files into fileList > put line 1 of the fileList into FN > if ".txt" is in FN then put pathh & FN into pathhFN > > put "file:"&pathhFN into fpathhFN > > put "Mary had a lamb" into url fpathhFN > > answer folder "Choose the folder please" > put it into pathh > if the last char of pathh is not "/" then put "/" after pathh > put "file:"&pathh into fpathh > put the detailed files into fileList > put empty into appendedContents > repeat for each line LNN in fileList > if LNN contains ".txt" then > --write the directory and file name to a variable > put cr & cr & pathh & ", " & LNN) & " ------" after appendedContents > --now write the contents of the file on the next lines > put cr & url (fpathh&LNN) after appendedContents > end if > end repeat > --now write a new file that is appendedContents > put appendedContents into url (fpathh&"appndMalarky.txt") > > Lots of fun, and lots of choices. And it's Saturday night :-) > > Jim Ault > Las Vegas > > > On 3/18/06 7:39 PM, "John Tregea" wrote: > > >> Hi, >> >> Just a question regarding the form many of you use for naming variables. >> I see a lot of variable names starting with 't' and wondered what it >> indicates. I use 'g' as a prefix for my global variables but that is all. >> >> John (Ready to say "Duh"...) T >> >> Klaus Major wrote: >> >>> Hi Liam, >>> >>> >>>> what am I doing wrong here >>>> >>>> put fld "total" into ttotal >>>> put fld "paymenttype" into tpayment >>>> ##!! switch "tpayment" >>>> >>> ## No quotes, since this is a variable! >>> >>>> case "credit" >>>> ## if tpayment contains "credit" then put ttotal into fld "CreditDb" >>>> >>> ## If tpayment = "credit" then it also contains "credit"! :-) >>> >>>> ##exit switch >>>> >>> BREAK >>> >>>> case "cash" >>>> ##if tpayment contains "cash" then put ttotal into fld "cash2" >>>> >>> ## See above >>> >>>> ##exit switch >>>> >>> break >>> >>>> end switch >>>> >>> this should work: >>> ... >>> put fld "total" into ttotal >>> put fld "paymenttype" into tpayment >>> switch tpayment >>> case "credit" >>> put ttotal into fld "CreditDb" >>> break >>> case "cash" >>> put ttotal into fld "cash2" >>> break >>> end switch >>> ... >>> >>> Hope that helps. >>> >>> >>>> Liam Lambert >>>> liamlambert at mac.com >>>> IRELAND >>>> >>> Regards >>> >>> Klaus Major >>> klaus at major-k.de >>> http://www.major-k.de >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From Kresten.Bjerg at psy.ku.dk Sun Mar 19 00:08:42 2006 From: Kresten.Bjerg at psy.ku.dk (Kresten Bjerg) Date: Sun, 19 Mar 2006 06:08:42 +0100 Subject: Mind mapping in Rev ? Message-ID: On 3/17/06 6:20 PM, "Kresten Bjerg" wrote: >> Has anyone been experimenting with implementing elementary mind-mapping >>functions in Rev ? Rick replied: >Yes, I have, although I'd have to emphasize elementary. >A user creates graphic objects like ovals to represent concepts, and >connects them using the mouse to draw arrows. When the user moves the mouse >over a concept graphic, the graphic changes color, and a field appears it connects change color and show their custom text. When the user clicks >custom text, it's unlocked and selected, so the user can edit it. When the >user moves a graphic that has arrows to it or from it, the arrows move too. >What do you want? >By the way, according to conceptDraw.com, which offers a product called >MINDMAP 4, Mind Mapping? and Mind Map? are registered trademarks of the >Buzan Organization. ->- Dick _______________________________ Hi Dick (An awfully long response to short question:) Your description sounds as close as it could be to what we am looking for. A thought mapping device, idea-mapping, association-mapping, concept-mapping tool, - trademarks politely avoided. I dont know, to which extent such a facility has been fabricated as integrated with a system which affords a fourth, a temporal dimension, a temporal perspective This is at least my goal- to create an auto-phenomenalogical *IT logbook - program, which can make the iBook worthy of its name, but which can fit as well inside the MIT 100 dollars laptop The autophenomenalogical method, as I have been developping it through the last ten years ,is for me the merging of my two main professional fields : Theories of personality and qualitative research methods in psychology. (which I both have been teaching in the Department of Psychology, at the University of copenhagen) and my speciality: Domestic Information Dynamics,as explored empirically in an experimental appartment through decades, and intensfied after my early retirement (as I could get no moral or financial support for the future of my domestic laboratory) The tool, the construction of which took its start in 1996, with the relatively new Hypercard, was based on the idea of taking the millenial traditions of handwritten and drawn diaries into the third millennium, where pens are becoming scarser and IT tools more forcefull. With the advent of revolution, to which we transferred our result from the hypercard version, we have been unfolding the vision of a toolset for e-diary, an autocommunicative device, build upon the cognitive psychology-knowledge of the divion of labour between the two cerebral hemispheres. So parallel to the text-universe we create a glyf-universe, - and instead of using Icons, - as does for example "Inspiration", we create glyfs as ascii characters in fonts. preliminary 12 fonts, with in all only app 450 prototypes. We have created a minimal handfull of glyphs, and many of them are lousy. But in launching the machine as cross-cultural and cross-platform freeware, we expect to start a feed-back process, so we can have the freewareb proto-glyf-library grow and mature to the needs of young and old, rich and poor, unlearned and learned, moslem,jew,cristian, buddhist, Tao or what did I forget?....male or female So, well,newness,complexity, informational overload and social challenges makes the individual a sailor, navigating each day ,over the diurnal strait from wake-up to falling asleep. We think the citizens, as basically lonely captains through ever new informational waters, winds, storms, downpours,Ice and Bureaucratic icebergs, chemical submarines,etc needs a personal empirical logbook of the phenomena encountered, hopefully helping to insight, hindsight and foresight, and hopefully becoming a means of democratic documentary power-to-the people - up against buraucracies, authorities, exploiters and pushers, they encounter. So, when you ask me, what I need it has two kinds of answers. Answer 1 (ending with a question) The Phenomenalog v. 16.2.3, as of March 11 2006 contains a set of 20 memo-buttons, linked to text&glyph-fields. We need to arrange a way for standaloneusers to easy distribute and link such buttons and their aliases on a daycard the size of 9 windows, buttons themselves as background buttons, their aliases as tied to the stable or changing views from the bridge that day, and the diachronical diurnal positioning of phenomena in a non-textual, temporal glyf-dimension with a 10-minute precision. So I am interested in knowing, whether you feel it wortwhile to let us share your knowledge, as we offer to share ours with you. As a pensioned researcher at the age of 70 it is easy for me to insist on the freeware clause. But you may be in need of cash flow. The only offer I can give is to give you due credit in the credits of the Phenomenalog. (You know you can inspect the preliminary format of the credits in the early version of the software, which you can inspect and download from the user-site under name Kresten (Beware of bugs!!!!) Anwer 2 I / we Steen Andersen (skya at webspeed.dk) and I (Kresten.bjerg at psy.ku.dk) will be gratefull, if someonen could help us to let us share a freeware set of handlers, to make standalone user able to select an e-mail or www adress in a textfield,on a card in stack "addresses", on the daycard or in a memo-field - and thus release a New-mail formula or a jump to this adress. We know of AltBrowser, but we need a freeware solution, as simple as possible. Best regards Kresten From john at debraneys.com Sun Mar 19 00:50:22 2006 From: john at debraneys.com (John Tregea) Date: Sun, 19 Mar 2006 13:50:22 +0800 Subject: Arrays as custom properties? Message-ID: <441CF11E.4040505@debraneys.com> Hi Weekend Warriors, I have been looking to see if I can set an array as a custom property of a group. Well actually four arrays as four different custom properties... I have tried the following alternatives. set myAccess of group "A" to gMyAccess (works for a table of delimited data but not an array) set customproperties[myAccess] of group "A" to gMyAccess set custompropertyset "myArray" to gMyAccess None of these appear to work. I get an error message on execution that says "bad index expression" I would REALLY appreciate any help/alternatives/etc. Thanks in advance John From scott at tactilemedia.com Sun Mar 19 01:01:33 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 18 Mar 2006 22:01:33 -0800 Subject: Arrays as custom properties? In-Reply-To: <441CF11E.4040505@debraneys.com> Message-ID: Recently, John Tregea wrote: > I have been looking to see if I can set an array as a custom property of > a group. > ... I get an error message on execution that says "bad index expression" Yes, you need to define an index for the array. Perhaps you mean something like this: set the myAccess["password"] of group "A" to gMyAccess To retrieve: get the myAccess["password"] of group "A" Also, I believe a custom property must always be prefaced by "the". Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From john at debraneys.com Sun Mar 19 01:26:02 2006 From: john at debraneys.com (John Tregea) Date: Sun, 19 Mar 2006 14:26:02 +0800 Subject: Arrays as custom properties? In-Reply-To: References: Message-ID: <441CF97A.7040502@debraneys.com> Thanks Scott, I already have a number of arrays stored in global variables and want to store each complete array as a custom property of the group. I realise I could repeat through the structure of the array and transfer each array element to a corresponding element in the group's custom property, but hoped to be able to "plonk" the array into the custom property. I will check my use of the word "the"... ----------------------------------- Scott Rossi wrote: > Recently, John Tregea wrote: > > >> I have been looking to see if I can set an array as a custom property of >> a group. >> ... I get an error message on execution that says "bad index expression" >> > > Yes, you need to define an index for the array. Perhaps you mean something > like this: > > set the myAccess["password"] of group "A" to gMyAccess > > To retrieve: > > get the myAccess["password"] of group "A" > > Also, I believe a custom property must always be prefaced by "the". > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From ambassador at fourthworld.com Sun Mar 19 01:38:39 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 18 Mar 2006 22:38:39 -0800 Subject: Arrays as custom properties? Message-ID: <441CFC6F.9010904@fourthworld.com> > I already have a number of arrays stored in global variables and > want to store each complete array as a custom property of the > group. I realise I could repeat through the structure of the > array and transfer each array element to a corresponding element > in the group's custom property, but hoped to be able to "plonk" > the array into the custom property. Array elements are distinct entities, equating to individual custom properties. You can, however, set all of the members of a custom property set to an array, and you can have any number of custom property sets in each object. See the Transcript dictionary entry for the customProperties property for more.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From john at debraneys.com Sun Mar 19 02:05:42 2006 From: john at debraneys.com (John Tregea) Date: Sun, 19 Mar 2006 15:05:42 +0800 Subject: Arrays as custom properties? In-Reply-To: <441CFC6F.9010904@fourthworld.com> References: <441CFC6F.9010904@fourthworld.com> Message-ID: <441D02C6.3040003@debraneys.com> Thanks Richard, I will explore this some more... Richard Gaskin wrote: > > I already have a number of arrays stored in global variables and > > want to store each complete array as a custom property of the > > group. I realise I could repeat through the structure of the > > array and transfer each array element to a corresponding element > > in the group's custom property, but hoped to be able to "plonk" > > the array into the custom property. > > Array elements are distinct entities, equating to individual custom > properties. You can, however, set all of the members of a custom > property set to an array, and you can have any number of custom > property sets in each object. > > See the Transcript dictionary entry for the customProperties property > for more.... > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From kray at sonsothunder.com Sun Mar 19 04:41:58 2006 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 19 Mar 2006 03:41:58 -0600 Subject: [ANN] STS XML Library 2.0 Now Available Message-ID: Hey, everyone! The long-awaited, and long-promised STS XML Library 2.0 has finally been released, adding node path support, search and array methods, conditional validation and plugin support to the all-Transcript XML parsing library. It is also fully Revolution Interoperability (RIP) compliant, and ships with a special Compatibility Library that enables current 1.x users the ability to easily transition to the new 2.0 syntax. The new plugin architecture enables third parties to provide libraries that can utilize the XML Library for specialized XML parsing, and Version 2.0 comes with a plugin for manipulating RSS feed documents. The web site, in addition to providing more information about the library, also includes a full comparison of how the STS XML Library compares with the revXML.DLL that comes with Revolution. It also includes the full documentation of the library, so you can look it over to decide for yourself if the STS XML Library if for you. Read more about the XML Library at: http://www.sonsothunder.com/products/xmllib/xmllib.htm Enjoy! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From henk at iglow-media.nl Sun Mar 19 04:45:41 2006 From: henk at iglow-media.nl (Henk van der Velden) Date: Sun, 19 Mar 2006 10:45:41 +0100 Subject: Integrating Revolution and Flash In-Reply-To: <20060318141758.3DA3D8265A4@mail.runrev.com> References: <20060318141758.3DA3D8265A4@mail.runrev.com> Message-ID: Hi Pradeep, you can also take a look at Trevor deVore's Enhanced QuickTime External: http://www.bluemangolearning.com/developer/revolution/ Kind regards, Henk On 18-mrt-2006, at 15:17, use-revolution-request at lists.runrev.com wrote: > Hi Pradeep, > > First, i would say yes, as long as flash can be handled trough > javascript calls we can bind to transcript handlers (i do that* all > the time, for my own *.js stored/used as global vars from inside my > rev-based web applications servers). > Second, i would recommand to use AJAX (prototype.js framework and > accessories) as long as AJAX let us code all what can be managed > from within flash without making us depend from the Macromedia > proprietary solution. > > Just as a small example illustration of the AJAX potential www2.sahores-conseil.com/puzzle.html> > > All the Best to You and Albert, > > Le 17 mars 06 ? 10:14, MITTAL Pradeep Kumar a ?crit : > >> Hello, >> >> Is there any way to integrate revolution and flash ? >> >> Some way of placing Flash UI on top of Rev Card. >> On top of revolution Object (lets say button ) one can put the flash >> button. And when one clicks then revoluion button script is called. >> Rev can create the XML file and then XML Data can be sent to flash >> swf >> and vice versa. >> >> What do you think ? Is there anyone who has tried integrating rev an >> flash? >> >> Best Regards >> Pradeep From e.reicher at gmx.at Sun Mar 19 04:51:18 2006 From: e.reicher at gmx.at (Ernst M. Reicher) Date: Sun, 19 Mar 2006 10:51:18 +0100 Subject: Search Script References: <20060318180004.13BAF8266CA@mail.runrev.com> Message-ID: <001501c64b3a$adb82270$0101a8c0@EMRBUERO> Hi, I tried to start discussion about this several times in the past... but the response was poor.... probably REAL delvelopers store their scripts in their hypothalamus and don?t need a SearchScript....:-) ..over the years I found some trials in other "plugins" that worked so and so.... I adapted the HC-script for me and it worked well in MC but no more in Rev. Now I?m using constellation and there is a pretty good built in scriptsearch. In my opinion it?s (for me!) not too comfortable - mine showed a list of occurrences - but it works.... Regards, Ernst > Message: 8 > Date: Sat, 18 Mar 2006 13:21:55 EST > From: LunchnMeets at aol.com > Subject: Search Script > To: use-revolution at lists.runrev.com > Message-ID: <2e6.38ef818.314da9c3 at aol.com> > Content-Type: text/plain; charset="US-ASCII" > > Hi Everyone, > > Has anyone made the RR version of handler that was "SearchScript" in > HyperCard? I tried to convert it, but my script opened up all the script > windows at > the same time. That was a royal pain. Maybe you could just tell me how to > open a > script, edit it and then go on to the next script window that has a search > string. > > Joe, > Orlando, FL From henk at iglow-media.nl Sun Mar 19 06:11:15 2006 From: henk at iglow-media.nl (Henk van der Velden) Date: Sun, 19 Mar 2006 12:11:15 +0100 Subject: imagedata in Word XML In-Reply-To: <20060318180003.952FF8266C1@mail.runrev.com> References: <20060318180003.952FF8266C1@mail.runrev.com> Message-ID: Rob, Indeed does the text of an image contain binary data, but it looks like it's in the PNG format. I will do some testing. If the text of an image is PNG binary data, and the Word file contains only PNG images, I would be able to set the text of an image to the decoded text from the WordXML node. Thanks. Henk On 18-mrt-2006, at 19:00, use-revolution-request at lists.runrev.com wrote: > >> Well, even though you decode the information from the WordML file, >> now you have a binary representation of a PNG or JPEG, etc., and >> that is not in a format proper for imageData, which is an array of >> 4-byte integers, each integer representing one pixel. You will >> have to base-64 decode the information in the WordML file and then >> read it in as if you were reading an image file off a disk, etc. >> This will decompress the information that is encoded in the file >> and then you can use the result as imageData. >> > > Are you sure the result should be used as the imageData of an image > rather than its text? > > I don't know exactly what is stored in WordML; but my understanding > is that the text of an image is the actual binary content of the > image file, while the imageData is a Rev-proprietary representation > of the image as currently displayed. From klaus at major-k.de Sun Mar 19 06:15:56 2006 From: klaus at major-k.de (Klaus Major) Date: Sun, 19 Mar 2006 12:15:56 +0100 Subject: imagedata in Word XML In-Reply-To: References: <20060318180003.952FF8266C1@mail.runrev.com> Message-ID: Dag Henk, > Rob, > > Indeed does the text of an image contain binary data, but it looks > like it's in the PNG format. > I will do some testing. > If the text of an image is PNG binary data, and the Word file > contains only PNG images, I would be able to set the text of an > image to the decoded text from the WordXML node. one could also try to simply "put" the data into an image! -> put url("binfile:image.png") into img 1 does work, so this is a least worth a try :-) > Thanks. > Henk > > On 18-mrt-2006, at 19:00, use-revolution-request at lists.runrev.com > wrote: > >> >>> Well, even though you decode the information from the WordML >>> file, now you have a binary representation of a PNG or JPEG, >>> etc., and that is not in a format proper for imageData, which is >>> an array of 4-byte integers, each integer representing one >>> pixel. You will have to base-64 decode the information in the >>> WordML file and then read it in as if you were reading an image >>> file off a disk, etc. This will decompress the information that >>> is encoded in the file and then you can use the result as imageData. >>> >> >> Are you sure the result should be used as the imageData of an >> image rather than its text? >> >> I don't know exactly what is stored in WordML; but my >> understanding is that the text of an image is the actual binary >> content of the image file, while the imageData is a Rev- >> proprietary representation of the image as currently displayed. Regards & Groetjes Klaus Major klaus at major-k.de http://www.major-k.de From mark at maseurope.net Sun Mar 19 07:13:39 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 19 Mar 2006 12:13:39 +0000 Subject: Arrays as custom properties? In-Reply-To: <441CF97A.7040502@debraneys.com> References: <441CF97A.7040502@debraneys.com> Message-ID: You can simply store an array variable as a customPropertySet: set the customProperties["addresses"] of this stack to addressArray You can then set individual elements of the stored array: set the addresses[key] of this stack to someItem And retrieve the indidvidual elements: get the addresses[key] of this stack or put the whole thing back into an array variable: put the customProperties["addresses"] of this stack into addressArray The thing is that a customPropertySet effecively an array, and depending on your needs, (accessing a customPropertySet is only slightly slower than accessing an array) may be a better choice than a global/local array variable. Mark On 19 Mar 2006, at 06:26, John Tregea wrote: > Thanks Scott, > > I already have a number of arrays stored in global variables and > want to store each complete array as a custom property of the > group. I realise I could repeat through the structure of the array > and transfer each array element to a corresponding element in the > group's custom property, but hoped to be able to "plonk" the array > into the custom property. > > I will check my use of the word "the"... > > ----------------------------------- > > Scott Rossi wrote: >> Recently, John Tregea wrote: >> >> >>> I have been looking to see if I can set an array as a custom >>> property of >>> a group. >>> ... I get an error message on execution that says "bad index >>> expression" >>> >> >> Yes, you need to define an index for the array. Perhaps you mean >> something >> like this: >> >> set the myAccess["password"] of group "A" to gMyAccess >> >> To retrieve: >> >> get the myAccess["password"] of group "A" >> >> Also, I believe a custom property must always be prefaced by "the". >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, Multimedia & Design >> ----- >> E: scott at tactilemedia.com >> W: http://www.tactilemedia.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dburgun at dsl.pipex.com Sun Mar 19 08:18:27 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Sun, 19 Mar 2006 13:18:27 +0000 Subject: Get a handler from a script In-Reply-To: <134E87F1-7BB2-4AD7-AE32-7E8BBC753053@maseurope.net> References: <1BF42D94-68EC-46A1-8F34-334C5AACCBC6@dsl.pipex.com> <134E87F1-7BB2-4AD7-AE32-7E8BBC753053@maseurope.net> Message-ID: <87A2ECE9-9F33-43D9-B80A-447139FC71C7@dsl.pipex.com> Hi, The problem is that if you are doing something like this: if the script of myObject contains "on HandlerName" then send HandlerName to myObject end if This this will work if the Hander is NOT commented out, but will fail with an error if the handler IS commented out. Also if you have a comment in a Script that just happens to contain "on HandlerName" then the "if" will succeed even though there is no handler defined. I had a problem that took me ages to figure out. In a script I had something like the following: --on Update make sure the field is not selected which meant that: if the script of myObject contains "on Update" then succeeded, but the send statement failed since there wasn't really a handler called "update" defined. Checking for "end Update" *may* have worked, as long as there was not a line that read something like: send Update to myObject Also checking for "end Update" slows the whole process down. What would be nice is the ability to check if a (real) handler exists not just that the script contains text that looks like a handler defintion. Something like this would be good: if exists(handler "Update" in script of myObject) then Which would make it 100% foolproof. All the Best Dave On 17 Mar 2006, at 12:19, Mark Smith wrote: > Commenting would only affect things if the wholeMatches is set to > true - normally, lineOffset will get the right line even if it's > commented out, no? > > Mark > > On 17 Mar 2006, at 12:06, David Burgun wrote: > >> Hi, >> >> Of course none of the solutions so far work if the function is >> commented out. To make the code 100% foolproof is a lot of work. I >> was doing something similar and found that comments made life >> really difficult. >> >> All the Best >> Dave >> >> On 17 Mar 2006, at 11:42, Robert Brenstein wrote: >> >>>> Perhaps using >>>> >>>> set the wholematches to true >>>> put lineOffset("on" && pHandlerName, pScript) into tStart >>>> if tStart is 0 then put lineOffset("function" && pHandlerName, >>>> pScript) into >>>> tStart >>>> put (lineOffset("end" && pHandlerName, pScript) +1 into tEnd >>>> >>>> >>>> answer tStart & cr & tEnd >>>> >>>> Jim Ault >>>> Las Vegas >>>> >>> >>> Unfortunately, wholematches can't be used, at least for the first >>> lineoffset, because there are likely some parameters further in >>> that line. The alternative to lineOffset is to use regex. >>> >>> A truly generic function would need to know whether it searches >>> for command or function, because it is possible to have one of >>> each with the same name. >>> >>> Robert From mark at maseurope.net Sun Mar 19 08:35:43 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 19 Mar 2006 13:35:43 +0000 Subject: Get a handler from a script In-Reply-To: <87A2ECE9-9F33-43D9-B80A-447139FC71C7@dsl.pipex.com> References: <1BF42D94-68EC-46A1-8F34-334C5AACCBC6@dsl.pipex.com> <134E87F1-7BB2-4AD7-AE32-7E8BBC753053@maseurope.net> <87A2ECE9-9F33-43D9-B80A-447139FC71C7@dsl.pipex.com> Message-ID: <840E8BD5-17C9-4082-AB5E-74229864D468@maseurope.net> This might be dealt with better with a 'try...catch' structure. I don't know much about the error numbers that Rev produces, but try cmdName catch tError put tError end try where I know handler cmdName is commented out consistently produces this error string: 573,3,1,cmdName This may or may not be useful in the context you described, but perhaps offers another way of testing for the existence or availability of a handler. Mark On 19 Mar 2006, at 13:18, David Burgun wrote: > Hi, > > The problem is that if you are doing something like this: > > if the script of myObject contains "on HandlerName" then > send HandlerName to myObject > end if > > This this will work if the Hander is NOT commented out, but will > fail with an error if the handler IS commented out. Also if you > have a comment in a Script that just happens to contain "on > HandlerName" then the "if" will succeed even though there is no > handler defined. > > I had a problem that took me ages to figure out. In a script I had > something like the following: > > --on Update make sure the field is not selected > > which meant that: > > if the script of myObject contains "on Update" then > > succeeded, but the send statement failed since there wasn't really > a handler called "update" defined. Checking for "end Update" *may* > have worked, as long as there was not a line that read something like: > > send Update to myObject > > Also checking for "end Update" slows the whole process down. > > What would be nice is the ability to check if a (real) handler > exists not just that the script contains text that looks like a > handler defintion. Something like this would be good: > > if exists(handler "Update" in script of myObject) then > > Which would make it 100% foolproof. > > All the Best > Dave > > On 17 Mar 2006, at 12:19, Mark Smith wrote: > >> Commenting would only affect things if the wholeMatches is set to >> true - normally, lineOffset will get the right line even if it's >> commented out, no? >> >> Mark >> >> On 17 Mar 2006, at 12:06, David Burgun wrote: >> >>> Hi, >>> >>> Of course none of the solutions so far work if the function is >>> commented out. To make the code 100% foolproof is a lot of work. >>> I was doing something similar and found that comments made life >>> really difficult. >>> >>> All the Best >>> Dave >>> >>> On 17 Mar 2006, at 11:42, Robert Brenstein wrote: >>> >>>>> Perhaps using >>>>> >>>>> set the wholematches to true >>>>> put lineOffset("on" && pHandlerName, pScript) into tStart >>>>> if tStart is 0 then put lineOffset("function" && pHandlerName, >>>>> pScript) into >>>>> tStart >>>>> put (lineOffset("end" && pHandlerName, pScript) +1 into tEnd >>>>> >>>>> >>>>> answer tStart & cr & tEnd >>>>> >>>>> Jim Ault >>>>> Las Vegas >>>>> >>>> >>>> Unfortunately, wholematches can't be used, at least for the >>>> first lineoffset, because there are likely some parameters >>>> further in that line. The alternative to lineOffset is to use >>>> regex. >>>> >>>> A truly generic function would need to know whether it searches >>>> for command or function, because it is possible to have one of >>>> each with the same name. >>>> >>>> Robert > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mlange at lexicall.org Sun Mar 19 08:46:25 2006 From: mlange at lexicall.org (Marielle Lange) Date: Sun, 19 Mar 2006 13:46:25 +0000 Subject: Mind mapping in Rev ? Message-ID: <17B2F545-277B-464C-8D2E-D130687B3DBE@lexicall.org> Kresten, There is a softwaret called freemind (another excellent product that is freely available, open source, written in java): http://freemind.sourceforge.net/wiki/ It comes up with a standalone application as well as the possibility to store your mindmap into a standard format (xml) which can then be played on the web, within a java applet or a flash applet, as you prefer. You can see an example of the rendering of the concept map with the flash applet at: http://widged.com/freemind/education_taxonomies.html Best is probably to use freemind to write the map and play the content in altbrowser. Alternatively, you can design a player in runrev. Best regards, Marielle ------------------------------------------------------------------------ -------- Marielle Lange (PhD), Psycholinguist Alternative emails: mlange at blueyonder.co.uk, Homepage http://homepages.widged.com/mlange/ Easy access to lexical databases http:// lexicall.widged.com/ Supporting Education Technologists http:// revolution.widged.com/wiki/ From livfoss at mac.com Sun Mar 19 08:47:16 2006 From: livfoss at mac.com (Graham Samuel) Date: Sun, 19 Mar 2006 14:47:16 +0100 Subject: Getting started with libraries Message-ID: Folks Recent defences on the list of RunRev's capability with libraries has made me realise how much I've missed out by not organising my own work with libraries in mind. I would now like to make the move. but I'm finding it quite hard to decide how to get started. As in the old joke, to get there I shouldn't really have started from here... but there it is. What I have is a few apps which work and have users etc, and which contain common elements. Up to now these common sections were created by wholesale copying of stacks and bits of code from a finished app to the next one to be developed. I find this is such an awkward process that I don't keep all the apps up to date in parallel. For example in App 1, I have devised a way for the user to register and enter a serial number to get a fully functional version of the program; I copied this code into App 2, a process which was pretty clumsy in the first place because App 1 and App 2 can't have ANY stacks with the same name (unless I open two copies of RunRev, but for some reason I'm nervous of this idea). Then as I developed App 2, I improved on the stuff I got from App 1. But generally App 1 doesn't benefit because it's too much of a hassle to retrofit the improved code. Now if I did all this with libraries, I would be much better off, since the most up to date version of any library could be retrofitted without problems. So for me the issue is how to reach this point from where I am today. Has anyone any advice about shifting my existing code into libraries without having to massively restructure my existing apps? So far all I have thought of is to remove the 'common' code to a library but to retain the handler that was in the original app simply as a wrapper - a wrapper handler would look like on myOldHandler para1, para2 do myLibraryStuff para1,para2 end myoldHandler However I have been (I suppose) rather careless with ways of passing values, using various techniques including setting globals, specific fields etc. If the library is not to have too many side effects then I have to generalise those routines too, and that's the bit which I would like to do as efficiently as possible. Maybe it's just a messy job and that's all there is about it, but I'd like to know what other people think. TIA Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From Kresten.Bjerg at psy.ku.dk Sun Mar 19 09:26:30 2006 From: Kresten.Bjerg at psy.ku.dk (Kresten Bjerg) Date: Sun, 19 Mar 2006 15:26:30 +0100 Subject: Mind mapping in Rev ? Message-ID: Hi -sorry to fill up even more, but I need a stable solution to ensure, that an answer to a posting, containing the exact same Subject label as the one I respond to, gets into the thread, starting to build up. What is the trick ? I reply through another route, so I have to spell it out to the mailprogram. . Another problem keeps occurring: The text I send (through a Novell WebAcess compose message window) loses the short lines format, which I see, when it arrives in the archive..now .having endlessly long lines, and therefore becoming extremely unattractive to the list users, as you can see in my previous "Mind mapping in Rev ?" posting..... ....if you can find it !!!! PS: I know, that I "just have to make a return after each line, which I did here, but...there should be a more comfortable solution Kresten From janselid at broadpark.no Sun Mar 19 09:56:07 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Sun, 19 Mar 2006 15:56:07 +0100 Subject: Capslockkey function References: <17B2F545-277B-464C-8D2E-D130687B3DBE@lexicall.org> Message-ID: <003801c64b65$40ffe4d0$0300000a@makabre> Hi there Someone has asked this before, but I haven't found an answer. I cannot get the capslockkey function to work. I have a number limited field where I want the user to be told if the capslock is down when they are typing. I use a rawkeydown handler in the field. The capslockkey always returns 'up". Any suggestions? Sincerely Jan From mark at maseurope.net Sun Mar 19 10:17:44 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 19 Mar 2006 15:17:44 +0000 Subject: Capslockkey function In-Reply-To: <003801c64b65$40ffe4d0$0300000a@makabre> References: <17B2F545-277B-464C-8D2E-D130687B3DBE@lexicall.org> <003801c64b65$40ffe4d0$0300000a@makabre> Message-ID: <8261B5A1-8E0A-4579-B795-69B777ED8BF0@maseurope.net> No help, I know, but it seems to be working fine here Rev 2.7 Mac OS 10.4.5 G4 PB What's your system? Mark On 19 Mar 2006, at 14:56, Jan S?lid wrote: > Hi there > > Someone has asked this before, but I haven't found an answer. > I cannot get the capslockkey function to work. I have a number > limited field where I want the user to be told if the capslock is > down when they are typing. > I use a rawkeydown handler in the field. > > The capslockkey always returns 'up". > > Any suggestions? > > Sincerely Jan > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From janselid at broadpark.no Sun Mar 19 10:35:51 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Sun, 19 Mar 2006 16:35:51 +0100 Subject: Capslockkey function References: <17B2F545-277B-464C-8D2E-D130687B3DBE@lexicall.org> <003801c64b65$40ffe4d0$0300000a@makabre> Message-ID: <005401c64b6a$cd78cb20$0300000a@makabre> Thanks Eric That's a very good solution. But can I do this in a rawkey handler? The field is a number only field and I have to limit it so the user is only allowed to type numbers. No space or return. I also want to either give the user a warning that the capslock key is on or to translate the capslocked typing into numbers. The best solution I have now is to translate each rawkey into the rawkey of the number. Thats 10 lines of code. But I would rather have a warning.... The capslockkey function does not seem to report anything other than the "up" state on my system. I'm using rev 2.7 in XP Jan ----- Original Message ----- From: Eric Chatonet To: Jan S?lid Sent: Sunday, March 19, 2006 4:18 PM Subject: Re: Capslockkey function Hi Jan, If I understand well (not sure) you want the text always typed in capitals in some fields. if it is the case, you might prefer to transform by yourself the typed text on the fly without worrying about the capslock key: on keyDown pKey put toUpper(pKey) after target end keyDown That's just to give you the idea (you'll have to handle the selectedText to be more accurate :-) Le 19 mars 06 ? 15:56, Jan S?lid a ?crit : Someone has asked this before, but I haven't found an answer. I cannot get the capslockkey function to work. I have a number limited field where I want the user to be told if the capslock is down when they are typing. I use a rawkeydown handler in the field. The capslockkey always returns 'up". Any suggestions? Best Regards from Paris, Eric Chatonet ---------------------------------------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From rcozens at pon.net Sun Mar 19 10:54:32 2006 From: rcozens at pon.net (Rob Cozens) Date: Sun, 19 Mar 2006 07:54:32 -0800 Subject: imagedata in Word XML In-Reply-To: References: <20060318180003.952FF8266C1@mail.runrev.com> Message-ID: Klaus, Henk, et al: >> Indeed does the text of an image contain binary data, but it looks >> like it's in the PNG format. >> I will do some testing. >> If the text of an image is PNG binary data, and the Word file >> contains only PNG images, I would be able to set the text of an image >> to the decoded text from the WordXML node. > > one could also try to simply "put" the data into an image! > > -> put url("binfile:image.png") into img 1 > does work, so this is a least worth a try :-) > My assumption is that, just as changing an object's top property automatically changes other related properties (eg: topLeft,bottomRight, loc, etc.), changing an image's text property will automatically change imageData and other "text-related" properties of the image. I'm a few days away from testing this issue myself. 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) From gcanyon at inspiredlogic.com Sun Mar 19 10:55:07 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun, 19 Mar 2006 07:55:07 -0800 Subject: Get a handler from a script In-Reply-To: <87A2ECE9-9F33-43D9-B80A-447139FC71C7@dsl.pipex.com> References: <1BF42D94-68EC-46A1-8F34-334C5AACCBC6@dsl.pipex.com> <134E87F1-7BB2-4AD7-AE32-7E8BBC753053@maseurope.net> <87A2ECE9-9F33-43D9-B80A-447139FC71C7@dsl.pipex.com> Message-ID: <00418756-1A90-4D62-BF55-51F60F46D5A1@inspiredlogic.com> On Mar 19, 2006, at 5:18 AM, David Burgun wrote: > The problem is that if you are doing something like this: > > if the script of myObject contains "on HandlerName" then > send HandlerName to myObject > end if The code I posted earlier guarantees that on handlername exists in the script, not commented, at the beginning of a line. I believe that guarantees that it is a valid handler. Here it is: put 0 into tLineNumber put false into tEnteredHandler repeat for each line L in tText -- tText is the script add 1 to tLineNumber if word 1 of L is among the items of "on,function,getprop,setprop" and \ word 2 of L is tHandlerName then put tLineNumber into tStartLineNumber put true into tEnteredHandler end if if tEnteredHandler and \ word 1 of L is "end" and \ word 2 of L is tHandlerName then put tLineNumber into tEndLineNumber exit repeat end if end repeat -- if tEnteredHandler is false, we didn't find the handler -- if tEnteredHandler is true, tStartLineNumber is where it starts, -- tEndLineNumber is where it ends From ambassador at fourthworld.com Sun Mar 19 11:12:37 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 19 Mar 2006 08:12:37 -0800 Subject: Get a handler from a script Message-ID: <441D82F5.9080709@fourthworld.com> David Burgun wrote: > The problem is that if you are doing something like this: > > if the script of myObject contains "on HandlerName" then > send HandlerName to myObject > end if Since "on" or "function" must be the first word in a line to be an active command or function, you could simply add return to your evaluation to weed out comments: if cr&"on handlerName" is in cr&the script of myObject then -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From rcozens at pon.net Sun Mar 19 11:52:22 2006 From: rcozens at pon.net (Rob Cozens) Date: Sun, 19 Mar 2006 08:52:22 -0800 Subject: Getting started with libraries In-Reply-To: References: Message-ID: Hi Graham, > So for me the issue is how to reach this point from where I am today. > Has anyone any advice about shifting my existing code into libraries > without having to massively restructure my existing apps? First, you have my sincere condolences. Second, you've made a wonderful case for the need for library stacks Third, it will be a pain in the arse; but the longer you wait, the worse things will get and the greater the task will become. > So far all I have thought of is to remove the 'common' code to a > library but to retain the handler that was in the original app simply > as a wrapper - a wrapper handler would look like > > on myOldHandler para1, para2 > do myLibraryStuff para1,para2 > end myoldHandler > A little good news: unless your scripts contain declared local variables, there's a good chance this step is not necessary. Given a control with a script including on mouseUp put field "Quantity" into para1 put field "Unit Cost" into para2 myOldHandler para1,para2 put the result into field "Total Cost" end mouseUp on myOldHandler para1,para2 global taxRate,shippingTable get para1*para2 set the numberFormat to "#.00" add (it*taxRate) to it repeat for each line shippingRate in shippingTable if item 1 of shippingRate >= it then add item 2 of shippingRate to it -- assumes last line of shipping table covers largest possible amount return it end if end repeat end myOldHandler , all you have to do is copy myOldHandler to the library stack, remove it from the control's script, and start using the library stack when the stack containing the control opens. > However I have been (I suppose) rather careless with ways of passing > values, using various techniques including setting globals, specific > fields etc. If the library is not to have too many side effects then I > have to generalise those routines too, and that's the bit which I > would like to do as efficiently as possible. Maybe it's just a messy > job and that's all there is about it, but I'd like to know what other > people think. > I hate to confirm what you don't want to hear; but, yes, it ends up being a messy job for the reasons you identified: creating a generalized handler from two or more similar handlers in different stacks often means changing the scripts in both. To the extent that your common handlers are generic, you might adopt your controls to use handlers in existing rev libraries rather than generalizing your handlers as well as the scripts of controls that call them. Serendipity Library includes handlers for data validation & formatting, date & time handlers, and list handlers in addition to SDB database handlers. The good news: when you are finished, the efficiency you will gain is worth much more than the effort involved. 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) From wmb at internettrainer.com Sun Mar 19 12:19:29 2006 From: wmb at internettrainer.com (Wolfgang Bereuter) Date: Sun, 19 Mar 2006 18:19:29 +0100 Subject: Mind mapping in Rev ? In-Reply-To: References: Message-ID: Hi Kresten, i `ll try it as short as possible;) On 18.03.2006, at 03:20, Kresten Bjerg wrote: FOA. Why Mindmaps? Im gooing away from that (word). Why? Tony Buzan has not invented them. Buzan has reinvented them, but has the copyright. (The spanish monk Ramon LLul invented) Very bad for Open Source and freeware low price notebooks. why pay a fee for copyiing? Call them concept maps, idea maps, etc... > Has anyone been experimenting with implementing elementary mind- > mapping functions > in Rev ? I did it. But its a different animal. I developed trainingsmaps (based on mindmaps). trainingsmaps are for learning (unknown content) MM are for notetaking. I did the trainingsmaps in Inspiration and made the authoring in an erarly version of rev (based on image maps). (That worked, but it has cost me some years of my "non coder?s" life) > In our development of a global freeware e-diary tool we would like > to include at least > some options for users to build and update their own mind-maps, > without having to pay > many hundreds meals of rice for themselves or their kids to do it? Why I would not do that without a specisl collaboration of a new and different RR. rev laks support, a modular concept, a engine only version, a foreseeable business policy, etc... > But a search on this site hardly has a clue. > If the INSPIRATION people could do it many many years ago, it > shouldnt be that complicated ? Now I dont work much with Inspiration anymore, but it has one big point for developing any Maps and MM?s. The best integration of Maps and Outliner in one tool. No other tool does it like Inspiration. And its stable. Did I mentioned stable? distribiuted worldwide. for WIN Mac and Palm. Sometimes (here on the list) I tried to find a "kind" of Outliner/ maps programming GUI for the rev engine, Richard and others saif the y could do that, ... It never has been realized. (i think: For your project you need a rev engine only and a good support from RR.) Aa good outliner is essentiell for a good mindmapping tool. If you want "Mindmapping small" take kidspiration, My Mind, Freemind or on of the Concept map tools out there. Daniels & Mara did a nice step in that direction. Have a look at "Constellation". that could be the base of a real Map/outliner developer tool. Yes I know thats not exactly what you are looking for, biut thats what i think would be be a killer app for the 100 Notebook. But its only the half, and here ist the pint for such a tool. (No matter if its a MM developer or a MM drawing tool (yours): developer costs... And there are so many good (MM drawing) tools out there, for little money too. For Mac and Win and open source (http:// freemind.sourceforge.net/wiki/index.php/Main_Page). For crossplatform, professional and/or beginners. Here is a list from the top of my head for the mac. Nearly all of them can export to html, rtf, opml, rtf and pdf with links. Some are mentioned bevore. Inspiration My Mind Pyramid, Incubator Curio Omni Graffle Nova Mind ConceptDraw MINDMAP Mind Manager Freemind (I think thats part of the debian distribution now) > But a search on this site hardly has a clue. > If the INSPIRATION people could do it many many years ago, it > shouldnt be that complicated ? Stable, usable, brainstorming (rapid fire) send dokuments to Word and integrated Outliner? with tousands of templates and Millions of Symbol libs? > > And with the 100 dollar MIT laptop to Africa it might fit into a > linux context ! i had/have this idea, but with the traningsmaps. Because the people there should learn first(!) the basics of the PC?s, Net, telekommunication. Notetaking with Mindmaps (on the PC) is imho the second or third step. First is MM or any other typ of maps on Paper for brainstorming I would rather use a good outliner like Mori (before HogBay notebook), Omni Outliner, Devonnote(think) Inspiration and Curio (the Outliner is inside - keynotelike - great for brainstorming) and Omni Graffle Pro. my 2 cent regards wolfgang bereuter -- Please avoid sending me Word or PowerPoint attachments. See T-mapping? is PhotoLearning Mindmaps! ............................... http://www.internettrainer.com wmb at internettrainer.com ............................... Edelhofg. 17/11, A-1180 Wien, Austria Tel: ++43/1/ 479 6410 Fax: ++43/1/ 955 14 64-198 From Camm29 at tesco.net Sun Mar 19 12:48:53 2006 From: Camm29 at tesco.net (Camm29) Date: Sun, 19 Mar 2006 17:48:53 -0000 Subject: Exit Repeat Message-ID: <008201c64b7d$655803e0$0a01a8c0@mobile1> I need to Exit a Repeat and go to another card if i press a button ! Regards Camm From jacque at hyperactivesw.com Sun Mar 19 12:47:52 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 19 Mar 2006 11:47:52 -0600 Subject: Search Script In-Reply-To: <001501c64b3a$adb82270$0101a8c0@EMRBUERO> References: <20060318180004.13BAF8266CA@mail.runrev.com> <001501c64b3a$adb82270$0101a8c0@EMRBUERO> Message-ID: <441D9948.7020501@hyperactivesw.com> Ernst M. Reicher wrote: > Hi, > I tried to start discussion about this several times in the past... > but the response was poor.... probably REAL delvelopers store their > scripts in their hypothalamus and don?t need a SearchScript....:-) > ..over the years I found some trials in other "plugins" that worked so > and so.... There has probably been little response because script searches are built into Revolution. Type Command-F, uncheck all but the "Script" checkbox, and click "Find" to do the search. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From simplsol at aol.com Sun Mar 19 13:16:53 2006 From: simplsol at aol.com (simplsol at aol.com) Date: Sun, 19 Mar 2006 13:16:53 -0500 Subject: Exit Repeat In-Reply-To: <008201c64b7d$655803e0$0a01a8c0@mobile1> References: <008201c64b7d$655803e0$0a01a8c0@mobile1> Message-ID: <8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com> Camm, If the repeat script is in a stack script, something like this might do it for you: on repeat... if the hilite of button "Stop this repeat" is true then go to card x exit repeat end if do repeat stuff do more repeat stuff end repeat -----Original Message----- From: Camm29 To: use-revolution at lists.runrev.com Sent: Sun, 19 Mar 2006 17:48:53 -0000 Subject: Exit Repeat I need to Exit a Repeat and go to another card if i press a button ! Regards Camm _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Sun Mar 19 13:17:53 2006 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 19 Mar 2006 12:17:53 -0600 Subject: Exit Repeat In-Reply-To: <008201c64b7d$655803e0$0a01a8c0@mobile1> Message-ID: On 3/19/06 11:48 AM, "Camm29" wrote: > I need to Exit a Repeat > and go to another card if i press a button ! If you could post the part of your script you're having trouble with, we'd be able to help you better. You can use "exit repeat" from inside a repeat loop to bail out and start on the next line following the "end repeat" statement. Is that what you're looking for? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From chipp at chipp.com Sun Mar 19 13:24:55 2006 From: chipp at chipp.com (Chipp Walters) Date: Sun, 19 Mar 2006 12:24:55 -0600 Subject: switch In-Reply-To: <441CE263.8030402@debraneys.com> References: <441CE263.8030402@debraneys.com> Message-ID: <441DA1F7.4040003@chipp.com> Hi John, While technically, There's not a difference between a local and 'temp' variable, I do make such a distinction in naming them. This is because local variables may be declared and then shared between handlers/functions of the same object script. This is handy when creating library scripts. You can think of them as private globals if you wish. So, if I declare at the top of my script (outside handlers and functions): local lServerURL,lFtpURL I can then use these variables inside any handler/function in my script. It is handy for many things, and you don't have to worry about any sort of global conflicts. best, Chipp John Tregea wrote: > Dear Jim, Chipp and James, > > I thought it must be something like that but tend to call 'temporary' > variables 'local' variables, so I didn't guess the connection. From jbv.silences at club-internet.fr Sun Mar 19 13:47:04 2006 From: jbv.silences at club-internet.fr (jbv) Date: Sun, 19 Mar 2006 19:47:04 +0100 Subject: Exit Repeat References: <008201c64b7d$655803e0$0a01a8c0@mobile1> Message-ID: <441DA724.FD9B890B@club-internet.fr> if the mouse is down then go cd X exit repeat end if > I need to Exit a Repeat > and go to another card if i press a button ! > From Camm29 at tesco.net Sun Mar 19 13:38:32 2006 From: Camm29 at tesco.net (Camm29) Date: Sun, 19 Mar 2006 18:38:32 -0000 Subject: Exit Repeat References: <008201c64b7d$655803e0$0a01a8c0@mobile1> <8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com> Message-ID: <008b01c64b84$550699a0$0a01a8c0@mobile1> It's exactly what's needed , but i could not get this to work ? Regards Camm ----- Original Message ----- From: To: Sent: Sunday, March 19, 2006 6:16 PM Subject: Re: Exit Repeat > Camm, > If the repeat script is in a stack script, something like this might do > it for you: > > on repeat... > if the hilite of button "Stop this repeat" is true > then > go to card x > exit repeat > end if > do repeat stuff > do more repeat stuff > end repeat > > -----Original Message----- > From: Camm29 > To: use-revolution at lists.runrev.com > Sent: Sun, 19 Mar 2006 17:48:53 -0000 > Subject: Exit Repeat > > I need to Exit a Repeat > and go to another card if i press a button ! > > Regards Camm > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mark at maseurope.net Sun Mar 19 13:48:55 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 19 Mar 2006 18:48:55 +0000 Subject: Exit Repeat In-Reply-To: <008b01c64b84$550699a0$0a01a8c0@mobile1> References: <008201c64b7d$655803e0$0a01a8c0@mobile1> <8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com> <008b01c64b84$550699a0$0a01a8c0@mobile1> Message-ID: Do you also want to exit the current handler that contains the repeat? Mark On 19 Mar 2006, at 18:38, Camm29 wrote: > It's exactly what's needed , but i could not get this to work ? > Regards Camm > > ----- Original Message ----- > From: > To: > Sent: Sunday, March 19, 2006 6:16 PM > Subject: Re: Exit Repeat > > >> Camm, >> If the repeat script is in a stack script, something like this >> might do >> it for you: >> >> on repeat... >> if the hilite of button "Stop this repeat" is true >> then >> go to card x >> exit repeat >> end if >> do repeat stuff >> do more repeat stuff >> end repeat >> >> -----Original Message----- >> From: Camm29 >> To: use-revolution at lists.runrev.com >> Sent: Sun, 19 Mar 2006 17:48:53 -0000 >> Subject: Exit Repeat >> >> I need to Exit a Repeat >> and go to another card if i press a button ! >> >> Regards Camm >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From Camm29 at tesco.net Sun Mar 19 13:55:42 2006 From: Camm29 at tesco.net (Camm29) Date: Sun, 19 Mar 2006 18:55:42 -0000 Subject: Exit Repeat References: <008201c64b7d$655803e0$0a01a8c0@mobile1><8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com><008b01c64b84$550699a0$0a01a8c0@mobile1> Message-ID: <001801c64b86$bb298880$0a01a8c0@mobile1> YES , Please ----- Original Message ----- From: "Mark Smith" To: "How to use Revolution" Sent: Sunday, March 19, 2006 6:48 PM Subject: Re: Exit Repeat > Do you also want to exit the current handler that contains the repeat? > > Mark > > > On 19 Mar 2006, at 18:38, Camm29 wrote: > > > It's exactly what's needed , but i could not get this to work ? > > Regards Camm > > > > ----- Original Message ----- > > From: > > To: > > Sent: Sunday, March 19, 2006 6:16 PM > > Subject: Re: Exit Repeat > > > > > >> Camm, > >> If the repeat script is in a stack script, something like this > >> might do > >> it for you: > >> > >> on repeat... > >> if the hilite of button "Stop this repeat" is true > >> then > >> go to card x > >> exit repeat > >> end if > >> do repeat stuff > >> do more repeat stuff > >> end repeat > >> > >> -----Original Message----- > >> From: Camm29 > >> To: use-revolution at lists.runrev.com > >> Sent: Sun, 19 Mar 2006 17:48:53 -0000 > >> Subject: Exit Repeat > >> > >> I need to Exit a Repeat > >> and go to another card if i press a button ! > >> > >> Regards Camm > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mark at maseurope.net Sun Mar 19 14:32:14 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 19 Mar 2006 19:32:14 +0000 Subject: Exit Repeat In-Reply-To: <001801c64b86$bb298880$0a01a8c0@mobile1> References: <008201c64b7d$655803e0$0a01a8c0@mobile1><8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com><008b01c64b84$550699a0$0a01a8c0@mobile1> <001801c64b86$bb298880$0a01a8c0@mobile1> Message-ID: <8E8563FD-08FD-4983-AA1E-2DC01D67C43A@maseurope.net> Maybe a send in time solution? repeat if the controlkey is down -- user presses the control key send "go cd x" to me in 10 millisecs exit to top end if .... end repeat Mark On 19 Mar 2006, at 18:55, Camm29 wrote: > YES , Please > ----- Original Message ----- > From: "Mark Smith" > To: "How to use Revolution" > Sent: Sunday, March 19, 2006 6:48 PM > Subject: Re: Exit Repeat > > >> Do you also want to exit the current handler that contains the >> repeat? >> >> Mark >> >> >> On 19 Mar 2006, at 18:38, Camm29 wrote: >> >>> It's exactly what's needed , but i could not get this to work ? >>> Regards Camm >>> >>> ----- Original Message ----- >>> From: >>> To: >>> Sent: Sunday, March 19, 2006 6:16 PM >>> Subject: Re: Exit Repeat >>> >>> >>>> Camm, >>>> If the repeat script is in a stack script, something like this >>>> might do >>>> it for you: >>>> >>>> on repeat... >>>> if the hilite of button "Stop this repeat" is true >>>> then >>>> go to card x >>>> exit repeat >>>> end if >>>> do repeat stuff >>>> do more repeat stuff >>>> end repeat >>>> >>>> -----Original Message----- >>>> From: Camm29 >>>> To: use-revolution at lists.runrev.com >>>> Sent: Sun, 19 Mar 2006 17:48:53 -0000 >>>> Subject: Exit Repeat >>>> >>>> I need to Exit a Repeat >>>> and go to another card if i press a button ! >>>> >>>> Regards Camm >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rjb at robelko.com Sun Mar 19 14:32:54 2006 From: rjb at robelko.com (Robert Brenstein) Date: Sun, 19 Mar 2006 20:32:54 +0100 Subject: Capslockkey function In-Reply-To: <005401c64b6a$cd78cb20$0300000a@makabre> References: <17B2F545-277B-464C-8D2E-D130687B3DBE@lexicall.org> <003801c64b65$40ffe4d0$0300000a@makabre> <005401c64b6a$cd78cb20$0300000a@makabre> Message-ID: >Thanks Eric > >That's a very good solution. But can I do this in a rawkey handler? > >The field is a number only field and I have to limit it so the user >is only allowed to type numbers. No space or return. >I also want to either give the user a warning that the capslock key >is on or to translate the capslocked typing into numbers. > >The best solution I have now is to translate each rawkey into the >rawkey of the number. Thats 10 lines of code. >But I would rather have a warning.... > >The capslockkey function does not seem to report anything other than >the "up" state on my system. >I'm using rev 2.7 in XP > >Jan > > But capslock should not affect typing numbers AFAIK. return or enter are easy to handle with returnkey and enterkey handlers. space and other non-numeric character can be checked and reported or simply weeded out in closeField. Robert From transcom at comcast.net Sun Mar 19 14:45:31 2006 From: transcom at comcast.net (Michael Mandaville) Date: Sun, 19 Mar 2006 11:45:31 -0800 Subject: A Triangle Box Field like Entourage Message-ID: Does anybody have a sample of the Triangle system used in fields in Entourage? Where one clicks the triangle to reveal either folders in the left hand box. Or email in the center column? Or is there a better, alternate way to do this in Rev? Thanks, Michael From mark at maseurope.net Sun Mar 19 14:46:22 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 19 Mar 2006 19:46:22 +0000 Subject: Exit Repeat In-Reply-To: <8E8563FD-08FD-4983-AA1E-2DC01D67C43A@maseurope.net> References: <008201c64b7d$655803e0$0a01a8c0@mobile1><8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com><008b01c64b84$550699a0$0a01a8c0@mobile1> <001801c64b86$bb298880$0a01a8c0@mobile1> <8E8563FD-08FD-4983-AA1E-2DC01D67C43A@maseurope.net> Message-ID: <4FC63902-2357-4564-BAD4-92B488638DDE@maseurope.net> And while we're on the subject, does anyone have a way of finding out if the escape key is down? This would be a more natural key to use to abort, but I can't see a way to do it, it doesn't register with keyDown, and doesn't show up in keysDown()...It might be good to be able to use it like the control/option/command keys. Mark On 19 Mar 2006, at 19:32, Mark Smith wrote: > Maybe a send in time solution? > > repeat > if the controlkey is down -- user presses the control key > send "go cd x" to me in 10 millisecs > exit to top > end if > .... > end repeat From janselid at broadpark.no Sun Mar 19 14:56:54 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Sun, 19 Mar 2006 20:56:54 +0100 Subject: Capslockkey function References: <17B2F545-277B-464C-8D2E-D130687B3DBE@lexicall.org> <003801c64b65$40ffe4d0$0300000a@makabre> <005401c64b6a$cd78cb20$0300000a@makabre> Message-ID: <014701c64b8f$45d01870$0300000a@makabre> Eric Chatonet gave me this great and short solution to my problem: --- you can use a simple keydown handler: on keyDown pKey if pKey is an integer then pass keyDown end keyDown This will allow to type numbers only and use the delete key. No more :-) --- Easy as that! By the way I think that the problem with the capslockkey function must be a bug in 2.7 for windows I've reported it to bugzilla. Thanks everyone to the response! Jan ----- Original Message ----- From: "Robert Brenstein" To: "How to use Revolution" Sent: Sunday, March 19, 2006 8:32 PM Subject: Re: Capslockkey function > >Thanks Eric >> >>That's a very good solution. But can I do this in a rawkey handler? >> >>The field is a number only field and I have to limit it so the user is >>only allowed to type numbers. No space or return. >>I also want to either give the user a warning that the capslock key is on >>or to translate the capslocked typing into numbers. >> >>The best solution I have now is to translate each rawkey into the rawkey >>of the number. Thats 10 lines of code. >>But I would rather have a warning.... >> >>The capslockkey function does not seem to report anything other than the >>"up" state on my system. >>I'm using rev 2.7 in XP >> >>Jan >> >> > > But capslock should not affect typing numbers AFAIK. > > return or enter are easy to handle with returnkey and enterkey handlers. > > space and other non-numeric character can be checked and reported or > simply weeded out in closeField. > > Robert > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Sun Mar 19 14:56:55 2006 From: soapdog at mac.com (Andre Garzia) Date: Sun, 19 Mar 2006 16:56:55 -0300 Subject: Exit Repeat In-Reply-To: <4FC63902-2357-4564-BAD4-92B488638DDE@maseurope.net> References: <008201c64b7d$655803e0$0a01a8c0@mobile1> <8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com> <008b01c64b84$550699a0$0a01a8c0@mobile1> <001801c64b86$bb298880$0a01a8c0@mobile1> <8E8563FD-08FD-4983-AA1E-2DC01D67C43A@maseurope.net> <4FC63902-2357-4564-BAD4-92B488638DDE@maseurope.net> Message-ID: Mark, there is a escapekey message... on escapekey --- crash dive! crash dive! end escapekey :D Cheers andre On Mar 19, 2006, at 4:46 PM, Mark Smith wrote: > And while we're on the subject, does anyone have a way of finding > out if the escape key is down? > > This would be a more natural key to use to abort, but I can't see a > way to do it, it doesn't register with keyDown, and doesn't show up > in keysDown()...It might be good to be able to use it like the > control/option/command keys. > > Mark > > On 19 Mar 2006, at 19:32, Mark Smith wrote: > >> Maybe a send in time solution? >> >> repeat >> if the controlkey is down -- user presses the control key >> send "go cd x" to me in 10 millisecs >> exit to top >> end if >> .... >> end repeat > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Sun Mar 19 15:04:13 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 19 Mar 2006 20:04:13 +0000 Subject: Exit Repeat In-Reply-To: References: <008201c64b7d$655803e0$0a01a8c0@mobile1> <8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com> <008b01c64b84$550699a0$0a01a8c0@mobile1> <001801c64b86$bb298880$0a01a8c0@mobile1> <8E8563FD-08FD-4983-AA1E-2DC01D67C43A@maseurope.net> <4FC63902-2357-4564-BAD4-92B488638DDE@maseurope.net> Message-ID: <6F85679B-1E7D-4AC6-9F15-FAE05B764286@maseurope.net> Andre, the trouble is that in the case of interrupting a repeat loop, you can't test for whether the escape key is down like you can with control/option/command. So use control/option/command, of course :) But the escape key would be more natural... Marl On 19 Mar 2006, at 19:56, Andre Garzia wrote: > Mark, > > there is a escapekey message... > > on escapekey > --- crash dive! crash dive! > end escapekey > > :D > > Cheers > andre > On Mar 19, 2006, at 4:46 PM, Mark Smith wrote: > >> And while we're on the subject, does anyone have a way of finding >> out if the escape key is down? >> >> This would be a more natural key to use to abort, but I can't see >> a way to do it, it doesn't register with keyDown, and doesn't show >> up in keysDown()...It might be good to be able to use it like the >> control/option/command keys. >> >> Mark >> >> On 19 Mar 2006, at 19:32, Mark Smith wrote: >> >>> Maybe a send in time solution? >>> >>> repeat >>> if the controlkey is down -- user presses the control key >>> send "go cd x" to me in 10 millisecs >>> exit to top >>> end if >>> .... >>> end repeat >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From e.reicher at gmx.at Sun Mar 19 15:50:14 2006 From: e.reicher at gmx.at (Ernst M. Reicher) Date: Sun, 19 Mar 2006 21:50:14 +0100 Subject: Search Script References: <20060319180009.5726982649C@mail.runrev.com> Message-ID: <008601c64b96$bb87e1e0$0101a8c0@EMRBUERO> oups - aha I tried the "built in" some time ago and it worked awfully slow.... also this seems to be a little bit neglected.... drag the right border: there is an unused popup, a "walking circle", a progressbar and a resizeIcon..... thank you Jacqueline!!! Regards, Ernst > Date: Sun, 19 Mar 2006 11:47:52 -0600 > From: "J. Landman Gay" > Subject: Re: Search Script > To: How to use Revolution > Message-ID: <441D9948.7020501 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Ernst M. Reicher wrote: >> Hi, >> I tried to start discussion about this several times in the past... >> but the response was poor.... probably REAL delvelopers store their >> scripts in their hypothalamus and don?t need a SearchScript....:-) >> ..over the years I found some trials in other "plugins" that worked so >> and so.... > > There has probably been little response because script searches are > built into Revolution. Type Command-F, uncheck all but the "Script" > checkbox, and click "Find" to do the search. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Mar 19 15:51:18 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 19 Mar 2006 12:51:18 -0800 Subject: Get a handler from a script In-Reply-To: <87A2ECE9-9F33-43D9-B80A-447139FC71C7@dsl.pipex.com> References: <1BF42D94-68EC-46A1-8F34-334C5AACCBC6@dsl.pipex.com> <134E87F1-7BB2-4AD7-AE32-7E8BBC753053@maseurope.net> <87A2ECE9-9F33-43D9-B80A-447139FC71C7@dsl.pipex.com> Message-ID: <02338081.20060319125118@ahsoftware.net> David- Sunday, March 19, 2006, 5:18:27 AM, you wrote: > This this will work if the Hander is NOT commented out, but will fail > with an error if the handler IS commented out. Also if you have a > comment in a Script that just happens to contain "on HandlerName" > then the "if" will succeed even though there is no handler defined. Here's a line I learned from Jerry Daniels: filter tScript with "[ofsgOFSG][nueNUE][ ntNT]*" If necessary you can say: replace space & space with space in tScript Then you just check for the handler you're looking for: if lineOffset("on" && HandlerName, tScript) is not zero then... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Mar 19 15:55:21 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 19 Mar 2006 12:55:21 -0800 Subject: Making the move... In-Reply-To: <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> Message-ID: <212580670.20060319125521@ahsoftware.net> Geoff- Saturday, March 18, 2006, 1:24:50 PM, you wrote: > I've never seen a hundred-line routine that wouldn't be better as > five twenty-line routines, each of which could be documented with a > line of code. Perhaps even ten ten-line routines. It's probably my forth background, but I'm mildly allergic to routines that don't fit in their entirety onto my screen. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Sun Mar 19 16:41:31 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 19 Mar 2006 13:41:31 -0800 Subject: Exit Repeat Message-ID: <441DD00B.80304@fourthworld.com> Mark Smith wrote: > Andre, the trouble is that in the case of interrupting a repeat loop, > you can't test for whether the escape key is down like you can with > control/option/command. > > So use control/option/command, of course :) > But the escape key would be more natural... Check out the entry for the keysDown function in the Transcript Dictionary; I believe that'll get you where you want to go.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From nicolas_cueto at yahoo.com Sun Mar 19 16:54:50 2006 From: nicolas_cueto at yahoo.com (Nicolas Cueto) Date: Mon, 20 Mar 2006 06:54:50 +0900 Subject: [OT] looking for rev (or mc) cgi engine Message-ID: <026e01c64b9f$cd89a0f0$0b01a8c0@niconiko04zbtb> Hello List, It's been a back-and-forth with my webhost these last two weeks trying to get what was a perfectly working mc-cgi setup to startup on a new account. The latest word from their technical support staff is: "It seems that the binary format is not compatable on the system, If you can get setup as ELF-32 it will probably work." Unsure what this means, my guess is that the FreeBSD mc/rev engine I ftp'd from RunRev, needs to be compiled (uploaded?) in ELF-32 format, whatever exactly that is. Anyway, if someone understands what I'm being asked for and can explain or help me out, it would be a great relief. Many thanks. Cheers, Nicolas Cueto From gcanyon at inspiredlogic.com Sun Mar 19 17:12:57 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun, 19 Mar 2006 14:12:57 -0800 Subject: Get a handler from a script In-Reply-To: <441D82F5.9080709@fourthworld.com> References: <441D82F5.9080709@fourthworld.com> Message-ID: <8E51C708-0393-4233-B3AC-B05000871BF2@inspiredlogic.com> On Mar 19, 2006, at 8:12 AM, Richard Gaskin wrote: > Since "on" or "function" must be the first word in a line to be an > active command or function, you could simply add return to your > evaluation to weed out comments: > > if cr&"on handlerName" is in cr&the script of myObject then If there is a leading space on the line this won't find it. On Mar 19, 2006, at 12:51 PM, Mark Wieder wrote: > Here's a line I learned from Jerry Daniels: > > filter tScript with "[ofsgOFSG][nueNUE][ ntNT]*" This won't either. Of course, any well-formatted script won't have spaces before a handler definition, but that doesn't stop the script from compiling. Checking the first word of each line is (I believe) certain, and is still reasonably fast (takes less than twice as long as the filter command in informal testing). Unfortunately for anyone attempting this task, this is a perfectly valid script: /* this is a comment as is this */on mouseUp answer "yes" end mouseUp I don't know of a good way around that, so I have ignored it thus far ;-) gc From mlange at lexicall.org Sun Mar 19 17:17:22 2006 From: mlange at lexicall.org (Marielle Lange) Date: Sun, 19 Mar 2006 22:17:22 +0000 Subject: Making the move... Message-ID: <4C003C98-91CC-47C3-A7B3-BBF2622CC7B8@lexicall.org> > If you aren't happy with the tool, then just don't use it. It's > that simple. It is not very wise to say so. If all dissatisfied persons on this list followed your advice, in the present context, this could cost runrev very many clients. My personal view on this is that it is better to express the reasons for dissatisfaction so that the problems can be resolved. What I have seen on this list is that you just want to get rid of the persons who tell you there is a problem... and keep your problem. I am interested in using the excellent product that revolution is. I am not interested to have to accept to deal with problems like the present ones for the months to come for the priviledge to use it. For the record, Richmond was banished. He was brought back only because I did intercede for him. The reason he ended up using cursed language is because of his growing frustration at being asked to shut it up on his discourse on open source. Honestly, your very biased and overtly hostile email is an invitation for insults. A proof of this is that you already received emails back when you wrote a similar email to a user who had the very stupid idea to do the same thing as me, express a criticism. > http://mail.runrev.com/pipermail/use-revolution/2005-December/ > 071769.html > Why isn't Rev more popular? > Jerry Saperstein runrev at civildiscovery.com > Mon Dec 5 20:30:16 CST 2005 > Criticism of Revolution generally apparently is generally > disapproved of here. I've seen a number of valid criticisms > dismissed in the > same way as yours have been. And what argument did you use to dismiss her claim... nothing but Innuendo and defamation, something *far too frequent* on this list. > http://thread.gmane.org/gmane.comp.ide.revolution.user/71131 > From: Chipp Walters > Subject: Re: Why isn't Rev more popular? > Newsgroups: gmane.comp.ide.revolution.user > Date: 2005-12-06 04:59:20 GMT (14 weeks, 5 days, 16 hours and 35 > minutes ago) > You wouldn't be the Jerry Saperstein of Font Bank fame who was > accussed > back in the 90's of stealing clipart intellectual property and > reselling > it...would you? If so, how'd that turn out? The fact that you discredited her in this unacceptable ways probably didn't help. She ended up insulting you. I won't insult you. But being in the position Richmond was put or Jerry was put, I understand their reaction. I don't approve it. But I understand how they came to explode. They did it because some not so acceptable means were used to discredit them and there was nothing they could say anymore to have the truth restored. Fortunately for me, it is probably less easy to discredit the person who contributed this to the community: http://revolution.widged.com/wiki/tiki-index.php? page=TutorialsTeacherManual http://revolution.widged.com/stacks/ http://codes.widged.com/ I am a defender of runrev. And it is BECAUSE I am a defender of runrev that I do take the time to speak out and denounce problems that contribute to keep persons AWAY from this excellent product. I don't know what game you play Chipp, Dan, Richard, but it really looks like you are trying to prevent the members of the non profit community to express their views and describe their needs on this list. Anytime they do, they are discredited. Richard said he was sorry to see freeGui not more popular. Apparently, he was not sorry defaming the freeGui project leader on the metacard list: > http://mail.runrev.com/pipermail/metacard/2006-February/009068.html > While it's hard to find a post from you regarding Rev in any forum > which > doesn't turn it into an opportunity to express your negative opinions > about the product, in this case it seems Kevin chose to finish a > thread > that was started here by writing to an entirely different list. My > apologies for thinking that this latest post from you was like the > dozens before it. For the record, Richmond didn't hack to the RR website. I am completely fed up to see the likes of you transform the truth on this list and discredit persons who have been deprived from the right to defend themselves. No hack was required to see the 2.7 announce, a simple search on google was enough. Richmond lacked of judgement, I agree. But he clearly didn't mean to do any harm. If he could access to this page, the error was the one of runrev's not his (the page, was NOT password protected and if you reached it via google, you had no way to know you were accessing information you were not supposed to access). The fact that he emailed a copy of the 2.7 announce on the list didn't justify to see him banish. Anybody else would have done so, there would have been no consequences (yes, I know, most persons wouldn't have done so, but that's a different issue). For the record, Xavier doesn't really have the opportunity to defend himself on this list because Kevin recently sent him an email to tell Xavier that if he tried to defend himself, he would be kicked out of the list. He choose not to do so because this would simply have prolonged the conflict for no positive outcome. He choose to leave because he knew he had no chance to be treated in an honourful way. For the record, I have seen some of you write on the improve list (where Xavier has no access) that Xavier *knowingly* cheated revolution. For the record, runrev doesn't even as a proof that Xavier cheated them at all. If you check up the emails posted on the list you will see that the first For the record, here are Xavier's post on the list: xavier.bury at clearstream.com at Thu Feb 16 01:16:11 CST 2006 wrote on the metacard list: > As an enterprise user, i never got a wiff of a test cycle or beta > release... > Xavier Bury xavier.bury at clearstream.com at Thu Feb 16 01:39:16 CST 2006 wrote on the metacard list: > For some reason, and after lots of asking my studio license was > inserted in the list. > Then it was removed by Heather - and she never looked if i wasn't > also an enterprise user. > [...] > im seriously displeased at this level.... > ---------------------=--------------------- > Xavier Bury It is possible that Xavier used the revolution engine to update his metacard version. But what the facts are is (1) Xavier has a valid paid license (I don't know for what version, possibly runrev 2.5), (2) it couldn't be proven he cheated at all, and (3) if communication with runrev had been better, Xavier wouldn't have *UNKNOWINGLY* used his copy beyond license terms. So, runrev, is it possible to reassure your very many non profit clients here that when such problems arise, they can be expected to receive a *FAIR* treatment and not be expelled from the list with for only argument "we cannot prove that you have cheated us, but we are sure you cheated us and therefore we will act accordingly". I don't know if you realise that such methods are *morally unacceptable*. Either you have no proof either you have one. You cannot act as if you had a proof when you have none. I don't know what the laws are in your country but in mine (Belgium) a person is innocent unless you can prove him guilty. > If you aren't happy with the tool, then just don't use it. It's > that simple. And yes, Chipp, that's the problem. I have recently come to the conclusion that I should better not use it, despite the fact I have a full enterprise license. Because too many things happen in this community that I find *VERY* difficult to accept. I find *VERY* difficult to accept the very unpleasant feeling to be right in Orwell's fiction, where what is called the ministry of truth is in fact the ministry of lies. Dan's email on Ruby was WOW. Very kindly, as usual, he went to check up some very popular resource out there, and came back to tell us that it was not worth checking up. Ruby was *far too complex*, *nothing useful could be done with it*, *revolution could be used the same way Ruby is*. But know that I am *very* uncomfortable with your practices within *this* community, where you too often take advantage of the credulity of the users. Richard's email was similarly full of zealotry. For the foreigners on this list: 'Zealotry denotes zeal in excess, referring to cases where activism and ambition in relation to an ideology have become excessive to the point of being harmful to others, oneself, and one's own cause.' http://en.wikipedia.org/wiki/Zealot. For the record if you read what he declared to be his favorite book, McConnell, you will see page 139-142 that an element seen important to produce efficient libraries is good encapsulation. What his tutorial recommend is *EXACTLY* the opposite. There are ways to achieve good encapsulation with revolution, which could be used to design a very powerful library of reusable widgets, but I have *NEVER* seen them mentioned by Richard. I am personally NOT interested in this kind of zealotry and one-sided discourse. I do like revolution, this is an incredible tool, but like many other users I am aware of the fact that it presents strengths as well as weaknesses and that a few things could be improved. I am not interested in not using a product I paid for. What I am interested is in becoming a more satisfied customer. My understanding is that runrev doesn't want me to stop using their product (at least their attitude suggested they wanted me to continue to use them). They are themselves aware of a few flaws associated with the choices made over the years and claim to have every intention to progressively address these flaws in the future. At least, I very much hope so and I very much need to be reassured on this pretty soon.... I take the time to write this email because the two last emails from the runrev executives gave me hope. If I am right, then the information in this email will be used to act in an honourful way. If I am wrong, then, other users deserve to know what to expect. I sincerely hope to be right. Marielle ------------------------------------------------------------------------ -------- Marielle Lange (PhD), Psycholinguist Alternative emails: mlange at blueyonder.co.uk, Homepage http://homepages.widged.com/mlange/ Easy access to lexical databases http:// lexicall.widged.com/ Supporting Education Technologists http:// revolution.widged.com/wiki/ From gcanyon at inspiredlogic.com Sun Mar 19 17:24:58 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun, 19 Mar 2006 14:24:58 -0800 Subject: Exit Repeat In-Reply-To: <6F85679B-1E7D-4AC6-9F15-FAE05B764286@maseurope.net> References: <008201c64b7d$655803e0$0a01a8c0@mobile1> <8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com> <008b01c64b84$550699a0$0a01a8c0@mobile1> <001801c64b86$bb298880$0a01a8c0@mobile1> <8E8563FD-08FD-4983-AA1E-2DC01D67C43A@maseurope.net> <4FC63902-2357-4564-BAD4-92B488638DDE@maseurope.net> <6F85679B-1E7D-4AC6-9F15-FAE05B764286@maseurope.net> Message-ID: On Mar 19, 2006, at 12:04 PM, Mark Smith wrote: > Andre, the trouble is that in the case of interrupting a repeat > loop, you can't test for whether the escape key is down like you > can with control/option/command. > > So use control/option/command, of course :) > But the escape key would be more natural... This works: local sGetOut on mouseUp put empty put false into sGetOut repeat 20000 wait 0 ticks with messages if sGetOut then exit to top end repeat put "completed" end mouseUp on escapeKey put true into sGetOut end escapeKey Note that the escapeKey message is delivered to the focused control, so you can't put it in a button and expect it to work reliably. Put the above in the card script, then click anywhere in the card. Some time later "completed" will show in the message box. Then click the card again and then press the escape key. You won't get the "completed" text. gc From mark at maseurope.net Sun Mar 19 17:34:27 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 19 Mar 2006 22:34:27 +0000 Subject: Exit Repeat In-Reply-To: <441DD00B.80304@fourthworld.com> References: <441DD00B.80304@fourthworld.com> Message-ID: On my setup (Mac 10.4.5, Rev 2.7), the keysDown doesn't seem to cover the escape key, or any other non-ascii key, unless an ascii key is also down... Mark On 19 Mar 2006, at 21:41, Richard Gaskin wrote: > Mark Smith wrote: >> Andre, the trouble is that in the case of interrupting a repeat >> loop, you can't test for whether the escape key is down like you >> can with control/option/command. >> So use control/option/command, of course :) >> But the escape key would be more natural... > > Check out the entry for the keysDown function in the Transcript > Dictionary; I believe that'll get you where you want to go.... > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dick.kriesel at mail.com Sun Mar 19 17:37:03 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sun, 19 Mar 2006 14:37:03 -0800 Subject: Get a handler from a script In-Reply-To: <8E51C708-0393-4233-B3AC-B05000871BF2@inspiredlogic.com> Message-ID: On 3/19/06 2:12 PM, "Geoff Canyon" wrote: > Checking the first word of each line is (I believe) certain, and is > still reasonably fast (takes less than twice as long as the filter > command in informal testing). > > Unfortunately for anyone attempting this task, this is a perfectly > valid script: > > /* this is a comment > as is this */on mouseUp > answer "yes" > end mouseUp > > I don't know of a good way around that, so I have ignored it thus > far ;-) Here's a way: on mouseUp put removeBlockComments(the script of me) end mouseUp /* this is a comment as is this */function removeBlockComments pText put pText into tText put offset("/*",tText) into tOffset if tOffset > 0 then delete char tOffset to tOffset + offset("*/",tText,tOffset) + 1 of tText put removeBlockComments(tText) into tText end if return tText end removeBlockComments -- Dick From john at debraneys.com Sun Mar 19 17:49:52 2006 From: john at debraneys.com (John Tregea) Date: Mon, 20 Mar 2006 06:49:52 +0800 Subject: Arrays as custom properties? In-Reply-To: References: <441CF97A.7040502@debraneys.com> Message-ID: <441DE010.8050604@debraneys.com> Thanks Mark, I was hoping to have an array of arrays, but can certainly make it work using a range of custompropertysets. Regards John Mark Smith wrote: > You can simply store an array variable as a customPropertySet: > set the customProperties["addresses"] of this stack to addressArray > > You can then set individual elements of the stored array: > set the addresses[key] of this stack to someItem > > And retrieve the indidvidual elements: > get the addresses[key] of this stack > > or put the whole thing back into an array variable: > put the customProperties["addresses"] of this stack into addressArray > > The thing is that a customPropertySet effecively an array, and > depending on your needs, (accessing a customPropertySet is only > slightly slower than accessing an array) may be a better choice than a > global/local array variable. > > Mark > > > > On 19 Mar 2006, at 06:26, John Tregea wrote: > >> Thanks Scott, >> >> I already have a number of arrays stored in global variables and want >> to store each complete array as a custom property of the group. I >> realise I could repeat through the structure of the array and >> transfer each array element to a corresponding element in the group's >> custom property, but hoped to be able to "plonk" the array into the >> custom property. >> >> I will check my use of the word "the"... >> >> ----------------------------------- >> >> Scott Rossi wrote: >>> Recently, John Tregea wrote: >>> >>> >>>> I have been looking to see if I can set an array as a custom >>>> property of >>>> a group. >>>> ... I get an error message on execution that says "bad index >>>> expression" >>>> >>> >>> Yes, you need to define an index for the array. Perhaps you mean >>> something >>> like this: >>> >>> set the myAccess["password"] of group "A" to gMyAccess >>> >>> To retrieve: >>> >>> get the myAccess["password"] of group "A" >>> >>> Also, I believe a custom property must always be prefaced by "the". >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, Multimedia & Design >>> ----- >>> E: scott at tactilemedia.com >>> W: http://www.tactilemedia.com >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From mark at maseurope.net Sun Mar 19 17:51:28 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 19 Mar 2006 22:51:28 +0000 Subject: Exit Repeat In-Reply-To: References: <008201c64b7d$655803e0$0a01a8c0@mobile1> <8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com> <008b01c64b84$550699a0$0a01a8c0@mobile1> <001801c64b86$bb298880$0a01a8c0@mobile1> <8E8563FD-08FD-4983-AA1E-2DC01D67C43A@maseurope.net> <4FC63902-2357-4564-BAD4-92B488638DDE@maseurope.net> <6F85679B-1E7D-4AC6-9F15-FAE05B764286@maseurope.net> Message-ID: <71AF7E80-A0C5-4E52-A599-AC5720EE0643@maseurope.net> 'wait 0 ticks with messages' was the thing - thanks! So a general (stack-wide) approach might be to use a custom prop in the stack: in a control, card or stack: on handlerWithRepeatIMightWantToInterrupt set the canInterrupt of this stack to true repeat forever wait 0 ticks with messages doRepeatStuff end repeat set the canInterrupt of this stack to false otherStuff end handlerWithRepeatIMightWantToInterrupt then in the stack script on escapeKey if the canInterrupt of me then set the canInterrupt of me to false exit to top end if end escapeKey Mark On 19 Mar 2006, at 22:24, Geoff Canyon wrote: > > On Mar 19, 2006, at 12:04 PM, Mark Smith wrote: > >> Andre, the trouble is that in the case of interrupting a repeat >> loop, you can't test for whether the escape key is down like you >> can with control/option/command. >> >> So use control/option/command, of course :) >> But the escape key would be more natural... > > This works: > > local sGetOut > > on mouseUp > put empty > put false into sGetOut > repeat 20000 > wait 0 ticks with messages > if sGetOut then exit to top > end repeat > put "completed" > end mouseUp > > on escapeKey > put true into sGetOut > end escapeKey > > Note that the escapeKey message is delivered to the focused > control, so you can't put it in a button and expect it to work > reliably. Put the above in the card script, then click anywhere in > the card. Some time later "completed" will show in the message box. > Then click the card again and then press the escape key. You won't > get the "completed" text. > > gc > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Sun Mar 19 18:08:06 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 19 Mar 2006 23:08:06 +0000 Subject: Arrays as custom properties? In-Reply-To: <441DE010.8050604@debraneys.com> References: <441CF97A.7040502@debraneys.com> <441DE010.8050604@debraneys.com> Message-ID: John, it'd be great to have arrays of arrays, but that doesn't seem to be something we should hold our breath for. However, using multiple key arrays, customPropertySets and a writing few functions to filter the keys of them can go a long way.. Best, Mark On 19 Mar 2006, at 22:49, John Tregea wrote: > Thanks Mark, > > I was hoping to have an array of arrays, but can certainly make it > work using a range of custompropertysets. > > Regards > > John > > Mark Smith wrote: >> You can simply store an array variable as a customPropertySet: >> set the customProperties["addresses"] of this stack to addressArray >> >> You can then set individual elements of the stored array: >> set the addresses[key] of this stack to someItem >> >> And retrieve the indidvidual elements: >> get the addresses[key] of this stack >> >> or put the whole thing back into an array variable: >> put the customProperties["addresses"] of this stack into addressArray >> >> The thing is that a customPropertySet effecively an array, >> and depending on your needs, (accessing a customPropertySet is >> only slightly slower than accessing an array) may be a better >> choice than a global/local array variable. >> >> Mark >> >> >> >> On 19 Mar 2006, at 06:26, John Tregea wrote: >> >>> Thanks Scott, >>> >>> I already have a number of arrays stored in global variables and >>> want to store each complete array as a custom property of the >>> group. I realise I could repeat through the structure of the >>> array and transfer each array element to a corresponding element >>> in the group's custom property, but hoped to be able to "plonk" >>> the array into the custom property. >>> >>> I will check my use of the word "the"... >>> >>> ----------------------------------- >>> >>> Scott Rossi wrote: >>>> Recently, John Tregea wrote: >>>> >>>> >>>>> I have been looking to see if I can set an array as a custom >>>>> property of >>>>> a group. >>>>> ... I get an error message on execution that says "bad index >>>>> expression" >>>>> >>>> >>>> Yes, you need to define an index for the array. Perhaps you >>>> mean something >>>> like this: >>>> >>>> set the myAccess["password"] of group "A" to gMyAccess >>>> >>>> To retrieve: >>>> >>>> get the myAccess["password"] of group "A" >>>> >>>> Also, I believe a custom property must always be prefaced by "the". >>>> >>>> Regards, >>>> >>>> Scott Rossi >>>> Creative Director >>>> Tactile Media, Multimedia & Design >>>> ----- >>>> E: scott at tactilemedia.com >>>> W: http://www.tactilemedia.com >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Sun Mar 19 18:27:29 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 19 Mar 2006 15:27:29 -0800 Subject: Arrays as custom properties? In-Reply-To: <441DE010.8050604@debraneys.com> References: <441CF97A.7040502@debraneys.com> <441DE010.8050604@debraneys.com> Message-ID: actually, I use arrays of arrays all the time: make a text list like this: key1 DATA1 etc/ key2 DATA2 etc/ key3 DATA3 etc/ set the CustomPropSetName[customPropertyName] of this stack to each property could be made into an array variable for easier use.. from a single custom property. Or you might need lists of lists... The key is to keep each record of data on one line. Use URLENCODE/URLDECODE for text or htmltext to flatten big blocks of text with paragraphs and styles. if the data consists only of numbers, there could be comma delimited lists inside of the tab delimited lists... yikes! then there's quotes.... even a single comma delimited list inside a single property can be defined as an array inside of an array... >Thanks Mark, > >I was hoping to have an array of arrays, but can certainly make it >work using a range of custompropertysets. > >Regards > >John > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From alex at tweedly.net Sun Mar 19 18:41:57 2006 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 19 Mar 2006 23:41:57 +0000 Subject: Get a handler from a script In-Reply-To: References: Message-ID: <441DEC45.7040007@tweedly.net> Dick Kriesel wrote: > >Here's a way: > >on mouseUp > put removeBlockComments(the script of me) >end mouseUp > >/* this is a comment >as is this */function removeBlockComments pText >put pText into tText >put offset("/*",tText) into tOffset >if tOffset > 0 then > delete char tOffset to tOffset + offset("*/",tText,tOffset) + 1 of tText > put removeBlockComments(tText) into tText >end if >return tText >end removeBlockComments > > You should try that script on itself :-) The "/*" in the first 'offset' line, and the "*/" in the second 'offset' line are (incorrectly) recognized as a block comment, with fairly disastrous results. I suspect that proper recognition of block comments isn't as easy as it might seem - need to handle all forms of string delimiter, which themselves may be inside comments. -- 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.5/284 - Release Date: 17/03/2006 From chipp at chipp.com Sun Mar 19 18:57:07 2006 From: chipp at chipp.com (Chipp Walters) Date: Sun, 19 Mar 2006 17:57:07 -0600 Subject: Making the move... In-Reply-To: <212580670.20060319125521@ahsoftware.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> Message-ID: <441DEFD3.6090209@chipp.com> Yep, I've heard that before, but frankly, for me, I'd rather keep it all in one, unless there's a really good reason to separate into multiple handlers (as in creating more reusability). I find it much easier to debug code I've written this way than hunting through the message path for the 15 or so functions/handlers I've written trying to make things 'more simple.' Just a difference in coding style. In fact, typically I'll write code procedurally in a longer handler, then only break it up if/when I know I need to do part of the same thing again. Like most of us, I'd rather not code twice. Even though, I've got libraries with over 50 handlers/functions. -Chipp Mark Wieder wrote: > Geoff- > > Saturday, March 18, 2006, 1:24:50 PM, you wrote: > > >>I've never seen a hundred-line routine that wouldn't be better as >>five twenty-line routines, each of which could be documented with a >>line of code. Perhaps even ten ten-line routines. From chipp at chipp.com Sun Mar 19 19:11:22 2006 From: chipp at chipp.com (Chipp Walters) Date: Sun, 19 Mar 2006 18:11:22 -0600 Subject: Making the move... In-Reply-To: <4C003C98-91CC-47C3-A7B3-BBF2622CC7B8@lexicall.org> References: <4C003C98-91CC-47C3-A7B3-BBF2622CC7B8@lexicall.org> Message-ID: <441DF32A.5060909@chipp.com> Marielle, Notwithstanding your earlier private unsolicited (and unresponded to) rants to me (and others) on why you hate Revolution, it is obvious you like to have the last...oh 1000 words. Bravo. -Chipp From dick.kriesel at mail.com Sun Mar 19 19:22:10 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sun, 19 Mar 2006 16:22:10 -0800 Subject: Get a handler from a script In-Reply-To: <441DEC45.7040007@tweedly.net> Message-ID: On 3/19/06 3:41 PM, "Alex Tweedly" wrote: > You should try that script on itself :-) > The "/*" in the first 'offset' line, and the "*/" in the second 'offset' > line are (incorrectly) recognized as a block comment, with fairly > disastrous results. I did, and verified that it removed the comment. I didn't notice that it also eviscerated the function! A trivial fix avoids that problem: on mouseUp put removeBlockComments(the script of me) end mouseUp /* this is a comment as is this */function removeBlockComments pText put pText into tText put offset("/" & "*",tText) into tOffset if tOffset > 0 then delete char tOffset to tOffset + offset("*" & "/",tText,tOffset) + 1 \ of tText put removeBlockComments(tText) into tText end if return tText end removeBlockComments > I suspect that proper recognition of block comments > isn't as easy as it might seem - need to handle all forms of string > delimiter, which themselves may be inside comments. Since I don't recognize that need, would you elaborate on it, please? Thanks for catching my oversight, Alex. -- Dick From mwieder at ahsoftware.net Sun Mar 19 19:27:26 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 19 Mar 2006 16:27:26 -0800 Subject: ANN: Email Obfuscator Message-ID: <16715307080.20060319162726@ahsoftware.net> All- At Lynn Fredericks' prodding, I created a small stack to generate some JavaScript to hide email addresses on web sites. What is this? Placing your email address online is a sure-fire way to attract spam. This stack generates some JavaScript code which can be pasted into a web page to create a clickable link for your email address, but which is resistant to harvesting by online search robots. Enter your email address and the text you want displayed on the web page, then click the "Convert" button. Take the resulting JavaScript code and paste it onto a web page instead of a "mailto:" link to your email address. In revOnline in user space "mwieder" or under "Utilities". -- -Mark Wieder mwieder at ahsoftware.net From mark at maseurope.net Sun Mar 19 19:38:55 2006 From: mark at maseurope.net (Mark Smith) Date: Mon, 20 Mar 2006 00:38:55 +0000 Subject: Making the move... In-Reply-To: <4C003C98-91CC-47C3-A7B3-BBF2622CC7B8@lexicall.org> References: <4C003C98-91CC-47C3-A7B3-BBF2622CC7B8@lexicall.org> Message-ID: Marielle, I really don't get how anyone thinks that genuine and justified criticism of Revolution is somehow not tolerated on this list. On 19 Mar 2006, at 22:17, Marelle Lange wrote: > > What I have seen on this list is that you just want to get rid of > the persons who tell you there is a problem... and keep your > problem. I am interested in using the excellent product that > revolution is. I am not interested to have to accept to deal with > problems like the present ones for the months to come for the > priviledge to use it. > People do almost nothing other than discuss problems on this list - some are problems of comprehension or experience, some are problems with the docs, some are bugs...they get discussed quite reasonably, whatever they are...but then >> http://mail.runrev.com/pipermail/use-revolution/2005-December/ >> 071769.html >> Why isn't Rev more popular? >> Jerry Saperstein runrev at civildiscovery.com >> Mon Dec 5 20:30:16 CST 2005 >> Criticism of Revolution generally apparently is generally >> disapproved of here. I've seen a number of valid criticisms >> dismissed in the >> same way as yours have been. >> > > And what argument did you use to dismiss her claim... nothing but > Innuendo and defamation, something *far too frequent* on this list. > >> http://thread.gmane.org/gmane.comp.ide.revolution.user/71131 >> From: Chipp Walters >> Subject: Re: Why isn't Rev more popular? >> Newsgroups: gmane.comp.ide.revolution.user >> Date: 2005-12-06 04:59:20 GMT (14 weeks, 5 days, 16 hours and 35 >> minutes ago) >> You wouldn't be the Jerry Saperstein of Font Bank fame who was >> accussed >> back in the 90's of stealing clipart intellectual property and >> reselling >> it...would you? If so, how'd that turn out? >> > > > The fact that you discredited her in this unacceptable ways > probably didn't help. She ended up insulting you. I won't insult > you. But being in the position Richmond was put or Jerry was put, I > understand their reaction. I don't approve it. But I understand how > they came to explode. They did it because some not so acceptable > means were used to discredit them and there was nothing they could > say anymore to have the truth restored. Fortunately for me, it is > probably less easy to discredit the person who contributed this to > the community: > http://revolution.widged.com/wiki/tiki-index.php? > page=TutorialsTeacherManual > http://revolution.widged.com/stacks/ > http://codes.widged.com/ > I just reviewed the Jerry Saperstein thread, and I think the same thing I thought at the time : Jerry came on with one of the most obvious pieces of transparently provocative trollery I've seen. Her assertion was that Revolution was 'unusable for business apps' - a term never explained, despite many requests for clarification, and no examples of problems she had encountered were ever forthcoming. She then insinuated, fairly clearly, that claims made by list members as to the fruits of their labours in Revolution were lies. It's not surprising she got short shrift. > > I am a defender of runrev. And it is BECAUSE I am a defender of > runrev that I do take the time to speak out and denounce problems > that contribute to keep persons AWAY from this excellent product. I > don't know what game you play Chipp, Dan, Richard, but it really > looks like you are trying to prevent the members of the non profit > community to express their views and describe their needs on this > list. Anytime they do, they are discredited. > I am a non profit user of Rev...I simply don't understand how Chipp, Dan and Richard or anyone else are supposed to be discrediting anyone, or preventing anyone from describing their needs. > > Dan's email on Ruby was WOW. Very kindly, as usual, he went to > check up some very popular resource out there, and came back to > tell us that it was not worth checking up. Ruby was *far too > complex*, *nothing useful could be done with it*, *revolution could > be used the same way Ruby is*. But know that I am *very* > uncomfortable with your practices within *this* community, where > you too often take advantage of the credulity of the users. > "Then I discoverd Ruby on Rails. For me -- and certainly there are other frameworks out there that others may favor -- no other Web app development approach comes even close." - Dan Shafer ????? I'm really in no position to comment on Richmond or Xaviers differences with RunRev, so I won't. Honestly, I'm wondering if you and I are reading the same list! Baffled, Mark From john at debraneys.com Sun Mar 19 19:42:41 2006 From: john at debraneys.com (john at debraneys.com) Date: Mon, 20 Mar 2006 00:42:41 +0000 Subject: Arrays as custom properties? Message-ID: Thanks everyone, I appreciate the assistance... That has given me a range of practical approaches to the question. Kind regards John T >-----Original Message----- >From: Stephen Barncard [mailto:stephenREVOLUTION at barncard.com] >Sent: Sunday, March 19, 2006 06:27 PM >To: 'How to use Revolution' >Subject: Re: Arrays as custom properties? > >actually, I use arrays of arrays all the time: > >make a text list like this: > >key1 DATA1 etc/ >key2 DATA2 etc/ >key3 DATA3 etc/ > >set the CustomPropSetName[customPropertyName] of this stack to > >each property could be made into an array variable for >easier use.. from a single custom property. Or you might need lists >of lists... > >The key is to keep each record of data on one line. Use >URLENCODE/URLDECODE for text or htmltext to flatten big blocks of >text with paragraphs and styles. > >if the data consists only of numbers, there could be comma delimited >lists inside of the tab delimited lists... yikes! > >then there's quotes.... > > >even a single comma delimited list inside a single property can be >defined as an array inside of an array... > > > > > >>Thanks Mark, >> >>I was hoping to have an array of arrays, but can certainly make it >>work using a range of custompropertysets. >> >>Regards >> >>John >> > >-- >stephen barncard >s a n f r a n c i s c o >- - - - - - - - - - - - >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > From gcanyon at inspiredlogic.com Sun Mar 19 20:12:04 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun, 19 Mar 2006 17:12:04 -0800 Subject: Get a handler from a script In-Reply-To: References: Message-ID: <4CE09A99-33A5-40A3-9AB4-0A1C36D1501D@inspiredlogic.com> I feel like the harbinger of doom here (with Alex as my able partner in doomsaying) but: This would still be subject to failure if, anywhere in the script, /* or */ appeared _not_ as block comment delimiters, but as part of a string. gc On Mar 19, 2006, at 4:22 PM, Dick Kriesel wrote: > On 3/19/06 3:41 PM, "Alex Tweedly" wrote: > >> You should try that script on itself :-) >> The "/*" in the first 'offset' line, and the "*/" in the second >> 'offset' >> line are (incorrectly) recognized as a block comment, with fairly >> disastrous results. > > I did, and verified that it removed the comment. I didn't notice > that it > also eviscerated the function! A trivial fix avoids that problem: > > on mouseUp > put removeBlockComments(the script of me) > end mouseUp > > /* this is a comment > as is this */function removeBlockComments pText > put pText into tText > put offset("/" & "*",tText) into tOffset > if tOffset > 0 then > delete char tOffset to tOffset + offset("*" & "/",tText,tOffset) > + 1 \ > of tText > put removeBlockComments(tText) into tText > end if > return tText > end removeBlockComments > >> I suspect that proper recognition of block comments >> isn't as easy as it might seem - need to handle all forms of string >> delimiter, which themselves may be inside comments. > > Since I don't recognize that need, would you elaborate on it, please? > > Thanks for catching my oversight, Alex. > > -- Dick > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gcanyon at inspiredlogic.com Sun Mar 19 20:31:36 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun, 19 Mar 2006 17:31:36 -0800 Subject: Search Script In-Reply-To: <008601c64b96$bb87e1e0$0101a8c0@EMRBUERO> References: <20060319180009.5726982649C@mail.runrev.com> <008601c64b96$bb87e1e0$0101a8c0@EMRBUERO> Message-ID: <39286EFB-AC8F-4175-A1D1-351342DC96E0@inspiredlogic.com> The latest version of Navigator at: http://www.inspiredlogic.com/navigator can easily search all the scripts in a stack, and return a list of references to them for further use. The command is on the contextual menu, and can be used on a stack, a card, a group, or any combination of objects. Select Find>In Scripts... to search the selected objects, or Find>In Enclosed Scripts... to search the selected objects and all the objects they contain. So if you want to search a stack and everything in it including substacks, use Find>In Enclosed Scripts... on the mainstack. You can also search by a test, which allows you to do things like search for every button that is red, or every 16-pixel tall field with no script, etc. regards, Geoff On Mar 19, 2006, at 12:50 PM, Ernst M. Reicher wrote: > oups - aha > I tried the "built in" some time ago and it worked awfully slow.... > also this seems to be a little bit neglected.... > drag the right border: there is an unused popup, a "walking > circle", a progressbar and a resizeIcon..... > > thank you Jacqueline!!! > > Regards, > Ernst > >> Date: Sun, 19 Mar 2006 11:47:52 -0600 >> From: "J. Landman Gay" >> Subject: Re: Search Script >> To: How to use Revolution >> Message-ID: <441D9948.7020501 at hyperactivesw.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Ernst M. Reicher wrote: >>> Hi, >>> I tried to start discussion about this several times in the past... >>> but the response was poor.... probably REAL delvelopers store their >>> scripts in their hypothalamus and don?t need a SearchScript....:-) >>> ..over the years I found some trials in other "plugins" that >>> worked so >>> and so.... >> >> There has probably been little response because script searches are >> built into Revolution. Type Command-F, uncheck all but the "Script" >> checkbox, and click "Find" to do the search. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dick.kriesel at mail.com Sun Mar 19 21:01:07 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sun, 19 Mar 2006 18:01:07 -0800 Subject: Get a handler from a script In-Reply-To: <4CE09A99-33A5-40A3-9AB4-0A1C36D1501D@inspiredlogic.com> Message-ID: On 3/19/06 5:12 PM, "Geoff Canyon" wrote: > I feel like the harbinger of doom here (with Alex as my able partner > in doomsaying) but: > > This would still be subject to failure if, anywhere in the script, /* > or */ appeared _not_ as block comment delimiters, but as part of a > string. www.usingenglish.com/reference/idioms/fools+rush+in+where+angels+fear+to+tre ad.html Imagine we first remove comments that start with "--" and then start looking for block comments. If a "/*" follows an even number of quotes, it starts a block comment. If it follows an odd number of quotes, it's embedded in a string. After a "/*" starts a block comment, then the next "*/" ends the comment. Right? Or do the angels see even more of the devil in the details? -- Dick From mark at maseurope.net Sun Mar 19 21:38:38 2006 From: mark at maseurope.net (Mark Smith) Date: Mon, 20 Mar 2006 02:38:38 +0000 Subject: Get a handler from a script In-Reply-To: References: Message-ID: Are we trying to establish the existence of a handler or to get the text of a handler? And are we including handlers that are commented out? Mark On 20 Mar 2006, at 02:01, Dick Kriesel wrote: > On 3/19/06 5:12 PM, "Geoff Canyon" wrote: > >> I feel like the harbinger of doom here (with Alex as my able partner >> in doomsaying) but: >> >> This would still be subject to failure if, anywhere in the script, /* >> or */ appeared _not_ as block comment delimiters, but as part of a >> string. > > www.usingenglish.com/reference/idioms/fools+rush+in+where+angels > +fear+to+tre > ad.html > > Imagine we first remove comments that start with "--" and then > start looking > for block comments. If a "/*" follows an even number of quotes, it > starts a > block comment. If it follows an odd number of quotes, it's > embedded in a > string. After a "/*" starts a block comment, then the next "*/" > ends the > comment. Right? > > Or do the angels see even more of the devil in the details? > > -- Dick > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at crystalpiersw.com Sun Mar 19 21:47:56 2006 From: dave at crystalpiersw.com (Dave Beck) Date: Sun, 19 Mar 2006 23:47:56 -0300 Subject: Standalone crashing In-Reply-To: <20060319233720.22C31825BEC@mail.runrev.com> Message-ID: <20060320014624.D0892825B23@mail.runrev.com> I just wanted to let the list know that some of my clients have been reporting very frequent crashes of a standalone built with Rev 2.6.1. According to them the standalone is crashing every few MINUTES. The crashes happen at different times, often but not always when closing windows, and the Microsoft fatal error "Send error report" dialog is always displayed. This has just been an issue recently, and only with a few specific clients, although I do get complaints about less frequent crashes from just about everybody across the board. This goes back to the discussion about new features vs. fixing what doesn't work. If Rev wants to be taken seriously as a professional development environment the standalones need to be stable!! I love Rev but it is very frustrating to see these problems happen and not be able to do anything about them because it is a problem in the Rev engine and not my code. Please concentrate on fixing the stability issues. I would switch to 2.7 but in my experience that version is even worse. Let's try to go forward next time. Personally I could care less about blending. Thanks for otherwise great product. Dave PS. I'm happy to have my clients collect the error logs if it would help. From wouter.abraham at scarlet.be Sun Mar 19 22:09:18 2006 From: wouter.abraham at scarlet.be (wouter) Date: Mon, 20 Mar 2006 04:09:18 +0100 Subject: Get a handler from a script In-Reply-To: <02338081.20060319125118@ahsoftware.net> References: <1BF42D94-68EC-46A1-8F34-334C5AACCBC6@dsl.pipex.com> <134E87F1-7BB2-4AD7-AE32-7E8BBC753053@maseurope.net> <87A2ECE9-9F33-43D9-B80A-447139FC71C7@dsl.pipex.com> <02338081.20060319125118@ahsoftware.net> Message-ID: On 19 Mar 2006, at 21:51, Mark Wieder wrote: -snip- > Here's a line I learned from Jerry Daniels: > > filter tScript with "[ofsgOFSG][nueNUE][ ntNT]*" Will also keep lines which start with "set" and "sen" like in: set the itemdelimiter to tab send "mouseup" to me or lines which start with a combination of those characters like in: sendSomeCommand paramX suntanLotion skincomplex > -Mark Wieder > mwieder at ahsoftware.net Greetings, Wouter From pmbrig at comcast.net Sun Mar 19 22:53:50 2006 From: pmbrig at comcast.net (pmbrig at comcast.net) Date: Mon, 20 Mar 2006 03:53:50 +0000 Subject: Get a handler from a script Message-ID: <032020060353.25573.441E274D000D170D000063E5220076143809079D0D039F@comcast.net> I don't know about the complications of block comments, etc, but can't all the complexites of dealing with of handlers, functions, getProp, and setProp be sidestepped by looking for "end" && -- or am I missing something? Does that simplify any of the other problems? Peter M. Brigham From lynn at paradigmasoft.com Sun Mar 19 23:10:44 2006 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Sun, 19 Mar 2006 20:10:44 -0800 Subject: Making the move... In-Reply-To: Message-ID: <1069294611-212183330@lindbergh.macserve.net> Hey gang, Im not naming names but Im feeling some heat when it's about time I enjoy a nice Sunday evening with my family - lets leave the past in the past and kill this thread. If you want to continue on an individual basis on this topic, then please email each other offlist. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From lfredricks at proactive-intl.com Sun Mar 19 23:13:59 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sun, 19 Mar 2006 20:13:59 -0800 Subject: Email Obfuscator In-Reply-To: <16715307080.20060319162726@ahsoftware.net> Message-ID: <20060320041408.4DFC47F019@spatula.dreamhost.com> Thanks Mark! There's the man, solving real world problems :-) Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Mark Wieder > Sent: Sunday, March 19, 2006 4:27 PM > To: use-revolution at lists.runrev.com > Subject: ANN: Email Obfuscator > > All- > > At Lynn Fredericks' prodding, I created a small stack to > generate some JavaScript to hide email addresses on web sites. > > What is this? > > Placing your email address online is a sure-fire way to attract spam. > > This stack generates some JavaScript code which can be pasted > into a web page to create a clickable link for your email > address, but which is resistant to harvesting by online > search robots. Enter your email address and the text you want > displayed on the web page, then click the "Convert" button. > Take the resulting JavaScript code and paste it onto a web > page instead of a "mailto:" link to your email address. > > In revOnline in user space "mwieder" or under "Utilities". > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Sun Mar 19 23:52:32 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 19 Mar 2006 22:52:32 -0600 Subject: Standalone crashing In-Reply-To: <20060320014624.D0892825B23@mail.runrev.com> References: <20060320014624.D0892825B23@mail.runrev.com> Message-ID: <441E3510.7050405@hyperactivesw.com> Dave Beck wrote: > PS. I'm happy to have my clients collect the error logs if it would help. It always helps, and sometimes is the only clue as to what the problem is. Most of us have found 2.6.1 to be extremely stable, so if you are seeing problems, there is likely a reason specific to that particular stack. Please do bugzilla it, attach a copy of your stack (not the standalone), and every time you get a new log, attach it to the bug report. Crashing problems get top priority. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gcanyon at inspiredlogic.com Sun Mar 19 20:08:02 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun, 19 Mar 2006 17:08:02 -0800 Subject: Exit Repeat In-Reply-To: <71AF7E80-A0C5-4E52-A599-AC5720EE0643@maseurope.net> References: <008201c64b7d$655803e0$0a01a8c0@mobile1> <8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com> <008b01c64b84$550699a0$0a01a8c0@mobile1> <001801c64b86$bb298880$0a01a8c0@mobile1> <8E8563FD-08FD-4983-AA1E-2DC01D67C43A@maseurope.net> <4FC63902-2357-4564-BAD4-92B488638DDE@maseurope.net> <6F85679B-1E7D-4AC6-9F15-FAE05B764286@maseurope.net> <71AF7E80-A0C5-4E52-A599-AC5720EE0643@maseurope.net> Message-ID: Close, but I don't think this will work. The exit to top in the escapeKey handler will exit that handler, not the handlerWithRepeatIMightWantToInterrupt. Instead, set a custom property in the escapeKey handler, then check that property in your handlerWithRepeatIMightWantToInterrupt handler and exit there if it is set. My previous example did something like this with a local variable, but a custom property would work as well. gc On Mar 19, 2006, at 2:51 PM, Mark Smith wrote: > 'wait 0 ticks with messages' was the thing - thanks! > > So a general (stack-wide) approach might be to use a custom prop in > the stack: > > in a control, card or stack: > on handlerWithRepeatIMightWantToInterrupt > set the canInterrupt of this stack to true > repeat forever > wait 0 ticks with messages > doRepeatStuff > end repeat > set the canInterrupt of this stack to false > otherStuff > end handlerWithRepeatIMightWantToInterrupt > > then in the stack script > > on escapeKey > if the canInterrupt of me then > set the canInterrupt of me to false > exit to top > end if > end escapeKey > > > Mark > > On 19 Mar 2006, at 22:24, Geoff Canyon wrote: > >> >> On Mar 19, 2006, at 12:04 PM, Mark Smith wrote: >> >>> Andre, the trouble is that in the case of interrupting a repeat >>> loop, you can't test for whether the escape key is down like you >>> can with control/option/command. >>> >>> So use control/option/command, of course :) >>> But the escape key would be more natural... >> >> This works: >> >> local sGetOut >> >> on mouseUp >> put empty >> put false into sGetOut >> repeat 20000 >> wait 0 ticks with messages >> if sGetOut then exit to top >> end repeat >> put "completed" >> end mouseUp >> >> on escapeKey >> put true into sGetOut >> end escapeKey >> >> Note that the escapeKey message is delivered to the focused >> control, so you can't put it in a button and expect it to work >> reliably. Put the above in the card script, then click anywhere in >> the card. Some time later "completed" will show in the message >> box. Then click the card again and then press the escape key. You >> won't get the "completed" text. >> >> gc >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From JimAultWins at yahoo.com Mon Mar 20 00:48:38 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 19 Mar 2006 21:48:38 -0800 Subject: ANN: Email Obfuscator In-Reply-To: <16715307080.20060319162726@ahsoftware.net> Message-ID: Thanks for the great snippet. One of my clients will be thrilled Monday when he sees it! Jim Ault Las Vegas On 3/19/06 4:27 PM, "Mark Wieder" wrote: > All- > > At Lynn Fredericks' prodding, I created a small stack to generate some > JavaScript to hide email addresses on web sites. > > What is this? > > Placing your email address online is a sure-fire way to attract spam. > > This stack generates some JavaScript code which can be pasted into a > web page to create a clickable link for your email address, but which > is resistant to harvesting by online search robots. Enter your email > address and the text you want displayed on the web page, then click > the "Convert" button. Take the resulting JavaScript code and paste it > onto a web page instead of a "mailto:" link to your email address. > > In revOnline in user space "mwieder" or under "Utilities". From mark at maseurope.net Mon Mar 20 04:08:40 2006 From: mark at maseurope.net (Mark Smith) Date: Mon, 20 Mar 2006 09:08:40 +0000 Subject: Exit Repeat In-Reply-To: References: <008201c64b7d$655803e0$0a01a8c0@mobile1> <8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com> <008b01c64b84$550699a0$0a01a8c0@mobile1> <001801c64b86$bb298880$0a01a8c0@mobile1> <8E8563FD-08FD-4983-AA1E-2DC01D67C43A@maseurope.net> <4FC63902-2357-4564-BAD4-92B488638DDE@maseurope.net> <6F85679B-1E7D-4AC6-9F15-FAE05B764286@maseurope.net> <71AF7E80-A0C5-4E52-A599-AC5720EE0643@maseurope.net> Message-ID: In fact, I tested this, and it works. Though it'd still be cleaner, somehow, to be able to test for the exit condition within the loop. Mark On 20 Mar 2006, at 01:08, Geoff Canyon wrote: > Close, but I don't think this will work. The exit to top in the > escapeKey handler will exit that handler, not the > handlerWithRepeatIMightWantToInterrupt. Instead, set a custom > property in the escapeKey handler, then check that property in your > handlerWithRepeatIMightWantToInterrupt handler and exit there if it > is set. My previous example did something like this with a local > variable, but a custom property would work as well. > > gc > > On Mar 19, 2006, at 2:51 PM, Mark Smith wrote: > >> 'wait 0 ticks with messages' was the thing - thanks! >> >> So a general (stack-wide) approach might be to use a custom prop >> in the stack: >> >> in a control, card or stack: >> on handlerWithRepeatIMightWantToInterrupt >> set the canInterrupt of this stack to true >> repeat forever >> wait 0 ticks with messages >> doRepeatStuff >> end repeat >> set the canInterrupt of this stack to false >> otherStuff >> end handlerWithRepeatIMightWantToInterrupt >> >> then in the stack script >> >> on escapeKey >> if the canInterrupt of me then >> set the canInterrupt of me to false >> exit to top >> end if >> end escapeKey >> >> >> Mark >> >> On 19 Mar 2006, at 22:24, Geoff Canyon wrote: >> >>> >>> On Mar 19, 2006, at 12:04 PM, Mark Smith wrote: >>> >>>> Andre, the trouble is that in the case of interrupting a repeat >>>> loop, you can't test for whether the escape key is down like you >>>> can with control/option/command. >>>> >>>> So use control/option/command, of course :) >>>> But the escape key would be more natural... >>> >>> This works: >>> >>> local sGetOut >>> >>> on mouseUp >>> put empty >>> put false into sGetOut >>> repeat 20000 >>> wait 0 ticks with messages >>> if sGetOut then exit to top >>> end repeat >>> put "completed" >>> end mouseUp >>> >>> on escapeKey >>> put true into sGetOut >>> end escapeKey >>> >>> Note that the escapeKey message is delivered to the focused >>> control, so you can't put it in a button and expect it to work >>> reliably. Put the above in the card script, then click anywhere >>> in the card. Some time later "completed" will show in the message >>> box. Then click the card again and then press the escape key. You >>> won't get the "completed" text. >>> >>> gc >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Mon Mar 20 04:16:40 2006 From: mark at maseurope.net (Mark Smith) Date: Mon, 20 Mar 2006 09:16:40 +0000 Subject: Get a handler from a script In-Reply-To: <032020060353.25573.441E274D000D170D000063E5220076143809079D0D039F@comcast.net> References: <032020060353.25573.441E274D000D170D000063E5220076143809079D0D039F@comcast.net> Message-ID: <112E4BA6-F5A5-45D7-BE24-6AAEC9B2E26B@maseurope.net> I don't think so -- the same problems with strangely placed block comments apply, and you'll still have to establish whether the handler name (with or without on, function, getprop, setprop and end) occurs as part of a comment, or as a recursive call to itself.... Mark On 20 Mar 2006, at 03:53, pmbrig at comcast.net wrote: > I don't know about the complications of block comments, etc, but > can't all the complexites of dealing with of handlers, functions, > getProp, and setProp be sidestepped by looking for "end" && > -- or am I missing something? Does that simplify any > of the other problems? > > Peter M. Brigham > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From gcanyon at inspiredlogic.com Mon Mar 20 04:23:37 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon, 20 Mar 2006 01:23:37 -0800 Subject: Making the move... In-Reply-To: <441DEFD3.6090209@chipp.com> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> Message-ID: Out of curiosity, do you have an example handy of a long handler that you think makes more sense to keep together than to break up? Or one that you think can't be broken up without significant effort to do it? When you think of a long handler, do you generally think of it as having a single identifiable task, or do you think of it as being several tasks performed in sequence in one handler? Obviously it's possible that you simply think in bigger chunks ;-) On Mar 19, 2006, at 3:57 PM, Chipp Walters wrote: > Yep, I've heard that before, but frankly, for me, I'd rather keep > it all in one, unless there's a really good reason to separate into > multiple handlers (as in creating more reusability). I find it much > easier to debug code I've written this way than hunting through the > message path for the 15 or so functions/handlers I've written > trying to make things 'more simple.' Just a difference in coding > style. > > In fact, typically I'll write code procedurally in a longer > handler, then only break it up if/when I know I need to do part of > the same thing again. Like most of us, I'd rather not code twice. > > Even though, I've got libraries with over 50 handlers/functions. > > -Chipp > > Mark Wieder wrote: >> Geoff- >> Saturday, March 18, 2006, 1:24:50 PM, you wrote: >>> I've never seen a hundred-line routine that wouldn't be better as >>> five twenty-line routines, each of which could be documented with a >>> line of code. Perhaps even ten ten-line routines. From stephenREVOLUTION at barncard.com Mon Mar 20 04:24:52 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 20 Mar 2006 01:24:52 -0800 Subject: Making the move... In-Reply-To: <1069294611-212183330@lindbergh.macserve.net> References: <1069294611-212183330@lindbergh.macserve.net> Message-ID: Are you the new listmom? sqb >Hey gang, > >Im not naming names but Im feeling some heat when it's about time I enjoy a >nice Sunday evening with my family - lets leave the past in the past and >kill this thread. If you want to continue on an individual basis on this >topic, then please email each other offlist. > >Best regards, > >Lynn Fredricks >Worldwide Business Operations >Runtime Revolution, Ltd -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From chipp at chipp.com Mon Mar 20 04:38:39 2006 From: chipp at chipp.com (Chipp Walters) Date: Mon, 20 Mar 2006 03:38:39 -0600 Subject: Making the move... In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> Message-ID: <441E781F.5000907@chipp.com> Hi Geoff, One does come to mind, it's the startup handler(s) of my splash stack, and they are broken down serially into 7 or 8 different handlers, each numbered sequentially with a handler name. And because I want to be able to read them one after the other, I ended up programming them serially. Some were as long as 50-60 lines, others shorter. Because they form the code of virtually all of my applications, I wanted them to be very easily read, and updated. This worked for me. May not have for you, I don't know. I doubt my brain can grasp thinking in bigger chunks..it's working overtime as it is! -Chipp Geoff Canyon wrote: > Out of curiosity, do you have an example handy of a long handler that > you think makes more sense to keep together than to break up? Or one > that you think can't be broken up without significant effort to do it? > > When you think of a long handler, do you generally think of it as > having a single identifiable task, or do you think of it as being > several tasks performed in sequence in one handler? From gcanyon at inspiredlogic.com Mon Mar 20 04:40:39 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon, 20 Mar 2006 01:40:39 -0800 Subject: Exit Repeat In-Reply-To: References: <008201c64b7d$655803e0$0a01a8c0@mobile1> <8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com> <008b01c64b84$550699a0$0a01a8c0@mobile1> <001801c64b86$bb298880$0a01a8c0@mobile1> <8E8563FD-08FD-4983-AA1E-2DC01D67C43A@maseurope.net> <4FC63902-2357-4564-BAD4-92B488638DDE@maseurope.net> <6F85679B-1E7D-4AC6-9F15-FAE05B764286@maseurope.net> <71AF7E80-A0C5-4E52-A599-AC5720EE0643@maseurope.net> Message-ID: <3ECCB9A4-5960-494A-9F4A-97B03D410823@inspiredlogic.com> On Mar 20, 2006, at 1:08 AM, Mark Smith wrote: > In fact, I tested this, and it works. Though it'd still be cleaner, > somehow, to be able to test for the exit condition within the loop. Wow, you are so correct. I had thought exit to top would exit the handler it is in and all handlers in the calling chain, but that the handler with the wait 0 ticks with messages in it would not be part of that chain. Obviously it is. Does anyone remember what the property containing the callstack is offhand to check this? That makes for a very nice solution I have to say. gc From chipp at chipp.com Mon Mar 20 04:44:56 2006 From: chipp at chipp.com (Chipp Walters) Date: Mon, 20 Mar 2006 03:44:56 -0600 Subject: Exit Repeat In-Reply-To: <3ECCB9A4-5960-494A-9F4A-97B03D410823@inspiredlogic.com> References: <008201c64b7d$655803e0$0a01a8c0@mobile1> <8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com> <008b01c64b84$550699a0$0a01a8c0@mobile1> <001801c64b86$bb298880$0a01a8c0@mobile1> <8E8563FD-08FD-4983-AA1E-2DC01D67C43A@maseurope.net> <4FC63902-2357-4564-BAD4-92B488638DDE@maseurope.net> <6F85679B-1E7D-4AC6-9F15-FAE05B764286@maseurope.net> <71AF7E80-A0C5-4E52-A599-AC5720EE0643@maseurope.net> <3ECCB9A4-5960-494A-9F4A-97B03D410823@inspiredlogic.com> Message-ID: <441E7998.7080804@chipp.com> Geoff Canyon wrote: > Does anyone remember what the property > containing the callstack is offhand to check this? put the executioncontexts() (i think!) -c From chipp at chipp.com Mon Mar 20 04:47:26 2006 From: chipp at chipp.com (Chipp Walters) Date: Mon, 20 Mar 2006 03:47:26 -0600 Subject: Exit Repeat In-Reply-To: <441E7998.7080804@chipp.com> References: <008201c64b7d$655803e0$0a01a8c0@mobile1> <8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com> <008b01c64b84$550699a0$0a01a8c0@mobile1> <001801c64b86$bb298880$0a01a8c0@mobile1> <8E8563FD-08FD-4983-AA1E-2DC01D67C43A@maseurope.net> <4FC63902-2357-4564-BAD4-92B488638DDE@maseurope.net> <6F85679B-1E7D-4AC6-9F15-FAE05B764286@maseurope.net> <71AF7E80-A0C5-4E52-A599-AC5720EE0643@maseurope.net> <3ECCB9A4-5960-494A-9F4A-97B03D410823@inspiredlogic.com> <441E7998.7080804@chipp.com> Message-ID: <441E7A2E.7030509@chipp.com> OOPS.. I mean put the executioncontexts (no parens) From wouter.abraham at scarlet.be Mon Mar 20 04:50:42 2006 From: wouter.abraham at scarlet.be (Wouter) Date: Mon, 20 Mar 2006 10:50:42 +0100 Subject: Get a handler from a script In-Reply-To: <4CE09A99-33A5-40A3-9AB4-0A1C36D1501D@inspiredlogic.com> References: <4CE09A99-33A5-40A3-9AB4-0A1C36D1501D@inspiredlogic.com> Message-ID: <0C111DBC-66DC-4261-B470-3D23D7C2E4AE@scarlet.be> On 20 Mar 2006, at 02:12, Geoff Canyon wrote: > I feel like the harbinger of doom here (with Alex as my able > partner in doomsaying) but: > > This would still be subject to failure if, anywhere in the script, / > * or */ appeared _not_ as block comment delimiters, but as part of > a string. > > gc > -snip- and what about this first draft ?: on mouseUp put removeBlockComments(the script of me) into fld 1 end mouseUp /* this is a comment #as is this */function removeBlockComments pText --toggle the # put true into tFlag repeat for each line i in pText if char 1 to 2 of word 1 of i = "/*" then put false into tFlag end if if tFlag and token 1 of i is among the items of "on,function,setprop,getprop" then put i & cr after tList else if tFlag = false then if char 1 of word 1 of i is "#" and "*/" is in i then put true into tFlag get "/*" &i if tFlag and token 1 of it is among the items of "on,function,setprop,getprop" then put token 1 to -1 of it & cr after tList next repeat end if end if repeat for each token j in i if j is "*/" then put true into tFlag get "/*" &i if tFlag and token 1 of it is among the items of "on,function,setprop,getprop" then put token 1 to -1 of it & cr after tList exit repeat end if end if end repeat end if end repeat return tList end removeBlockComments greetings, Wouter From dburgun at dsl.pipex.com Mon Mar 20 06:57:46 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 20 Mar 2006 11:57:46 +0000 Subject: Get a handler from a script In-Reply-To: References: Message-ID: <73A3079D-BB40-42F3-B561-70F6C1FAF762@dsl.pipex.com> Hi, I think the original poster wanted to copy a function/handler from one Script to another. I was taking the more general case of wanting to know if a function/handler is defined in a script so it can be called and not cause an error if it is not defined. All the Best Dave On 20 Mar 2006, at 02:38, Mark Smith wrote: > Are we trying to establish the existence of a handler or to get the > text of a handler? And are we including handlers that are commented > out? > > Mark > > On 20 Mar 2006, at 02:01, Dick Kriesel wrote: > >> On 3/19/06 5:12 PM, "Geoff Canyon" wrote: >> >>> I feel like the harbinger of doom here (with Alex as my able partner >>> in doomsaying) but: >>> >>> This would still be subject to failure if, anywhere in the >>> script, /* >>> or */ appeared _not_ as block comment delimiters, but as part of a >>> string. >> >> www.usingenglish.com/reference/idioms/fools+rush+in+where+angels >> +fear+to+tre >> ad.html >> >> Imagine we first remove comments that start with "--" and then >> start looking >> for block comments. If a "/*" follows an even number of quotes, >> it starts a >> block comment. If it follows an odd number of quotes, it's >> embedded in a >> string. After a "/*" starts a block comment, then the next "*/" >> ends the >> comment. Right? >> >> Or do the angels see even more of the devil in the details? >> >> -- Dick >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dburgun at dsl.pipex.com Mon Mar 20 07:24:05 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 20 Mar 2006 12:24:05 +0000 Subject: Get a handler from a script In-Reply-To: <4CE09A99-33A5-40A3-9AB4-0A1C36D1501D@inspiredlogic.com> References: <4CE09A99-33A5-40A3-9AB4-0A1C36D1501D@inspiredlogic.com> Message-ID: <0CF278A9-C418-44AD-B773-4B6BBEE0D0A3@dsl.pipex.com> Hi, Yes, this really is the problem. In order to parse and identify a function/handler 100% correctly you need to do most (if not all) of the work of the TranScript Parser in the Script Compiler. In the past I've written any number of language parsers and I know it is non- trivial to get it 100% right. The best solution IMO would be to add code to RunRev that allows the script to find out if a handler/ function is defined or not. One way would be to add a function that checks for the existence of a hanlder/function (without looking at the text of the script), another would be to hold an array of functions/handlers as a property of the Object. For instance if the script compiler built two arrays and stored them as a property of the object: functionArray["FuncrtionName"] = StartLine,EndLine handlerArray["HandlerName"] = StartLine,EndLine Where StartLine is the line number in the script that contains the "on" or "function" text. Where LineLine is the line number is the script that contains the "end" text. I should imagine it is possible to parse the script and get it 100% correct using TranScript, but: 1. It is likely to be quite a bit of work to code/test. 2. If the underlying script syntax is changed it could break. 3. It is likely be very slow and impact performance badly unless you are very careful about how/when it was used. One way would be to run some code at preOpenStack time that scanned through the scripts of objects in the stack and built the arrays described above. I was quite shocked when I discovered that the ability to check for the existence of a function/handler was not actually built into to RunRev when so much other information about objects is present. All the Best Dave On 20 Mar 2006, at 01:12, Geoff Canyon wrote: > I feel like the harbinger of doom here (with Alex as my able > partner in doomsaying) but: > > This would still be subject to failure if, anywhere in the script, / > * or */ appeared _not_ as block comment delimiters, but as part of > a string. > > gc > > On Mar 19, 2006, at 4:22 PM, Dick Kriesel wrote: > >> On 3/19/06 3:41 PM, "Alex Tweedly" wrote: >> >>> You should try that script on itself :-) >>> The "/*" in the first 'offset' line, and the "*/" in the second >>> 'offset' >>> line are (incorrectly) recognized as a block comment, with fairly >>> disastrous results. >> >> I did, and verified that it removed the comment. I didn't notice >> that it >> also eviscerated the function! A trivial fix avoids that problem: >> >> on mouseUp >> put removeBlockComments(the script of me) >> end mouseUp >> >> /* this is a comment >> as is this */function removeBlockComments pText >> put pText into tText >> put offset("/" & "*",tText) into tOffset >> if tOffset > 0 then >> delete char tOffset to tOffset + offset("*" & "/",tText,tOffset) >> + 1 \ >> of tText >> put removeBlockComments(tText) into tText >> end if >> return tText >> end removeBlockComments >> >>> I suspect that proper recognition of block comments >>> isn't as easy as it might seem - need to handle all forms of string >>> delimiter, which themselves may be inside comments. >> >> Since I don't recognize that need, would you elaborate on it, please? >> >> Thanks for catching my oversight, Alex. >> >> -- Dick >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Mon Mar 20 07:29:54 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 20 Mar 2006 22:29:54 +1000 Subject: Making the move... In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> Message-ID: On 3/20/06, Geoff Canyon wrote: > Out of curiosity, do you have an example handy of a long handler that > you think makes more sense to keep together than to break up? Or one > that you think can't be broken up without significant effort to do it? > > When you think of a long handler, do you generally think of it as > having a single identifiable task, or do you think of it as being > several tasks performed in sequence in one handler? > > Obviously it's possible that you simply think in bigger chunks ;-) In my experience, it's probably due to never passing values by reference. If I am working on a routine that generates multiple variables, then acts on them, it is easier to keep it all together than to try and transfer more than one variable back & forth between handlers & functions. A separate function is great if it only has to return one variable, but as soon as it acts on more than one, I find it easier to leave that code as part of the main handler. Of course, if a segment of code is used by more than one handler, it's worth the effort to split it out, but otherwise, I'm not too fussed about keeping handlers small. Good commenting can overcome any problems interpreting it later :-) Sarah From mb.ur at harbourhost.co.uk Mon Mar 20 07:50:55 2006 From: mb.ur at harbourhost.co.uk (Martin Baxter) Date: Mon, 20 Mar 2006 12:50:55 +0000 Subject: Get a handler from a script In-Reply-To: <0CF278A9-C418-44AD-B773-4B6BBEE0D0A3@dsl.pipex.com> References: <4CE09A99-33A5-40A3-9AB4-0A1C36D1501D@inspiredlogic.com> <0CF278A9-C418-44AD-B773-4B6BBEE0D0A3@dsl.pipex.com> Message-ID: <441EA52F.9070101@harbourhost.co.uk> David Burgun wrote: > Hi, > > Yes, this really is the problem. In order to parse and identify a > function/handler 100% correctly you need to do most (if not all) of the > work of the TranScript Parser in the Script Compiler. In the past I've > written any number of language parsers and I know it is non-trivial to > get it 100% right. The best solution IMO would be to add code to RunRev > that allows the script to find out if a handler/function is defined or > not. One way would be to add a function that checks for the existence of > a hanlder/function (without looking at the text of the script), another > would be to hold an array of functions/handlers as a property of the > Object. Back in my Hypercard days I had a large project that included a script locator handler. I bypassed all of the issues of parsing for actual handlers by adding metadata as comments in a consistent format at the top of each handler. This was then very simple to extract. Just food for thought. Martin Baxter From darkshadow1 at metrocast.net Mon Mar 20 08:14:49 2006 From: darkshadow1 at metrocast.net (Preston Shea) Date: Mon, 20 Mar 2006 08:14:49 -0500 Subject: Built in Search Message-ID: <000b01c64c20$44b5d6f0$6401a8c0@toshibauser> How does one refer to the results window of RR's built-in search tool (e.g. put it's contents into a window in a different stack)? Thanks. From wouter.abraham at scarlet.be Mon Mar 20 08:19:35 2006 From: wouter.abraham at scarlet.be (Wouter) Date: Mon, 20 Mar 2006 14:19:35 +0100 Subject: Get a handler from a script In-Reply-To: <0C111DBC-66DC-4261-B470-3D23D7C2E4AE@scarlet.be> References: <4CE09A99-33A5-40A3-9AB4-0A1C36D1501D@inspiredlogic.com> <0C111DBC-66DC-4261-B470-3D23D7C2E4AE@scarlet.be> Message-ID: <607CE589-84C5-4CEC-B0B8-11FFA82E209D@scarlet.be> A little update. And beware of the mail wraps On 20 Mar 2006, at 10:50, Wouter wrote: -snip- > /* this is a comment > #as is this */function removeBlockComments pText --toggle the # > put true into tFlag > repeat for each line i in pText > if char 1 to 2 of word 1 of i = "/*" then > put false into tFlag > end if if tFlag and token 1 of i is among the items of "on,function,setprop,getprop" then put token 1 to -1 of i & cr after tList > > else if tFlag = false then > if char 1 of word 1 of i is "#" and "*/" is in i then > put true into tFlag > get "/*" &i > if tFlag and token 1 of it is among the items of > "on,function,setprop,getprop" then > put token 1 to -1 of it & cr after tList > next repeat > end if > end if > repeat for each token j in i > if j is "*/" then > put true into tFlag > get "/*" &i > if tFlag and token 1 of it is among the items of > "on,function,setprop,getprop" then > put token 1 to -1 of it & cr after tList > exit repeat > end if > end if > end repeat > end if > end repeat > return tList > end removeBlockComments Greetings, Wouter From gcanyon at inspiredlogic.com Mon Mar 20 10:34:12 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon, 20 Mar 2006 07:34:12 -0800 Subject: Exit Repeat In-Reply-To: <441E7A2E.7030509@chipp.com> References: <008201c64b7d$655803e0$0a01a8c0@mobile1> <8C819986F052CF2-12D4-8619@FWM-M17.sysops.aol.com> <008b01c64b84$550699a0$0a01a8c0@mobile1> <001801c64b86$bb298880$0a01a8c0@mobile1> <8E8563FD-08FD-4983-AA1E-2DC01D67C43A@maseurope.net> <4FC63902-2357-4564-BAD4-92B488638DDE@maseurope.net> <6F85679B-1E7D-4AC6-9F15-FAE05B764286@maseurope.net> <71AF7E80-A0C5-4E52-A599-AC5720EE0643@maseurope.net> <3ECCB9A4-5960-494A-9F4A-97B03D410823@inspiredlogic.com> <441E7998.7080804@chipp.com> <441E7A2E.7030509@chipp.com> Message-ID: <95A78E18-ED58-40E0-9F09-47E88B2AE10D@inspiredlogic.com> On Mar 20, 2006, at 1:47 AM, Chipp Walters wrote: > put the executioncontexts Thanks, Chipp! Now we have a puzzle (I think) I have a button with this script: on mouseUp set the canInterrupt of this stack to true repeat with i = 1 to 1000 wait 0 ticks with messages put i end repeat set the canInterrupt of this stack to false end mouseUp The stack has this script: on escapeKey if the canInterrupt of me then put the executioncontexts set the canInterrupt of me to false exit to top end if end escapeKey These are both copied from Mark Smith's example. Clicking the button starts counting up in the message box. Pressing the escape key stops the counting and puts this: stack "Navigator",escapeKey,4 Note that the script of the button is not listed. I think that is correct, because the escapeKey message was generated from the key being pressed -- the fact that the mouseUp handler had to yield time to let it happen is irrelevant. The documentation says about exit to top: Halts the current handler and all pending handlers. I checked to be sure, and send...in messages are not terminated. The documentation goes on to make this clearer by saying: If the current handler was called from another handler, the calling handler is also halted. Other messages that depend on the same action are also suppressed: for example, if an exit to top control structure is executed in a closeCard handler, the corresponding openCard message is not sent to the destination card. I _guess_ that could be construed to apply in this case, but I think the docs should be explicit. Frankly, this behavior seems backward to me. What does everyone (anyone) else think? Although it is convenient in this case, it seems wrong to me that exit to top in the escapeKey handler above also terminates the mouseUp message. gc From gcanyon at inspiredlogic.com Mon Mar 20 10:39:04 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon, 20 Mar 2006 07:39:04 -0800 Subject: Making the move... In-Reply-To: <441E781F.5000907@chipp.com> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <441E781F.5000907@chipp.com> Message-ID: <1C52A144-9261-4199-807A-F96AA4FA4269@inspiredlogic.com> This sounds like a bunch of small handlers masquerading as a large handler ;-) Nothing wrong with that, I just think it means that you're really on my side of the big/small question, except that you don't like the surplus of handler names it leads to. I can certainly agree with that. Every time I've ever advocated small routines, I've mentioned as one of the caveats that you end up with that many more handlers to keep track of. As you say, if the task is never called separately, and you break it out within the larger handler, and you document it, it's not that big a deal. I'd argue that if you've done all that you might as well break it out as a separate routine, but I think we've reached the pot-ay-tos, pot-ah-tos stage of the discussion. gc On Mar 20, 2006, at 1:38 AM, Chipp Walters wrote: > Hi Geoff, > > One does come to mind, it's the startup handler(s) of my splash > stack, and they are broken down serially into 7 or 8 different > handlers, each numbered sequentially with a handler name. > > And because I want to be able to read them one after the other, I > ended up programming them serially. Some were as long as 50-60 > lines, others shorter. Because they form the code of virtually all > of my applications, I wanted them to be very easily read, and updated. > > This worked for me. May not have for you, I don't know. I doubt my > brain can grasp thinking in bigger chunks..it's working overtime as > it is! > > -Chipp > > Geoff Canyon wrote: >> Out of curiosity, do you have an example handy of a long handler >> that you think makes more sense to keep together than to break >> up? Or one that you think can't be broken up without significant >> effort to do it? >> When you think of a long handler, do you generally think of it as >> having a single identifiable task, or do you think of it as being >> several tasks performed in sequence in one handler? From gcanyon at inspiredlogic.com Mon Mar 20 10:42:33 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon, 20 Mar 2006 07:42:33 -0800 Subject: Making the move... In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> Message-ID: 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. On Mar 20, 2006, at 4:29 AM, Sarah Reichelt wrote: > In my experience, it's probably due to never passing values by > reference. If I am working on a routine that generates multiple > variables, then acts on them, it is easier to keep it all together > than to try and transfer more than one variable back & forth between > handlers & functions. > > A separate function is great if it only has to return one variable, > but as soon as it acts on more than one, I find it easier to leave > that code as part of the main handler. > > Of course, if a segment of code is used by more than one handler, it's > worth the effort to split it out, but otherwise, I'm not too fussed > about keeping handlers small. Good commenting can overcome any > problems interpreting it later :-) From rcozens at pon.net Mon Mar 20 11:03:27 2006 From: rcozens at pon.net (Rob Cozens) Date: Mon, 20 Mar 2006 08:03:27 -0800 Subject: Making the move... In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> Message-ID: <118F8A6C-B82B-11DA-B811-0030657E1638@pon.net> G'day Sarah, > In my experience, it's probably due to never passing values by > reference. I'm curious as to why you eschew passing by reference. If one needs to pass large variables, why incur the overhead of duplicating the value of the variable before passing it? And if a variable value needed at one level is derived from a routine nested several calls deep, simply passing the variable by reference through the nested calls is the simplest way to get the value back to the original caller. Case in point: An SDB record can be as large as the maximum amount of text one field can contain. If the syntax of the record retrieval command were "getSDBRecord sdbBuffer,..." instead of "getSDBRecord @sdbBuffer,...", the command would have to create its own record buffer variable and then return a result which is copied into some other variable. By passing by reference, the two handlers (or as many handlers as needed) can work on a single copy of the data. 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) From rcozens at pon.net Mon Mar 20 11:03:37 2006 From: rcozens at pon.net (Rob Cozens) Date: Mon, 20 Mar 2006 08:03:37 -0800 Subject: Capslockkey function In-Reply-To: <014701c64b8f$45d01870$0300000a@makabre> References: <17B2F545-277B-464C-8D2E-D130687B3DBE@lexicall.org> <003801c64b65$40ffe4d0$0300000a@makabre> <005401c64b6a$cd78cb20$0300000a@makabre> <014701c64b8f$45d01870$0300000a@makabre> Message-ID: <17818680-B82B-11DA-B811-0030657E1638@pon.net> Hi Jan, > on keyDown pKey > if pKey is an integer then pass keyDown > end keyDown > > > This will allow to type numbers only and use the delete key. > No more :-) > Make that _whole_ numbers only: no decimal separator is allowed. 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) From rcozens at pon.net Mon Mar 20 12:28:55 2006 From: rcozens at pon.net (Rob Cozens) Date: Mon, 20 Mar 2006 09:28:55 -0800 Subject: Making the move... In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> Message-ID: <02117863-B837-11DA-BF46-0030657E1638@pon.net> Hi Geoff, > Out of curiosity, do you have an example handy of a long handler that > you think makes more sense to keep together than to break up? Or one > that you think can't be broken up without significant effort to do it? > on findSDBRecord @sdbBuffer,exactKey,fieldDelimiter,itemList,setPosition,searchForward,se archCriteria,cutoffKey,recordDelimiter,unlockRecord -- 28 Feb 04:RCC if ipcMode is not "dc" then -- "dc" = single user direct connection replace return with numToChar(29) in itemList replace return with numToChar(29) in searchCriteria requestSDBService sdbBuffer,"find",packArguments(9,exactKey,fieldDelimiter,itemList,setPos ition,searchForward,searchCriteria,cutoffKey,recordDelimiter,unlockRecor d) get the result if not word 1 of it and setPosition then put word 4 of it into sdbPosition put it into sdbParameters return it else if invalidSDBClient() then return true&return&sdbMessage(sdbInvalidClientError,true) if offset(return&sdbDbId&return,return&(the keys of indexList)&return) = 0 then return true&return&sdbMessage(sdbDbIdError,true) if exactKey is empty then put true into exactKey put (fieldDelimiter is not empty) into retrieveData if recordDelimiter is not empty then put true into multipleRecords put false into unlockRecords put false into setPosition else put false into multipleRecords put (multipleRecords and not retrieveData) into countOnly if setPosition is empty or retrieveData then put true into setPosition if searchForward is empty then put true into searchForward put ((sdbWriteAccess is "Shared") and (unlockRecord is true)) into unlockRecord put word 2 to 4 of sdbParameters into savedPosition put justifyString(word 1 of sdbBuffer,4) into theRecordType getSDBRecord sdbBuffer,exactKey,,,setPosition,retrieveData get the result put word 2 to -1 of line 1 of sdbBuffer into recordKey if word 1 of it or (((recordKey > cutoffKey and searchForward) or (recordKey < cutoffKey and not searchForward)) and cutoffKey is not empty) then put false&&savedPosition into sdbParameters put false&&"0 0 0" into line 1 of it return it else if unlockRecord and sdbWriteAccess is "Shared" then deleteDbLock(word 4 of sdbParameters) if not retrieveData and not multipleRecords then put it into sdbParameters return it end if end if put word 4 of sdbParameters into oldPosition put empty into returnRecord put 0 into recordCount repeat put word 2 to -1 of line 1 of sdbBuffer into recordKey if (recordKey > cutoffKey and searchForward) or (recordKey < cutoffKey and not searchForward) then put false into word 1 of sdbParameters if countOnly then put empty into sdbBuffer return (word 1 to 3 of sdbParameters)&&recordCount else put theRecordType&&recordCount&return&returnRecord into sdbBuffer return (word 1 to 3 of sdbParameters)&&"0" end if end if delete line 1 of sdbBuffer if theSDBRecordMatches(sdbBuffer,fieldDelimiter,searchCriteria) then add 1 to recordCount repeat for each line itemNumber in itemList put sdbFieldNumber(itemNumber) into itemNumber if itemNumber = 0 then put recordKey&fieldBelimiter after returnRecord else put getItem(itemNumber,fieldDelimiter,sdbBuffer)&fieldDelimiter after returnRecord end repeat if multipleRecords then put recordDelimiter after returnRecord else put theRecordType&&recordKey&return&returnRecord into sdbBuffer return (word 1 to 3 of sdbParameters) end if end if set cursor to busy if searchForward then if word 2 of sdbParameters < word 3 of sdbParameters then put "+" into sdbBuffer getSDBRecord sdbBuffer,exactKey,,,true,retrieveData put the result into sdbParameters else put true into sdbParameters else if word 2 of sdbParameters > 1 then put "-" into sdbBuffer getSDBRecord sdbBuffer,exactKey,,,true,retrieveData put the result into sdbParameters else put true into sdbParameters end if if word 1 of sdbParameters then put false into word 1 of sdbParameters put oldPosition into word 4 of sdbParameters if countOnly then put empty into sdbBuffer return (word 1 to 3 of sdbParameters)&&recordCount else put theRecordType&&recordCount&return&returnRecord into sdbBuffer return (word 1 to 3 of sdbParameters)&&"0" end if else if not setPosition then put oldPosition into word 4 of sdbParameters end repeat end if end findSDBRecord Note: stack local variables and constant declarations excluded. application requirement: calling syntax at server and client apps must be identical... and identical with single user syntax > When you think of a long handler, do you generally think of it as > having a single identifiable task, or do you think of it as being > several tasks performed in sequence in one handler? I think of it as a task handler coordinating and calling on the various subtasks necessary to complete the entire logical transaction. I write one-line handlers too, if the logic is to be used in several places: on mouseTrapOn -- 3 Mar 04:RCC insert the script of field "Mouse Trap" of card 1 of stack "Serendipity_Library.rev" into front end mouseTrapOn > > On Mar 19, 2006, at 3:57 PM, Chipp Walters wrote: > >> Yep, I've heard that before, but frankly, for me, I'd rather keep it >> all in one, unless there's a really good reason to separate into >> multiple handlers (as in creating more reusability). I find it much >> easier to debug code I've written this way than hunting through the >> message path for the 15 or so functions/handlers I've written trying >> to make things 'more simple.' Just a difference in coding style. >> >> In fact, typically I'll write code procedurally in a longer handler, >> then only break it up if/when I know I need to do part of the same >> thing again. Like most of us, I'd rather not code twice. >> >> Even though, I've got libraries with over 50 handlers/functions. >> >> -Chipp >> >> Mark Wieder wrote: >>> Geoff- >>> Saturday, March 18, 2006, 1:24:50 PM, you wrote: >>>> I've never seen a hundred-line routine that wouldn't be better as >>>> five twenty-line routines, each of which could be documented with a >>>> line of code. Perhaps even ten ten-line routines. > > 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) From JimAultWins at yahoo.com Mon Mar 20 12:49:39 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 20 Mar 2006 09:49:39 -0800 Subject: Making the move... In-Reply-To: <02117863-B837-11DA-BF46-0030657E1638@pon.net> Message-ID: On 3/20/06 9:28 AM, "Rob Cozens" wrote: > on mouseTrapOn -- 3 Mar 04:RCC > insert the script of field "Mouse Trap" of card 1 of stack > "Serendipity_Library.rev" into front > end mouseTrapOn I suppose you also have a "SerendipityDo_Library.rev" for those calls that need extra hold, eh? Jim Ault Las Vegas From iden at idenrosenthal.com Mon Mar 20 13:01:16 2006 From: iden at idenrosenthal.com (Iden Rosenthal) Date: Mon, 20 Mar 2006 13:01:16 -0500 Subject: Dreamcard Won't Recognize Hypercard Stacks Message-ID: <9C54B799-037A-42D1-8D3F-B2CFF9FDEBEF@idenrosenthal.com> I have just installed Dreamcard 2.7 and tried to open some Hypercard Stacks to convert them. They are unrecognized (grayed) in the file open dialog. Is there something I've missed? The stacks will run in Hypercard Player under Classic mode in OS X 10.4.5. They won't open in either Oracle Card or Spinnaker Plus (message says they are "not okay"). I realize these last two have nothing to do with Dreamcard but I thought I'd mention it just in case anyone else out there has any experience there as well. From rcozens at pon.net Mon Mar 20 13:04:01 2006 From: rcozens at pon.net (Rob Cozens) Date: Mon, 20 Mar 2006 10:04:01 -0800 Subject: Making the move... In-Reply-To: <02117863-B837-11DA-BF46-0030657E1638@pon.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> Message-ID: Moi: > if itemNumber = 0 then put recordKey&fieldBelimiter after > returnRecord > Thanks for getting me to revisit the handler, Geoff: "fieldBelimiter" was a bug waiting to bite me. 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) From jonseymour at mac.com Mon Mar 20 13:18:54 2006 From: jonseymour at mac.com (Jon Seymour) Date: Mon, 20 Mar 2006 12:18:54 -0600 Subject: Zoom/maximize box Message-ID: <60EF7938-6730-4D58-BCBE-74E97A66A9D7@mac.com> Sarah, your suggestion to use the parameters of the resizeStack message works perfectly. Indeed, I was using the stack's properties before they were updated. Thanks for the help, that one was driving me crazy! Jon From WSUMNER at im.wustl.edu Mon Mar 20 13:25:45 2006 From: WSUMNER at im.wustl.edu (Sumner,Walt) Date: Mon, 20 Mar 2006 12:25:45 -0600 Subject: 2.7 bugs in variable watcher, table fields Message-ID: Anybody else having these problems? 1. Mac OS X: Run a script with a breakpoint. Open the message watcher at the breakpoint. Open the variable watcher after opening the message watcher. Variable watcher echos variable names, refuses to display variable values. Close message watcher. Step forward (which ought to have a keyboard equivalent, by the way). Variable watcher displays variable values. Very confusing until you realize that there is an ugly interaction with the message watcher. 2. Windows XP tablet Save and close all Rev projects that matter to you. Create a label field to sit above a field that will have tab stops. The label field will provide several column headers. Open the property inspector andselect "contents" Type "Column 1" & tab & "Column 2" & tab & "Column 3" (without the quotes and ampersands, just type three column headers) Click the table icon. Nothing is aligned, but I can still work. Deselect the table icon. Now the contents are wrapped, but they are not supposed to be. Select the wrap icon. Nothing happens (already wrapped). Deselect the wrap icon. I can not see, scroll to, or select the text "Column 1". Select the wrap icon - there it is again, apparently OK. Go to the property drop list and select "Table". Open the task manager since Rev has stopped responding. Check performance. Probably pegged at 100%, of which 96%+/-3% is Rev. Wait <1 minute. Fan kicks in. Let laptop run for 10 minutes while preparing cookie dough. Press right back corner of laptop over raw flattened cookie dough. Cookie will be ready to eat in 5 - 10 minutes. Kill Rev process. Fan will stop in a minute or two. The problems with tables are getting pretty old, folks. As much as I love programming in X-Talk and having instant cross-platform capabilities, it is embarrassing to admit that I have to work around all these bugs, or to lose work, etc, because I don't want to work in a "real" language. Please fix the bugs. --Walt Sumner From mwieder at ahsoftware.net Mon Mar 20 13:31:10 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 20 Mar 2006 10:31:10 -0800 Subject: Get a handler from a script In-Reply-To: <4CE09A99-33A5-40A3-9AB4-0A1C36D1501D@inspiredlogic.com> References: <4CE09A99-33A5-40A3-9AB4-0A1C36D1501D@inspiredlogic.com> Message-ID: <247424575.20060320103110@ahsoftware.net> Geoff- Sunday, March 19, 2006, 5:12:04 PM, you wrote: > This would still be subject to failure if, anywhere in the script, /* > or */ appeared _not_ as block comment delimiters, but as part of a > string. The best solution I've come up with for removing block comments is put the script of SomeObject into tScript put token 1 to -1 of tScript into tScript -- -Mark Wieder mwieder at ahsoftware.net From katir at hindu.org Mon Mar 20 05:36:36 2006 From: katir at hindu.org (Sivakatirswami) Date: Mon, 20 Mar 2006 00:36:36 -1000 Subject: Image Storage - Optimization Message-ID: This is a spin off from my earlier thread on DRM for images in stacks. In experiments with putting compressed imageData into a custom prop I discovered it bloated the size of the stack. I then tested "recovery" of that data to an original jpeg size, with some very interesting results, possibly "stumbling" on an optimization feature, I may need my eyes tested, or at least try this same test on images with intricate "edges" and with photos of peoples faces... 1) import 3 X 5 imag 80k .jpeg (in this case NASA space shot) 2) Scale the image way up on the card (4 times) so it becomes the whole background of the card 3) save stack: stack size: 80 K 4) set the uStuff of this card to compress(the imageData of img 1) put "" into img 1 5) save stack: stack size 1.2meg! ouch! 6) try to recover: 7) set the imageData of img 1 to decompress(the uStuff of this card) 8) scale down the image to 3 X 5 9) set JPEGcompression to 40 10) export image 1 to someFile.jpg as JPEG; delete image 1 11) export image on disk is only 27K! 12) import someFile.jpg back into the stack, save stack 13) stack size 27 k! I immediately assume "we probably have terrible degradation from multiple interpolations..the small stack must look awful next to the stack with the original image" and set about checking that. Make new stack and import the original 80K image... open two stack side by side: one is 80K in size and the other is 27 K in size, they both started out with the same image as data.. I cannot see *any* difference in the two images! but one stack is 80K and the second one is 27K. Either some jpeg artifact desensitivity filters got stuck in my eyes and I am missing the differences that some more critical eye might see. Or I may have stumbled on some algorithm for optimizing files sizes for imported images. I'm sure there are many underlying variables I am not seeing in particular. But if it is true, it's has some major implications for image storage and stack size optimization. Sivakatirswami From rcozens at pon.net Mon Mar 20 14:06:15 2006 From: rcozens at pon.net (Rob Cozens) Date: Mon, 20 Mar 2006 11:06:15 -0800 Subject: Making the move... In-Reply-To: References: Message-ID: <9ABD962D-B844-11DA-B5F3-0030657E1638@pon.net> Hi Jim, > I suppose you also have a > "SerendipityDo_Library.rev" > It's still a work in process; but will be released as "SerendipityDoDa_Library.rev" so folks won't think it's SerendipityDoDo. :{`) 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) From mwieder at ahsoftware.net Mon Mar 20 14:17:15 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 20 Mar 2006 11:17:15 -0800 Subject: Making the move... In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> Message-ID: <210190493.20060320111715@ahsoftware.net> Rob- Monday, March 20, 2006, 10:04:01 AM, you wrote: > Thanks for getting me to revisit the handler, Geoff: "fieldBelimiter" > was a bug waiting to bite me. ...and that's why I'm such a stickler for declaring variables. If the compiler can find your bugs for you, why not let it do the work? -- -Mark Wieder mwieder at ahsoftware.net From josh at dvcreators.net Mon Mar 20 14:30:11 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 20 Mar 2006 11:30:11 -0800 Subject: Making the move... In-Reply-To: References: Message-ID: On Mar 14, 2006, at 6:40 AM, mvreade at earthlink.net wrote: > Josh, > > Very strong statements. Wow! If I may ask for further > clarification... I have two questions I'd love you expound upon. > > 1) RealBasic -- that's the main rival, as I see it. I haven't > written big enough apps to test, but it seem that the compiler is > pretty fast. I wonder how they compare in development and upkeep of > for database projects. What are your thoughts about the 2 > development environments? We developed a product in RealBasic a few years ago and never released it- (Director was not OS X compatible yet and so not an option). At that time (several years ago) we found the compiler slow and the general performance atrocious (rollover graphics working intermittently, slowly, sticking on over or down states, QT movies stuttering. Of course a lot may have changed since then... > > 2) Revolution vs Ruby on Rails? You mean to say you use Revolution > to write browser enabled web-apps? Something I could access with > Firefox? If so, I'd love to hear more. Read Richard Gaskin's article about "Beyond the Browser". Everyone is going nuts over Web 2.0, AJAX, Ruby on Rails... sure, for many applications (like, a website for example!) running something in a browser makes sense. For any serious business or media application, all the days of trying to make Javascript work across browsers, degrade gracefully, etc. can be better spent making the app better! Just like you have to download iTunes, RealPlayer, Google Earth, etc., an independent executable that communicates with a remote shared database makes way more sense to me than trying to force a browser to do more than pictures and text. The exception is Flash, an amazing technology that runs in a browser, but sadly, the dev environment seems more suited for masochists than people who just want the job done... before lunch. Just my .03 (inflation) > > Thanks again for you very insightful comments. I really appreciate > them. > > Michael > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jperryl at ecs.fullerton.edu Mon Mar 20 14:32:39 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 20 Mar 2006 11:32:39 -0800 (PST) Subject: Making the move... In-Reply-To: <4C003C98-91CC-47C3-A7B3-BBF2622CC7B8@lexicall.org> Message-ID: Marielle, I believe this response to Chipp is a unfair. The post you cite regarding Jerry was apologized for almost immediately after he realized that he sent it to the list and not to Jerry personally. And I seem to recall Jerry being nearly abusive in the posts sent around that time. I don't have the time at present to go google pipermail to cite each and every post, but you might wish to do so to revisit the issue in its larger context. As for Richmond, my impression (for what very little it is possibly worth) is that, while he is perhaps an individual of passion and industriousness, he can also be a tad on the nasty side (private and public mails) and drove me nearly stark raving batty with his continued whining about why he couldn't have Rev for free while the rest of us were paying as well as we could to update our licenses and do our part to help the company maintain revenue needed to fix whatever it was that any of us might have been bitching about to get fixed. Teachers get paid for their teaching assignments (not alot, I'll concede). Mightn't all students all similarly insist that 'information wants to be free' and that teachers should just give their time away and beg on the streets for daily bread? Outside of Socrates (whose wife was continually begging him to go build walls and the like), I suspect that there are remarkably few educators who would apply to themselves the sentiment that they seem to demand of software developers. Judy From josh at dvcreators.net Mon Mar 20 14:47:41 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 20 Mar 2006 11:47:41 -0800 Subject: Making the move... In-Reply-To: References: <31e1938c0603140910x73f83aa2y73fc337250a8516c@mail.gmail.com> <70ed6b130603141442u5e451c60g2e298b985516f09f@mail.gmail.com> Message-ID: <1297874C-58E2-4134-8EA7-E542924F3D38@dvcreators.net> On Mar 14, 2006, at 3:17 PM, mvreade at earthlink.net wrote: > So I anticipate that the web apps would be VERY simple, and it > might even be possible to push the date into something like PHP- > Fusion or Joomla! Joomla = NO WordPress = YES e107 = YES : ) from one who has done way too much experimentation with open source CMS apps! From shaosean at hotmail.com Mon Mar 20 14:52:09 2006 From: shaosean at hotmail.com (Sean Shao) Date: Mon, 20 Mar 2006 14:52:09 -0500 Subject: [?] Mac Classic, 2.6.1, MySQL Message-ID: I'm working on a small project that needs to run on Mac OS X, Mac Classic (9.2.2) and Windows and that uses the database library to connect to a MySQL server. Everything runs fine on OS X and Windows, and it runs fine in the IDE on Mac Classic. When I compile a Classic application from the IDE on the Classic Mac the application crashes on launch with a Type 1001 error. I've noticed that the MySQL library file from the 2.6.1 Classic IDE is only 244 KiB yet the one that's in my OS X 2.6.1 IDE is over a meg big. When I replace the MySQL library in the compiled app's folder the application successfully launches, but I get a Rev DB error "Unsupported database type". Has anyone successfully made a Classic app using the database library to connect to a MySQL server, or has everyone moved forward to OS X? -Sean _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From josh at dvcreators.net Mon Mar 20 15:10:22 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 20 Mar 2006 12:10:22 -0800 Subject: Making the move... In-Reply-To: <212580670.20060319125521@ahsoftware.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> Message-ID: On Mar 19, 2006, at 12:55 PM, Mark Wieder wrote: > > It's probably my forth background, but I'm mildly allergic to routines > that don't fit in their entirety onto my screen. > > -- > -Mark Wieder > mwieder at ahsoftware.net Ah, I just realized why I'm writing overly complex handlers and not using functions... a 30" Cinema Display :-( Kachoo! From JimAultWins at yahoo.com Mon Mar 20 15:25:41 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 20 Mar 2006 12:25:41 -0800 Subject: 2.7 bugs in variable watcher, table fields In-Reply-To: Message-ID: On 3/20/06 10:25 AM, "Sumner,Walt" wrote: > Anybody else having these problems? > > 1. > Mac OS X: > Run a script with a breakpoint. > Open the message watcher at the breakpoint. > Open the variable watcher after opening the message watcher. > Variable watcher echos variable names, refuses to display variable values. > Close message watcher. > Step forward (which ought to have a keyboard equivalent, by the way). Try the spacebar to step forward. Jim Ault Las Vegas From jacque at hyperactivesw.com Mon Mar 20 15:38:49 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Mar 2006 14:38:49 -0600 Subject: Dreamcard Won't Recognize Hypercard Stacks In-Reply-To: <9C54B799-037A-42D1-8D3F-B2CFF9FDEBEF@idenrosenthal.com> References: <9C54B799-037A-42D1-8D3F-B2CFF9FDEBEF@idenrosenthal.com> Message-ID: <441F12D9.7000908@hyperactivesw.com> Iden Rosenthal wrote: > I have just installed Dreamcard 2.7 and tried to open some Hypercard > Stacks to convert them. They are unrecognized (grayed) in the file open > dialog. Is there something I've missed? The stacks will run in > Hypercard Player under Classic mode in OS X 10.4.5. They won't open in > either Oracle Card or Spinnaker Plus (message says they are "not > okay"). I realize these last two have nothing to do with Dreamcard but > I thought I'd mention it just in case anyone else out there has any > experience there as well. If the stacks are in the old 1.0 format, they won't import. You'll have to open them in HC 2.0 or later and choose "Convert stack" from the File menu. That will fix them. That said, there's a bug in the current release of Dreamcard/Revolution that prevents opening HC stacks. The problem has already been fixed, and will be in the next incremental release which is due out any time now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cmsheffield at gmail.com Mon Mar 20 15:43:47 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon, 20 Mar 2006 13:43:47 -0700 Subject: [?] Mac Classic, 2.6.1, MySQL In-Reply-To: References: Message-ID: <088310E1-192A-4936-B169-123317C45131@gmail.com> Sean, This is a strange one. I've seen this before, and if I remember correctly, the problem is that database applications, for whatever reason, are linked to the Valentina external on Mac Classic. Whether you're building for Valentina or not. There is a bug report on it, though I don't have the number handy. The workaround is to build your standalone with Valentina support as well as MySQL support. The part I can't remember is if it's necessary to include the Valentina library with your standalone or not. You may have to experiment with that. Hopefully this'll help you get things figured out. Chris On Mar 20, 2006, at 12:52 PM, Sean Shao wrote: > I'm working on a small project that needs to run on Mac OS X, Mac > Classic (9.2.2) and Windows and that uses the database library to > connect to a MySQL server. Everything runs fine on OS X and > Windows, and it runs fine in the IDE on Mac Classic. > > When I compile a Classic application from the IDE on the Classic > Mac the application crashes on launch with a Type 1001 error. > I've noticed that the MySQL library file from the 2.6.1 Classic IDE > is only 244 KiB yet the one that's in my OS X 2.6.1 IDE is over a > meg big. > When I replace the MySQL library in the compiled app's folder the > application successfully launches, but I get a Rev DB error > "Unsupported database type". > > Has anyone successfully made a Classic app using the database > library to connect to a MySQL server, or has everyone moved forward > to OS X? > > -Sean > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today - > it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/ > direct/01/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From userev at canelasoftware.com Mon Mar 20 15:46:01 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 20 Mar 2006 12:46:01 -0800 Subject: DRM for Images and Text in Stacks In-Reply-To: <8A57CA63-03B6-40ED-B19B-196E3EBE315D@hindu.org> References: <6A2645BE-83C8-4A07-84A7-8240F4BDE087@canelasoftware.com> <8A57CA63-03B6-40ED-B19B-196E3EBE315D@hindu.org> Message-ID: On Mar 18, 2006, at 2:39 AM Mar 18, 2006, Sivakatirswami wrote: >> if the environment is "development" then quit >> >> does that not prevent someone from opening it up in the IDE? > > mmm. I'm reviewing all the memos to date on this and see you > already mentioned this. > > OK yes, I think this is "doable" I will try it. I wonder how > hackable this could be from inside the IDE if one were to place > that line into just the script of the substack "library" This will not work as all one has to do is lock the messages before opening the stack. Mark Talluto -- CANELA Software http://www.canelasoftware.com From calhorner at xtra.Co.NZ Mon Mar 20 16:08:52 2006 From: calhorner at xtra.Co.NZ (Cal Horner) Date: Tue, 21 Mar 2006 09:08:52 +1200 (New Zealand Standard Time) Subject: Where has all the Object Documentation gone? Message-ID: <441F19E4.000003.04088@CALSBIGPC> Back in the good ol' days, those of 2.6, 2.5 and earlier, there was a very effective tool (for me) in the Revolution on-line documentation. It even had its own button. It was called OBJECTS. It seems to have gone the way of the Dodo or have the Dodos simply left it out of 2.7? My question is simply this. Has anyone been able to incorporate it back into 2.7 documentation. Or, are you like me, loading in 2.6 for that one feature? Yes, I know some of you have gone back to 2.6.1 in its entirety. BTW, This is the only complaint I have about 2.7. It hasn't fallen over once since I installed. And it seems to do everything I ask of it. Perhaps I got the prize in the Cracker jacks box? TIA Cal From jacque at hyperactivesw.com Mon Mar 20 16:19:51 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Mar 2006 15:19:51 -0600 Subject: Image Storage - Optimization In-Reply-To: References: Message-ID: <441F1C77.3060001@hyperactivesw.com> Sivakatirswami wrote: > This is a spin off from my earlier thread on DRM for images in stacks. > In experiments with putting compressed imageData into a custom prop I > discovered it bloated the size of the stack. I then tested "recovery" > of that data to an original jpeg size, with some very interesting > results, possibly "stumbling" on an optimization feature, I may need my > eyes tested, or at least try this same test on images with intricate > "edges" and with photos of peoples faces... Someone with more knowledge should really address this, but what I think is happening is that you are trying to compress an image that is already compressed, which can actually add size to the file rather than decrease it. > > 1) import 3 X 5 imag 80k .jpeg (in this case NASA space shot) > 2) Scale the image way up on the card (4 times) so it becomes the > whole background of the card > 3) save stack: stack size: 80 K This image was probably already compressed with jpg compression to 80K, and was much bigger when expanded. > 4) set the uStuff of this card to compress(the imageData of img 1) > put "" into img 1 > 5) save stack: stack size 1.2meg! ouch! Here's where I'm guessing, but it may be that what you are compressing is the fully expanded jpg rather then the stored compressed version. I'm not sure though. Someone else may know. > 6) try to recover: > 7) set the imageData of img 1 to decompress(the uStuff of this card) > 8) scale down the image to 3 X 5 > 9) set JPEGcompression to 40 > 10) export image 1 to someFile.jpg as JPEG; delete image 1 > 11) export image on disk is only 27K! You've changed both the compression ratio, apparently to a tighter compression, and the original size of the image, which reduces its file size. > 12) import someFile.jpg back into the stack, save stack > 13) stack size 27 k! When you re-import, you've imported a more tightly compressed and smaller jpg. > I cannot see *any* difference in the two images! but one stack is 80K > and the second one is 27K. For photos, I've found that you can set the jpg compression to a very tight amount without losing much quality at all. It doesn't work so well with images that contain line drawings, for example, but photos are excellent. I think in your situation it would work very well to open your images in an image editor, scale them down to a smaller size, re-save them at very tight compression, and then import them into your stack. Set the custom property to the imageData without using any Rev compression at all; the original file size should be retained. When you display the image in an image object in the stack, Rev will automatically decompress it and expand it to its full size for display, leaving the original property alone. If you need to set the display size to something larger than the original size, do that after you've put the imagedata into the image object. Set the lockloc of the image object to true and then set its height and width to what you want. Rev will scale it for display without changing the size of the stored imagedata property. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 20 16:31:10 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Mar 2006 15:31:10 -0600 Subject: Get a handler from a script In-Reply-To: <247424575.20060320103110@ahsoftware.net> References: <4CE09A99-33A5-40A3-9AB4-0A1C36D1501D@inspiredlogic.com> <247424575.20060320103110@ahsoftware.net> Message-ID: <441F1F1E.6@hyperactivesw.com> Mark Wieder wrote: > Geoff- > > Sunday, March 19, 2006, 5:12:04 PM, you wrote: > > >>This would still be subject to failure if, anywhere in the script, /* >>or */ appeared _not_ as block comment delimiters, but as part of a >>string. > > > The best solution I've come up with for removing block comments is > > put the script of SomeObject into tScript > put token 1 to -1 of tScript into tScript > This sounded really cool, but I can't get it to work. :( -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Mar 20 16:38:27 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 20 Mar 2006 13:38:27 -0800 Subject: ANN: Email Obfuscator In-Reply-To: References: Message-ID: <4718663126.20060320133827@ahsoftware.net> Jim- Sunday, March 19, 2006, 9:48:38 PM, you wrote: > Thanks for the great snippet. > One of my clients will be thrilled Monday when he sees it! Well, your client will probably like the new version better. I just uploaded a v1.1 version, which can handle command line arguments if it's made into a standalone. I tried to get this working yesterday but my brain wasn't cooperating with my fingers. And I added a button to create a test web page while I was at it. EmailObfuscator -u me at home.com -v "hello, bucko" -x > result.html -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Mon Mar 20 16:39:57 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Mar 2006 15:39:57 -0600 Subject: Where has all the Object Documentation gone? In-Reply-To: <441F19E4.000003.04088@CALSBIGPC> References: <441F19E4.000003.04088@CALSBIGPC> Message-ID: <441F212D.7010604@hyperactivesw.com> Cal Horner wrote: > Back in the good ol' days, those of 2.6, 2.5 and earlier, there was a very > effective tool (for me) in the Revolution on-line documentation. It even had > its own button. It was called OBJECTS. > > It seems to have gone the way of the Dodo or have the Dodos simply left it > out of 2.7? It is mostly still there but access is different. Right-click on the column headings and choose the object you want to display. A column is added and all language elements that are used by that object will be checkedmarked. You can sort by that column to put all the object's language elements next to each other. There are still some things missing; for example, "all objects" isn't an easy category to isolate. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From reball at mac.com Mon Mar 20 16:43:14 2006 From: reball at mac.com (Robert E. Ball) Date: Mon, 20 Mar 2006 13:43:14 -0800 Subject: How can I keep selected text hilited? Message-ID: <6B217C92-2A13-44A5-8594-77AC26976FBB@mac.com> I want the user of my program to be able to hilite portions of a text field on a given card (similar to using a yellow hilite pen on a book page -- I have set hiliteColor to yellow) and then to have the hilited text show up when the user returns to the card. When I first double click on a word in a field, the selected word's backgroundColor turns yellow, as it should. However, when I double click on another word in the field, the yellow backgroundColor of the previously selected word is removed and the backgroundColor of the second selected word is yellow. I understand why this works -- a new word has been selected. However, is it possible to write a script to save the yellow backgroundColor of all selected words. In other words, I would like my cards to look just like the page of a book that has hilited text. From chipp at chipp.com Mon Mar 20 17:08:55 2006 From: chipp at chipp.com (Chipp Walters) Date: Mon, 20 Mar 2006 16:08:55 -0600 Subject: Image Storage - Optimization In-Reply-To: References: Message-ID: <441F27F7.4070104@chipp.com> Hi Sivakatirswami, Never did hear how you guys did in that horrible flood last week. Hope all is OK! Regrading what I think you did and the subsequent results: First, when describing importing an image, it's a good idea to give pixel dimenstions and not inches. So, I assume at 72dpi an 3 x 5 image is 216 x 360 which is 227.8K raw imagedata. The reason it was 80K as a JPG file was due to the JPG compression. When saving a raw image in a stack, Rev applies its own non-destructive compression to it reducing it from 227K to 54K. The compression applied is not gZip as gZip is not optimized for compressing images. Just doing the following blows up the stack to 305K: set the altImageData of this stack to the imageData of img 1 delete img 1 This is because the imagedata is a pixel for pixel exact representation of what the image is. No compression. Starting over and putting: set the altImageData of this stack to compress (the imageData of img 1) delete img 1 reveals a stack 71K in size. You see, the compress function doesn't work as good as the built-in image compression which created a 54K stack. Scaling the image larger doesn't add anything to the stack size IF you don't store the image as imageData, but IF YOU DO capture the imagedata, then you are accessing that many more pixels and that much more imageData, thus creating a larger stack. Though the image itself has gained no higher resolution (image quality) as you can't make an image larger and increase resolution without some tricky algorithms. The whole export thing being smaller you have going on is due only to the JPEG compression setting. Also remember, if you're resizing DOWN (as in creating thumbnails) setting the resizeQuality of an image to best enables bilinear sampling, which looks better than the default nearest neighbor sampling (though it takes slightly longer). HTH, Chipp From tkuypers at dmp-int.com Mon Mar 20 17:17:00 2006 From: tkuypers at dmp-int.com (Ton Kuypers) Date: Mon, 20 Mar 2006 23:17:00 +0100 Subject: [?] Mac Classic, 2.6.1, MySQL In-Reply-To: References: Message-ID: <4CD820A2-3B41-419E-BA20-1B9BB10093BC@dmp-int.com> Sean, Yep, I did, and didn't get the classic version to work unless I created the classic standalone from RR 2.5 running in classic mode... I could create the Windows and OS X version from my OS X Revolution, but never got the classic version to run. Lazy as I am, I didn't spend much time on it, just created the classic version on my old OS 9 Mac... Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com On 20-mrt-06, at 20:52, Sean Shao wrote: > I'm working on a small project that needs to run on Mac OS X, Mac > Classic (9.2.2) and Windows and that uses the database library to > connect to a MySQL server. Everything runs fine on OS X and > Windows, and it runs fine in the IDE on Mac Classic. > > When I compile a Classic application from the IDE on the Classic > Mac the application crashes on launch with a Type 1001 error. > I've noticed that the MySQL library file from the 2.6.1 Classic IDE > is only 244 KiB yet the one that's in my OS X 2.6.1 IDE is over a > meg big. > When I replace the MySQL library in the compiled app's folder the > application successfully launches, but I get a Rev DB error > "Unsupported database type". > > Has anyone successfully made a Classic app using the database > library to connect to a MySQL server, or has everyone moved forward > to OS X? > > -Sean > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today - > it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/ > direct/01/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Met vriendelijke groeten, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com From revolutionary.dan at gmail.com Mon Mar 20 18:36:22 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Mon, 20 Mar 2006 15:36:22 -0800 Subject: [ANN] STS XML Library 2.0 Now Available In-Reply-To: References: Message-ID: <70ed6b130603201536j660fc311q34019b0d55be49ba@mail.gmail.com> Thanks, Ken. Nice bit of work. On 3/19/06, Ken Ray wrote: > > Hey, everyone! > > The long-awaited, and long-promised STS XML Library 2.0 has finally been > released, adding node path support, search and array methods, conditional > validation and plugin support to the all-Transcript XML parsing library. > It > is also fully Revolution Interoperability (RIP) compliant, and ships with > a > special Compatibility Library that enables current 1.x users the ability > to > easily transition to the new 2.0 syntax. > > The new plugin architecture enables third parties to provide libraries > that > can utilize the XML Library for specialized XML parsing, and Version 2.0 > comes with a plugin for manipulating RSS feed documents. > > The web site, in addition to providing more information about the library, > also includes a full comparison of how the STS XML Library compares with > the > revXML.DLL that comes with Revolution. It also includes the full > documentation of the library, so you can look it over to decide for > yourself > if the STS XML Library if for you. > > Read more about the XML Library at: > > http://www.sonsothunder.com/products/xmllib/xmllib.htm > > Enjoy! > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From revolutionary.dan at gmail.com Mon Mar 20 18:59:05 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Mon, 20 Mar 2006 15:59:05 -0800 Subject: Making the move... In-Reply-To: References: <4C003C98-91CC-47C3-A7B3-BBF2622CC7B8@lexicall.org> Message-ID: <70ed6b130603201559q10397057k4e7ccde00468f5a7@mail.gmail.com> OMG, Judy, two things we can agree on in, what?, less than a month? Perhaps the end of the cycle is imminent! :-) I spent two years once trying to sell a product into the "education market." (I use quotation marks because in my experience -- which may well have been unique for all I know -- there is no such thing as a "market" called "education".) Here's what I ran into (enough years ago that some of it may no longer be valid and it specifically applies to K-12, not secondary): 1. The decision-maker is often hard to find. This was a real deal-blocker for us. I'm not kidding. In one case, we found out that the key decision maker in determing what software a school district (a large one, at that) would buy was the nephew of the superintendent who worked as an outside consultant. He wasn't on an org chart and we could not make a direct presentation to him. That was the extreme but it was only a matter of degree. 2. Educators often cried poor-mouth, seeking deep, deep discounts that would have resulted in our inability to stay in business but then they also wanted reliable tech support (including pre-sale) and training. 3. Too often, educators felt justified taking our proprietary software and duplicating it for their fellow educators, on the same basis as #2, i.e., they were under-funded and under-paid. Now I'm not going to argue that educators are adequately compensated let alone overpaid. And I know that in the U.S. at least the priority we place on education in our budgets is horrific in contrast to the lip service we pay to the importance of education in our society. But even programmers have to eat (though they seem able to subsist of Jolt and Twinkies for extended periods of time, with the odd pizza tossed in for good measure.) But what does seem to me to be the case is that, as I think I hear you saying, educators seem (in general) to be OK with taking advantage of people who supply software technology to make their jobs easier but are not OK with others wishing to take advantage of their good nature as altruistic participants in the social discourse. And at the end, I just find this very interesting, not necessariiy negative or problematic. On 3/20/06, Judy Perry wrote: I suspect that there are remarkably few educators who would apply to themselves the sentiment that they seem to demand of software developers. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From revolutionary.dan at gmail.com Mon Mar 20 19:09:25 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Mon, 20 Mar 2006 16:09:25 -0800 Subject: How can I keep selected text hilited? In-Reply-To: <6B217C92-2A13-44A5-8594-77AC26976FBB@mac.com> References: <6B217C92-2A13-44A5-8594-77AC26976FBB@mac.com> Message-ID: <70ed6b130603201609i326ad0b9n660a599fa9d86f8a@mail.gmail.com> Robert.... Sure. Just set the foreColor of the selectedText to the hiliteColor. That makes the change sticky. On 3/20/06, Robert E. Ball wrote: > > I want the user of my program to be able to hilite portions of a text > field on a given card (similar to using a yellow hilite pen on a book > page -- I have set hiliteColor to yellow) and then to have the > hilited text show up when the user returns to the card. > > When I first double click on a word in a field, the selected word's > backgroundColor turns yellow, as it should. However, when I double > click on another word in the field, the yellow backgroundColor of the > previously selected word is removed and the backgroundColor of the > second selected word is yellow. I understand why this works -- a new > word has been selected. However, is it possible to write a script to > save the yellow backgroundColor of all selected words. In other > words, I would like my cards to look just like the page of a book > that has hilited text. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From userev at canelasoftware.com Mon Mar 20 19:16:31 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 20 Mar 2006 16:16:31 -0800 Subject: How can I keep selected text hilited? In-Reply-To: <6B217C92-2A13-44A5-8594-77AC26976FBB@mac.com> References: <6B217C92-2A13-44A5-8594-77AC26976FBB@mac.com> Message-ID: <12974C03-3347-4189-9CF1-4A8966E46FDE@canelasoftware.com> On Mar 20, 2006, at 1:43 PM Mar 20, 2006, Robert E. Ball wrote: > I want the user of my program to be able to hilite portions of a > text field on a given card (similar to using a yellow hilite pen on > a book page -- I have set hiliteColor to yellow) and then to have > the hilited text show up when the user returns to the card. > > When I first double click on a word in a field, the selected word's > backgroundColor turns yellow, as it should. However, when I double > click on another word in the field, the yellow backgroundColor of > the previously selected word is removed and the backgroundColor of > the second selected word is yellow. I understand why this works -- > a new word has been selected. However, is it possible to write a > script to save the yellow backgroundColor of all selected words. In > other words, I would like my cards to look just like the page of a > book that has hilited text. There probably is a few ways this can be done. The first thing I would try is to store the selectedChunk information everytime there is a mouseUp. You could store this in a variable or a custom property. A quick and dirty solution would be the following: on selectionChanged put the selectedChunk set the foreGroundColor of the selectedChunk to 255,0,0 end selectionChanged From revolutionary.dan at gmail.com Mon Mar 20 19:26:06 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Mon, 20 Mar 2006 16:26:06 -0800 Subject: How can I keep selected text hilited? In-Reply-To: <12974C03-3347-4189-9CF1-4A8966E46FDE@canelasoftware.com> References: <6B217C92-2A13-44A5-8594-77AC26976FBB@mac.com> <12974C03-3347-4189-9CF1-4A8966E46FDE@canelasoftware.com> Message-ID: <70ed6b130603201626v5bea4dd3jfce84a5750eb45e9@mail.gmail.com> Actually, that should be backColor, not foreColor. Sorry for the confusion. On 3/20/06, Mark Talluto wrote: > > > On Mar 20, 2006, at 1:43 PM Mar 20, 2006, Robert E. Ball wrote: > > > I want the user of my program to be able to hilite portions of a > > text field on a given card (similar to using a yellow hilite pen on > > a book page -- I have set hiliteColor to yellow) and then to have > > the hilited text show up when the user returns to the card. > > > > When I first double click on a word in a field, the selected word's > > backgroundColor turns yellow, as it should. However, when I double > > click on another word in the field, the yellow backgroundColor of > > the previously selected word is removed and the backgroundColor of > > the second selected word is yellow. I understand why this works -- > > a new word has been selected. However, is it possible to write a > > script to save the yellow backgroundColor of all selected words. In > > other words, I would like my cards to look just like the page of a > > book that has hilited text. > > There probably is a few ways this can be done. The first thing I > would try is to store the selectedChunk information everytime there > is a mouseUp. You could store this in a variable or a custom property. > > A quick and dirty solution would be the following: > > on selectionChanged > put the selectedChunk > set the foreGroundColor of the selectedChunk to 255,0,0 > end selectionChanged > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From reball at redshift.com Mon Mar 20 19:34:33 2006 From: reball at redshift.com (Dr. Robert E. Ball) Date: Mon, 20 Mar 2006 16:34:33 -0800 Subject: How can I keep selected text hilited? In-Reply-To: <12974C03-3347-4189-9CF1-4A8966E46FDE@canelasoftware.com> Message-ID: Dan and Mark -- thank you so much. The selectionChanged was exactly what I needed, but with the backgroundColor changed to yellow, not the foregroundColor (which makes the text yellow, not the background). On 3/20/06 4:16 PM, "Mark Talluto" wrote: > > On Mar 20, 2006, at 1:43 PM Mar 20, 2006, Robert E. Ball wrote: > >> I want the user of my program to be able to hilite portions of a >> text field on a given card (similar to using a yellow hilite pen on >> a book page -- I have set hiliteColor to yellow) and then to have >> the hilited text show up when the user returns to the card. >> >> When I first double click on a word in a field, the selected word's >> backgroundColor turns yellow, as it should. However, when I double >> click on another word in the field, the yellow backgroundColor of >> the previously selected word is removed and the backgroundColor of >> the second selected word is yellow. I understand why this works -- >> a new word has been selected. However, is it possible to write a >> script to save the yellow backgroundColor of all selected words. In >> other words, I would like my cards to look just like the page of a >> book that has hilited text. > > There probably is a few ways this can be done. The first thing I > would try is to store the selectedChunk information everytime there > is a mouseUp. You could store this in a variable or a custom property. > > A quick and dirty solution would be the following: > > on selectionChanged > put the selectedChunk > set the foreGroundColor of the selectedChunk to 255,0,0 > end selectionChanged > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Robert E. Ball, PhD Distinguished Professor, Emeritus Department of Aeronautics and Astronautics Naval Postgraduate School Monterey, California From userev at canelasoftware.com Mon Mar 20 19:37:11 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 20 Mar 2006 16:37:11 -0800 Subject: Draw spokes on a wheel In-Reply-To: References: <20060318141758.8D5AD8265A9@mail.runrev.com> Message-ID: <28C864C6-76B0-4A05-A468-CD5F094F5C54@canelasoftware.com> On Mar 18, 2006, at 8:11 AM, Jim Hurley wrote: > For fun and games with rolling you may want to look at: > > go url " http://home.infostations.net/jhurley/Rolling.rev" This took away a lot of my productivity when I first saw this. Incredible stuff indeed! > > Run Rev has expressed an interest in implementing TG in Revolution. > Be nice to have a new control, a turtle control (multiple turtles > like multiple graphic objects) that responds to the TG vocabulary. This would be very nice. I could have used this when I was a teacher. I'll be using it with my son soon. Mark Talluto -- CANELA Software http://www.canelasoftware.com From userev at canelasoftware.com Mon Mar 20 19:39:10 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 20 Mar 2006 16:39:10 -0800 Subject: How can I keep selected text hilited? In-Reply-To: References: Message-ID: <79CBDEB0-98A8-42D7-AE2E-89A4CDBF9736@canelasoftware.com> On Mar 20, 2006, at 4:34 PM, Dr. Robert E. Ball wrote: > Dan and Mark -- thank you so much. The selectionChanged was exactly > what I > needed, but with the backgroundColor changed to yellow, not the > foregroundColor (which makes the text yellow, not the background). Yup...the backgroundColor is a better choice. I am working on a better way to reset it in the event a user accidentally highlites something by accident. I'll post it in a moment once it work a bit better. I just crashed Rev 2.6.1 working on this. That is another issue though. Mark Talluto -- CANELA Software http://www.canelasoftware.com From userev at canelasoftware.com Mon Mar 20 19:50:41 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 20 Mar 2006 16:50:41 -0800 Subject: How can I keep selected text hilited? In-Reply-To: References: Message-ID: <0F9E1F5A-AF30-4BE2-AE82-7060F5DB1C6E@canelasoftware.com> On Mar 20, 2006, at 4:34 PM, Dr. Robert E. Ball wrote: > Dan and Mark -- thank you so much. The selectionChanged was exactly > what I > needed, but with the backgroundColor changed to yellow, not the > foregroundColor (which makes the text yellow, not the background). Give this a try: on selectionChanged if the backGroundColor of the selectedChunk is 255,255,0 then set the backGroundColor of the selectedChunk to 255,255,255 else set the backGroundColor of the selectedChunk to 255,255,0 end if end selectionChanged Mark Talluto -- CANELA Software http://www.canelasoftware.com From sarah.reichelt at gmail.com Mon Mar 20 21:20:15 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 21 Mar 2006 12:20:15 +1000 Subject: Making the move... In-Reply-To: <118F8A6C-B82B-11DA-B811-0030657E1638@pon.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <118F8A6C-B82B-11DA-B811-0030657E1638@pon.net> Message-ID: On 3/21/06, Rob Cozens wrote: > > G'day Sarah, > > > In my experience, it's probably due to never passing values by > > reference. > > I'm curious as to why you eschew passing by reference. > > If one needs to pass large variables, why incur the overhead of > duplicating the value of the variable before passing it? And if a > variable value needed at one level is derived from a routine nested > several calls deep, simply passing the variable by reference through > the nested calls is the simplest way to get the value back to the > original caller. > It's not a philosophy, more ignorance :-) I haven't ever really tested it and I have an instinctive feeling that functions should be self-sufficient and shouldn't change anything outside them. Maybe it will suit me better in some circumstances. Cheers, Sarah From sarah.reichelt at gmail.com Mon Mar 20 21:22:04 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 21 Mar 2006 12:22:04 +1000 Subject: Making the move... In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> Message-ID: Well I think you are right - there would be better ways to split out segments of the script, and if I find more than one routine neededing to do the same things, I go to the effort of doing it. However at the moment, I am mainly concerned with converting HyperCard scripts to Rev, and so I like to change as little as possible, to make sure I don't mess anything up. Cheers, Sarah On 3/21/06, Geoff Canyon 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. > > On Mar 20, 2006, at 4:29 AM, Sarah Reichelt wrote: > > > In my experience, it's probably due to never passing values by > > reference. If I am working on a routine that generates multiple > > variables, then acts on them, it is easier to keep it all together > > than to try and transfer more than one variable back & forth between > > handlers & functions. > > > > A separate function is great if it only has to return one variable, > > but as soon as it acts on more than one, I find it easier to leave > > that code as part of the main handler. > > > > Of course, if a segment of code is used by more than one handler, it's > > worth the effort to split it out, but otherwise, I'm not too fussed > > about keeping handlers small. Good commenting can overcome any > > problems interpreting it later :-) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarah.reichelt at gmail.com Mon Mar 20 21:25:49 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 21 Mar 2006 12:25:49 +1000 Subject: Dreamcard Won't Recognize Hypercard Stacks In-Reply-To: <9C54B799-037A-42D1-8D3F-B2CFF9FDEBEF@idenrosenthal.com> References: <9C54B799-037A-42D1-8D3F-B2CFF9FDEBEF@idenrosenthal.com> Message-ID: On 3/21/06, Iden Rosenthal wrote: > I have just installed Dreamcard 2.7 and tried to open some Hypercard > Stacks to convert them. They are unrecognized (grayed) in the file > open dialog. Is there something I've missed? The stacks will run in > Hypercard Player under Classic mode in OS X 10.4.5. They won't open > in either Oracle Card or Spinnaker Plus (message says they are "not > okay"). I realize these last two have nothing to do with Dreamcard > but I thought I'd mention it just in case anyone else out there has > any experience there as well. At the top of the Open stack dialog is a popup menu labelled "Enable". You need to set this to "All stacks" to un-gray HyperCard stacks. (In Windows, this may be at the bottom of the dialog, but I know on OS X, it is at the top.) Cheers, Sarah From mark at maseurope.net Mon Mar 20 22:01:45 2006 From: mark at maseurope.net (Mark Smith) Date: Tue, 21 Mar 2006 03:01:45 +0000 Subject: Making the move... In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <118F8A6C-B82B-11DA-B811-0030657E1638@pon.net> Message-ID: <86CF3700-39CD-4501-AA40-03663072340A@maseurope.net> I think the point is that when a variable is passed to a function/ handler 'normally', the data in it is duplicated, and if the data is big, this is not as efficient as passing it by reference - obviously, if you need to change the data in the called function/handler, this may have unwanted side-effects, in which case passing it normally is going to be better. Mark On 21 Mar 2006, at 02:20, Sarah Reichelt wrote: > On 3/21/06, Rob Cozens wrote: >> >> G'day Sarah, >> >>> In my experience, it's probably due to never passing values by >>> reference. >> >> I'm curious as to why you eschew passing by reference. >> >> If one needs to pass large variables, why incur the overhead of >> duplicating the value of the variable before passing it? And if a >> variable value needed at one level is derived from a routine nested >> several calls deep, simply passing the variable by reference through >> the nested calls is the simplest way to get the value back to the >> original caller. >> > > It's not a philosophy, more ignorance :-) > > I haven't ever really tested it and I have an instinctive feeling that > functions should be self-sufficient and shouldn't change anything > outside them. Maybe it will suit me better in some circumstances. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From shaosean at hotmail.com Mon Mar 20 22:37:15 2006 From: shaosean at hotmail.com (Sean Shao) Date: Mon, 20 Mar 2006 22:37:15 -0500 Subject: [?] Mac Classic, 2.6.1, MySQL In-Reply-To: <20060321012404.BF904825D17@mail.runrev.com> Message-ID: I've tried building the application on two different Mac OS 9.2.2 machines (an old iMac and an old UMax ;-) but, as mentioned previously, the application crashes with an error of Type 1001 unless I switch the MySQL libraries then I get a "unsupported database type".. So as it stands, I'm boned in this department...? I'll try the 2.5 and the Valentina work-arounds to see if anything happens with that.. Thanks, -Sean _________________________________________________________________ Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From jspencer78 at mac.com Mon Mar 20 22:53:43 2006 From: jspencer78 at mac.com (James Spencer) Date: Mon, 20 Mar 2006 21:53:43 -0600 Subject: Making the move... In-Reply-To: <86CF3700-39CD-4501-AA40-03663072340A@maseurope.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <118F8A6C-B82B-11DA-B811-0030657E1638@pon.net> <86CF3700-39CD-4501-AA40-03663072340A@maseurope.net> Message-ID: On Mar 20, 2006, at 9:01 PM, Mark Smith wrote: > I think the point is that when a variable is passed to a function/ > handler 'normally', the data in it is duplicated, and if the data > is big, this is not as efficient as passing it by reference - > obviously, if you need to change the data in the called function/ > handler, this may have unwanted side-effects, in which case > passing it normally is going to be better. The problem you raise here is handled in more traditional languages by declaring the reference to be constant. It strikes me that it would not be a big change to expand the use of the "constant" keyword. Then in situations such as Sarah was talking about the handler/function would be declared as not changing the referred to variable, something like on myHandler constant @pByReferenceParameter -- following then should cause compiler error add 1 to @pByReferenceParameter end myHandler There is, of course, another use for references besides the efficiency of not having to copy large data structures: returning more than one value. This use doesn't suffer from the concern Sarah raises about having external effects as, when used this way, the parameter passed in should be empty. There isn't, of course, any guarantee of this other than the caller being careful and writer of the called function being careful to document that the parameter is used for output only. Spence James P. Spencer Rochester, MN jspencer78 at mac.com "Badges?? We don't need no stinkin badges!" From davis.phil at comcast.net Mon Mar 20 23:37:01 2006 From: davis.phil at comcast.net (Phil Davis) Date: Mon, 20 Mar 2006 20:37:01 -0800 Subject: Making the move... In-Reply-To: <86CF3700-39CD-4501-AA40-03663072340A@maseurope.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <118F8A6C-B82B-11DA-B811-0030657E1638@pon.net> <86CF3700-39CD-4501-AA40-03663072340A@maseurope.net> Message-ID: <441F82ED.8050307@comcast.net> Ever the metaphorical thinker, this reminds me of good gun safety practices (aka ways NOT to shoot yourself in the foot) - it's all in knowing how to control a powerful tool. Phil Davis (meant in a lighthearted way and limited strictly to the parallel observed - not intended to engender discussion/debate about guns) Mark Smith wrote: > I think the point is that when a variable is passed to a function/ > handler 'normally', the data in it is duplicated, and if the data is > big, this is not as efficient as passing it by reference - obviously, > if you need to change the data in the called function/handler, this may > have unwanted side-effects, in which case passing it normally is going > to be better. > > Mark > > > On 21 Mar 2006, at 02:20, Sarah Reichelt wrote: > >> On 3/21/06, Rob Cozens wrote: >> >>> >>> G'day Sarah, >>> >>>> In my experience, it's probably due to never passing values by >>>> reference. >>> >>> >>> I'm curious as to why you eschew passing by reference. >>> >>> If one needs to pass large variables, why incur the overhead of >>> duplicating the value of the variable before passing it? And if a >>> variable value needed at one level is derived from a routine nested >>> several calls deep, simply passing the variable by reference through >>> the nested calls is the simplest way to get the value back to the >>> original caller. >>> >> >> It's not a philosophy, more ignorance :-) >> >> I haven't ever really tested it and I have an instinctive feeling that >> functions should be self-sufficient and shouldn't change anything >> outside them. Maybe it will suit me better in some circumstances. >> >> Cheers, >> Sarah >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolutionary.dan at gmail.com Tue Mar 21 00:21:08 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Mon, 20 Mar 2006 21:21:08 -0800 Subject: [OT] Another Bit of HyperHistory Message-ID: <70ed6b130603202121l44434868nf93c76e9e0e63439@mail.gmail.com> I'd forgotten until this evening that Ward Cunningham wrote the first wikiwiki in HyperCard. I remember him telling me that way back when I was at CNET but I somehow forgot it. Here's an article that elucidates: http://www.eweek.com/print_article2/0,1217,a=173863,00.asp -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From mwieder at ahsoftware.net Tue Mar 21 00:30:17 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 20 Mar 2006 21:30:17 -0800 Subject: Get a handler from a script In-Reply-To: <441F1F1E.6@hyperactivesw.com> References: <4CE09A99-33A5-40A3-9AB4-0A1C36D1501D@inspiredlogic.com> <247424575.20060320103110@ahsoftware.net> <441F1F1E.6@hyperactivesw.com> Message-ID: <9546971491.20060320213017@ahsoftware.net> Jacque- >> The best solution I've come up with for removing block comments is >> >> put the script of SomeObject into tScript >> put token 1 to -1 of tScript into tScript >> > This sounded really cool, but I can't get it to work. :( Really? What isn't it doing? For me it removes all comments that are outside handlers (which is where my block comments are)... -- -Mark Wieder mwieder at ahsoftware.net From jperryl at ecs.fullerton.edu Tue Mar 21 01:00:37 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 20 Mar 2006 22:00:37 -0800 (PST) Subject: Making the move... In-Reply-To: <70ed6b130603201559q10397057k4e7ccde00468f5a7@mail.gmail.com> Message-ID: Holy Batcrap, Dan! Like, is it a full moon? Are the planets in alignment?? Did I miss a supernova somewhere obvious??? :-) You know, I have always held that rumours of our supposedly concrete disagreement status are greatly exaggerated. Yeah, I've seen something very like what you are talking about (Point No. 1, that is; probably the others as well). Something very similar is why, although funding has been approved, my FrankenLab won't be fixed anytime soon, if at all. As for your points 2 & 3 (which to me seem to be the samething), I've seen that too. While in the midst of a rather painful msidt (see how it relates to midst??? msidt = master of science in instructional design and technology; sorry for the pun; it was a really dreadful program), we students were in the midst of this small (as in, *really* small) unit on copyrighted materials and fair use in the classroom, and a rather vocal seeming majority of my fellow students stridently held that their mission to educate trumped basic property rights. When I objected, I was basically called a "pie in the sky" and "ivory tower" higher-ed type. And I'll bet their software budget is bigger than mine. Judy On Mon, 20 Mar 2006, Dan Shafer wrote: > OMG, Judy, two things we can agree on in, what?, less than a month? Perhaps > the end of the cycle is imminent! > > :-) > > I spent two years once trying to sell a product into the "education market." > (I use quotation marks because in my experience -- which may well have been > unique for all I know -- there is no such thing as a "market" called > "education".) Here's what I ran into (enough years ago that some of it may > no longer be valid and it specifically applies to K-12, not secondary): > > 1. The decision-maker is often hard to find. This was a real deal-blocker > for us. I'm not kidding. In one case, we found out that the key decision > maker in determing what software a school district (a large one, at that) > would buy was the nephew of the superintendent who worked as an outside > consultant. He wasn't on an org chart and we could not make a direct > presentation to him. That was the extreme but it was only a matter of > degree. > > 2. Educators often cried poor-mouth, seeking deep, deep discounts that > would have resulted in our inability to stay in business but then they also > wanted reliable tech support (including pre-sale) and training. > > 3. Too often, educators felt justified taking our proprietary software and > duplicating it for their fellow educators, on the same basis as #2, i.e., > they were under-funded and under-paid. > > Now I'm not going to argue that educators are adequately compensated let > alone overpaid. And I know that in the U.S. at least the priority we place > on education in our budgets is horrific in contrast to the lip service we > pay to the importance of education in our society. But even programmers have > to eat (though they seem able to subsist of Jolt and Twinkies for extended > periods of time, with the odd pizza tossed in for good measure.) But what > does seem to me to be the case is that, as I think I hear you saying, > educators seem (in general) to be OK with taking advantage of people who > supply software technology to make their jobs easier but are not OK with > others wishing to take advantage of their good nature as altruistic > participants in the social discourse. > > And at the end, I just find this very interesting, not necessariiy negative > or problematic. > > On 3/20/06, Judy Perry wrote: > > I suspect that there are remarkably few educators who would apply > to themselves the sentiment that they seem to demand of software > developers. > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Information Product Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > >From http://www.shafermediastore.com/tech_main.html > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From aturban at qwest.net Tue Mar 21 02:39:21 2006 From: aturban at qwest.net (Arthur Urban) Date: Tue, 21 Mar 2006 00:39:21 -0700 Subject: Help with Arrays?? Message-ID: <441FADA9.9060801@qwest.net> I don't know what the heck is going on here, but I know it's making me a wee bit testy. (I don't like needless local variables, what can I say...) Here's the code that works just fine. Please note that I've confirmed the value of x, it is not the problem here. The function returns an Array. put MyFunc( x ) into theArray DisplayPurchaseLine x, theArray The following code fails miserably passing empty for theArray argument; x is passed in just fine: DisplayPurchaseLine x, MyFunc( x ) Why do I need to put the MyFunc() return value (an array) into a local variable first. It clearly makes it out of the function call, but cannot then immediately be used as a parameter. Huh? From bobs at twft.com Tue Mar 21 02:54:08 2006 From: bobs at twft.com (Robert Sneidar) Date: Mon, 20 Mar 2006 23:54:08 -0800 Subject: Table Column Widths Message-ID: <1E354F3C-F705-4B5C-8C44-973B664ABA65@twft.com> Is there any way to make a scrolling table field have column widths that vary? If not, is it possible to add object types so I can write my own, or has someone else already done this? This is a good feature request I think. Trying to show 50 character fields next to fields with 2 or 3 and have them the same width is not going to be good in terms of maximizing the screen real estate I have to work with. Just a thought. Bob Sneidar IT Manager Logos Management Calvary Chapel CM From dick.kriesel at mail.com Tue Mar 21 03:34:55 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Tue, 21 Mar 2006 00:34:55 -0800 Subject: Get a handler from a script In-Reply-To: <9546971491.20060320213017@ahsoftware.net> Message-ID: On 3/20/06 9:30 PM, "Mark Wieder" wrote: >>> The best solution I've come up with for removing block comments is >>> >>> put the script of SomeObject into tScript >>> put token 1 to -1 of tScript into tScript >>> > >> This sounded really cool, but I can't get it to work. :( > > Really? What isn't it doing? For me it removes all comments that are > outside handlers (which is where my block comments are)... That technique appears to me to work for block comments and line comments that appear in the script either before the first compilable code or after the last compilable code. But it overlooks block and line comments that are interspersed within the compilable code, and undelimited comments outside handlers. In contrast, a repeat loop through the tokens of the script does not see any line comments anywhere in the script, and does not see the first lines of any block comments. In comparison, neither technique removes undelimited comments outside handlers. But tokenizing seems unrelated to the challenge of getting a handler from a script, because it can lose the control structure of a handler. For example, consider the following handlers, whose bodies yield the same list of tokens: on a if the seconds mod 2 = 0 then ask the date;ask the time end a on b if the seconds mod 2 = 0 then ask the date ask the time end b Now that I'm considering the variety of valid circumstances for comments, doomsayers Geoff, Alex, and David are sounding right about this challenge. But there _ought_ to be a way... I'd really like to be able to search selected scripts while optionally ignoring all comments. -- Dick From katir at hindu.org Tue Mar 21 04:38:25 2006 From: katir at hindu.org (Sivakatirswami) Date: Mon, 20 Mar 2006 23:38:25 -1000 Subject: DRM for Images and Text in Stacks In-Reply-To: References: <6A2645BE-83C8-4A07-84A7-8240F4BDE087@canelasoftware.com> <8A57CA63-03B6-40ED-B19B-196E3EBE315D@hindu.org> Message-ID: <5BCF2BE7-E4E4-4D49-885C-BE3FAD2162D1@hindu.org> OK further testing I finally settled on a compromise taking Key Ray's suggestion but not using compressed imageData, I don't see any advantage (I could be missing something) to using compressed imageData over simple jpg storage. Either format would be equally hackable... I think this comes close to making the images at least some what obscurely stored. --create a substack --import images into custom props as jpegs, --One could put these props in something a "available" as a card property or something very obscure, like a transparent invisible graphic. --set the uStuff1 of btn "obscureObject" to (url ("binfile:/somePath/ foo.jpg")) --scripts then can call the images for display: put the uStuff of btn "obscureObject" into img "DisplayImageNow" -- then encrypt the stack with a password. (all this does is prevent another developer from seeing the scripts that display the custom prop) That's about as good as it gets, I think...some developer who was really, really intent on stealing your images might dig through every object in the stack, find the object with custom props, surmise these were image data and extract them from the msg box... but this is a highly unlikely scenario... as our managing editor pointed out today in a staff meeting, discussing this very issue of how much energy we need to put into protecting images, he said that all these years, anyone could make some hi-res scans of our printed magazine and get a pretty decent image. But, no one has actually done this. Still, on principle, I think we need a strong DRM option and I have put in a feature request into bugzilla for simple option to block access to a substack from inside the IDE... I still need to be able to say for example, to NewsCom photo agency (who we use a lot of photos from), or Thomas Kelly (world famous photographer who does shoots for us in India, Sri Lanka and Nepal) with a honest face: "No, people cannot extract the images, not even another revolution developer...you are welcome to test it yourself if you wish." --right now I cannot do that....if our managing editor asks "are the images locked up," I have to say "well, almost...but not quite" Sivakatirswami Himalayan Academy Publications www.HinduismToday.com On Mar 20, 2006, at 10:46 AM, Mark Talluto wrote: >> >> mmm. I'm reviewing all the memos to date on this and see you >> already mentioned this. >> >> OK yes, I think this is "doable" I will try it. I wonder how >> hackable this could be from inside the IDE if one were to place >> that line into just the script of the substack "library" > > > This will not work as all one has to do is lock the messages before > opening the stack. > > > Mark Talluto > -- > CANELA Software > http://www.canelasoftware.com From alex at tweedly.net Tue Mar 21 05:37:29 2006 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 21 Mar 2006 10:37:29 +0000 Subject: Get a handler from a script In-Reply-To: References: Message-ID: <441FD769.6000503@tweedly.net> I'll answer about the comments separately,when I've had more time to think about it. But - this one is quick ... Dick Kriesel wrote: > >But tokenizing seems unrelated to the challenge of getting a handler from a >script, because it can lose the control structure of a handler. For >example, consider the following handlers, whose bodies yield the same list >of tokens: > >on a > if the seconds mod 2 = 0 then ask the date;ask the time >end a > >on b > if the seconds mod 2 = 0 then ask the date > ask the time >end b > > > Those two bodies have the *same* meaning. I suspect you have a different idea for what handler 'a' will do - in fact, it *always" ask the time. To see this more clearly, try > on mouseUp > if true then put "this" after msg; put "that" &cr after msg > if false then put "this" after msg; put "that" &cr after msg > end mouseUp > -- 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 From effendi at wanadoo.fr Tue Mar 21 05:47:13 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 21 Mar 2006 11:47:13 +0100 Subject: Acessing button scripts in a HC stack ? Message-ID: Hi from Paris, I want to port scripts from Hypercard into Rev 2.6.1, where I can play with them to my hearts content, but all my attempts have so far failed. I can access the fields and their contents, but the word "button" doesn't give any joy. Does anybody have any ideas ? -Francis "Nothing should ever be done for the first time !" From mark at maseurope.net Tue Mar 21 05:49:24 2006 From: mark at maseurope.net (Mark Smith) Date: Tue, 21 Mar 2006 10:49:24 +0000 Subject: Help with Arrays?? In-Reply-To: <441FADA9.9060801@qwest.net> References: <441FADA9.9060801@qwest.net> Message-ID: <089C39C7-44FC-497E-B2ED-106CF61BD625@maseurope.net> Wow. The following meaningless script fails, (though it doesn't produce an error) ie. the result is simply 12 in the message box, the keys of the array are not sent to the message box... on mouseUp showArray 12,makeArray(12) end mouseUp on showArray 12,tArray put x & cr & the keys of tArray end showArray function makeArray x repeat with n = 1 to x put 0 into tArray[n] end repeat return tArray end makeArray while on mouseUp put makeArray(12) into tArray showArray 12,tArray end mouseUp works just fine... Maybe this is a bug. Anyone else come across this? Mark On 21 Mar 2006, at 07:39, Arthur Urban wrote: > I don't know what the heck is going on here, but I know it's making > me a wee bit testy. (I don't like needless local variables, what > can I say...) > > Here's the code that works just fine. Please note that I've > confirmed the value of x, it is not the problem here. The function > returns an Array. > > put MyFunc( x ) into theArray > DisplayPurchaseLine x, theArray > > The following code fails miserably passing empty for theArray > argument; x is passed in just fine: > > DisplayPurchaseLine x, MyFunc( x ) > > Why do I need to put the MyFunc() return value (an array) into a > local variable first. It clearly makes it out of the function call, > but cannot then immediately be used as a parameter. Huh? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Tue Mar 21 05:56:35 2006 From: mark at maseurope.net (Mark Smith) Date: Tue, 21 Mar 2006 10:56:35 +0000 Subject: Help with Arrays?? In-Reply-To: <089C39C7-44FC-497E-B2ED-106CF61BD625@maseurope.net> References: <441FADA9.9060801@qwest.net> <089C39C7-44FC-497E-B2ED-106CF61BD625@maseurope.net> Message-ID: Sorry, typo (in message, not tested script): on showArray 12,tArray should be on showArray x,tArray Mark On 21 Mar 2006, at 10:49, Mark Smith wrote: > Wow. The following meaningless script fails, (though it doesn't > produce an error) ie. the result is simply 12 in the message box, > the keys of the array are not sent to the message box... > > on mouseUp > showArray 12,makeArray(12) > end mouseUp > > on showArray 12,tArray > put x & cr & the keys of tArray > end showArray > > function makeArray x > repeat with n = 1 to x > put 0 into tArray[n] > end repeat > return tArray > end makeArray > > > while > > on mouseUp > put makeArray(12) into tArray > showArray 12,tArray > end mouseUp > > works just fine... > > Maybe this is a bug. Anyone else come across this? > > Mark > > On 21 Mar 2006, at 07:39, Arthur Urban wrote: > >> I don't know what the heck is going on here, but I know it's >> making me a wee bit testy. (I don't like needless local variables, >> what can I say...) >> >> Here's the code that works just fine. Please note that I've >> confirmed the value of x, it is not the problem here. The function >> returns an Array. >> >> put MyFunc( x ) into theArray >> DisplayPurchaseLine x, theArray >> >> The following code fails miserably passing empty for theArray >> argument; x is passed in just fine: >> >> DisplayPurchaseLine x, MyFunc( x ) >> >> Why do I need to put the MyFunc() return value (an array) into a >> local variable first. It clearly makes it out of the function >> call, but cannot then immediately be used as a parameter. Huh? >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > From sarah.reichelt at gmail.com Tue Mar 21 06:01:47 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 21 Mar 2006 21:01:47 +1000 Subject: Acessing button scripts in a HC stack ? In-Reply-To: References: Message-ID: On 3/21/06, Francis Nugent Dixon wrote: > Hi from Paris, > > I want to port scripts from Hypercard into Rev 2.6.1, where > I can play with them to my hearts content, but all my attempts > have so far failed. > > I can access the fields and their contents, but the word > "button" doesn't give any joy. > Are you opening the HyperCard stacks in Rev? If so, you should read Jacque's excellent tutorial on the subject at . Apart from that, I don't understand what you mean. Are you saying that imported stacks don't have their buttons, or that the imported buttons don't have scripts or what? As a general rule, I recommend creating a new stack in Rev and copying the scripts over with the necessary changes, instead of importing directly, but I have had no major problems with either method. Cheers, Sarah From sarah.reichelt at gmail.com Tue Mar 21 06:08:00 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 21 Mar 2006 21:08:00 +1000 Subject: Table Column Widths In-Reply-To: <1E354F3C-F705-4B5C-8C44-973B664ABA65@twft.com> References: <1E354F3C-F705-4B5C-8C44-973B664ABA65@twft.com> Message-ID: On 3/21/06, Robert Sneidar wrote: > Is there any way to make a scrolling table field have column widths > that vary? If not, is it possible to add object types so I can write > my own, or has someone else already done this? > If you don't need the fields to vary once set, you can just use the tabStops, e.g. set the tabStops of fld "MyList" to "100,150,300,320,400" will produce columns with widths 100, 50, 150, 20 and 80 with all extra columns also being width 80. If you need the column widths to be variable, then you need Chipp's altFldHeader plugin which you can get from here: Follow the links to altPlugins -> Downloads and you'll find it near the bottom of the page. Cheers, Sarah From dick.kriesel at mail.com Tue Mar 21 07:31:33 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Tue, 21 Mar 2006 04:31:33 -0800 Subject: Get a handler from a script In-Reply-To: <441FD769.6000503@tweedly.net> Message-ID: On 3/21/06 2:37 AM, "Alex Tweedly" wrote: > I suspect you have a different idea for what handler 'a' will do - in > fact, it *always" ask the time. You suspected correctly, Alex. Thanks for finding another mistake. That example only shows that the list of tokens is insufficient to reproduce the _appearance_ of the handler. Despite that weak example, the point was that the list of tokens is insufficient to reproduce the _semantics_ of the handler, and therefore not useful to "get a handler from a script." Here's a better-chosen example of two handlers with different semantics but the same tokens for the bodies of the handlers: on a put "foo" into bar return bar end a on b put "foo" into bar return "bar" end b > I'll answer about the comments separately,when I've had more time to > think about it. I'm looking forward to it. -- Dick From jimlyons at earthlink.net Tue Mar 21 08:00:12 2006 From: jimlyons at earthlink.net (Jim Lyons) Date: Tue, 21 Mar 2006 08:00:12 -0500 Subject: Draw spokes on a wheel In-Reply-To: <28C864C6-76B0-4A05-A468-CD5F094F5C54@canelasoftware.com> References: <20060318141758.8D5AD8265A9@mail.runrev.com> <28C864C6-76B0-4A05-A468-CD5F094F5C54@canelasoftware.com> Message-ID: Mark, I used Revolution a couple of years ago to teach middle school kids interested in programming. Then I discovered NetLogo, an agent-based modelling system that traces its roots back to the original Logo. It is perfect for beginners, and has the advantage of immediate feedback and incremental development, just like HyperCard and Rev. It's free and being actively developed by the Center for Connected Learning at Northwestern University, http://ccl.northwestern.edu/netlogo/ I think Rev might benefit from the addition of TG-type controls, but it seems like a long shot to me. I have built a tool in Rev to work with NetLogo files if anyone does take an interest. (It needs to be updated -- I can't keep up with them!) Jim Lyons On Mar 20, 2006, at 7:37 PM, Mark Talluto wrote: >> Run Rev has expressed an interest in implementing TG in Revolution. >> Be nice to have a new control, a turtle control (multiple turtles >> like multiple graphic objects) that responds to the TG vocabulary. > > This would be very nice. I could have used this when I was a teacher. > I'll be using it with my son soon. From jerry at hytext.com Tue Mar 21 08:24:22 2006 From: jerry at hytext.com (Jerry Muelver) Date: Tue, 21 Mar 2006 07:24:22 -0600 Subject: Draw spokes on a wheel In-Reply-To: References: <20060318141758.8D5AD8265A9@mail.runrev.com> <28C864C6-76B0-4A05-A468-CD5F094F5C54@canelasoftware.com> Message-ID: <441FFE86.9030806@hytext.com> Jim Lyons wrote: > Mark, > I used Revolution a couple of years ago to teach middle school kids > interested in programming. Then I discovered NetLogo, an agent-based > modelling system that traces its roots back to the original Logo. It > is perfect for beginners, and has the advantage of immediate feedback > and incremental development, just like HyperCard and Rev. It's free > and being actively developed by the Center for Connected Learning at > Northwestern University, > > http://ccl.northwestern.edu/netlogo/ > > I think Rev might benefit from the addition of TG-type controls, but > it seems like a long shot to me. I have built a tool in Rev to work > with NetLogo files if anyone does take an interest. (It needs to be > updated -- I can't keep up with them!) Thanks for the link, Jim. I was in the process of putting together a list of features and functions for an introductory scripting language to be implemented in Revolution, and NetLogo will definitely help clarify my thinking. ---- Jerry Muelver From martinblackman at gmail.com Tue Mar 21 08:31:02 2006 From: martinblackman at gmail.com (Martin Blackman) Date: Tue, 21 Mar 2006 21:31:02 +0800 Subject: application help file Message-ID: <79d1bee70603210531l50cd7dbct@mail.gmail.com> Has anyone got any thoughts on building a help file for an application ? I am considering making a pdf file using openoffice, which can build in hyperlinks and bookmarks. But I think the searching features offered by traditional help files may be easier on the user. The help file will be medium sized, say 40-50 pages. regards Martin Blackman From haripratap at kengroup.co.in Tue Mar 21 08:35:35 2006 From: haripratap at kengroup.co.in (haripratap) Date: Tue, 21 Mar 2006 19:05:35 +0530 Subject: application help file References: <79d1bee70603210531l50cd7dbct@mail.gmail.com> Message-ID: <000901c64cec$576caa90$7000a8c0@kms1> What ever you Thought is better and you are thinking about Search Option even that option is Available with fre PDF readers else you can use can Create a Class for this Module where it can Even Fetch you with some Financial Reasource if you release it as a Plugin ----- Original Message ----- From: "Martin Blackman" To: "How to use Revolution" Sent: Tuesday, March 21, 2006 7:01 PM Subject: application help file Has anyone got any thoughts on building a help file for an application ? I am considering making a pdf file using openoffice, which can build in hyperlinks and bookmarks. But I think the searching features offered by traditional help files may be easier on the user. The help file will be medium sized, say 40-50 pages. regards Martin Blackman _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From wouter.abraham at scarlet.be Tue Mar 21 08:58:46 2006 From: wouter.abraham at scarlet.be (Wouter) Date: Tue, 21 Mar 2006 14:58:46 +0100 Subject: Get a handler from a script Message-ID: <6B0024C3-E175-495E-927A-C7C6CD8CFD19@scarlet.be> on Sun Mar 19 16:12:57 CST 2006 Geoff Canyon wrote: > > Unfortunately for anyone attempting this task, this is a perfectly > valid script: > > /* this is a comment > as is this */on mouseUp > answer "yes" > end mouseUp This style of commenting shows rev's inability to parse for handler names there after. Have a look at the handler list field of the revscripteditor. Take a multi handler script and comment the second handler like mentioned by Geoff above. On reopening the same script in the editor, only the first handler will show in the handler list field. Greetings, Wouter From alex at tweedly.net Tue Mar 21 09:20:13 2006 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 21 Mar 2006 14:20:13 +0000 Subject: Get a handler from a script In-Reply-To: References: Message-ID: <44200B9D.1090206@tweedly.net> Dick Kriesel wrote: >On 3/21/06 2:37 AM, "Alex Tweedly" wrote: > > > >>I suspect you have a different idea for what handler 'a' will do - in >>fact, it *always" ask the time. >> >> > >You suspected correctly, Alex. Thanks for finding another mistake. That >example only shows that the list of tokens is insufficient to reproduce the >_appearance_ of the handler. > >Despite that weak example, the point was that the list of tokens is >insufficient to reproduce the _semantics_ of the handler, and therefore not >useful to "get a handler from a script." Here's a better-chosen example of >two handlers with different semantics but the same tokens for the bodies of >the handlers: > > > But the interesting thing is that if you do something like token K1 to K2 of someScript then it gives you the complete text between the char position of token K1 and the char position of token K2 I've uploaded a stack to revonline (username alextweedly, name FindHandler, category programming) which does this. Moderately tested .... but not thoroughly. (btw - only for handlers - extension to functions, setprop, etc.. is easy) The essence of the (short) version is > > function findhandler pScript, pHandler > put 0 into tStart > put 0 into tEnd > put 0 into i > put token 1 to -1 of pScript into pScript > repeat for each token t in pScript > add 1 to i > if t = "on" then > if token i+1 of pScript = pHandler then > put i into tStart > end if > end if > if t = "end" then > if token i+1 of pScript = pHandler then > put i into tEnd > if tStart > 0 then exit repeat > end if > end if > end repeat > if tStart = 0 or tEnd = 0 then return "" > > -- to simply return the handler text > return token tStart to tEnd+1 of pScript > > end findhandler > Note that this fails to return any closing, trailing comment. For example, if the last line had been > end findhandler -- end of function to do something it would not have included the comment. The stack includes another version which returns the line numbers of the start and end lines of the handler, and therefore allows you to include such trailing comments. It does not handle trailing, multi-line, block comments :-( but I'd regard a format like > > end findhandler /* some comment > in here */ as particularly bad style. NB This is still only a 99.99% solution. It will fail in the case where there is a multi-line block comment which includes a complete, EXACT copy of the handler being sought, and which precedes the handler in question. Since it must be an exact copy, then if you use this to duplicate the handler somewhere else, it will give the correct result anyway :-) -- 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 From wouter.abraham at scarlet.be Tue Mar 21 09:45:32 2006 From: wouter.abraham at scarlet.be (Wouter) Date: Tue, 21 Mar 2006 15:45:32 +0100 Subject: Get a handler from a script In-Reply-To: <6B0024C3-E175-495E-927A-C7C6CD8CFD19@scarlet.be> References: <6B0024C3-E175-495E-927A-C7C6CD8CFD19@scarlet.be> Message-ID: on Sun Mar 19 16:12:57 CST 2006 Geoff Canyon wrote: > /* this is a comment > as is this */on mouseUp > answer "yes" > end mouseUp Another problem with this kind of commenting is shown in the following cases: /* this is a comment as is this */-function whatever return "something" end whatever /* this is a comment as is this */--function whatever return "something" end whatever Both will compile without throwing an error. Only the second one is a valid comment Greetings, Wouter PS another little update (beware of the mail line wraps): function retrieveActiveHandlers pScript put true into tFlag repeat for each line i in pScript if char 1 to 2 of word 1 of i = "/*" then put false into tFlag else if tFlag and token 1 of i is among the items of "on,function,setprop,getprop" then put token 1 to -1 of i & cr after tList else if tFlag = false then if (char 1 of word 1 of i is "#" or char 1 of word 1 of i is "-" ) and "*/" is in i then put true into tFlag get "/*" &i if tFlag and token 1 of it is among the items of "on,function,setprop,getprop" then put token 1 to -1 of it & cr after tList end if else repeat for each token j in i if j is "*/" then put true into tFlag get "/*" &i if tFlag and token 1 of it is among the items of "on,function,setprop,getprop" then put token 1 to -1 of it & cr after tList exit repeat end if end if end repeat end if end if -- end repeat return tList end retrieveActiveHandlers From joeb at cogapp.com Tue Mar 21 09:44:53 2006 From: joeb at cogapp.com (Joe Baskerville) Date: Tue, 21 Mar 2006 14:44:53 +0000 Subject: linux sound issues Message-ID: <44201165.6020701@cogapp.com> hi all, i have an issue with playing sound from a stack on linux. the documentation states that revolution uses xanim to play audio files, but as has been documented in many places, this is no longer in development and is tricky to install. so im trying to use mplayer instead. the methods i've tried to get this working are: creating a shell script called xanim, which is in the path, which passes any arguements onto mplayer. running this from the command line works fine, but its not being picked up by revolution. i've also tried stating the audio/video player using the videoClipPlayer property, but this doesnt seem to work either. has anybody had any luck with this? i can call mplayer (or the xanim script) using the shell function and it works fine, but i'd rather it used the internal play function. any help would be appreciated, cheers, joe. From ambassador at fourthworld.com Tue Mar 21 09:58:41 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 21 Mar 2006 06:58:41 -0800 Subject: DRM for Images and Text in Stacks Message-ID: <442014A1.5090707@fourthworld.com> Sivakatirswami wrote: > OK further testing I finally settled on a compromise taking Key Ray's > suggestion but not using compressed imageData, I don't see any > advantage (I could be missing something) to using compressed > imageData over simple jpg storage. Either format would be equally > hackable... If your security needs are modest, the fwPack and fwUnpack functions may be handy: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From devin_asay at byu.edu Tue Mar 21 10:43:54 2006 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 21 Mar 2006 08:43:54 -0700 Subject: HTML tags in XML Message-ID: Hi Folks, Is it possible to store html styled text in an xml document and then successfully retrieve the text with html markup intact? I'm working on an application where I need to save styled text in an XML document. I can successfully insert the htmlText of the styled field into the xml document so I end up with a node that looks like this: Here are my comments. Some of the text is colored red & blue However, when I read this node in with the revXMLNodeContents() function the html tags are stripped out and all I get is naked text. Here's a code snippet: put revXMLNodeContents(vSessionTreeID,vCurrentComment) into tCommentTxt set the htmlText of fld "comments" of cd theCard of stack "ClipData" to tCommentTxt When I examine the tCommentTxt variable in the variable watcher I see: Here are my comments. Some of the text is colored red & blue Notice that it correctly rendered the ampersand entity. But the formatting is gone. Is there a way to do this? Will I have to resort to saving the RTFtext in the xml node or something like that? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From jhonken at x12.info Tue Mar 21 11:03:03 2006 From: jhonken at x12.info (Jeff Honken) Date: Tue, 21 Mar 2006 09:03:03 -0700 Subject: Combined Events Message-ID: <000001c64d00$f1f5e2c0$670fa8c0@work1> Is there any way to combine events so you don't have to have redundant code. I would like the same code to run on both the "on returnInField" and "on mouseDown" events. Jeff From lists at mangomultimedia.com Tue Mar 21 11:02:01 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 21 Mar 2006 08:02:01 -0800 Subject: Help with Arrays?? In-Reply-To: <441FADA9.9060801@qwest.net> References: <441FADA9.9060801@qwest.net> Message-ID: <68CBAA79-C744-4626-BCBA-385F735CBA81@mangomultimedia.com> On Mar 20, 2006, at 11:39 PM, Arthur Urban wrote: > I don't know what the heck is going on here, but I know it's making > me a wee bit testy. (I don't like needless local variables, what > can I say...) > > Here's the code that works just fine. Please note that I've > confirmed the value of x, it is not the problem here. The function > returns an Array. > > put MyFunc( x ) into theArray > DisplayPurchaseLine x, theArray > > The following code fails miserably passing empty for theArray > argument; x is passed in just fine: > > DisplayPurchaseLine x, MyFunc( x ) > > Why do I need to put the MyFunc() return value (an array) into a > local variable first. It clearly makes it out of the function call, > but cannot then immediately be used as a parameter. Huh? I think that is just life when dealing with functions that return arrays. You can't use the function as a parameter. I will usually do something like this: get MyFunc() DisplayPurchaseLine x, it This would be a nice enhancement request to add to Bugzilla. -- Trevor DeVore Blue Mango Learning Systems - http://www.bluemangolearning.com trevor at bluemangolearning.com From lists at mangomultimedia.com Tue Mar 21 11:12:11 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 21 Mar 2006 08:12:11 -0800 Subject: HTML tags in XML In-Reply-To: References: Message-ID: <7AE50979-887D-4EF7-8734-EA9E96D05D82@mangomultimedia.com> On Mar 21, 2006, at 7:43 AM, Devin Asay wrote: > Hi Folks, > > Is it possible to store html styled text in an xml document and > then successfully retrieve the text with html markup intact? > ... > > > Here are my comments. > Some of the text is colored red & > blue > > ... > > Is there a way to do this? Will I have to resort to saving the > RTFtext in the xml node or something like that? Hi Devin, You need to escape ", ', <, and < when entering data into an XML node. I can't remember if RevXML has any handlers for this or if you just have to do it by hand. For an example of the escape characters just do a Google search for "xml escape characters". You may want to check out Ken Ray's XML library. I haven't used it but browsing through the API, there is a stsXML_replaceEntities that looks like it would do what you want. -- Trevor DeVore Blue Mango Learning Systems - http://www.bluemangolearning.com trevor at bluemangolearning.com From wouter.abraham at scarlet.be Tue Mar 21 11:13:27 2006 From: wouter.abraham at scarlet.be (Wouter) Date: Tue, 21 Mar 2006 17:13:27 +0100 Subject: Combined Events In-Reply-To: <000001c64d00$f1f5e2c0$670fa8c0@work1> References: <000001c64d00$f1f5e2c0$670fa8c0@work1> Message-ID: <8A86DD46-17BB-4385-AC7F-06D23B3AD239@scarlet.be> for example: on returninfield mousedown end returninfield Greetings, Wouter On 21 Mar 2006, at 17:03, Jeff Honken wrote: > > Is there any way to combine events so you don't have to have redundant > code. I would like the same code to run on both the "on > returnInField" > and "on mouseDown" events. Jeff From klaus at major-k.de Tue Mar 21 11:21:48 2006 From: klaus at major-k.de (Klaus Major) Date: Tue, 21 Mar 2006 17:21:48 +0100 Subject: revXMLfindNodecontent Message-ID: <747B1D9D-8FE4-4918-AB4D-2431445F4212@major-k.de> Hi all, I am currently working through the XML docs and am desparately looking for something llike -> "revXMLfindNodeBycontent" There is a "revXMLmatchingNode" but that only lets me find the node that has an atrribute with a specific value! Do I really have to cycle through the XMLtext or something line by line to find a node by its content? Please tell me it ain't so!!!! :-/ Regards Klaus Major klaus at major-k.de http://www.major-k.de From rcozens at pon.net Tue Mar 21 11:31:43 2006 From: rcozens at pon.net (Rob Cozens) Date: Tue, 21 Mar 2006 08:31:43 -0800 Subject: Application Browser Anomaly In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> Message-ID: <2EBCE408-B8F8-11DA-BD42-0030657E1638@pon.net> Hi All, Rev 2.7; WinXP TPC 2005 Edition: Both last night and now this morning I have done something that sets the Application Browser in a state such that double-clicking on a substack opens the script of the substack instead of opening the substack itself and double-clicking on a card of an unopened subStack opens the script of that card.. Last night I tried shutting down RR and restarting it without rebooting, but the problem was still there when I turned the computer off for the night. This AM, double-clicking on any substack shown in the AB worked...for a while, then I found myself back opening scripts instead of opening substacks. This time restarting RR solved the problem; but for how long? Has anyone else experienced this? Ideas, anyone? I will note one possible issue: The subStack I'm attempting to modify is Serendipity Library's "sdbDictionary." At runtime it's opened as a modal dialog by the SDB Tools plugin, and it needs the initialization in SDB Tools to open correctly [there are issues with opening it directly from Serendipity Library, even with messages locked]. When opened this way, the AB shows sdbDictionary as a subStack of SDB Tools instead of Serendipity Library. The problem is in editing a stack open in modal mode [BTW, debugging in modal stacks causes problems too--or at least it did in earlier Rev revs]. So my practice is to open sdbDictionary modally with SDB Tools, close it, open Serendipity Library, open the AB [where sdbDictionary is now listed as a subStack of both SDB Tools and Serendipity Library], and double-click on the subStack or one of its cards to open it for modification. I have used this technique for a couple of years with earlier revs and not encountered a state where the AB opened the script of a subStack instead of the stack itself. Could the problem lie here? 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) From jhonken at x12.info Tue Mar 21 11:39:39 2006 From: jhonken at x12.info (Jeff Honken) Date: Tue, 21 Mar 2006 09:39:39 -0700 Subject: Combined Events In-Reply-To: <8A86DD46-17BB-4385-AC7F-06D23B3AD239@scarlet.be> Message-ID: <000701c64d06$0f0bc550$670fa8c0@work1> Wouter, Thank you for the reply but I'm a little confused with your answer. I want the same code "answer Hello" to run in a field no matter if I click on the field with the mouse or press the enter key in the field and I don't want to: on returnInField answer "Hello" end returnInField on mouseDown answer "Hello" end mouseDown What I would like is something like this that will work: on returnInField or mouseDown answer "Hello" end returnInField or mouseDown -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Wouter Sent: Tuesday, March 21, 2006 9:13 AM To: How to use Revolution Subject: Re: Combined Events for example: on returninfield mousedown end returninfield Greetings, Wouter On 21 Mar 2006, at 17:03, Jeff Honken wrote: > > Is there any way to combine events so you don't have to have redundant > code. I would like the same code to run on both the "on > returnInField" > and "on mouseDown" events. Jeff _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From gcanyon at inspiredlogic.com Tue Mar 21 11:38:52 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue, 21 Mar 2006 08:38:52 -0800 Subject: Making the move... In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <118F8A6C-B82B-11DA-B811-0030657E1638@pon.net> Message-ID: <394A827C-D1AE-4F18-B6EE-45A62E02F62B@inspiredlogic.com> On Mar 20, 2006, at 6:20 PM, Sarah Reichelt wrote: > I haven't ever really tested it and I have an instinctive feeling that > functions should be self-sufficient and shouldn't change anything > outside them. Maybe it will suit me better in some circumstances. This is true, but passing by reference doesn't violate this, depending on how it's used. If you have a clear-cut function that operates on a value passed by reference because of its size, that's not a bad thing I don't think. gc From gcanyon at inspiredlogic.com Tue Mar 21 11:40:40 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue, 21 Mar 2006 08:40:40 -0800 Subject: Making the move... In-Reply-To: <02117863-B837-11DA-BF46-0030657E1638@pon.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> Message-ID: <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> Wow -- so what does this do? On Mar 20, 2006, at 9:28 AM, Rob Cozens wrote: > Hi Geoff, > > >> Out of curiosity, do you have an example handy of a long handler >> that you think makes more sense to keep together than to break up? >> Or one that you think can't be broken up without significant >> effort to do it? >> > > on findSDBRecord > @sdbBuffer,exactKey,fieldDelimiter,itemList,setPosition,searchForward, > searchCriteria,cutoffKey,recordDelimiter,unlockRecord > -- 28 Feb 04:RCC > if ipcMode is not "dc" then -- "dc" = single user direct connection > replace return with numToChar(29) in itemList > replace return with numToChar(29) in searchCriteria > requestSDBService sdbBuffer,"find",packArguments > (9,exactKey,fieldDelimiter,itemList,setPosition,searchForward,searchCr > iteria,cutoffKey,recordDelimiter,unlockRecord) > get the result > if not word 1 of it and setPosition then put word 4 of it into > sdbPosition > put it into sdbParameters > return it > else > if invalidSDBClient() then return true&return&sdbMessage > (sdbInvalidClientError,true) > if offset(return&sdbDbId&return,return&(the keys of indexList) > &return) = 0 then return true&return&sdbMessage(sdbDbIdError,true) > if exactKey is empty then put true into exactKey > put (fieldDelimiter is not empty) into retrieveData > if recordDelimiter is not empty then > put true into multipleRecords > put false into unlockRecords > put false into setPosition > else put false into multipleRecords > put (multipleRecords and not retrieveData) into countOnly > if setPosition is empty or retrieveData then put true into > setPosition > if searchForward is empty then put true into searchForward > put ((sdbWriteAccess is "Shared") and (unlockRecord is true)) > into unlockRecord > put word 2 to 4 of sdbParameters into savedPosition > put justifyString(word 1 of sdbBuffer,4) into theRecordType > getSDBRecord sdbBuffer,exactKey,,,setPosition,retrieveData > get the result > put word 2 to -1 of line 1 of sdbBuffer into recordKey > if word 1 of it or (((recordKey > cutoffKey and searchForward) > or (recordKey < cutoffKey and not searchForward)) and cutoffKey is > not empty) then > put false&&savedPosition into sdbParameters > put false&&"0 0 0" into line 1 of it > return it > else > if unlockRecord and sdbWriteAccess is "Shared" then > deleteDbLock(word 4 of sdbParameters) > if not retrieveData and not multipleRecords then > put it into sdbParameters > return it > end if > end if > put word 4 of sdbParameters into oldPosition > put empty into returnRecord > put 0 into recordCount > repeat > put word 2 to -1 of line 1 of sdbBuffer into recordKey > if (recordKey > cutoffKey and searchForward) or (recordKey < > cutoffKey and not searchForward) then > put false into word 1 of sdbParameters > if countOnly then > put empty into sdbBuffer > return (word 1 to 3 of sdbParameters)&&recordCount > else > put theRecordType&&recordCount&return&returnRecord into > sdbBuffer > return (word 1 to 3 of sdbParameters)&&"0" > end if > end if > delete line 1 of sdbBuffer > if theSDBRecordMatches > (sdbBuffer,fieldDelimiter,searchCriteria) then > add 1 to recordCount > repeat for each line itemNumber in itemList > put sdbFieldNumber(itemNumber) into itemNumber > if itemNumber = 0 then put recordKey&fieldBelimiter after > returnRecord > else put getItem(itemNumber,fieldDelimiter,sdbBuffer) > &fieldDelimiter after returnRecord > end repeat > if multipleRecords then put recordDelimiter after returnRecord > else > put theRecordType&&recordKey&return&returnRecord into > sdbBuffer > return (word 1 to 3 of sdbParameters) > end if > end if > set cursor to busy > if searchForward then > if word 2 of sdbParameters < word 3 of sdbParameters then > put "+" into sdbBuffer > getSDBRecord sdbBuffer,exactKey,,,true,retrieveData > put the result into sdbParameters > else put true into sdbParameters > else > if word 2 of sdbParameters > 1 then > put "-" into sdbBuffer > getSDBRecord sdbBuffer,exactKey,,,true,retrieveData > put the result into sdbParameters > else put true into sdbParameters > end if > if word 1 of sdbParameters then > put false into word 1 of sdbParameters > put oldPosition into word 4 of sdbParameters > if countOnly then > put empty into sdbBuffer > return (word 1 to 3 of sdbParameters)&&recordCount > else > put theRecordType&&recordCount&return&returnRecord into > sdbBuffer > return (word 1 to 3 of sdbParameters)&&"0" > end if > else if not setPosition then put oldPosition into word 4 of > sdbParameters > end repeat > end if > end findSDBRecord > > Note: > stack local variables and constant declarations excluded. > application requirement: calling syntax at server and client apps > must be identical... > and identical with single user syntax > >> When you think of a long handler, do you generally think of it as >> having a single identifiable task, or do you think of it as being >> several tasks performed in sequence in one handler? > > I think of it as a task handler coordinating and calling on the > various subtasks necessary to complete the entire logical transaction. > > I write one-line handlers too, if the logic is to be used in > several places: > > on mouseTrapOn -- 3 Mar 04:RCC > insert the script of field "Mouse Trap" of card 1 of stack > "Serendipity_Library.rev" into front > end mouseTrapOn > > >> >> On Mar 19, 2006, at 3:57 PM, Chipp Walters wrote: >> >>> Yep, I've heard that before, but frankly, for me, I'd rather keep >>> it all in one, unless there's a really good reason to separate >>> into multiple handlers (as in creating more reusability). I find >>> it much easier to debug code I've written this way than hunting >>> through the message path for the 15 or so functions/handlers I've >>> written trying to make things 'more simple.' Just a difference in >>> coding style. >>> >>> In fact, typically I'll write code procedurally in a longer >>> handler, then only break it up if/when I know I need to do part >>> of the same thing again. Like most of us, I'd rather not code twice. >>> >>> Even though, I've got libraries with over 50 handlers/functions. >>> >>> -Chipp >>> >>> Mark Wieder wrote: >>>> Geoff- >>>> Saturday, March 18, 2006, 1:24:50 PM, you wrote: >>>>> I've never seen a hundred-line routine that wouldn't be better as >>>>> five twenty-line routines, each of which could be documented >>>>> with a >>>>> line of code. Perhaps even ten ten-line routines. >> >> > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jonathandlynch at gmail.com Tue Mar 21 11:55:06 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Tue, 21 Mar 2006 11:55:06 -0500 Subject: Table Column Widths In-Reply-To: References: <1E354F3C-F705-4B5C-8C44-973B664ABA65@twft.com> Message-ID: <31e1938c0603210855p6a01690bv505b52d092d54577@mail.gmail.com> Another option: If you are using the table as a user interface, then I have a pseudo table object that acts like a table should. It allows you to move columns and rows, and resize columns, and insert and delete rows and columns, etc... It can be found here: http://revolution.widged.com/stacks/ (thanks to Marielle) I would not use the pseudo table for mass data storage, because there is a lot of memory usage and scripting involved in making the separate fields at like fields in a table. From devin_asay at byu.edu Tue Mar 21 11:56:40 2006 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 21 Mar 2006 09:56:40 -0700 Subject: HTML tags in XML In-Reply-To: <7AE50979-887D-4EF7-8734-EA9E96D05D82@mangomultimedia.com> References: <7AE50979-887D-4EF7-8734-EA9E96D05D82@mangomultimedia.com> Message-ID: On Mar 21, 2006, at 9:12 AM, Trevor DeVore wrote: > On Mar 21, 2006, at 7:43 AM, Devin Asay wrote: > >> Hi Folks, >> >> Is it possible to store html styled text in an xml document and >> then successfully retrieve the text with html markup intact? <snip> ;-) >> Is there a way to do this? Will I have to resort to saving the >> RTFtext in the xml node or something like that? > > Hi Devin, > > You need to escape ", ', <, and < when entering data into an XML > node. I can't remember if RevXML has any handlers for this or if > you just have to do it by hand. For an example of the escape > characters just do a Google search for "xml escape characters". > > You may want to check out Ken Ray's XML library. I haven't used it > but browsing through the API, there is a stsXML_replaceEntities > that looks like it would do what you want. Thanks Trevor. I already knew that I had to escape those characters, plus '&' when writing xml. You triggered a "Duh!" moment in my brain, as it dawned on me that I'd also have to escape those other characters in my html markup. It's working now. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From wouter.abraham at scarlet.be Tue Mar 21 11:57:31 2006 From: wouter.abraham at scarlet.be (Wouter) Date: Tue, 21 Mar 2006 17:57:31 +0100 Subject: Combined Events In-Reply-To: <000701c64d06$0f0bc550$670fa8c0@work1> References: <000701c64d06$0f0bc550$670fa8c0@work1> Message-ID: Hi Jeff, This should work if the locktext and the traversalon of the field are true: on returnInField mousedown end returnInField on mouseDown answer "Hello" & cr & the millisecs end mouseDown W. On 21 Mar 2006, at 17:39, Jeff Honken wrote: > Wouter, > Thank you for the reply but I'm a little confused with your > answer. I > want the same code "answer Hello" to run in a field no matter if I > click > on the field with the mouse or press the enter key in the field and I > don't want to: > > on returnInField > answer "Hello" > end returnInField > > on mouseDown > answer "Hello" > end mouseDown > > > What I would like is something like this that will work: > > on returnInField or mouseDown > answer "Hello" > end returnInField or mouseDown From dam-pro.girard at laposte.net Tue Mar 21 11:58:00 2006 From: dam-pro.girard at laposte.net (Girard Damien) Date: Tue, 21 Mar 2006 17:58:00 +0100 Subject: linux sound issues In-Reply-To: <44201165.6020701@cogapp.com> References: <44201165.6020701@cogapp.com> Message-ID: Hi joe, The media support under runrev under Linux/Unix is really poor (compared to Windows or MacOS X). There is a enchancement request about that, please vote for him : http://support.runrev.com/bugdatabase/show_bug.cgi?id=2290 -- You will cannot play a video file in your stack with your trick, If you want an audio support, you will have to write some scripts and to manually call mplayer. And you cannot create a plugins for Revolution in C++, because the Revolution Linux/Unix engine doesn't support that (compared to Windows or MacOS X). Regards, Girard Damien. Le Tue, 21 Mar 2006 15:44:53 +0100, Joe Baskerville a ?crit: > hi all, > > i have an issue with playing sound from a stack on linux. the > documentation states that revolution uses xanim to play audio files, but > as has been documented in many places, this is no longer in development > and is tricky to install. > > so im trying to use mplayer instead. the methods i've tried to get this > working are: > > creating a shell script called xanim, which is in the path, which passes > any arguements onto mplayer. running this from the command line works > fine, but its not being picked up by revolution. > > i've also tried stating the audio/video player using the videoClipPlayer > property, but this doesnt seem to work either. > > has anybody had any luck with this? i can call mplayer (or the xanim > script) using the shell function and it works fine, but i'd rather it > used the internal play function. > > any help would be appreciated, > > cheers, joe. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Tue Mar 21 12:00:53 2006 From: bobs at twft.com (Robert Sneidar) Date: Tue, 21 Mar 2006 09:00:53 -0800 Subject: use-revolution Digest, Vol 30, Issue 54 In-Reply-To: <20060321151139.C9AB1825422@mail.runrev.com> References: <20060321151139.C9AB1825422@mail.runrev.com> Message-ID: <3183E813-5669-4C92-9487-D81A47876CB5@twft.com> Wow thanks Sarah that is huge! I didn't see that anywhere in the docs but I probably didn't look closely enough. But no I have an odd thing happenning. I can only set columns widths up to 120. Anything over is interpreted as width-120 so that if I set the width to 125 I get a column 5 pixels wide. Odd huh? There is probably a max width for the columns property I need to set. I will dig around. I am going to have to get used to that again. Viva le Hyperca... err.... REVOLUTION! Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Mar 21, 2006, at 7:11 AM, use-revolution-request at lists.runrev.com wrote: > On 3/21/06, Robert Sneidar wrote: > >> Is there any way to make a scrolling table field have column widths >> that vary? If not, is it possible to add object types so I can write >> my own, or has someone else already done this? >> >> > > If you don't need the fields to vary once set, you can just use the > tabStops, e.g. > set the tabStops of fld "MyList" to "100,150,300,320,400" > will produce columns with widths 100, 50, 150, 20 and 80 with all > extra columns also being width 80. > > If you need the column widths to be variable, then you need Chipp's > altFldHeader plugin which you can get from here: > > Follow the links to altPlugins -> Downloads and you'll find it near > the bottom of the page. > > Cheers, > Sarah > From bobs at twft.com Tue Mar 21 12:03:07 2006 From: bobs at twft.com (Robert Sneidar) Date: Tue, 21 Mar 2006 09:03:07 -0800 Subject: Database Conversion Message-ID: Does anyone know of any good dBase/Foxpro table to sql/Valentina conversion utilities? I can write one in Revolution I suppose, but I would have a lot of front end work to do first, and this project is already huge. Bob Sneidar IT Manager Logos Management Calvary Chapel CM From JimAultWins at yahoo.com Tue Mar 21 12:06:03 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 21 Mar 2006 09:06:03 -0800 Subject: Combined Events In-Reply-To: <000701c64d06$0f0bc550$670fa8c0@work1> Message-ID: The usual practice is to make a handler either a function or a procedure that is called from either more than one handler or more than one event or both events and handlers > on returnInField hello > end returnInField > > on mouseDown hello > end mouseDown on hello play annoyingMusic.aif get word 1 of the long date answer "Hello, it's "& it end hello ---------------- The following does not make sense in xTalk on thisMessage or thatMessage end thisMessage or thatMessage Jim Ault Las Vegas On 3/21/06 8:39 AM, "Jeff Honken" wrote: > Wouter, > Thank you for the reply but I'm a little confused with your answer. I > want the same code "answer Hello" to run in a field no matter if I click > on the field with the mouse or press the enter key in the field and I > don't want to: > > on returnInField > answer "Hello" > end returnInField > > on mouseDown > answer "Hello" > end mouseDown > > > What I would like is something like this that will work: > > on returnInField or mouseDown > answer "Hello" > end returnInField or mouseDown > > > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Wouter > Sent: Tuesday, March 21, 2006 9:13 AM > To: How to use Revolution > Subject: Re: Combined Events > > for example: > > on returninfield > mousedown > end returninfield > > Greetings, > Wouter > > On 21 Mar 2006, at 17:03, Jeff Honken wrote: > >> >> Is there any way to combine events so you don't have to have redundant >> code. I would like the same code to run on both the "on >> returnInField" >> and "on mouseDown" events. Jeff > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Tue Mar 21 12:09:18 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 21 Mar 2006 09:09:18 -0800 Subject: Combined Events In-Reply-To: Message-ID: oops. Too early in the morning.. wrong answer since I miss read the question. On 3/21/06 9:06 AM, "Jim Ault" wrote: > The usual practice is to make a handler either > a function or a procedure > that is called from either > more than one handler or > more than one event or > both events and handlers > > >> on returnInField > hello >> end returnInField >> >> on mouseDown > hello >> end mouseDown > > on hello > play annoyingMusic.aif > get word 1 of the long date > answer "Hello, it's "& it > end hello > > ---------------- > The following does not make sense in xTalk > on thisMessage or thatMessage > > end thisMessage or thatMessage > > Jim Ault > Las Vegas > > On 3/21/06 8:39 AM, "Jeff Honken" wrote: > >> Wouter, >> Thank you for the reply but I'm a little confused with your answer. I >> want the same code "answer Hello" to run in a field no matter if I click >> on the field with the mouse or press the enter key in the field and I >> don't want to: >> >> on returnInField >> answer "Hello" >> end returnInField >> >> on mouseDown >> answer "Hello" >> end mouseDown >> >> >> What I would like is something like this that will work: >> >> on returnInField or mouseDown >> answer "Hello" >> end returnInField or mouseDown >> >> >> >> >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Wouter >> Sent: Tuesday, March 21, 2006 9:13 AM >> To: How to use Revolution >> Subject: Re: Combined Events >> >> for example: >> >> on returninfield >> mousedown >> end returninfield >> >> Greetings, >> Wouter >> >> On 21 Mar 2006, at 17:03, Jeff Honken wrote: >> >>> >>> Is there any way to combine events so you don't have to have redundant >>> code. I would like the same code to run on both the "on >>> returnInField" >>> and "on mouseDown" events. Jeff >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From simplsol at aol.com Tue Mar 21 12:19:38 2006 From: simplsol at aol.com (simplsol at aol.com) Date: Tue, 21 Mar 2006 12:19:38 -0500 Subject: Acessing button scripts in a HC stack ? In-Reply-To: References: Message-ID: <8C81B22C4365AFF-1A64-1B2E@FWM-R20.sysops.aol.com> Francis, Have you converted the HC stack to a Rev stack (by opening it)? In my experience this makes all of the scripts (including button scripts) accessible. Paul Looney -----Original Message----- From: Francis Nugent Dixon To: use-revolution at lists.runrev.com Sent: Tue, 21 Mar 2006 11:47:13 +0100 Subject: Acessing button scripts in a HC stack ? Hi from Paris,? ? I want to port scripts from Hypercard into Rev 2.6.1, where? I can play with them to my hearts content, but all my attempts? have so far failed.? ? I can access the fields and their contents, but the word? "button" doesn't give any joy.? ? Does anybody have any ideas ?? ? -Francis? ? "Nothing should ever be done for the first time !"? ? _______________________________________________? use-revolution mailing list? use-revolution at lists.runrev.com? Please visit this url to subscribe, unsubscribe and manage your subscription preferences:? http://lists.runrev.com/mailman/listinfo/use-revolution? From simplsol at aol.com Tue Mar 21 12:33:18 2006 From: simplsol at aol.com (simplsol at aol.com) Date: Tue, 21 Mar 2006 12:33:18 -0500 Subject: [?] Mac Classic, 2.6.1, MySQL In-Reply-To: Message-ID: <8C81B24ACF79FFF-1A64-1CA8@FWM-R20.sysops.aol.com> Sean, Permit me an "off the wall" question... Do you REALLY need to support OS 9? Any computer Apple has made since 1998 (8 years!) will run some flavor of OS X (although they probably need more RAM). The time and effort you would put into supporting OS 9 could be invested in making your OS X product even better - giving your customers another reason to make the move. OS 9 is dead, or at least dying, first there were new computers that would not boot into 9, then there were new computers that wouldn't run 9; as used and reburb computers run out there will be no OS 9 options for your customers. We had originally intended to port our HC business system to Rev in OS 9 and OS X. Then we decided that the customers running OS 9 had a good business system they could continue to use (our current HC one). New customers and all current customers moving to OS X would not care about OS 9 compatibility. Your situation may be different. Just a thought. Paul Looney -----Original Message----- From: Sean Shao To: use-revolution at lists.runrev.com Sent: Mon, 20 Mar 2006 22:37:15 -0500 Subject: Re: [?] Mac Classic, 2.6.1, MySQL I've tried building the application on two different Mac OS 9.2.2 machines (an old iMac and an old UMax ;-) but, as mentioned previously, the application crashes with an error of Type 1001 unless I switch the MySQL libraries then I get a "unsupported database type"..? ? So as it stands, I'm boned in this department...? I'll try the 2.5 and the Valentina work-arounds to see if anything happens with that..? ? Thanks,? -Sean? ? _________________________________________________________________? Don't 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 at lists.runrev.com? Please visit this url to subscribe, unsubscribe and manage your subscription preferences:? http://lists.runrev.com/mailman/listinfo/use-revolution? From mwieder at ahsoftware.net Tue Mar 21 12:34:36 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 21 Mar 2006 09:34:36 -0800 Subject: HTML tags in XML In-Reply-To: <7AE50979-887D-4EF7-8734-EA9E96D05D82@mangomultimedia.com> References: <7AE50979-887D-4EF7-8734-EA9E96D05D82@mangomultimedia.com> Message-ID: <525094265.20060321093436@ahsoftware.net> Trevor- Tuesday, March 21, 2006, 8:12:11 AM, you wrote: > You need to escape ", ', <, and < when entering data into an XML > node. I can't remember if RevXML has any handlers for this or if you > just have to do it by hand. For an example of the escape characters > just do a Google search for "xml escape characters". I think urlEncode() will do the trick here. -- -Mark Wieder mwieder at ahsoftware.net From a.calloway at callowaygreen.com Tue Mar 21 12:35:44 2006 From: a.calloway at callowaygreen.com (Andy Calloway) Date: Tue, 21 Mar 2006 17:35:44 -0000 Subject: Tabbed group background thingies Message-ID: <000601c64d0d$e2c3bc70$1500a8c0@ACERLaptop> Having read a bit of Dan's book and gone through a couple of the RunRev demos, I thought I'd try to apply what I'd just learned so I went back to a stack with tabs on it. It's got three tabs and I've added some text fields, buttons etc to some of them. It worked fine, click on a tab and the new objects leap into view. Then I got too cocky and added another tab between the first and second one. Now, when I click on it, the items from the previous selected tab remain in place where I would really expect it to be blank. Have I missed something here? Andy. From kray at sonsothunder.com Tue Mar 21 12:41:03 2006 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 21 Mar 2006 11:41:03 -0600 Subject: HTML tags in XML In-Reply-To: Message-ID: On 3/21/06 9:43 AM, "Devin Asay" wrote: > Is it possible to store html styled text in an xml document and then > successfully retrieve the text with html markup intact? Yes. You need to use a CDATA node instead of a normal element node. The markup looks like this: This is my markup]]> You can put anything into a CDATA node - it's ignored by the parser. My XML Library handles getting and setting CDATA information for a node quite easily - if your XML looked like this: This is my markup]]> You could get the data with: put stsXML_GetNodeData("/root/myHTML") into tHTML and set it with stsXML_SetNodeData. By keeping it as CDATA you don't need to replace characters to get what you want... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jhonken at x12.info Tue Mar 21 12:43:05 2006 From: jhonken at x12.info (Jeff Honken) Date: Tue, 21 Mar 2006 10:43:05 -0700 Subject: Combined Events In-Reply-To: Message-ID: <000001c64d0e$e8bfc280$670fa8c0@work1> Jim, That's exactly what I'm looking for but why on a windows box doesn't the left mouse click work. Here's the code: on returnInField hello end returnInField on mouseDown theButton if theButton is 1 then hello else end if end mouseDown on hello answer "Hello World" end hello Jeff -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim Ault Sent: Tuesday, March 21, 2006 10:09 AM To: How to use Revolution Subject: Re: Combined Events oops. Too early in the morning.. wrong answer since I miss read the question. On 3/21/06 9:06 AM, "Jim Ault" wrote: > The usual practice is to make a handler either > a function or a procedure > that is called from either > more than one handler or > more than one event or > both events and handlers > > >> on returnInField > hello >> end returnInField >> >> on mouseDown > hello >> end mouseDown > > on hello > play annoyingMusic.aif > get word 1 of the long date > answer "Hello, it's "& it > end hello > > ---------------- > The following does not make sense in xTalk > on thisMessage or thatMessage > > end thisMessage or thatMessage > > Jim Ault > Las Vegas > > On 3/21/06 8:39 AM, "Jeff Honken" wrote: > >> Wouter, >> Thank you for the reply but I'm a little confused with your answer. I >> want the same code "answer Hello" to run in a field no matter if I click >> on the field with the mouse or press the enter key in the field and I >> don't want to: >> >> on returnInField >> answer "Hello" >> end returnInField >> >> on mouseDown >> answer "Hello" >> end mouseDown >> >> >> What I would like is something like this that will work: >> >> on returnInField or mouseDown >> answer "Hello" >> end returnInField or mouseDown >> >> >> >> >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Wouter >> Sent: Tuesday, March 21, 2006 9:13 AM >> To: How to use Revolution >> Subject: Re: Combined Events >> >> for example: >> >> on returninfield >> mousedown >> end returninfield >> >> Greetings, >> Wouter >> >> On 21 Mar 2006, at 17:03, Jeff Honken wrote: >> >>> >>> Is there any way to combine events so you don't have to have redundant >>> code. I would like the same code to run on both the "on >>> returnInField" >>> and "on mouseDown" events. Jeff >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Tue Mar 21 12:43:36 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 21 Mar 2006 09:43:36 -0800 Subject: HTML tags in XML In-Reply-To: <525094265.20060321093436@ahsoftware.net> References: <7AE50979-887D-4EF7-8734-EA9E96D05D82@mangomultimedia.com> <525094265.20060321093436@ahsoftware.net> Message-ID: <51629036-A03B-4B5D-A6F5-57D132F3F113@mangomultimedia.com> On Mar 21, 2006, at 9:34 AM, Mark Wieder wrote: > Trevor- > > Tuesday, March 21, 2006, 8:12:11 AM, you wrote: > >> You need to escape ", ', <, and < when entering data into an XML >> node. I can't remember if RevXML has any handlers for this or if you >> just have to do it by hand. For an example of the escape characters >> just do a Google search for "xml escape characters". > > I think urlEncode() will do the trick here. I don't think this will work in this case. For example, urlEncod ("

hi

") would give you: %3Cp%3Ehi%3C%2Fp%3E When what you really want is: <p>hi</p> -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From kray at sonsothunder.com Tue Mar 21 12:44:29 2006 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 21 Mar 2006 11:44:29 -0600 Subject: revXMLfindNodecontent In-Reply-To: <747B1D9D-8FE4-4918-AB4D-2431445F4212@major-k.de> Message-ID: On 3/21/06 10:21 AM, "Klaus Major" wrote: > Hi all, > > I am currently working through the XML docs and am desparately > looking for > something llike -> "revXMLfindNodeBycontent" > > There is a "revXMLmatchingNode" but that only lets me find the node > that has an > atrribute with a specific value! > > Do I really have to cycle through the XMLtext or something line by > line to find > a node by its content? > > Please tell me it ain't so!!!! :-/ Sorry, Klaus, AFAIK you can't find data information with the revXML DLL. However... My newly-released XML Library 2.0 will let you do it - "stsXML_FindNodesByData". And you can use it along with the revXML DLL with no interaction issues. http://www.sonsothunder.com/products/xmllib/xmllib.htm Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From klaus at major-k.de Tue Mar 21 12:49:00 2006 From: klaus at major-k.de (Klaus Major) Date: Tue, 21 Mar 2006 18:49:00 +0100 Subject: revXMLfindNodecontent In-Reply-To: References: Message-ID: <8E609C8E-4577-478B-A8C8-DF34235E6F34@major-k.de> Hi Ken, > On 3/21/06 10:21 AM, "Klaus Major" wrote: >> Hi all, >> I am currently working through the XML docs and am desparately >> looking for >> something llike -> "revXMLfindNodeBycontent" >> There is a "revXMLmatchingNode" but that only lets me find the node >> that has an >> atrribute with a specific value! >> Do I really have to cycle through the XMLtext or something line by >> line to find >> a node by its content? >> Please tell me it ain't so!!!! :-/ > > Sorry, Klaus, AFAIK you can't find data information with the revXML > DLL. Damn!!! What a pity :-/ Hi Mark, please add this one to Rev 2.71, I think there is still time for this and I really need it! ;-) > However... > > > My newly-released XML Library 2.0 will let you do it - > "stsXML_FindNodesByData". And you can use it along with the revXML > DLL with > no interaction issues. > http://www.sonsothunder.com/products/xmllib/xmllib.htm > I know, Ken, i know, but I already paid several thousand bucks over the years for Rev and cannot spend another 20 right now ;-) > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From lists at mangomultimedia.com Tue Mar 21 12:51:32 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 21 Mar 2006 09:51:32 -0800 Subject: HTML tags in XML In-Reply-To: References: Message-ID: <01C00914-957C-4847-BC7B-A06B7209FFC9@mangomultimedia.com> On Mar 21, 2006, at 9:41 AM, Ken Ray wrote: > My XML Library handles getting and setting CDATA information for a > node quite > easily Ken, This is good to know. The RevXML external doesn't handle CDATA, does it? I seem to recall that when I tested using CDATA with RevXML it didn't work which is kind of a bummer. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From revolutionary.dan at gmail.com Tue Mar 21 12:52:22 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Tue, 21 Mar 2006 09:52:22 -0800 Subject: Tabbed group background thingies In-Reply-To: <000601c64d0d$e2c3bc70$1500a8c0@ACERLaptop> References: <000601c64d0d$e2c3bc70$1500a8c0@ACERLaptop> Message-ID: <70ed6b130603210952w2d37754p546f04d54756c79f@mail.gmail.com> Probably you're just missing hide/show commands. That's the "trick" in tabbed designs. Depending on how you've managed the tabs, you may need to do that explicitly. Check out the great tutorial at http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en On 3/21/06, Andy Calloway wrote: > > Having read a bit of Dan's book and gone through a couple of the RunRev > demos, I thought I'd try to apply what I'd just learned so I went back to > a > stack with tabs on it. It's got three tabs and I've added some text > fields, > buttons etc to some of them. It worked fine, click on a tab and the new > objects leap into view. > > Then I got too cocky and added another tab between the first and second > one. > Now, when I click on it, the items from the previous selected tab remain > in > place where I would really expect it to be blank. > > Have I missed something here? > > Andy. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From ljk144 at gmail.com Tue Mar 21 13:02:29 2006 From: ljk144 at gmail.com (Levi Kendall) Date: Tue, 21 Mar 2006 13:02:29 -0500 Subject: Mac OS-X standalone from Windows machine Message-ID: Hi All, I'm having a bit of a problem making a standalone application for OS-X from a Windows machine. Actually making it is not the problem really, running it is. The save to standalone works fine and I end up with what I am assuming is the executeable in a structure that looks as such: My Application.app \ Contents \ MacOS \ My Application What seems to be the problem is the file at the end "My Application" does not get the execute flag set on it when being transfered to the OS-X filesystem. My current method of transport was simply to zip the entire directory and then unzip the file on the Mac. This would leave the directory structure as is, which I'm assuming is necessary. However the problem is the "My Application" executeable needs to have CHMOD run on it in order to properly execute because of the execute flag missing on the OS-X filesystem. Does anyone have any solution to work around this? Is it necessary to have some kind of "installer" program to properly set this up on the OS-X end? Or is there another way to handle it? If at all possible, I would like to be able to handle this from the Windows machine, rather than actually needing an OS-X box. -Levi Kendall From JimAultWins at yahoo.com Tue Mar 21 13:12:16 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 21 Mar 2006 10:12:16 -0800 Subject: Combined Events In-Reply-To: <000001c64d0e$e8bfc280$670fa8c0@work1> Message-ID: Why are you using "theButton" as a parameter? First, where is the mouseDown handler? In the message path, it should be either in the button or field the user clicks or in the card, stack, or back script behind the button or field. If the mouseDown handler is in the button or field, use on mouseDown since the button clicked is known. If the mouseDown handler is in the card or stack script then use on mouseDown answer the target if the target contains "button 1 " then -- a button was clicked and its number is 1 ...do this end if end mouseDown Jim Ault Las Vegas On 3/21/06 9:43 AM, "Jeff Honken" wrote: > Jim, > That's exactly what I'm looking for but why on a windows box doesn't > the left mouse click work. Here's the code: > > on returnInField > hello > end returnInField > > on mouseDown theButton > if theButton is 1 then > hello > else > end if > end mouseDown > > > on hello > answer "Hello World" > end hello > > > Jeff > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim Ault > Sent: Tuesday, March 21, 2006 10:09 AM > To: How to use Revolution > Subject: Re: Combined Events > > oops. Too early in the morning.. wrong answer since I miss read the > question. > > > > On 3/21/06 9:06 AM, "Jim Ault" wrote: > >> The usual practice is to make a handler either >> a function or a procedure >> that is called from either >> more than one handler or >> more than one event or >> both events and handlers >> >> >>> on returnInField >> hello >>> end returnInField >>> >>> on mouseDown >> hello >>> end mouseDown >> >> on hello >> play annoyingMusic.aif >> get word 1 of the long date >> answer "Hello, it's "& it >> end hello >> >> ---------------- >> The following does not make sense in xTalk >> on thisMessage or thatMessage >> >> end thisMessage or thatMessage >> >> Jim Ault >> Las Vegas >> >> On 3/21/06 8:39 AM, "Jeff Honken" wrote: >> >>> Wouter, >>> Thank you for the reply but I'm a little confused with your answer. > I >>> want the same code "answer Hello" to run in a field no matter if I > click >>> on the field with the mouse or press the enter key in the field and I >>> don't want to: >>> >>> on returnInField >>> answer "Hello" >>> end returnInField >>> >>> on mouseDown >>> answer "Hello" >>> end mouseDown >>> >>> >>> What I would like is something like this that will work: >>> >>> on returnInField or mouseDown >>> answer "Hello" >>> end returnInField or mouseDown >>> >>> >>> >>> >>> -----Original Message----- >>> From: use-revolution-bounces at lists.runrev.com >>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Wouter >>> Sent: Tuesday, March 21, 2006 9:13 AM >>> To: How to use Revolution >>> Subject: Re: Combined Events >>> >>> for example: >>> >>> on returninfield >>> mousedown >>> end returninfield >>> >>> Greetings, >>> Wouter >>> >>> On 21 Mar 2006, at 17:03, Jeff Honken wrote: >>> >>>> >>>> Is there any way to combine events so you don't have to have > redundant >>>> code. I would like the same code to run on both the "on >>>> returnInField" >>>> and "on mouseDown" events. Jeff >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Tue Mar 21 13:16:42 2006 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 21 Mar 2006 12:16:42 -0600 Subject: revXMLfindNodecontent In-Reply-To: <8E609C8E-4577-478B-A8C8-DF34235E6F34@major-k.de> Message-ID: >> >> My newly-released XML Library 2.0 will let you do it - >> "stsXML_FindNodesByData". And you can use it along with the revXML >> DLL with >> no interaction issues. >> http://www.sonsothunder.com/products/xmllib/xmllib.htm >> > > I know, Ken, i know, but I already paid several thousand bucks over > the years for Rev > and cannot spend another 20 right now ;-) No need, Klaus - the Basic version of the Library will do the finding for you for free - the only cost is when you need to "write" not "read". But you're right that it should be made part of the revXML.DLL... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From a.calloway at callowaygreen.com Tue Mar 21 13:17:36 2006 From: a.calloway at callowaygreen.com (Andy Calloway) Date: Tue, 21 Mar 2006 18:17:36 -0000 Subject: Tabbed group background thingies In-Reply-To: <70ed6b130603210952w2d37754p546f04d54756c79f@mail.gmail.com> Message-ID: <001101c64d13$bb4b4ef0$1500a8c0@ACERLaptop> Ahh - It's down to not creating a new card by the looks of things. Now, how to create a card and do a tab thing... > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Dan Shafer > Sent: 21 March 2006 17:52 > To: How to use Revolution > Subject: Re: Tabbed group background thingies > > Probably you're just missing hide/show commands. That's the > "trick" in tabbed designs. Depending on how you've managed > the tabs, you may need to do that explicitly. > > Check out the great tutorial at > http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en > > From sunshine at public.kherson.ua Tue Mar 21 13:27:40 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue, 21 Mar 2006 20:27:40 +0200 Subject: Database Conversion In-Reply-To: Message-ID: On 3/21/06 7:03 PM, "Robert Sneidar" wrote: Hi Robert, > Does anyone know of any good dBase/Foxpro table to sql/Valentina > conversion utilities? > I can write one in Revolution I suppose, but I > would have a lot of front end work to do first, and this project is > already huge. Valentina Studio can do ODBC import from anything have ODBC driver. -- 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] From kray at sonsothunder.com Tue Mar 21 13:30:31 2006 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 21 Mar 2006 12:30:31 -0600 Subject: HTML tags in XML In-Reply-To: <01C00914-957C-4847-BC7B-A06B7209FFC9@mangomultimedia.com> Message-ID: On 3/21/06 11:51 AM, "Trevor DeVore" wrote: > On Mar 21, 2006, at 9:41 AM, Ken Ray wrote: > >> My XML Library handles getting and setting CDATA information for a >> node quite >> easily > > Ken, > > This is good to know. The RevXML external doesn't handle CDATA, does > it? I seem to recall that when I tested using CDATA with RevXML it > didn't work which is kind of a bummer. Actually, you can *retrieve* CDATA with revXMLNodeContents, but you can't *set* it. That's part of the reason I'm still updating my XML Library. ;-) Here's an example: Contents of Field 1: ---------------------- This is a test]]> put fld 1 into tXML put revCreateXMLTree(tXML,true,true) into tID put revXMLNodeContents(tID,"/root/test") RETURNS: This is a test put revXMLText(tID) RETURNS: This is a test]]> Now, we try to set the data: revPutIntoXMLNode tID,"/root/test","This is another test" put revXMLText(tID) RETURNS: <b>This is another test</b> Trying it with CDATA tags already around it: revPutIntoXMLNode tID,"/root/test","This is another test]]>" put revXMLText(tID) RETURNS: <![CDATA[<b>This is another test</b>]]> HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From sunshine at public.kherson.ua Tue Mar 21 13:34:05 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue, 21 Mar 2006 20:34:05 +0200 Subject: [?] Mac Classic, 2.6.1, MySQL In-Reply-To: <8C81B24ACF79FFF-1A64-1CA8@FWM-R20.sysops.aol.com> Message-ID: On 3/21/06 7:33 PM, "simplsol at aol.com" wrote: > Sean, > Permit me an "off the wall" question... > Do you REALLY need to support OS 9? > Any computer Apple has made since 1998 (8 years!) will run some flavor > of OS X (although they probably need more RAM). The time and effort you > would put into supporting OS 9 could be invested in making your OS X > product even better - giving your customers another reason to make the > move. OS 9 is dead, or at least dying, first there were new computers > that would not boot into 9, then there were new computers that wouldn't > run 9; as used and reburb computers run out there will be no OS 9 > options for your customers. > We had originally intended to port our HC business system to Rev in OS > 9 and OS X. Then we decided that the customers running OS 9 had a good > business system they could continue to use (our current HC one). New > customers and all current customers moving to OS X would not care about > OS 9 compatibility. > Your situation may be different. > Just a thought. I'd like support this point. :-) It is impossible forever try support old, dead, dying versions of OS. Apple itself have stop support OS9. Microsoft have stop support even Win98 if I not mistaken. I can understand if you support already existed app, But develop new app for old hardware/OS is not best idea. Forcing customers to upgrade old MACs you help Apple also :-) You help self as developer, because it is dream for a developer to trash this Zoo with Classic, Carbon, ... support, and leave only with OS X MACHO version on MAC,and only Win XP version on Windows with their modern features. -- 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] From lists at mangomultimedia.com Tue Mar 21 13:42:07 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 21 Mar 2006 10:42:07 -0800 Subject: HTML tags in XML In-Reply-To: References: Message-ID: <71F347F1-C9C8-4259-8DF3-E2F6B1B9675B@mangomultimedia.com> On Mar 21, 2006, at 10:30 AM, Ken Ray wrote: > Actually, you can *retrieve* CDATA with revXMLNodeContents, but you > can't > *set* it. That's part of the reason I'm still updating my XML > Library. ;-) > > ... > > Trying it with CDATA tags already around it: > > revPutIntoXMLNode tID,"/root/test","This is another > test]]>" > put revXMLText(tID) > > RETURNS: > > <![CDATA[<b>This is another > test</b>]]> Thanks for the info Ken. Your XML lib looks very cool. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From mwieder at ahsoftware.net Tue Mar 21 14:10:59 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 21 Mar 2006 11:10:59 -0800 Subject: HTML tags in XML In-Reply-To: <51629036-A03B-4B5D-A6F5-57D132F3F113@mangomultimedia.com> References: <7AE50979-887D-4EF7-8734-EA9E96D05D82@mangomultimedia.com> <525094265.20060321093436@ahsoftware.net> <51629036-A03B-4B5D-A6F5-57D132F3F113@mangomultimedia.com> Message-ID: <11610878662.20060321111059@ahsoftware.net> Trevor- Tuesday, March 21, 2006, 9:43:36 AM, you wrote: > On Mar 21, 2006, at 9:34 AM, Mark Wieder wrote: >> Trevor- >> >> Tuesday, March 21, 2006, 8:12:11 AM, you wrote: >> >>> You need to escape ", ', <, and < when entering data into an XML >>> node. I can't remember if RevXML has any handlers for this or if you >>> just have to do it by hand. For an example of the escape characters >>> just do a Google search for "xml escape characters". >> >> I think urlEncode() will do the trick here. > I don't think this will work in this case. For example, urlEncod > ("

hi

") would give you: > %3Cp%3Ehi%3C%2Fp%3E > When what you really want is: > <p>hi</p> Yes and no. As long as you have the data stored properly encoded then you should be able to decode it on the way out: set the htmlText of field "grunt" to urlDecode(xmlData) -- -Mark Wieder mwieder at ahsoftware.net From joel.guillod at net2000.ch Tue Mar 21 14:14:10 2006 From: joel.guillod at net2000.ch (Joel Guillod) Date: Tue, 21 Mar 2006 20:14:10 +0100 Subject: revXMLfindNodecontent In-Reply-To: <20060321172548.E83678258C9@mail.runrev.com> References: <20060321172548.E83678258C9@mail.runrev.com> Message-ID: > Hi Ken, > >> On 3/21/06 10:21 AM, "Klaus Major" wrote: >>> Hi all, >>> I am currently working through the XML docs and am desparately >>> looking for >>> something llike -> "revXMLfindNodeBycontent" >>> ... >> Sorry, Klaus, AFAIK you can't find data information with the revXML >> DLL. > > Damn!!! What a pity :-/ > > Hi Mark, please add this one to Rev 2.71, I think there is still time > for this and I really need it! ;-) Are you dreaming Klaus? Or do you have preferential treatment from Runrev? If yes, kindly suggest the manager to (censured, I am wasting my time). Actually I filled an enhancement request (#1893) on 2004-07-26 for a "revInsertXMLNode treeID,siblingPath,nodeContents" and sent a recall on 2005-12-12 but the status is still UNCONFIRMED! So, be patient! I know that I practice medicine but usually not that side! Or build your own externals for xml, xpath, etc. ;o( jg From lists at mangomultimedia.com Tue Mar 21 14:19:29 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 21 Mar 2006 11:19:29 -0800 Subject: HTML tags in XML In-Reply-To: <11610878662.20060321111059@ahsoftware.net> References: <7AE50979-887D-4EF7-8734-EA9E96D05D82@mangomultimedia.com> <525094265.20060321093436@ahsoftware.net> <51629036-A03B-4B5D-A6F5-57D132F3F113@mangomultimedia.com> <11610878662.20060321111059@ahsoftware.net> Message-ID: On Mar 21, 2006, at 11:10 AM, Mark Wieder wrote: > Yes and no. As long as you have the data stored properly encoded then > you should be able to decode it on the way out: > > set the htmlText of field "grunt" to urlDecode(xmlData) Oh, I see what you are getting at. Yeah, that would work but wouldn't this only work if the XML was only used in Rev. Wouldn't it cause problems for other software that tried to read your XML document? -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From jacque at hyperactivesw.com Tue Mar 21 14:24:50 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 21 Mar 2006 13:24:50 -0600 Subject: Get a handler from a script In-Reply-To: References: Message-ID: <44205302.1040902@hyperactivesw.com> Dick Kriesel wrote: > On 3/20/06 9:30 PM, "Mark Wieder" wrote: > > >>>>The best solution I've come up with for removing block comments is >>>> >>>>put the script of SomeObject into tScript >>>>put token 1 to -1 of tScript into tScript >>>> >> >>>This sounded really cool, but I can't get it to work. :( >> >>Really? What isn't it doing? For me it removes all comments that are >>outside handlers (which is where my block comments are)... > > > That technique appears to me to work for block comments and line comments > that appear in the script either before the first compilable code or after > the last compilable code. But it overlooks block and line comments that are > interspersed within the compilable code, and undelimited comments outside > handlers. That was it. I had put a block comment in the middle of the script. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Mar 21 14:48:54 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 21 Mar 2006 11:48:54 -0800 Subject: DRM for Images and Text in Stacks In-Reply-To: <5BCF2BE7-E4E4-4D49-885C-BE3FAD2162D1@hindu.org> Message-ID: Recently, Sivakatirswami wrote: > I think this comes close to making the images at least some what > obscurely stored. > > --create a substack > --import images into custom props as jpegs, > --One could put these props in something a "available" as a card > property or something very obscure, like a transparent invisible > graphic. > --set the uStuff1 of btn "obscureObject" to (url ("binfile:/somePath/ > foo.jpg")) > --scripts then can call the images for display: > put the uStuff of btn "obscureObject" into img "DisplayImageNow" > -- then encrypt the stack with a password. (all this does is prevent > another developer from seeing the scripts that display the custom prop) One thing you might want to consider is putting the image data into fields as opposed to custom properties, the reason being that field contents are encrypted along with the rest of the stack data when a stack is password protected, while custom props are not. You can still display images from the fields' contents, and the fields themselves cannot be cut and pasted. I don't know who you audience is but I would guess the likelihood of your users owning a copy of Rev is lower than folks' ability to snoop around file contents. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Tue Mar 21 14:54:50 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 21 Mar 2006 11:54:50 -0800 Subject: DRM for Images and Text in Stacks In-Reply-To: Message-ID: Recently, I wrote: > field contents are > encrypted along with the rest of the stack data when a stack is password > protected, while custom props are not ...or maybe custom props *are* encrypted. That's weird, I could have sworn that custom props were visible when viewing stack data in a text editor, but now (Rev 2.6) it doesn't seem so. Perhaps this used to be the case with older versions of Rev. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From rcozens at pon.net Tue Mar 21 14:59:26 2006 From: rcozens at pon.net (Rob Cozens) Date: Tue, 21 Mar 2006 11:59:26 -0800 Subject: Making the move... In-Reply-To: <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> Message-ID: <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> Hi Geoff , > Wow -- so what does this do? > From Serendipity Reference: >> The findSDBRecord command checks for the existence & locked/unlocked status of a record with the record type and key specified in line 1 of sdbBuffer. It can also be used to unlock a record that was previously locked but not changed or to return a count of the number of records with certain field contents. findSDBRecord is undoubtedly the most complex, but also the most powerful, SDB command. It is the only SDB command that will retrieve information from multiple records in a single call. As such, it is ideally suited to retrieve specified fields from a range of records for reporting or analysis. exactKey (boolean) defaults to true, in which case findSDBRecord returns card id "0" if the exact key is not in the database; otherwise findSDBRecord will return the id for the record with the closest higher key of the specified record type. If fieldDelimiter is empty findSDBRecord simply returns the Revolution card id of the record in word 4 of the result. If fieldDelimiter is not empty, itemList contains a list of field references (one per line) to retrieve. A field reference can take two forms: * a number that resolves to the field's ordinal position in the record (0 = the record key) * an SDB field reference ([Record Type]&":"&[dataname]), which the SDB handlers will resolve to a field ordinal. These two forms of reference can be used interchangably EXCEPT for record types that have no Dictionary definition in the database. findSDBRecord then puts a delimited list of the contents of the fields into lines 2 to -1 of sdbBuffer. setPosition (boolean) defaults to true. unlockRecord (boolean) defaults to false. If true and the record was locked by this user, it will be removed from the locked record table. findSDBRecord can be passed search criteria that must be met before a record is retrieved, and instructed to search forward or backward from the key if the key's record does not meet the search criteria until the first acceptable record is found. searchForward (boolean) determines search direction; default is true (forward). searchCriteria contains one or more lines in the following format: -- field reference,test,target,and/or * field reference is the field's ordinal or Data Dictionary name, as defibed above. * tests: "=" ,"<>" ,"in", "not in", "<", ">", "<=", or ">=" * target is the result to which the item is to be compared; it must be a value, not a reference to another field in the record * "and" or "or" is not needed on last line of search criteria Example search criteria (assumes the field is defined in Record Type, "TYPE" as dataname "department"): "TYPE:department",>,21,and "TYPE:department",<,34 Selects only records where the value of field "department" is between 22 and 33. If cutoffKey is not empty, findSDBRecord will discontinue the search when it encounters a record with a key > cutoffKey if searching forward or < cutoffKey if searching backward; otherwise the search will end with the first matching record if recordDelimiter is empty or the last/first record if it is not. If recordDelimiter is empty, findSDBRecord returns information for the first matching record it encounters. If recordDelimiter is not empty, findSDBRecord puts empty into sdbBuffer and returns the number of records matching the search criteria in word four of the rersult if the fieldDelimiter is empty; otherwise it returns the information for each matching record found between the key passed in sdbBuffer and cutoffKey or the last/first record of the specified record type. This information will be found in lines 2 to -1 of sdbBuffer. (The recordDelimiter is used to delimit individual records.) Note that findSDBRecord will return a locked record error if the record exists but is locked by another user. << 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) From ambassador at fourthworld.com Tue Mar 21 15:13:32 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 21 Mar 2006 12:13:32 -0800 Subject: DRM for Images and Text in Stacks Message-ID: <44205E6C.9070601@fourthworld.com> Scott Rossi wrote: > Recently, I wrote: > >> field contents are >> encrypted along with the rest of the stack data when a stack is password >> protected, while custom props are not > > ...or maybe custom props *are* encrypted. That's weird, I could have sworn > that custom props were visible when viewing stack data in a text editor, but > now (Rev 2.6) it doesn't seem so. Perhaps this used to be the case with > older versions of Rev. As I recall, when the possibilty of encrypting custom props along with scripts was brought up on the improve-rev list, it was shot down because it would kill access to those properties. Fortunately a quick test here confirms what you've found: custom props are indeed encrypted when the password is set, but only on disk -- you can still view and edit the data from scripts, such as the IDE's. So while it keeps people who don't have Rev from extracting data, it still leaves data vulnerable to those who do. Isn't there a BZ request for SC-style password protection? In SC setting the password prevents the stack from being opened in the IDE. If there isn't already a request for this maybe someone should post one, with recommendations on what that password property should be called. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From nicolas_cueto at yahoo.com Tue Mar 21 16:44:23 2006 From: nicolas_cueto at yahoo.com (Nicolas Cueto) Date: Wed, 22 Mar 2006 06:44:23 +0900 Subject: Draw spokes on a wheel Message-ID: <027601c64d30$a15885e0$0b01a8c0@niconiko04zbtb> > I think Rev might benefit from the addition of TG-type controls, but it > seems like a long shot to me. I have built a tool in Rev to work with > NetLogo files if anyone does take an interest. (It needs to be updated > -- I can't > keep up with them!) Please, Jim, I'm interested in the tool. And if it's already at Rev Online's "User spaces", what's your user username? BTW, what is "TG"? Thanks. -- Nicolas Cueto From stephenREVOLUTION at barncard.com Tue Mar 21 17:07:45 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 21 Mar 2006 14:07:45 -0800 Subject: HTML tags in XML In-Reply-To: <7AE50979-887D-4EF7-8734-EA9E96D05D82@mangomultimedia.com> References: <7AE50979-887D-4EF7-8734-EA9E96D05D82@mangomultimedia.com> Message-ID: See if URLEncode() and URLDecode() will package and recover your text and/or htmltext to XML's liking...it works for me on other stuff... sqb >On Mar 21, 2006, at 7:43 AM, Devin Asay wrote: > >>Hi Folks, >> >>Is it possible to store html styled text in an xml document and >>then successfully retrieve the text with html markup intact? >>... >> >> >>Here are my comments. >>Some of the text is colored red & >>blue >> >>... >> >>Is there a way to do this? Will I have to resort to saving the >>RTFtext in the xml node or something like that? > >Hi Devin, > >You need to escape ", ', <, and < when entering data into an XML >node. I can't remember if RevXML has any handlers for this or if >you just have to do it by hand. For an example of the escape >characters just do a Google search for "xml escape characters". > >You may want to check out Ken Ray's XML library. I haven't used it >but browsing through the API, there is a stsXML_replaceEntities that >looks like it would do what you want. > >-- >Trevor DeVore >Blue Mango Learning Systems - http://www.bluemangolearning.com >trevor at bluemangolearning.com -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From effendi at wanadoo.fr Tue Mar 21 17:31:13 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 21 Mar 2006 23:31:13 +0100 Subject: Acessing button scripts in a HC stack ? Message-ID: <54a21a42b9e045b402ba40068148a197@wanadoo.fr> Hi from Paris, I thought that I had been explicit, but apparently not ! From a Rev 2.6.1 stack, I want to open a HC stack (at the same time), examine it visually, type a name into a field in the Rev stack which corresponds to a button that I see in the HC stack. Then I want to hit a button in the Rev stack which picks up the script from that button in the HC stack, and returns it to the Rev stack where I can play with it, using a Rev script. I also want to do the same with scripts from fields. "Reasonable request - no other interest" (Only the very best - Tycoon - 1992 - Peter Kingsbery) Please don't ask me why I don't use "Cut" and "Paste" ..... All of this is with the object of automating (as far as I can) my HC to Rev conversions. Building the stacks is a piece of cake with Rev, but modifying the scripts is a pain, so I do it ...... using a script ..... of course ! My problem is bringing the script over to Rev ..... -Francis "Nothing should ever be done for the first time !" From userev at canelasoftware.com Tue Mar 21 17:48:51 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 21 Mar 2006 14:48:51 -0800 Subject: Draw spokes on a wheel In-Reply-To: References: <20060318141758.8D5AD8265A9@mail.runrev.com> <28C864C6-76B0-4A05-A468-CD5F094F5C54@canelasoftware.com> Message-ID: <893F4D2D-203A-4BBF-A1F7-41272B209CC5@canelasoftware.com> On Mar 21, 2006, at 5:00 AM, Jim Lyons wrote: > I used Revolution a couple of years ago to teach middle school kids > interested in programming. Then I discovered NetLogo, an agent- > based modelling system that traces its roots back to the original > Logo. It is perfect for beginners, and has the advantage of > immediate feedback and incremental development, just like HyperCard > and Rev. It's free and being actively developed by the Center for > Connected Learning at Northwestern University, > > http://ccl.northwestern.edu/netlogo/ Hi Jim, Thanks for the link. I'll take a look at it. Sounds interesting. Mark Talluto -- CANELA Software http://www.canelasoftware.com From userev at canelasoftware.com Tue Mar 21 17:49:24 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 21 Mar 2006 14:49:24 -0800 Subject: Draw spokes on a wheel In-Reply-To: <027601c64d30$a15885e0$0b01a8c0@niconiko04zbtb> References: <027601c64d30$a15885e0$0b01a8c0@niconiko04zbtb> Message-ID: <424E116E-B302-4D47-BF00-47E965F46547@canelasoftware.com> On Mar 21, 2006, at 1:44 PM, Nicolas Cueto wrote: > BTW, what is "TG"? Turtle Graphics. Mark Talluto -- CANELA Software http://www.canelasoftware.com From fde101 at fjrhome.net Tue Mar 21 17:52:46 2006 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 21 Mar 2006 17:52:46 -0500 Subject: Printing DLOG on Mac OS X In-Reply-To: <09E7AF08-D67E-46DD-9243-58A67425997F@major-k.de> References: <5A414349-3F98-4249-AEC0-12B4B55A2B11@skynet.be> <09E7AF08-D67E-46DD-9243-58A67425997F@major-k.de> Message-ID: <2b75c0835dce82c54065bf1a0e41a1f3@fjrhome.net> Other OS X programs can do this (Apple's Mail program, for example)... On Feb 17, 2006, at 11:04 AM, Klaus Major wrote: > Hi Yves, > >> Hi list >> >> is there a way to get the printing DLOG on mac OS X appearing in >> sheet mode ? > > I'm not sure, but iI think this is not possible since the dialogs do > not "belong" to Rev. > >> Thank you. >> >> Greetings. >> >> Yves COPPE >> yvescoppe at skynet.be > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From Cubist at aol.com Tue Mar 21 18:26:47 2006 From: Cubist at aol.com (Cubist at aol.com) Date: Tue, 21 Mar 2006 18:26:47 EST Subject: Combined Events Message-ID: <2b6.70245f0.3151e5b7@aol.com> In a message dated 3/21/06 8:14:18 AM, "Jeff Honken" writes: >Is there any way to combine events so you don't have to have redundant >code. I would like the same code to run on both the "on returnInField" >and "on mouseDown" events. Jeff In general, the solution to this problem looks something like this: on returnInfield DoStuff end returnInField on mouseDown DoStuff end mouseDown on DoStuff real code goes here code real here goes here code real goes end DoStuff Hope this helps... From bridgeyman at gmail.com Tue Mar 21 18:41:01 2006 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Tue, 21 Mar 2006 16:41:01 -0700 Subject: Acessing button scripts in a HC stack ? In-Reply-To: <54a21a42b9e045b402ba40068148a197@wanadoo.fr> References: <54a21a42b9e045b402ba40068148a197@wanadoo.fr> Message-ID: <86ae76bb0603211541m1a258218hf56db12b368700b6@mail.gmail.com> Try using AppleEvents. I don't have a mac nearby to test it on, but I have seen it work. I don't think the Hypercard program needs to have a handler to receive this. request "the script of btn " & (cd fld "ButtonName) from program "Hypercard" On 3/21/06, Francis Nugent Dixon wrote: > > Hi from Paris, > > I thought that I had been explicit, but apparently not ! > > From a Rev 2.6.1 stack, I want to open a HC stack (at the > same time), examine it visually, type a name into a field in > the Rev stack which corresponds to a button that I see in > the HC stack. Then I want to hit a button in the Rev stack > which picks up the script from that button in the HC stack, > and returns it to the Rev stack where I can play with it, using > a Rev script. > > I also want to do the same with scripts from fields. > > "Reasonable request - no other interest" > (Only the very best - Tycoon - 1992 - Peter Kingsbery) > > Please don't ask me why I don't use "Cut" and "Paste" ..... > > All of this is with the object of automating (as far as I can) > my HC to Rev conversions. Building the stacks is a piece > of cake with Rev, but modifying the scripts is a pain, so I do > it ...... using a script ..... of course ! My problem is bringing > the script over to Rev ..... > > -Francis > > "Nothing should ever be done for the first time !" > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarah.reichelt at gmail.com Tue Mar 21 18:57:22 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 22 Mar 2006 09:57:22 +1000 Subject: Application Browser Anomaly In-Reply-To: <2EBCE408-B8F8-11DA-BD42-0030657E1638@pon.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <2EBCE408-B8F8-11DA-BD42-0030657E1638@pon.net> Message-ID: > Both last night and now this morning I have done something that sets > the Application Browser in a state such that double-clicking on a > substack opens the script of the substack instead of opening the > substack itself and double-clicking on a card of an unopened subStack > opens the script of that card.. Go to Rev's Preferences, the Application Browser section. There you can set exactly what you want to happen when you double-click with or without modifier keys. Cheers, Sarah From sarah.reichelt at gmail.com Tue Mar 21 18:59:33 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 22 Mar 2006 09:59:33 +1000 Subject: revXMLfindNodecontent In-Reply-To: <747B1D9D-8FE4-4918-AB4D-2431445F4212@major-k.de> References: <747B1D9D-8FE4-4918-AB4D-2431445F4212@major-k.de> Message-ID: > I am currently working through the XML docs and am desparately > looking for > something llike -> "revXMLfindNodeBycontent" > > There is a "revXMLmatchingNode" but that only lets me find the node > that has an > atrribute with a specific value! > > Do I really have to cycle through the XMLtext or something line by > line to find > a node by its content? > > Please tell me it ain't so!!!! :-/ It is so :-( I found the best compromise was to put the most important search items as attributes, instead of elements. You can search by attribute. However I agree, it seems to be an obvious missing feature that should be part of the library. Cheers, Sarah From sarah.reichelt at gmail.com Tue Mar 21 19:03:20 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 22 Mar 2006 10:03:20 +1000 Subject: Acessing button scripts in a HC stack ? In-Reply-To: <54a21a42b9e045b402ba40068148a197@wanadoo.fr> References: <54a21a42b9e045b402ba40068148a197@wanadoo.fr> Message-ID: > From a Rev 2.6.1 stack, I want to open a HC stack (at the > same time), examine it visually, type a name into a field in > the Rev stack which corresponds to a button that I see in > the HC stack. Then I want to hit a button in the Rev stack > which picks up the script from that button in the HC stack, > and returns it to the Rev stack where I can play with it, using > a Rev script. Thanks for explaining further, now I hope I understand and I think I have the solution :-) When you open a HyperCard stack in Rev, the property called "HCaddressing" is set to true. This means that cards & fields are referred to as "card fields", "bg fields", "card buttons" & "bg buttons". As in HyperCard, the default is for fields to be background fields and buttons to be card buttons. If you are just trying to access them using "field" or "button", it will work for some but not for all. Your importer script needs to work out whether the object is a card or background object and address it accordingly. Regards, Sarah From jacque at hyperactivesw.com Tue Mar 21 19:08:33 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 21 Mar 2006 18:08:33 -0600 Subject: Acessing button scripts in a HC stack ? In-Reply-To: <54a21a42b9e045b402ba40068148a197@wanadoo.fr> References: <54a21a42b9e045b402ba40068148a197@wanadoo.fr> Message-ID: <44209581.8060608@hyperactivesw.com> Francis Nugent Dixon wrote: > Hi from Paris, > > I thought that I had been explicit, but apparently not ! > > From a Rev 2.6.1 stack, I want to open a HC stack (at the > same time), examine it visually, type a name into a field in > the Rev stack which corresponds to a button that I see in > the HC stack. Then I want to hit a button in the Rev stack > which picks up the script from that button in the HC stack, > and returns it to the Rev stack where I can play with it, using > a Rev script. > > I also want to do the same with scripts from fields. All newly imported HC stacks have their HCAddressing property set to true. That means you must reference the button, or any other object, just as HC does. If you say "button 1" then Rev will assume the button is a card button. If you want to specify a background button you must reference it as "bg btn 1". Same for fields: "fld 1" means a background field, and if you want to refer to a card field, you must specify "cd fld 1". If you set the HCAddressing of the stack to false, after that you can refer to the objects in the Revolution way, without specifying "card" or "background". Another thing that may be happening is that when you click on the Rev stack, your scripts will try to find "button 1" in the Rev stack. Instead, you must specify the stack: get the script of bg btn 1 of this cd of stack "myImportStack" Another way to do the same thing is to set the defaultstack: set the defaultstack to "myImportStack" get the script of bg btn 1 of this cd > > Please don't ask me why I don't use "Cut" and "Paste" ..... I won't, though it would probably be easier. But I do wonder why you don't just use the imported stack. Why move everything? I have converted more HC stacks than probably anyone (it's a lot of what my company does) and I have never had to rebuild a HC stack from scratch. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Tue Mar 21 19:12:07 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 22 Mar 2006 10:12:07 +1000 Subject: Tabstops Message-ID: On 3/22/06, Robert Sneidar wrote: > Wow thanks Sarah that is huge! I didn't see that anywhere in the docs > but I probably didn't look closely enough. > > But no I have an odd thing happenning. I can only set columns widths > up to 120. Anything over is interpreted as width-120 so that if I set > the width to 125 I get a column 5 pixels wide. Odd huh? There is > probably a max width for the columns property I need to set. I will > dig around. I am going to have to get used to that again. > The tabstops are a cumulative number representing the pixels from the left of the field for each stop. If you set them to "120,125" the first column will be 120 pixels wide and all other columns will be 5 pixels wide. I recommend Frederic Rinaldi's revTabRuler plugin which now comes as one the the standard plugins in your Rev installation. It allows you to set tabStops graphically by dragging them along in his palette. I wrote an article about it some time ago for revJournal . Just ignore the installation instructions as it should already be in the plugins menu. Cheers, Sarah From simplsol at aol.com Tue Mar 21 19:18:36 2006 From: simplsol at aol.com (simplsol at aol.com) Date: Tue, 21 Mar 2006 19:18:36 -0500 Subject: Acessing button scripts in a HC stack ? In-Reply-To: <54a21a42b9e045b402ba40068148a197@wanadoo.fr> References: <54a21a42b9e045b402ba40068148a197@wanadoo.fr> Message-ID: <8C81B5D4BBEC430-1604-4D48@mblk-d46.sysops.aol.com> Hello from San Dimas, I'm missing something here. Why not just have Rev open the HC stack, this will convert it to a Rev stack? You would be able to access all of the button and field scripts - and do whatever you want with them. You could then write any Rev script needed to import/export or work with the data in what is now a Rev stack. This will not harm the original HC stack - as you will be working from a Rev-converted copy in RAM. Paul Looney -----Original Message----- From: Francis Nugent Dixon To: use-revolution at lists.runrev.com Sent: Tue, 21 Mar 2006 23:31:13 +0100 Subject: Acessing button scripts in a HC stack ? Hi from Paris,? ? I thought that I had been explicit, but apparently not !? ? From a Rev 2.6.1 stack, I want to open a HC stack (at the? same time), examine it visually, type a name into a field in? the Rev stack which corresponds to a button that I see in? the HC stack. Then I want to hit a button in the Rev stack? which picks up the script from that button in the HC stack,? and returns it to the Rev stack where I can play with it, using? a Rev script.? ? I also want to do the same with scripts from fields.? ? "Reasonable request - no other interest"? ?(Only the very best - Tycoon - 1992 - Peter Kingsbery)? ? Please don't ask me why I don't use "Cut" and "Paste" .....? ? All of this is with the object of automating (as far as I can)? my HC to Rev conversions. Building the stacks is a piece? of cake with Rev, but modifying the scripts is a pain, so I do? it ...... using a script ..... of course ! My problem is bringing? the script over to Rev .....? ? -Francis? ? "Nothing should ever be done for the first time !"? ? _______________________________________________? use-revolution mailing list? use-revolution at lists.runrev.com? Please visit this url to subscribe, unsubscribe and manage your subscription preferences:? http://lists.runrev.com/mailman/listinfo/use-revolution? From aturban at qwest.net Tue Mar 21 19:40:28 2006 From: aturban at qwest.net (Arthur Urban) Date: Tue, 21 Mar 2006 17:40:28 -0700 Subject: Progress Made? Message-ID: <44209CFC.9000808@qwest.net> Has there been any progress with the perpetual crashing in WinXP? I literally save every couple of minutes because of the instability of the IDE. I would like to note to any Rev Developers that might be listening though, is that the crash potential is the highest when I have text selected in the script editor. Obviously it does not crash every time text is selected, but if I know I'm going to cut/paste a number of lines of code, or comment/uncomment them, I save first. Selecting the text itself does not invoke the crash, but attempting to do other things (like click in the selected text, or making Rev think I'm dragging text) these seem to be real catalysts for the crash scenario. Can we please get this fixed? Surely the Rev Developers themselves user their own tool on WinXP. It must be crashing like crazy for them too, no? From sarah.reichelt at gmail.com Tue Mar 21 19:55:21 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 22 Mar 2006 10:55:21 +1000 Subject: Making the move... In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> Message-ID: On 3/21/06, Geoff Canyon 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 From scott at proherp.com Tue Mar 21 20:05:02 2006 From: scott at proherp.com (Scott Kane) Date: Wed, 22 Mar 2006 12:05:02 +1100 Subject: Calling Rev Compiler On Command Line Message-ID: <000201c64d4c$a82702e0$0201010a@royalnexus> Hi, Is there are method (I've checked the doc's and found nothing) of calling the compiler in Rev without loading the IDE? TIA Scott -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/287 - Release Date: 21/03/2006 From mark at maseurope.net Tue Mar 21 20:16:38 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 22 Mar 2006 01:16:38 +0000 Subject: Making the move... In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> Message-ID: <5BBCAB2B-2190-4B8B-8EF0-11F9CD8244C8@maseurope.net> You might put the multiple results into the elements of an array, and return the array. Mark On 22 Mar 2006, at 00:55, Sarah Reichelt wrote: > On 3/21/06, Geoff Canyon 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From shaosean at hotmail.com Tue Mar 21 20:35:12 2006 From: shaosean at hotmail.com (Sean Shao) Date: Tue, 21 Mar 2006 20:35:12 -0500 Subject: [?] Mac Classic, 2.6.1, MySQL In-Reply-To: <20060321180007.99565825A0F@mail.runrev.com> Message-ID: In regards to the two posts - one from Paul Looney and one from Ruslan Zasukhin.. PL> Do you REALLY need to support OS 9? Yes. PL> The time and effort you would put into supporting OS 9 That's the great thing about Rev, there's very little extra time and effort required. RZ> But develop new app for old hardware/OS is not best idea. Why not? Even though Apple and Microsoft have stopped supporting certain makes of the operating system there are still tons of machines out there that run them and that's still a potential market to make money from. In my situation I'm trying to use a feature of Rev and that's not working.. It's not through fault of my code, nor because the OS is old, but because of a screw-up over at Rev.. Will there be a 2.6.2 to address this issue? Nope, just a forced upgrade to get the functionality promised.. Anyways, I'll try the 2.5 Valentina/MySQL build thing another day when I have the chance.. -Sean _________________________________________________________________ Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From mark at maseurope.net Tue Mar 21 20:50:36 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 22 Mar 2006 01:50:36 +0000 Subject: Progress Made? In-Reply-To: <44209CFC.9000808@qwest.net> References: <44209CFC.9000808@qwest.net> Message-ID: <570FFE5F-5EA7-4DFD-8034-6E27D9D082F1@maseurope.net> Arthur, check out this thread: http://mail.runrev.com/pipermail/use-revolution/2006-February/ 076870.html Best, Mark On 22 Mar 2006, at 00:40, Arthur Urban wrote: > Has there been any progress with the perpetual crashing in WinXP? I > literally save every couple of minutes because of the instability > of the IDE. I would like to note to any Rev Developers that might > be listening though, is that the crash potential is the highest > when I have text selected in the script editor. Obviously it does > not crash every time text is selected, but if I know I'm going to > cut/paste a number of lines of code, or comment/uncomment them, I > save first. Selecting the text itself does not invoke the crash, > but attempting to do other things (like click in the selected text, > or making Rev think I'm dragging text) these seem to be real > catalysts for the crash scenario. > > Can we please get this fixed? Surely the Rev Developers themselves > user their own tool on WinXP. It must be crashing like crazy for > them too, no? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lan.kc.macmail at gmail.com Tue Mar 21 21:00:15 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 22 Mar 2006 10:00:15 +0800 Subject: [?] Mac Classic, 2.6.1, MySQL In-Reply-To: References: <20060321180007.99565825A0F@mail.runrev.com> Message-ID: On 3/22/06, Sean Shao wrote: > > > Even though Apple and Microsoft have stopped supporting certain makes of > the > operating system there are still tons of machines out there that run them > and that's still a potential market to make money from. Agreed. Apple stopped supporting HyperCard when? And under what OS? Yet we still see "I have a HyperCard stack I want to convert" type questions popping up on this list. Sure, I'm not suggesting that you could make a living out of custom HyperCard stacks, but I think it clearly illustrates that while software is cheaper to buy than hardware many will keep buying software rather than buying new hardware - until they can no longer run the software they NEED. From sarah.reichelt at gmail.com Tue Mar 21 22:13:25 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 22 Mar 2006 13:13:25 +1000 Subject: Making the move... In-Reply-To: <5BBCAB2B-2190-4B8B-8EF0-11F9CD8244C8@maseurope.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <5BBCAB2B-2190-4B8B-8EF0-11F9CD8244C8@maseurope.net> Message-ID: I didn't think of that Mark. Again, arrays are things that don't come naturally to me, so I probably ignore them when they would be useful. In this case, it sounds like a really good solution. Thanks, Sarah On 3/22/06, Mark Smith wrote: > You might put the multiple results into the elements of an array, and > return the array. > > Mark > > On 22 Mar 2006, at 00:55, Sarah Reichelt wrote: > > > On 3/21/06, Geoff Canyon 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Tue Mar 21 23:43:58 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 21 Mar 2006 22:43:58 -0600 Subject: Acessing button scripts in a HC stack ? In-Reply-To: References: <54a21a42b9e045b402ba40068148a197@wanadoo.fr> Message-ID: <4420D60E.8020305@hyperactivesw.com> Sarah Reichelt wrote: > When you open a HyperCard stack in Rev, the property called > "HCaddressing" is set to true. Jacqueline Landman Gay wrote: > All newly imported HC stacks have their HCAddressing property set to true. With that kind of female solidarity here, the men amongst us must be cowering. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Mar 21 23:55:06 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 21 Mar 2006 22:55:06 -0600 Subject: Progress Made? In-Reply-To: <44209CFC.9000808@qwest.net> References: <44209CFC.9000808@qwest.net> Message-ID: <4420D8AA.9060003@hyperactivesw.com> Arthur Urban wrote: > Has there been any progress with the perpetual crashing in WinXP? Yes, I believe they have isolated it. It took quite a while to even get a stack that would crash on the development machines, so it wasn't a universal problem for everyone. Lots of people seem to be running 2.7 without any trouble. Eventually more data came in through tech support so that the team could address it. It's always a good idea to send bug reports to Bugzilla, and crash logs if you have them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Wed Mar 22 00:01:10 2006 From: chipp at chipp.com (Chipp Walters) Date: Tue, 21 Mar 2006 23:01:10 -0600 Subject: Making the move... In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <5BBCAB2B-2190-4B8B-8EF0-11F9CD8244C8@maseurope.net> Message-ID: <4420DA16.4050805@chipp.com> I'm just a simple Caveman programmer. Your advanced technology and talk of arrays and multiple functions frighten me. In this case, I'd just as soon keep thinkgs in a single handler which cavemen like me can read and debug easily. :-) -Chipp Sarah Reichelt wrote: > I didn't think of that Mark. Again, arrays are things that don't come > naturally to me, so I probably ignore them when they would be useful. > In this case, it sounds like a really good solution. > > Thanks, > Sarah > > > On 3/22/06, Mark Smith wrote: > >>You might put the multiple results into the elements of an array, and >>return the array. >> >>Mark >> >>On 22 Mar 2006, at 00:55, Sarah Reichelt wrote: >> >> >>>On 3/21/06, Geoff Canyon 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 From jacque at hyperactivesw.com Wed Mar 22 00:01:46 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 21 Mar 2006 23:01:46 -0600 Subject: Mac OS-X standalone from Windows machine In-Reply-To: References: Message-ID: <4420DA3A.1010001@hyperactivesw.com> Levi Kendall wrote: > Hi All, > I'm having a bit of a problem making a standalone application for OS-X > from a Windows machine. Actually making it is not the problem really, > running it is. The save to standalone works fine and I end up with what I > am assuming is the executeable in a structure that looks as such: > > My Application.app \ Contents \ MacOS \ My Application > > What seems to be the problem is the file at the end "My Application" does > not get the execute flag set on it when being transfered to the OS-X > filesystem. My current method of transport was simply to zip the entire > directory and then unzip the file on the Mac. This would leave the > directory structure as is, which I'm assuming is necessary. However the > problem is the "My Application" executeable needs to have CHMOD run on it in > order to properly execute because of the execute flag missing on the OS-X > filesystem. > > Does anyone have any solution to work around this? Is it necessary to > have some kind of "installer" program to properly set this up on the OS-X > end? Or is there another way to handle it? If at all possible, I would > like to be able to handle this from the Windows machine, rather than > actually needing an OS-X box. I'd like to know the answer to this too. Has anyone else experienced this? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Wed Mar 22 00:09:11 2006 From: chipp at chipp.com (Chipp Walters) Date: Tue, 21 Mar 2006 23:09:11 -0600 Subject: Calling Rev Compiler On Command Line In-Reply-To: <000201c64d4c$a82702e0$0201010a@royalnexus> References: <000201c64d4c$a82702e0$0201010a@royalnexus> Message-ID: <4420DBF7.3030108@chipp.com> Scott, I believe a script is compiled when it is 'set'. So to compile a script just get it, modify it, then set it. best, Chipp Scott Kane wrote: > Hi, > > Is there are method (I've checked the doc's and > found nothing) of calling the compiler in Rev > without loading the IDE? > > TIA > > Scott > From jperryl at ecs.fullerton.edu Wed Mar 22 00:29:13 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 21 Mar 2006 21:29:13 -0800 (PST) Subject: [?] Mac Classic, 2.6.1, MySQL In-Reply-To: Message-ID: Indeed. My department's Mac lab (yep, the FrankenLab of ill-repute) runs OS 9 only. Initially, it was because of some problems with dual boot (and the machines not having enough RAM); then it was because of the RAM issue, and now, quite frankly, I think it is because I'm the only Mac person in the department and nobody else is even remotely aware of the big difference between OS 9 & OS X. Oh, and the fact that some sim program for a computer architecture class only runs on OS 9... But we OS niners still exist... even when we would rather not. Judy On Tue, 21 Mar 2006, Sean Shao wrote: > In regards to the two posts - one from Paul Looney and one from Ruslan > Zasukhin.. > > PL> Do you REALLY need to support OS 9? > Yes. > > PL> The time and effort you would put into supporting OS 9 > That's the great thing about Rev, there's very little extra time and effort > required. > > RZ> But develop new app for old hardware/OS is not best idea. > Why not? > > Even though Apple and Microsoft have stopped supporting certain makes of the > operating system there are still tons of machines out there that run them > and that's still a potential market to make money from. > > In my situation I'm trying to use a feature of Rev and that's not working.. > It's not through fault of my code, nor because the OS is old, but because of > a screw-up over at Rev.. Will there be a 2.6.2 to address this issue? Nope, > just a forced upgrade to get the functionality promised.. > > Anyways, I'll try the 2.5 Valentina/MySQL build thing another day when I > have the chance.. > > -Sean > > _________________________________________________________________ > Don?t 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Wed Mar 22 00:50:36 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 21 Mar 2006 21:50:36 -0800 Subject: HTML tags in XML In-Reply-To: References: <7AE50979-887D-4EF7-8734-EA9E96D05D82@mangomultimedia.com> <525094265.20060321093436@ahsoftware.net> <51629036-A03B-4B5D-A6F5-57D132F3F113@mangomultimedia.com> <11610878662.20060321111059@ahsoftware.net> Message-ID: <4249257007.20060321215036@ahsoftware.net> Trevor- Tuesday, March 21, 2006, 11:19:29 AM, you wrote: > On Mar 21, 2006, at 11:10 AM, Mark Wieder wrote: >> Yes and no. As long as you have the data stored properly encoded then >> you should be able to decode it on the way out: >> >> set the htmlText of field "grunt" to urlDecode(xmlData) > Oh, I see what you are getting at. Yeah, that would work but > wouldn't this only work if the XML was only used in Rev. Wouldn't it > cause problems for other software that tried to read your XML document? Yes, I should think so. It would have to decode it back. I've been assuming this was just for rev data, but if you're going outside the sandbox then you'd need to stick with what the DTD says. Ken's CDATA approach would probably be the best way to deal with it in that case. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Wed Mar 22 00:58:29 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 21 Mar 2006 21:58:29 -0800 Subject: Mac OS-X standalone from Windows machine Message-ID: <4420E785.2050108@fourthworld.com> J. Landman Gay wrote: > Levi Kendall wrote: >> I'm having a bit of a problem making a standalone application for OS-X >> from a Windows machine. Actually making it is not the problem really, >> running it is. The save to standalone works fine and I end up with what I >> am assuming is the executeable in a structure that looks as such: >> >> My Application.app \ Contents \ MacOS \ My Application >> >> What seems to be the problem is the file at the end "My Application" does >> not get the execute flag set on it when being transfered to the OS-X >> filesystem. My current method of transport was simply to zip the entire >> directory and then unzip the file on the Mac. This would leave the >> directory structure as is, which I'm assuming is necessary. However the >> problem is the "My Application" executeable needs to have CHMOD run on it in >> order to properly execute because of the execute flag missing on the OS-X >> filesystem. >> >> Does anyone have any solution to work around this? Is it necessary to >> have some kind of "installer" program to properly set this up on the OS-X >> end? Or is there another way to handle it? If at all possible, I would >> like to be able to handle this from the Windows machine, rather than >> actually needing an OS-X box. > > I'd like to know the answer to this too. Has anyone else experienced this? As far as I can tell, chmod affects elements in the Unix file system that simply aren't present in Windows, much as the old Mac apps needed a resource fork that was possible only on Apple's HFS. So as far as I can tell, Levi's original guess that chmod was needed is consistent with what I've had to do to get the executable within the bundle to have its permissions set correctly: get shell("chmod ugo+x" && quote & tDestFile & quote) If there's some other way to write the file on a non-Unix system and be copy it to OS X with the executable permissions in place I'd love to learn about it. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From chipp at chipp.com Wed Mar 22 01:04:49 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 22 Mar 2006 00:04:49 -0600 Subject: Progress Made? In-Reply-To: <4420D8AA.9060003@hyperactivesw.com> References: <44209CFC.9000808@qwest.net> <4420D8AA.9060003@hyperactivesw.com> Message-ID: <4420E901.40403@chipp.com> I'm working on a small project and for the first time trying to use 2.7 because of it's anti-aliased graphics (which are great!) I, too, keep having Rev crash in the middle of programming (twice in the last hour). I was wondering if there's a 'recipe' for this so I can watch out for it? Also, any word on when we can expect a patch? best, Chipp J. Landman Gay wrote: > Arthur Urban wrote: > >> Has there been any progress with the perpetual crashing in WinXP? > > > Yes, I believe they have isolated it. It took quite a while to even get > a stack that would crash on the development machines, so it wasn't a > universal problem for everyone. Lots of people seem to be running 2.7 > without any trouble. Eventually more data came in through tech support > so that the team could address it. It's always a good idea to send bug > reports to Bugzilla, and crash logs if you have them. > From aturban at qwest.net Wed Mar 22 01:10:47 2006 From: aturban at qwest.net (Arthur Urban) Date: Tue, 21 Mar 2006 23:10:47 -0700 Subject: Progress Made? In-Reply-To: <4420D8AA.9060003@hyperactivesw.com> References: <44209CFC.9000808@qwest.net> <4420D8AA.9060003@hyperactivesw.com> Message-ID: <4420EA67.6050106@qwest.net> It would be great if I could help out. Is there a specific means to generate a crash log? J. Landman Gay wrote: > Arthur Urban wrote: >> Has there been any progress with the perpetual crashing in WinXP? > > Yes, I believe they have isolated it. It took quite a while to even > get a stack that would crash on the development machines, so it wasn't > a universal problem for everyone. Lots of people seem to be running > 2.7 without any trouble. Eventually more data came in through tech > support so that the team could address it. It's always a good idea to > send bug reports to Bugzilla, and crash logs if you have them. > From revolution at jaedworks.com Wed Mar 22 02:00:01 2006 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 21 Mar 2006 23:00:01 -0800 Subject: Combined Events In-Reply-To: <000001c64d0e$e8bfc280$670fa8c0@work1> References: <000001c64d0e$e8bfc280$670fa8c0@work1> Message-ID: At 10:43 AM -0700 3/21/2006, Jeff Honken wrote: > That's exactly what I'm looking for but why on a windows box doesn't >the left mouse click work. Here's the code: Does it work if you don't specify which mouse button? -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From gcanyon at inspiredlogic.com Wed Mar 22 03:31:49 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed, 22 Mar 2006 00:31:49 -0800 Subject: Making the move... In-Reply-To: <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> Message-ID: First, this isn't all that long -- 98 lines -- but in any case I'd consider: -- breaking out routines for local vs. server connection -- breaking out a routine for when we're just counting records that match vs. returning data -- breaking out a routine that, given a itemList describing a set of fields, returns the data from those fields Some of the rest I'm still not clear on, so it's hard to say. As I said, more art than science, but to me a routine like this is more than five times as difficult to understand/debug/manage than the five twenty line routines that might replace it. Not that I haven't written my fair share of these ;-) regards, Geoff On Mar 21, 2006, at 11:59 AM, Rob Cozens wrote: > Hi Geoff , > >> Wow -- so what does this do? >> > > From Serendipity Reference: > > >> > > The findSDBRecord command checks for the existence & locked/ > unlocked status of a record with the record type and key specified > in line 1 of sdbBuffer. It can also be used to unlock a record > that was previously locked but not changed or to return a count of > the number of records with certain field contents. > > findSDBRecord is undoubtedly the most complex, but also the most > powerful, SDB command. It is the only SDB command that will > retrieve information from multiple records in a single call. As > such, it is ideally suited to retrieve specified fields from a > range of records for reporting or analysis. > > exactKey (boolean) defaults to true, in which case findSDBRecord > returns card id "0" if the exact key is not in the database; > otherwise findSDBRecord will return the id for the record with the > closest higher key of the specified record type. > > If fieldDelimiter is empty findSDBRecord simply returns the > Revolution card id of the record in word 4 of the result. If > fieldDelimiter is not empty, itemList contains a list of field > references (one per line) to retrieve. A field reference can take > two forms: > > * a number that resolves to the field's ordinal position in the > record (0 = the record key) > * an SDB field reference ([Record Type]&":"&[dataname]), which the > SDB handlers will resolve to a field ordinal. > > These two forms of reference can be used interchangably EXCEPT for > record types that have no Dictionary definition in the database. > > findSDBRecord then puts a delimited list of the contents of the > fields into lines 2 to -1 of sdbBuffer. > > setPosition (boolean) defaults to true. > > unlockRecord (boolean) defaults to false. If true and the record > was locked by this user, it will be removed from the locked record > table. > > findSDBRecord can be passed search criteria that must be met before > a record is retrieved, and instructed to search forward or backward > from the key if the key's record does not meet the search criteria > until the first acceptable record is found. > > searchForward (boolean) determines search direction; default is > true (forward). > > searchCriteria contains one or more lines in the following format: > -- field reference,test,target,and/or > * field reference is the field's ordinal or Data Dictionary name, > as defibed above. > * tests: "=" ,"<>" ,"in", "not in", "<", ">", "<=", or ">=" > * target is the result to which the item is to be compared; it must > be a value, not a reference to another field in the record > * "and" or "or" is not needed on last line of search criteria > > Example search criteria (assumes the field is defined in Record > Type, "TYPE" as dataname "department"): > "TYPE:department",>,21,and > "TYPE:department",<,34 > Selects only records where the value of field "department" is > between 22 and 33. > > If cutoffKey is not empty, findSDBRecord will discontinue the > search when it encounters a record with a key > cutoffKey if > searching forward or < cutoffKey if searching backward; otherwise > the search will end with the first matching record if > recordDelimiter is empty or the last/first record if it is not. > > If recordDelimiter is empty, findSDBRecord returns information for > the first matching record it encounters. If recordDelimiter is not > empty, findSDBRecord puts empty into sdbBuffer and returns the > number of records matching the search criteria in word four of the > rersult if the fieldDelimiter is empty; otherwise it returns the > information for each matching record found between the key passed > in sdbBuffer and cutoffKey or the last/first record of the > specified record type. This information will be found in lines 2 > to -1 of sdbBuffer. (The recordDelimiter is used to delimit > individual records.) > > Note that findSDBRecord will return a locked record error if the > record exists but is locked by another user. > > << > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From livfoss at mac.com Wed Mar 22 03:34:04 2006 From: livfoss at mac.com (Graham Samuel) Date: Wed, 22 Mar 2006 09:34:04 +0100 Subject: Progress Made? Message-ID: I'm sorry for Arthur Urban and his experience of "perpetual crashing on WinXP", and I'm glad to see Jacqueline's statement that the problem has been acknowledged and is being fixed. I just want to confirm that this doesn't affect everyone: at present I am switching an app I'm developing between OSX and and WinXP machine many times each day, with both machines running RR2.7.0, and for me both are entirely stable. Incidentally I also find that I don't have to zip my .rev files to swap them between machines (I use an external server for both archiving and swapping), which I believe is contrary to some other people's experience. For me it would be interesting to find out what are the exact circumstances causing these crashes, just in case I suddenly create them by accident. But it certainly ain't a universal problem. Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From livfoss at mac.com Wed Mar 22 03:42:28 2006 From: livfoss at mac.com (Graham Samuel) Date: Wed, 22 Mar 2006 09:42:28 +0100 Subject: Getting started with libraries Message-ID: <86853ABA-2514-4F6B-8F98-EF1E3E6B4D32@mac.com> On Sun, 19 Mar 2006 08:52:22 -0800, Rob Cozens wrote: [some good advice on the above subject, including] > I hate to confirm what you don't want to hear; but, yes, it ends up > being a messy job for the reasons you identified: creating a > generalized handler from two or more similar handlers in different > stacks often means changing the scripts in both. To the extent that > your common handlers are generic, you might adopt your controls to use > handlers in existing rev libraries rather than generalizing your > handlers as well as the scripts of controls that call them. > Serendipity > Library includes handlers for data > validation & formatting, date & time handlers, and list handlers in > addition to SDB database handlers. > > The good news: when you are finished, the efficiency you will gain is > worth much more than the effort involved. Well, I suppose that had to be the answer - but I just wanted to thank you, Rob, for troubling to reply and give me a bit of encouragement. As soon as my current app is out of the door I will make a determined effort to library-ize my core routines, which are mostly to do with the house style decided on by my publisher, so that apps from different sources give a similar user experience - this means that it all has to be pretty well homegrown.. Thanks Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From klaus at major-k.de Wed Mar 22 05:03:35 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 22 Mar 2006 11:03:35 +0100 Subject: revXMLfindNodecontent In-Reply-To: References: <20060321172548.E83678258C9@mail.runrev.com> Message-ID: <951BD710-7091-43D5-86F6-89C715BEEC46@major-k.de> Bonjour Joel. >> Hi Ken, >> >>> On 3/21/06 10:21 AM, "Klaus Major" wrote: >>>> Hi all, >>>> I am currently working through the XML docs and am desparately >>>> looking for >>>> something llike -> "revXMLfindNodeBycontent" >>>> ... >>> Sorry, Klaus, AFAIK you can't find data information with the revXML >>> DLL. >> Damn!!! What a pity :-/ >> Hi Mark, please add this one to Rev 2.71, I think there is still time >> for this and I really need it! ;-) > Are you dreaming Klaus? Yes :-) > Or do you have preferential treatment from Runrev? Yes, my mother-in-law does know the cousin of the women that is celanings the household of one of Mr. Millers neighbours quite well (kind of) :-D > If yes, kindly suggest the manager to (censured, I am wasting my > time). Actually I filled an enhancement request (#1893) on > 2004-07-26 for a "revInsertXMLNode treeID,siblingPath,nodeContents" > and sent a recall on 2005-12-12 but the status is still UNCONFIRMED! Welcome to the club! > So, be patient! I AM patient since RunRev aquired the MetaCard engine ;-) > I know that I practice medicine but usually not that side! Or build > your own externals for xml, xpath, etc. > ;o( I wish I could! > jg Regards Klaus Major klaus at major-k.de http://www.major-k.de From katir at hindu.org Wed Mar 22 04:22:24 2006 From: katir at hindu.org (Sivakatirswami) Date: Tue, 21 Mar 2006 23:22:24 -1000 Subject: DRM for Images and Text in Stacks In-Reply-To: <44205E6C.9070601@fourthworld.com> References: <44205E6C.9070601@fourthworld.com> Message-ID: <14A64652-9607-4535-BC6B-EB0E71DB3804@hindu.org> On Mar 21, 2006, at 10:13 AM, Richard Gaskin wrote: > So while it keeps people who don't have Rev from extracting data, > it still leaves data vulnerable to those who do. Exactly the problem... Scott wrote: > but I would guess the likelihood of your users owning a copy of > Rev is lower than folks' ability to snoop around file > contents. true now and confirmed, both custom props and fields are encrypted contains on disk but our assumption that the possibilities of such extraction are "low" is based on the less than enthusiastic ontology that the number of rev developers in the world of manifest being is small i.e. the statistical chances of theft are low relative to the number of users using the "product" (or who might try to hack it in BBedit or whatever...) without the IDE... but: remember the "Dream World" I proposed initially on this thread posits a different ontology: Rev becomes very popular and the number of IDEs in the universe approaches infinity, (excuse the word fun) suddenly the chances for theft jump.... > > Isn't there a BZ request for SC-style password protection? In SC > setting the password prevents the stack from being opened in the > IDE. If there isn't already a request for this maybe someone should > post one, with recommendations on what that password property > should be called. I just put that feature request in...I didn't know SC had this (I haven't used SC in years) I'm sorry to say I did not exercise due diligence to determine if said enhancement was already there... anyway, enhancement 3404 is now there and was assigned to the engine team. I'm not competent to recommend a password property name. But to get the ball rolling -- at the risk of using metaphorical terms (but why not? we use "anchor" in html, "wizard" for a small tool and "firewall" in net admin, and "Tiger" for and OS) Would terms related to "lock" work?: (opening my thesaurus....) adjectives for the state of such a stack: (where the property is true or false) Where the propery being true means you cannot open the stack: "bolted" # like the door to a house "lockout" # those inside preventing entry to those outside "sealed" "cryptic" "taboo" "kapu" (taboo in Hawaiian) Prosaic: "secure" # as in an SSL transaction: completely opaque and unextractable "closed" # as in a meeting in a room with the door shut "restricted" "blocked" Nouns for a stack in such a state: crypt vault strongbox Where the property being true is the default and if set to false, means you cannot open the stack "penetrable" "reveal" "accessible" Sivakatirswami From alex at tweedly.net Wed Mar 22 05:12:57 2006 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 22 Mar 2006 10:12:57 +0000 Subject: Making the move... In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> Message-ID: <44212329.5010602@tweedly.net> Sarah Reichelt wrote: > >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? > > I'd probably use parameters by reference for each of the result values. To me, that's one of the good ways to use pass by ref. But if you didn't want to do that, and also didn't want to use an array, you could perhaps return a list of the result values. If you can find one more character that you can be sure won't appear in the results, simply use it to concatenate the results. For example: > function getThreeThings pFrom > ..... > return tOne & numtochar(3) tTwo & numtochar(3) & tThree > end getThreeThings and when you call it > put getThreeThings(tData) into temp > set the itemDel to numtochar(3) > put item 1 of temp into t1 > put item 2 of temp into t2 > etc. btw - when are Rev going to implement the "etc." keyword ? -- 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 From klaus at major-k.de Wed Mar 22 05:59:51 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 22 Mar 2006 11:59:51 +0100 Subject: revXMLfindNodecontent In-Reply-To: References: <747B1D9D-8FE4-4918-AB4D-2431445F4212@major-k.de> Message-ID: <0CB01FC6-E295-4946-BF19-ED8E8D9C6237@major-k.de> Hi Sarah and all, >> I am currently working through the XML docs and am desparately >> looking for something llike -> "revXMLfindNodeBycontent" >> There is a "revXMLmatchingNode" but that only lets me find the node >> that has an atrribute with a specific value! >> Do I really have to cycle through the XMLtext or something line by >> line to find a node by its content? >> Please tell me it ain't so!!!! :-/ > It is so :-( > I found the best compromise was to put the most important search items > as attributes, instead of elements. You can search by attribute. Hardly doable if your job is to only read and compute external (other peoples) XML files ;-) > However I agree, it seems to be an obvious missing feature that should > be part of the library. I just added an enhacement request to godzilla: 3414 Throw some votes on it if you like :-) > Cheers, > Sarah Regards Klaus Major klaus at major-k.de http://www.major-k.de From effendi at wanadoo.fr Wed Mar 22 06:35:53 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Wed, 22 Mar 2006 12:35:53 +0100 Subject: Acessing button scripts in a HC stack ? - Closing Thread Message-ID: <3574fbb8132b78c3c3c97eba11211041@wanadoo.fr> Hi from Paris, Thanks for all your responses (especially Sarah & Jacqueline). I was stupid enough to think that in Rev, the reference "bg" was invalid, so I didn't even try it. I now have several ways to get what I want. On the comments about WHY I want to convert my HC stacks : 1 - My HC stacks look so DRAB, compared to Rev, 2 - My HC field contents are badly displayed in Rev, 3 - My HC stacks lean heavily on XFCN's and XCMD's, and so they don't run successfully, 4 - I want to leave the HC world (with regrets), before Apple pulls the plug on OS9, and all the applications that go with it, 5 - I want to run some of my stacks on the PC, to be able to distribute them to my family (Family Tree), or my music collegues (Song Catalogue). There are still a few people in this world who insist on using PC's ...... 6 - I have unlimited time and patience on my 3 computers, and even after 40 years of programming, I love using Rev. and finally : I belong to that strange group of people who would rather spend 10 days programming a solution to convert my HC scripts, than spending 30 minutes doing it manually ! I will now return to the complex task of "parsing" HC scripts to convert them to Rev format, PURELY for the joy of succeeding ! When I don't program for > 48 hours, I get withdrawal symptoms ! -Francis "Learning is living" "Progress is simply a succession of monumental xxxx-ups !" ...... but nevertheless .... "Nothing should ever be done for the first time !" From dburgun at dsl.pipex.com Wed Mar 22 06:53:23 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 22 Mar 2006 11:53:23 +0000 Subject: Get a handler from a script In-Reply-To: References: <6B0024C3-E175-495E-927A-C7C6CD8CFD19@scarlet.be> Message-ID: Hi, Nice Script! There is just one thing I don't understand? What are the: get "/*" & i Statements for????? Thanks a lot All the Best Dave On 21 Mar 2006, at 14:45, Wouter wrote: > on Sun Mar 19 16:12:57 CST 2006 Geoff Canyon wrote: > >> /* this is a comment >> as is this */on mouseUp >> answer "yes" >> end mouseUp > > > Another problem with this kind of commenting is shown in the > following cases: > > /* this is a comment > as is this */-function whatever > return "something" > end whatever > > /* this is a comment > as is this */--function whatever > return "something" > end whatever > > Both will compile without throwing an error. > Only the second one is a valid comment > > Greetings, > Wouter > > PS another little update (beware of the mail line wraps): > > function retrieveActiveHandlers pScript > put true into tFlag > repeat for each line i in pScript > if char 1 to 2 of word 1 of i = "/*" then > put false into tFlag > else if tFlag and token 1 of i is among the items of > "on,function,setprop,getprop" then put token 1 to -1 of i & cr > after tList > else if tFlag = false then > if (char 1 of word 1 of i is "#" or char 1 of word 1 of i is > "-" ) and "*/" is in i then > put true into tFlag > get "/*" &i > if tFlag and token 1 of it is among the items of > "on,function,setprop,getprop" then > put token 1 to -1 of it & cr after tList > end if > else > repeat for each token j in i > if j is "*/" then > put true into tFlag > get "/*" &i > if tFlag and token 1 of it is among the items of > "on,function,setprop,getprop" then > put token 1 to -1 of it & cr after tList > exit repeat > end if > end if > end repeat > end if > end if -- > end repeat > return tList > end retrieveActiveHandlers > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From Andre.Bisseret at inria.fr Wed Mar 22 07:32:41 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q?Andr=E9.Bisseret?=) Date: Wed, 22 Mar 2006 13:32:41 +0100 Subject: When closed, does a substack whose destroyStack is true remains in memory ? Message-ID: Hi ! As far as a substack is concerned, from the Doc (on save, close, destroyStack?) I understand that : even if its destroyStack property is set to true, If I save and close this substack while the main stack remains opened, then this substack remains in memory. If this is true, then I understand that it is not judicious to set ? formatForPrinting ? to true for this substack. So, for a specific ? printing stack ? I have to use a second main stack, instead of a substack. Am I right ? Thanks a lot in advance for validating (or invalidating) these claims. P.S. : by the way, is it a means to check if a closed stack (or substack) is still in memory ? Best regards from Grenoble Andr? From wouter.abraham at scarlet.be Wed Mar 22 08:55:51 2006 From: wouter.abraham at scarlet.be (Wouter) Date: Wed, 22 Mar 2006 14:55:51 +0100 Subject: Get a handler from a script In-Reply-To: References: <6B0024C3-E175-495E-927A-C7C6CD8CFD19@scarlet.be> Message-ID: Hi David, On 22 Mar 2006, at 12:53, David Burgun wrote: > Hi, > > Nice Script! > > There is just one thing I don't understand? > > What are the: > > get "/*" & i > > Statements for????? /* this is a comment as is this */function whatever return "something" end whatever This is to force the tokenizing. The script is parsed line by line. The first line of the block comment will be eliminated by token 1 to - 1 of i But the first token of the second line of the block comment will be the first word --> "as" By adding a "/*" in front of that line the first token will be "function" > > Thanks a lot > All the Best > Dave > Greetings, Wouter From livfoss at mac.com Wed Mar 22 09:47:57 2006 From: livfoss at mac.com (Graham Samuel) Date: Wed, 22 Mar 2006 15:47:57 +0100 Subject: How can I pass a handler a long ID as a string? Message-ID: I've never come across this before, and it's got me confused. I have a handler, say "myHandler" that has a couple of parameters which are intended to be the long ids of objects (actually fields). The handler manipulates the fields, something like on myHandler para1 do "put empty into"&¶1 ... end myHandler I find that this works if the parameters are set in the same context as the handler itself - for example in a 'mouseUp' handler on the card where I've put the code of myHandler, but if I call it from elsewhere with a call like myHandler (the long id of fld "myField" of cd "myCard" of stack "myStack") I find that during the call the engine evaluates the parameter and passes me the contents of the field, and not the reference to the field. What I want is to pass the long id to my handler as a **string**. I can't see why this doesn't work, and more importantly so far I'm stuck for a way round it. I've tried put the long id of fld "myField" of cd "myCard" of stack "myStack" into temp myHandler temp but it has exactly the same effect. What am I doing wrong? TIA Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From chris at carroll-davis.co.uk Wed Mar 22 10:12:37 2006 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Wed, 22 Mar 2006 15:12:37 +0000 Subject: Windows Dunce Question (probably OT) Message-ID: <70211A47-7FFC-47AC-9332-B7D58A0D16AE@carroll-davis.co.uk> Hello folks. Question here from complete Windows dope. What am I doing wrong? I've installed Rev on PC to test and tweak stuff I've written on Mac. But... any .rev files I see have the wrong icon. Presumably the file association is wrong on my system. I have tried going to "properties" of file and choosing Revolution as the prog to open the file. But a) Rev isn't in the list... and b) if I then "browse" for Rev, the PC won't add Rev to the list or associate it with the file. Upshot is, I can't double-click file (without opening wrong program) or drag file to Rev program (if I do, it opens Rev but Rev ignores file). The only way I can open the file is by ctrl-O and choosing from dlog... - and that's just oh-so-last-century... Do any of you Windows experts have any suggestions? Do I have a screwed up registry or something? Or just a screwed up Mac user? Help! Chris From jhonken at x12.info Wed Mar 22 10:31:47 2006 From: jhonken at x12.info (Jeff Honken) Date: Wed, 22 Mar 2006 08:31:47 -0700 Subject: Option Box Message-ID: <000001c64dc5$be928fd0$670fa8c0@work1> I'm using an option box in my application to allow a user to choose a static list. I'm using the "on menuPick" handler to save the information to a database. The information saves if you use the mouse to choose the value. The problem is when you a user tabs into the field and then uses the down arrow to identify their choice. They then tab or return out of the field. The data doesn't update to the new value. Is there another handler I should be using? Jeff From rcozens at pon.net Wed Mar 22 10:31:58 2006 From: rcozens at pon.net (Rob Cozens) Date: Wed, 22 Mar 2006 07:31:58 -0800 Subject: Application Browser Anomaly In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <2EBCE408-B8F8-11DA-BD42-0030657E1638@pon.net> Message-ID: <003F89A0-B9B9-11DA-8FFE-0030657E1638@pon.net> > Go to Rev's Preferences, the Application Browser section. There you > can set exactly what you want to happen when you double-click with or > without modifier keys. Thanks Sarah, Rob From rcozens at pon.net Wed Mar 22 10:32:38 2006 From: rcozens at pon.net (Rob Cozens) Date: Wed, 22 Mar 2006 07:32:38 -0800 Subject: Progress Made? In-Reply-To: <44209CFC.9000808@qwest.net> References: <44209CFC.9000808@qwest.net> Message-ID: <17F8B852-B9B9-11DA-8FFE-0030657E1638@pon.net> Hi Arthur, > Has there been any progress with the perpetual crashing in WinXP? I personally have made progress: I have not crashed the Script Editor (or anything else) in over a week. What have I done? I've made a conscious effort to apply the changes made to each handler in a script before changing another handler in the same script. If you, like moi, tend to modify more than one handler in a large script before applying the changes, you might try doing what I'm doing and see if you find the SE more stable. Or you might, as I promised RR Support I would, try opening a stack with a large script and start cutting and pasting between the script and a text file at random to see if you can force a crash. 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) From rcozens at pon.net Wed Mar 22 10:34:06 2006 From: rcozens at pon.net (Rob Cozens) Date: Wed, 22 Mar 2006 07:34:06 -0800 Subject: Making the move... In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> Message-ID: <4CAD5779-B9B9-11DA-8FFE-0030657E1638@pon.net> Hi Geoff, > -- breaking out routines for local vs. server connection You're ignoring my notes: application requirement: the calling syntax must be identical for client, server, and single user. > -- breaking out a routine for when we're just counting records that > match vs. returning data Why? It is not used anywhere else but in this handler. Like Chipp, if I find a need for the logic in another handler, I'll generalize it. > -- breaking out a routine that, given a itemList describing a set of > fields, returns the data from those fields > Why? It is not used anywhere else but in this handler. Like Chipp, if I find a need for the logic in another handler, I'll generalize it. And actually, theSDRecordMatches function handles most of that logic. > to me a routine like this is more than five times as difficult to > understand/debug/manage than the five twenty line routines that might > replace it. > Where's the beef! Show me the money! Divide findSDRecord into five twenty-line routines and post the result. I must say, Geoff, you seem to have a penchant for splitting handlers when there is no need to do so. 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) From henk at iglow-media.nl Wed Mar 22 10:40:28 2006 From: henk at iglow-media.nl (Henk van der Velden) Date: Wed, 22 Mar 2006 16:40:28 +0100 Subject: imagedata in Word XML In-Reply-To: <20060319180007.0DDA48264FE@mail.runrev.com> References: <20060319180007.0DDA48264FE@mail.runrev.com> Message-ID: <734C18D5-F51A-4E62-9820-E5721C92547E@iglow-media.nl> Hello Rob e.a. On 19-mrt-2006, at 19:00, use-revolution-request at lists.runrev.com wrote: >>> Indeed does the text of an image contain binary data, but it >>> looks like it's in the PNG format. >>> I will do some testing. >>> If the text of an image is PNG binary data, and the Word file >>> contains only PNG images, I would be able to set the text of an >>> image to the decoded text from the WordXML node. >> >> one could also try to simply "put" the data into an image! >> >> -> put url("binfile:image.png") into img 1 >> does work, so this is a least worth a try :-) >> > > My assumption is that, just as changing an object's top property > automatically changes other related properties (eg: > topLeft,bottomRight, loc, etc.), changing an image's text property > will automatically change imageData and other "text-related" > properties of the image. I'm a few days away from testing this > issue myself. I've done some testing, here are my results: - when an image is loaded, it's text property is not set; when it is imported, it is. - when the text property of an image is changed, the imageData, width, height etc also change. So now I can use the binary data from the Word XML file, decode them, create a new, empty image on the card and set the text of that image to the decoded binary data. Henk From gcanyon at inspiredlogic.com Wed Mar 22 10:59:28 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed, 22 Mar 2006 07:59:28 -0800 Subject: How can I pass a handler a long ID as a string? In-Reply-To: References: Message-ID: I've hit this before. I generally postfix a cr like so: put (the long id of fld "myField" of cd "myCard" of stack "myStack") & cr into tParam myHandler tParam Then in myHandler: on myHandler pID delete char -1 of pID -- ready to go now or if it could be a list: on myHandler pIDList repeat for each line tID in pIDList On Mar 22, 2006, at 6:47 AM, Graham Samuel wrote: > I've never come across this before, and it's got me confused. I > have a handler, say "myHandler" that has a couple of parameters > which are intended to be the long ids of objects (actually fields). > The handler manipulates the fields, something like > > on myHandler para1 > > do "put empty into"&¶1 > > ... > > end myHandler > > I find that this works if the parameters are set in the same > context as the handler itself - for example in a 'mouseUp' handler > on the card where I've put the code of myHandler, but if I call it > from elsewhere with a call like > > myHandler (the long id of fld "myField" of cd "myCard" of stack > "myStack") > > I find that during the call the engine evaluates the parameter and > passes me the contents of the field, and not the reference to the > field. What I want is to pass the long id to my handler as a > **string**. I can't see why this doesn't work, and more importantly > so far I'm stuck for a way round it. I've tried > > put the long id of fld "myField" of cd "myCard" of stack > "myStack" into temp > myHandler temp > > but it has exactly the same effect. > > What am I doing wrong? > > TIA > > Graham > > > ---------------------------------------- > Graham Samuel / The Living Fossil Co. / UK and France > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From pmbrig at comcast.net Wed Mar 22 11:21:28 2006 From: pmbrig at comcast.net (pmbrig at comcast.net) Date: Wed, 22 Mar 2006 16:21:28 +0000 Subject: clipboarddata["html"] problem Message-ID: <032220061621.5064.442179880008F261000013C8220730079309079D0D039F@comcast.net> I am using a button to put a text field on the clipboard. I set the clipboarddata["html"] to the htmltext of the field, then when I try to paste into MS Word, my field formatting does not come through. Instead, the default textFont and textSize for the stack is what determines the format of the pasted text -- I have experimented with this, and changing the field properties has zero effect on the paste, whereas changing the stack properties changes the paste. As an added complication, though, setting the textFont of the stack works perfectly, but when I set the textSize of the stack to 10, it comes through as 12. All other sizes work the way they are supposed to: stack textSize of 9 results in size 9 text in the paste, stack textSize of 14 comes through as 14, etc. Only stack textSize of 10 comes through as 12. here's the relevant portion of the script: put fld "wordPath" into wordpath put fld "letterPath" into letterPath put theHdr into fld "formatPrintText" set the textFont of fld "formatPrintText" to "Bookman Old Style" set the textSize of fld "formatPrintText" to "10" set the clipboarddata["html"] to the htmltext of fld "formatPrintText" set the clipboarddata["text"] to theHdr -- * see below launch letterPath with wordpath * (I've tried not setting the clipboarddata["text"] and it makes no difference.) I'm puzzled. The clipboarddata["html"] clearly is not getting set properly. I am using Dreamcard v2.6.1 build 152 on a Mac iBook running OSX v10.4.5, and Word for Mac v11.2.3. The problem with the size 10 getting seen as size 12 appears to be a Word problem, since the paste into another text app comes through as expected. Why doesn't the htmlText of the field get onto the clipboard? Why in the world should the default text properties of the stack have any effect here? Peter M. Brigham From gcanyon at inspiredlogic.com Wed Mar 22 11:22:36 2006 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed, 22 Mar 2006 08:22:36 -0800 Subject: Making the move... In-Reply-To: <4CAD5779-B9B9-11DA-8FFE-0030657E1638@pon.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> <4CAD5779-B9B9-11DA-8FFE-0030657E1638@pon.net> Message-ID: <6A75A57F-22E3-4039-A009-50B5093C2980@inspiredlogic.com> On Mar 22, 2006, at 7:34 AM, Rob Cozens wrote: > > Hi Geoff, > >> -- breaking out routines for local vs. server connection > > You're ignoring my notes: application requirement: the calling > syntax must be identical for client, server, and single user. That's fine -- I'm just saying that the routine would look something like: on doSomething pArg if tSingleUser then doSomethingForSingleUser pArg else doSomethingForMultiUser pArg end if end doSomething pArg This way the user can call the routine without regard to whether it's single user or multiuser, but you don't have two big chunks of code lumped together in one handler that can easily be separated. > >> -- breaking out a routine for when we're just counting records >> that match vs. returning data > > Why? It is not used anywhere else but in this handler. Like Chipp, > if I find a need for the logic in another handler, I'll generalize it. Because it gets rid of a bunch of if statements in your repeat loop. It costs you a bit in that the repeat structure is duplicated in the routine that simply counts, so that's a tradeoff. But your repeat ends up being faster because you aren't doing tests each time through. Further, your code ends up being easier to understand, because one routine simply counts, while one returns data -- more clear. > >> -- breaking out a routine that, given a itemList describing a set >> of fields, returns the data from those fields >> > > Why? It is not used anywhere else but in this handler. Like Chipp, > if I find a need for the logic in another handler, I'll generalize > it. And actually, theSDRecordMatches function handles most of that > logic. Just because something isn't used anywhere else doesn't mean it should be lumped in. If it can be clearly expressed as a single action (given an itemList describing a set of fields, return the data from those fields) it can be broken out, and both routines will be easier to understand as a result. > >> to me a routine like this is more than five times as difficult to >> understand/debug/manage than the five twenty line routines that >> might replace it. >> > > Where's the beef! Show me the money! Divide findSDRecord into > five twenty-line routines and post the result. > > I must say, Geoff, you seem to have a penchant for splitting > handlers when there is no need to do so. I obviously don't know SDB well enough to: -- know what's right for it by my standards -- know what's right for it by your standards -- change code (or propose changes) in it without knowing the context in which the code operates I thought a bit before offering comment. Maybe not long enough ;-) If I've offended, I apologize. It wasn't my intention to cast stones at anyone's house in particular. If you can indulge me for just a moment longer, though, I'd like to throw out an analogy. Look at your comments above. The same thing could have been said as: On Mar 22, 2006, at 7:34 AM, Rob Cozens wrote: > Hi Geoff, You're ignoring my notes: application requirement: the > calling syntax must be identical for client, server, and single > user. Why? It is not used anywhere else but in this handler. Like > Chipp, if I find a need for the logic in another handler, I'll > generalize it. Why? It is not used anywhere else but in this > handler. Like Chipp, if I find a need for the logic in another > handler, I'll generalize it. And actually, theSDRecordMatches > function handles most of that logic. Where's the beef! Show me the > money! Divide findSDRecord into five twenty-line routines and post > the result. I must say, Geoff, you seem to have a penchant for > splitting handlers when there is no need to do so. 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) Breaking up your comments into paragraphs doesn't change the meaning of what you said, but it makes it clearer. regards, Geoff From rcozens at pon.net Wed Mar 22 11:29:43 2006 From: rcozens at pon.net (Rob Cozens) Date: Wed, 22 Mar 2006 08:29:43 -0800 Subject: Making the move... In-Reply-To: <4CAD5779-B9B9-11DA-8FFE-0030657E1638@pon.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> <4CAD5779-B9B9-11DA-8FFE-0030657E1638@pon.net> Message-ID: <1180DF29-B9C1-11DA-BE5C-0030657E1638@pon.net> Geoff, > -- breaking out routines for local vs. server connection > Client selection [server opens all dbs as local connections]: replace return with numToChar(29) in itemList replace return with numToChar(29) in searchCriteria requestSDBService sdbBuffer,"find",packArguments(9,exactKey,fieldDelimiter,itemList,setPos ition,searchForward,searchCriteria,cutoffKey,recordDelimiter,unlockRecor d) get the result if not word 1 of it and setPosition then put word 4 of it into sdbPosition put it into sdbParameters return it Every db access call has similar logic, but the second and third arguments are unique. To generalize: replace return with numToChar(29) in itemList replace return with numToChar(29) in searchCriteria put packArguments(9,exactKey,fieldDelimiter,itemList,setPosition,searchForwa rd,searchCriteria,cutoffKey,recordDelimiter,unlockRecord) into packedArguments doGeoffsHandler sdBuffer,"find",packedArguments return the result on doGeoffsHandler @sdBuffer,serviceType,packedArguments requestSDBService sdbBuffer,serviceType,packedArguments get the result if not word 1 of it and setPosition then put word 4 of it into sdbPosition put it into sdbParameters return it end doGeoffsHandler I've saved two lines in the original handler...for what--the need to look up another handler to see the full picture? 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) From rcozens at pon.net Wed Mar 22 11:37:35 2006 From: rcozens at pon.net (Rob Cozens) Date: Wed, 22 Mar 2006 08:37:35 -0800 Subject: Making the move... In-Reply-To: <6A75A57F-22E3-4039-A009-50B5093C2980@inspiredlogic.com> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> <4CAD5779-B9B9-11DA-8FFE-0030657E1638@pon.net> <6A75A57F-22E3-4039-A009-50B5093C2980@inspiredlogic.com> Message-ID: <2A9AD986-B9C2-11DA-BE5C-0030657E1638@pon.net> Geeze Geoff , > If I've offended, I apologize. I thought you knew me better than that. :{`) If I've come off pedantic or emotionally upset, then I'm sorry. There is no right or wrong answer, it's a matter of preference...and my preferences are closer to Chipp's than yours in this matter. Your friend, Cousin Rob From rcozens at pon.net Wed Mar 22 11:43:02 2006 From: rcozens at pon.net (Rob Cozens) Date: Wed, 22 Mar 2006 08:43:02 -0800 Subject: imagedata in Word XML In-Reply-To: <734C18D5-F51A-4E62-9820-E5721C92547E@iglow-media.nl> References: <20060319180007.0DDA48264FE@mail.runrev.com> <734C18D5-F51A-4E62-9820-E5721C92547E@iglow-media.nl> Message-ID: Hi Henk, > - when an image is loaded, it's text property is not set; when it is > imported, it is. > - when the text property of an image is changed, the imageData, width, > height etc also change. > > So now I can use the binary data from the Word XML file, decode them, > create a new, empty image on the card and set the text of that image > to the decoded binary data. > That's good to know...I'm still a few days away from testing my logic. 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) From rcozens at pon.net Wed Mar 22 11:43:34 2006 From: rcozens at pon.net (Rob Cozens) Date: Wed, 22 Mar 2006 08:43:34 -0800 Subject: Making the move... In-Reply-To: <6A75A57F-22E3-4039-A009-50B5093C2980@inspiredlogic.com> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> <4CAD5779-B9B9-11DA-8FFE-0030657E1638@pon.net> <6A75A57F-22E3-4039-A009-50B5093C2980@inspiredlogic.com> Message-ID: <00DE7D50-B9C3-11DA-BE5C-0030657E1638@pon.net> Geoff: > on doSomething pArg > if tSingleUser then > doSomethingForSingleUser pArg > else > doSomethingForMultiUser pArg > end if > end doSomething pArg > > > doSomethingForMultiUser pArg is the seven lines I used as an example in my last post, the remaining 90 lines comprise doSomethingForSingleUser pArg Rob From dburgun at dsl.pipex.com Wed Mar 22 12:09:33 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 22 Mar 2006 17:09:33 +0000 Subject: How can I pass a handler a long ID as a string? In-Reply-To: References: Message-ID: <9A05DA0C-F1DB-4371-B14B-FD8748EB826E@dsl.pipex.com> Hi, Instead of doing: myHandler (the long id of fld "myField" of cd "myCard" of stack "myStack") do myHandler (the long id of me) That should fix it! All the Best Dave On 22 Mar 2006, at 14:47, Graham Samuel wrote: > I've never come across this before, and it's got me confused. I > have a handler, say "myHandler" that has a couple of parameters > which are intended to be the long ids of objects (actually fields). > The handler manipulates the fields, something like > > on myHandler para1 > > do "put empty into"&¶1 > > ... > > end myHandler > > I find that this works if the parameters are set in the same > context as the handler itself - for example in a 'mouseUp' handler > on the card where I've put the code of myHandler, but if I call it > from elsewhere with a call like > > myHandler (the long id of fld "myField" of cd "myCard" of stack > "myStack") > > I find that during the call the engine evaluates the parameter and > passes me the contents of the field, and not the reference to the > field. What I want is to pass the long id to my handler as a > **string**. I can't see why this doesn't work, and more importantly > so far I'm stuck for a way round it. I've tried > > put the long id of fld "myField" of cd "myCard" of stack > "myStack" into temp > myHandler temp > > but it has exactly the same effect. > > What am I doing wrong? > > TIA > > Graham > > > ---------------------------------------- > Graham Samuel / The Living Fossil Co. / UK and France > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rcozens at pon.net Wed Mar 22 12:11:43 2006 From: rcozens at pon.net (Rob Cozens) Date: Wed, 22 Mar 2006 09:11:43 -0800 Subject: Making the move... In-Reply-To: <6A75A57F-22E3-4039-A009-50B5093C2980@inspiredlogic.com> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> <4CAD5779-B9B9-11DA-8FFE-0030657E1638@pon.net> <6A75A57F-22E3-4039-A009-50B5093C2980@inspiredlogic.com> Message-ID: Geoff, > Because it gets rid of a bunch of if statements in your repeat loop. > It costs you a bit in that the repeat structure is duplicated in the > routine that simply counts, so that's a tradeoff. But your repeat ends > up being faster because you aren't doing tests each time through. > > Further, your code ends up being easier to understand, because one > routine simply counts, while one returns data -- more clear. > The function here is to count, and optionally select data from, records that match search criteria. To count and select in separate logic means parsing all records twice. I did find this logic: repeat for each line itemNumber in itemList put sdbFieldNumber(itemNumber) into itemNumber that should be evaluated once all error checks are passed: put empty into rawItemNumbers repeat for each line itemNumber in itemList put sdbFieldNumber(itemNumber)&return after rawItemNumers end repeat put rawItemNumers into itemList and removed from the repeat loop...thanks. Other than that, I don't see much efficiency to be gained here. Also, if you look closely at "if countOnly" statements, you will find that they are in repeat exit logic, and never get executed more than once. 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) From dburgun at dsl.pipex.com Wed Mar 22 12:34:52 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 22 Mar 2006 17:34:52 +0000 Subject: Why doesn't this select work??? In-Reply-To: References: <20060319180007.0DDA48264FE@mail.runrev.com> <734C18D5-F51A-4E62-9820-E5721C92547E@iglow-media.nl> Message-ID: Hi, The following fails when executing: select before line 1 of me or select before me This is in a handler inside a List Field. All I want to do is to deselect anything that is selected and scroll the list to the beginning.\ Thanks a lot All the Best Dave From gilbert at isphlg.rimed.cu Wed Mar 22 13:38:54 2006 From: gilbert at isphlg.rimed.cu (Gilberto Cuba) Date: Wed, 22 Mar 2006 13:38:54 -0500 Subject: Minimize stack... Message-ID: <005601c64ddf$f269e5f0$1c037b98@p42600> Hi, I have a Rev 2.6 in a Debian Sarge distributions, and I tried to minimize my application in KDE, it work very fine, but I tried to minimized in GNOME that is not work. Why? How I can minimize my application in GNOME? Best regards, Gilberto Cuba From mark at maseurope.net Wed Mar 22 12:39:54 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 22 Mar 2006 17:39:54 +0000 Subject: Why doesn't this select work??? In-Reply-To: References: <20060319180007.0DDA48264FE@mail.runrev.com> <734C18D5-F51A-4E62-9820-E5721C92547E@iglow-media.nl> Message-ID: set the hilitedLine of me to 0 set the vScroll of me to 0 should work. Mark On 22 Mar 2006, at 17:34, David Burgun wrote: > Hi, > > The following fails when executing: > > select before line 1 of me > > or > > select before me > > This is in a handler inside a List Field. > > All I want to do is to deselect anything that is selected and > scroll the list to the beginning.\ > > Thanks a lot > All the Best > Dave > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From gizmotron at earthlink.net Wed Mar 22 12:52:08 2006 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 22 Mar 2006 09:52:08 -0800 (GMT-08:00) Subject: HTML tags in XML Message-ID: <5036999.1143049928775.JavaMail.root@elwamui-mouette.atl.sa.earthlink.net> >From: Devin Asay >Hi Folks, > >Is it possible to store html styled text in an xml document and then >successfully retrieve the text with html markup intact? > >I'm working on an application where I need to save styled text in an >XML document. I can successfully insert the htmlText of the styled >field into the xml document so I end up with a node that looks like >this: > > >Here are my comments. >Some of the text is colored red & >blue > > >However, when I read this node in with the revXMLNodeContents() >function the html tags are stripped out and all I get is naked text. >Here's a code snippet: > >Devin Use a pull-parser function (see below) Example : put PNLPgetElement("", "", tPullThis) into tPullThisTag for elements: function PNLPgetElement tStTag, tEdTag, stngToSch put empty into zapped put the number of chars in tStTag into dChars put offset(tStTag,stngToSch) into tNum1 put offset(tEdTag,stngToSch) into tNum2 if tNum1 < 1 then return "error" exit PNLPgetElement end if if tNum2 < 1 then return "error" exit PNLPgetElement end if put char (tNum1 + dChars) to (tNum2 - 1) of stngToSch into zapped return zapped end PNLPgetElement For an array of elements: function getPNLPelements tStartTag, tEndTag, StringToSearch put empty into tArray put 0 into tStart1 put 0 into tStart2 put 1 into tElementNum put the number of chars in tStartTag into dChars repeat put offset(tStartTag,StringToSearch,tStart1) into tNum1 put (tNum1 + tStart1) into tStart1 if tNum1 < 1 then exit repeat put offset(tEndTag,StringToSearch,tStart2) into tNum2 put (tNum2 + tStart2) into tStart2 if tNum2 < 1 then exit repeat --if tNum2 < tNum1 then exit repeat put char (tStart1 + dChars) to (tStart2 - 1) of StringToSearch into zapped put zapped into tArray[tElementNum] add 1 to tElementNum end repeat return tArray end getPNLPelements From tariel at mac.com Wed Mar 22 13:02:19 2006 From: tariel at mac.com (Tariel Gogoberidze) Date: Wed, 22 Mar 2006 13:02:19 -0500 Subject: Windows Dunce Question (probably OT) In-Reply-To: <20060322152030.0656D825C76@mail.runrev.com> References: <20060322152030.0656D825C76@mail.runrev.com> Message-ID: <5fe9507935df4bf61600f326ba539ad9@mac.com> On Mar 22, 2006, at 10:20 AM, Chris Carroll-Davis wrote: > Date: Wed, 22 Mar 2006 15:12:37 +0000 > From: Chris Carroll-Davis > > Hello folks. > > Question here from complete Windows dope. What am I doing wrong? > I've installed Rev on PC to test and tweak stuff I've written on Mac. > But... any .rev files I see have the wrong icon. Presumably the file > association is wrong on my system. I have tried going to > "properties" of file and choosing Revolution as the prog to open the > file. > But a) Rev isn't in the list... and b) if I then "browse" for > Rev, the PC won't add Rev to the list or associate it with the file. > > Upshot is, I can't double-click file (without opening wrong program) Any chance this "wrong program" is WinRAR ? WinRAR uses the same file extension ".rev" as Revolution does and if it's installed prior to Revolution it would change Rev icons to it's own. My solution was to change ".rev" file association directly in registry. WinRAR applies ".rev" extension to rarely used archives (recovery volumes, which can be later used to reconstruct missing files in volume set and only for very specific cases on top of that). So, in my case, because I'm not using such types of WinRAR archives, this solution was fine. best regards Tariel > or drag file to Rev program (if I do, it opens Rev but Rev ignores > file). The only way I can open the file is by ctrl-O and choosing > from dlog... - and that's just oh-so-last-century... > > Do any of you Windows experts have any suggestions? Do I have a > screwed up registry or something? Or just a screwed up Mac user? > > Help! > > Chris From chris at carroll-davis.co.uk Wed Mar 22 13:17:43 2006 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Wed, 22 Mar 2006 18:17:43 +0000 Subject: Windows Dunce Question (probably OT) In-Reply-To: <5fe9507935df4bf61600f326ba539ad9@mac.com> References: <20060322152030.0656D825C76@mail.runrev.com> <5fe9507935df4bf61600f326ba539ad9@mac.com> Message-ID: Tariel - good suggestion, but no. Initially I thought it was something like that because the icons came up consistently with Adobe PDF icons. But I can change the file association to more or less any program using the file profile options. The problem here though is the fact that Windows refuses to let me associate the files with *Rev*. It lets me browse for for a program, but if I choose Rev it just ignores it. (I think I got Adobe PDF icons simply because "Adobe" begins with "A" so that was the first prog in the list!) :-( Driving me nuts, this one! Thanks for the suggestion, C On 22 Mar 2006, at 18:02, Tariel Gogoberidze wrote: > > On Mar 22, 2006, at 10:20 AM, Chris Carroll-Davis wrote: > >> Date: Wed, 22 Mar 2006 15:12:37 +0000 >> From: Chris Carroll-Davis >> >> Hello folks. >> >> Question here from complete Windows dope. What am I doing wrong? >> I've installed Rev on PC to test and tweak stuff I've written on Mac. >> But... any .rev files I see have the wrong icon. Presumably the file >> association is wrong on my system. I have tried going to >> "properties" of file and choosing Revolution as the prog to open the >> file. >> But a) Rev isn't in the list... and b) if I then "browse" for >> Rev, the PC won't add Rev to the list or associate it with the file. >> >> Upshot is, I can't double-click file (without opening wrong program) > > > Any chance this "wrong program" is WinRAR ? > > WinRAR uses the same file extension ".rev" as Revolution does and > if it's installed prior to Revolution it would change Rev icons to > it's own. > > My solution was to change ".rev" file association directly in > registry. WinRAR applies ".rev" extension to rarely used archives > (recovery volumes, which can be later used to reconstruct missing > files in volume set and only for very specific cases on top of that). > > So, in my case, because I'm not using such types of WinRAR > archives, this solution was fine. > > best regards > Tariel > > >> or drag file to Rev program (if I do, it opens Rev but Rev ignores >> file). The only way I can open the file is by ctrl-O and choosing >> from dlog... - and that's just oh-so-last-century... >> >> Do any of you Windows experts have any suggestions? Do I have a >> screwed up registry or something? Or just a screwed up Mac user? >> >> Help! >> >> Chris > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jhonken at x12.info Wed Mar 22 13:25:23 2006 From: jhonken at x12.info (Jeff Honken) Date: Wed, 22 Mar 2006 11:25:23 -0700 Subject: Option Box In-Reply-To: <000001c64dc5$be928fd0$670fa8c0@work1> Message-ID: <000001c64ddd$fbf97a60$670fa8c0@work1> I figured this on out. I was grabbing the selectedtext vs the label. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jeff Honken Sent: Wednesday, March 22, 2006 8:32 AM To: use-revolution at lists.runrev.com Subject: Option Box I'm using an option box in my application to allow a user to choose a static list. I'm using the "on menuPick" handler to save the information to a database. The information saves if you use the mouse to choose the value. The problem is when you a user tabs into the field and then uses the down arrow to identify their choice. They then tab or return out of the field. The data doesn't update to the new value. Is there another handler I should be using? Jeff _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Wed Mar 22 13:26:01 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 22 Mar 2006 13:26:01 -0500 Subject: Editing a VB script from within Revolution Message-ID: <742CF51D-9D08-4EBA-8185-65F20DE7AFE9@adelphia.net> Hello, Does anyone know or can show me how to edit and run a VB script from with a Rev stack? I want to change item's in the VB script and then run it like I am doing with Applescript on the Mac side. I know how to launch an external script from within REV but I want to run a script stored in a field or custom property within REV. answer file "Run VB script" with "OK" and "Cancel" if it is not " then launch it with "WScript.exe" Also, Does anyone know how to get VB scripts to execute with out having the user to instal WSH WScript.exe ? Thanks for any help in advance. Tom Thomas J McGrath III 3mcgrath at adelphia.net 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 From kray at sonsothunder.com Wed Mar 22 13:32:08 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 22 Mar 2006 12:32:08 -0600 Subject: Editing a VB script from within Revolution In-Reply-To: <742CF51D-9D08-4EBA-8185-65F20DE7AFE9@adelphia.net> Message-ID: On 3/22/06 12:26 PM, "Thomas McGrath III" <3mcgrath at adelphia.net> wrote: > Hello, > > Does anyone know or can show me how to edit and run a VB script from > with a Rev stack? > > I want to change item's in the VB script and then run it like I am > doing with Applescript on the Mac side. > > I know how to launch an external script from within REV but I want to > run a script stored in a field or custom property within REV. > > answer file "Run VB script" with "OK" and "Cancel" > if it is not " then launch it with "WScript.exe" > > Also, Does anyone know how to get VB scripts to execute with out > having the user to instal WSH WScript.exe ? Yes, you can use 'cscript.exe' and run it from the command-line. Here's my all-purpose handler for running scripts from Rev: function stsDoScript pScript,pScriptType,pDirectToConsole if pScriptType ="" then put "AppleScript" into pScriptType replace "`" with quote in pScript switch pScriptType case "AppleScript" case "AS" do pScript as "AppleScript" put the result into tResult break case "VB Script" case "VBS" set the hideConsoleWindows to true if pDirectToConsole = "" then put "C:\libVBS_temp.vbs" into tVBSPath put pScript into url ("file:" & tVBSPath) get shell("cscript.exe //nologo" && tVBSPath) else get shell("cscript.exe" && pScript) end if put it into tResult if there is a file tVBSPath then send "delete file" && quote & tVBSPath & quote to me in 1 second end if break case "JS" case "JavaScript" if "javascript" is among the lines of the alternateLanguages then do pScript as "JavaScript" put the result into tResult else put "Error: JavaScript OSA component not installed." into tResult end if break end switch return tResult end stsDoScript To call it, do something like: put the uVBScript of this stack into tScript -- or wherever you have your VBS code get stsDoScript(tScript,"VBS") if it <> "" then answer it end if HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Wed Mar 22 13:35:07 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 22 Mar 2006 12:35:07 -0600 Subject: imagedata in Word XML In-Reply-To: <734C18D5-F51A-4E62-9820-E5721C92547E@iglow-media.nl> Message-ID: On 3/22/06 9:40 AM, "Henk van der Velden" wrote: > I've done some testing, here are my results: > - when an image is loaded, it's text property is not set; when it is > imported, it is. > - when the text property of an image is changed, the imageData, > width, height etc also change. > > So now I can use the binary data from the Word XML file, decode > them, create a new, empty image on the card and set the text of that > image to the decoded binary data. Henk, is this code that can be shared with the Rev community? If so, that would be great... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dburgun at dsl.pipex.com Wed Mar 22 13:51:46 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 22 Mar 2006 18:51:46 +0000 Subject: Weirdness Passing Messages In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> <4CAD5779-B9B9-11DA-8FFE-0030657E1638@pon.net> <6A75A57F-22E3-4039-A009-50B5093C2980@inspiredlogic.com> Message-ID: <68403533-585E-4836-A0FF-AD091C027707@dsl.pipex.com> Hi, I have a 2 Stacks, StackMain and StackUtil. I used StackUtil as a "library stack" via the start using command. In the Stack Script for StackUtil I have the following functions: PutMessage() ListenForMessages() In StackMain Card 2 ObjectX, I do: function InitObject get ListenForMessages("MessageX") end InitObject on MessageX put "MessageX" into me get PutMessage("MessageY") end MessageX on mouseUp put "MessageX" into me get PutMessage("MessageY") end mouseUp In StackMain Card 2 ObjectY, I do: function InitObject get ListenForMessages("MessageY") end InitObject on MessageY put "MessageY" into me end MessageY In StackMain Card 2 ObjectA, I do: on mouseUp get PutMessage("MessageX") end mouseUp If I press the button associated with Card 1 Object, then MessageX gets called in Card 2 ObjectX ok and ObjectX gets set to "MessageX". All is fine. MessageY in Card 2 ObjectY gets called ok too, BUT the field is NOT set to "MessageY" as expected????? However if I press the button associated with Card 2 ObjectX, again the MessageY in Card 2 ObjectY gets called AND the field is set ok. All is fine. The message passing has been tested and it works fine in general, but it seems like the following path does not work: Card1:ObjectA:mouseUp -->Card2:MessageX:Card2:MessageY does not work. But Card2:ObjectX:mouseUp -->Card2:MessageY works ok. The weird thing is that the handlers do get called and I have stepped over the statement that does: put "MessageY" into me and that seems to work. However, when you select card 2, the field has not been changed. Any Ideas??? Thanks in Advance All the Best Dave From aturban at qwest.net Wed Mar 22 13:54:28 2006 From: aturban at qwest.net (Arthur Urban) Date: Wed, 22 Mar 2006 11:54:28 -0700 Subject: Windows Dunce Question (probably OT) In-Reply-To: References: <20060322152030.0656D825C76@mail.runrev.com> <5fe9507935df4bf61600f326ba539ad9@mac.com> Message-ID: <44219D64.1060402@qwest.net> I have the exact same problem. I've had no luck fixing it so far. Chris Carroll-Davis wrote: > Tariel - > > good suggestion, but no. Initially I thought it was something like > that because the icons came up consistently with Adobe PDF icons. But > I can change the file association to more or less any program using > the file profile options. The problem here though is the fact that > Windows refuses to let me associate the files with *Rev*. It lets me > browse for for a program, but if I choose Rev it just ignores it. (I > think I got Adobe PDF icons simply because "Adobe" begins with "A" so > that was the first prog in the list!) > > :-( > > Driving me nuts, this one! > > Thanks for the suggestion, > > C > > > On 22 Mar 2006, at 18:02, Tariel Gogoberidze wrote: > >> >> On Mar 22, 2006, at 10:20 AM, Chris Carroll-Davis wrote: >> >>> Date: Wed, 22 Mar 2006 15:12:37 +0000 >>> From: Chris Carroll-Davis >>> >>> Hello folks. >>> >>> Question here from complete Windows dope. What am I doing wrong? >>> I've installed Rev on PC to test and tweak stuff I've written on Mac. >>> But... any .rev files I see have the wrong icon. Presumably the file >>> association is wrong on my system. I have tried going to >>> "properties" of file and choosing Revolution as the prog to open the >>> file. >>> But a) Rev isn't in the list... and b) if I then "browse" for >>> Rev, the PC won't add Rev to the list or associate it with the file. >>> >>> Upshot is, I can't double-click file (without opening wrong program) >> >> >> Any chance this "wrong program" is WinRAR ? >> >> WinRAR uses the same file extension ".rev" as Revolution does and if >> it's installed prior to Revolution it would change Rev icons to it's >> own. >> >> My solution was to change ".rev" file association directly in >> registry. WinRAR applies ".rev" extension to rarely used archives >> (recovery volumes, which can be later used to reconstruct missing >> files in volume set and only for very specific cases on top of that). >> >> So, in my case, because I'm not using such types of WinRAR archives, >> this solution was fine. >> >> best regards >> Tariel >> >> >>> or drag file to Rev program (if I do, it opens Rev but Rev ignores >>> file). The only way I can open the file is by ctrl-O and choosing >>> from dlog... - and that's just oh-so-last-century... >>> >>> Do any of you Windows experts have any suggestions? Do I have a >>> screwed up registry or something? Or just a screwed up Mac user? >>> >>> Help! >>> >>> Chris >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From 3mcgrath at adelphia.net Wed Mar 22 13:57:28 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 22 Mar 2006 13:57:28 -0500 Subject: Editing a VB script from within Revolution In-Reply-To: References: Message-ID: Ken, Thanks for the quick response. Is cscript.exe available on All windows computers OR does it need to be installed with some certain software? I have installed so many things now on the PC that I don't know what will work without relying on these other installs. I am off to test your script and see what i can do. Thanks again, Tom On Mar 22, 2006, at 1:32 PM, Ken Ray wrote: > On 3/22/06 12:26 PM, "Thomas McGrath III" <3mcgrath at adelphia.net> > wrote: > >> Hello, >> >> Does anyone know or can show me how to edit and run a VB script from >> with a Rev stack? >> >> I want to change item's in the VB script and then run it like I am >> doing with Applescript on the Mac side. >> >> I know how to launch an external script from within REV but I want to >> run a script stored in a field or custom property within REV. >> >> answer file "Run VB script" with "OK" and "Cancel" >> if it is not " then launch it with "WScript.exe" >> >> Also, Does anyone know how to get VB scripts to execute with out >> having the user to instal WSH WScript.exe ? > > Yes, you can use 'cscript.exe' and run it from the command-line. > Here's my > all-purpose handler for running scripts from Rev: > > function stsDoScript pScript,pScriptType,pDirectToConsole > if pScriptType ="" then put "AppleScript" into pScriptType > > replace "`" with quote in pScript > switch pScriptType > case "AppleScript" > case "AS" > do pScript as "AppleScript" > put the result into tResult > break > case "VB Script" > case "VBS" > set the hideConsoleWindows to true > if pDirectToConsole = "" then > put "C:\libVBS_temp.vbs" into tVBSPath > put pScript into url ("file:" & tVBSPath) > get shell("cscript.exe //nologo" && tVBSPath) > else > get shell("cscript.exe" && pScript) > end if > put it into tResult > if there is a file tVBSPath then > send "delete file" && quote & tVBSPath & quote to me in 1 second > end if > break > case "JS" > case "JavaScript" > if "javascript" is among the lines of the alternateLanguages then > do pScript as "JavaScript" > put the result into tResult > else > put "Error: JavaScript OSA component not installed." into > tResult > end if > break > end switch > return tResult > end stsDoScript > > To call it, do something like: > > put the uVBScript of this stack into tScript > -- or wherever you have your VBS code > get stsDoScript(tScript,"VBS") > if it <> "" then > answer it > end if > > HTH, > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 3mcgrath at adelphia.net 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 From mark at maseurope.net Wed Mar 22 14:02:05 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 22 Mar 2006 19:02:05 +0000 Subject: Weirdness Passing Messages In-Reply-To: <68403533-585E-4836-A0FF-AD091C027707@dsl.pipex.com> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> <4CAD5779-B9B9-11DA-8FFE-0030657E1638@pon.net> <6A75A57F-22E3-4039-A009-50B5093C2980@inspiredlogic.com> <68403533-585E-4836-A0FF-AD091C027707@dsl.pipex.com> Message-ID: <79D9D0FA-2E5A-48CD-B0C9-E8D8F7AA97B5@maseurope.net> What do these functions do? Mark On 22 Mar 2006, at 18:51, David Burgun wrote: > PutMessage() > ListenForMessages() From kray at sonsothunder.com Wed Mar 22 14:06:58 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 22 Mar 2006 13:06:58 -0600 Subject: Editing a VB script from within Revolution In-Reply-To: Message-ID: On 3/22/06 12:57 PM, "Thomas McGrath III" <3mcgrath at adelphia.net> wrote: > Ken, > > Thanks for the quick response. Is cscript.exe available on All > windows computers OR does it need to be installed with some certain > software? All computers going back to Win98. Win95 (prior to Internet Explorer 4.0) didn't have it yet, but Exporer 4.0 installed it. Which basically means everyone has it. :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From 3mcgrath at adelphia.net Wed Mar 22 14:10:46 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 22 Mar 2006 14:10:46 -0500 Subject: Editing a VB script from within Revolution In-Reply-To: References: Message-ID: Ken, If I understand this the "VBS" will run if "VB Script" is in pSriptType because there is no break after the case "VB Script"? I just never wrote a switch that way and well, this is the first time I've seen that. What is the difference between straight to console and not? Why is that important? Lastly, I notice that Python is not among the parameters. Is it not a choice or is it so different as to not work in this case? P.S. I just tried a vb script stored in a field and it worked and is awesome. Thank you so much for this. Tom On Mar 22, 2006, at 1:32 PM, Ken Ray wrote: > case "VB Script" > case "VBS" > set the hideConsoleWindows to true > if pDirectToConsole = "" then Thomas J McGrath III 3mcgrath at adelphia.net 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 From dburgun at dsl.pipex.com Wed Mar 22 14:14:51 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 22 Mar 2006 19:14:51 +0000 Subject: Weirdness Passing Messages In-Reply-To: <79D9D0FA-2E5A-48CD-B0C9-E8D8F7AA97B5@maseurope.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> <4CAD5779-B9B9-11DA-8FFE-0030657E1638@pon.net> <6A75A57F-22E3-4039-A009-50B5093C2980@inspiredlogic.com> <68403533-585E-4836-A0FF-AD091C027707@dsl.pipex.com> <79D9D0FA-2E5A-48CD-B0C9-E8D8F7AA97B5@maseurope.net> Message-ID: <30723811-F057-429A-8398-3725651B8159@dsl.pipex.com> Hi, function ListenForMessages theMessageID,theHanlderLocation Adds to an Array (stored in a GlobalProperty of StackUtil) as so: MessageArray[theMessageID] = theHanlderLocation If theMessageID is already in the Array and the Location is not already in the data part of the array, then it is appended, so the array looks like this: Key Data "MessageX" ObjectX of Card 2 of Stack "StackMain",ObjectY of Card 2 of Stack ""StackMain" and is called like so: ListenForMessages("MessageX",the long name of me) function PutMessage theMessageID Looks up theMessageID in the Array built in ListenForMessages and calls (via a "send" statement) the handler with the name theMessageID at the location(s) specified in the data part of the array. As I said the Message handling functions seem to work fine in general, but not when PutMessage() is called from within a message handler OR when called from a different card that the one that called the initial message. Not sure which! Thanks a lot All the Best Dave On 22 Mar 2006, at 19:02, Mark Smith wrote: > What do these functions do? > > Mark > > On 22 Mar 2006, at 18:51, David Burgun wrote: > >> PutMessage() >> ListenForMessages() > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Wed Mar 22 14:15:48 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 22 Mar 2006 11:15:48 -0800 Subject: Acessing button scripts in a HC stack ? - Closing Thread In-Reply-To: <3574fbb8132b78c3c3c97eba11211041@wanadoo.fr> References: <3574fbb8132b78c3c3c97eba11211041@wanadoo.fr> Message-ID: Remember to convert the XCMDs & XFCNs to revolution equivalents or no operation FIRST. Name the replacements with the same name of the XFCN. Then getting it all to work together will be a lot easier. >Hi from Paris, > >Thanks for all your responses (especially Sarah & >Jacqueline). > >I was stupid enough to think that in Rev, the reference >"bg" was invalid, so I didn't even try it. > >I now have several ways to get what I want. > >On the comments about WHY I want to convert my >HC stacks : > >1 - My HC stacks look so DRAB, compared to Rev, >2 - My HC field contents are badly displayed in Rev, >3 - My HC stacks lean heavily on XFCN's and XCMD's, > and so they don't run successfully, >4 - I want to leave the HC world (with regrets), before > Apple pulls the plug on OS9, and all the applications > that go with it, >5 - I want to run some of my stacks on the PC, to be able to > distribute them to my family (Family Tree), or my music > collegues (Song Catalogue). There are still a few people > in this world who insist on using PC's ...... >6 - I have unlimited time and patience on my 3 computers, and > even after 40 years of programming, I love using Rev. > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From bobs at twft.com Wed Mar 22 14:21:49 2006 From: bobs at twft.com (Robert Sneidar) Date: Wed, 22 Mar 2006 11:21:49 -0800 Subject: use-revolution Digest, Vol 30, Issue 57 In-Reply-To: <20060322035306.6E9C5825669@mail.runrev.com> References: <20060322035306.6E9C5825669@mail.runrev.com> Message-ID: <39FB8EA1-27BA-4852-9B9D-3DE0DDBC40C4@twft.com> Thanks Sarah great tip! It works great for development, which I needed presently. I will in the future be making a card which will act as a table listing function for various tables and their respective data sets, and so I will need to change them on the fly, by passing the tab stops along with the table and fields I want to display. To that end I wrote a simple function which converts column widths eg. 1,2,3,4 into tab stops eg 1,3,6,10. I will post it as soon as I am sure I have the bugs worked out. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Mar 21, 2006, at 7:53 PM, use-revolution-request at lists.runrev.com wrote: > The tabstops are a cumulative number representing the pixels from the > left of the field for each stop. If you set them to "120,125" the > first column will be 120 pixels wide and all other columns will be 5 > pixels wide. > > I recommend Frederic Rinaldi's revTabRuler plugin which now comes as > one the the standard plugins in your Rev installation. It allows you > to set tabStops graphically by dragging them along in his palette. I > wrote an article about it some time ago for revJournal > . Just ignore the > installation instructions as it should already be in the plugins menu. > > Cheers, > Sarah > From kray at sonsothunder.com Wed Mar 22 14:27:11 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 22 Mar 2006 13:27:11 -0600 Subject: Editing a VB script from within Revolution In-Reply-To: Message-ID: On 3/22/06 1:10 PM, "Thomas McGrath III" <3mcgrath at adelphia.net> wrote: > Ken, > > If I understand this the "VBS" will run if "VB Script" is in > pSriptType because there is no break after the case "VB Script"? > I just never wrote a switch that way and well, this is the first time > I've seen that. Yes you're right. If there's no "break", the case will fall through to the next case. I use this to provide different options to the end user. > What is the difference between straight to console and not? Why is > that important? Excellent question, and unfortunately one I can't remember! :-) I remember putting it into the code for others that may want to use the option, but I never have. And after looking on Microsoft's site, it looks like it may be no longer an option. So just ignore it for now. > Lastly, I notice that Python is not among the parameters. Is it not a > choice or is it so different as to not work in this case? To be honest, I know so little about Python that I didn't know if you can execute Python code in a similar way as VB Script. Do you know if it can? I'd love to extend stsDoScript, but don't know what needs to be done. > P.S. I just tried a vb script stored in a field and it worked and is > awesome. > > Thank you so much for this. My pleasure! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dburgun at dsl.pipex.com Wed Mar 22 14:28:09 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 22 Mar 2006 19:28:09 +0000 Subject: Weirdness Passing Messages In-Reply-To: <79D9D0FA-2E5A-48CD-B0C9-E8D8F7AA97B5@maseurope.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> <4CAD5779-B9B9-11DA-8FFE-0030657E1638@pon.net> <6A75A57F-22E3-4039-A009-50B5093C2980@inspiredlogic.com> <68403533-585E-4836-A0FF-AD091C027707@dsl.pipex.com> <79D9D0FA-2E5A-48CD-B0C9-E8D8F7AA97B5@maseurope.net> Message-ID: Hi, Update: If I put a breakpoint in Card2:ObjectX on the statement: put "MessageY" into me and then press the button in Card1:ObjectA and when I hit the breakpoint use the App Browser Window to manually select Card2 (so that it is shown instead of Card1, then the field is set to "MessageY" as expected, so it looks like the fact that the message handler is being called when Card2 is not selected is causing the put statement to not work!!! Any Ideas?? Cheers Dave Hi, function ListenForMessages theMessageID,theHanlderLocation Adds to an Array (stored in a GlobalProperty of StackUtil) as so: MessageArray[theMessageID] = theHanlderLocation If theMessageID is already in the Array and the Location is not already in the data part of the array, then it is appended, so the array looks like this: Key Data "MessageX" ObjectX of Card 2 of Stack "StackMain",ObjectY of Card 2 of Stack ""StackMain" and is called like so: ListenForMessages("MessageX",the long name of me) function PutMessage theMessageID Looks up theMessageID in the Array built in ListenForMessages and calls (via a "send" statement) the handler with the name theMessageID at the location(s) specified in the data part of the array. As I said the Message handling functions seem to work fine in general, but not when PutMessage() is called from within a message handler OR when called from a different card that the one that called the initial message. Not sure which! Thanks a lot All the Best Dave On 22 Mar 2006, at 19:02, Mark Smith wrote: > What do these functions do? > > Mark > > On 22 Mar 2006, at 18:51, David Burgun wrote: > >> PutMessage() >> ListenForMessages() > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Wed Mar 22 14:38:23 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 22 Mar 2006 14:38:23 -0500 Subject: Editing a VB script from within Revolution In-Reply-To: References: Message-ID: <2F36ECEB-22C3-4700-8C8B-594153F136B3@adelphia.net> Ken, Thanks, So which would the default be? straight to console = "" or not? I will look into Python. Not sure myself since python scripts use Python or PythonWin to execute. Thanks again, Tom On Mar 22, 2006, at 2:27 PM, Ken Ray wrote: > >> What is the difference between straight to console and not? Why is >> that important? > > Excellent question, and unfortunately one I can't remember! :-) > > I remember putting it into the code for others that may want to use > the > option, but I never have. And after looking on Microsoft's site, it > looks > like it may be no longer an option. So just ignore it for now. > >> Lastly, I notice that Python is not among the parameters. Is it not a >> choice or is it so different as to not work in this case? > > To be honest, I know so little about Python that I didn't know if > you can > execute Python code in a similar way as VB Script. Do you know if > it can? > I'd love to extend stsDoScript, but don't know what needs to be done. Thomas J McGrath III 3mcgrath at adelphia.net 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 From jacque at hyperactivesw.com Wed Mar 22 14:38:36 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Mar 2006 13:38:36 -0600 Subject: clipboarddata["html"] problem In-Reply-To: <032220061621.5064.442179880008F261000013C8220730079309079D0D039F@comcast.net> References: <032220061621.5064.442179880008F261000013C8220730079309079D0D039F@comcast.net> Message-ID: <4421A7BC.1080004@hyperactivesw.com> pmbrig at comcast.net wrote: > I am using a button to put a text field on the clipboard. I set the > clipboarddata["html"] to the htmltext of the field, then when I try > to paste into MS Word, my field formatting does not come through. > Instead, the default textFont and textSize for the stack is what > determines the format of the pasted text -- I have experimented with > this, and changing the field properties has zero effect on the paste, > whereas changing the stack properties changes the paste. As an added > complication, though, setting the textFont of the stack works > perfectly, but when I set the textSize of the stack to 10, it comes > through as 12. All other sizes work the way they are supposed to: > stack textSize of 9 results in size 9 text in the paste, stack > textSize of 14 comes through as 14, etc. Only stack textSize of 10 > comes through as 12. > > here's the relevant portion of the script: > > put fld "wordPath" into wordpath > put fld "letterPath" into letterPath > put theHdr into fld "formatPrintText" > set the textFont of fld "formatPrintText" to "Bookman Old Style" > set the textSize of fld "formatPrintText" to "10" > set the clipboarddata["html"] to the htmltext of fld "formatPrintText" > set the clipboarddata["text"] to theHdr -- * see below > launch letterPath with wordpath > > * (I've tried not setting the clipboarddata["text"] and it makes no > difference.) > > I'm puzzled. The clipboarddata["html"] clearly is not getting set > properly. I am using Dreamcard v2.6.1 build 152 on a Mac iBook > running OSX v10.4.5, and Word for Mac v11.2.3. The problem with the > size 10 getting seen as size 12 appears to be a Word problem, since > the paste into another text app comes through as expected. > > Why doesn't the htmlText of the field get onto the clipboard? Why in > the world should the default text properties of the stack have any > effect here? When you set the text properties of a field, the text it contains has no styling of its own, it uses inheritance of the field's properties to give an appearance of styling. Therefore, when you copy that text, there is no particular htmltext assigned to it. To fix that, set the styling of the actual characters in the text itself, which does assign html properties to the text: set the textfont of char 1 to -1 of fld "formatPrintText" \ to "Bookman Old Style" set the textsize of char 1 to -1 of fld "formatPrintText" to 10 This should give the results you are looking for. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 22 14:42:01 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Mar 2006 13:42:01 -0600 Subject: Progress Made? In-Reply-To: <4420E901.40403@chipp.com> References: <44209CFC.9000808@qwest.net> <4420D8AA.9060003@hyperactivesw.com> <4420E901.40403@chipp.com> Message-ID: <4421A889.607@hyperactivesw.com> Chipp Walters wrote: > I, too, keep having Rev crash in the middle of programming (twice in the > last hour). I was wondering if there's a 'recipe' for this so I can > watch out for it? I'm not sure. It appears to have something to do with copying and pasting into the script editor, so that's when you should be most careful. Save a lot. > > Also, any word on when we can expect a patch? The update release, due out Very Soon. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 22 14:47:43 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Mar 2006 13:47:43 -0600 Subject: Progress Made? In-Reply-To: <4420EA67.6050106@qwest.net> References: <44209CFC.9000808@qwest.net> <4420D8AA.9060003@hyperactivesw.com> <4420EA67.6050106@qwest.net> Message-ID: <4421A9DF.1050809@hyperactivesw.com> Arthur Urban wrote: > It would be great if I could help out. Is there a specific means to > generate a crash log? I'd like some confirmation about this from a regular XP user, but it is my understanding that if you get the error dialog from Windows saying the program must exit, there will be a button at the bottom of the dialog offering to show more detail. If you click that, you will see a bunch of gibberish. That gibberish is the crash log, which you can copy and paste into a text file. However, I don't use Windows as my daily platform so if someone knows more, please post. And thanks for your willingness to help. I think they have this one isolated now, but in the future any crashes should always be reported to Bugzilla. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Mar 22 14:50:52 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Mar 2006 11:50:52 -0800 Subject: Automated testing Message-ID: <4421AA9C.2020409@fourthworld.com> I'm putting together an article and toolkit to help with code base analysis for revJournal, and after slicing and dicing my way through dozens of stacks it had me wondering about the role of automated testing in Rev projects. What sorts of automated tests are common with other languages, and what would be valuable in Rev? Do any of you do automated testing? If so, what do you test and how? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From Andre.Bisseret at inria.fr Wed Mar 22 14:57:07 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q?Andr=E9.Bisseret?=) Date: Wed, 22 Mar 2006 20:57:07 +0100 Subject: clipboarddata["html"] problem In-Reply-To: <032220061621.5064.442179880008F261000013C8220730079309079D0D039F@comcast.net> Message-ID: <0A846412-B9DE-11DA-A4BC-000393DBAA2A@inria.fr> Le Wednesday, 22 Mar 2006, ? 17:21 Europe/Paris, pmbrig at comcast.net a ?crit : > I am using a button to put a text field on the clipboard. I set the > clipboarddata["html"] to the htmltext of the field, then when I try to > paste into MS Word, my field formatting does not come through. > Instead, the default textFont and textSize for the stack is what > determines the format of the pasted text -- I have experimented with > this, and changing the field properties has zero effect on the paste, > whereas changing the stack properties changes the paste. As an added > complication, though, setting the textFont of the stack works > perfectly, but when I set the textSize of the stack to 10, it comes > through as 12. All other sizes work the way they are supposed to: > stack textSize of 9 results in size 9 text in the paste, stack > textSize of 14 comes through as 14, etc. Only stack textSize of 10 > comes through as 12. > > here's the relevant portion of the script: > > put fld "wordPath" into wordpath > put fld "letterPath" into letterPath > put theHdr into fld "formatPrintText" > set the textFont of fld "formatPrintText" to "Bookman Old Style" > set the textSize of fld "formatPrintText" to "10" > set the clipboarddata["html"] to the htmltext of fld "formatPrintText" > set the clipboarddata["text"] to theHdr -- * see below > launch letterPath with wordpath > > * (I've tried not setting the clipboarddata["text"] and it makes no > difference.) > > I'm puzzled. The clipboarddata["html"] clearly is not getting set > properly. I am using Dreamcard v2.6.1 build 152 on a Mac iBook running > OSX v10.4.5, and Word for Mac v11.2.3. The problem with the size 10 > getting seen as size 12 appears to be a Word problem, since the paste > into another text app comes through as expected. Hi Peter, > Why doesn't the htmlText of the field get onto the clipboard? I recently discovered that, after "select text of fld "suchField" : 1 - put the selectedText into fld "essai" -->> doesn't keep format when paste 2 - put the selection into fld "essai" -- >> idem 3 - set the clipboardData["text"] to the selectedText -->> idem 4 - set the clipboardData["text"] to the selection -- >> idem BUT : 5 - copy the selectedText -->> paste in Word remains formatted 6 - copy the selection -- >> remains formatted (Mac G4 ; 0SX 10.2.8 ; RR ; Word 10.1.0) Best regards from Grenoble Andr? > Why in the world should the default text properties of the stack have > any effect here? > > Peter M. Brigham > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From kray at sonsothunder.com Wed Mar 22 14:58:44 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 22 Mar 2006 13:58:44 -0600 Subject: Editing a VB script from within Revolution In-Reply-To: <2F36ECEB-22C3-4700-8C8B-594153F136B3@adelphia.net> Message-ID: On 3/22/06 1:38 PM, "Thomas McGrath III" <3mcgrath at adelphia.net> wrote: > Ken, > > Thanks, So which would the default be? straight to console = "" or not? Yeah, just leave the third param blank. > I will look into Python. Not sure myself since python scripts use > Python or PythonWin to execute. Cool... if you come up with something let me know offlist... Thanks, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From henk at iglow-media.nl Wed Mar 22 15:00:56 2006 From: henk at iglow-media.nl (Henk van der Velden) Date: Wed, 22 Mar 2006 21:00:56 +0100 Subject: imagedata in Word XML In-Reply-To: <20060322180009.7D81C825C85@mail.runrev.com> References: <20060322180009.7D81C825C85@mail.runrev.com> Message-ID: <561A47E0-3BFC-4E73-AACF-B6CBF41E7418@iglow-media.nl> Ken, putting binary data from a Word XML file into an image on a Rev card is quite straightforward. There is a node containing the image data. put revXMLNodeContents(treeID, node) into theData create img put it into theImg set the text of image theImg to base64Decode(theData) The hard part of course is to parse Word XML in a proper manner. I'm working on that right now. I'll see where I get. If it works OK, I'm willing to share my code, of course. Henk On 22-mrt-2006, at 19:00, use-revolution-request at lists.runrev.com wrote: >> I've done some testing, here are my results: >> - when an image is loaded, it's text property is not set; when it is >> imported, it is. >> - when the text property of an image is changed, the imageData, >> width, height etc also change. >> >> So now I can use the binary data from the Word XML file, decode >> them, create a new, empty image on the card and set the text of that >> image to the decoded binary data. > > Henk, is this code that can be shared with the Rev community? If > so, that > would be great... From ambassador at fourthworld.com Wed Mar 22 15:36:42 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Mar 2006 12:36:42 -0800 Subject: MVC in Rev? Message-ID: <4421B55A.7000801@fourthworld.com> I've been reworking my framework and its data management engine to explore ways it can shorten my development time even more. Since MVC is the buzzword du jour, I've been looking into ways of implementing MVC in Rev. Factoring code, data, and presentation is generally easy in Rev, and with getProp and setProp it's not hard to establish triggers for updating UI elements. But as for MVC per se, I'm not yet certain that particular OOP pattern is a good fit for Transcript. With Cocoa it makes a lot of sense, mostly because Cocoa is inherently OOP and the MVC classes are built in from the ground up. There it fits like a glove; in fact, it *is* the glove. But if we step back from the specifics of MVC implementations in other languages and look instead to the goals it serves and the benefits it provides, I'm left wondering: Are there simpler ways to get the same productivity benefits in Rev without adhering to formal definitions of MVC for other languages? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From katir at hindu.org Wed Mar 22 15:54:13 2006 From: katir at hindu.org (Sivakatirswami) Date: Wed, 22 Mar 2006 10:54:13 -1000 Subject: ANN: Hinduism Today Digital Edition Credits Message-ID: The Hinduism Today Digital Edition remote client PDF downloader and back issues manager will be released on April 1st. Code name "Brazil" (smile). More later... Bottom line for today's announcement: Your Name May Be In the Credits! more below: --------- While I have not offered much to others on this list through the years, we have received a lot.. Our small attempt to "give back" is in the About field where we have major credits for Rev. 250,000 unique IP's hit our web sites every month, factor out multiple rotated IP's on single proxy session we may have "real" visitor count of about 220,000 a month. It's not Newsweek, but is also not peanuts. Of course just because people bums into your site doesn't mean anything... but, suffice it to say, our Revolutiobn application will be getting a some exposure and much of this is from within the India, Indian-American, Southeast Asian, Hindu software developer world, which is huge. If you DO NOT want to be on this list please email me right away... (off list of course) If you DO want to be on this list, email me the web site URL that we should use to link your name... We have set up a referrals CGI, people clicking on the links in the "about" field will be logged on our server (transparently) and then redirected to your site. I will be able to get stats on click thrus... This whole thing, top to bottom is Rev driven including all the CGIs, with a PostGRESQL back end on the web server. Please email me off list with your proper name and web site you want your link to go to. I've tried to include all the "great ones" who have been helping all of us for over 5 years. If you see some name missing of someone who has done yoeman service to ll of us.. please send that. If you prefer only your company name that's also fine... let me know. Of course, if you don't want to be on the list we can remove your name. =============================== Hinduism Today Digital Edition Application and Web Services Developed by Andre Alves Garzia, Niteroi, Brazil With code library contributions from: Ken Ray, Sons of Thunder (libXML); AltuitInc (altSplash.rev); Dan Shafer SmartEbooks; Shao Sean (getMXRecords) Created in and driven by Runtime Revolution. REV LOGO HERE: Appreciation Thanks to the members of the Revolution users community for their generous technical support: Richard Gaskin, Fourth World (for Leading the Way); Pierre Sahores, France; Frederic Rinaldi, Many Bases, France; Ro Nagey, Royal Software Inc.; Ken Ray, Sons of Thunder; Scott Rossi, Tactile Media; Jan Schenkel, Professional Software; Sarah Reichelt, educator; Klaus Major, Germany; Rob Cozens, Serendipity Software; Jacqueline Landman Gay, HyperActive Software; Troy Rollins, RPSystems, Ltd. Chipp Walters, Altuit; Hugh Senior, The Flexible Learning Company, UK; Jerry Daniels, Daniels and Mara; Geoff Canyon, Inspired Logic; Shao Sean, Canada; Andu Novac, Archeopterix Engineering; Eric Chatonet, So Smart Software, France; Monte Goulding, Sweat Technologies and many others. ============================== [Who did I miss?] Best Wishes from Hawaii Sivakatirswami From rcozens at pon.net Wed Mar 22 16:48:42 2006 From: rcozens at pon.net (Rob Cozens) Date: Wed, 22 Mar 2006 13:48:42 -0800 Subject: Making the move... In-Reply-To: References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <5BBCAB2B-2190-4B8B-8EF0-11F9CD8244C8@maseurope.net> Message-ID: Sarah, Mark, et al: > arrays are things that don't come > naturally to me, so I probably ignore them when they would be useful. > Arrays, in the traditional sense (ie: element(1)...element(n)), were part and parcel of my programming instruction in BASIC and my first professional programming in FORTRAN; but I rarely use them today. But Transcript keyed arrays make wonderful run-time tables. SDB Client/Server uses: local clientDbList -- array by clientId:dbId1, dbId2, etc local dbClientList -- array by dbId:client id,writeAccessType,current position local indexList -- array by dbId:cardIndex local lockedRecordList -- array by dbId: record id, client id local sdbDbPathList -- array by dbId: db stack path, autoLockOn, readLocksEnforced local sdbFieldDelimiter -- array by record type local sdbFieldEdits -- array by record type local sdbFieldList -- array by recordType: field name list local sdbTranslationList -- array by clientId: 1=ASCII>ANSI, 0=None, or -1=ANSI>ASCII + tab & ipcProtocol [tp,ae,pc,dc,sf] so... clientDbList[sdbClientId] gives me a list of the ids of all dbs the client has open dbClientList[sdbDbId] gives me a list of all clients using the db, including access type & current record position indexList[sdbDbId] gives me the index to the db lockedRecordList[sdbDbId] gives me a list of the ids of all locked records along with the id of the user with the lock etc. I find this very powerful and easier to implement than alternative syntax. 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) From livfoss at mac.com Wed Mar 22 17:16:58 2006 From: livfoss at mac.com (Graham Samuel) Date: Wed, 22 Mar 2006 23:16:58 +0100 Subject: How can I pass a handler a long ID as a string? Message-ID: <82F86D27-4743-4F18-8ECE-D2221797A5FE@mac.com> Yes, Dave's suggestion works in context - but my problem that the context of the handler is different from that of the field whose id I want to pass as a parameter: this has to be true if the handler is to be at all worthwhile, as it does its work on ids of objects from various stacks etc. That's where the difficulty lies. Geoff Canyon's idea of making sure the RR engine can't parse the id reference seems to be the way to go: > I've hit this before. I generally postfix a cr like so: > > put (the long id of fld "myField" of cd "myCard" of stack > "myStack") & cr into tParam > myHandler tParam > > Then in myHandler: > > on myHandler pID > delete char -1 of pID -- ready to go now > > or if it could be a list: > > on myHandler pIDList > repeat for each line tID in pIDList Although somehow I would expect there to be a way of passing a 'parse- able' string **as** a string, but apparently not. Thanks to both of you. Graham On Wed, 22 Mar 2006 17:09:33 +0000, David Burgun wrote: > Hi, > > > Instead of doing: > > myHandler (the long id of fld "myField" of cd "myCard" of stack > "myStack") > > do > > myHandler (the long id of me) > > > That should fix it! > > All the Best > Dave > > On 22 Mar 2006, at 14:47, Graham Samuel wrote: > > >> I've never come across this before, and it's got me confused. I >> have a handler, say "myHandler" that has a couple of parameters >> which are intended to be the long ids of objects (actually fields). >> The handler manipulates the fields, something like >> >> on myHandler para1 >> >> do "put empty into"&¶1 >> >> ... >> >> end myHandler >> >> I find that this works if the parameters are set in the same >> context as the handler itself - for example in a 'mouseUp' handler >> on the card where I've put the code of myHandler, but if I call it >> from elsewhere with a call like >> >> myHandler (the long id of fld "myField" of cd "myCard" of stack >> "myStack") >> >> I find that during the call the engine evaluates the parameter and >> passes me the contents of the field, and not the reference to the >> field. What I want is to pass the long id to my handler as a >> **string**. I can't see why this doesn't work, and more importantly >> so far I'm stuck for a way round it. I've tried >> >> put the long id of fld "myField" of cd "myCard" of stack >> "myStack" into temp >> myHandler temp >> >> but it has exactly the same effect. >> >> What am I doing wrong? ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From livfoss at mac.com Wed Mar 22 17:33:17 2006 From: livfoss at mac.com (Graham Samuel) Date: Wed, 22 Mar 2006 23:33:17 +0100 Subject: Keeping windows together on Windows XP Message-ID: <1C1D6C1C-BC32-4D6B-9C10-8E93B2D8D90F@mac.com> Is it just me, or is it rather difficult to keep a number of different windows (stacks) together on Windows XP without the possibility of a window from another application getting in between them? For example, I have a mainstack, a couple of palettes, and a kind of homegrown backdrop. I can force the palettes to the front, the mainstack to the middle and the backdrop to the back, but I can't stop for example a Windows Explorer window from getting in between the two non-palette stacks. What I would like is to take charge of the whole front of the screen while my app is active - is this possible? Haven't found anything about it in the RR docs. I know about the resumeStack message but I'm not sure if I could use it to accomplish what I want. TIA Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From kray at sonsothunder.com Wed Mar 22 17:42:43 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 22 Mar 2006 16:42:43 -0600 Subject: When closed, does a substack whose destroyStack is true remains in memory ? In-Reply-To: Message-ID: On 3/22/06 6:32 AM, "Andr?.Bisseret" wrote: > Hi ! > > As far as a substack is concerned, > from the Doc (on save, close, destroyStack?) > I understand that : > even if its destroyStack property is set to true, > If I save and close this substack while the main stack remains opened, > then this substack remains in memory. Yes, this is true - actually when you loaded the mainstack, all of its substacks get loaded into memory automatically and can't be purged until the mainstack itself is closed. > P.S. : by the way, is it a means to check if a closed stack (or > substack) is still in memory ? Well, as I mentioned above, closed substacks are still in memory if the mainstack is, so you could check for the mainstack in "the windows" or in "the stacks" to see if it is in memory. You can also use "the mainstacks" to get a list of stacks that are in memory. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Wed Mar 22 17:49:30 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 22 Mar 2006 16:49:30 -0600 Subject: Keeping windows together on Windows XP In-Reply-To: <1C1D6C1C-BC32-4D6B-9C10-8E93B2D8D90F@mac.com> Message-ID: On 3/22/06 4:33 PM, "Graham Samuel" wrote: > Is it just me, or is it rather difficult to keep a number of > different windows (stacks) together on Windows XP without the > possibility of a window from another application getting in between > them? For example, I have a mainstack, a couple of palettes, and a > kind of homegrown backdrop. I can force the palettes to the front, > the mainstack to the middle and the backdrop to the back, but I can't > stop for example a Windows Explorer window from getting in between > the two non-palette stacks. What I would like is to take charge of > the whole front of the screen while my app is active - is this > possible? Haven't found anything about it in the RR docs. I know > about the resumeStack message but I'm not sure if I could use it to > accomplish what I want. This is a problem on OS X too, Graham. Unfortunately there isn't a way to do this without reopening all of your stacks as soon as one gets a resumeStack message (and that has other unwanted effects - both visual and not). However you're not alone - this happens with Word, Excel, and a whole host of other applications that have multiple windows up. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From thhulme at mac.com Wed Mar 22 17:40:50 2006 From: thhulme at mac.com (thulme) Date: Wed, 22 Mar 2006 14:40:50 -0800 (PST) Subject: Message Box ? Message-ID: <3542723.post@talk.nabble.com> Hi All, I'm a newbie reading through Dan Shafer's ebook. My question has to do with page 273 of the book which states that typing (open file "MyToDo.txt") into the message box will create a file if none exisits. Nothing gets created when I do this. All that happens is the line I entered gets highlighted. No file created and no error message is displayed in the result frame. I have entered other commands and they work ok. Can anyone (Dan) explain what I'm doing wrong? Regards, Tim -- View this message in context: http://www.nabble.com/Message-Box--t1327177.html#a3542723 Sent from the Revolution - User forum at Nabble.com. From devin_asay at byu.edu Wed Mar 22 18:10:52 2006 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 22 Mar 2006 16:10:52 -0700 Subject: Message Box ? In-Reply-To: <3542723.post@talk.nabble.com> References: <3542723.post@talk.nabble.com> Message-ID: On Mar 22, 2006, at 3:40 PM, thulme wrote: > > Hi All, > > I'm a newbie reading through Dan Shafer's ebook. My question has to > do with > page 273 of the book which states that typing (open file > "MyToDo.txt") into > the message box will create a file if none exisits. Nothing gets > created > when I do this. All that happens is the line I entered gets > highlighted. No > file created and no error message is displayed in the result frame. > I have > entered other commands and they work ok. Can anyone (Dan) explain > what I'm > doing wrong? One common reason for this to happen is that you do not have write permission for the defaultFolder. (It's more of a problem on Unix and Mac OS X systems.) On startup, the defaultFolder property is always set to the folder that contains the Revolution application. Not all users on a system will have write access to that folder. Try changing the defaultFolder to a folder that you do have write permission for (I'm assuming OSX here): set the defaultFolder to /Users/myusername/Desktop/ Then try it again. Chances are it will work this time. If this doesn't fix it, try switching to the multi-line message box and enter: openFile "myfile.txt" put the result Then hit the enter key. If there is an error 'the result' should contain information about the error. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From thhulme at mac.com Wed Mar 22 18:25:26 2006 From: thhulme at mac.com (thulme) Date: Wed, 22 Mar 2006 15:25:26 -0800 (PST) Subject: Message Box ? In-Reply-To: References: <3542723.post@talk.nabble.com> Message-ID: <3543393.post@talk.nabble.com> >set the defaultFolder to /Users/myusername/Desktop/ >Then try it again. Chances are it will work this time. If this >doesn't fix it, try switching to the multi-line message box and enter: >openFile "myfile.txt" >put the result >Then hit the enter key. If there is an error 'the result' should >contain information about the error. Verified I have permissions (Win XP) and entered the two line above in multiline. I get: Message execution error: Error description: Handler: can't find handler If I enter closeFile command i get result of : "file not open" -- View this message in context: http://www.nabble.com/Message-Box--t1327177.html#a3543393 Sent from the Revolution - User forum at Nabble.com. From thhulme at mac.com Wed Mar 22 18:48:08 2006 From: thhulme at mac.com (thulme) Date: Wed, 22 Mar 2006 15:48:08 -0800 (PST) Subject: Message Box ? In-Reply-To: <3542723.post@talk.nabble.com> References: <3542723.post@talk.nabble.com> Message-ID: <3543696.post@talk.nabble.com> Figured it out - have to hit enter key twice - then file shows up in my defalut folder. Go figure! Thanks Devin -- View this message in context: http://www.nabble.com/Message-Box--t1327177.html#a3543696 Sent from the Revolution - User forum at Nabble.com. From liamlambert at mac.com Wed Mar 22 19:12:08 2006 From: liamlambert at mac.com (liamlambert) Date: Thu, 23 Mar 2006 00:12:08 +0000 Subject: numberFormat Message-ID: <05BB911B-FBB1-4810-8FB9-ED613E6B6F5A@mac.com> I have this bit of code the numberFormat is not giving me two zeros after the decimal point Why ??? thanks in advance global gConID get fld "showid" put it into tshowid set the numberFormat to "#0.00" put "SELECT sum (child) FROM Booking where showid = '"& tshowid & "'" into tChild put revdb_querylist(,,gConID,tChild) into tcSeats put tCseats into fld "child" put "SELECT sum (adult) FROM Booking where showid = '"& tshowid & "'" into tAdult put revdb_querylist(,,gConID,tAdult) into tAseats put tAseats into fld "Adult" put "SELECT sum (cashDb) FROM Booking where showid = '"& tshowid & "'" into tCash put revdb_querylist(,,gConID,tCash) into tCashFld put tCashFld into fld "cash" Liam Lambert liamlambert at mac.com IRELAND From wouter.abraham at scarlet.be Wed Mar 22 19:22:39 2006 From: wouter.abraham at scarlet.be (wouter) Date: Thu, 23 Mar 2006 01:22:39 +0100 Subject: Message Box ? In-Reply-To: <3543393.post@talk.nabble.com> References: <3542723.post@talk.nabble.com> <3543393.post@talk.nabble.com> Message-ID: On 23 Mar 2006, at 00:25, thulme wrote: >> openFile "myfile.txt" >> put the result > > I get: Message execution error: > Error description: Handler: can't find handler Hi Thulme, This means you should have a handler < on openFile > or you can enter in the msg box: open file "myfile.txt" Greetings, Wouter From chipp at chipp.com Wed Mar 22 19:22:35 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 22 Mar 2006 18:22:35 -0600 Subject: numberFormat In-Reply-To: <05BB911B-FBB1-4810-8FB9-ED613E6B6F5A@mac.com> References: <05BB911B-FBB1-4810-8FB9-ED613E6B6F5A@mac.com> Message-ID: <4421EA4B.5050208@chipp.com> Hi Liam, You need to perform a math action on it first. So, do: put it into tShowid add 0 to tShowID should do it. liamlambert wrote: > I have this bit of code the numberFormat > is not giving me two zeros after the decimal point > Why ??? > thanks in advance > > global gConID > get fld "showid" > put it into tshowid > set the numberFormat to "#0.00" > put "SELECT sum (child) FROM Booking where showid = '"& tshowid & "'" > into tChild > put revdb_querylist(,,gConID,tChild) into tcSeats > put tCseats into fld "child" > put "SELECT sum (adult) FROM Booking where showid = '"& tshowid & "'" > into tAdult > put revdb_querylist(,,gConID,tAdult) into tAseats > put tAseats into fld "Adult" > put "SELECT sum (cashDb) FROM Booking where showid = '"& tshowid & > "'" into tCash > put revdb_querylist(,,gConID,tCash) into tCashFld > put tCashFld into fld "cash" > > Liam Lambert > liamlambert at mac.com > IRELAND > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- -------------- Chipp Walters www.altuit.com From johnpatten at mac.com Wed Mar 22 19:31:11 2006 From: johnpatten at mac.com (John Patten) Date: Wed, 22 Mar 2006 16:31:11 -0800 Subject: FTP and cross platform issues... Message-ID: <10558498.1143073871474.JavaMail.johnpatten@mac.com> 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. Then I fired up an OSX Tiger Powerbook. I tried Chip's FTPer utility again, same info as on the WindowsXP machine, and it worked without any problem. Anybody have an idea why it would work on a MAc and not work on the WindowsXP box? Thanks in advance!! John Patten SUSD From liamlambert at mac.com Wed Mar 22 19:44:25 2006 From: liamlambert at mac.com (liamlambert) Date: Thu, 23 Mar 2006 00:44:25 +0000 Subject: numberFormat Message-ID: <8C398337-A91E-4B53-BC57-6D00812C8C36@mac.com> Thanks Chipp Liam Lambert liamlambert at mac.com IRELAND From europe at ehug.info Wed Mar 22 19:56:10 2006 From: europe at ehug.info (Mark Schonewille) Date: Thu, 23 Mar 2006 01:56:10 +0100 Subject: FTP and cross platform issues... In-Reply-To: <10558498.1143073871474.JavaMail.johnpatten@mac.com> References: <10558498.1143073871474.JavaMail.johnpatten@mac.com> Message-ID: <4421F22A.2040303@ehug.info> Hi John, Make sure that both the server and the client (Rev) are set to use either passive or active FTP. If you enable passive FTP, you have to set Rev's ftp mode to passive as well: libURLSetFTPMode "passive" You may have to set the socketTimeoutInterval to a really big number. If you'd like to do a test, I'm working on an FTP client. Contact me off-list if you would like to give it a try. Best, Mark 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. > > Then I fired up an OSX Tiger Powerbook. I tried Chip's FTPer utility again, same info as on the WindowsXP machine, and it worked without any problem. > > Anybody have an idea why it would work on a MAc and not work on the WindowsXP box? > > Thanks in advance!! > > John Patten > SUSD -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From sl at trackandfieldnews.com Wed Mar 22 20:05:48 2006 From: sl at trackandfieldnews.com (Sieg Lindstrom) Date: Wed, 22 Mar 2006 17:05:48 -0800 Subject: the shiftkey suddenly doesn't work Message-ID: I just replaced a crashed hard drive and after reinstalling Revolution, the shiftKey and the optionKey return "up" even if my shift or option key is down. The shift and option keys work fine, but Revolution doesn't seem to know what the state of the keys is. Thanks in advance for any suggestions! Sieg Lindstrom From HyperChris at aol.com Wed Mar 22 20:17:20 2006 From: HyperChris at aol.com (HyperChris at aol.com) Date: Wed, 22 Mar 2006 20:17:20 EST Subject: MVC in Rev? Message-ID: <2f7.1283af7.31535120@aol.com> to my fellow ludites also not familiar with that particular acronym ... http://en.wikipedia.org/wiki/Model-view-controller Looks like great fun! I can't wait to buy one. From katir at hindu.org Wed Mar 22 19:29:31 2006 From: katir at hindu.org (Sivakatirswami) Date: Wed, 22 Mar 2006 14:29:31 -1000 Subject: "Arming" a pulldown menu button -- a hack Message-ID: <0E372B6B-85F9-40C8-8F3E-951E56445A6B@hindu.org> As we know, at least on Mac OSX, for a pulldown menu button, setting the autoArm, autohilite and Armed to true and applying a different icon to those states does not take effect. Nothing happens.. Worse: In fact one of those properties, if set to true, interferes with the proper action (menu does not open) So, we see now why those properties are not offered in the inspector for such menu buttons. So, I tried this work around... and it seems to work just fine... on mousewithin set the icon of me to 1115 end mousewithin on mouseleave set the icon of me to 1114 end mouseleave on menuPick pItemChosen switch pItemChosen ## do stuff here end switch end menupick Does anyone know if there are any caveats to this? the two mouse activity handlers to not see to interfere at all with functionality. Sivakatirswami From sarah.reichelt at gmail.com Wed Mar 22 20:33:05 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 23 Mar 2006 11:33:05 +1000 Subject: Getting started with libraries In-Reply-To: References: Message-ID: > Recent defences on the list of RunRev's capability with libraries has > made me realise how much I've missed out by not organising my own > work with libraries in mind. I would now like to make the move. but > I'm finding it quite hard to decide how to get started. As in the old > joke, to get there I shouldn't really have started from here... but > there it is. > > What I have is a few apps which work and have users etc, and which > contain common elements. Up to now these common sections were created > by wholesale copying of stacks and bits of code from a finished app > to the next one to be developed. I find this is such an awkward > process that I don't keep all the apps up to date in parallel. For > example in App 1, I have devised a way for the user to register and > enter a serial number to get a fully functional version of the > program; I copied this code into App 2, a process which was pretty > clumsy in the first place because App 1 and App 2 can't have ANY > stacks with the same name (unless I open two copies of RunRev, but > for some reason I'm nervous of this idea). Then as I developed App 2, > I improved on the stuff I got from App 1. But generally App 1 doesn't > benefit because it's too much of a hassle to retrofit the improved > code. Now if I did all this with libraries, I would be much better > off, since the most up to date version of any library could be > retrofitted without problems. Hi Graham, While not addressing the libraries issue, I do have a habit for naming stacks that I find very useful. Each project gets a prefix and all the stacks in that project have stacksNames starting with that prefix e.g. a current project is called "Temperature Monitor" so the stacks are all called "tm..." - tmPrefs, tmAbout, tmHelp etc. This is really useful when you want more than one project open as nearly all my projects have a Help stacks, a Prefs stacks and an About stack among the list. For your library stacks, again you want to make sure you will have mo confilcts when loading them in to any of your projects, so I suggest something similar e.g. gsLibFiles, gsLibGraphics etc. Remember that you may want to use other peoples' libraries at some stage, so adding an identifier unique to you is a good idea. Have a look at the Rev Interoperability Project guidelines for some more ideas along these lines. Cheers, Sarah From sarah.reichelt at gmail.com Wed Mar 22 20:34:52 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 23 Mar 2006 11:34:52 +1000 Subject: "Arming" a pulldown menu button -- a hack In-Reply-To: <0E372B6B-85F9-40C8-8F3E-951E56445A6B@hindu.org> References: <0E372B6B-85F9-40C8-8F3E-951E56445A6B@hindu.org> Message-ID: On 3/23/06, Sivakatirswami wrote: > As we know, at least on Mac OSX, for a pulldown menu button, setting > the autoArm, autohilite and Armed to true and applying a different > icon to those states does not take effect. Nothing happens.. Worse: > In fact one of those properties, if set to true, interferes with the > proper action (menu does not open) So, we see now why those > properties are not offered in the inspector for such menu buttons. > > So, I tried this work around... and it seems to work just fine... > > on mousewithin > set the icon of me to 1115 > end mousewithin > on mouseleave > set the icon of me to 1114 > end mouseleave > > on menuPick pItemChosen > > switch pItemChosen > ## do stuff here > > end switch > end menupick > > Does anyone know if there are any caveats to this? the two mouse > activity handlers to not see to interfere at all with functionality. > You may want to add a mouseRelease handler as well. This allows for the user mousing down on the control, moving off it and mousing up. I'm not sure that mouseLeave would get sent in those circumstances. Sarah From mark at maseurope.net Wed Mar 22 21:22:41 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 23 Mar 2006 02:22:41 +0000 Subject: Weirdness Passing Messages In-Reply-To: <30723811-F057-429A-8398-3725651B8159@dsl.pipex.com> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> <4CAD5779-B9B9-11DA-8FFE-0030657E1638@pon.net> <6A75A57F-22E3-4039-A009-50B5093C2980@inspiredlogic.com> <68403533-585E-4836-A0FF-AD091C027707@dsl.pipex.com> <79D9D0FA-2E5A-48CD-B0C9-E8D8F7AA97B5@maseurope.net> <30723811-F057-429A-8398-3725651B8159@dsl.pipex.com> Message-ID: <6415C794-548A-4070-BF06-08F7C580BA93@maseurope.net> Is it a context problem? It might be worth trying to replace put "MessageY" into me with put "MessageY" into I've always thought that 'me' always referred to the control whose script it appears in, but that's an assumption, not necessarily a fact... Mark On 22 Mar 2006, at 19:14, David Burgun wrote: > Hi, > > function ListenForMessages theMessageID,theHanlderLocation > > Adds to an Array (stored in a GlobalProperty of StackUtil) as so: > > MessageArray[theMessageID] = theHanlderLocation > > If theMessageID is already in the Array and the Location is not > already in the data part of the array, then it is appended, so the > array looks like this: > > Key Data > "MessageX" ObjectX of Card 2 of Stack "StackMain",ObjectY > of Card 2 of Stack ""StackMain" > > and is called like so: > > ListenForMessages("MessageX",the long name of me) > > > function PutMessage theMessageID > > Looks up theMessageID in the Array built in ListenForMessages and > calls (via a "send" statement) the handler with the name > theMessageID at the location(s) specified in the data part of the > array. > > As I said the Message handling functions seem to work fine in > general, but not when PutMessage() is called from within a message > handler OR when called from a different card that the one that > called the initial message. Not sure which! > > Thanks a lot > All the Best > Dave > > On 22 Mar 2006, at 19:02, Mark Smith wrote: > >> What do these functions do? >> >> Mark >> >> On 22 Mar 2006, at 18:51, David Burgun wrote: >> >>> PutMessage() >>> ListenForMessages() >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Wed Mar 22 21:40:06 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 22 Mar 2006 18:40:06 -0800 Subject: Keeping windows together on Windows XP In-Reply-To: Message-ID: Actually, I use the F10 key... tap it twice and Expose will show/bring to the front all the windows in the frontmost app. Also, tab-switching by ( cmd-tab, cmd-shift-tab ) which will show the tab display, then bring you back the the left-most app. Jim Ault Las Vegas On 3/22/06 2:49 PM, "Ken Ray" wrote: > On 3/22/06 4:33 PM, "Graham Samuel" wrote: > >> Is it just me, or is it rather difficult to keep a number of >> different windows (stacks) together on Windows XP without the >> possibility of a window from another application getting in between >> them? For example, I have a mainstack, a couple of palettes, and a >> kind of homegrown backdrop. I can force the palettes to the front, >> the mainstack to the middle and the backdrop to the back, but I can't >> stop for example a Windows Explorer window from getting in between >> the two non-palette stacks. What I would like is to take charge of >> the whole front of the screen while my app is active - is this >> possible? Haven't found anything about it in the RR docs. I know >> about the resumeStack message but I'm not sure if I could use it to >> accomplish what I want. > > This is a problem on OS X too, Graham. Unfortunately there isn't a way to do > this without reopening all of your stacks as soon as one gets a resumeStack > message (and that has other unwanted effects - both visual and not). > > However you're not alone - this happens with Word, Excel, and a whole host > of other applications that have multiple windows up. > > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pmbrig at comcast.net Wed Mar 22 21:56:45 2006 From: pmbrig at comcast.net (pmbrig at comcast.net) Date: Thu, 23 Mar 2006 02:56:45 +0000 Subject: (no subject) Message-ID: <032320060256.21223.44220E6C000B8545000052E7220642461309079D0D039F@comcast.net> OK I did what you suggest, but it's not working: put theHdr into fld "formatPrintText" set the textFont of char 1 to -1 of fld "formatPrintText" to "Bookman Old Style" set the textSize of char 1 to -1 of fld "formatPrintText" to "10" set the clipboarddata["html"] to the htmltext of fld "formatPrintText" -- set the clipboarddata["text"] to theHdr launch letterPath with wordpath This still gives a paste (into Word for OSX, or into a hypercard stack, or into Word 4 for OS9) in the textFont and textSize of the default stack properties, not what I set the properties of the field text to. I even tried using set the clipboarddata["html"] to the htmltext of char 1 to -1 of fld "formatPrintText" and that doesn't do it either. (Just for fun, I tried setting the stack textFont/textSize properties to empty, and my paste then was in Lucia Grande size 11 -- hunh?) Next experiment: put theHdr into fld "formatPrintText" set the textFont of char 1 to -1 of fld "formatPrintText" to "Bookman Old Style" set the textSize of char 1 to -1 of fld "formatPrintText" to "10" put the htmlText of char 1 to -1 of fld "formatPrintText" into fld "testFld" exit to top This shows the htmltext of the chunk in the test field, namely:

Iphegenia Aardvaark

123 So. Huntington Ave,

Boston, MA 02114

So apparently the htmlText property isn't giving font or size info... I tried the rtfText of the field and of char 1 to -1 of the field and I get {\rtf\mac Iphegenia Aardvaark \par 123 So. Huntington Ave, \par Boston, MA 02114} So the rtfText property doesn't give font or size info either. The rev documentation says (under HTMLtext): Revolution uses a subset of HTML tags that includes font, size, style, and text color information. So is this a bug? Is it something about my version of Dreamcard? -- Peter M. Brigham ______________ Original message: pmbrig at comcast.net wrote: > I am using a button to put a text field on the clipboard. I set the > clipboarddata["html"] to the htmltext of the field, then when I try > to paste into MS Word, my field formatting does not come through. > Instead, the default textFont and textSize for the stack is what > determines the format of the pasted text -- I have experimented with > this, and changing the field properties has zero effect on the paste, > whereas changing the stack properties changes the paste. As an added > complication, though, setting the textFont of the stack works > perfectly, but when I set the textSize of the stack to 10, it comes > through as 12. All other sizes work the way they are supposed to: > stack textSize of 9 results in size 9 text in the paste, stack > textSize of 14 comes through as 14, etc. Only stack textSize of 10 > comes through as 12. > > here's the relevant portion of the script: > > put fld "wordPath" into wordpath > put fld "letterPath" into letterPath > put theHdr into fld "formatPrintText" > set the textFont of fld "formatPrintText" to "Bookman Old Style" > set the textSize of fld "formatPrintText" to "10" > set the clipboarddata["html"] to the htmltext of fld "formatPrintText" > set the clipboarddata["text"] to theHdr -- * see below > launch letterPath with wordpath > > * (I've tried not setting the clipboarddata["text"] and it makes no > difference.) > > I'm puzzled. The clipboarddata["html"] clearly is not getting set > properly. I am using Dreamcard v2.6.1 build 152 on a Mac iBook > running OSX v10.4.5, and Word for Mac v11.2.3. The problem with the > size 10 getting seen as size 12 appears to be a Word problem, since > the paste into another text app comes through as expected. > > Why doesn't the htmlText of the field get onto the clipboard? Why in > the world should the default text properties of the stack have any > effect here? When you set the text properties of a field, the text it contains has no styling of its own, it uses inheritance of the field's properties to give an appearance of styling. Therefore, when you copy that text, there is no particular htmltext assigned to it. To fix that, set the styling of the actual characters in the text itself, which does assign html properties to the text: set the textfont of char 1 to -1 of fld "formatPrintText" \ to "Bookman Old Style" set the textsize of char 1 to -1 of fld "formatPrintText" to 10 This should give the results you are looking for. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pmbrig at comcast.net Wed Mar 22 22:05:17 2006 From: pmbrig at comcast.net (pmbrig at comcast.net) Date: Thu, 23 Mar 2006 03:05:17 +0000 Subject: (no subject) Message-ID: <032320060305.7496.4422106D000852B300001D48220642461309079D0D039F@comcast.net> Thanks Andre -- this solves the practical problem (except for Word's inability to actually paste size 10 text in any font -- ah, Microsoft!) -- it gives the proper formatting as specified in the formatting field. I'm still curious about the failure of the htmltext function to include font & size info. Is the documentation just plain wrong? -- Peter M. Brigham _____________ Original message: Hi Peter, > Why doesn't the htmlText of the field get onto the clipboard? I recently discovered that, after "select text of fld "suchField" : 1 - put the selectedText into fld "essai" -->> doesn't keep format when paste 2 - put the selection into fld "essai" -- >> idem 3 - set the clipboardData["text"] to the selectedText -->> idem 4 - set the clipboardData["text"] to the selection -- >> idem BUT : 5 - copy the selectedText -->> paste in Word remains formatted 6 - copy the selection -- >> remains formatted (Mac G4 ; 0SX 10.2.8 ; RR ; Word 10.1.0) Best regards from Grenoble Andr? From kray at sonsothunder.com Wed Mar 22 22:04:56 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 22 Mar 2006 21:04:56 -0600 Subject: Keeping windows together on Windows XP In-Reply-To: Message-ID: On 3/22/06 8:40 PM, "Jim Ault" wrote: > Actually, I use the F10 key... tap it twice and Expose will show/bring to > the front all the windows in the frontmost app. > > Also, tab-switching by ( cmd-tab, cmd-shift-tab ) which will show the tab > display, then bring you back the the left-most app. Didn't know this... good to know, Jim! What I meant was that I didn't see other apps providing this ability to bring all of their windows to the front and so Graham shouldn't worry too much about providing that feature in *his* software. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From JimAultWins at yahoo.com Wed Mar 22 22:55:54 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 22 Mar 2006 19:55:54 -0800 Subject: Keeping windows together on Windows XP In-Reply-To: Message-ID: so true. On OSX I think you can do the system call to System Events via AppleScript, but this is certainly not a good solution, since users may not be accustomed to this behavior. Jim Ault Las Vegas On 3/22/06 7:04 PM, "Ken Ray" wrote: > On 3/22/06 8:40 PM, "Jim Ault" wrote: > >> Actually, I use the F10 key... tap it twice and Expose will show/bring to >> the front all the windows in the frontmost app. >> >> Also, tab-switching by ( cmd-tab, cmd-shift-tab ) which will show the tab >> display, then bring you back the the left-most app. > > Didn't know this... good to know, Jim! > > What I meant was that I didn't see other apps providing this ability to > bring all of their windows to the front and so Graham shouldn't worry too > much about providing that feature in *his* software. > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Wed Mar 22 23:48:54 2006 From: bobs at twft.com (Robert Sneidar) Date: Wed, 22 Mar 2006 20:48:54 -0800 Subject: use-revolution Digest, Vol 30, Issue 60 In-Reply-To: <20060322235402.06F1C8253BC@mail.runrev.com> References: <20060322235402.06F1C8253BC@mail.runrev.com> Message-ID: <8274345B-4832-484B-BC85-5D74B19F0D2A@twft.com> Check to see if passive mode is enabled on the client. This is typically what goes wrong. Whatever it is set to on the Win client, change it. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Mar 22, 2006, at 3:54 PM, use-revolution-request at lists.runrev.com 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. > > Then I fired up an OSX Tiger Powerbook. I tried Chip's FTPer > utility again, same info as on the WindowsXP machine, and it worked > without any problem. > > Anybody have an idea why it would work on a MAc and not work on the > WindowsXP box? > > Thanks in advance!! > > John Patten > SUSD > From mwieder at ahsoftware.net Thu Mar 23 00:00:11 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 22 Mar 2006 21:00:11 -0800 Subject: FTP and cross platform issues... In-Reply-To: <4421F22A.2040303@ehug.info> References: <10558498.1143073871474.JavaMail.johnpatten@mac.com> <4421F22A.2040303@ehug.info> Message-ID: <12638766172.20060322210011@ahsoftware.net> John- > libURLSetFTPMode "passive" If you're testing things you might want to set both the server and the client NOT to use passive mode, and make sure there aren't any firewalls or routers in the way that might block ports 20 and 21. Also, if you've got the internal firewall running on the XP box (you shouldn't) then turn it off. -- -Mark Wieder mwieder at ahsoftware.net From garrett at paraboliclogic.com Thu Mar 23 02:08:27 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Wed, 22 Mar 2006 23:08:27 -0800 Subject: Syntax Highlighting Routine - Need help In-Reply-To: <17818680-B82B-11DA-B811-0030657E1638@pon.net> References: <17B2F545-277B-464C-8D2E-D130687B3DBE@lexicall.org> <003801c64b65$40ffe4d0$0300000a@makabre> <005401c64b6a$cd78cb20$0300000a@makabre> <014701c64b8f$45d01870$0300000a@makabre> <17818680-B82B-11DA-B811-0030657E1638@pon.net> Message-ID: <4422496B.3040806@paraboliclogic.com> Rev 2.6.1 Greetings, I made a routine for checking a FIELD from start to end for html tags, then to change their color. Worked great! That is with a small html file of maybe 4000 characters. But then I ran a html file that was about 28000 characters, and found my routine was not so good after all. the FIELD handlers; on rawKeyUp SubHighlight end rawKeyUp on backspaceKey SubHighlight end backspaceKey might not be best, but I don't know if there's any other way to keep track of the contents of the FIELD, except to check on keyup events. Here's the sub; on SubHighlight lock screen put number of characters of field "fHtmlEditor" into varTotal set the textstyle of char 1 to varTotal of field 1 to plain put 1 into varCounter put 1 into varStartChunk put 1 into varEndChunk repeat until varStartChunk >= varTotal or varGetOut is 1 put varCounter into field "fStatusBar" put char varEndChunk to varEndChunk of field 1 into varTemp put empty into varTagType if varTemp is "<" then put varEndChunk + 3 into varTemp put char varEndChunk to varTemp of field 1 into varTemp if varTemp is " "as" > By adding a "/*" in front of that line the first token will be > "function" > Thanks a lot! All the Best Dave From mb.ur at harbourhost.co.uk Thu Mar 23 06:30:46 2006 From: mb.ur at harbourhost.co.uk (Martin Baxter) Date: Thu, 23 Mar 2006 11:30:46 +0000 Subject: somewhat OT : Rev cgi & Safari In-Reply-To: <4422840C.A174B348@club-internet.fr> References: <4422840C.A174B348@club-internet.fr> Message-ID: <442286E6.3060906@harbourhost.co.uk> 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... > so I guess it must be a combination of the form structure, the > javascript code and the data entered in the form... > the tricky thing being that when forms elements are skipped, I > have no idea of what were the data entered by users... > > I'm not sure what question I should ask now, coz it's hard to > make any diagnosis without careful checking the whole code... > > But does anyone have a clue of which version of Safari it is ? > > And could anyone provide some good advice about a methodology > to reproduce and track down the problem ? > > Thanks, > JB Don't know about safari versions. Are you styling the form elements with css at all? I have known this to cause serious browser-specific issues in the past. Are the names of your form elements robust - all safe characters - if they are somehow getting encoded by the browser your cgi might not recognise them? (A Very Long shot I know, but...) What kinds of elements go missing? Any pattern? Martin Baxter From jbv.silences at club-internet.fr Thu Mar 23 07:00:49 2006 From: jbv.silences at club-internet.fr (jbv) Date: Thu, 23 Mar 2006 13:00:49 +0100 Subject: somewhat OT : Rev cgi & Safari References: <4422840C.A174B348@club-internet.fr> <442286E6.3060906@harbourhost.co.uk> Message-ID: <44228DED.3C4B2A89@club-internet.fr> > > > Don't know about safari versions. > Are you styling the form elements with css at all? I have known this to > cause serious browser-specific issues in the past. > Are the names of your form elements robust - all safe characters - if > they are somehow getting encoded by the browser your cgi might not > recognise them? (A Very Long shot I know, but...) > What kinds of elements go missing? Any pattern? Martin, Thanks for your reply... yes, I use css with all form elements and those that get skipped are mainly elements with "onchange" > js code... That's a scenario where I have seen issues. I've seen some browsers get really confused by css styled select elements. One thing I have seen personally (actually in ie macOS 9 IIRC but not in any recent browsers) is confusion over the actual position of the select element, - e.g. it gets activated when clicking in adjacent whitespace, but not on the element itself. If possible I would simply remove styling from these and see if that affects what happens. I have also seen browsers freeze when a select element is changed. This sort of thing might be a javascript issue, but could also conceivably be related to css if some bad code in the browser itself is making assumptions about the select element having been drawn directly by the OS. A javascript error need not freeze the browser of course, it could easily "fail silently" from the users perspective. The value change presumably then wouldn't be applied to your hidden elements. Since you are reliant on javascript, and that is notorious for browser related issues, it is quite possible there are some js bugs in the particular safari version. So I would have a close look at the relevant onchange routines to ensure they are as robust as possible, make few or ideally no environmental assumptions etc. Martin Baxter > basically, the form I use is made of 2 parts : > 1- a bunch of text fields, check boxes, radio buttons and > menus, all visible and used to enter data > 2- a serie of hidden elements which are the true
> uploaded by clicking on the submit btn - those hidden > elements gather all the data entered by users and are filled > by js functions according to what users select, type and check. > > This works fine on IE Mac OS9 & OSX and Win XP, as well > as Firefox Win & Mac OSX and Safari 2. > The previously described problem arises only SOMETIMES on > a previous version of Safari... > > JB > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dburgun at dsl.pipex.com Thu Mar 23 08:55:49 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 23 Mar 2006 13:55:49 +0000 Subject: Terrible RunRev Bug? - Was Weirdness Passing Messages In-Reply-To: <442278BD.8050002@chipp.com> References: <10558498.1143073871474.JavaMail.johnpatten@mac.com> <442278BD.8050002@chipp.com> Message-ID: <55F7D6CF-3DD4-4F07-BA3E-BDBB8D5078D5@dsl.pipex.com> Hi All, I have a problem that first I thought was something that I was doing wrong but now I'm not sure and would like confirmation of how the Context mechanism works in RunRev. I have the following setup: 1 StackMain:Card1:ObjectA:mouseUp - Calls Function StackUtil:PutMessage("MessageX") 2 StackUtil:PutMessage - Calls Handler StackMain:Card2:ObjectX:MessageX (via send) 3 StackMain:Card2:ObjectX:MessageX - Put "MessageX" into me and then Calls Function StackUtil:PutMessage("MessageY") 4 StackUtil:PutMessage - Calls Handler StackMain:Card2:ObjectY:MessageY (via send) 5 StackMain:Card2:ObjectY:MessageY - Put "MessageY" into me In this case the "put" statement at step 5 does NOT put "MessageY" into StackMain:Card2:ObjectY (the object is unchanged), but the "put" at step 3 works ok. If I change the code at Step 5 to read: put "MessageY" into field "FieldY" of group "Y" of card 2 of stack "/ Documents/Test/StackMain.rev" (e.g. the hard coded name of the object). or local myData put "MessageY" into myData do "put myData into " & the long name of me Then the put statement works ok. This also works ok: 1 StackMain:Card2:ObjectX:mouseUp - Calls Function StackUtil:PutMessage("MessageY") 2 StackUtil:PutMessage - Calls Handler StackMain:Card2:ObjectY:MessageY (via send) 3 StackMain:Card2:ObjectY:MessageY - Put "MessageY" into me I have also tried the following with no luck: set the text of me to "ObjectY" What could be going wrong here? Is it that I am mixing functions and handlers? How can I test to see if the context is the problem? I really need to refer to the object without hardcoding it's name into the Script, I thought that was what "me" was for????? Is this a bug? If so is there a workaround?? Can anyone shed some light on this? Any ideas on how to get this working would be greatly appreciated. Mark Smith (many thanks Mark) verified that he has the same problem but is using the same platform, could someone try this on Windows or Unix? This appears to happen on RunRev 2.6.6 and 2.7. This has made be REALLY worried about the usage of "me" and in using RunRev in general. I can't believe that something as fundamental as the usage of "me" doesn't work 100% of the time. I don't have previous versions of RunRev in order to check if it *ever* worked. Thanks a lot All the Best Dave From mark at maseurope.net Thu Mar 23 08:56:36 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 23 Mar 2006 13:56:36 +0000 Subject: Weirdness Passing Messages In-Reply-To: <97CD65CC-7203-4765-9392-2B5DF92F6032@dsl.pipex.com> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> <4CAD5779-B9B9-11DA-8FFE-0030657E1638@pon.net> <6A75A57F-22E3-4039-A009-50B5093C2980@inspiredlogic.com> <68403533-585E-4836-A0FF-AD091C027707@dsl.pipex.com> <79D9D0FA-2E5A-48CD-B0C9-E8D8F7AA97B5@maseurope.net> <30723811-F057-429A-8398-3725651B8159@dsl.pipex.com> <6415C794-548A-4070-BF06-08F7C580BA93@maseurope.net> <9A150932-E022-46F1-B318-2217F5C609E6@dsl.pipex.com> <85E01B98-7C0D-44C6-899B-9B1656B6A866@maseurope.net> <97CD65CC-7203-4765-9392-2B5DF92F6032@dsl.pipex.com> Message-ID: <40F52AF3-BABA-432C-AEB9-2547076AE8E0@maseurope.net> On the other hand, given the function below, it might be more efficient for the calling handler to do the work, since it already knows the the long name and has the data. I mean that if a handler is going to send a message to a control, along with some data, it can certainly perform whatever actions are required, itself. > function PutDataIntoMe theLongName,theData > do "put theData into " & theLongName > end PutDataIntoMe In your original example: function PutMessage theMessageID Looks up theMessageID in the Array built in ListenForMessages and calls (via a "send" statement) the handler with the name theMessageID at the location(s) specified in the data part of the array. Since putMessage knows the location, and has the data, it can do the work itself, avoiding any context issues altogether. There may be other issues I don't know about, of course, but I'm sure you see what I mean. Mark On 23 Mar 2006, at 13:03, David Burgun wrote: From dburgun at dsl.pipex.com Thu Mar 23 09:14:53 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 23 Mar 2006 14:14:53 +0000 Subject: Weirdness Passing Messages In-Reply-To: <40F52AF3-BABA-432C-AEB9-2547076AE8E0@maseurope.net> References: <18B4A867-1BEC-4F4D-B86F-A933C07F52E7@lexicall.org> <119105747897.20060317132013@ahsoftware.net> <57AB2413-5A41-4E1F-96FE-15D30EC8802F@inspiredlogic.com> <212580670.20060319125521@ahsoftware.net> <441DEFD3.6090209@chipp.com> <02117863-B837-11DA-BF46-0030657E1638@pon.net> <97F32A0F-F818-4A02-A0D6-39F8E8E9329F@inspiredlogic.com> <3362660E-B915-11DA-B8F4-0030657E1638@pon.net> <4CAD5779-B9B9-11DA-8FFE-0030657E1638@pon.net> <6A75A57F-22E3-4039-A009-50B5093C2980@inspiredlogic.com> <68403533-585E-4836-A0FF-AD091C027707@dsl.pipex.com> <79D9D0FA-2E5A-48CD-B0C9-E8D8F7AA97B5@maseurope.net> <30723811-F057-429A-8398-3725651B8159@dsl.pipex.com> <6415C794-548A-4070-BF06-08F7C580BA93@maseurope.net> <9A150932-E022-46F1-B318-2217F5C609E6@dsl.pipex.com> <85E01B98-7C0D-44C6-899B-9B1656B6A866@maseurope.net> <97CD65CC-7203-4765-9392-2B5DF92F6032@dsl.pipex.com> <40F52AF3-BABA-432C-AEB9-2547076AE8E0@maseurope.net> Message-ID: <53086C26-ADFC-4E9F-B3A0-50C19ECE6A12@dsl.pipex.com> Hi Mark, The problem is that this is a General Message passing handler. The code I sent you was vastly simplified to demonstrate the problem, in reality it's a lot more difficult. This is how it should work: ListenForMessage is called by lots of objects. PutMessage sends to all Listening objects. It is up to the object to use the data it's sent in a manner that only the Message Handler of the object can determine. For instance in the case in question the real code looks like this: -- -- Script for ObjectY -- on MessageName theMessageData -- theMessageData = CustomProperty "|" RecordKey set itemDelimiter to "|" put item 1 of theMessageValue into myArrayName put item 2 of theMessageValue into myRecordKey set itemDelimiter to "," put customProperties[myArrayName] of this stack into myArray put myArray[myRecordKey] into myDataRecord put item 1 of myDataRecord into me --************************* end MessageName -- -- Script for ObjectZ -- on MessageName theMessage,theMessageData -- theMessageData = CustomProperty "|" RecordKey set itemDelimiter to "|" put item 1 of theMessageValue into myArrayName put item 2 of theMessageValue into myRecordKey set itemDelimiter to "," put customProperties[myArrayName] of this stack into myArray put myArray[myRecordKey] into myDataRecord put item 5 of myDataRecord into me --************************* end MessageName If the following is executed: get PutMessage("MessageName","cpStackArray") (It sends to ALL listening Objects, the object decides if it should do something or not and what to do if so) The lines marked ************************ are differ in this example. In the case of the Real App, there are 15 fields like this, for instance one field is an email address. In this case the Handler checks to make sure it is a valid email address, and if not sets the text color to Red. I am using this for all kinds of different messages with all kinds of different data being passed. Only the receiving object "knows" what to do with the data. Thanks a Lot All the Best Dave On 23 Mar 2006, at 13:56, Mark Smith wrote: > On the other hand, given the function below, it might be more > efficient for the calling handler to do the work, since it already > knows the the long name and has the data. I mean that if a handler > is going to send a message to a control, along with some data, it > can certainly perform whatever actions are required, itself. > >> function PutDataIntoMe theLongName,theData >> do "put theData into " & theLongName >> end PutDataIntoMe > > > In your original example: > function PutMessage theMessageID > > Looks up theMessageID in the Array built in ListenForMessages and > calls (via a "send" statement) the handler with the name > theMessageID at the location(s) specified in the data part of the > array. > > Since putMessage knows the location, and has the data, it can do > the work itself, avoiding any context issues altogether. > > There may be other issues I don't know about, of course, but I'm > sure you see what I mean. > > Mark From ambassador at fourthworld.com Thu Mar 23 09:16:59 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Mar 2006 06:16:59 -0800 Subject: Weirdness Passing Messages Message-ID: <4422ADDB.6080800@fourthworld.com> David Burgun understandably panicked: > Is this a Bug? If so it a *REALLY* fundamental one! The only way I > can thing to get around this problem 100% is to add a function: > > function PutDataIntoMe theLongName,theData > do "put theData into " & theLongName > end PutDataIntoMe > > and use this anytime I want to put data into "me". However, will I > need a getter too? Many posts expressing much concern and anguish over this. I understand. I've been there myself, and later learned to lead others through these dark woods. Indeed, madness is to be found here, but beneath the madness is a grain of solid ground, and with a little background and much practice you'll understand the Zen of "me" to the point that it'll become second nature, and you will have long forgetten how much pain and confusion it once caused you -- until the next person encounters it and you hear their screams. ;) Let's see if we can shed some light on a dark token: There is a long-standing ambiguity in xTalks which has resulted in confusion and hair-pulling back to HyperCard 1.0: In most cases, referencing a property of an object returns its value, and referencing the object itself returns a reference to itself (such as a long ID). So you would expect that to get the text of a field you would say: get the text of me ...and to get its long ID you would say: get me But alas it isn't so. In order to support the convenience of saying "get field 1" as a way of obtaining its contents instead of "get the text of field 1", the language has become littered with ambiguity in other contexts as well, such as "me". This prioritizing of convenience over clarity shows up all over the place, with things like "me" sometimes referencing to the object and at other times referring to its contents. Check this out: 1. Make a field 2. Set its name to "Test" 3. Type "This is a test" into it 4. Set its lockText to true 5. Put this script in it: on mouseUp put the target &cr& the long id of the target &cr \ & me &cr& the long ID of me end mouseUp You'll get a result that looks like this: field "Test" field id 1003 of card id 1002 of stack "mystack.mc" This is a test. field id 1003 of card id 1002 of stack "mystack.mc" It's interesting to note that line 1, the target, contains only the name of the object, not the long ID. If you had two or more objects with the same name then using "the target" would fail, no? Only sometimes. If you use "the target" while the current script is running, then even though the engine tells you "the target" is only the name it behaves as though it's using the long ID, only working on the true target. But if instead you obtain "the target" and store that value for later use, if you have two or more objects with the same name you may only be able to refer to the lowest-numbered one. In such a case you'll want to get "the long id of the target" instead. The folks at RunRev Ltd. could remove this ambiguity by requiring everyone to access the text property of an object to get its contents, leaving things like "me" and "target" for unambiguous object references only. But given HyperTalk's long history, even though it may be a bad habit it's a long-established one, and folks would storm the castle walls with pitchforks and torches. I expect to be flamed as a heretic for even questioning this. :) So for consistency with ambiguities introduced decades ago in HyperCard, RunRev has us living in a world of "sometimes", where sometimes a token does one thing and sometimes something else. Given the mental gymnastics I've seen folks go through with this since I first started teach xTalks back in '88, I believe that a *formal* study of this would show that unambiguously asking people to access properties for contents would actually be easier to learn than the current ambiguous rules of "sometimes". But we are where we are, and it's too late to turn back now so we just need to find coping mechanisms for it. In your case, as noted above we find that asking for the long ID of either the target or me returns something more akin to what we might expect. I haven't recreated your setup here, but it I'll be that incorporating "the long ID of me" will help. The one consistency in all of this is that no matter what madness either "the target" or "me" produce by themselves, when used in conjunction with "the long ID of" you get an unambiguous, usable reference. Let us know if it doesn't solve it for you and we can explore this further. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From devin_asay at byu.edu Thu Mar 23 09:59:27 2006 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 23 Mar 2006 07:59:27 -0700 Subject: Message Box ? In-Reply-To: References: <3542723.post@talk.nabble.com> Message-ID: <213EA5AF-0B67-486A-94DD-E37762A9F518@byu.edu> On Mar 22, 2006, at 4:10 PM, Devin Asay wrote: > > Then try it again. Chances are it will work this time. If this > doesn't fix it, try switching to the multi-line message box and enter: > > openFile "myfile.txt" ^^^^^^^^^^^ open file "myfile.txt" ## oops! > put the result Sorry for the confusion. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From rcozens at pon.net Thu Mar 23 10:30:31 2006 From: rcozens at pon.net (Rob Cozens) Date: Thu, 23 Mar 2006 07:30:31 -0800 Subject: Keeping windows together on Windows XP In-Reply-To: <1C1D6C1C-BC32-4D6B-9C10-8E93B2D8D90F@mac.com> References: <1C1D6C1C-BC32-4D6B-9C10-8E93B2D8D90F@mac.com> Message-ID: Graham, > What I would like is to take charge of the whole front of the screen > while my app is active - is this possible? Would setting a backdrop accomplish what you want? 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) From rcozens at pon.net Thu Mar 23 10:30:43 2006 From: rcozens at pon.net (Rob Cozens) Date: Thu, 23 Mar 2006 07:30:43 -0800 Subject: Automated testing In-Reply-To: <4421AA9C.2020409@fourthworld.com> References: <4421AA9C.2020409@fourthworld.com> Message-ID: Richard, et al: > Do any of you do automated testing? If so, what do you test and how? > The SDB Test Client stack that ships with Serendipity Library has an automated testing mode, where SDB database commands are called at random and a log of the last 25 calls and their results is maintained. Before releasing a major change to SDB, I run automated testing in single user mode for 24 hours, server & one client for 24 hours, and then server and multiple clients for at least another 24 hours. I have mentioned before that automated testing led me to a bug that would have been very hard to find otherwise: Command A could be called all day with no problem Command B could be called all day with no problem -- so long has Command A had not been called. Once Command A was called, the next time Command B was called the system crashed. 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) From dburgun at dsl.pipex.com Thu Mar 23 10:36:17 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 23 Mar 2006 15:36:17 +0000 Subject: Weirdness Passing Messages In-Reply-To: <4422ADDB.6080800@fourthworld.com> References: <4422ADDB.6080800@fourthworld.com> Message-ID: <1455E8FD-F17E-4518-9605-E6310E9667DE@dsl.pipex.com> Hi Richard, Thanks for helping. I read your post but I am not sure that this applies in this case, mainly because I don't understand too much about the internals of RunRev! If you read my post "Terrible RunRev Bug? - Was Weirdness Passing Messages" it gives a fuller description of the problem, I will outline the basics here and hopefully you will be able to tell me if the cause is due to what you describe below or if it's something different. In this case, in the handler in question, "the target" = "me" (they are identical), also: put "ObjectX" into me set the text of me to "ObjectX" Both do not work. The only thing I have found that does work is this: do "put myData into " & the long name of me From what you say below, I can understand why put x into me *may* not work, but not why: set the text of me to x doesn't work either? Also, why in the case where the handler is called from one place it works but if called from within another Handler it doesn't! Thanks a lot All the Best Dave From chris at carroll-davis.co.uk Thu Mar 23 11:09:19 2006 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Thu, 23 Mar 2006 16:09:19 +0000 Subject: White Flash Message-ID: <3ECCABA3-31CC-413C-AC23-5FBF0C243B96@carroll-davis.co.uk> Hello all Does anyone know a cunning way to prevent a window briefly painting white when changing the window decorations?? I'm allowing user to toggle between a "full screen mode" (kiosk-type - with black backdrop, hidden menubar and plain centred window) and a "standard" (draggable, minimizeable) window mode. On OSX, at least, (not checked Windows yet) the stack briefly flashes white when setting the decorations which is a bit distracting. Locking/ unlocking screen around the "Set decorations..." line doesn't help. I suspect I'll have to live with it ('cos it's a "system thing") - but I do seem to remember in my SC days (heretic! heretic!) there was an xcmd called "no flash" or "don'tPaintWhite" or similar. ??? Chris From jonathandlynch at gmail.com Thu Mar 23 11:17:19 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Thu, 23 Mar 2006 11:17:19 -0500 Subject: White Flash In-Reply-To: <3ECCABA3-31CC-413C-AC23-5FBF0C243B96@carroll-davis.co.uk> References: <3ECCABA3-31CC-413C-AC23-5FBF0C243B96@carroll-davis.co.uk> Message-ID: <31e1938c0603230817m35ba6195t34cb761dfbe25072@mail.gmail.com> Can you move the stack off screen, set the decorations, then lock screen, then move the stack back on screen, and then unlock the screen? From dburgun at dsl.pipex.com Thu Mar 23 11:24:35 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 23 Mar 2006 16:24:35 +0000 Subject: Very Very Very Basic Question!!!!! In-Reply-To: <213EA5AF-0B67-486A-94DD-E37762A9F518@byu.edu> References: <3542723.post@talk.nabble.com> <213EA5AF-0B67-486A-94DD-E37762A9F518@byu.edu> Message-ID: <00BDCE24-E20C-4247-B314-70025721BD6A@dsl.pipex.com> Hi, Should the following lines work 100% of the time, regardless of how or where the message handler is called? on MessageHandler local myData set the text of the long name of me to "XXXXX" put the text of the long name of me into myData end MessageHandler Thanks a lot All the Best Dave From jacque at hyperactivesw.com Thu Mar 23 11:31:42 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 Mar 2006 10:31:42 -0600 Subject: Terrible RunRev Bug? - Was Weirdness Passing Messages In-Reply-To: <55F7D6CF-3DD4-4F07-BA3E-BDBB8D5078D5@dsl.pipex.com> References: <10558498.1143073871474.JavaMail.johnpatten@mac.com> <442278BD.8050002@chipp.com> <55F7D6CF-3DD4-4F07-BA3E-BDBB8D5078D5@dsl.pipex.com> Message-ID: <4422CD6E.3020408@hyperactivesw.com> David Burgun wrote: > Hi All, > > I have a problem that first I thought was something that I was doing > wrong but now I'm not sure and would like confirmation of how the > Context mechanism works in RunRev. I am almost certain you have not found a "terrible bug" but instead may be experiencing a misunderstanding of the message hierarchy and the contexts in whch it works. The deal is, a lot of us are very busy and don't have time to recreate your stack or do the experiment to diagnose what the problem is. Your description, while extensive, is written in a way that I find difficult to follow in a brief reading, so I haven't done much more than skim your messages to get a generic idea of what's happening. It would be very easy to find the problem if you could set up a test stack and upload it somewhere. Then I will download it, and maybe others will too, and I'll probably be able to pinpoint the problem in a few minutes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobwarren at howsoft.com Thu Mar 23 11:35:48 2006 From: bobwarren at howsoft.com (Bob Warren) Date: Thu, 23 Mar 2006 13:35:48 -0300 Subject: Pixel Question Message-ID: <4422CE64.1050200@howsoft.com> Dear All, Suppose I have 2 cards in a stack and I am moving the mouse over the top card (naturally). I want to know what colour is under the mouse pointer in a corresponding position on the 2nd card which is hidden underneath. I have tried, but so far without success. Any ideas anyone? Bob From dburgun at dsl.pipex.com Thu Mar 23 11:39:33 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 23 Mar 2006 16:39:33 +0000 Subject: Terrible RunRev Bug? - Was Weirdness Passing Messages In-Reply-To: <4422CD6E.3020408@hyperactivesw.com> References: <10558498.1143073871474.JavaMail.johnpatten@mac.com> <442278BD.8050002@chipp.com> <55F7D6CF-3DD4-4F07-BA3E-BDBB8D5078D5@dsl.pipex.com> <4422CD6E.3020408@hyperactivesw.com> Message-ID: Hi, The problem in a nutshell is that: put "xxxxx" into me or set the text of me to "xxxxx" Does not work 100% of the time. Mark Smith has reproduced the same problem. The following seems to work: set the text of the long name of me to "xxxxx" or local myData put "xxxxx" into myData do "put myData into " & the long name of me Seems to work ok. But before I trawl thru loads of objects in loads of stacks replacing. put into me with set the text of the long name of me to and (presumably?) put me into myData with put the text of the long name of me into myData It would be nice to know if this would 100% solve the problem regardless of where the handler is called from. Any ideas? Thanks a lot All the Best Dave On 23 Mar 2006, at 16:31, J. Landman Gay wrote: > David Burgun wrote: >> Hi All, >> I have a problem that first I thought was something that I was >> doing wrong but now I'm not sure and would like confirmation of >> how the Context mechanism works in RunRev. > > I am almost certain you have not found a "terrible bug" but instead > may be experiencing a misunderstanding of the message hierarchy and > the contexts in whch it works. > > The deal is, a lot of us are very busy and don't have time to > recreate your stack or do the experiment to diagnose what the > problem is. Your description, while extensive, is written in a way > that I find difficult to follow in a brief reading, so I haven't > done much more than skim your messages to get a generic idea of > what's happening. > > It would be very easy to find the problem if you could set up a > test stack and upload it somewhere. Then I will download it, and > maybe others will too, and I'll probably be able to pinpoint the > problem in a few minutes. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From devin_asay at byu.edu Thu Mar 23 11:40:30 2006 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 23 Mar 2006 09:40:30 -0700 Subject: Very Very Very Basic Question!!!!! In-Reply-To: <00BDCE24-E20C-4247-B314-70025721BD6A@dsl.pipex.com> References: <3542723.post@talk.nabble.com> <213EA5AF-0B67-486A-94DD-E37762A9F518@byu.edu> <00BDCE24-E20C-4247-B314-70025721BD6A@dsl.pipex.com> Message-ID: <9731DA23-BEE1-454C-87EF-A2D6068DC537@byu.edu> On Mar 23, 2006, at 9:24 AM, David Burgun wrote: > Hi, > > Should the following lines work 100% of the time, regardless of how > or where the message handler is called? > > on MessageHandler > local myData > > set the text of the long name of me to "XXXXX" > put the text of the long name of me into myData > end MessageHandler In this script 'the long name of me' is just like saying 'me'. It should work in any object that can contain text; i.e., fields and buttons. This should do the same thing: set the text of me to "XXXXX" put the text of me into myData Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From ambassador at fourthworld.com Thu Mar 23 11:54:01 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Mar 2006 08:54:01 -0800 Subject: Pixel Question Message-ID: <4422D2A9.6030802@fourthworld.com> Bob Warren wrote: > Suppose I have 2 cards in a stack and I am moving the mouse over the top > card (naturally). I want to know what colour is under the mouse pointer > in a corresponding position on the 2nd card which is hidden underneath. get the mouseColor -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From dburgun at dsl.pipex.com Thu Mar 23 11:56:48 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 23 Mar 2006 16:56:48 +0000 Subject: Very Very Very Basic Question!!!!! In-Reply-To: <9731DA23-BEE1-454C-87EF-A2D6068DC537@byu.edu> References: <3542723.post@talk.nabble.com> <213EA5AF-0B67-486A-94DD-E37762A9F518@byu.edu> <00BDCE24-E20C-4247-B314-70025721BD6A@dsl.pipex.com> <9731DA23-BEE1-454C-87EF-A2D6068DC537@byu.edu> Message-ID: <56C6C0AA-AB4F-4E94-9C47-958F03AA554F@dsl.pipex.com> Hi, You'd think so, wouldn't you???!!! If *only* that really were the case!!!!! If that were so I wouldn't have just wasted the best part of 2 days pulling my hair out! If you'd like to know more read the topic "Re:Weirdness Passing Messages" especially the post from Richard Gaskin. Also read "Terrible RunRev Bug? - Was Weirdness Passing Messages". put into me does NOT work 100% of the time. I have found something that *appears* to work, but I would like to know if it is 100% guaranteed to work before I change gods knows how many scripts to use: set the text of the long name of me to "XXXXX". I just don't want to do this work and then find out it only works "sometimes" as is the case with put into me! All the Best Dave On 23 Mar 2006, at 16:40, Devin Asay wrote: > > On Mar 23, 2006, at 9:24 AM, David Burgun wrote: > >> Hi, >> >> Should the following lines work 100% of the time, regardless of >> how or where the message handler is called? >> >> on MessageHandler >> local myData >> >> set the text of the long name of me to "XXXXX" >> put the text of the long name of me into myData >> end MessageHandler > > In this script 'the long name of me' is just like saying 'me'. It > should work in any object that can contain text; i.e., fields and > buttons. This should do the same thing: > > set the text of me to "XXXXX" > put the text of me into myData > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Thu Mar 23 11:59:21 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Mar 2006 08:59:21 -0800 Subject: Automated testing Message-ID: <4422D3E9.3020809@fourthworld.com> Rob Cozens wrote: > Richard, et al: >> Do any of you do automated testing? If so, what do you test and how? > > The SDB Test Client stack that ships with Serendipity Library has an > automated testing mode, where SDB database commands are called at > random and a log of the last 25 calls and their results is maintained. > Before releasing a major change to SDB, I run automated testing in > single user mode for 24 hours, server & one client for 24 hours, and > then server and multiple clients for at least another 24 hours. Cool stuff. At Mark Wieder's suggestion I've also been looking at Eggplant, which is driven by SenseTalk, an xTalk originally developed for NeXT. Interesting possibilities.... > I have mentioned before that automated testing led me to a bug that > would have been very hard to find otherwise: > > Command A could be called all day with no problem > Command B could be called all day with no problem -- so long has > Command A had not been called. > Once Command A was called, the next time Command B was called the > system crashed. The SDB system or the operating system? If the latter do you have a recipe posted at Bugzilla? I try to stay up on crashes so I can avoid them. I was at a Microsoft Developer Seminar once and the VB product manager said something very respectable: "When working in VB if you have a script error that's your issue, but anytime you have a crash that's our issue. It shouldn't be possible in a high-level tool to crash the OS, and we prioritize those issues highly." -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ljk144 at gmail.com Thu Mar 23 12:00:56 2006 From: ljk144 at gmail.com (Levi Kendall) Date: Thu, 23 Mar 2006 12:00:56 -0500 Subject: Paragraph Level Text Formatting Message-ID: Hello again, Has anyone out there done paragraph level formatting in Rev by some other method to get around this severe limitation in the software? I know I've already asked about this a while back, but I'm curious if anyone has made any significant progress on having a "useable" workaround. I'm trying to figure out if I can use Rev for a couple of major commercial products but this lack of a basic feature is cripling my ability to use Rev since I need basic word processing abilities. Thanks. -Levi Kendall From klaus at major-k.de Thu Mar 23 12:01:37 2006 From: klaus at major-k.de (Klaus Major) Date: Thu, 23 Mar 2006 18:01:37 +0100 Subject: Pixel Question In-Reply-To: <4422D2A9.6030802@fourthworld.com> References: <4422D2A9.6030802@fourthworld.com> Message-ID: <4A8F6265-3EB1-41FA-AAF6-2C79EFE56D69@major-k.de> Hi Bob and Richard, > Bob Warren wrote: >> Suppose I have 2 cards in a stack and I am moving the mouse over >> the top card (naturally). I want to know what colour is under the >> mouse pointer in a corresponding position on the 2nd card which is >> hidden underneath. sorry this is not possible right out of the box. "the mousecolor" will only for the "actual" pixel under the cursor. > Richard G. wrote: > get the mouseColor maybe a whiff of sleep wouldn't hurt... ;-) > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From ambassador at fourthworld.com Thu Mar 23 12:12:36 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Mar 2006 09:12:36 -0800 Subject: Very Very Very Basic Question!!!!! Message-ID: <4422D704.2050807@fourthworld.com> David Burgun wrote: > Should the following lines work 100% of the time, regardless of how > or where the message handler is called? > > on MessageHandler > local myData > > set the text of the long name of me to "XXXXX" > put the text of the long name of me into myData > end MessageHandler Works here like this: Stack "A" is a mainstack, and stack "B" is a substack of "A". "B" has two cards, the second card has a field with the script above in it. Stack "A" has a button with this script: on mouseUp send "MessageHandler" to fld "x" of cd 2 of stack "b" end mouseUp If I go to cd 1 of stack "B" and then click the button in stack "A", when I go back to cd 2 of stack "B" I get "XXXXX" in the field. Interestingly, if I change the script in the field to this: set the text of me to "XXXXX" ...it fails. I then reverted the script to the form that works, went to card 1 of "B", saved "B", then closed it, and then clicked the button in stack "A" again -- opening "B" again and looking at cd 2 showed "XXXXX" in the field. This may be useful since it confirms that you can trigger messages and alter properties in stacks that aren't officially open, as long as their destroyStack property is false. So the rule is that as long as you coerce object references derived from "me" to the long ID you'll be fine. In other cases "me" will work as expected, but for the reasons outlined in my earlier lengthy post not always (thanks, HyperCard team). As for the second line, since myData is declared locally what do you want to do with it? It's scope suggests that nothing is done with it, since it's declared inside the handler and the handler doesn't do anything with it before it exits. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From kray at sonsothunder.com Thu Mar 23 12:13:18 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 23 Mar 2006 11:13:18 -0600 Subject: Terrible RunRev Bug? - Was Weirdness Passing Messages In-Reply-To: <55F7D6CF-3DD4-4F07-BA3E-BDBB8D5078D5@dsl.pipex.com> Message-ID: On 3/23/06 7:55 AM, "David Burgun" wrote: > Hi All, > > I have a problem that first I thought was something that I was doing > wrong but now I'm not sure and would like confirmation of how the > Context mechanism works in RunRev. > > I have the following setup: > 1 StackMain:Card1:ObjectA:mouseUp - Calls Function > StackUtil:PutMessage("MessageX") > 2 StackUtil:PutMessage - Calls Handler > StackMain:Card2:ObjectX:MessageX (via send) I think this is the problem in a nutshell, David. I've used a number of other xTalks, and most of them won't allow you to send or trigger messages in cards other than the one that's currently displayed. They generally have you lock the screen, go to the card in question, execute the handler, then return to the card you started from, then unlock the screen. The fact that Rev allows you to do this is quite honestly a surprise to me. Personally, I'd recommend moving the function you want to call to something more accessible, like a stack, library, or backscript. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Thu Mar 23 12:15:37 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 23 Mar 2006 11:15:37 -0600 Subject: When closed, does a substack whose destroyStack is true remains in memory ? In-Reply-To: <44229CAA.7090000@fourthworld.com> Message-ID: On 3/23/06 7:03 AM, "Richard Gaskin" wrote: > Ken Ray wrote: >> Well, as I mentioned above, closed substacks are still in memory if the >> mainstack is, so you could check for the mainstack in "the windows" or in >> "the stacks" to see if it is in memory. > > Maybe. > > The windows function is documented only to return a list of open stacks. > The stacks function would seem to be the better one for testing if > closed stacks are in memory, but it appears to behave anomalously and > may not be reliable at this time. > > Try this: > > 1. Make a new mainstack named "AAA"; save it > 2. Make a substack in that stack file named "BBB"; save it > 3. Get "the stacks" > RESULT: two entries for the filename to "AAA" are in the list, > as we would expect. > > 4. Set the destroyStack of "AAA" to true > 5. Close "AAA" > 6. Get "the stacks" > RESULT: the filename of "AAA" is in the list once, since BBB is still > open; so far so good Wow... really? I would have thought that BBB would close to since its mainstack closed. But whaddya know! :-) > What am I missing? In my head this doesn't add up. What does "the mainstacks" say? I've found that this seems to truly show what's in memory (or at least, the mainstacks that are in memory)... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From reball at redshift.com Thu Mar 23 12:15:00 2006 From: reball at redshift.com (Dr. Robert E. Ball) Date: Thu, 23 Mar 2006 09:15:00 -0800 Subject: What is whichMenu? Message-ID: When using the browser pointer, I go to the menubar of my OS X stack, click on a menu item, e.g. File, and then click on one of the dropdown items in the menu, e.g. Save in the File menu. In the message watcher, I get MouseDown -- I clicked on File cREVGetsUpdate MenuPick -- I clicked on Save whichMenu when it works properly. However, on another stack it doesn't work. I only get mouseDown cREVGetsUpdate menuPick No whichMenu. ??? I don't know where to look to find out where the problem is located. I searched the PDF manual and Googoled whichMenu. No luck. Does anyone know where whichMenu is described? From chris at carroll-davis.co.uk Thu Mar 23 12:16:59 2006 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Thu, 23 Mar 2006 17:16:59 +0000 Subject: White Flash In-Reply-To: <31e1938c0603230817m35ba6195t34cb761dfbe25072@mail.gmail.com> References: <3ECCABA3-31CC-413C-AC23-5FBF0C243B96@carroll-davis.co.uk> <31e1938c0603230817m35ba6195t34cb761dfbe25072@mail.gmail.com> Message-ID: <610D9D71-DBA7-4DE6-855E-2CA5839A0480@carroll-davis.co.uk> Jonathan - No. Good suggestion, but it seems that if the window is visible on the screen (whether screen is locked or not) you get the flash. :-( And now tried it on Windows - which gives it's own flavour of flash. I think I'm right in saying that "lock screen" only works within the window bounds anyway, so locking the screen then moving the window wouldn't visually "freeze" the window anyway. Pants! Chris On 23 Mar 2006, at 16:17, Jonathan Lynch wrote: > Can you move the stack off screen, set the decorations, then lock > screen, > then move the stack back on screen, and then unlock the screen? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Mar 23 12:20:20 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 23 Mar 2006 11:20:20 -0600 Subject: Paragraph Level Text Formatting In-Reply-To: Message-ID: On 3/23/06 11:00 AM, "Levi Kendall" wrote: > Hello again, > > Has anyone out there done paragraph level formatting in Rev by some other > method to get around this severe limitation in the software? I know I've > already asked about this a while back, but I'm curious if anyone has made > any significant progress on having a "useable" workaround. I'm trying to > figure out if I can use Rev for a couple of major commercial products but > this lack of a basic feature is cripling my ability to use Rev since I need > basic word processing abilities. Thanks. The only approach that would work would be to create individual fields for each paragraph behind the scenes and group them together in a group to make them appear as if they're all in the same field. A lot of work, and no one has done it AFAIK. I think we're all just waiting for paragraph-level formatting from RunRev... ;-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From rcozens at pon.net Thu Mar 23 12:20:25 2006 From: rcozens at pon.net (Rob Cozens) Date: Thu, 23 Mar 2006 09:20:25 -0800 Subject: Automated testing In-Reply-To: <4422D3E9.3020809@fourthworld.com> References: <4422D3E9.3020809@fourthworld.com> Message-ID: <511949B5-BA91-11DA-8B4E-0030657E1638@pon.net> Richard, >> I have mentioned before that automated testing led me to a bug that >> would have been very hard to find otherwise: >> Command A could be called all day with no problem >> Command B could be called all day with no problem -- so long has >> Command A had not been called. >> Once Command A was called, the next time Command B was called the >> system crashed. > > The SDB system or the operating system? > SDB database calls, so there was no one to complain to but moi. I don 't know how long it would have taken to figure this out in interactive testing. 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) From dburgun at dsl.pipex.com Thu Mar 23 12:25:17 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 23 Mar 2006 17:25:17 +0000 Subject: Terrible RunRev Bug? - Was Weirdness Passing Messages In-Reply-To: References: Message-ID: <26AC73FB-3C85-446B-8671-4EC13DE24F50@dsl.pipex.com> Hi, The following form, *seems* to work with the multi-stack setup I have: set the text of the long name of me to "xxxxx" Thanks a lot All the Best Dave On 23 Mar 2006, at 17:13, Ken Ray wrote: > On 3/23/06 7:55 AM, "David Burgun" wrote: > >> Hi All, >> >> I have a problem that first I thought was something that I was doing >> wrong but now I'm not sure and would like confirmation of how the >> Context mechanism works in RunRev. >> >> I have the following setup: >> 1 StackMain:Card1:ObjectA:mouseUp - Calls Function >> StackUtil:PutMessage("MessageX") >> 2 StackUtil:PutMessage - Calls Handler >> StackMain:Card2:ObjectX:MessageX (via send) > > I think this is the problem in a nutshell, David. I've used a > number of > other xTalks, and most of them won't allow you to send or trigger > messages > in cards other than the one that's currently displayed. They > generally have > you lock the screen, go to the card in question, execute the > handler, then > return to the card you started from, then unlock the screen. > > The fact that Rev allows you to do this is quite honestly a > surprise to me. > Personally, I'd recommend moving the function you want to call to > something > more accessible, like a stack, library, or backscript. From europe at ehug.info Thu Mar 23 12:25:49 2006 From: europe at ehug.info (Mark Schonewille) Date: Thu, 23 Mar 2006 18:25:49 +0100 Subject: White Flash In-Reply-To: <3ECCABA3-31CC-413C-AC23-5FBF0C243B96@carroll-davis.co.uk> References: <3ECCABA3-31CC-413C-AC23-5FBF0C243B96@carroll-davis.co.uk> Message-ID: <4422DA1D.6040504@ehug.info> What about showing a palette window with a prompt "please wait..." then setting the loc of the window behind it to off-screen, changing its decorations, showing it behind the window with the prompt, and hiding the palette window? Probably, it would look best if you removed the title bar from the palette. Mark Chris Carroll-Davis wrote: > Hello all > > Does anyone know a cunning way to prevent a window briefly painting > white when changing the window decorations?? > > I'm allowing user to toggle between a "full screen mode" (kiosk-type - > with black backdrop, hidden menubar and plain centred window) and a > "standard" (draggable, minimizeable) window mode. On OSX, at least, > (not checked Windows yet) the stack briefly flashes white when setting > the decorations which is a bit distracting. Locking/ unlocking screen > around the "Set decorations..." line doesn't help. > > I suspect I'll have to live with it ('cos it's a "system thing") - but > I do seem to remember in my SC days (heretic! heretic!) there was an > xcmd called "no flash" or "don'tPaintWhite" or similar. > > ??? > > Chris -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From europe at ehug.info Thu Mar 23 12:27:05 2006 From: europe at ehug.info (Mark Schonewille) Date: Thu, 23 Mar 2006 18:27:05 +0100 Subject: FTP and cross platform issues... In-Reply-To: <6FCE3FB7-8B4C-4397-8A71-6D23CD726DCD@lacscentre.co.uk> References: <10558498.1143073871474.JavaMail.johnpatten@mac.com> <4421F22A.2040303@ehug.info> <0FFCD347-EB22-4E3C-A264-59625B82ECA4@lacscentre.co.uk> <6FCE3FB7-8B4C-4397-8A71-6D23CD726DCD@lacscentre.co.uk> Message-ID: <4422DA69.8010608@ehug.info> Dave, Thanks for your mail, I'll reply off-list. Best, Mark Dave Cragg wrote: > Sorry. My previous post was meant to go directly to Mark. Please forget > you read it. :-) So you won't be disappointed when nothing appears. > > I should probably learn how to use e-mail before messing around with > libraries. > > Dave -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From dburgun at dsl.pipex.com Thu Mar 23 12:27:34 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 23 Mar 2006 17:27:34 +0000 Subject: Very Very Very Basic Question!!!!! In-Reply-To: <4422D704.2050807@fourthworld.com> References: <4422D704.2050807@fourthworld.com> Message-ID: Hi, > As for the second line, since myData is declared locally what do > you want to do with it? It's scope suggests that nothing is done > with it, since it's declared inside the handler and the handler > doesn't do anything with it before it exits. It was just an example, in the real stack I am doing real things with the data, see my posts in " Re: Weirdness Passing Messages" > Interestingly, if I change the script in the field to this: > > set the text of me to "XXXXX" Bingo! Should this work? Is this a bug? I can see (just) that: put "XXXXX" into me may not work, but not the "set the text of me" form????? I am about to change it (all over the place) to use: set the text of the long name of me to "XXXXX" As this *seems* solid. One more question: Is it better to use "the long id of me" or "the long name of me" ??????? Thanks a lot, I really do appreciate you taking the time to look at this. All the Best Dave It was just an On 23 Mar 2006, at 17:12, Richard Gaskin wrote: > David Burgun wrote: >> Should the following lines work 100% of the time, regardless of >> how or where the message handler is called? >> on MessageHandler >> local myData >> set the text of the long name of me to "XXXXX" >> put the text of the long name of me into myData >> end MessageHandler > > Works here like this: > > Stack "A" is a mainstack, and stack "B" is a substack of "A". "B" > has two cards, the second card has a field with the script above in > it. Stack "A" has a button with this script: > > on mouseUp > send "MessageHandler" to fld "x" of cd 2 of stack "b" > end mouseUp > > If I go to cd 1 of stack "B" and then click the button in stack > "A", when I go back to cd 2 of stack "B" I get "XXXXX" in the field. > > Interestingly, if I change the script in the field to this: > > set the text of me to "XXXXX" > > ...it fails. > > I then reverted the script to the form that works, went to card 1 > of "B", saved "B", then closed it, and then clicked the button in > stack "A" again -- opening "B" again and looking at cd 2 showed > "XXXXX" in the field. This may be useful since it confirms that > you can trigger messages and alter properties in stacks that aren't > officially open, as long as their destroyStack property is false. > > So the rule is that as long as you coerce object references derived > from "me" to the long ID you'll be fine. In other cases "me" will > work as expected, but for the reasons outlined in my earlier > lengthy post not always (thanks, HyperCard team). > > As for the second line, since myData is declared locally what do > you want to do with it? It's scope suggests that nothing is done > with it, since it's declared inside the handler and the handler > doesn't do anything with it before it exits. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Thu Mar 23 12:28:05 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Mar 2006 09:28:05 -0800 Subject: Weirdness Passing Messages Message-ID: <4422DAA5.1060002@fourthworld.com> David Burgun wrote: > From what you say below, I can understand why put x into me *may* > not work, but not why: > > set the text of me to x > > doesn't work either? Others may disagree, but I consider that a bug and have filed a report on it: If Transcript is to be learnable we must at least expect property settings to be consistent. The "set" command must act like the "set" command, and "me" should resolve to the object reference when used in conjunction with "set". In this case, even if it's an inherited HyperTalk behavior I believe it should be updated to be consistent. The future holds more newcomers than old HyperTalkers, and I see no benefit to sacrificing a much larger future to adhere to a bad practice used by very few people (if it all) in the past. And there may be no conflict at all in honoring "set" consistently -- how did HyperCard handle such cases? > Also, why in the case where the handler is called from one place it > works but if called from within another Handler it doesn't! This seems related to the ambiguity of "me": sometimes it refers to the object, sometimes to the object's contents. I'm not sure if this particular case is a bug or an inherited HyperTalk "feature" -- maybe Jacque knows? If this is not how HyperTalk works I would encourage you to create a bug report for that one as well. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jonathandlynch at gmail.com Thu Mar 23 12:32:27 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Thu, 23 Mar 2006 12:32:27 -0500 Subject: White Flash In-Reply-To: <4422DA1D.6040504@ehug.info> References: <3ECCABA3-31CC-413C-AC23-5FBF0C243B96@carroll-davis.co.uk> <4422DA1D.6040504@ehug.info> Message-ID: <31e1938c0603230932y28bc79ejab8467f2e5192049@mail.gmail.com> Also, what about making the stack invisible, then changing the decorations, then making it visible again? You can get even fancier, by creating a new stack whose rect is the screen rect, containing an image of the screen, then change your stack underneath, then delete the cover stack. From ambassador at fourthworld.com Thu Mar 23 12:34:34 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Mar 2006 09:34:34 -0800 Subject: Pixel Question Message-ID: <4422DC2A.6070005@fourthworld.com> Klaus Major wrote: >> Bob Warren wrote: >>> Suppose I have 2 cards in a stack and I am moving the mouse over >>> the top card (naturally). I want to know what colour is under the >>> mouse pointer in a corresponding position on the 2nd card which is >>> hidden underneath. > > sorry this is not possible right out of the box. > "the mousecolor" will only for the "actual" pixel under the cursor. > >> Richard G. wrote: >> get the mouseColor > > maybe a whiff of sleep wouldn't hurt... ;-) Yes indeed, I missed" hidden underneath". The mouseColor works off the screen buffer, so while it works reliably for all windows, even the desktop or anything else on screen, it won't work on things that can't be seen. I'll see if I can work out a nap later.... :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From livfoss at mac.com Thu Mar 23 12:42:43 2006 From: livfoss at mac.com (Graham Samuel) Date: Thu, 23 Mar 2006 18:42:43 +0100 Subject: Keeping windows together on Windows XP Message-ID: <49A994C7-0C5D-4FB6-A1C0-4D3AE6579824@mac.com> On Thu, 23 Mar 2006 07:30:31 -0800, Rob Cozens wrote: > Graham, > > >> What I would like is to take charge of the whole front of the screen >> while my app is active - is this possible? >> > > Would setting a backdrop accomplish what you want? Well, maybe, but when I tried this I ran into a problem on Windows where the backdrop turned into an independent process and had to be closed with ctrl-alt-delete. I may have been doing something wrong, but rather than investigate it I went back to my homegrown backdrop which fills all the screen apart from the toolbar/dock area (that's what I've been asked to do, not cover the whole screen kiosk-style) and always pushes my other stacks to the front every time it gets a chance... I will look at backdrop some more. Thanks for replying Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From ambassador at fourthworld.com Thu Mar 23 12:45:40 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Mar 2006 09:45:40 -0800 Subject: Very Very Very Basic Question!!!!! Message-ID: <4422DEC4.3020902@fourthworld.com> David Burgun wrote: > One more question: Is it better to use "the long id of me" or "the > long name of me" ??????? While the purist will say that a good developer never has two objects with the same name, I doubt many of us are so pure. :) When there are two controls on a card with the same name, or two cards in a stack with the same name, the object with the lowest ordinal number will be returned, which may or may not be the one you were after. Long IDs are known to be unique* so they're recommended for absolute object references. > Thanks a lot, I really do appreciate you taking the time to look at > this. Many years ago (before the Web was invented, in the mid-80s) I got a lot of help from other programmers via BBSes and such. Then I discovered NNTP and a whole new world of help opened up. Then AOL's HyperCard forum opened and Jacque saved my bacon there many a time. I've had a lot of help over the years from others online. Just paying it forward.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com * While built-in IDs are always unique to a stack, it's possible to confuse things if you use the altID property. That's too lengthy a subject to get into here, but as long as you don't use it then long IDs will be a trustworthy friend for a lifetime. From dburgun at dsl.pipex.com Thu Mar 23 12:47:51 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 23 Mar 2006 17:47:51 +0000 Subject: Weirdness Passing Messages In-Reply-To: <4422DAA5.1060002@fourthworld.com> References: <4422DAA5.1060002@fourthworld.com> Message-ID: <550F8B2F-6BA3-4A6C-8AE5-B2ED58433485@dsl.pipex.com> Hi, Thank you sooooooooooo much, you have no idea of how it felt to be trying to sort this out. I really don't know much about the internals of RunRev to have a clue as to where to start looking sometimes! The one thing that REALLY hacks me off is that there is no mention of this at all in the documentation that I can find: From the 2.6.6 dictionary: me keyword Platform support: Introduced in version 1.0 Equivalent to the object that contains the currently running handler. set the borderWidth of me to it put the short ID of me into savedID put me into myVariable -- puts contents, if me is a container put me into myVariable -- puts name, if me is not a container See also: it keyword, target function, target keyword, text property Description Use the me keyword within a handler to determine which object's script is executing. Comments: The me keyword is a reference to the object whose script contains the current handler. If the currently executing handler is in the script of the object that received the original message, then me is the same as the object whose name is returned by the target function. For example, suppose a button script contains a mouseDown handler. The value of the target function within that mouseDown handler is the same as the name of me: the name of the button. However, if the mouseDown handler is in the card's script instead of the button's, me is not the same as the object specified by the target. In this case, me is the card, but the target function returns the button's name, because the button is the object that first received the mouseDown message. The me keyword can be used anywhere an object reference is used. --------------------------------------------------- How hard would it have been to add something like: the form put into me may not always work depending on context. To be safe use the following form: set the text of the long name of me to If you would like it to work 100% of the time. I also checked the PDF file that came with 2.7, no mention of that there either! All I can say is "thanks for nothing RunRev, you just cost me 2 days of hair pulling!!!!" Thanks again All the Best Dave From jbv.silences at club-internet.fr Thu Mar 23 13:03:50 2006 From: jbv.silences at club-internet.fr (jbv) Date: Thu, 23 Mar 2006 19:03:50 +0100 Subject: Pixel Question References: <4422CE64.1050200@howsoft.com> Message-ID: <4422E301.23DE9CD3@club-internet.fr> Hi Bob, > Dear All, > > Suppose I have 2 cards in a stack and I am moving the mouse over the top > card (naturally). I want to know what colour is under the mouse pointer > in a corresponding position on the 2nd card which is hidden underneath. > > I have tried, but so far without success. Any ideas anyone? > Here's something I would try (I don't have the time right now though) : - make a screenshot of the card underneath so that in can be imported inside an image object (hidden if necessary) - get the mouse location (x,y coordinates) - then compute the pixel value of the image using the imagedata property HTH, JB From scott at tactilemedia.com Thu Mar 23 12:52:33 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 23 Mar 2006 09:52:33 -0800 Subject: Terrible RunRev Bug? - Was Weirdness Passing Messages In-Reply-To: Message-ID: Recently, David Burgun wrote: > The problem in a nutshell is that: > > put "xxxxx" into me > > or > > set the text of me to "xxxxx" > > Does not work 100% of the time. Mark Smith has reproduced the same > problem. > ... > It would be nice to know if this would 100% solve the problem > regardless of where the handler is called from. Richard Gaskin already suggested a solution: use the long ID as opposed to the long name. If you create two buttons, both of the same name, they have the same long name reference: answer long name of btn 1 & cr & long name of btn 2 If you use the long ID, they will have unique references: answer long ID of btn 1 & cr & long ID of btn 2 Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jonathandlynch at gmail.com Thu Mar 23 12:57:00 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Thu, 23 Mar 2006 12:57:00 -0500 Subject: Paragraph Level Text Formatting In-Reply-To: References: Message-ID: <31e1938c0603230957o28c0edd5pd3ac828c7274308b@mail.gmail.com> What is meant by paragraph-level formatting? Specifically, what things can one not do? From dburgun at dsl.pipex.com Thu Mar 23 13:01:10 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 23 Mar 2006 18:01:10 +0000 Subject: Terrible RunRev Bug? - Was Weirdness Passing Messages In-Reply-To: References: Message-ID: <29EFC5BF-6952-4678-81B7-DA07AF5B4168@dsl.pipex.com> On 23 Mar 2006, at 17:52, Scott Rossi wrote: > Recently, David Burgun wrote: > >> The problem in a nutshell is that: >> >> put "xxxxx" into me >> >> or >> >> set the text of me to "xxxxx" >> >> Does not work 100% of the time. Mark Smith has reproduced the same >> problem. >> ... >> It would be nice to know if this would 100% solve the problem >> regardless of where the handler is called from. > > > Richard Gaskin already suggested a solution: use the long ID as > opposed to > the long name. > > If you create two buttons, both of the same name, they have the > same long > name reference: > > answer long name of btn 1 & cr & long name of btn 2 > > > If you use the long ID, they will have unique references: > > answer long ID of btn 1 & cr & long ID of btn 2 > > Regards, Thanks Scott, all my names are unique, but I will use the long id form since it is safer. Thanks a lot All the Best From chris at carroll-davis.co.uk Thu Mar 23 13:21:10 2006 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Thu, 23 Mar 2006 18:21:10 +0000 Subject: White Flash In-Reply-To: <31e1938c0603230932y28bc79ejab8467f2e5192049@mail.gmail.com> References: <3ECCABA3-31CC-413C-AC23-5FBF0C243B96@carroll-davis.co.uk> <4422DA1D.6040504@ehug.info> <31e1938c0603230932y28bc79ejab8467f2e5192049@mail.gmail.com> Message-ID: Ah! Now Jonathan, this would definitely work! Great lateral thinking. If I get time, I will have a go at this and let you know the results. Chris > You can get even fancier, by creating a new stack whose rect is the > screen > rect, containing an image of the screen, then change your stack > underneath, > then delete the cover stack. On 23 Mar 2006, at 17:32, Jonathan Lynch wrote: > Also, what about making the stack invisible, then changing the > decorations, > then making it visible again? > > You can get even fancier, by creating a new stack whose rect is the > screen > rect, containing an image of the screen, then change your stack > underneath, > then delete the cover stack. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Thu Mar 23 13:26:31 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Mar 2006 10:26:31 -0800 Subject: Weirdness Passing Messages Message-ID: <4422E857.3030503@fourthworld.com> David Burgun wrote: > Thank you sooooooooooo much, you have no idea of how it felt to be > trying to sort this out. I really don't know much about the internals > of RunRev to have a clue as to where to start looking sometimes! That's what this list is for. Every language has its "gotchas" (Mikey was once cataloging the ones for Transcript -- Mikey, still got that URL active?). I remember working with THINK C years ago and finding myself frustrated that none of the C examples in Bond's book on externals would compile correctly. "Surely it's me," I thought, and figured I'd learn more later and move on to writing other things. Later I was using Code Warrior and woke up one day to find that Apple had changed most of their headers, requiring me (and every other developer) to make extensive revisions to our code. Later on I was talking about my bad luck with C (one of the reasons I fell in love all over again with xTalk was the tedium of C) with Mark Lucas, perhaps the best C Mac programmer I know, and he said, "Dude, I could have saved you a lot of time with Bonds -- none of those examples have worked with any compiler for years." :) Always a new gotcha to discover.... > The one thing that REALLY hacks me off is that there is no mention of > this at all in the documentation that I can find: ... > All I can say is "thanks for nothing RunRev, you just cost me 2 days > of hair pulling!!!!" FWIW you can extend those thanks to Dan Winkler, the designer of the "mother tongue", HyperTalk. A lot of xTalk's most annoying ambiguities come from a desire to prioritize flexibility over consistency. The "sometimes" rules introduced with regard to field references (and later extended to any object that can work as a container, such as buttons and in Rev images too) comes from HyperTalk. I agree that there's always room for more thorough discussion in the docs, but there are so many combinations one can employ these tokens in that I don't think it's humanly possible to document them all. Your case, frustrating as it's been for you, isn't one I've come across before since I started with xTalks in '87. Now that might be only because I fell into a habit of using long IDs early on, and whenever I don't get what I'm looking for in the first try I'll use some form of long ID instead and it works so I don't think about it beyond that. That said, the ambiguities with "me" and "target" come up often enough that they do warrant special attention in the docs, and I just submitted an enhancement request so this doesn't fall off the radar: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From stephenREVOLUTION at barncard.com Thu Mar 23 13:26:21 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 23 Mar 2006 10:26:21 -0800 Subject: Paragraph Level Text Formatting In-Reply-To: <31e1938c0603230957o28c0edd5pd3ac828c7274308b@mail.gmail.com> References: <31e1938c0603230957o28c0edd5pd3ac828c7274308b@mail.gmail.com> Message-ID: Paragraph Level Text Formatting : Each paragraph can be left center right or justified alignment. This can't be done in rev. The whole field is justified one way. Also there are other text features found in MS Word that aren't found in the current text engine, I just can't recall. But justification is the big one. >What is meant by paragraph-level formatting? > >Specifically, what things can one not do? -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From dburgun at dsl.pipex.com Thu Mar 23 13:48:26 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 23 Mar 2006 18:48:26 +0000 Subject: Weirdness Passing Messages In-Reply-To: <4422E857.3030503@fourthworld.com> References: <4422E857.3030503@fourthworld.com> Message-ID: <3155655F-C4A7-4D04-82FC-AD64A2CA5176@dsl.pipex.com> On 23 Mar 2006, at 18:26, Richard Gaskin wrote: > David Burgun wrote: >> Thank you sooooooooooo much, you have no idea of how it felt to >> be trying to sort this out. I really don't know much about the >> internals of RunRev to have a clue as to where to start looking >> sometimes! > > That's what this list is for. Every language has its > "gotchas" (Mikey was once cataloging the ones for Transcript -- > Mikey, still got that URL active?). > > I remember working with THINK C years ago and finding myself > frustrated that none of the C examples in Bond's book on externals > would compile correctly. "Surely it's me," I thought, and figured > I'd learn more later and move on to writing other things. > > Later I was using Code Warrior and woke up one day to find that > Apple had changed most of their headers, requiring me (and every > other developer) to make extensive revisions to our code. > > Later on I was talking about my bad luck with C (one of the reasons > I fell in love all over again with xTalk was the tedium of C) with > Mark Lucas, perhaps the best C Mac programmer I know, and he said, > "Dude, I could have saved you a lot of time with Bonds -- none of > those examples have worked with any compiler for years." :) > > Always a new gotcha to discover.... Yep! I've been thru something like this too, the difference here that springs to mind is that the book you are talking about was written by a third party, whereas the problem here is with the makers of the product. The thing is that there are loads of example stacks and examples in the documentation that use the form: put into me IMO, they should *all* be changed so that they work 100% of the time or at least a footnote given stating that it will only work *some* of the time! I'm in the process of changing all my scripts now! I just realized that a bug I had in a completely different stack was due to this. I worked around the problem another way (using the "openCard" handler to re-initialize the objects in question). Just so I understand this: in some circumstances; put into me Result in the object contents being used instead of the reference to the object? If this is true, then if the field just happened to contain "button 1", would: put "XXXXX" into me result in the contents of button 1 being changed? Thanks a lot Dave From ambassador at fourthworld.com Thu Mar 23 13:49:18 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Mar 2006 10:49:18 -0800 Subject: Keeping windows together on Windows XP Message-ID: <4422EDAE.2080009@fourthworld.com> Graham Samuel wrote: > On Wed, 22 Mar 2006 18:40:06 -0800, Jim Ault >> Actually, I use the F10 key... tap it twice and Expose will show/ >> bring to >> the front all the windows in the frontmost app. >> >> Also, tab-switching by ( cmd-tab, cmd-shift-tab ) which will show >> the tab >> display, then bring you back the the left-most app. >> > Thanks Jim - that's news to me! Maybe I can add it to the > instructions for my app... but as Ken points out, we have the problem > on OSX too. There's a completely different approach which may or may not work with your app specifically, but maybe worth considering: Unlike Mac Classic, OS X has interleaved windows like Windows and Linux. In the past we could spread the views into the user's data across multiple windows, and on Mac at least we knew those windows would stay together in their own layer. But now the Mac is like the rest of the world, suggesting new ways of thinking. Last year at RevCon West I discussed how one of the projects I'm working on (HyperRESEARCH) is migrating from a multi-window interface to a single window that uses multiple resizable panels. This seems consistent with Apple's direction as well: for most of the Mac's history, video editing apps have had one window for previewing the video, another for the timeline, and another for clips. In iMovie, these are all in one window, done in adjustable panes. We see multi-pane UIs everywhere now, in Outlook (where they've been for years), Thunderbird, iPhoto, Adobe Lightroom, and more. Seems I come across a new one every week. In addition to saying goodbye to window interleaving issues, there are many other benefits. For starters, you only need to move one control to resize two panes, while you'd have to adjust two separate windows to get the same view (and be oh so careful about how you adjust them if you don't want them overlapping). It also makes a cleaner presentation if your app supports multiple documents, since each document is in its own self-contained window. And it makes like easier for users who want your app to dominate their screen: they just click one Maximize button rather than tinker around with adjusting window rects. So this year at RevCon West I'll show the result of our conversion of the HyperRESEARH UI, and share some code to help create and manage multi-pane interfaces (among other things). Being "stuck" in the beautiful French countryside I would understand if you don't make it to RevCon West, but fear not -- I can bring it to Euro RevCon in Malta this November and we'll go over it then, and if I get a toolkit together before then I can pass it along in the meantime. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From garrett at paraboliclogic.com Thu Mar 23 13:51:18 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 23 Mar 2006 10:51:18 -0800 Subject: Syntax Highlighting Routine - Need help In-Reply-To: <442277D9.4080407@qwest.net> References: <17B2F545-277B-464C-8D2E-D130687B3DBE@lexicall.org> <003801c64b65$40ffe4d0$0300000a@makabre> <005401c64b6a$cd78cb20$0300000a@makabre> <014701c64b8f$45d01870$0300000a@makabre> <17818680-B82B-11DA-B811-0030657E1638@pon.net> <4422496B.3040806@paraboliclogic.com> <442277D9.4080407@qwest.net> Message-ID: <4422EE26.20400@paraboliclogic.com> Arthur Urban wrote: > I'm presuming you have massive speed issues? Well, even if you don't, I > was thinking that maybe it would be best if you called SubHighlight in > your rawKeyUp handler only for specific key presses like the spacebar or > return key. That way you are colorizing only after complete words and > lines have been entered. Just a thought, I don't know how exhaustive you > need the user feedback to be. :) Arthur, Thanks a bunch for responding. Just reading your response made me think (that, and some sleep finally). While what you suggest sounds great, my routine would still make the program suffer, and that's because I'm checking the entire document. Instead, I should only check a chunk range that is around where the user is typing, and not the entire document. Thanks again, -Garrett From jonathandlynch at gmail.com Thu Mar 23 13:57:34 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Thu, 23 Mar 2006 13:57:34 -0500 Subject: Paragraph Level Text Formatting In-Reply-To: References: <31e1938c0603230957o28c0edd5pd3ac828c7274308b@mail.gmail.com> Message-ID: <31e1938c0603231057r5fa799fu5ff327ea0c46ef8c@mail.gmail.com> Ah, I have a stack that solves this problem. It creates series of fields where the formatted text flows through them, allowing you to wrap around images and the like. From chris at carroll-davis.co.uk Thu Mar 23 14:02:41 2006 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Thu, 23 Mar 2006 19:02:41 +0000 Subject: White Flash In-Reply-To: References: <3ECCABA3-31CC-413C-AC23-5FBF0C243B96@carroll-davis.co.uk> <4422DA1D.6040504@ehug.info> <31e1938c0603230932y28bc79ejab8467f2e5192049@mail.gmail.com> Message-ID: Jonathan - Couldn't resist giving it a go... It works - perfectly! Except... it's a bit slow. :-( Even on my G5 dual proc it takes about 2-3 seconds. In this case, I'll have to decide if the visual improvement is worth the speed penalty. But this may well be a useful technique for future projects - it could "hide" a multitude of sins! C On 23 Mar 2006, at 18:21, Chris Carroll-Davis wrote: > Ah! Now Jonathan, this would definitely work! Great lateral > thinking. If I get time, I will have a go at this and let you know > the results. > > Chris > >> You can get even fancier, by creating a new stack whose rect is >> the screen >> rect, containing an image of the screen, then change your stack >> underneath, >> then delete the cover stack. > > > > > On 23 Mar 2006, at 17:32, Jonathan Lynch wrote: > >> Also, what about making the stack invisible, then changing the >> decorations, >> then making it visible again? >> >> You can get even fancier, by creating a new stack whose rect is >> the screen >> rect, containing an image of the screen, then change your stack >> underneath, >> then delete the cover stack. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Mar 23 14:09:33 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 23 Mar 2006 13:09:33 -0600 Subject: Paragraph Level Text Formatting In-Reply-To: <31e1938c0603231057r5fa799fu5ff327ea0c46ef8c@mail.gmail.com> Message-ID: On 3/23/06 12:57 PM, "Jonathan Lynch" wrote: > Ah, I have a stack that solves this problem. > > It creates series of fields where the formatted text flows through them, > allowing you to wrap around images and the like. If it's not proprietary, could you publish this to RevOnline or RevNet? That would be a great example for people who might need it... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From scott at tactilemedia.com Thu Mar 23 14:11:56 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 23 Mar 2006 11:11:56 -0800 Subject: White Flash In-Reply-To: <3ECCABA3-31CC-413C-AC23-5FBF0C243B96@carroll-davis.co.uk> Message-ID: Recently, Chris Carroll-Davis wrote: > Does anyone know a cunning way to prevent a window briefly painting > white when changing the window decorations?? A few things you can try: 1) Set the bottomRight of the window offscreen (like -1000,-1000), do your changes, and then move the window back to where you want it. Note that there is an intermittent bug in window positioning that requires you to position the window to at least two offscreen locations to make sure the position "sticks". I usually do something like this: set bottomRight of stack 1 to -1000,-1000 set bottomRight of stack 1 to -10000,-10000 set bottomRight of stack 1 to -1000,-1000 Goofy, yes, but it gets around the positioning problem. 2) If you're using Rev 2.7, try setting the blendLevel of stack itself to 100, do your changes, and then set the blendLevel back to 0. 3) If you're using Rev 2.6 and your stack is Mac-only, you can use Trevor DeVore's Window external to do a combination of 1 and 2 -- position the stack offscreen, make changes, set the alpha value of the stack to transparent, move the stack back, then set the alpha value to opaque. > I do seem to remember in my SC days (heretic! heretic!) there was > an xcmd called "no flash" or "don'tPaintWhite" or similar. I believe this might be the same external that Mark Hanrek wrote while working with me on RadWindow, the first custom window shape external for SC. We found the "white flash" annoying and he graciously wrote the WFE (White Flash Eliminator) external to get around the problem. Those were fun times. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From Cubist at aol.com Thu Mar 23 14:19:40 2006 From: Cubist at aol.com (Cubist at aol.com) Date: Thu, 23 Mar 2006 14:19:40 EST Subject: Paragraph Level Text Formatting Message-ID: <23c.9253b0a.31544ecc@aol.com> In a message dated 3/23/06 10:27:32 AM, "Jonathan Lynch" writes: >What is meant by paragraph-level formatting? The ability to have stuff like margins and first-indent value, vary by paragraph. At present, that stuff varies *by FIELD*, not *by PARAGRAPH*; that is, you can't have one paragraph in a field using different marginas than the rest of the paragraph. The obvious solution is for RunRev to upgrade Rev's text-handling capabilities. Failing that, the next most obvious solution is to put each paragraph into a field of its own, adjusting margins & etc independently, and group all of said paragraphs. The former solution is critically dependent on RunRev deciding that this problem is high-enough priority to be worth working on; the latter solution is *really* messy if you want to be able to handle *input*ting text like a word processor, as opposed to just *display*ing text... From devin_asay at byu.edu Thu Mar 23 14:26:50 2006 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 23 Mar 2006 12:26:50 -0700 Subject: What is whichMenu? In-Reply-To: References: Message-ID: <94E801A3-11E7-4D78-BD72-C3D15778A4FA@byu.edu> On Mar 23, 2006, at 10:15 AM, Dr. Robert E. Ball wrote: > When using the browser pointer, I go to the menubar of my OS X > stack, click > on a menu item, e.g. File, and then click on one of the dropdown > items in > the menu, e.g. Save in the File menu. In the message watcher, I get > > MouseDown -- I clicked on File > cREVGetsUpdate > MenuPick -- I clicked on Save > whichMenu > > when it works properly. However, on another stack it doesn't work. > I only > get > > mouseDown > cREVGetsUpdate > menuPick > > > No whichMenu. ??? I don't know where to look to find out where the > problem > is located. I searched the PDF manual and Googoled whichMenu. No > luck. Does > anyone know where whichMenu is described? It looks like a passed parameter variable is showing up in the message watcher. When you write a menuPick handler you normally want to include a parameter variable after the handler name, like this: on menuPick whichMenu switch whichMenu case "Open" # do open stuff break case "Quit" # do quit stuff break end switch end menuPick The parameter variable holds the name of the menu item that was chosen. It can be any valid variable name, but many rev programmers use the convention in which parameter variables begin with p, eg. pWhich or pTheThingTheyChoseOnTheMenu. You really need to capture this passed argument in order to make the menu behave the way you want. If it's not captured in a variable then the menuPick handler likely will not work. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From ambassador at fourthworld.com Thu Mar 23 14:31:14 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Mar 2006 11:31:14 -0800 Subject: Weirdness Passing Messages Message-ID: <4422F782.9090507@fourthworld.com> David Burgun wrote: >> Later on I was talking about my bad luck with C (one of the reasons >> I fell in love all over again with xTalk was the tedium of C) with >> Mark Lucas, perhaps the best C Mac programmer I know, and he said, >> "Dude, I could have saved you a lot of time with Bonds -- none of >> those examples have worked with any compiler for years." :) >> >> Always a new gotcha to discover.... > > Yep! I've been thru something like this too, the difference here that > springs to mind is that the book you are talking about was written by > a third party, whereas the problem here is with the makers of the > product. You've never programmed with the CarbonLib API, have you? ;) Bugs, including errors and ommissions in documentation, are not unique to Rev. In fact, offhand I can't think of any programming language or operating system API that doesn't have a great many such issues. > The thing is that there are loads of example stacks and examples in > the documentation that use the form: > > put into me > > IMO, they should *all* be changed so that they work 100% of the time > or at least a footnote given stating that it will only work *some* of > the time! Code that works works. What you've discovered is a fairly rare usage in which other people's code doesn't work in your specific setup. I agree it's a bug, but it doesn't mean that other code doesn't work in the context it was written for. > I'm in the process of changing all my scripts now! "All" may be more work than is necessary. Things that aren't broken probably don't need fixing. > Just so I understand this: > > in some circumstances; put into me > > Result in the object contents being used instead of the reference to > the object? If this is true, then if the field just happened to > contain "button 1", would: > > put "XXXXX" into me > > result in the contents of button 1 being changed? Interesting question -- what happened when you tried it? I tested it here and neither the button nor the field changed. It seems your specific circumstance simply exposed a bug in which using "me" in a field on a card that isn't opened behaves as expected in all respects except actually putting the data into the field. The ambiguity with "me" and other forms of field references relates more to getting data than putting. With regard to putting our tests in this discussion reveal it's less of an ambiguity and more of a simple bug. Interestingly, if you change your field script to read: on MessageHandler set the text of me to "xxxxxxxxxxxxxx" answer me end MessageHandler ...the answer dialog displays "xxxxxxxxxxx", even though when you later go to that card the field's actual contents appears unchanged. Tuviah (the former lead engineer) once explained to me that there's a lot of work done with initializing fields on open cards that the engine doesn't do on unopened cards. Once in a while this works to your advantage: if you use a field on an unopened card to strip out html to obtain the text only, like this: set the htmlText of fld 1 of card MyUnopenedCard get the text of fld 1 of card MyUnopenedCard ....it's many times faster than doing the same operation on a field on an opened card. But as you've found, there's also a bug there: fields on unopened cards apparently don't get their text set correctly if the "set" command is used in the field and the field is the target of a "send" command used to trigger this. That's a lot of very specific conditions which must be met for this error to be evident, which is probably why it hasn't been reported before. If the button script sets the text directly, without relying on "send", the text is updated as expected: put "xxxxxxxxxxxxxxxxxxxxxx" into fld 1 of cd 2 of stack "b" So yes, there's a bug. But it's such a very specific bug that it's not likely to affect many people, and there are two simple workarounds for it: a) use "the long id of me" instead of simply "me" b) set the data from the original button script directly rather than using "send" Just the same, for the sake of completeness I've filed a bug report for you: Given the highly specific nature of the bug and that there are at least two ways to avoid it, I've marked its Severity rating as "Minor". Please review the bug report to get a feel for the level of specificity which helps the team resolve them, and please post there any other reproducible bugs, with recipes, you may find. Yes, there are no doubt more bugs waiting to be discovered, perhaps some less obscure than this one. HyperCard is often cited by its fans as being "bug free", but a team member reports that it shipped with more than 500 known bugs (and an knowable number of bugs that hadn't been discovered in testing). Rev is a much more complex program than HyperCard. We can expect the bugs-per-thousand-lines-of-code to be at least on par, and it may actually be lower. Windows has thousands of known issues, as does OS X. Welcome to software. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From chris at carroll-davis.co.uk Thu Mar 23 14:31:36 2006 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Thu, 23 Mar 2006 19:31:36 +0000 Subject: White Flash In-Reply-To: References: Message-ID: <942FFCF3-FFE4-41AE-89E8-95E858560019@carroll-davis.co.uk> Scott - Thanks for the tips. The real problem is that I want the stack visible on screen the whole time! So Jonathan's crafty trick of using a screen grab to fake the window's existence on screen was very cunning. You are right about the external - I remember now. Back in those prehistoric days, the white flash lasted a lot longer than it does today. That external saved my bacon on a number of projects! Think I'm going to just have to live with this one. All the best, Chris On 23 Mar 2006, at 19:11, Scott Rossi wrote: > Recently, Chris Carroll-Davis wrote: > >> Does anyone know a cunning way to prevent a window briefly painting >> white when changing the window decorations?? > > A few things you can try: > > 1) Set the bottomRight of the window offscreen (like -1000,-1000), > do your > changes, and then move the window back to where you want it. Note > that > there is an intermittent bug in window positioning that requires > you to > position the window to at least two offscreen locations to make > sure the > position "sticks". I usually do something like this: > set bottomRight of stack 1 to -1000,-1000 > set bottomRight of stack 1 to -10000,-10000 > set bottomRight of stack 1 to -1000,-1000 > Goofy, yes, but it gets around the positioning problem. > > 2) If you're using Rev 2.7, try setting the blendLevel of stack > itself to > 100, do your changes, and then set the blendLevel back to 0. > > 3) If you're using Rev 2.6 and your stack is Mac-only, you can use > Trevor > DeVore's Window external to do a combination of 1 and 2 -- position > the > stack offscreen, make changes, set the alpha value of the stack to > transparent, move the stack back, then set the alpha value to opaque. > > >> I do seem to remember in my SC days (heretic! heretic!) there was >> an xcmd called "no flash" or "don'tPaintWhite" or similar. > > I believe this might be the same external that Mark Hanrek wrote while > working with me on RadWindow, the first custom window shape > external for SC. > We found the "white flash" annoying and he graciously wrote the WFE > (White > Flash Eliminator) external to get around the problem. > > Those were fun times. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From johnpatten at mac.com Thu Mar 23 14:36:57 2006 From: johnpatten at mac.com (John Patten) Date: Thu, 23 Mar 2006 11:36:57 -0800 Subject: Ftp and cross platform issues... Message-ID: <1364814.1143142617794.JavaMail.johnpatten@mac.com> Thanks to all who replied! Originally, I was running Rev 2.7 on the XP box. So I went and tried it with 2.6. Still no luck. I took a look at the WindowsXP firewall settings and it was turned on. Turning off the built in WindowsXP Firewall allowed the ftp stack to work (Ftper)properly. Problem indentified! I went in and looked at the firewall exceptions and Revolution, Revolution 2.6, and Revolution Engine for Win32 were all programs that were checked as exceptions in the Windows firewall settings. In terms of active and passive ftp, the WindowsXP box was set for "Use Passive FTP" in the WinXP Advanced Internet configuration panel. I didn't think this could be an issue, since it worked when I disabled the Windows firewall. Not sure how I would check the OSX Server ftp service to verify if it was running in passive or active mode. Maybe something from the cmd line..? 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? Thank you! John Patten SUSD ----------------------------------------------------------- Message: 21 Date: Thu, 23 Mar 2006 04:30:21 -0600 From: Chipp Walters Subject: Re: FTP and cross platform issues... To: How to use Revolution Message-ID: <442278BD.8050002 at chipp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi John, What version of Rev are you using? If you're on 2.7 and having trouble with FTP uploads, I suggest you contact Dave Cragg and get his 2.7 libURL patch and try it again. I've had some problems with libURL on 2.7 and FTP and Dave sent me a patch which fixed it. best, Chipp ------------------------------ From jonathandlynch at gmail.com Thu Mar 23 14:46:07 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Thu, 23 Mar 2006 14:46:07 -0500 Subject: Paragraph Level Text Formatting In-Reply-To: <23c.9253b0a.31544ecc@aol.com> References: <23c.9253b0a.31544ecc@aol.com> Message-ID: <31e1938c0603231146w1c863d81p2bdacc5ad6c6829c@mail.gmail.com> My faerie tale generator stack (still incomplete) handles inputting text that allows formatted text to flow between fields in a series. The fields can be shaped however you wish. I sent it to Ken to check out. If he thinks it worthy, I will post it online whereever he suggests. For my uses, it works quite well. From katir at hindu.org Thu Mar 23 14:46:09 2006 From: katir at hindu.org (Sivakatirswami) Date: Thu, 23 Mar 2006 09:46:09 -1000 Subject: Making the move... In-Reply-To: <44189137.4090004@hyperactivesw.com> References: <20060315180004.23F3082638F@mail.runrev.com> <44187281.9030805@fourthworld.com> <44189137.4090004@hyperactivesw.com> Message-ID: <62AB3021-A84E-466F-AB9B-892338F1E9B2@hindu.org> at www.himalayanacademy.com and www.hinduismtoday.com we use *only* rev cgi's... and REvo remote clients But, I have also installed PMwiki which uses PHP. mod_php is presumably "up and running" all the time, but the rev engine is being loaded on each instance of a cgi being called. Nevertheless I can assure you, the Rev CGI "beat the pants off PHP" And we have some fairly complex CGI's in Rev, complex in the sense that they read templates from disk, replace place holder strings in the templates and send the web page back out. It really sparkles... while PMwiki, fast relative to other database based wikis, is sluggish compared to my Rev CGI's. FYI: but that is not enough (smile) we are going to set up a new web server in a couple of days, with a dual XEON processor at servePath with a 100mbps VPN socket to the switch (where our box is the *only* box on the Class C network before the router) and Andre will be figuring out how to install Fast_CGI behind Revolution on the new box...We can't wait to see how this thing will blaze! We will keep you all posted. I don't know any other language at all but Revolution... so all this talk about ajax and stuff is way over my head... maybe that's an advantage ifI you already have a Lear Jet, why do you need to know how to run a bi-prop? Hindu Press International is daily generated from the managing editor's, work station on, this Rev app builds the daily web pages, posts RSS feeds, send out email to the mailing list. I have a remote app deployed where voluteers can access the web server, download sound files, they do their work, the application uploads transcripts, opens the XML file in their browser, sends me and email... I mean *why* on earth do you even *want* to use an app inside a browser. If you *need* to access the web, which is not a bad thing.. then just send the to the browser to do what browsers do: display HTML: a librarian for static resources and leave it there. We use parsed web page templates (heavy use of SSI's) on all our sites and with you can do some very interesting things. For example, at www.himalayanacademy.com the side bar links for any web pages on in any area on the web site are dynamically chosen based on the location of the web page. It's very cool and utterly simple, because it means that our web editors can take one template, use it for any web page in any location and he will get the local area navigation automatically installed depending on where the web page is placed. www.himalayanacademy.com/taka/ see the little "archive" iFrame, down on the right side of the page. This is another very interesting use of Rev...where the CGI installs an interactive "calendar" object (so to speak) into the iFrame, dynamically. it's basically an embedded object... and if it were "JAVA" who know where you could go with it. my point here is similar to Wally's: I'm not a developer, in any given day we have a *lot* of other things happening. Somehow with Rev, I can build all this in house and RAD stuff without breaking your head on small coding issues for days and days. If my manager editor comes to me with a small feature request for the Hindu Press International app I built... With transcript it always seems like it's a rare day when you cannot solve a problem or figure out how to get something done in less than ten minutes... and then keep moving forward. meanwhile, every time I open the PHP config files for the web wiki, I start to get a headache right away (smile)... I mean... I *can* figure it out...but, it's just like one has to keep groking that code all, while with transcript, you just think and do it. If Anyone wants to see our CGI's I would be happy to put them somewhere. Because I am not a developer, they could be easy for newbies to re-use. I see a lot of different places not where this kind of offering could be posted and one doesn't know which is best. And last but not least, to affirm Richard's observations with real life testimony (I think I posted some of this once before) > While only useful in a subset of scenarios, it offers many > benefits, esp. for intranets where employers are losing billions in > lost productivity by providing open web access to their employees > when all they really need is access to specific company- and vendor- > specific resources. *confirmed!*: This week we see another case of the trend.."Away from browsers" We have a xerox Printer copier proofing machine here and Xerox used to deploy a browser based, UI, that users on the LAN would open in IE or Firefox (didn't work in Safari....) to *see* the printer across the LAN, the printer is using a truncated linux OS on the FIERY.. well that thing was so buggy and broken... Well guess what? Their reps came by this week to tell us. "Our engineers at Xerox abandoned the web based Java UI and we have built this cool net enable desktop application called Command WorkStation...we got an OSX version and one for Windows... so now you can run your Fiery apps: Color calibration, scanner access, printer spool controller etc. all from this desktop application.. oh yeah that web based app was horrible, we agree..." I just had to smile... as our Revolutionaries have been writing these things for over 5 Years now...and REv developers are *perfectly* poised to meet this demand... Similarly, inside Creo's high end Emerge and InSite Pre-press framework, (Creo is now owned by Xerox) their engineers are also moving toward net enabled desktop apps which are slowly displacing or at least complementing, their *incredibly slow!!* Java based AJAX thingies... tech support at Banta Electronic Pre-Press in Kansas City (those guys live on the cutting edge of enterprise collaboration tools) singing pretty much the same tune "Oh yeah, Creo had so much trouble with that browser based Synapse Prepare Java framework, time wise, it was killing all the pre-press teams and publishers were complaining they couldn't afford to have their people falling asleep while that stuff loaded in the browser . Your team at Hinduism Today loves the bleeding edge... why don't you test Creo's latest Insite Remote Desktop client for us... you can download the OSX version here.....It's really fast and Creo's engineers say they love it -- they don't have to try to make that thing work inside a browser any more... what a relief." Oh, "Hello," it's 2006 already... and they are just waking up... "Beyond the Browser" By Richard Gaskin... 1st draft, 2001 (smile) Sivakatirswami On Mar 15, 2006, at 12:12 PM, J. Landman Gay wrote: > I don't have benchmarks, but Scott Raney once said that the load > time of the engine when used as a CGI was "insignificant". From jonathandlynch at gmail.com Thu Mar 23 14:49:32 2006 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Thu, 23 Mar 2006 14:49:32 -0500 Subject: White Flash In-Reply-To: <942FFCF3-FFE4-41AE-89E8-95E858560019@carroll-davis.co.uk> References: <942FFCF3-FFE4-41AE-89E8-95E858560019@carroll-davis.co.uk> Message-ID: <31e1938c0603231149ofd0d38t5049b35a6a99d070@mail.gmail.com> Does this have to be done by setting the decorations? Can you just resize the stack? From martyknapp at comcast.net Thu Mar 23 15:02:57 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 23 Mar 2006 12:02:57 -0800 Subject: Making the move... In-Reply-To: <62AB3021-A84E-466F-AB9B-892338F1E9B2@hindu.org> References: <20060315180004.23F3082638F@mail.runrev.com> <44187281.9030805@fourthworld.com> <44189137.4090004@hyperactivesw.com> <62AB3021-A84E-466F-AB9B-892338F1E9B2@hindu.org> Message-ID: <4422FEF1.60802@comcast.net> Sivakatirswami wrote: > > If Anyone wants to see our CGI's I would be happy to put them > somewhere. Because I am not a developer, they could be easy for > newbies to re-use. I see a lot of different places not where this kind > of offering could be posted and one doesn't know which is best. Thanks for sharing what's happening with you - very inspiring. Personally, I would love to take a look at what you've put together. I'm just in the middle of Jacque's great cgi tutorial and am eager to learn all I can about Rev CGIs. I've recently applied for a couple of web developer jobs (one at out local university) but a downfall for me is that I don't program in Perl or PHP, and can't seem to get motivated to do so. It would be great to see Rev become more well know for this dimension of its vast capabilities. Marty Knapp From scott at tactilemedia.com Thu Mar 23 15:32:31 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 23 Mar 2006 12:32:31 -0800 Subject: Pixel Question In-Reply-To: <4422CE64.1050200@howsoft.com> Message-ID: Recently, Bob Warren wrote: > Suppose I have 2 cards in a stack and I am moving the mouse over the top > card (naturally). I want to know what colour is under the mouse pointer > in a corresponding position on the 2nd card which is hidden underneath. I believe this function will retrieve the pixel color of a pixel in any image using the X,Y position of the pixel as measured from the topleft of the image. Pass the long ID of the image and the X,Y coordinates as follows: on mouseUp answer retrievePixelColor(long id of myImage,5,5) end mouseUp function retrievePixelColor pObj,X,Y put imageData of pObj into tData put ((Y-1) * width of pObj * 4) + ((X-1)*4) into P repeat with N = 2 to 4 put charToNum(char (P+N) of tData) & "," after tColor end repeat delete last char of tColor return tColor end retrievePixelColor Let me know if this works for you. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From bobwarren at howsoft.com Thu Mar 23 15:44:28 2006 From: bobwarren at howsoft.com (Bob Warren) Date: Thu, 23 Mar 2006 17:44:28 -0300 Subject: Pixel Question Message-ID: <442308AC.30000@howsoft.com> JB wrote: >Hi Bob, >> Dear All, >> >> Suppose I have 2 cards in a stack and I am moving the mouse over the top >> card (naturally). I want to know what colour is under the mouse pointer >> in a corresponding position on the 2nd card which is hidden underneath. >> >> I have tried, but so far without success. Any ideas anyone? >> >Here's something I would try (I don't have the time right now though) : >- make a screenshot of the card underneath so that in can be imported >inside an image object (hidden if necessary) >- get the mouse location (x,y coordinates) >- then compute the pixel value of the image using the imagedata >property >HTH, >JB ----------------------------- Thanks JB! I have little doubt that the method would work, even without trying it. I also thought of using imagedata, but I was hoping for a less cumbersome solution. It's the "compute" bit that might take up a bit of CP time, especially if some mad hatter like me makes the mouse go whizzing around the screen! But I see no other alternative at the moment, and after all, the proof of the pudding is in the eating, so I'll give it a try in practice. Thanks again, and also to Richard and (wide-awake) Klaus! Regards to all, Bob From davecs1 at verizon.net Thu Mar 23 15:47:24 2006 From: davecs1 at verizon.net (Dave Calkins 1) Date: Thu, 23 Mar 2006 12:47:24 -0800 Subject: Paragraph Level Text Formatting : In-Reply-To: <20060323180008.E22C18260B0@mail.runrev.com> References: <20060323180008.E22C18260B0@mail.runrev.com> Message-ID: This one element severely hampers many different types of applications that need these typical and basic text editing features. bugzilla # 2194 http://support.runrev.com/bugdatabase/show_bug.cgi?id=2194 > Paragraph Level Text Formatting : > > Each paragraph can be left center right or justified alignment. This > can't be done in rev. The whole field is justified one way. > > Also there are other text features found in MS Word that aren't found > in the current text engine, I just can't recall. But justification is > the big one. > >> What is meant by paragraph-level formatting? >> >> Specifically, what things can one not do? Dave Calkins From jacque at hyperactivesw.com Thu Mar 23 16:06:09 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 Mar 2006 15:06:09 -0600 Subject: Weirdness Passing Messages In-Reply-To: <3155655F-C4A7-4D04-82FC-AD64A2CA5176@dsl.pipex.com> References: <4422E857.3030503@fourthworld.com> <3155655F-C4A7-4D04-82FC-AD64A2CA5176@dsl.pipex.com> Message-ID: <44230DC1.6090405@hyperactivesw.com> David Burgun wrote: > Just so I understand this: > > in some circumstances; put into me > > Result in the object contents being used instead of the reference to > the object? If this is true, then if the field just happened to contain > "button 1", would: > > put "XXXXX" into me > > result in the contents of button 1 being changed? The answer seems to be in the documentation you quoted in another note: > put me into myVariable -- puts contents, if me is a container > put me into myVariable -- puts name, if me is not a container If it is a container, you get the contents. If it is not a container, you get the object name. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jbv.silences at club-internet.fr Thu Mar 23 16:22:15 2006 From: jbv.silences at club-internet.fr (jbv) Date: Thu, 23 Mar 2006 22:22:15 +0100 Subject: Pixel Question References: Message-ID: <44231186.CF1C3BE4@club-internet.fr> great job Scott. BTW I didn't know that chartonum also worked on binary data... JB > Recently, Bob Warren wrote: > > > Suppose I have 2 cards in a stack and I am moving the mouse over the top > > card (naturally). I want to know what colour is under the mouse pointer > > in a corresponding position on the 2nd card which is hidden underneath. > > I believe this function will retrieve the pixel color of a pixel in any > image using the X,Y position of the pixel as measured from the topleft of > the image. Pass the long ID of the image and the X,Y coordinates as > follows: > > on mouseUp > answer retrievePixelColor(long id of myImage,5,5) > end mouseUp > > function retrievePixelColor pObj,X,Y > put imageData of pObj into tData > put ((Y-1) * width of pObj * 4) + ((X-1)*4) into P > repeat with N = 2 to 4 > put charToNum(char (P+N) of tData) & "," after tColor > end repeat > delete last char of tColor > return tColor > end retrievePixelColor > > Let me know if this works for you. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From scott at tactilemedia.com Thu Mar 23 16:17:05 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 23 Mar 2006 13:17:05 -0800 Subject: Pixel Question In-Reply-To: <44231186.CF1C3BE4@club-internet.fr> Message-ID: Recently, jbv wrote: >> I believe this function will retrieve the pixel color of a pixel in any >> image using the X,Y position of the pixel as measured from the topleft of >> the image. > great job Scott. Thanks. As long as it works. Most of the thanks go to Ken Ray for the way cool info about imageData/alphaData on his site. I'm not a math guy (Jim Hurley will vouch for that) but after a little head banging I've been able to grasp the concept. Sort of. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dave at crystalpiersw.com Thu Mar 23 16:18:04 2006 From: dave at crystalpiersw.com (Dave Beck) Date: Thu, 23 Mar 2006 18:18:04 -0300 Subject: standalone crashing In-Reply-To: <20060323172413.9B0A7826093@mail.runrev.com> Message-ID: <20060323201544.B533B825FC0@mail.runrev.com> Thanks Jacqueline. I looked at that Microsoft Send Error Log dialog and could not find any way to extract the error logs. Any I missing something? Even Copy and Paste didn't seem to work. Is there an easy way to save the log to a file? Also, the stack contains a lot of proprietary technology that I would not want to release to whoever is on the other end of bugzilla, so I would definitely not feel comfortable posting a copy of this particular stack. Where is the bugzilla site so I can at least start a case for this problem? Thanks, David >> PS. I'm happy to have my clients collect the error logs if it would help. >It always helps, and sometimes is the only clue as to what the problem >is. Most of us have found 2.6.1 to be extremely stable, so if you are >seeing problems, there is likely a reason specific to that particular >stack. Please do bugzilla it, attach a copy of your stack (not the >standalone), and every time you get a new log, attach it to the bug >report. Crashing problems get top priority. From davecs1 at verizon.net Thu Mar 23 15:47:24 2006 From: davecs1 at verizon.net (Dave Calkins 1) Date: Thu, 23 Mar 2006 12:47:24 -0800 Subject: Paragraph Level Text Formatting : In-Reply-To: <20060323180008.E22C18260B0@mail.runrev.com> References: <20060323180008.E22C18260B0@mail.runrev.com> Message-ID: This one element severely hampers many different types of applications that need these typical and basic text editing features. bugzilla # 2194 http://support.runrev.com/bugdatabase/show_bug.cgi?id=2194 > Paragraph Level Text Formatting : > > Each paragraph can be left center right or justified alignment. This > can't be done in rev. The whole field is justified one way. > > Also there are other text features found in MS Word that aren't found > in the current text engine, I just can't recall. But justification is > the big one. > >> What is meant by paragraph-level formatting? >> >> Specifically, what things can one not do? Dave Calkins From chipp at chipp.com Thu Mar 23 16:36:47 2006 From: chipp at chipp.com (Chipp Walters) Date: Thu, 23 Mar 2006 15:36:47 -0600 Subject: Copy Image to Clipboard broke in 2.7? Message-ID: <442314EF.3040707@chipp.com> I just finished created a charting program, which uses the great new anti-aliasing in Rev 2.7. But, now it turns out copying an image to the clipboard is broke as far as I can tell. Anyone have success doing it on a PC? I've tried on various PC's the folowing. copy image "fred" doesn't work. Try copying and image and then pasting it into MSPaint or anywhere else other than Rev. Then there's: set the clipboardData["image"] to image "fred" Still no go. and the good old standby, which has worked since the Rev 1.0: on copyToClip pImage set the paintCompression to "png" lock messages lock screen choose select tool drag from topleft of image pImage to botright of image pImage copy unlock messages unlock screen choose browse tool end copyToClip (btw, I've tried setting the paintCompression to all other values). doesn't work either. I have to say, I really like the new features, but I'm routing for an update soon! best, Chipp -- -------------- Chipp Walters www.altuit.com From jacque at hyperactivesw.com Thu Mar 23 17:00:17 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 Mar 2006 16:00:17 -0600 Subject: Weirdness Passing Messages In-Reply-To: <4422DAA5.1060002@fourthworld.com> References: <4422DAA5.1060002@fourthworld.com> Message-ID: <44231A71.1090702@hyperactivesw.com> Richard Gaskin wrote: > David Burgun wrote: > >> From what you say below, I can understand why put x into me *may* >> not work, but not why: >> >> set the text of me to x >> >> doesn't work either? > > > Others may disagree, but I consider that a bug and have filed a report > on it: > > I agree, there's a problem here. I have now looked at a sample stack that David sent me in email. > > If Transcript is to be learnable we must at least expect property > settings to be consistent. > > The "set" command must act like the "set" command, and "me" should > resolve to the object reference when used in conjunction with "set". I don't think the problem is with "set". I think it is with the interpretation of "me". > > In this case, even if it's an inherited HyperTalk behavior I believe it > should be updated to be consistent. The future holds more newcomers > than old HyperTalkers, and I see no benefit to sacrificing a much larger > future to adhere to a bad practice used by very few people (if it all) > in the past. There is no problem with HC compatibility; HC acts differently than Rev here. > > And there may be no conflict at all in honoring "set" consistently -- > how did HyperCard handle such cases? In HyperCard, you can't use "set the text of" so "set" isn't an issue. However, when I made a duplicate stack in HC, and changed the commands to "put xxx into me" (for compatibility) HC worked fine. So the problem is only in Rev. > > >> Also, why in the case where the handler is called from one place it >> works but if called from within another Handler it doesn't! It isn't clear to me yet, but I suspect it's the way "me" is interpreted. "Me" is the object (or contents) of the currently running handler, but since the sample stack does a lot of "sends", I believe the engine isn't successfully tracking which object is "me". It appears to think only the original handler's object is "me", which in a way is true because the first object's handler really *is* still running. When you specify the long name instead of "me" then the object reference is more specific and it works. This may be due to the fact that, as Richard mentioned, fields on remote cards are not initialized; I'm not sure. If that's true, then in this case there is no "me" except for the originating object on card 1. 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 seems related to the ambiguity of "me": sometimes it refers to the > object, sometimes to the object's contents. > > I'm not sure if this particular case is a bug or an inherited HyperTalk > "feature" -- maybe Jacque knows? It is not how HC works. HC does what you'd expect. > If this is not how HyperTalk works I would encourage you to create a bug > report for that one as well. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pevensen at siboneylg.com Thu Mar 23 17:08:56 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 23 Mar 2006 16:08:56 -0600 Subject: Custom radio buttons Message-ID: <6.2.1.2.2.20060323160716.052fd628@exchange.slg.com> 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? Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-628-4588 From jacque at hyperactivesw.com Thu Mar 23 17:34:58 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 Mar 2006 16:34:58 -0600 Subject: standalone crashing In-Reply-To: <20060323201544.B533B825FC0@mail.runrev.com> References: <20060323201544.B533B825FC0@mail.runrev.com> Message-ID: <44232292.5000106@hyperactivesw.com> Dave Beck wrote: > Thanks Jacqueline. > > I looked at that Microsoft Send Error Log dialog and could not find any way > to extract the error logs. Any I missing something? Even Copy and Paste > didn't seem to work. Is there an easy way to save the log to a file? I'm not sure. Let's appeal to others -- does anyone know? > > Also, the stack contains a lot of proprietary technology that I would not > want to release to whoever is on the other end of bugzilla, so I would > definitely not feel comfortable posting a copy of this particular stack. I understand, though without a working example it can be hard to diagnose and fix, especially since not many others are having the problem. If you can think of a way to create a simple stack that demonstrates the problem, that would help. > Where is the bugzilla site so I can at least start a case for this problem? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhonken at x12.info Thu Mar 23 17:59:28 2006 From: jhonken at x12.info (Jeff Honken) Date: Thu, 23 Mar 2006 15:59:28 -0700 Subject: Players Message-ID: <000001c64ecd$73175910$670fa8c0@work1> Can anyone tell me who has created a Rev player. I know there's Revoludens at: http://economy-x-talk.com/ . Is there any more besides the one Runrev has? Jeff From jhonken at x12.info Thu Mar 23 18:29:48 2006 From: jhonken at x12.info (Jeff Honken) Date: Thu, 23 Mar 2006 16:29:48 -0700 Subject: Launch .rev file from .exe Message-ID: <000601c64ed1$afc17360$670fa8c0@work1> Is it possible to launch a .rev file from a standalone .exe compiled from Revolution? If so what command launches the .rev file. Jeff From kray at sonsothunder.com Thu Mar 23 18:30:52 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 23 Mar 2006 17:30:52 -0600 Subject: Players In-Reply-To: <000001c64ecd$73175910$670fa8c0@work1> Message-ID: On 3/23/06 4:59 PM, "Jeff Honken" wrote: > Can anyone tell me who has created a Rev player. I know there's > Revoludens at: http://economy-x-talk.com/ . Is there any more besides > the one Runrev has? Jeff There's StackRunner at: http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Thu Mar 23 18:31:30 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 23 Mar 2006 17:31:30 -0600 Subject: Launch .rev file from .exe In-Reply-To: <000601c64ed1$afc17360$670fa8c0@work1> Message-ID: On 3/23/06 5:29 PM, "Jeff Honken" wrote: > Is it possible to launch a .rev file from a standalone .exe compiled > from Revolution? If so what command launches the .rev file. Jeff open stack HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jhonken at x12.info Thu Mar 23 18:44:41 2006 From: jhonken at x12.info (Jeff Honken) Date: Thu, 23 Mar 2006 16:44:41 -0700 Subject: Launch .rev file from .exe In-Reply-To: Message-ID: <000001c64ed3$c4421950$670fa8c0@work1> Ken, Thanks for the reply. If my .rev is out on the web I'm assuming I have to go out and get it before I use the "Open" command. Do you know the best way to fetch the file and open it? I have a small test app that I'm trying to open and run at: HTTP://www.x12help.com/blank.rev Jeff -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray Sent: Thursday, March 23, 2006 4:32 PM To: Use Revolution List Subject: Re: Launch .rev file from .exe On 3/23/06 5:29 PM, "Jeff Honken" wrote: > Is it possible to launch a .rev file from a standalone .exe compiled > from Revolution? If so what command launches the .rev file. Jeff open stack HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From jeff at siphonophore.com Thu Mar 23 19:34:55 2006 From: jeff at siphonophore.com (jeffrey reynolds) Date: Thu, 23 Mar 2006 19:34:55 -0500 Subject: last 2.6x version In-Reply-To: <20060311002432.78E77826063@mail.runrev.com> References: <20060311002432.78E77826063@mail.runrev.com> Message-ID: 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 From martyknapp at comcast.net Thu Mar 23 19:41:44 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 23 Mar 2006 16:41:44 -0800 Subject: Launch .rev file from .exe In-Reply-To: <000001c64ed3$c4421950$670fa8c0@work1> References: <000001c64ed3$c4421950$670fa8c0@work1> Message-ID: <44234048.8060405@comcast.net> Hey Jeff, If I understand your question, you would use: go stack URL "HTTP://www.x12help.com/blank.rev" HTH, Marty Knapp > Ken, > Thanks for the reply. If my .rev is out on the web I'm assuming I > have to go out and get it before I use the "Open" command. Do you know > the best way to fetch the file and open it? I have a small test app > that I'm trying to open and run at: HTTP://www.x12help.com/blank.rev > > Jeff From bfr at nwlink.com Thu Mar 23 20:03:35 2006 From: bfr at nwlink.com (Bruce Robertson) Date: Thu, 23 Mar 2006 17:03:35 -0800 Subject: Revolution in Seattle? Message-ID: 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 we are giving some thought to demonstrating Rev at a meeting. I'm trying to find good resources to support such an activity. From jhonken at x12.info Thu Mar 23 20:10:48 2006 From: jhonken at x12.info (Jeff Honken) Date: Thu, 23 Mar 2006 18:10:48 -0700 Subject: Launch .rev file from .exe In-Reply-To: <44234048.8060405@comcast.net> Message-ID: <000501c64edf$c9307ef0$670fa8c0@work1> Yep. That worked great. Is there any way to put a password on a .rev file so someone else can't modify the file. I know there is if I save it to an .exe but can you put a password on a .rev file? Jeff -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Marty Knapp Sent: Thursday, March 23, 2006 5:42 PM To: How to use Revolution Subject: Re: Launch .rev file from .exe Hey Jeff, If I understand your question, you would use: go stack URL "HTTP://www.x12help.com/blank.rev" HTH, Marty Knapp > Ken, > Thanks for the reply. If my .rev is out on the web I'm assuming I > have to go out and get it before I use the "Open" command. Do you know > the best way to fetch the file and open it? I have a small test app > that I'm trying to open and run at: HTTP://www.x12help.com/blank.rev > > Jeff _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From martyknapp at comcast.net Thu Mar 23 20:14:45 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 23 Mar 2006 17:14:45 -0800 Subject: Revolution in Seattle? In-Reply-To: References: Message-ID: <44234805.6080109@comcast.net> Hey Bruce, I'm just north of you in Bellingham and Scott Morrow is in the Custer area (between here and the border). I'd be interested to know of other Revolution users too. Marty Knapp > 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 we are giving some > thought to demonstrating Rev at a meeting. I'm trying to find good resources > to support such an activity. > From martyknapp at comcast.net Thu Mar 23 20:21:52 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 23 Mar 2006 17:21:52 -0800 Subject: Launch .rev file from .exe In-Reply-To: <000501c64edf$c9307ef0$670fa8c0@work1> References: <000501c64edf$c9307ef0$670fa8c0@work1> Message-ID: <442349B0.3000605@comcast.net> Jeff, Sure - see the docs for password. Also If you don't have Richard Gaskin's Devolution, it's a great add-on. I use the Stack Properties pallet to set my passwords. Find it at: It's free as well! Marty Knapp > Yep. That worked great. Is there any way to put a password on a .rev > file so someone else can't modify the file. I know there is if I save > it to an .exe but can you put a password on a .rev file? Jeff > From jmac at consensustech.com Thu Mar 23 20:24:27 2006 From: jmac at consensustech.com (Jim MacConnell) Date: Thu, 23 Mar 2006 17:24:27 -0800 Subject: Revolution in Seattle? In-Reply-To: References: Message-ID: <17F017D4-8EDD-471C-91B8-B61FB5CE79EF@consensustech.com> Bruce, I live in Seattle but am a casual user/perpetual newbie to Rev. There is so much more to Rev than I can address that someone else would probably be a better choice to demo it.... . But I'd love to participate anyway. Wold this be ab excuseto jump to 2.7? I'm still 2.2.1'ing it. Jim James H. MacConnell Consensus Technology, LLC 2200 N. 77th St. Seattle, WA 98103-4928 www.consensustech.com Tel: 206.524.8555 Fax: 206.524.3034 > 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 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From JimAultWins at yahoo.com Thu Mar 23 21:23:17 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 23 Mar 2006 18:23:17 -0800 Subject: Revolution in Seattle? In-Reply-To: <17F017D4-8EDD-471C-91B8-B61FB5CE79EF@consensustech.com> Message-ID: I would think that there would be several users on campus downtown. Adam Engst, publisher of TidBits Newsletter (tidbits.com) might have local contacts. He as been a Mac activist (I think, in Seattle) back in the earliest days. Also Matt Neuburg might be a point of email contact. Just not sure what he is up to these days. Just down the road in Portland is a sizeable user group, PMUG, whose web site is http://www.pmug.org/. They are very active (about 800 members), have their own BBS, and do two marvelous special meetings a year at Silver Falls Park ( http://www.pmug.org/pages/camp.html). Contacting them might locate some Seattle-based Rev users. Jim Ault Las Vegas On 3/23/06 5:24 PM, "Jim MacConnell" wrote: > Bruce, > > I live in Seattle but am a casual user/perpetual newbie to Rev. There > is so much more to Rev than I can address that someone else would > probably be a better choice to demo it.... . But I'd love to > participate anyway. Wold this be ab excuseto jump to 2.7? I'm still > 2.2.1'ing it. > > Jim > > > James H. MacConnell > > Consensus Technology, LLC > 2200 N. 77th St. > Seattle, WA 98103-4928 > www.consensustech.com > Tel: 206.524.8555 > Fax: 206.524.3034 > > > > >> 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 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lfredricks at proactive-intl.com Thu Mar 23 22:15:25 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 23 Mar 2006 19:15:25 -0800 Subject: Revolution in Seattle? In-Reply-To: <44234805.6080109@comcast.net> Message-ID: <20060324031529.BCAA87F0B5@spatula.dreamhost.com> With so many people in the Seattle area, what about an semi-regular Revolution User's Group? If you all are interested in forming one or getting some demos together for other user groups, send me a message off-list. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From mwieder at ahsoftware.net Thu Mar 23 23:02:01 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 23 Mar 2006 20:02:01 -0800 Subject: FTP and cross platform issues... In-Reply-To: <44226335.1020400@ehug.info> References: <10558498.1143073871474.JavaMail.johnpatten@mac.com> <4421F22A.2040303@ehug.info> <12638766172.20060322210011@ahsoftware.net> <44226335.1020400@ehug.info> Message-ID: <4740525302.20060323200201@ahsoftware.net> Mark- Thursday, March 23, 2006, 12:58:29 AM, you wrote: > Why would you want to use active FTP especially for testing > purposes? IMHO passive FTP is simpler. ...because you have control over which ports are used and don't have to worry about whether you've opened a range of ports in your firewall. It gets worse if routers in between have to route packets because then you have to open more ports all the way through. Much easier just to deal with two ports, get that working, and then try passive mode if you have to. Also... I used to have a router that would die if someone from the outside attempted a passive-mode ftp connection. It was configured properly, it just couldn't do it. I checked the network traffic and there was a response from my ftp server, but then the router had to be physically rebooted before it would work again. PITA. -- -Mark Wieder mwieder at ahsoftware.net From garrett at paraboliclogic.com Thu Mar 23 23:19:45 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 23 Mar 2006 20:19:45 -0800 Subject: Revolution in Seattle? In-Reply-To: References: Message-ID: <44237361.6060000@paraboliclogic.com> Bruce Robertson wrote: > 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 we are giving some > thought to demonstrating Rev at a meeting. I'm trying to find good resources > to support such an activity. I'm still a newbie really, but have enough of a grasp now that I think I could show others the basics about Rev. But I'm down at American Lake, just below Tacoma, next to Fort Lewis. As long as you provide the computer and Rev on it. I'd use my laptop, but I didn't get the Windows license. I have it setup as a dual boot with a linux distro, and Rev is installed on the linux, but! Rev is so ugly on linux that I'd really prefer not to show people that unless no choice. I'd bring my Mac Mini with Rev on it, but it's just to gosh darned pretty sitting right where it's at :-) -Garrett From mwieder at ahsoftware.net Thu Mar 23 23:27:53 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 23 Mar 2006 20:27:53 -0800 Subject: Automated testing In-Reply-To: <4422D3E9.3020809@fourthworld.com> References: <4422D3E9.3020809@fourthworld.com> Message-ID: <3842077574.20060323202753@ahsoftware.net> Richard- Thursday, March 23, 2006, 8:59:21 AM, you wrote: > I try to stay up on crashes so I can avoid them. ...that explains the lack of sleep... -- -Mark Wieder mwieder at ahsoftware.net From JimAultWins at yahoo.com Thu Mar 23 23:46:28 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 23 Mar 2006 20:46:28 -0800 Subject: Pixel Question In-Reply-To: <44231186.CF1C3BE4@club-internet.fr> Message-ID: > 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. from the docs... Each pixel is represented by 32 bits (4 bytes) of image data, with pixels numbered from the top left corner of the image, left to right, then top to bottom. The first byte consists of zeroes, and the last three bytes encode the amount of red, green, and blue respectively. Since each pixel is represented by 4 bytes (4 characters), you can obtain the numeric value of any of the color channels for a given pixel using the charToNum function. >> Scott Rossi >> I believe this function will retrieve the pixel color of a pixel in any >> image (that is in the Rev format)! Jim Ault Las Vegas On 3/23/06 1:22 PM, "jbv" wrote: >> Recently, Bob Warren wrote: >> >>> Suppose I have 2 cards in a stack and I am moving the mouse over the top >>> card (naturally). I want to know what colour is under the mouse pointer >>> in a corresponding position on the 2nd card which is hidden underneath. >> >> I believe this function will retrieve the pixel color of a pixel in any >> image using the X,Y position of the pixel as measured from the topleft of >> the image. Pass the long ID of the image and the X,Y coordinates as >> follows: >> >> on mouseUp >> answer retrievePixelColor(long id of myImage,5,5) >> end mouseUp >> >> function retrievePixelColor pObj,X,Y >> put imageData of pObj into tData >> put ((Y-1) * width of pObj * 4) + ((X-1)*4) into P >> repeat with N = 2 to 4 >> put charToNum(char (P+N) of tData) & "," after tColor >> end repeat >> delete last char of tColor >> return tColor >> end retrievePixelColor >> >> Let me know if this works for you. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, Multimedia & Design >> ----- >> E: scott at tactilemedia.com >> W: http://www.tactilemedia.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobwarren at howsoft.com Thu Mar 23 23:54:57 2006 From: bobwarren at howsoft.com (Bob Warren) Date: Fri, 24 Mar 2006 01:54:57 -0300 Subject: Pixel Question Message-ID: <44237BA1.9010702@howsoft.com> Recently, Scott Rossi wrote: >Recently, Bob Warren wrote: >> > Suppose I have 2 cards in a stack and I am moving the mouse over the top >> > card (naturally). I want to know what colour is under the mouse pointer >> > in a corresponding position on the 2nd card which is hidden underneath. > > I believe this function will retrieve the pixel color of a pixel in any > image using the X,Y position of the pixel as measured from the topleft of > the image. Pass the long ID of the image and the X,Y coordinates as > follows: > > on mouseUp > answer retrievePixelColor(long id of myImage,5,5) > end mouseUp > > function retrievePixelColor pObj,X,Y > put imageData of pObj into tData > put ((Y-1) * width of pObj * 4) + ((X-1)*4) into P > repeat with N = 2 to 4 > put charToNum(char (P+N) of tData) & "," after tColor > end repeat > delete last char of tColor > return tColor > end retrievePixelColor > > Let me know if this works for you. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design ------------------------------------------------- Thanks a lot Scott, almost there! 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? Regards, Bob From kray at sonsothunder.com Fri Mar 24 00:06:24 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 23 Mar 2006 23:06:24 -0600 Subject: Custom radio buttons In-Reply-To: <6.2.1.2.2.20060323160716.052fd628@exchange.slg.com> Message-ID: On 3/23/06 4:08 PM, "Peter T. Evensen" 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... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mwieder at ahsoftware.net Fri Mar 24 00:08:30 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 23 Mar 2006 21:08:30 -0800 Subject: Ftp and cross platform issues... In-Reply-To: <1364814.1143142617794.JavaMail.johnpatten@mac.com> References: <1364814.1143142617794.JavaMail.johnpatten@mac.com> Message-ID: <1844514889.20060323210830@ahsoftware.net> 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. 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. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Mar 24 00:08:46 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 23 Mar 2006 21:08:46 -0800 Subject: MVC in Rev? In-Reply-To: <442281C8.1080903@wanadoo.fr> References: <4421B55A.7000801@fourthworld.com> <442281C8.1080903@wanadoo.fr> Message-ID: <10044530171.20060323210846@ahsoftware.net> 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"... -- -Mark Wieder mwieder at ahsoftware.net From bfr at nwlink.com Fri Mar 24 01:04:48 2006 From: bfr at nwlink.com (Bruce Robertson) Date: Thu, 23 Mar 2006 22:04:48 -0800 Subject: Revolution in Seattle? In-Reply-To: Message-ID: > I would think that there would be several users on campus downtown. > > Adam Engst, publisher of TidBits Newsletter (tidbits.com) might have local > contacts. He as been a Mac activist (I think, in Seattle) back in the > earliest days. Adam as you probably know is no longer in Seattle, but maybe he still has contacts who use Rev. At the Macworld 2005 Netter's dinner he asked a lot of survey questions, some about programming tools. Rev wasn't on the list then but I mentioned it so he said he would include it now. From shaosean at hotmail.com Fri Mar 24 01:24:11 2006 From: shaosean at hotmail.com (Sean Shao) Date: Fri, 24 Mar 2006 01:24:11 -0500 Subject: [OT] Two Announcements Message-ID: First one is from the guy that started Linspire (Lindows) www.michaelrobertson.com and it's about Web-based applications.. The first one they've released is a Word Processor. They claim that they will be releasing new programs every Wednesday. They only work in Firefox though. Second one is from me. I LOVE MY iPOD!!! =) -- "Carry on with whatever you pretend to do when not worshipping me" -Sean _________________________________________________________________ Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From scott at elementarysoftware.com Fri Mar 24 01:52:14 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 23 Mar 2006 22:52:14 -0800 Subject: Revolution in Seattle? In-Reply-To: <44234805.6080109@comcast.net> References: <44234805.6080109@comcast.net> Message-ID: Actually, Marty, I just work in Custer... I'm a Bellinghamster like you. And I'd be game for getting together in Seattle with some other "local" RevHeads. -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Mar 23, 2006, at 5:14 PM, Marty Knapp wrote: > Hey Bruce, > > I'm just north of you in Bellingham and Scott Morrow is in the > Custer area (between here and the border). I'd be interested to > know of other Revolution users too. > > Marty Knapp On Mar 23, 2006, at 7:15 PM, Lynn Fredricks wrote: > With so many people in the Seattle area, what about an semi-regular > Revolution User's Group? If you all are interested in forming one > or getting > some demos together for other user groups, send me a message off-list. > > Best regards, > > > Lynn Fredricks > Worldwide Business Operations > Runtime Revolution, Ltd From JimAultWins at yahoo.com Fri Mar 24 01:58:33 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 23 Mar 2006 22:58:33 -0800 Subject: Revolution in Seattle? In-Reply-To: Message-ID: I wonder if there are any of your local school districts that have Rev interests? Are there any places to make announcements? On 3/23/06 10:52 PM, "Scott Morrow" wrote: > Actually, Marty, I just work in Custer... I'm a Bellinghamster like > you. And I'd be game for getting together in Seattle with some > other "local" RevHeads. > > -Scott Morrow > > Elementary Software > (Now with 20% less chalk dust !) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > > ----------------------------------------------------------------- > > On Mar 23, 2006, at 5:14 PM, Marty Knapp wrote: > >> Hey Bruce, >> >> I'm just north of you in Bellingham and Scott Morrow is in the >> Custer area (between here and the border). I'd be interested to >> know of other Revolution users too. >> >> Marty Knapp > > On Mar 23, 2006, at 7:15 PM, Lynn Fredricks wrote: >> With so many people in the Seattle area, what about an semi-regular >> Revolution User's Group? If you all are interested in forming one >> or getting >> some demos together for other user groups, send me a message off-list. >> >> Best regards, >> >> >> Lynn Fredricks >> Worldwide Business Operations >> Runtime Revolution, Ltd > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From psahores at easynet.fr Fri Mar 24 03:22:39 2006 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 24 Mar 2006 09:22:39 +0100 Subject: rev sockets driven apps... In-Reply-To: <0C084AB5-C185-4050-814A-B7DD0B2FF718@rpsystems.net> References: <11BE276F-4034-4045-A3B3-301D9DFA4302@easynet.fr> <0C084AB5-C185-4050-814A-B7DD0B2FF718@rpsystems.net> Message-ID: <3ECEA2E2-360C-4FB8-8127-18A2CD3DD2F6@easynet.fr> 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. >>> >>> > > 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 From alex at tweedly.net Fri Mar 24 03:50:41 2006 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 24 Mar 2006 08:50:41 +0000 Subject: Ftp and cross platform issues... In-Reply-To: <1844514889.20060323210830@ahsoftware.net> References: <1364814.1143142617794.JavaMail.johnpatten@mac.com> <1844514889.20060323210830@ahsoftware.net> Message-ID: <4423B2E1.1000103@tweedly.net> 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 From a.calloway at callowaygreen.com Fri Mar 24 04:28:12 2006 From: a.calloway at callowaygreen.com (Andy Calloway) Date: Fri, 24 Mar 2006 09:28:12 -0000 Subject: Setting up a team... Message-ID: <004c01c64f25$45a085d0$1500a8c0@ACERLaptop> 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. From JimAultWins at yahoo.com Fri Mar 24 05:01:00 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 24 Mar 2006 02:01:00 -0800 Subject: Setting up a team... In-Reply-To: <004c01c64f25$45a085d0$1500a8c0@ACERLaptop> Message-ID: On 3/24/06 1:28 AM, "Andy Calloway" wrote: >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" 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From europe at ehug.info Fri Mar 24 06:01:43 2006 From: europe at ehug.info (Mark Schonewille) Date: Fri, 24 Mar 2006 12:01:43 +0100 Subject: last 2.6x version In-Reply-To: References: <20060311002432.78E77826063@mail.runrev.com> Message-ID: <4423D197.1070101@ehug.info> 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:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From europe at ehug.info Fri Mar 24 06:28:49 2006 From: europe at ehug.info (Mark Schonewille) Date: Fri, 24 Mar 2006 12:28:49 +0100 Subject: Copy Image to Clipboard broke in 2.7? In-Reply-To: <442314EF.3040707@chipp.com> References: <442314EF.3040707@chipp.com> Message-ID: <4423D7F1.3040001@ehug.info> Hi Chipp, on copyToClip pImage export image pImage to myImg as PNG set the clipboardData["image"] to myImg end copyToClip Best, Mark Chipp Walters wrote: > I just finished created a charting program, which uses the great new > anti-aliasing in Rev 2.7. > > But, now it turns out copying an image to the clipboard is broke as far > as I can tell. > > Anyone have success doing it on a PC? I've tried on various PC's the > folowing. > > copy image "fred" > > doesn't work. Try copying and image and then pasting it into MSPaint or > anywhere else other than Rev. > > Then there's: > > set the clipboardData["image"] to image "fred" > > Still no go. > > and the good old standby, which has worked since the Rev 1.0: > > on copyToClip pImage > set the paintCompression to "png" > lock messages > lock screen > choose select tool > drag from topleft of image pImage to botright of image pImage > copy > unlock messages > unlock screen > choose browse tool > end copyToClip > > (btw, I've tried setting the paintCompression to all other values). > > doesn't work either. I have to say, I really like the new features, but > I'm routing for an update soon! > > best, > > Chipp > > -- Consultant and Software Engineer mailto:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From liamlambert at mac.com Fri Mar 24 07:19:03 2006 From: liamlambert at mac.com (liamlambert) Date: Fri, 24 Mar 2006 12:19:03 +0000 Subject: UpDate Db Message-ID: <03A57755-A68E-4049-BDD4-B6A26F7DA725@mac.com> 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 put revdb_execute(gConID,tSQLbooking) into tTmp handleRevDBerror tTmp if the result is not empty then answer warning the result exit mouseUP end if Liam Lambert liamlambert at mac.com IRELAND From dcragg at lacscentre.co.uk Fri Mar 24 07:21:20 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 24 Mar 2006 12:21:20 +0000 Subject: somewhat OT : Rev cgi & Safari In-Reply-To: <4422840C.A174B348@club-internet.fr> References: <4422840C.A174B348@club-internet.fr> Message-ID: <3C418A66-CE1E-47DD-881C-7BB23221364D@lacscentre.co.uk> 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 From jbv.silences at club-internet.fr Fri Mar 24 07:49:07 2006 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 24 Mar 2006 13:49:07 +0100 Subject: somewhat OT : Rev cgi & Safari References: <4422840C.A174B348@club-internet.fr> <3C418A66-CE1E-47DD-881C-7BB23221364D@lacscentre.co.uk> Message-ID: <4423EABB.7B9666D0@club-internet.fr> 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 at 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. From dburgun at dsl.pipex.com Fri Mar 24 07:36:03 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 24 Mar 2006 12:36:03 +0000 Subject: Weirdness Passing Messages In-Reply-To: <44231A71.1090702@hyperactivesw.com> References: <4422DAA5.1060002@fourthworld.com> <44231A71.1090702@hyperactivesw.com> Message-ID: <83A930F0-8E55-4AA9-9356-4AD8E2FFF61A@dsl.pipex.com> 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 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 hard-coding object names. All the Best Dave From jbv.silences at club-internet.fr Fri Mar 24 07:52:19 2006 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 24 Mar 2006 13:52:19 +0100 Subject: Pixel Question References: Message-ID: <4423EB7B.6DBD1BEC@club-internet.fr> > > 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 From wouter.abraham at scarlet.be Fri Mar 24 07:39:34 2006 From: wouter.abraham at scarlet.be (Wouter) Date: Fri, 24 Mar 2006 13:39:34 +0100 Subject: MVC in Rev? In-Reply-To: <10044530171.20060323210846@ahsoftware.net> References: <4421B55A.7000801@fourthworld.com> <442281C8.1080903@wanadoo.fr> <10044530171.20060323210846@ahsoftware.net> Message-ID: 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 > mwieder at ahsoftware.net Greetings, Wouter From dburgun at dsl.pipex.com Fri Mar 24 08:36:55 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 24 Mar 2006 13:36:55 +0000 Subject: Correct Syntax???!!! In-Reply-To: <4423EB7B.6DBD1BEC@club-internet.fr> References: <4423EB7B.6DBD1BEC@club-internet.fr> Message-ID: 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 From mark at maseurope.net Fri Mar 24 08:58:28 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 24 Mar 2006 13:58:28 +0000 Subject: Correct Syntax???!!! In-Reply-To: References: <4423EB7B.6DBD1BEC@club-internet.fr> Message-ID: 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dburgun at dsl.pipex.com Fri Mar 24 08:59:31 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 24 Mar 2006 13:59:31 +0000 Subject: RevMail Command - Sending an Email In-Reply-To: References: <4421B55A.7000801@fourthworld.com> <442281C8.1080903@wanadoo.fr> <10044530171.20060323210846@ahsoftware.net> Message-ID: <479A01AF-2D36-43B0-B390-22014C89E258@dsl.pipex.com> 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 From jbv.silences at club-internet.fr Fri Mar 24 09:14:37 2006 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 24 Mar 2006 15:14:37 +0100 Subject: Correct Syntax???!!! References: <4423EB7B.6DBD1BEC@club-internet.fr> Message-ID: <4423FECA.1CAF81BB@club-internet.fr> 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!!!! > From dburgun at dsl.pipex.com Fri Mar 24 09:02:16 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 24 Mar 2006 14:02:16 +0000 Subject: Correct Syntax???!!! In-Reply-To: References: <4423EB7B.6DBD1BEC@club-internet.fr> Message-ID: <586EA2D5-0483-4CDF-A818-0AD6D1BD2C1E@dsl.pipex.com> 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From FlexibleLearning at aol.com Fri Mar 24 09:03:14 2006 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 24 Mar 2006 09:03:14 EST Subject: Correct Syntax???!!! Message-ID: <2d2.58416e7.31555622@aol.com> 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! From dburgun at dsl.pipex.com Fri Mar 24 09:05:42 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 24 Mar 2006 14:05:42 +0000 Subject: Correct Syntax???!!! In-Reply-To: <4423FECA.1CAF81BB@club-internet.fr> References: <4423EB7B.6DBD1BEC@club-internet.fr> <4423FECA.1CAF81BB@club-internet.fr> Message-ID: Hi, It used to read: put item 2 of myDataRecord into me But I have had to change it because the use of: put into me or set the text of me to 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dburgun at dsl.pipex.com Fri Mar 24 09:24:42 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 24 Mar 2006 14:24:42 +0000 Subject: Correct Syntax???!!! In-Reply-To: <2d2.58416e7.31555622@aol.com> References: <2d2.58416e7.31555622@aol.com> Message-ID: <45C03B66-EEDF-45CC-AAF1-2328DD48D9D2@dsl.pipex.com> Hi, It used to read: put item 2 of myDataRecord into me But I have had to change it because the use of: put into me or set the text of me to 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, FlexibleLearning at aol.com 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From shaosean at hotmail.com Fri Mar 24 09:49:56 2006 From: shaosean at hotmail.com (Sean Shao) Date: Fri, 24 Mar 2006 09:49:56 -0500 Subject: RevMail Command - Sending an Email In-Reply-To: <20060324125657.3E7978263E1@mail.runrev.com> Message-ID: 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 _________________________________________________________________ Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From FlexibleLearning at aol.com Fri Mar 24 09:56:22 2006 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 24 Mar 2006 09:56:22 EST Subject: [TIDBIT] googleMatch() Message-ID: <240.92dbc65.31556296@aol.com> 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 L&cr 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 From pevensen at siboneylg.com Fri Mar 24 10:02:02 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Fri, 24 Mar 2006 09:02:02 -0600 Subject: Custom radio buttons In-Reply-To: References: <6.2.1.2.2.20060323160716.052fd628@exchange.slg.com> Message-ID: <6.2.1.2.2.20060324085956.0667be10@exchange.slg.com> 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" 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 From jacque at hyperactivesw.com Fri Mar 24 10:38:15 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Mar 2006 09:38:15 -0600 Subject: last 2.6x version In-Reply-To: References: <20060311002432.78E77826063@mail.runrev.com> Message-ID: <44241267.4020804@hyperactivesw.com> 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 | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobwarren at howsoft.com Fri Mar 24 11:02:21 2006 From: bobwarren at howsoft.com (Bob Warren) Date: Fri, 24 Mar 2006 13:02:21 -0300 Subject: Pixel Question Message-ID: <4424180D.4000009@howsoft.com> 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 From sunshine at public.kherson.ua Fri Mar 24 11:03:31 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri, 24 Mar 2006 18:03:31 +0200 Subject: UpDate Db In-Reply-To: <03A57755-A68E-4049-BDD4-B6A26F7DA725@mac.com> Message-ID: On 3/24/06 2:19 PM, "liamlambert" 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] From rcozens at pon.net Fri Mar 24 11:06:38 2006 From: rcozens at pon.net (Rob Cozens) Date: Fri, 24 Mar 2006 08:06:38 -0800 Subject: Shamelessly Soliciting Windows Developers' Votes In-Reply-To: <95C9C13D-E82E-4612-8744-ACE489C1F846@adelphia.net> References: <95C9C13D-E82E-4612-8744-ACE489C1F846@adelphia.net> Message-ID: <2CBCFC54-BB50-11DA-AD7E-0030657E1638@pon.net> 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 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) From jacque at hyperactivesw.com Fri Mar 24 11:12:30 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Mar 2006 10:12:30 -0600 Subject: Weirdness Passing Messages In-Reply-To: <83A930F0-8E55-4AA9-9356-4AD8E2FFF61A@dsl.pipex.com> References: <4422DAA5.1060002@fourthworld.com> <44231A71.1090702@hyperactivesw.com> <83A930F0-8E55-4AA9-9356-4AD8E2FFF61A@dsl.pipex.com> Message-ID: <44241A6E.4040007@hyperactivesw.com> David Burgun wrote: > Incidentally, the above works just fine regardless of the stack/card/ > object using "put 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 | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri Mar 24 11:12:52 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Mar 2006 08:12:52 -0800 Subject: Correct Syntax???!!! Message-ID: <44241A84.1060909@fourthworld.com> 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 into me > or > set the text of me to > > 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: 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 From douez at wanadoo.fr Fri Mar 24 11:16:17 2006 From: douez at wanadoo.fr (thierry) Date: Fri, 24 Mar 2006 16:16:17 +0000 Subject: MVC in Rev? In-Reply-To: References: <4421B55A.7000801@fourthworld.com> <442281C8.1080903@wanadoo.fr> <10044530171.20060323210846@ahsoftware.net> Message-ID: <44241B51.6070907@wanadoo.fr> 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 >> mwieder at ahsoftware.net From irog at mac.com Fri Mar 24 11:14:35 2006 From: irog at mac.com (Roger Guay) Date: Fri, 24 Mar 2006 09:14:35 -0700 Subject: Revolution in Seattle In-Reply-To: <20060324000644.4AF568262E4@mail.runrev.com> References: <20060324000644.4AF568262E4@mail.runrev.com> Message-ID: 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, use-revolution-request at lists.runrev.com wrote: > Message: 32 > Date: Thu, 23 Mar 2006 17:03:35 -0800 > From: Bruce Robertson > Subject: Revolution in Seattle? > To: How to use Revolution > Message-ID: > 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 we are > giving some > thought to demonstrating Rev at a meeting. I'm trying to find good > resources > to support such an activity. From liamlambert at mac.com Fri Mar 24 11:27:41 2006 From: liamlambert at mac.com (liamlambert) Date: Fri, 24 Mar 2006 16:27:41 +0000 Subject: UpDate Db Message-ID: <09AB5BF0-B24A-4FC2-B051-7CA46BEF4DA2@mac.com> Ruslan Thank You. Liam Lambert liamlambert at mac.com IRELAND From dburgun at dsl.pipex.com Fri Mar 24 11:43:43 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 24 Mar 2006 16:43:43 +0000 Subject: Weirdness Passing Messages In-Reply-To: <44241A6E.4040007@hyperactivesw.com> References: <4422DAA5.1060002@fourthworld.com> <44231A71.1090702@hyperactivesw.com> <83A930F0-8E55-4AA9-9356-4AD8E2FFF61A@dsl.pipex.com> <44241A6E.4040007@hyperactivesw.com> Message-ID: 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 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 into me -- 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 into me or set the text of me to 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 and it works fine now. Thanks a lot All the Best Dave From stephenREVOLUTION at barncard.com Fri Mar 24 11:47:27 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 24 Mar 2006 08:47:27 -0800 Subject: Setting up a team... In-Reply-To: <004c01c64f25$45a085d0$1500a8c0@ACERLaptop> References: <004c01c64f25$45a085d0$1500a8c0@ACERLaptop> Message-ID: 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 - - - - - - - - - - - - From jonseymour at mac.com Fri Mar 24 11:49:26 2006 From: jonseymour at mac.com (Jon Seymour) Date: Fri, 24 Mar 2006 10:49:26 -0600 Subject: Save stacks periodically to avoid crashes? Message-ID: 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 From sanke at hrz.uni-kassel.de Fri Mar 24 11:54:33 2006 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 24 Mar 2006 17:54:33 +0100 Subject: Pasting part of an image to a specific loc by scripting? Message-ID: <44242449.7020007@hrz.uni-kassel.de> 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 From liamlambert at mac.com Fri Mar 24 11:57:54 2006 From: liamlambert at mac.com (liamlambert) Date: Fri, 24 Mar 2006 16:57:54 +0000 Subject: UpDate Db Message-ID: <6B9BE718-4F87-43B9-AEF1-AB120B388D17@mac.com> 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 liamlambert at mac.com IRELAND From jperryl at ecs.fullerton.edu Fri Mar 24 11:58:34 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 24 Mar 2006 08:58:34 -0800 (PST) Subject: Shamelessly Soliciting Windows Developers' Votes In-Reply-To: <2CBCFC54-BB50-11DA-AD7E-0030657E1638@pon.net> Message-ID: 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. From troy_lists at rpsystems.net Fri Mar 24 12:01:08 2006 From: troy_lists at rpsystems.net (Troy Rollins) Date: Fri, 24 Mar 2006 12:01:08 -0500 Subject: Shamelessly Soliciting Windows Developers' Votes In-Reply-To: <2CBCFC54-BB50-11DA-AD7E-0030657E1638@pon.net> References: <95C9C13D-E82E-4612-8744-ACE489C1F846@adelphia.net> <2CBCFC54-BB50-11DA-AD7E-0030657E1638@pon.net> Message-ID: <25FEBC75-1ED0-4812-8A51-75E474164EE5@rpsystems.net> 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 From simplsol at aol.com Fri Mar 24 12:02:31 2006 From: simplsol at aol.com (simplsol at aol.com) Date: Fri, 24 Mar 2006 12:02:31 -0500 Subject: Save stacks periodically to avoid crashes? In-Reply-To: References: Message-ID: <8C81D7BDFDEBEE8-1524-27DD@FWM-D31.sysops.aol.com> Jon, This has been my experience exactly! The more I save the less Rev crashes. It has been a hard lesson to learn - especially coming from a HyperCard background where one never needed to save. As for 2.7, I tried it for two days and found it to be full of problems - went back to 2.6.1, which has been (for me) the only semi-stabile version of Rev yet. I really wish they had done a 2.6.2 instead of the current 2.7! Good luck. Paul Looney -----Original Message----- From: Jon Seymour To: use-revolution at lists.runrev.com Sent: Fri, 24 Mar 2006 10:49:26 -0600 Subject: 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 at lists.runrev.com? Please visit this url to subscribe, unsubscribe and manage your subscription preferences:? http://lists.runrev.com/mailman/listinfo/use-revolution? From mcaufield at hoosierstamping.com Fri Mar 24 12:10:38 2006 From: mcaufield at hoosierstamping.com (Michael Caufield) Date: Fri, 24 Mar 2006 11:10:38 -0600 Subject: HyperCard Stack conversion in RR 2.7 Message-ID: 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. From paulclaude at postino.it Fri Mar 24 12:21:12 2006 From: paulclaude at postino.it (Paul Claude) Date: Fri, 24 Mar 2006 18:21:12 +0100 Subject: HyperCard Stack conversion in RR 2.7 In-Reply-To: Message-ID: I got the same problem. Maybe it's a 2.7 bug. Greetings Paul Claude on 24-03-2006 18:10, Michael Caufield at mcaufield at hoosierstamping.com 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dburgun at dsl.pipex.com Fri Mar 24 12:23:18 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 24 Mar 2006 17:23:18 +0000 Subject: Correct Syntax???!!! In-Reply-To: <44241A84.1060909@fourthworld.com> References: <44241A84.1060909@fourthworld.com> Message-ID: 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 The thing is that I have: put 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 From mcaufield at hoosierstamping.com Fri Mar 24 12:28:18 2006 From: mcaufield at hoosierstamping.com (Michael Caufield) Date: Fri, 24 Mar 2006 11:28:18 -0600 Subject: HyperCard Stack conversion in RR 2.7 In-Reply-To: References: Message-ID: <0FAAF4E5-AA23-4839-9CBC-D48812EA02CD@hoosierstamping.com> 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 mcaufield at hoosierstamping.com > 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andy at cogress.co.uk Mon Mar 13 02:24:11 2006 From: andy at cogress.co.uk (Andy) Date: Mon, 13 Mar 2006 07:24:11 -0000 Subject: Deleting A Card Message-ID: <004101c6466f$204784f0$1500a8c0@ACERLaptop> 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. From richard at portable-pro.com Sat Mar 18 13:42:33 2006 From: richard at portable-pro.com (Richard Miller) Date: Sat, 18 Mar 2006 13:42:33 -0500 Subject: More Videograbber issues In-Reply-To: References: Message-ID: Jack, Try any of the ones here: www.morgan-multimedia.com I've tried many different codec's. This one is highly compatible with the player object in Rev, designed for the PC, provides great compression (and numerous options to balance compression versus quality), and yields high-quality video. Best, Richard Miller Imprinter Technologies On Mar 18, 2006, at 12:55 PM, Jack Rarick wrote: > I want to first thank Richard Miller for his quick and accurate > response > to my issue of using Firewire with videograbber. Richard pointed out > that one of the parameters needed to be changed to DirectX. Again, > thank > you. > > Now, can anyone point me in the direction of the best Codec to use? > Compression is NOT an issue. Quality of the video is. I am moving an > application from the Mac to the PC and need to be able to bring in > video > in high quality using generic equipment. Any DV Firewire camera and > and > PC with a Firewire port. I'm trying to write a very basic app that > compares just a little to iMovie on the Mac. > > Any and all ideas will be very appreciated. > > Thanks in advance, > > Jack Rarick > Braintree Athletic Systems > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From matsastrom at yahoo.se Wed Mar 22 07:43:59 2006 From: matsastrom at yahoo.se (=?iso-8859-1?q?Mats=20=C5str=F6m?=) Date: Wed, 22 Mar 2006 13:43:59 +0100 (CET) Subject: Menus displayed off screen Message-ID: <20060322124359.41208.qmail@web26805.mail.ukl.yahoo.com> 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 From mcaufield at hoosierstamping.com Fri Mar 24 11:59:12 2006 From: mcaufield at hoosierstamping.com (Michael Caufield) Date: Fri, 24 Mar 2006 10:59:12 -0600 Subject: HyperCard Stack conversion in RR 2.7 Message-ID: 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. From paulclaude at postino.it Fri Mar 24 12:57:14 2006 From: paulclaude at postino.it (Paul Claude) Date: Fri, 24 Mar 2006 18:57:14 +0100 Subject: HyperCard Stack conversion in RR 2.7 In-Reply-To: <0FAAF4E5-AA23-4839-9CBC-D48812EA02CD@hoosierstamping.com> Message-ID: 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 mcaufield at hoosierstamping.com 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. From 3mcgrath at adelphia.net Fri Mar 24 13:02:19 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 24 Mar 2006 13:02:19 -0500 Subject: Setting up a team... In-Reply-To: References: <004c01c64f25$45a085d0$1500a8c0@ACERLaptop> Message-ID: <10D27E1F-6369-4069-9E4F-A4AA675704C2@adelphia.net> 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 at 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 3mcgrath at adelphia.net 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 From ambassador at fourthworld.com Fri Mar 24 13:11:32 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Mar 2006 10:11:32 -0800 Subject: Correct Syntax???!!! Message-ID: <44243654.9030508@fourthworld.com> 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 , 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 10000 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. From 3mcgrath at adelphia.net Fri Mar 24 13:15:34 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 24 Mar 2006 13:15:34 -0500 Subject: Save stacks periodically to avoid crashes? In-Reply-To: <8C81D7BDFDEBEE8-1524-27DD@FWM-D31.sysops.aol.com> References: <8C81D7BDFDEBEE8-1524-27DD@FWM-D31.sysops.aol.com> Message-ID: <70FEF10D-053E-421A-B9B8-8CF0B261E93A@adelphia.net> 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, simplsol at aol.com 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 3mcgrath at adelphia.net 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 From JimAultWins at yahoo.com Fri Mar 24 13:19:14 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 24 Mar 2006 10:19:14 -0800 Subject: Making the move... In-Reply-To: Message-ID: On 3/21/06 4:55 PM, "Sarah Reichelt" 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" wrote: > On 3/21/06, Geoff Canyon 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Fri Mar 24 13:23:42 2006 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 24 Mar 2006 13:23:42 -0500 Subject: Any Rev VB gurus? Message-ID: 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 3mcgrath at adelphia.net 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 From johnpatten at mac.com Fri Mar 24 13:24:54 2006 From: johnpatten at mac.com (John Patten) Date: Fri, 24 Mar 2006 10:24:54 -0800 Subject: FTP and cross platform issues... Message-ID: <11424424.1143224694744.JavaMail.johnpatten@mac.com> 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 difficulty....or 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 +0000 From: Alex Tweedly Subject: Re: Ftp and cross platform issues... To: How to use Revolution Message-ID: <4423B2E1.1000103 at tweedly.net> 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 From b.xavier at internet.lu Fri Mar 24 13:44:09 2006 From: b.xavier at internet.lu (MisterX) Date: Fri, 24 Mar 2006 19:44:09 +0100 Subject: Any Rev VB gurus? In-Reply-To: Message-ID: <20060324173256.81BB18255E7@mail.runrev.com> Hi Thomas, what do you need? ;) cheerios Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] 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 > 3mcgrath at adelphia.net > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcaufield at hoosierstamping.com Fri Mar 24 13:38:38 2006 From: mcaufield at hoosierstamping.com (Michael Caufield) Date: Fri, 24 Mar 2006 12:38:38 -0600 Subject: HyperCard Stack conversion in RR 2.7 In-Reply-To: References: Message-ID: <2090858B-4B25-4DA9-B65C-2631B386D382@hoosierstamping.com> 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 mcaufield at hoosierstamping.com > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From liamlambert at mac.com Fri Mar 24 13:47:44 2006 From: liamlambert at mac.com (liamlambert) Date: Fri, 24 Mar 2006 18:47:44 +0000 Subject: upDate data Message-ID: 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 liamlambert at mac.com IRELAND From devin_asay at byu.edu Fri Mar 24 13:57:48 2006 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 24 Mar 2006 11:57:48 -0700 Subject: Deleting A Card In-Reply-To: <004101c6466f$204784f0$1500a8c0@ACERLaptop> References: <004101c6466f$204784f0$1500a8c0@ACERLaptop> Message-ID: 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 From devin_asay at byu.edu Fri Mar 24 14:17:39 2006 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 24 Mar 2006 12:17:39 -0700 Subject: upDate data In-Reply-To: References: Message-ID: <929A6043-98C1-4693-BBDC-25979B854138@byu.edu> 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 From jerry at daniels-mara.com Fri Mar 24 14:32:33 2006 From: jerry at daniels-mara.com (Jerry Daniels) Date: Fri, 24 Mar 2006 13:32:33 -0600 Subject: Save stacks periodically to avoid crashes? In-Reply-To: <70FEF10D-053E-421A-B9B8-8CF0B261E93A@adelphia.net> References: <8C81D7BDFDEBEE8-1524-27DD@FWM-D31.sysops.aol.com> <70FEF10D-053E-421A-B9B8-8CF0B261E93A@adelphia.net> Message-ID: <11C63A9A-E4F9-4827-962F-97BFC7183DA5@daniels-mara.com> 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, simplsol at aol.com 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 > 3mcgrath at adelphia.net > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From liamlambert at mac.com Fri Mar 24 14:34:00 2006 From: liamlambert at mac.com (liamlambert) Date: Fri, 24 Mar 2006 19:34:00 +0000 Subject: upDate data Message-ID: <0AD5EC28-FD71-4D81-BC57-869685319CB2@mac.com> 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 liamlambert at mac.com IRELAND From dburgun at dsl.pipex.com Fri Mar 24 14:34:21 2006 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 24 Mar 2006 19:34:21 +0000 Subject: Correct Syntax???!!! In-Reply-To: <44243654.9030508@fourthworld.com> References: <44243654.9030508@fourthworld.com> Message-ID: Hi, On 24 Mar 2006, at 18:11, Richard Gaskin wrote: > 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. Well it definitely does if it's wrong!!!! lol By replicate I mean that whenever I wanted to store something in a field, I used put into me form rather than the long id form. Which meant that now I have implemented the ISM I had revise all usages to use the long id form. But it's done now and well worth it. > > 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 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. By putting the logic in the field/object in question you can initialize it or not initialize depending on what is needed and you only need to change the object in question which stops potential bugs from affecting ALL objects. You only have to worry about bugs in the object you have changed. > 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 See above, but also, what if the default value is is not a constant, but can be changed by the user? Using this method you are stuck with the single "uDefaultValue" value, whereas using the ISM approach you are free to obtain the value anyway you like and it's specific for the object in question. > I read your outline at 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. 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:] [ ] [] [Height:] [ ] [] 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 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 fields: on PrefsMeasureUnits theMessageID, theSubClass, theUnitValue set the text of the long id of me to theUnitValue end and on the 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. For instance: No other stacks are open/running. The user runs Preference Stack and changes the measure units to MM. The user closes the Preference Stack. The last time Stack A was run the measure units was set to CM. The User runs Stack A, the "measure" fields call ISMListenForMessage, since there is now a message pending they automatically change to "MM". If there was not a message pending then a message would not be sent and no code would be executed. The way you are proposing I would have to re-initialize the object every time whether the value has changed or not! > 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. I don't need to open the script editor either! And if I delete an object then messages just stop being sent to it! > 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. 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. I have found that the performance is about the same and it's just as responsive. This is just driving a basic GUI, if I needed to do something really fast, I would use an external command and deal in microseconds not milliseconds. For instance the Experimental stack I did has 274 objects, 94 of them can be called via ISM, but in practice the most objects I have that are affected by a user GUI action is 6. The overhead is minimal. I have to get a stack working by Monday, but after that I will do the extra work needed in ISM, do a first draft of the documentation and post it to RevOnline. You can then take a look at how it works, but I am willing to bet you will not think that it's any slower than other Rev Apps I have seen. > 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. 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. What I have works for me and allows me to create apps must more quickly than using the methods you describe. Have a Great Weekend and thanks again for all the help. All the Best Dave From rcozens at pon.net Fri Mar 24 14:40:19 2006 From: rcozens at pon.net (Rob Cozens) Date: Fri, 24 Mar 2006 11:40:19 -0800 Subject: Save stacks periodically to avoid crashes? In-Reply-To: References: Message-ID: <06ACD7DD-BB6E-11DA-8341-0030657E1638@pon.net> 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) From rcozens at pon.net Fri Mar 24 14:40:58 2006 From: rcozens at pon.net (Rob Cozens) Date: Fri, 24 Mar 2006 11:40:58 -0800 Subject: Shamelessly Soliciting Windows Developers' Votes In-Reply-To: References: Message-ID: <1DF7D63C-BB6E-11DA-8341-0030657E1638@pon.net> 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) From rcozens at pon.net Fri Mar 24 14:41:25 2006 From: rcozens at pon.net (Rob Cozens) Date: Fri, 24 Mar 2006 11:41:25 -0800 Subject: Shamelessly Soliciting Windows Developers' Votes In-Reply-To: <25FEBC75-1ED0-4812-8A51-75E474164EE5@rpsystems.net> References: <95C9C13D-E82E-4612-8744-ACE489C1F846@adelphia.net> <2CBCFC54-BB50-11DA-AD7E-0030657E1638@pon.net> <25FEBC75-1ED0-4812-8A51-75E474164EE5@rpsystems.net> Message-ID: <2DFDCA43-BB6E-11DA-8341-0030657E1638@pon.net> 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 . 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) From chipp at chipp.com Fri Mar 24 14:46:49 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 24 Mar 2006 13:46:49 -0600 Subject: Copy Image to Clipboard broke in 2.7? In-Reply-To: <4423D7F1.3040001@ehug.info> References: <442314EF.3040707@chipp.com> <4423D7F1.3040001@ehug.info> Message-ID: <44244CA9.3040705@chipp.com> 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 From chipp at chipp.com Fri Mar 24 14:49:55 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 24 Mar 2006 13:49:55 -0600 Subject: Ftp and cross platform issues... In-Reply-To: <4423B2E1.1000103@tweedly.net> References: <1364814.1143142617794.JavaMail.johnpatten@mac.com> <1844514889.20060323210830@ahsoftware.net> <4423B2E1.1000103@tweedly.net> Message-ID: <44244D63.9010307@chipp.com> 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 From mark at maseurope.net Fri Mar 24 14:50:16 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 24 Mar 2006 19:50:16 +0000 Subject: Correct Syntax???!!! In-Reply-To: References: <44243654.9030508@fourthworld.com> Message-ID: 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. From chipp at chipp.com Fri Mar 24 14:54:03 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 24 Mar 2006 13:54:03 -0600 Subject: RevMail Command - Sending an Email In-Reply-To: References: Message-ID: <44244E5B.2010002@chipp.com> 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 From ambassador at fourthworld.com Fri Mar 24 14:57:33 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Mar 2006 11:57:33 -0800 Subject: Correct Syntax???!!! Message-ID: <44244F2D.9060401@fourthworld.com> 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 -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From dcragg at lacscentre.co.uk Fri Mar 24 15:01:47 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 24 Mar 2006 20:01:47 +0000 Subject: FTP and cross platform issues... In-Reply-To: <10558498.1143073871474.JavaMail.johnpatten@mac.com> References: <10558498.1143073871474.JavaMail.johnpatten@mac.com> Message-ID: 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 From mwieder at ahsoftware.net Fri Mar 24 15:15:34 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 24 Mar 2006 12:15:34 -0800 Subject: Revolution in Seattle? In-Reply-To: <20060324031529.BCAA87F0B5@spatula.dreamhost.com> References: <20060324031529.BCAA87F0B5@spatula.dreamhost.com> Message-ID: <1918402432.20060324121534@ahsoftware.net> 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 mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Mar 24 15:35:30 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 24 Mar 2006 12:35:30 -0800 Subject: HyperCard Stack conversion in RR 2.7 In-Reply-To: <2090858B-4B25-4DA9-B65C-2631B386D382@hoosierstamping.com> References: <2090858B-4B25-4DA9-B65C-2631B386D382@hoosierstamping.com> Message-ID: <59599242.20060324123530@ahsoftware.net> 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 mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Mar 24 15:57:50 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 24 Mar 2006 12:57:50 -0800 Subject: Ftp and cross platform issues... In-Reply-To: <4423B2E1.1000103@tweedly.net> References: <1364814.1143142617794.JavaMail.johnpatten@mac.com> <1844514889.20060323210830@ahsoftware.net> <4423B2E1.1000103@tweedly.net> Message-ID: <6410939299.20060324125750@ahsoftware.net> Alex- Friday, March 24, 2006, 12:50:41 AM, you wrote: > What would you do with a laptop that sometimes gets used on public > networks (e.g. Internet cafes, public wifi nets, etc.)? Touche... I had been thinking of real computers, not laptops . > 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. 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. But (sigh) if I had to use a windows laptop I'd probably use the internal firewall when I went outside to play. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Mar 24 16:15:53 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Mar 2006 15:15:53 -0600 Subject: Correct Syntax???!!! In-Reply-To: References: <44243654.9030508@fourthworld.com> Message-ID: <44246189.4020700@hyperactivesw.com> 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:] [ ] [] > [Height:] [ ] [] > > 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 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 fields: > > on PrefsMeasureUnits theMessageID, theSubClass, theUnitValue > set the text of the long id of me to theUnitValue > end > > and on the 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 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 do that by writing your handler to trap a different trigger; for example, trap preOpenStack to loop through the cards and run the doCalcStuff handler on each one when the stack first opens, or trap preOpenBackground to do the same for only a subset of cards. Or trap closeStack in your Preferences stack and run the doCalcStuff then; that way when the prefs stack closes, all the fields, buttons, controls, whatever are updated when the user changes preference settings. The result is just what you have described, if I understand your method correctly. And there is only one script to manage it all. The objects themselves need nothing more than a property or a name, and in many situations they don't even need that. Sometimes a generic check is all you need; i.e., checking to see if the field contains a number, or if its owner is a particular group, or if its backgroundcolor is green, or its short name is "lbl" (one of my favorite tests, I use it all the time to update object labels on the fly.) > I don't need to open the script editor either! And if I delete an > object then messages just stop being sent to it! The same applies to the above approach. You would need to open the script editor if you wanted to change the way doCalcStuff works, in either of our methods. With the above approach, a non-existent object can't possibly be dealt with in a handler that specifically works with existing objects. > ISM is a library so I am using this technique. Most libraries do not rely on anything but themselves; if your system requires that every object have its own "listening" handler, then it isn't really a library, it's more of a whole development system. I would think this would be less portable than a true library, which is generally comprised of only a single script that does not rely on the state of any other objects. 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. These seem to be pretty well covered in the docs, though the concept is so simple there isn't much to say about them. Look up the "insert" command for starters. A backscript allows you to insert any script you like into the message hierarchy, and is typically how libraries are implemented. They allow you to manipulate the message hierarchy at will and make use of Revolution's native message passing rules rather than trying to add a secondary system on top of the existing one. Apologies for the long message. As I said, since you have your method working now, the above is mostly for anyone who may be interested in a more standard xtalk approach. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Fri Mar 24 16:24:47 2006 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 24 Mar 2006 15:24:47 -0600 Subject: Any Rev VB gurus? In-Reply-To: Message-ID: On 3/24/06 12:23 PM, "Thomas McGrath III" <3mcgrath at adelphia.net> 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: kray at sonsothunder.com From jhonken at x12.info Fri Mar 24 16:27:21 2006 From: jhonken at x12.info (Jeff Honken) Date: Fri, 24 Mar 2006 14:27:21 -0700 Subject: Progress Bar Example Message-ID: <000001c64f89$bf286fd0$670fa8c0@work1> 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 From sarah.reichelt at gmail.com Fri Mar 24 16:42:06 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 25 Mar 2006 07:42:06 +1000 Subject: Progress Bar Example In-Reply-To: <000001c64f89$bf286fd0$670fa8c0@work1> References: <000001c64f89$bf286fd0$670fa8c0@work1> Message-ID: On 3/25/06, Jeff Honken 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 From lfredricks at proactive-intl.com Fri Mar 24 16:44:33 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 24 Mar 2006 13:44:33 -0800 Subject: The Business of Software: What is Distribution? Message-ID: <20060324214438.459EAFB8A0@knife.dreamhost.com> 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_content&task=view&id=30& Itemid=1 From cmsheffield at gmail.com Fri Mar 24 17:10:25 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Fri, 24 Mar 2006 15:10:25 -0700 Subject: running a process in the background Message-ID: <290B729C-1238-4BF7-AFB3-9A91E32D6C73@gmail.com> 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 ------------------------------------------ From revolutionary.dan at gmail.com Fri Mar 24 17:11:37 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Fri, 24 Mar 2006 14:11:37 -0800 Subject: Setting up a team... In-Reply-To: <10D27E1F-6369-4069-9E4F-A4AA675704C2@adelphia.net> References: <004c01c64f25$45a085d0$1500a8c0@ACERLaptop> <10D27E1F-6369-4069-9E4F-A4AA675704C2@adelphia.net> Message-ID: <70ed6b130603241411n7f8d0366l53fcd75d425145b5@mail.gmail.com> While I concur that going with an experienced Rev developer as a consultant is probably the best way to approach this problem/opportunity, I'd suggest you may need two consultants or a well-coordinated team. Because you really want, as an end result, an internal team with a good foundational understanding of Rev. That means you need someone to train one or more of your team members. It's a rare bird who can both consult and teach/train but technology transer here feels more important than specific near-term project completion. If I'm right about that, then I'd bring in a trainer. On 3/24/06, Thomas McGrath III <3mcgrath at adelphia.net> wrote: > > 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 at 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 > 3mcgrath at adelphia.net > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From kray at sonsothunder.com Fri Mar 24 17:20:34 2006 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 24 Mar 2006 16:20:34 -0600 Subject: Custom radio buttons In-Reply-To: <6.2.1.2.2.20060324085956.0667be10@exchange.slg.com> Message-ID: On 3/24/06 9:02 AM, "Peter T. Evensen" 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: kray at sonsothunder.com From davis.phil at comcast.net Fri Mar 24 17:32:22 2006 From: davis.phil at comcast.net (Phil Davis) Date: Fri, 24 Mar 2006 14:32:22 -0800 Subject: Setting up a team... In-Reply-To: <004c01c64f25$45a085d0$1500a8c0@ACERLaptop> References: <004c01c64f25$45a085d0$1500a8c0@ACERLaptop> Message-ID: <44247376.8020207@comcast.net> 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. From stephenREVOLUTION at barncard.com Fri Mar 24 17:34:18 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 24 Mar 2006 14:34:18 -0800 Subject: Ftp and cross platform issues... In-Reply-To: <44244D63.9010307@chipp.com> References: <1364814.1143142617794.JavaMail.johnpatten@mac.com> <1844514889.20060323210830@ahsoftware.net> <4423B2E1.1000103@tweedly.net> <44244D63.9010307@chipp.com> Message-ID: 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 - - - - - - - - - - - - From dcragg at lacscentre.co.uk Fri Mar 24 17:37:13 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 24 Mar 2006 22:37:13 +0000 Subject: Progress Bar Example In-Reply-To: References: <000001c64f89$bf286fd0$670fa8c0@work1> Message-ID: <0A959D2F-C5C6-4913-87DC-CD54762B8223@lacscentre.co.uk> On 24 Mar 2006, at 21:42, Sarah Reichelt wrote: > On 3/25/06, Jeff Honken 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 From scott at proherp.com Fri Mar 24 18:02:55 2006 From: scott at proherp.com (Scott Kane) Date: Sat, 25 Mar 2006 10:02:55 +1100 Subject: The Business of Software: What is Distribution? In-Reply-To: <20060324214438.459EAFB8A0@knife.dreamhost.com> Message-ID: <000201c64f97$17a345b0$0201010a@royalnexus> 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 From alex at tweedly.net Fri Mar 24 18:12:32 2006 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 24 Mar 2006 23:12:32 +0000 Subject: Ftp and cross platform issues... In-Reply-To: <6410939299.20060324125750@ahsoftware.net> References: <1364814.1143142617794.JavaMail.johnpatten@mac.com> <1844514889.20060323210830@ahsoftware.net> <4423B2E1.1000103@tweedly.net> <6410939299.20060324125750@ahsoftware.net> Message-ID: <44247CE0.30205@tweedly.net> 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 From kray at sonsothunder.com Fri Mar 24 18:13:52 2006 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 24 Mar 2006 17:13:52 -0600 Subject: running a process in the background In-Reply-To: <290B729C-1238-4BF7-AFB3-9A91E32D6C73@gmail.com> Message-ID: On 3/24/06 4:10 PM, "Chris Sheffield" 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: kray at sonsothunder.com From lfredricks at proactive-intl.com Fri Mar 24 18:14:38 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 24 Mar 2006 15:14:38 -0800 Subject: The Business of Software: What is Distribution? In-Reply-To: <000201c64f97$17a345b0$0201010a@royalnexus> Message-ID: <20060324231446.1A327FB192@knife.dreamhost.com> > 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 From jhonken at x12.info Fri Mar 24 18:18:24 2006 From: jhonken at x12.info (Jeff Honken) Date: Fri, 24 Mar 2006 16:18:24 -0700 Subject: Progress Bar Example In-Reply-To: Message-ID: <000201c64f99$43197410$670fa8c0@work1> 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: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] 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 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Fri Mar 24 18:22:00 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 25 Mar 2006 09:22:00 +1000 Subject: Progress Bar Example In-Reply-To: <000201c64f99$43197410$670fa8c0@work1> References: <000201c64f99$43197410$670fa8c0@work1> Message-ID: On 3/25/06, Jeff Honken 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 From garrett at paraboliclogic.com Fri Mar 24 18:22:47 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Fri, 24 Mar 2006 15:22:47 -0800 Subject: capsLockKey Message? In-Reply-To: <20060324214438.459EAFB8A0@knife.dreamhost.com> References: <20060324214438.459EAFB8A0@knife.dreamhost.com> Message-ID: <44247F47.30907@paraboliclogic.com> 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 From erikhans08 at yahoo.com Fri Mar 24 18:25:16 2006 From: erikhans08 at yahoo.com (Erik Hansen) Date: Fri, 24 Mar 2006 15:25:16 -0800 (PST) Subject: a rare bird...consult and teach/train In-Reply-To: <70ed6b130603241411n7f8d0366l53fcd75d425145b5@mail.gmail.com> Message-ID: <20060324232517.61022.qmail@web33015.mail.mud.yahoo.com> --- Dan Shafer wrote: > It's a rare bird who can > both consult and teach/train why is that? Erik Hansen erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From alex at tweedly.net Fri Mar 24 18:35:04 2006 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 24 Mar 2006 23:35:04 +0000 Subject: FTP and cross platform issues... In-Reply-To: References: <10558498.1143073871474.JavaMail.johnpatten@mac.com> Message-ID: <44248228.6030309@tweedly.net> 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 From garrett at paraboliclogic.com Fri Mar 24 18:36:56 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Fri, 24 Mar 2006 15:36:56 -0800 Subject: Num Lock and Scroll Lock? In-Reply-To: <44247F47.30907@paraboliclogic.com> References: <20060324214438.459EAFB8A0@knife.dreamhost.com> <44247F47.30907@paraboliclogic.com> Message-ID: <44248298.6040602@paraboliclogic.com> 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 From chipp at chipp.com Fri Mar 24 18:41:07 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 24 Mar 2006 17:41:07 -0600 Subject: [ANN] New Chart App created with 2.7 Message-ID: <44248393.4080102@chipp.com> 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 From dcragg at lacscentre.co.uk Fri Mar 24 18:42:09 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 24 Mar 2006 23:42:09 +0000 Subject: FTP and cross platform issues... In-Reply-To: <44248228.6030309@tweedly.net> References: <10558498.1143073871474.JavaMail.johnpatten@mac.com> <44248228.6030309@tweedly.net> Message-ID: <59EE324A-522D-4296-8F1F-DFAE04B384D9@lacscentre.co.uk> 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 and to turn off: libUrlSetLogField empty Cheers Dave From mwieder at ahsoftware.net Fri Mar 24 18:43:21 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 24 Mar 2006 15:43:21 -0800 Subject: Ftp and cross platform issues... In-Reply-To: <44247CE0.30205@tweedly.net> References: <1364814.1143142617794.JavaMail.johnpatten@mac.com> <1844514889.20060323210830@ahsoftware.net> <4423B2E1.1000103@tweedly.net> <6410939299.20060324125750@ahsoftware.net> <44247CE0.30205@tweedly.net> Message-ID: <4020870910.20060324154321@ahsoftware.net> Alex- Friday, March 24, 2006, 3:12:32 PM, you wrote: > 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. ROTFL I was talking with some folks a while back about things we say that have no meaning to kids these days: "dialing" a phone... "you sound like a broken record"... I still say I'm going to "tape" something on my dvr... -- -Mark Wieder mwieder at ahsoftware.net From europe at ehug.info Fri Mar 24 19:43:49 2006 From: europe at ehug.info (Mark Schonewille) Date: Sat, 25 Mar 2006 01:43:49 +0100 Subject: Copy Image to Clipboard broke in 2.7? In-Reply-To: <44244CA9.3040705@chipp.com> References: <442314EF.3040707@chipp.com> <4423D7F1.3040001@ehug.info> <44244CA9.3040705@chipp.com> Message-ID: <44249245.5000907@ehug.info> 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:m.schonewille at economy-x-talk.com http://www.economy-x-talk.com eHUG coordinator mailto:europe at ehug.info 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. From sarah.reichelt at gmail.com Fri Mar 24 19:53:08 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 25 Mar 2006 10:53:08 +1000 Subject: capsLockKey Message? In-Reply-To: <44247F47.30907@paraboliclogic.com> References: <20060324214438.459EAFB8A0@knife.dreamhost.com> <44247F47.30907@paraboliclogic.com> Message-ID: > 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 From sarah.reichelt at gmail.com Fri Mar 24 19:54:29 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 25 Mar 2006 10:54:29 +1000 Subject: [ANN] New Chart App created with 2.7 In-Reply-To: <44248393.4080102@chipp.com> References: <44248393.4080102@chipp.com> Message-ID: On 3/25/06, Chipp Walters 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 From ambassador at fourthworld.com Fri Mar 24 20:04:29 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Mar 2006 17:04:29 -0800 Subject: Ftp and cross platform issues... Message-ID: <4424971D.5040206@fourthworld.com> 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 From stephenREVOLUTION at barncard.com Fri Mar 24 20:57:10 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 24 Mar 2006 17:57:10 -0800 Subject: Ftp and cross platform issues... In-Reply-To: <4424971D.5040206@fourthworld.com> References: <4424971D.5040206@fourthworld.com> Message-ID: 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 - - - - - - - - - - - - From chipp at chipp.com Fri Mar 24 21:54:38 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 24 Mar 2006 20:54:38 -0600 Subject: Copy Image to Clipboard broke in 2.7? In-Reply-To: <44249245.5000907@ehug.info> References: <442314EF.3040707@chipp.com> <4423D7F1.3040001@ehug.info> <44244CA9.3040705@chipp.com> <44249245.5000907@ehug.info> Message-ID: <4424B0EE.2060900@chipp.com> Hi Mark, Yeah, in my original email I pointed out it was on a PC. Mark Schonewille wrote: > Maybe this is a Windows issue? From scott at tactilemedia.com Fri Mar 24 22:48:50 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 24 Mar 2006 19:48:50 -0800 Subject: Dial Control In-Reply-To: Message-ID: 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: scott at tactilemedia.com W: http://www.tactilemedia.com From garrett at paraboliclogic.com Fri Mar 24 22:58:58 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Fri, 24 Mar 2006 19:58:58 -0800 Subject: Drawer problem In-Reply-To: References: <20060324214438.459EAFB8A0@knife.dreamhost.com> <44247F47.30907@paraboliclogic.com> Message-ID: <4424C002.20409@paraboliclogic.com> Rev 2.6.1 Greetings, drawer stack "htmltext" at right of stack "htmldeveloper" aligned to top It does not open to the right of the stack, it opens on the left. In fact, I can use "bottom" or "top" and it still opens on the left. The alignment works with no problem. Am I missing something, or doing something wrong? Thanks, -Garrett From katir at hindu.org Fri Mar 24 23:04:11 2006 From: katir at hindu.org (Sivakatirswami) Date: Fri, 24 Mar 2006 18:04:11 -1000 Subject: Making the move... In-Reply-To: <70ed6b130603151705r462ad5fdn9133039773b87824@mail.gmail.com> References: <20060315180004.23F3082638F@mail.runrev.com> <44187281.9030805@fourthworld.com> <441893AA.3070407@chipp.com> <31e1938c0603151459s4a8b4f16n24e508ae63758cd8@mail.gmail.com> <425B1B3B-FB08-4DA7-B091-588A7D615D2D@easynet.fr> <31e1938c0603151552m36f7c710h607cf982ea5200a5@mail.gmail.com> <70ed6b130603151705r462ad5fdn9133039773b87824@mail.gmail.com> Message-ID: <85D1490E-6A59-4337-BA53-713E12280DA0@hindu.org> 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 or iFrame