From rbarber at yhb.att.ne.jp Sat Feb 1 00:05:01 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Sat Feb 1 00:05:01 2003 Subject: Cut,Copy,Paste menus In-Reply-To: <200301300420.XAA14231@www.runrev.com> Message-ID: Hi All, I've worked on this all day and can't find the problem so I bring it to you. I can't get the cut,copy,paste menuitems to work via cmd keys in my app. I made a simple app with just those menus to make sure I was able to make some app work and that worked okay, but my original app is still uncooperative. Here are my symptoms: Works when the items are chosen from the menubar with the mouse Works when the menubar is clicked so that the menu drops down (don't hold down the mousekey) and then the cmd key combo is chosen. It does not work when the cmd key combo is chosen. In fact, apparently, the menupick message is not sent. I have a 'beep' command in the menupick message before the switch/case starts and another for the particular case and neither beeps. However, the menubar flickers at the 'Edit' menu. This is true for standalone and in UI suspended mode. I enable/disable these items in the mousedown handler for the menu depending on whether there is text selected. The menu belongs to the mainstack which is a palette. Other substacks with textflds set their menubar to this menubar (it is also called as the default menubar when the mainstack is opened). A 'select all' menuitem in the same menu as cut,copy,paste does not have a problem activating with the cmd key. Any suggestions on what the problem might be or how I can look for it? Thanks Ron From kray at sonsothunder.com Sat Feb 1 01:07:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Feb 1 01:07:00 2003 Subject: Cut,Copy,Paste menus References: Message-ID: <049701c2c9b7$dd650ae0$6601a8c0@mckinley.dom> Ron, what platform(s) are you trying this on? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Ron" To: Sent: Friday, January 31, 2003 11:01 PM Subject: Cut,Copy,Paste menus > Hi All, > > I've worked on this all day and can't find the problem so I bring it to you. > I can't get the cut,copy,paste menuitems to work via cmd keys in my app. I > made a simple app with just those menus to make sure I was able to make some > app work and that worked okay, but my original app is still uncooperative. > > Here are my symptoms: > Works when the items are chosen from the menubar with the mouse > Works when the menubar is clicked so that the menu drops down (don't hold > down the mousekey) and then the cmd key combo is chosen. > It does not work when the cmd key combo is chosen. In fact, apparently, the > menupick message is not sent. I have a 'beep' command in the menupick > message before the switch/case starts and another for the particular case > and neither beeps. However, the menubar flickers at the 'Edit' menu. > > This is true for standalone and in UI suspended mode. > > I enable/disable these items in the mousedown handler for the menu depending > on whether there is text selected. The menu belongs to the mainstack which > is a palette. Other substacks with textflds set their menubar to this > menubar (it is also called as the default menubar when the mainstack is > opened). > > A 'select all' menuitem in the same menu as cut,copy,paste does not have a > problem activating with the cmd key. > > Any suggestions on what the problem might be or how I can look for it? > > Thanks > Ron > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rbarber at yhb.att.ne.jp Sat Feb 1 01:50:01 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Sat Feb 1 01:50:01 2003 Subject: Cut,Copy,Paste menus In-Reply-To: <049701c2c9b7$dd650ae0$6601a8c0@mckinley.dom> Message-ID: Hi Ken Sorry, I forgot. Mac OS 9.2.1 right now. Perhaps I'm doing something wrong with the enable/disable routines? A menuitem will not work if it disabled right? Perhaps I'm sending the cmdkey to a disabled menu? Maybe I should be asking how one goes about correctly enabling/disabling various edit menu menuitems depending on the state of the cursor. Is it in a fld? is there text selected? is the clipboard text? etc. I've tried to cover these cases correctly, but perhaps I have them called in the wrong place, the menu's script? Thanks Ron > > Ron, what platform(s) are you trying this on? > >> Hi All, >> >> I've worked on this all day and can't find the problem so I bring it to > you. >> I can't get the cut,copy,paste menuitems to work via cmd keys in my app. > I >> made a simple app with just those menus to make sure I was able to make > some >> app work and that worked okay, but my original app is still uncooperative. >> >> Here are my symptoms: >> Works when the items are chosen from the menubar with the mouse >> Works when the menubar is clicked so that the menu drops down (don't hold >> down the mousekey) and then the cmd key combo is chosen. >> It does not work when the cmd key combo is chosen. In fact, apparently, > the >> menupick message is not sent. I have a 'beep' command in the menupick >> message before the switch/case starts and another for the particular case >> and neither beeps. However, the menubar flickers at the 'Edit' menu. >> >> This is true for standalone and in UI suspended mode. >> >> I enable/disable these items in the mousedown handler for the menu > depending >> on whether there is text selected. The menu belongs to the mainstack which >> is a palette. Other substacks with textflds set their menubar to this >> menubar (it is also called as the default menubar when the mainstack is >> opened). >> >> A 'select all' menuitem in the same menu as cut,copy,paste does not have a >> problem activating with the cmd key. >> >> Any suggestions on what the problem might be or how I can look for it? >> >> Thanks >> Ron >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From yvescoppe at skynet.be Sat Feb 1 01:56:00 2003 From: yvescoppe at skynet.be (yves COPPE) Date: Sat Feb 1 01:56:00 2003 Subject: [OT] French translation for Save In-Reply-To: <20030131221639.56360.qmail@web20008.mail.yahoo.com> References: <20030131221639.56360.qmail@web20008.mail.yahoo.com> Message-ID: >--- Ludovic Thebault > wrote: >> yves COPPE a ?crit: >> >> > I'm a french speaker. >> > It's "Sauver" (or sometimes "Sauvegarder") >> >> or "Enregistrer" which is used for menu item >> "Save" >> "Enregistrer Sous.." for "Save as.." > >"sauver" parait plus international, n'est ce pas? > All what my friends (french) said is allright but I think that for a button, the best is "Sauver" -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From ambassador at fourthworld.com Sat Feb 1 02:35:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Feb 1 02:35:00 2003 Subject: SVG in MC/Rev Message-ID: I just added my SVG sample stack ("4W mc2svg") to the Tutorials section of RevNet's stack collection. If you don't already have it, you can download RevNet at the Revolution Embassy: -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From rbarber at yhb.att.ne.jp Sat Feb 1 02:47:01 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Sat Feb 1 02:47:01 2003 Subject: Cut,Copy,Paste menus In-Reply-To: <049701c2c9b7$dd650ae0$6601a8c0@mckinley.dom> Message-ID: Okay, a little progress. Instead of trying to fix my broken stack, I tried to break the simple stack using scripts from the broken one. It looks like I'm sending menumessages to a disabled menu and it doesn't respond (duh). So my question should be: Where should scripts that control the enabling/disabling of menuitems be placed? Obviously, the menu's mousedown message is not the place because it is not activated until I click in the menubar. All I'm trying to do is provide standard text editor behavior to the stack. Things including but not exclusively: cursor in a fld - enable past selectedtext - enable cut,copy Thanks Ron From janschenkel at yahoo.com Sat Feb 1 03:16:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Feb 1 03:16:01 2003 Subject: Cut,Copy,Paste menus In-Reply-To: Message-ID: <20030201081209.86453.qmail@web11905.mail.yahoo.com> --- Ron wrote: > Okay, a little progress. Instead of trying to fix my > broken stack, I tried > to break the simple stack using scripts from the > broken one. It looks like > I'm sending menumessages to a disabled menu and it > doesn't respond (duh). So > my question should be: > > Where should scripts that control the > enabling/disabling of menuitems be > placed? Obviously, the menu's mousedown message is > not the place because it > is not activated until I click in the menubar. > > All I'm trying to do is provide standard text editor > behavior to the stack. > Things including but not exclusively: > > cursor in a fld - enable past > selectedtext - enable cut,copy > > Thanks > Ron > Hi Ron, You could add openField and selectionChanged handlers to your mainStack script to this effect. You'll probably also want to trap the rawKeyDown message because no selectionChanged is sent when you use the arrowkeys. If you also have list fields in your app, you might want to add checks for that so things don't get messy. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From dleyanna at rtl.org Sat Feb 1 03:24:00 2003 From: dleyanna at rtl.org (Dave LeYanna) Date: Sat Feb 1 03:24:00 2003 Subject: OT: FooBar (was Bad Factor) In-Reply-To: <44E6103B-3568-11D7-BE5B-000A9567A3E6@swcp.com> References: <2F03E408-3564-11D7-943F-000393529642@ARCplanning.com> Message-ID: <5.1.1.6.0.20030201031257.00a3c6b0@mail.rtl.org> I feel so sheepish! I just followed and believed! I never dawned on me that the relationship between "fubar" and "foobar" could have started in one person's head just because they liked the sound! Now that I think about it there is nothing fubarish about foobat except the sound. While your post may not have advanced the science of xTalk very much, it sure reminded me to watch out who/what I submit to as an authority. Those darn official looking and sounding web pages! Just because Google gives doesn't mean we must accept. djl At 03:06 PM 1/31/03 -0700, you wrote: >On Friday, January 31, 2003, at 02:37 PM, Alex Rice wrote: > >>Correct, but it's more interesting than that. The metasyntactic "foo" was >>adopted into the "fubar" phase as "foobar". But foo is the real >>interesting character of the bunch. The Jargon File has a lengthy and >>interesting entymology of foo. > >They may be related, but I have never seen these associated. "foobar" is >an arbitrary symbol. I have never seen it related to fubar. I expect >somebody liked the idea of their being related and associated the two. > >I first saw foo and foobar in some lisp code in the 50s. It seems like I >have seen early lisp code that used foo without a related foobar. >I'm not sure, but I think I have seen it in a logic paper from the 30's or >40's, maybe earlier. > >My guess is that foobar is not related to fubar. > >Dar > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution ====================== || Dave LeYanna || || Director IS || || Right to Life of Michigan || ====================== From rbarber at yhb.att.ne.jp Sat Feb 1 03:52:01 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Sat Feb 1 03:52:01 2003 Subject: Cut,Copy,Paste menus In-Reply-To: <20030201081209.86453.qmail@web11905.mail.yahoo.com> Message-ID: Hi Jan Thanks for the suggestion. I've included the handlers as they were in my stacks. As you can see, the menuitems only get changed when the menubar is clicked in. I'll look into locating some of the script in the selectionchanged message. What do you think? >> Where should scripts that control the >> enabling/disabling of menuitems be >> placed? Obviously, the menu's mousedown message is >> not the place because it >> is not activated until I click in the menubar. >> >> All I'm trying to do is provide standard text editor >> behavior to the stack. >> Things including but not exclusively: >> >> cursor in a fld - enable past >> selectedtext - enable cut,copy > > You could add openField and selectionChanged handlers > to your mainStack script to this effect. > You'll probably also want to trap the rawKeyDown > message because no selectionChanged is sent when you > use the arrowkeys. This is what I had in my openfield handler: on openfield enable menu 2 --the edit menu if the clipboard is "text" then enable menuitem 4 of menu 2 --paste else disable menuitem 4 of menu 2 put word 2 of the selectedfield into thefld if therefld is not "" then put fld thefld of the topstack into thetext if thetext is not "" then --check if text is in the fld enable menuitem 6 of menu 2 --sel all enable menuitem 8 of menu 2 --find enable menuitem 8 of menu 1 --export text enable menuitem 11 of menu 1 --print text end if enable menu 4 --format menu pass openfield end openfield In my menu's mousedown handler I had the following: -----set up menuitems--------- put word 2 of the selectedfield into thefld if thefld is not "" then -----The cursor is in a fld-------- if the clipboard is "text" then enable menuitem 4 of menu 2 --paste else disable menuitem 4 of menu 2 put fld thefld of the topstack into thetext put the hold of fld thefld of the topstack into thehold end if if thetext is not "" then -------There is some text in the fld------- enable menuitem 6 of menu 2 --sel all enable menuitem 8 of menu 2 --find enable menuitem 8 of menu 1 --export text enable menuitem 11 of menu 1 --print text else disable menuitem 6 of menu 2 disable menuitem 8 of menu 2 disable menuitem 8 of menu 1 disable menuitem 11 of menu 1 end if if thehold <> thetext then enable menuitem 6 of menu 1 else disable menuitem 6 of menu 1 end if if the selectedtext is not "" then -----There is some selected text-------- enable menuitem 1 of menu 2 --cut enable menuitem 2 of menu 2 --copy else disable menuitem 1 of menu 2 disable menuitem 2 of menu 2 end if From miscdas at boxfrog.com Sat Feb 1 05:29:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Sat Feb 1 05:29:01 2003 Subject: Minor Demo Update/Notice In-Reply-To: <200302010128.h111SixF023949@ms-smtp-02.nyroc.rr.com> References: <200302010128.h111SixF023949@ms-smtp-02.nyroc.rr.com> Message-ID: <20030201102454.22961.qmail@www.boxfrog.com> Howard Bornstein writes: >>Just enter the following line in your message box: >> >> go stack url "http://www.tactilemedia.com/panel.mc" > > > Hmm. Did that and got this message: > > "stack is corrupted, check for ~ backup file" > > ??? ========= Mr. Bornstein, Worked fine for me. ========== Mr. Hurley, This is a very nice offerring. Could you modify the Close button so it is more easily found? It is very small and the same color as the player. miscdas From janschenkel at yahoo.com Sat Feb 1 05:30:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Feb 1 05:30:00 2003 Subject: Cut,Copy,Paste menus In-Reply-To: Message-ID: <20030201102546.33595.qmail@web11907.mail.yahoo.com> --- Ron wrote: > Hi Jan > Thanks for the suggestion. I've included the > handlers as they were in my > stacks. As you can see, the menuitems only get > changed when the menubar is > clicked in. I'll look into locating some of the > script in the > selectionchanged message. What do you think? > > >> Where should scripts that control the > >> enabling/disabling of menuitems be > >> placed? Obviously, the menu's mousedown message > is > >> not the place because it > >> is not activated until I click in the menubar. > >> > >> All I'm trying to do is provide standard text > editor > >> behavior to the stack. > >> Things including but not exclusively: > >> > >> cursor in a fld - enable past > >> selectedtext - enable cut,copy > > > > > You could add openField and selectionChanged > handlers > > to your mainStack script to this effect. > > You'll probably also want to trap the rawKeyDown > > message because no selectionChanged is sent when > you > > use the arrowkeys. > > This is what I had in my openfield handler: > on openfield > enable menu 2 --the edit menu > if the clipboard is "text" then enable menuitem 4 > of menu 2 --paste > else disable menuitem 4 of menu 2 > put word 2 of the selectedfield into thefld > if therefld is not "" then put fld thefld of the > topstack into thetext > if thetext is not "" then --check if text is in > the fld > enable menuitem 6 of menu 2 --sel all > enable menuitem 8 of menu 2 --find > enable menuitem 8 of menu 1 --export text > enable menuitem 11 of menu 1 --print text > end if > enable menu 4 --format menu > pass openfield > end openfield > > [snip] Hi Ron, Glad to see you're making progress. Though some of it could be simplified by using 'the target' and 'the selection', it is the way to go for you :-) Under Windows or any of the Un*xes you could have moved the 'mouseDown' handler into a 'mouseEnter' handler ; but as menus are a different animal in MacOS, that message probably wouldn't be sent (though I can't check that right now). Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From derek.huby at ntlworld.com Sat Feb 1 05:30:04 2003 From: derek.huby at ntlworld.com (Derek Huby) Date: Sat Feb 1 05:30:04 2003 Subject: [OT] - Mac OS X Unix book In-Reply-To: <200302010507.AAA27307@www.runrev.com> Message-ID: As a Revolution user on OS X - but with no knowledge of Unix - I've often been intrigued (perplexed?) by some of the very knowledgeable contributions to this list that relate to strange Unix things like CGI, faceless applications and so on. It's become disturbingly clear that here's another world lurking deep in the innards of this machine - and it's a world where the normal rules don't apply, and where a strange language is spoken :-) Also, in some obscure way, Revolution can do some useful stuff in this world... So, I bought a book. I've just received 'Unix for Mac OS X', a 'Visual Quickpro Guide' by Matisse Enzer, published by Peachpit press. The contents look hopeful, and I'm quite optimistic that in 520 pages time I might actually understand some of the things that the Unix experts are writing about. Any other Unix-na?ve (or is that Unix-innocent ?) OS X users of Revolution might consider giving it a look. (I own no shares in the publishers!) Have a good weekend, Derek From ambassador at fourthworld.com Sat Feb 1 05:46:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Feb 1 05:46:00 2003 Subject: FAQs from this list... In-Reply-To: <5.1.1.6.0.20030130124808.00aad7d0@mail.rtl.org> Message-ID: Dave LeYanna wrote: >> On Thursday, January 30, 2003, at 09:29 AM, Dave LeYanna wrote: >>> >>> I would be willing to start one if the work won't be a duplication or >>> help if there are already efforts afoot. I know that there is a lot of >>> editing involved and am aware of what I'm getting into. >>> >>> Any thoughts? >> >> I think that the RevNet plugin (http://www.fourthworld.com/rev/ is pretty >> cool and because it has sections for Tips, Links and Stacks, it's kind of >> like a FAQ-plus! >> >> Alex Rice, Software Developer > > VERY nice resource! > I have only browsed it a little and it looks as though most of the function > require on-line access to use. I am quite often off-line with my notebook > (redeeming the time) and would probably like to flag certain things to be > available locally. I'll play with it some more. > > This resource should be one of the first things "newbees" should be made > aware of... Thank you for the kind words about RevNet. Yes, RevNet is as much a file sharing index for developers as much it is an information directory, so relying on an Internet connection allows us real-time updates of contributions. Another element is simply the joy of a fun "proof of concept", an attempt to answer this question: How many hours would it take one person armed with Revolution to build what takes a small army of engineers several months to do at AOL? If AOL-TimeWarner had an eye for return on investment (and with a $99 billion loss perhaps they don't ) they'd jump at the chance to re-build AOL in Revolution. They'd have one code base for every platform, a Linux version, simultaneous rollout for new versions across platforms, and they'd probably spend less on the complete re-build than they do now on a single upgrade. :) BTW: If you decide to compile an FRQ for Rev drop me a note. I have some FAQ-building tools I could pass to you and maybe we could add access to it into RevNet. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Sat Feb 1 05:59:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Feb 1 05:59:00 2003 Subject: [OT] - Mac OS X Unix book In-Reply-To: Message-ID: Derek Huby wrote: > Also, in some obscure way, Revolution can do some useful stuff in this > world... And maybe not so obscure. Given the speed and flexibility of the engine, C could be relegated for operating systems and only core routines of applications. A smart large company could save significant costs by building something like, say, GoLive by using Rev to handle 90% of the UI and then hooking into the window content region with an external for computationally-intensive stuff like GoLive's Layout mode display. But even just using native Transcript can deliver a significant subset of applications that are currently built with C at an exponentially greater cost. My MetaCard-based WebMerge application has been mistaken for being C++-based more than once. Maybe that's not that far out of line, given that in such a high-level tool your scripts are only a small part of what's going on, with most of the action taking place in highly-optimized C++ in the engine. > So, I bought a book. I've just received 'Unix for Mac OS X', a 'Visual > Quickpro Guide' by Matisse Enzer, published by Peachpit press. The contents > look hopeful, and I'm quite optimistic that in 520 pages time I might > actually understand some of the things that the Unix experts are writing > about. Any other Unix-na?ve (or is that Unix-innocent ?) OS X users of > Revolution might consider giving it a look. (I own no shares in the > publishers!) Me neither, but I've been impressed with the instructional design of the Visual Quick Pro series for some years, and have found them a greay way to get a quick grok. Didn't know about the "Uix for Mac OS X" book -- thanks for posting that. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From mazzapaolo at libero.it Sat Feb 1 06:04:01 2003 From: mazzapaolo at libero.it (paolo mazza) Date: Sat Feb 1 06:04:01 2003 Subject: Setting Pixels - Clarification In-Reply-To: <009001c2c744$e1ec52a0$6601a8c0@mckinley.dom> Message-ID: <9EA41B80-3395-11D7-A261-0003936FFEAC@libero.it> > Ken wrote: > > This is something that as you identified is too slow to be done in > regular > Transcript. You need the help of an external to do the processing of > the > imageData for you. You might want to check out Chipp Walters' image > tools > at: > > http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm > > There's image compositing and convolution matrix utilities there that > use an > external for speed. > There is an external for Windows (ddl). How can I get en external for MAC to speed up the process? Best regards, Paolo Mazza From jhurley at infostations.com Sat Feb 1 07:42:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Sat Feb 1 07:42:01 2003 Subject: Line tracing In-Reply-To: <200302010507.AAA27307@www.runrev.com> References: <200302010507.AAA27307@www.runrev.com> Message-ID: >Roger Guay Wrote: > >Sarah, Jim > >What I'm trying to do is trace a line in time as a ball is moved across >the screen. Near as I can tell, I want the screen to update but not >redraw (if that makes any sense?) I've done this in ToolBook on the PC >but I much prefer to stay on my Mac. Here is a description of my stack: > >Create a vertical line and label it "Yaxis" and an horizontal line and >Label it "Xaxis" such that they intersect and define the origin >somewhere near the lower left corner of your stack. Create a brightly >colored circle graphic and name it "Ball." Create 2 fields, one for >Theta so labeled which defines the angle from the horizon that the ball >is being fired, and one for V so labeled which defines the velocity of >the ball when fired. Create a "Fire" button and insert the following >script: > >on MouseUp > global V, Xo, Yo, Theta, T, X > --put item 1 of the rect of graphic "Yaxis" into Xo. Yaxis is a >vertical line and Xo,Yo define the origin of motion > --put item 4 of the rect of graphic "Yaxis" into Yo. > put field "V" into V ---- try a value of about 27 in field "V" > Put the value of field "Theta" into Theta ----try a value of 1.2 in >field "Theta" > set the loc of graphic "mortor" to Xo,Yo ---- Graphic "mortor" is a >small red round ball. > show graphic "mortor" > put 0 into T > put xo into x > put Yo into y > play "Mortor.aiff" > repeat while Y <= Yo + 1 > add 1 to T > put the value of (Xo+V*cos(Theta)*T ) into x > put the value of (Yo - V*sin(Theta)*T + .5*T^2 ) into Y > set the loc of graphic "mortor" to X,Y > wait 1 > end repeat > ---------- the rest of the script results in a silly explosion at the >last location of the mortor ------- > play "Boom.aiff" > hide graphic "mortor" > set the loc of graphic "Burst" to x,Yo > repeat 35 > show graphic "burst" > wait 1 > hide graphic "burst" > wait 1 > end repeat >end MouseUp > > > >Jim has actually provided a solution for me that works well if I insert >"wait .01" in his repeat loops. I can only assume it has something to >do with processing speed of the computer (I'm using a high end iMac >with OS X.) Without the "wait" command in the repeat loop, Jim's >scripts are very choppy on my computer. > >Finally, as I say, Jim's solution works well but I think it would >nevertheless be more "elegant" to do this as I have in ToolBook where >one is able to stop the screen redraw. > >Thanks very much for joining in the fun, Roger > Roger, I think I see the problem. It is not a difficulty with refreshing the screen but the very large sampling times in the trajectory equations. If you change "add 1 to T" to "add .05 to T" you will get a much smoother motion. At least it does on my PowerBook running OS 8.6 But I thought you wanted a line drawn in the wake of the graphic motion? I couldn't try your sound effects. They should add a nice touch to the visual. I have seen discussions on this list of problems with sound effects timing; that could be a conflict for you. I can't help you there. You will find a number of these problems in dynamics illustrated in the demo on the RR web site on the Education page including the projectile motion you are working on as well as planetary motion, Kepler's 2nd law (planets sweep out equal areas in equal times), the voyager sling shot effect as it moved around Jupiter and others. The graphic I use there is the turtle, which I represent with an arrow icon, which allows me to show heading as well as position. But it is easily modified to move any one or more RR controls (buttons, fields, graphics, images, etc.). You have the option of leaving a line in the turtle's wake or not. Good luck with your project. The sound effects are a nice touch. Jim From jhurley at infostations.com Sat Feb 1 07:54:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Sat Feb 1 07:54:01 2003 Subject: Line tracing In-Reply-To: <200302010507.AAA27307@www.runrev.com> References: <200302010507.AAA27307@www.runrev.com> Message-ID: > > erik hansen wrote: > >always read the fine print. >now i can't get it to open. >which app is good to open this Simpletext doc? >ahhh! RunRev is. >hey, this is fun! > > >===== >erik at erikhansen.org http://www.erikhansen.org Eric, I suspect the problem you are having is in converting the document from PC to Mac. Richard Gaskin has this nifty AppleTalk application he wrote to make the conversion painlessly. You just have to drag the document onto the icon and presto, PC to Mac conversion. I can send it to you off line if you can't find it on his web site--I am assuming it that is alright with Richard??? If you have anything like ResEdit you can do it manually. You have to change the type to RSTK and the creator to Revo I submitted it as a Mac document but, alas, it was converted to a PC document. -- Jim Hurley From jhurley at infostations.com Sat Feb 1 08:07:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Sat Feb 1 08:07:01 2003 Subject: Line tracing Message-ID: >Roger Guay Wrote: > > (snip) >on MouseUp > global V, Xo, Yo, Theta, T, X > --put item 1 of the rect of graphic "Yaxis" into Xo. Yaxis is a >vertical line and Xo,Yo define the origin of motion > --put item 4 of the rect of graphic "Yaxis" into Yo. > put field "V" into V ---- try a value of about 27 in field "V" > Put the value of field "Theta" into Theta ----try a value of 1.2 >in field "Theta" > set the loc of graphic "mortor" to Xo,Yo ---- Graphic "mortor" is a >small red round ball. > show graphic "mortor" > put 0 into T > put xo into x > put Yo into y > play "Mortor.aiff" > repeat while Y <= Yo + 1 > add 1 to T > put the value of (Xo+V*cos(Theta)*T ) into x > put the value of (Yo - V*sin(Theta)*T + .5*T^2 ) into Y > set the loc of graphic "mortor" to X,Y > wait 1 > end repeat Roger, P.S. You may want to consider using: sin(Theta*180/pi) so that you can use degrees instead of radians in you angle field. Or perhaps write a separate function: function sine ang return sin(ang*180/pi) end sine And do the same for cosine. Jim From ambassador at fourthworld.com Sat Feb 1 08:19:03 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Feb 1 08:19:03 2003 Subject: Line tracing In-Reply-To: Message-ID: Jim Hurley wrote: >> erik hansen wrote: >> >> always read the fine print. >> now i can't get it to open. >> which app is good to open this Simpletext doc? >> ahhh! RunRev is. >> hey, this is fun! > > Eric, > > I suspect the problem you are having is in converting the document > from PC to Mac. > > Richard Gaskin has this nifty AppleTalk application he wrote to make > the conversion painlessly. You just have to drag the document onto > the icon and presto, PC to Mac conversion. I can send it to you off > line if you can't find it on his web site--I am assuming it that is > alright with Richard??? Absolutely, Jim. Thanks for helping to spread it around where it can be useful. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From Roger.E.Eller at sealedair.com Sat Feb 1 09:11:01 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sat Feb 1 09:11:01 2003 Subject: [ANN] Pantone to RGB Message-ID: Announcing "Pantone to RGB". This stack has been posted to User Contributions. It was just a little color learning exercise that my colleague and I threw together one afternoon. We were pleased with the end result and decided to share it with the nice people of this list. http://www.runrev.com/revolution/developers/developerdownloads/usercontributions.html Enjoy. Roger Eller and James Cass From den.ouden at home.nl Sat Feb 1 10:07:01 2003 From: den.ouden at home.nl (Alex den Ouden) Date: Sat Feb 1 10:07:01 2003 Subject: Revolution Hand book ?? Message-ID: <06DCCBBE-35F6-11D7-9ED0-000393959D1A@home.nl> Hello: I am an old time hypercard user and recently discovered revolution. Question is there a Revolution Hand Book and do you sell it ? Thank you. Alex den Ouden Bloemendaal 19 Bergen op Zoom 4614CX Netherlands http://denouden.tiscaliweb.nl From wmb at internettrainer.com Sat Feb 1 10:52:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sat Feb 1 10:52:01 2003 Subject: bad factor In-Reply-To: <03b501c2c949$7d249420$6601a8c0@mckinley.dom> Message-ID: <85D1B019-35FC-11D7-8519-003065430226@internettrainer.com> On Freitag, J?nner 31, 2003, at 05:54 Uhr, Ken Ray wrote: > Oh, and one other thing - make sure you put quotes around the name of > objects. Revolution is smart enough to interpret things *without* > quotes, > but if you use quotes you will (a) make things clearer in your > scripts, and > (b) remove any possible confusion that Rev might encounter. So use > this: > > set the hilite of btn "Banana" to true > > instead of this: > > set the hilite of btn Banana to true > > Just my $0.02, And this tip is not only worth 2 cent, believe me that..;) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From rogerguay at centurytel.net Sat Feb 1 11:48:01 2003 From: rogerguay at centurytel.net (Roger Guay) Date: Sat Feb 1 11:48:01 2003 Subject: Line Tracing In-Reply-To: <200302010506.AAA27121@www.runrev.com> Message-ID: <5C42A92A-3604-11D7-B9FB-000393A1CAAA@centurytel.net> > Have you had a look at the 'move' command? It's at the > heart of the RunRev Animation Manager, and you should > be able to create a smooth movement by setting a > series of points and letting the object travel along > those points with a 'move' statement. > > Just a thought, > > Jan Schenkel. > Yes Jan, the move command works well but again, it doesn't do what I'm trying to do. I not only want to move a graphic but I want it to trace a line behind it. Thanks, Roger From sdwagen at punahou.edu Sat Feb 1 12:12:01 2003 From: sdwagen at punahou.edu (Steve Wagenseller) Date: Sat Feb 1 12:12:01 2003 Subject: All about plugin In-Reply-To: Message-ID: Greetings, all. I'm new to the list (re-newed, actually), but I've been doing RR (and HyperCard before that for years). I'm moving some HC stacks to Rev and I'm direly in need of the Unicode service of the new version. Is it possible for me to check out how that feature works via the 2.0 beta? (I have a professional users license.) Thanks for any help and advice. S. From rogerguay at centurytel.net Sat Feb 1 13:37:01 2003 From: rogerguay at centurytel.net (Roger Guay) Date: Sat Feb 1 13:37:01 2003 Subject: Line Tracing In-Reply-To: <200302011701.MAA09672@www.runrev.com> Message-ID: <86AC6750-3613-11D7-B9FB-000393A1CAAA@centurytel.net> Thanks to all who have responded to this Line tracing thing. Here is another iteration. > Date: Sat, 1 Feb 2003 04:51:22 -0800 > To: use-revolution at lists.runrev.com > From: Jim Hurley > Subject: Line tracing > I think I see the problem. It is not a difficulty with refreshing the > screen but the very large sampling times in the trajectory > equations. If you change "add 1 to T" to "add .05 to T" you will > get a much smoother motion. At least it does on my PowerBook running > OS 8.6 I have no problem with the motion . . . it's very smooth on my new iMac and several PC's I use. But you're right about the sampling time being a critical consideration. > But I thought you wanted a line drawn in the wake of the graphic > motion? Yes, that's exactly what I am trying to do. What I am trying to do reminds me of an oscilloscpoe where the persistence of the screen results in a line/trace from a moving spot on the screen. > I couldn't try your sound effects. They should add a nice touch to > the visual. I have seen discussions on this list of problems with > sound effects timing; that could be a conflict for you. I can't help > you there. Since you're interested, I've emailed you privately to offer the download of my stack along with it's sound files. I've experienced no timing problems with the sounds on my machines. > You will find a number of these problems in dynamics illustrated in > the demo on the RR web site on the Education page including the > projectile motion you are working on as well as planetary motion, > Kepler's 2nd law (planets sweep out equal areas in equal times), the > voyager sling shot effect as it moved around Jupiter and others. The > graphic I use there is the turtle, which I represent with an arrow > icon, which allows me to show heading as well as position. But it is > easily modified to move any one or more RR controls (buttons, fields, > graphics, images, etc.). You have the option of leaving a line in the > turtle's wake or not. I've briefly looked at your TurtleGraphicsDemo and I'm very impressed. I haven't had time to understand the "Turtle" aspect yet, but I will have a closer look. I've been toying with the idea of simulating a typical Science Museum Foucault Pendulum, where a beautiful pattern is traced in the sand by the pendulum. I would like to generate those patterns by running the equation of motion of the Foucault Pendulum. I think this is not going to be easy because if I recall correctly, this is a non-linear differential equation. But, I'm ignorant enough to proceed anyway. Thanks, Roger From kevin at runrev.com Sat Feb 1 14:42:01 2003 From: kevin at runrev.com (Kevin Miller) Date: Sat Feb 1 14:42:01 2003 Subject: Pre-Beta for 2.0 for Mac OS Message-ID: Hi, For those of your who are particularly adventurous (and we recommend this for more advanced users only at this stage) you can now download a pre-Beta for Mac OS X (and a partial build for Mac OS 9) of 2.0 from: http://www.runrev.com/revolution/previews/ Windows and Linux will follow sometime tomorrow - we have the links up but they don't work until we finish building, and it being Saturday night, some people have gone home ;-) Please read all the instructions. We'll be doing regular updates to this from now until release, this is the first publicly available snapshot. Again, if you don't consider yourself on the cutting edge, you may want to hold off a bit longer. Enjoy! Kind regards, Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Sat Feb 1 14:54:19 2003 From: kevin at runrev.com (Kevin Miller) Date: Sat Feb 1 14:54:19 2003 Subject: Printing Docs In-Reply-To: <200301302212.h0UMCcOU020990@ms-smtp-01.nyroc.rr.com> Message-ID: On 30/1/03 10:12 pm, Howard Bornstein wrote: > OK, the big push to get lots of new stuff in 2.0 is almost done, but I'll > guarantee that it will also include a lot of bugs. Next, we'll need to > get those bugs fixed as soon as possible. It should be the primary > priority. Agreed. Overall, the plan this year is to have a different emphasis and release frequency from last year. Kind regards, Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From erikhans08 at yahoo.com Sat Feb 1 17:09:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Feb 1 17:09:00 2003 Subject: Line Tracing In-Reply-To: <86AC6750-3613-11D7-B9FB-000393A1CAAA@centurytel.net> Message-ID: <20030201220449.71606.qmail@web20007.mail.yahoo.com> --- Roger Guay wrote: > Thanks to all who have responded to this Line > tracing thing. it is great that all of the geometry education interests are in touch with each other. improved code and less duplication of effort. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Sat Feb 1 17:13:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Feb 1 17:13:01 2003 Subject: Line tracing In-Reply-To: Message-ID: <20030201220914.2067.qmail@web20001.mail.yahoo.com> --- Richard Gaskin wrote: > Jim Hurley wrote: > > >> erik hansen wrote: > >> > >> always read the fine print. > >> now i can't get it to open. > >> which app opens this Simpletext doc? > >> ahhh! RunRev is. > >> hey, this is fun! > > > > Eric, > > > > I suspect the problem you are having is in > converting the document > > from PC to Mac. > > > > Richard Gaskin has this nifty AppleTalk > application he wrote to make > > the conversion painlessly. You just have to > drag the document onto > > the icon and presto, PC to Mac conversion. I > can send it to you off > > line if you can't find it on his web site--I > am assuming it that is > > alright with Richard??? > > Absolutely, Jim. Thanks for helping to spread > it around where it can be useful. shouldn't the RunRev people (when they get some time) have "this nifty AppleTalk application" installed on their site? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From ambassador at fourthworld.com Sat Feb 1 17:39:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Feb 1 17:39:01 2003 Subject: Line tracing In-Reply-To: <20030201220914.2067.qmail@web20001.mail.yahoo.com> Message-ID: erik hansen wrote: >>> Richard Gaskin has this nifty AppleTalk >>> application he wrote to make >>> the conversion painlessly. You just have to >>> drag the document onto >>> the icon and presto, PC to Mac conversion. I >>> can send it to you off >>> line if you can't find it on his web site--I >>> am assuming it that is >>> alright with Richard??? >> >> Absolutely, Jim. Thanks for helping to spread >> it around where it can be useful. > > shouldn't the RunRev people > (when they get some time) > have "this nifty AppleTalk application" > installed on their site? It wouldn't be their doing -- I'd have to send it to them first. :) They have a great tools repository at and are quick about posting new submissions. I just hadn't thought of uploading it there. All I did was find a snippet off the Web and modified it for the Rev type code, and then compiled it to a droplet: on open theList tell application "Finder" set selectionLength to number of items of selection if selectionLength = 0 then say "Nothing is [[emph +]] selected." else -- first change all the files selected set the creator type of every file of selection to "Revo" set the file type of every file of selection to "RSTK" end if end tell end open While this works great in OS 9 it fails in OS X, providing the "Nothing is selected" feedback. Hopoefully one of you AppleScript gurus can explain: Why would the method by which I'm obtaining the file list work perfectly in Classic but not in OS X? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From alrice at ARCplanning.com Sat Feb 1 19:52:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Sat Feb 1 19:52:00 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: Message-ID: On Saturday, February 1, 2003, at 12:37 PM, Kevin Miller wrote: > > Again, if you don't consider yourself on the cutting edge, you may > want to > hold off a bit longer. > > Enjoy! 2.0 is shaping up to be a great product. However, with this 2.0 pre-beta my personal opinion is that there is so much bugs and unfinished features that's is not possible for me to do any meaningful testing. I'm not really a cutting edge user, so hopefully others have ways of testing the IDE (like from the Message window)? Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From katir at hindu.org Sat Feb 1 20:22:00 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat Feb 1 20:22:00 2003 Subject: Change Resolution of JPEG? Message-ID: <33E58CE0-364C-11D7-856D-003065FB9830@hindu.org> Is it possible to use or manipulate the imageData somehow to change the resolution of an image? Or, is importing a snap shot the only option to get from a higher resolution to a lower resolution? I am not talking about JPEG Quality here, but going from a 200 DPI image to a 72 DPI version for the web or a thumbnail catalog. Sannyasin 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 kray at sonsothunder.com Sat Feb 1 22:14:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Feb 1 22:14:01 2003 Subject: Line tracing References: Message-ID: <052d01c2ca68$e4dcf290$6601a8c0@mckinley.dom> Richard, It must be a bug in OS X. If you assign the value to a variable first, and then get the count, you actually get the right number. For example, if you select to documents in the Finder and do this: tell application "Finder" get the number of items of the selection end tell ...you get "0". But if you do this: tell application "Finder" copy the selection to mySel get the number of items of mySel end tell ... you get "2". Go figure... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Richard Gaskin" To: Sent: Saturday, February 01, 2003 4:34 PM Subject: Re: Line tracing > erik hansen wrote: > > >>> Richard Gaskin has this nifty AppleTalk > >>> application he wrote to make > >>> the conversion painlessly. You just have to > >>> drag the document onto > >>> the icon and presto, PC to Mac conversion. I > >>> can send it to you off > >>> line if you can't find it on his web site--I > >>> am assuming it that is > >>> alright with Richard??? > >> > >> Absolutely, Jim. Thanks for helping to spread > >> it around where it can be useful. > > > > shouldn't the RunRev people > > (when they get some time) > > have "this nifty AppleTalk application" > > installed on their site? > > It wouldn't be their doing -- I'd have to send it to them first. :) > > They have a great tools repository at > tions.html> and are quick about posting new submissions. > > I just hadn't thought of uploading it there. All I did was find a snippet > off the Web and modified it for the Rev type code, and then compiled it to a > droplet: > > on open theList > tell application "Finder" > set selectionLength to number of items of selection > if selectionLength = 0 then > say "Nothing is [[emph +]] selected." > else > -- first change all the files selected > set the creator type of every file of selection to "Revo" > set the file type of every file of selection to "RSTK" > end if > end tell > end open > > > While this works great in OS 9 it fails in OS X, providing the "Nothing is > selected" feedback. > > Hopoefully one of you AppleScript gurus can explain: Why would the method > by which I'm obtaining the file list work perfectly in Classic but not in OS > X? > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge 2.2: Publish any database on any site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Sat Feb 1 22:39:01 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat Feb 1 22:39:01 2003 Subject: Moving graphic trashes visual effects? Message-ID: <5475FD26-365F-11D7-856D-003065FB9830@hindu.org> I suspect this is normal... I put a big landscape into an image in the back ground of a stack and set it to move slowly from left to right over 60 seconds... Meanwhile I had previously build a "show" on the foreground layers which reveal images, reveal text with wipes up, down, to the right etc. now, if I set the background graphic into motion, while it is moving all the visual effects of the higher layered objects are "trashed" some shudder on reveal, wipes don't work at all... etc. Normal? Sannyasin 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 sims at ezpzapps.com Sun Feb 2 00:13:01 2003 From: sims at ezpzapps.com (sims) Date: Sun Feb 2 00:13:01 2003 Subject: Line tracing-now applescript In-Reply-To: References: Message-ID: > >I just hadn't thought of uploading it there. All I did was find a snippet >off the Web and modified it for the Rev type code, and then compiled it to a >droplet: >While this works great in OS 9 it fails in OS X, providing the "Nothing is >selected" feedback. > >Hopoefully one of you AppleScript gurus can explain: Why would the method >by which I'm obtaining the file list work perfectly in Classic but not in OS >X? I cannot explain your script but here is one I use to change text files into BBEdit files (I find BBEdit very handy), I just modified it for Rev. Works here on 10.2.1 & 9.2 atb sims ***************************** on run tell application "Finder" set theList to selection if (count items in theList) = 1 then set theList to {} end if end tell MakeAppleAliases(theList) end run on open theList MakeAppleAliases(theList) end open on MakeAppleAliases(theList) set NoItemsSelectedFlag to true -- initialize the flag tell application "Finder" repeat with x in theList set NoItemsSelectedFlag to false try set the creator type of x to "Revo" set the file type of x to "RSTK" on error error "There was an error converting the file." end try end repeat end tell if NoItemsSelectedFlag then display dialog "You have not selected anything." end if end MakeAppleAliases -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From jeanne at runrev.com Sun Feb 2 02:45:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Feb 2 02:45:01 2003 Subject: create graphic and choose browse issues In-Reply-To: References: <200301311309.IAA29015@www.runrev.com> <200301311309.IAA29015@www.runrev.com> Message-ID: At 5:28 AM -0800 1/31/03, Jim Hurley wrote: >> send "choose browse tool" to me in 20 milliseconds > >Is there perhaps something one might do in an openStack script to >handle the issue throughout the stack? Unfortunately, I can't think of anything other than a search-and-replace. (But you should be able to do this fast with the Find dialog.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sun Feb 2 02:45:16 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Feb 2 02:45:16 2003 Subject: Cut,Copy,Paste menus In-Reply-To: References: <049701c2c9b7$dd650ae0$6601a8c0@mckinley.dom> Message-ID: At 11:43 PM -0800 1/31/03, Ron wrote: >Where should scripts that control the enabling/disabling of menuitems be >placed? Obviously, the menu's mousedown message is not the place because it >is not activated until I click in the menubar. Actually, the best place is a mouseDown handler in the script of the menu bar group. Why in the mouseDown handler? Because mouseDown is sent before the menu is displayed, so it's the best place to put menu changes that need to be done "just in time". Why in the group? Because on Mac OS and OS X systems, the menu doesn't get a mouseDown message, but the group does. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From yvescoppe at skynet.be Sun Feb 2 03:54:01 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun Feb 2 03:54:01 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: References: Message-ID: >On Saturday, February 1, 2003, at 12:37 PM, Kevin Miller wrote: >> >>Again, if you don't consider yourself on the cutting edge, you may want to >>hold off a bit longer. >> >>Enjoy! > >2.0 is shaping up to be a great product. > >However, with this 2.0 pre-beta my personal opinion is that there is >so much bugs and unfinished features that's is not possible for me >to do any meaningful testing. I'm not really a cutting edge user, so >hopefully others have ways of testing the IDE (like from the Message >window)? > I too am very disapointed with this pre-Beta : too much messages : not yet implemented or bugs. I think the people who said "wait until a good finished product" are right It's not necessary to release a version to satisfy some people who are waiting with impatience. I think it's better to wait until the team has worked further. For me it's not a problem. I whish the team a good work and I'm waiting until a good version is released without impatience. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From rbarber at yhb.att.ne.jp Sun Feb 2 05:25:01 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Sun Feb 2 05:25:01 2003 Subject: Cut,Copy,Paste menus In-Reply-To: Message-ID: Hi Jeanne Thanks for replying. I don't mean to beat this thread to death but I still don't know why I can't use the cmdkey to operate the CCP set. > At 11:43 PM -0800 1/31/03, Ron wrote: >> Where should scripts that control the enabling/disabling of menuitems be >> placed? Obviously, the menu's mousedown message is not the place because it >> is not activated until I click in the menubar. > > Actually, the best place is a mouseDown handler in the script of the menu > bar group. > > Why in the mouseDown handler? Because mouseDown is sent before the menu is > displayed, so it's the best place to put menu changes that need to be done > "just in time". Well, that's what I thought. In fact I do just that with my format menu that gets the textfont,textstyle, textcolor, textsize and places a check by the appropriate menuitem of the menu according to the current selectedtext. > Why in the group? Because on Mac OS and OS X systems, the menu doesn't get > a mouseDown message, but the group does. I'm using a Mac primarily so this is the way I've approached it. So, if I want to disable the copy menuitem when no text is selected and enable it when text is selected, where should I put the controls for this? There seem to be several choices. On openfield:. On mousedown of the menubar group. On selectionchanged. Currently, I enable 'copy' when the menubar group gets a mousedown message, just as you suggested. eg On mousedown and text is selected, then enable 'copy'. This works fine since it is 'just in time'. However, let's say I open a fld, then select some text. The 'copy' menu should now be enabled, but since I have not clicked in the menubar, the 'copy' menu is still in its default state of disabled. Thus when the cmdkey is sent to the menubar, nothing happens. Jan suggested trying selectionchanged. So, I put the following handler in a cd with a text fld. on selectionchanged if the selectedtext is not "" then enable menuitem 2 of menu 2 --the copy menuitem else disable menuitem 2 of menu 2 end if pass selectionchanged end selectionchanged The menus stop responding to cmdkeys. Without this script, they respond to cmdkeys if the menuitem has not been disabled. But disabling and then enabling them seem to kill the response to cmdkeys. This is using 1.1.1 on OS 9.2.1 Is my thinking or method incorrect? Thanks Ron From curry at kagi.com Sun Feb 2 06:44:01 2003 From: curry at kagi.com (Curry) Date: Sun Feb 2 06:44:01 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: <200302020856.DAA23502@www.runrev.com> References: <200302020856.DAA23502@www.runrev.com> Message-ID: > >However, with this 2.0 pre-beta my personal opinion is that there is >>so much bugs and unfinished features that's is not possible for me >>to do any meaningful testing. I'm not really a cutting edge user, so >>hopefully others have ways of testing the IDE (like from the Message > >window)? > > >I too am very disapointed with this pre-Beta : >too much messages : not yet implemented or bugs. > >I think the people who said "wait until a good finished product" are right >It's not necessary to release a version to satisfy some people who >are waiting with impatience. I think it's better to wait until the >team has worked further. Well, I think it's a nice treat Rev gave us, not for going ahead with work in it or testing every single thing -- "pre" beta after all -- but it lets everyone see a preview of basically how the new interface is going to look and work. Nothing wrong with that IMO! I think it's a nice gesture from Rev and very enjoyable to try it out if you interpret it and use it in the sense that I believe it was offered. The smooth window resizing is very neat, and I like that it's been thoughtfully included to use in our apps too. The properties palette is super clean, a huge improvement. (You can't beat the cleanness of the menu in the palette but still, you have to admit it's faster to have a one-click method for switching sections--I say maybe add a row of tiny icon buttons (the size of the icons for adding and deleting categories in custom and profile sections of the palette) for the different sections along the top and let the user choose to show the menu, both, or just the icon row. But keep the menu default, it sets a very clean tone for everything.) I also like to be able to set the margins of an object in the palette, but could I suggest to also add an interface element to change each margin separately? Maybe a small option menu to choose All, Left, Top, Right, or Bottom, using the same entry field so it doesn't take up much more room than now. For Font and Size option menus in the palette, it would be nice to begin the menu with a blank (space) item equivalent to "use owner's size". The interface for setting a stack shape is just too good! (Try it people!) Everything looks very deserving of the 2.0 hype. I do think it would nice to paste images from the clipbard when no image object is selected and have a new image object created the size of the image data rather than of the card. Putting together something with clipart or that sort of thing, it could speed things up. Great Saturday night bonus. Curry From jhurley at infostations.com Sun Feb 2 06:44:24 2003 From: jhurley at infostations.com (Jim Hurley) Date: Sun Feb 2 06:44:24 2003 Subject: Line tracing In-Reply-To: <200302020856.DAA23502@www.runrev.com> References: <200302020856.DAA23502@www.runrev.com> Message-ID: > Roger Guay wrote: > >Thanks to all who have responded to this Line tracing thing. Here is >another iteration. (snip) > >I've briefly looked at your TurtleGraphicsDemo and I'm very impressed. >I haven't had time to understand the "Turtle" aspect yet, but I will >have a closer look. I've been toying with the idea of simulating a >typical Science Museum Foucault Pendulum, where a beautiful pattern is >traced in the sand by the pendulum. I would like to generate those >patterns by running the equation of motion of the Foucault Pendulum. I >think this is not going to be easy because if I recall correctly, this >is a non-linear differential equation. But, I'm ignorant enough to >proceed anyway. Roger, There is a real catch in solving the Foucault Pendulum problem. The equations of motion have no closed form solution. (Although there are approximate solutions for small amplitude and for small angular velocity.) But if you employ the method illustrated in the Turtle Graphics Demo you don't need the solution, you effectively solve the equations of motion with a very simple algorithm: repeat xNew = xOld + velocityOld*t velocityNew = velocityOld + acceleration*t (put the new x into the old x and draw the line) (put the new velocity into the old velocity) end repeat where t is some fixed small time increment, and the acceleration is a known function. If for simplicity you take t = 1 (sec), the TG code for *any* problem in dynamics is: Repeat forever --Or until you lose patience IncrementXY vx, vy add accx() to vx add accy() to vy end repeat The line "IncrementXY vx,vy" increments the x and y coordinates of the path by vx and vy, and simultaneously draws the line. It doesn't get much simpler. This becomes a template for solving *all* such problems in dynamics. You just have to write different acceleration functions depending on the physical circumstances. You can see why I am promoting Transcript/TG as a mean of teaching programing to high school science students. This algorithm is in effect the solution to the differential equation of motion by the method of finite differences, but I wouldn't tell anybody--they will shun you. May I suggest the two dimensional harmonic oscillator rather than the Foucault Pendulum. You get beautiful Lissajou figures (prettier than the Foucault path) which are open or closed depending on the ratio of the x and y spring constants. This is a very rich problem for exploration. Good luck. You look like you are having fun. Jim From curry at kagi.com Sun Feb 2 07:18:01 2003 From: curry at kagi.com (Curry) Date: Sun Feb 2 07:18:01 2003 Subject: Printing Docs In-Reply-To: <200301310633.BAA18130@www.runrev.com> References: <200301310633.BAA18130@www.runrev.com> Message-ID: Since other people mentioned printing... One time I tried printing from Rev and it left the printer unusable! Had to press the Reset to Factory Defaults button in the printer setup to use the printer again. :-) It was a complex card with a lot of stuff on it--a calendar. Haven't had time to try printing anything simple yet. Curry From wortboiler at comcast.net Sun Feb 2 09:03:00 2003 From: wortboiler at comcast.net (wortboiler FITZ) Date: Sun Feb 2 09:03:00 2003 Subject: Phone Dialer Message-ID: <99c259ca86.9ca8699c25@icomcast.net> I take it that simply dialing a phone number with RR isn't as simple as in HC, where one could simply type into the message box"dial #######". I have nearly finished a stack that requires the program to to alert me when a condition is met. I had not even checked on dialing, (as I was evidently a little spoiled with the ease of HC) and therefore am caught short again.. All I can see in the docs are related to actual communications with servers and covers more technical information than I need to know at this time(I hope). My aspirations do not rise to that level as of yet, as I would simply like my phone to ring a few times and hang up, alerting me to get to a computer and check the website. Thanks in advance, mike From gary.rathbone at btclick.com Sun Feb 2 10:12:00 2003 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Sun Feb 2 10:12:00 2003 Subject: Phone Dialer In-Reply-To: <99c259ca86.9ca8699c25@icomcast.net> Message-ID: <000001c2cacc$c9854a10$0e00000a@server> Looking in the archives I found the following... -------------------------------------------------- > How can I make Revolution dial?, I mean make a phone call!!! if you have the phone number stored in a variable, (let's get radical and call this variable lPhoneNumber), then you can call it in a handler with the following: open file "modem:" --open modem port write "ATS0=0S7=1D" & lPhoneNumber & cr to file "modem:" close file "modem:" --close it so you don't wonder why you can't use the modem in another app. -------------------------------------------------- Hope this helps. Regards Gary Rathbone > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > wortboiler FITZ > Sent: 02 February 2003 13:57 > To: Revolution List > Subject: Phone Dialer > > > I take it that simply dialing a phone number with RR isn't as simple > as in HC, where one could simply type into the message box"dial > #######". > I have nearly finished a stack that requires the program to to alert > me when a condition is met. I had not even checked on dialing, (as I > was evidently a little spoiled with the ease of HC) and therefore am > caught short again.. > All I can see in the docs are related to actual communications with > servers and covers more technical information than I need to know at > this time(I hope). > My aspirations do not rise to that level as of yet, as I > would simply > like my phone to ring a few times and hang up, alerting me to > get to a > computer and check the website. > Thanks in advance, > mike > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From MFitz53 at cs.com Sun Feb 2 10:31:01 2003 From: MFitz53 at cs.com (MFitz53 at cs.com) Date: Sun Feb 2 10:31:01 2003 Subject: Phone dialer Message-ID: <145.96186a9.2b6e92b1@cs.com> Spoiled by the ease of dialing a telephone number in HC, I have been caught up short in finishing a stack that requires RR to dial my telephone number and hang up after a few seconds. In HC, all one has to do is type"dial #######" into the message box or script it in a handler. I see nothing like that in RR. The docs have information concerning connections and data transfer to/from servers and some commands concerning COM ports. I'm hoping it will not be necessary to learn all of this before I can ring a telephone. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wortboiler at comcast.net Sun Feb 2 10:50:01 2003 From: wortboiler at comcast.net (wortboiler FITZ) Date: Sun Feb 2 10:50:01 2003 Subject: Phone Dialer Message-ID: <97f719534b.9534b97f71@icomcast.net> Thank you. I'll try it today. ----- Original Message ----- From: Gary Rathbone Date: Sunday, February 2, 2003 10:07 am Subject: RE: Phone Dialer > Looking in the archives I found the following... > -------------------------------------------------- > > How can I make Revolution dial?, I mean make a phone call!!! > > if you have the phone number stored in a variable, (let's get > radical and > call this variable lPhoneNumber), then you can call it in a > handler with the > following: > > open file "modem:" --open modem port > write "ATS0=0S7=1D" & lPhoneNumber & cr to file "modem:" > close file "modem:" --close it so you don't wonder why you > can't use > the modem in another app. > -------------------------------------------------- > > Hope this helps. > > Regards > > Gary Rathbone > > > > -----Original Message----- > > From: use-revolution-admin at lists.runrev.com > > [use-revolution-admin at lists.runrev.com] On Behalf Of > > wortboiler FITZ > > Sent: 02 February 2003 13:57 > > To: Revolution List > > Subject: Phone Dialer > > > > > > I take it that simply dialing a phone number with RR isn't as > simple > > as in HC, where one could simply type into the message box"dial > > #######". > > I have nearly finished a stack that requires the program to to > alert > > me when a condition is met. I had not even checked on dialing, > (as I > > was evidently a little spoiled with the ease of HC) and > therefore am > > caught short again.. > > All I can see in the docs are related to actual communications > with > > servers and covers more technical information than I need to > know at > > this time(I hope). > > My aspirations do not rise to that level as of yet, as I > > would simply > > like my phone to ring a few times and hang up, alerting me to > > get to a > > computer and check the website. > > Thanks in advance, > > mike > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > " target="l">http://lists.runrev.com/mailman/listinfo/use-> > revolution> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From eudio at chabashira.co.jp Sun Feb 2 11:08:01 2003 From: eudio at chabashira.co.jp (UDI) Date: Sun Feb 2 11:08:01 2003 Subject: Import MIDI file as movie Message-ID: <20030202160328.29396@mail.chabashira.co.jp> I want to import a MIDI file to a stack file. And I intend to play it by a Play command. -e.g. play vc "myMusic.mid" -- is not file path It is successful. But there is a case to fail in. ( A text appears in a stack window ) Revolution seems to recognize it to be a TEXT file. Is not there a good method to tell Revolution that the data are MIDI? UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From mrtea at mac.com Sun Feb 2 11:08:11 2003 From: mrtea at mac.com (Mr Tea) Date: Sun Feb 2 11:08:11 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: Message-ID: This from Curry - dated 02-02-03 11.36 am: > Well, I think it's a nice treat Rev gave us... Thanks for the review, Curry. For we folks who 'don't consider [ourselves] on the cutting edge', that gave a real flavour of what to expect in the new version. Cheers Mr Tea From gizmotron at earthlink.net Sun Feb 2 11:14:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun Feb 2 11:14:00 2003 Subject: Cost to update Rev 2.0 to Rev 2.5 Message-ID: Hi, [in-digest-mode] I was wondering if anyone knew about the cost to upgrade if you have the aprox $999.00 pro licensed version of the current Rev development app. I searched their website for the upgrade policy and could not find information on future upgrades or time limits for free upgrades when you purchase Revolution. To be specific I've been talking with people that are developing future XML capabilities for Revolution that might get added to Rev 2.5 but not be available in Rev 2.0. So if I purchase the full priced Rev 2.0, aprox $999, what will be the costs when new versions of Revolution come out for those that have a pro license? Does everyone have to pay the full price each time a new version of Revolution comes out. I know that if you purchase the current version you will get a free version of Rev 2.0 when it is finally released. Thanks, Mark Brownell From bvg at mac.com Sun Feb 2 11:26:01 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun Feb 2 11:26:01 2003 Subject: Cost to update Rev 2.0 to Rev 2.5 In-Reply-To: Message-ID: <69AE6DC8-36CA-11D7-A133-003065AD94A4@mac.com> You get a YEAR of free upgrade so if you get 2.5 depends on the time it comes out, and the time you bought your update. Anyone who bought a license since November 2001 gets the Update to 2.0. This is a special rule, due to the fact that it ships later then anounced. You can buy a renewal license after your Year runs out (the renewal is cheaper then the new license). view also : http://runrev.com/revolution/info/moreinformation/faq.html and http://secure.runrev.com/cgi-bin/miva?Merchant2/ merchant.mv+Screen=CTGY&Store_Code=RROS&Category_Code=sbe On Sonntag, Feb 2, 2003, at 17:12 Europe/Zurich, Mark Brownell wrote: > Hi, > > [in-digest-mode] > > I was wondering if anyone knew about the cost to upgrade if you have > the > aprox $999.00 pro licensed version of the current Rev development app. > I > searched their website for the upgrade policy and could not find > information > on future upgrades or time limits for free upgrades when you purchase > Revolution. > > To be specific I've been talking with people that are developing > future XML > capabilities for Revolution that might get added to Rev 2.5 but not be > available in Rev 2.0. So if I purchase the full priced Rev 2.0, aprox > $999, > what will be the costs when new versions of Revolution come out for > those > that have a pro license? Does everyone have to pay the full price each > time > a new version of Revolution comes out. I know that if you purchase the > current version you will get a free version of Rev 2.0 when it is > finally > released. > > Thanks, > Mark Brownell > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kkaufman at snet.net Sun Feb 2 12:31:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun Feb 2 12:31:01 2003 Subject: Import MIDI file as movie Message-ID: <7F5BFF80-36D3-11D7-A42F-0003936D1F12@snet.net> UDI, Generally, MIDI files have as their first four characters of their header: MThd Perhaps a mechanism could be set up to assure that MIDI files are treated appropriately if they begin that way. Or do I misunderstand the problem? -Kurt From terry at discovery.nl Sun Feb 2 13:38:01 2003 From: terry at discovery.nl (Terry Vogelaar) Date: Sun Feb 2 13:38:01 2003 Subject: Cost to update Rev 2.0 to Rev 2.5 In-Reply-To: Message-ID: Mark Brownell heeft op zondag, 2 feb 2003 om 17:12 het volgende geschreven: > I was wondering if anyone knew about the cost to upgrade if you have > the > aprox $999.00 pro licensed version of the current Rev development app. > I > searched their website for the upgrade policy and could not find > information > on future upgrades or time limits for free upgrades when you purchase > Revolution. Upgrading costs $299 at the moment. You can find that information on their website at the online store under Professional User License. Terry From eudio at chabashira.co.jp Sun Feb 2 13:41:00 2003 From: eudio at chabashira.co.jp (UDI) Date: Sun Feb 2 13:41:00 2003 Subject: Import MIDI file as movie In-Reply-To: <7F5BFF80-36D3-11D7-A42F-0003936D1F12@snet.net> References: <7F5BFF80-36D3-11D7-A42F-0003936D1F12@snet.net> Message-ID: <20030202183622.2898@mail.chabashira.co.jp> Thanks to Mr.Kurt Kaufman. QT can naturally handle a MIDI file as a movie. Therefore I imported a MIDI file in stack. (So the data became a VideoClip) This file are right MIDI file. I can play it by 'Play vc ' But Revolution does not consider an imported thing to be MIDI. I can NOT play it by 'Play vc ' ( This trial is sometimes successful. But it failed in sometimes ) Will not there be a method to import a MIDI file in stack rightly? UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From rogerguay at centurytel.net Sun Feb 2 14:10:00 2003 From: rogerguay at centurytel.net (Roger Guay) Date: Sun Feb 2 14:10:00 2003 Subject: Line Tracing In-Reply-To: <200302021701.MAA04447@www.runrev.com> Message-ID: <59188D52-36E1-11D7-8487-000393A1CAAA@centurytel.net> Thank you very much for your helpful suggestions, Jim. I going to start by getting an understanding of TurtleGraphics and your TurtleGraphicDemo . . . right now! > Roger, > > There is a real catch in solving the Foucault Pendulum problem. The > equations of motion have no closed form solution. (Although there are > approximate solutions for small amplitude and for small angular > velocity.) But if you employ the method illustrated in the Turtle > Graphics Demo you don't need the solution, you effectively solve the > equations of motion with a very simple algorithm: > > repeat > xNew = xOld + velocityOld*t > velocityNew = velocityOld + acceleration*t > (put the new x into the old x and draw the line) > (put the new velocity into the old velocity) > end repeat > > where t is some fixed small time increment, and the acceleration is a > known function. > > If for simplicity you take t = 1 (sec), the TG code for *any* problem > in dynamics is: > > Repeat forever --Or until you lose patience > IncrementXY vx, vy > add accx() to vx > add accy() to vy > end repeat > > The line "IncrementXY vx,vy" increments the x and y coordinates of > the path by vx and vy, and simultaneously draws the line. > > It doesn't get much simpler. This becomes a template for solving > *all* such problems in dynamics. You just have to write different > acceleration functions depending on the physical circumstances. You > can see why I am promoting Transcript/TG as a mean of teaching > programing to high school science students. > > This algorithm is in effect the solution to the differential equation > of motion by the method of finite differences, but I wouldn't tell > anybody--they will shun you. > > May I suggest the two dimensional harmonic oscillator rather than the > Foucault Pendulum. You get beautiful Lissajou figures (prettier than > the Foucault path) which are open or closed depending on the ratio > of the x and y spring constants. This is a very rich problem for > exploration. > > Good luck. You look like you are having fun. > > Jim I am indeed having fun . . . combining two loves; RR scripting and Physics. Cheers, Roger From bornstein at designeq.com Sun Feb 2 16:08:18 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Sun Feb 2 16:08:18 2003 Subject: Cut,Copy,Paste menus Message-ID: <200302022103.h12L3xOU013366@ms-smtp-01.nyroc.rr.com> >Currently, I enable 'copy' when the menubar group gets a mousedown message, >just as you suggested. eg On mousedown and text is selected, then enable >'copy'. This works fine since it is 'just in time'. However, let's say I >open a fld, then select some text. The 'copy' menu should now be enabled, >but since I have not clicked in the menubar, the 'copy' menu is still in its >default state of disabled. Thus when the cmdkey is sent to the menubar, >nothing happens. Why not just handle the command keys directly? on commandkeydown keyname if the selection is not empty then switch keyname case "c" copy break case "x" cut break case "v" paste break end switch end if pass commandkeydown end commandkeydown Then you don't have to worry about the state of the menu. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From rbarber at yhb.att.ne.jp Sun Feb 2 17:13:01 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Sun Feb 2 17:13:01 2003 Subject: Cut,Copy,Paste menus In-Reply-To: <200302022103.h12L3xOU013366@ms-smtp-01.nyroc.rr.com> Message-ID: Hi Howard, This is a good coding solution that would probably address any problem I'm having with the key itself initiating the actions. However,I think it would not be the best solution as far as interface is concerned. eg When the user clicks in the menu and the cursor is not in a fld, the ccp menus should not be enabled. Or, are you saying separated the 2, cosmetically enabling/disabling the menus and actully doing the ccp another way? Thanks Ron >> Currently, I enable 'copy' when the menubar group gets a mousedown message, >> just as you suggested. eg On mousedown and text is selected, then enable >> 'copy'. This works fine since it is 'just in time'. However, let's say I >> open a fld, then select some text. The 'copy' menu should now be enabled, >> but since I have not clicked in the menubar, the 'copy' menu is still in its >> default state of disabled. Thus when the cmdkey is sent to the menubar, >> nothing happens. > > > Why not just handle the command keys directly? > > on commandkeydown keyname > if the selection is not empty then > switch keyname > case "c" > copy > break > > case "x" > cut > break > > case "v" > paste > break > end switch > end if > pass commandkeydown > end commandkeydown > > Then you don't have to worry about the state of the menu. From RGould8 at aol.com Sun Feb 2 19:50:01 2003 From: RGould8 at aol.com (RGould8 at aol.com) Date: Sun Feb 2 19:50:01 2003 Subject: OS 10.1 replacement for the "killall" command? Message-ID: <143.96777e7.2b6f15b3@aol.com> I have a Revolution app that makes a call to Unix in Mac OS 10.2 to do a "killall ". Is there a Mac OS 10.1 equivilant? I was thinking it might be some combo of doing a "ps" to find the process id, and then the "kill" statement to kill it off, but I haven't had success with the ps command (I only get 1 process listed, even if I see 20 processes listed in the OS X "Process Viewer" utility.) -------------- next part -------------- An HTML attachment was scrubbed... URL: From xslaugh at hotmail.com Sun Feb 2 20:28:01 2003 From: xslaugh at hotmail.com (Scott Slaugh) Date: Sun Feb 2 20:28:01 2003 Subject: Flash command Message-ID: Underneath this message is a script I have developed that creates something that looks a lot like the flash command from HyperCard. It is designed to go into two buttons in order to stay within the 10 line script limit. If you want, you can combine the script into one item. When I wrote this, my two buttons were named flash 1 and flash 2. If you name your buttons something different, then you will need to modify the last line of the script for button 1 so that it will work by changing the name of the button to the name of the button you placed the script in. The constant flashticks in the second button script specifies how long the computer waits between each flash. It is measured in ticks. If you want me to combine this into one script for you, email me. Also email me if you have any problems. Enjoy! Scott Slaugh --Button 1 script on mouseUp global flashnumber ask "How many flashes?" put it into flashnumber if (flashnumber is empty) or (flashnumber is not an integer) or (flashnumber contains "-") then put 5 into flashnumber set the shownamme of the templatebutton to false set the showborder of the templatebutton to false set the rect of the templatebutton to the screenrect set the backcolor of the templatebutton to black create button "flashscreen" send flashscreen to btn "flash 2" end mouseUp --Button 2 Script on flashscreen global flashnumber constant flashticks=5 put the backcolor of this cd into oldbackcolor set the backcolor of this cd to white set the layer of btn "flashscreen" to top repeat flashnumber times if the opaque of btn "flashscreen" is true then set the opaque of btn "flashscreen" to false else -- set the backcolor of btn "flashscreen" to black set the opaque of btn "flashscreen" to true end if wait flashticks ticks end repeat set the backcolor of this cd to oldbackcolor delete btn "flashscreen" choose browse tool end flashscreen _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From kkaufman at snet.net Sun Feb 2 20:31:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun Feb 2 20:31:01 2003 Subject: Import MIDI file as movie Message-ID: <911E7188-3716-11D7-BA83-0003936D1F12@snet.net> UDI writes: "...Will not there be a method to import a MIDI file in stack rightly?" Most applications that play MIDI files on Mac OS & OS X do so via Quicktime, which has built-in (Roland) synthesizers. On Windows, I understand that the Windows Media Player is accessed. When working with MIDI within Revolution, you use the Quicktime player if you would like to be able to specify instrument, tempo, meter, etc. I don't know of another way to access a suitable synthesizer. Were you thinking of piping MIDI data to an external tone generator through a USB port? One problem that is bypassed in using Quicktime to deal with MIDI files: MIDI files often seem to have proprietary data that is specific to a certain hardware configuration or software application; Quicktime "knows" when and how to ignore such data. But UDI, you are the one who wrote the stack "makeSMF"; surely you know all of this, so I may be misunderstanding you? -Kurt From kray at sonsothunder.com Sun Feb 2 21:26:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sun Feb 2 21:26:01 2003 Subject: OS 10.1 replacement for the "killall" command? References: <143.96777e7.2b6f15b3@aol.com> Message-ID: <004e01c2cb2b$581e05b0$6601a8c0@mckinley.dom> Here's what I've done: You can get a list of the processes in long form using "ps -axw -o pid,command", which will give you a list of file paths for each file along with its process ID. You can then kill it using "kill -9". Here's the functions I use: function GetPID pAppName -- Note: Requires applications to be within the first 132 characters of the path name if char -4 to -1 of pAppName <> ".app" then put ".app" after pAppName -- just in case end if put shell("ps -axw -o pid,command") into tProcList put lineOffset("/" & pAppName & "/",tProcList) into tLine if tLine <> 0 then return (word 1 of line tLine of tProcList) else return 0 end if end GetPID on KillProcess pPID if pPID <> 0 then get shell("kill -9 " & pPID) else return "Process not found." end if end KillProcess And then I call it like this: on mouseUp KillProcess (GetPID("MyApp.app")) if the result <> "" then answer "Error: " & the result else -- rest of my code here end if end mouseUp Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: To: Sent: Sunday, February 02, 2003 6:45 PM Subject: OS 10.1 replacement for the "killall" command? > I have a Revolution app that makes a call to Unix in Mac OS 10.2 to do a > "killall ". Is there a Mac OS 10.1 equivilant? I was > thinking it might be some combo of doing a "ps" to find the process id, and > then the "kill" statement to kill it off, but I haven't had success with the > ps command (I only get 1 process listed, even if I see 20 processes listed in > the OS X "Process Viewer" utility.) > From xslaugh at hotmail.com Sun Feb 2 21:29:01 2003 From: xslaugh at hotmail.com (Scott Slaugh) Date: Sun Feb 2 21:29:01 2003 Subject: Flash command correction Message-ID: I just noticed that the part where I set the showname property to false is spelled wrong. So to fix it, go to line 7 of the script of button 1 and change the spelling of shownamme to showname. That makes the script for button 1 look like the script below. Scott Slaugh --Button 1 script on mouseUp global flashnumber ask "How many flashes?" put it into flashnumber if (flashnumber is empty) or (flashnumber is not an integer) or (flashnumber contains "-") then put 5 into flashnumber set the showname of the templatebutton to false set the showborder of the templatebutton to false set the rect of the templatebutton to the screenrect set the backcolor of the templatebutton to black create button "flashscreen" send flashscreen to btn "flash 2" end mouseUp _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From bornstein at designeq.com Sun Feb 2 21:59:01 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Sun Feb 2 21:59:01 2003 Subject: Cut,Copy,Paste menus Message-ID: <200302030254.h132sfOU027451@ms-smtp-01.nyroc.rr.com> >Or, are you saying separated the 2, cosmetically >enabling/disabling the menus and actully doing the ccp another way? Yes, why not (admittedly I didn't spend a lot of time with your previous emails. I just responded to your last one). Because you have a fairly complex set of circumstances regarding when to enable or disable the menus, just do that independently from the command-key stuff (otherwise it gets *really* complicated, as you saw). If you use the command-key code separately, you handle the keyboard actions without having to worry at all about the menu status. If your users do use the menus, you're already taking care of that. It seems to me they function well together and eliminate a complex programming problem. Again, I haven't followed your discussion in detail so there may be some downside I'm not considering. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From jacque at hyperactivesw.com Sun Feb 2 22:21:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun Feb 2 22:21:01 2003 Subject: Line tracing References: <200302020856.DAA23502@www.runrev.com> Message-ID: <3E3DDF12.70307@hyperactivesw.com> Richard Gaskin wrote: > > on open theList > tell application "Finder" > set selectionLength to number of items of selection > if selectionLength = 0 then > say "Nothing is [[emph +]] selected." > else > -- first change all the files selected > set the creator type of every file of selection to "Revo" > set the file type of every file of selection to "RSTK" > end if > end tell > end open > > > While this works great in OS 9 it fails in OS X, providing the "Nothing is > selected" feedback. I avoid the whole selection thing and use the following, which works okay in both OS 9 and OS X: on open theFiles tell application "Finder" repeat with x in theFiles set the creator type of x to "Revo" set the file type of x to "RSTK" end repeat end tell end open -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From eudio at chabashira.co.jp Mon Feb 3 00:11:00 2003 From: eudio at chabashira.co.jp (UDI) Date: Mon Feb 3 00:11:00 2003 Subject: Import MIDI file as movie In-Reply-To: <911E7188-3716-11D7-BA83-0003936D1F12@snet.net> References: <911E7188-3716-11D7-BA83-0003936D1F12@snet.net> Message-ID: <20030203050639.29354@mail.chabashira.co.jp> Mr.Kurt Kaufman wrote 03.2.2 08:26 PM? >But UDI, you are the one who wrote the stack "makeSMF"; surely you know >all of this, so I may be misunderstanding you? Yes, I written 'makeSMF'. I know about QuickTime & MIDI. But now, I want to IMPORT some midi files in stack -as VideoClip objects-. For example, I may use it as BGM or effect sounds in a picture book. Generaly, let data files attach to the application. But it is an ideal that make as a single application file. So I tried this: answer file "Choose MIDI file" if ( it is empty ) then exit mouseUp import videoClip from file it OK, It was surely imported. MIDI data is in stack file. play vc 1 Oh, this fails sometimes... ----- I know other solutions to make an application of a single file. I can put midi data into custom property. Then export it in a file when stack running, and play it. This method is the best? UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From wmb at internettrainer.com Mon Feb 3 04:10:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Feb 3 04:10:01 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: Message-ID: On Sonntag, Februar 2, 2003, at 09:47 Uhr, Yves COPPE wrote: >> However, with this 2.0 pre-beta my personal opinion is that there is >> so much bugs and unfinished features that's is not possible for me to >> do any meaningful testing. I'm not really a cutting edge user, so >> hopefully others have ways of testing the IDE (like from the Message >> window)? >> > > > > I too am very disapointed with this pre-Beta : > too much messages : not yet implemented or bugs. Why? on the contrary!! Its the first release, which shows a *real* improvement of the GUI That must be the way where rev has to go... if you are looking for the classical stable scripting product - its here: called MC! IMHO: We need this different UI as a perfect companion to MC... Its the first time, since about a year, that I have the feeling that rev is now going in the right direction... The stability should come with the time... a better UI not!!! regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From wmb at internettrainer.com Mon Feb 3 04:37:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Feb 3 04:37:00 2003 Subject: who knows BlueShiftSoftware? In-Reply-To: <200302022103.h12L3xOU013366@ms-smtp-01.nyroc.rr.com> Message-ID: <65C62194-375A-11D7-A02D-003065430226@internettrainer.com> Who knows BlueShiftSoftware or Sue Frost Thats a SC developer company... A friend of mine uses a tool called "REKALL" and he wants to update sometime to OSX, but its OS9.x only (made with SC) The latest info from them about half a year ago was that they are going RB or rev. It is a tool for ophthalmologists with a framegrabber card and camera with a database connection to store the eyes pictures. He says that it is a great tool and he does not want to change to another one. But if later on newer Macs will not boot on OS9 and without any actual driver support for the framegrabber card and the camera the life of this tool will end sometime... Maybe (blueshift) Sue Frost is readings this list, than pls drop me a note... Thanks in advance for any other ideas or infos... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From miscdas at boxfrog.com Mon Feb 3 05:33:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Mon Feb 3 05:33:01 2003 Subject: who knows BlueShiftSoftware? In-Reply-To: <65C62194-375A-11D7-A02D-003065430226@internettrainer.com> References: <65C62194-375A-11D7-A02D-003065430226@internettrainer.com> Message-ID: <20030203102921.78637.qmail@www.boxfrog.com> Wolfgang M. Bereuter writes: [snip] > Who knows BlueShiftSoftware or Sue Frost > Thats a SC developer company... Wolfgang M. Bereuter > Maybe this will help you http://www.blueshiftsoftware.com info at blueshiftsoftware.com 719 Hasting St Vancouver, BC 604-893-7004 miscdas From showard at marincatholic.org Mon Feb 3 06:51:12 2003 From: showard at marincatholic.org (Sandra Howard) Date: Mon Feb 3 06:51:12 2003 Subject: recording sound on a mac Message-ID: *This message was transferred with a trial version of CommuniGate(tm) Pro* Hello, I'm trying to find an easy way to record myself on my mac & in using google, your name came up. I want to record my voice, save the recording on my desktop in a wav or mp3 format. Because I then want to add it to an exercise I'm making for my French students. what software should I use on my mac? My laptaop is OS 9.2, my emac at home is OSX. Thanks so much for your help. Sandra Howard Marin Catholic HS 675 Sir Francis Drake Blvd Kentfield CA 94904 showard at marincatholic.org khoward50 at attbi.com http://www.marincatholic.org/French/frenchmain.html From sschofield at computing.dundee.ac.uk Mon Feb 3 06:58:00 2003 From: sschofield at computing.dundee.ac.uk (sschofield) Date: Mon Feb 3 06:58:00 2003 Subject: jdbc Message-ID: <31C6D68FA597D411B04D00E02965883B010BACD0@mailhost> Anyone know anything about connecting using JDBC? Is it possible with Revolution? Do you have to convert it to ODBC? If yes, anyone succeeded? Cheers Susie From martin at harbourtown.co.uk Mon Feb 3 07:25:07 2003 From: martin at harbourtown.co.uk (Martin Baxter) Date: Mon Feb 3 07:25:07 2003 Subject: [ANN] Pantone to RGB In-Reply-To: <200302011704.MAA09982@www.runrev.com> Message-ID: That's nice, thanks very much! martin >From: Roger.E.Eller at sealedair.com >Announcing "Pantone to RGB". This stack has been posted to User >Contributions. It was just a little color learning exercise that my >colleague and I threw together one afternoon. We were pleased with the end >result and decided to share it with the nice people of this list. > >http://www.runrev.com/revolution/developers/developerdownloads/usercontribution >s.html > >Enjoy. > >Roger Eller and James Cass > From sschofield at computing.dundee.ac.uk Mon Feb 3 07:28:04 2003 From: sschofield at computing.dundee.ac.uk (sschofield) Date: Mon Feb 3 07:28:04 2003 Subject: VERSION 2.5 Message-ID: <31C6D68FA597D411B04D00E02965883B010BACD2@mailhost> WITH QUERIES ABOUT VERSION 2.5, DID I MISS VERSIO 2.0'S RELEASE? SUSIE From janschenkel at yahoo.com Mon Feb 3 07:36:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Feb 3 07:36:01 2003 Subject: jdbc In-Reply-To: <31C6D68FA597D411B04D00E02965883B010BACD0@mailhost> Message-ID: <20030203123130.51569.qmail@web11901.mail.yahoo.com> --- sschofield wrote: > Anyone know anything about connecting using JDBC? Is > it possible with > Revolution? Do you have to convert it to ODBC? If > yes, anyone succeeded? > > Cheers > > Susie Hi Susie, Revolution supports ODBC (and iODBC on Un*x machines) but not JDBC -- it's not Java. Furthermore, there's direct support for - Valentina (MacOS / Windows) - Oracle (pro-license only) - MySQL (pro-license only) - PostgreSQL (in version 2.0) Hope this answered your question, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From janschenkel at yahoo.com Mon Feb 3 07:39:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Feb 3 07:39:01 2003 Subject: VERSION 2.5 In-Reply-To: <31C6D68FA597D411B04D00E02965883B010BACD2@mailhost> Message-ID: <20030203123422.68641.qmail@web11903.mail.yahoo.com> --- sschofield wrote: > WITH QUERIES ABOUT VERSION 2.5, DID I MISS VERSIO > 2.0'S RELEASE? > > SUSIE Hi Susie, Don't worry, you didn't miss a release. RunRev 2.0 has a public pre-beta, but isn't final. The question regarding 2.5 had to do with upgrade prices from 2.0 at some point in the future. Hope this answered your question, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From sschofield at computing.dundee.ac.uk Mon Feb 3 07:42:00 2003 From: sschofield at computing.dundee.ac.uk (sschofield) Date: Mon Feb 3 07:42:00 2003 Subject: jdbc Message-ID: <31C6D68FA597D411B04D00E02965883B010BACD4@mailhost> Thanks Jan, this is what I thought would be the case. Openbase assures me I can convert JDBC to ODBC at which point I can frontend with Revolution. Hmmm, still working on it! -----Original Message----- From: Jan Schenkel [mailto:janschenkel at yahoo.com] Sent: 03 February 2003 12:32 To: use-revolution at lists.runrev.com Subject: Re: jdbc --- sschofield wrote: > Anyone know anything about connecting using JDBC? Is > it possible with > Revolution? Do you have to convert it to ODBC? If > yes, anyone succeeded? > > Cheers > > Susie Hi Susie, Revolution supports ODBC (and iODBC on Un*x machines) but not JDBC -- it's not Java. Furthermore, there's direct support for - Valentina (MacOS / Windows) - Oracle (pro-license only) - MySQL (pro-license only) - PostgreSQL (in version 2.0) Hope this answered your question, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From sschofield at computing.dundee.ac.uk Mon Feb 3 07:44:00 2003 From: sschofield at computing.dundee.ac.uk (sschofield) Date: Mon Feb 3 07:44:00 2003 Subject: VERSION 2.5 Message-ID: <31C6D68FA597D411B04D00E02965883B010BACD5@mailhost> Thanks again jan. I have a boss breathing down my neck re version 2... -----Original Message----- From: Jan Schenkel [mailto:janschenkel at yahoo.com] Sent: 03 February 2003 12:34 To: use-revolution at lists.runrev.com Subject: Re: VERSION 2.5 --- sschofield wrote: > WITH QUERIES ABOUT VERSION 2.5, DID I MISS VERSIO > 2.0'S RELEASE? > > SUSIE Hi Susie, Don't worry, you didn't miss a release. RunRev 2.0 has a public pre-beta, but isn't final. The question regarding 2.5 had to do with upgrade prices from 2.0 at some point in the future. Hope this answered your question, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From BM at dataflight.dk Mon Feb 3 07:44:09 2003 From: BM at dataflight.dk (Bisser Milanov) Date: Mon Feb 3 07:44:09 2003 Subject: how to download v2.0 Message-ID: <40D144CC1099D311A0440008C74C54CF1628F9@exchange.dataflight.dk> I tried to download the pre beta from the link http://www.runrev.com/revolution/previews/downloads.html But the link was broken. Then I tried the FTP but there was a file revolution.exe from April 2002 only. So where do I find the download of v2.0 pre beta? Best Regards Bisser Milanov *********************************************************** DataFlight Europe as e-mail bm at dataflight.dk Tel: +45 48 16 84 71 Fax: +45 70 22 45 25 Visit www.dataflight.dk and get the latest news *********************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From kkaufman at snet.net Mon Feb 3 07:52:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon Feb 3 07:52:01 2003 Subject: Import MIDI file as movie Message-ID: Mr. UDI wrote: "... So I tried this: answer file "Choose MIDI file" if ( it is empty ) then exit mouseUp import videoClip from file it OK, It was surely imported. MIDI data is in stack file. play vc 1 Oh, this fails sometimes..." I'm surprised this ever works at all; I get a short high-pitched squeal (why ANY sound?) if I attempt to import a MIDI file as an audioClip, and a field full of characters if I import a MIDI file as a videoClip. Perhaps Kevin or Scott can enlighten me as to RR/MC's ability (?) to import MIDI files and play them outside of the Quicktime player object; I didn't know this was possible at all. If so, what kind of underlying mechanism does this use....or is Quicktime invoked "behind the scenes" anyway? -Kurt From gizmotron at earthlink.net Mon Feb 3 07:59:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Feb 3 07:59:01 2003 Subject: Cost to update Rev 2.0 to Rev 2.5 Message-ID: Date: Sun, 2 Feb 2003 19:32:57 +0100; Terry Vogelaar Wrote: >> searched their website for the upgrade policy and could not find information >> on future upgrades or time limits for free upgrades when you purchase >> Revolution. > Upgrading costs $299 at the moment. You can find that information on their > website at the online store under Professional User License. I saw that at the website. So what happens if I wait more than one year before upgrading? I'm mostly inquiring about the policy regarding the steps one must possibly maintain when it comes to availability of the upgrade license. Is it a requirement to maintain the latest upgrade each year in order to qualify for future upgrade releases of Revolution? I'm trying to determine the cost of maintaining Revolution over several years and what it costs to get new versions under different circumstances. The policy for upgrading was not clear to me at the website. Thanks, Mark From ttasovac at Princeton.EDU Mon Feb 3 08:23:01 2003 From: ttasovac at Princeton.EDU (Toma Tasovac) Date: Mon Feb 3 08:23:01 2003 Subject: pre-beta Message-ID: <14BE2524-377A-11D7-B0C6-000393D60E0C@princeton.edu> Has anybody actually managed to open a stack created in 1.1.1 with 2.0 pre-beta? Every time I try to do that I get the message: "There was a problem opening that stack: no such card." Toma From eudio at chabashira.co.jp Mon Feb 3 08:41:01 2003 From: eudio at chabashira.co.jp (UDI) Date: Mon Feb 3 08:41:01 2003 Subject: Import MIDI file as movie In-Reply-To: References: Message-ID: <20030203133646.24292@mail.chabashira.co.jp> Mr. Kurt Kaufman wrote 03.2.3 07:48 AM? > If so, what kind of >underlying mechanism does this use....or is Quicktime invoked "behind >the scenes" anyway? Because QT supports MIDI format, it naturally have this ability. But this trial may become sometimes unsuccessful. Is there somebody who knows a successful condition? UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From kevin at runrev.com Mon Feb 3 09:11:01 2003 From: kevin at runrev.com (Kevin Miller) Date: Mon Feb 3 09:11:01 2003 Subject: Cost to update Rev 2.0 to Rev 2.5 In-Reply-To: Message-ID: On 3/2/03 12:56 pm, Mark Brownell wrote: >> Upgrading costs $299 at the moment. You can find that information on their >> website at the online store under Professional User License. > > I saw that at the website. So what happens if I wait more than one year > before upgrading? I'm mostly inquiring about the policy regarding the steps > one must possibly maintain when it comes to availability of the upgrade > license. Is it a requirement to maintain the latest upgrade each year in > order to qualify for future upgrade releases of Revolution? I'm trying to > determine the cost of maintaining Revolution over several years and what it > costs to get new versions under different circumstances. The policy for > upgrading was not clear to me at the website. At present we do not have a policy that requires you to keep your license current and we do not charge a penalty to purchase a years updates more than a year after the last time. (We may of course change that policy in the future, but would as ever be unlikely to apply such a policy change to our existing users.) We do however ask everyone to keep their subscription current regardless, if they are finding that Revolution is a useful tool. Kind regards, Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Mon Feb 3 09:11:38 2003 From: kevin at runrev.com (Kevin Miller) Date: Mon Feb 3 09:11:38 2003 Subject: how to download v2.0 In-Reply-To: <40D144CC1099D311A0440008C74C54CF1628F9@exchange.dataflight.dk> Message-ID: On 3/2/03 12:40 pm, Bisser Milanov wrote: > I tried to download the pre beta from the link > > http://www.runrev.com/revolution/previews/downloads.html > > But the link was broken. Then I tried the FTP but there was a file > revolution.exe from April 2002 only. > > > > So where do I find the download of v2.0 pre beta? We haven't included ftp links yet, use http. Also, the form for 30 day trial appears to have a glitch, you need to enter an email address to pass. We'll fix both of those shortly. Kind regards, Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From jhurley at infostations.com Mon Feb 3 09:25:03 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Feb 3 09:25:03 2003 Subject: Storing images In-Reply-To: <200302030913.EAA18022@www.runrev.com> References: <200302030913.EAA18022@www.runrev.com> Message-ID: I think I recall a tip on this list some time ago on reducing file size. I have an image which is used on more than one card. Rather than import the image as a control to each card separately, is there a single place within the stack from which it might be called as reference to each card? I hope to avoid the complication that comes from calling the image as a reference from a separate file stored on disk. Thanks, Jim From malte.brill at t-online.de Mon Feb 3 09:56:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Mon Feb 3 09:56:01 2003 Subject: Storing images In-Reply-To: <200302021705.MAA04653@www.runrev.com> Message-ID: Hi Jim, you can import the image once, then create a button on each card as a placeholder for that image and set the buttons icon property to the ID of the image you have imported. Or you can create a group containing your image and set it?s backgroundBehavior to true. Hope that helps, Malte From hardt at u.arizona.edu Mon Feb 3 10:09:01 2003 From: hardt at u.arizona.edu (Oliver Hardt) Date: Mon Feb 3 10:09:01 2003 Subject: pre-beta In-Reply-To: <000901c2c22f$bf6fc5a0$50231e3e@Jez2> References: <000901c2c22f$bf6fc5a0$50231e3e@Jez2> Message-ID: hi: i am sorry to say this, but i am feeling as if i was taken for a ride here. wasn't the story in november that the reason for not releasing 2.0 as scheduled was thorough testing and what not? and now i am reading on the list that the pre(!!)-beta cannot open some stacks properly, and some stuff (apparently a lot) is not even yet implemented! that doesn't sound like a product in testing phase (thus *pre* beta). i would really encourage you guys up there in scottland to tell us what the real problem is. i cannot believe this "testing" argument any more. honestly, i don't care whether it takes another year to release the final version (because the current version is working for me) -- just put the cards on the table. best, olli. From kevin at runrev.com Mon Feb 3 10:24:01 2003 From: kevin at runrev.com (Kevin Miller) Date: Mon Feb 3 10:24:01 2003 Subject: pre-beta In-Reply-To: Message-ID: On 3/2/03 3:04 pm, Oliver Hardt wrote: > hi: i am sorry to say this, but i am feeling as if i was taken for a > ride here. wasn't the story in november that the reason for not > releasing 2.0 as scheduled was thorough testing and what not? and > now i am reading on the list that the pre(!!)-beta cannot open some > stacks properly, and some stuff (apparently a lot) is not even yet > implemented! that doesn't sound like a product in testing phase > (thus *pre* beta). > i would really encourage you guys up there in scottland to > tell us what the real problem is. i cannot believe this "testing" > argument any more. honestly, i don't care whether it takes another > year to release the final version (because the current version is > working for me) -- just put the cards on the table. We called it a pre-beta because there are still a handful of features being completed. But when you look at the entire feature set and what *is* present, you will note that just about everything *is* there now, and its a long list of new features, present and correct. The stuff that isn't included is a very short list. That long list of features has been in testing for some time, and the time it is going to take us to wrap up those features that aren't yet present is insignificant in comparison. Some of the features not present in this version simply weren't built because we are making changes to them when we did the build - they have been included in the private alpha tests we have been doing. Those changed components will be included soon. We have enough there now for it to be worth testing the overall design and stability. Kind regards, Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From BM at dataflight.dk Mon Feb 3 10:27:01 2003 From: BM at dataflight.dk (Bisser Milanov) Date: Mon Feb 3 10:27:01 2003 Subject: how to download v2.0 Message-ID: <40D144CC1099D311A0440008C74C54CF1628FA@exchange.dataflight.dk> I can't download the beta 2.0 the link below is not valid. http://www.runrev.com/revolution/downloads/distributions/2.0/revolution.exe Is there another link for download? I see that download for Mac works but for windows it doesn't. -----Original Message----- From: Kevin Miller [mailto:kevin at runrev.com] Sent: Monday, February 03, 2003 2:57 PM To: use-revolution at lists.runrev.com Subject: Re: how to download v2.0 On 3/2/03 12:40 pm, Bisser Milanov wrote: > I tried to download the pre beta from the link > > http://www.runrev.com/revolution/previews/downloads.html > > But the link was broken. Then I tried the FTP but there was a file > revolution.exe from April 2002 only. > > > > So where do I find the download of v2.0 pre beta? We haven't included ftp links yet, use http. Also, the form for 30 day trial appears to have a glitch, you need to enter an email address to pass. We'll fix both of those shortly. Kind regards, Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Mon Feb 3 10:45:04 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Feb 3 10:45:04 2003 Subject: pre-beta In-Reply-To: Message-ID: Oliver Hardt wrote: > now i am reading on the list that the pre(!!)-beta cannot open some > stacks properly, and some stuff (apparently a lot) is not even yet > implemented! that doesn't sound like a product in testing phase > (thus *pre* beta). Seems like you answered your own question. "Pre-beta" means "prior to rigorous beta testing". If you've participated in alpha and beta testing for large commercial applications, you'll note that Rev's level of functionality for pre-beta is not inconsistent with that of major publishers. And given that Rev provides much more thorough documentation than companies like Adobe and Macromedia (sorry, big guys -- I love your apps but your docs are slender), Rev seems to be a step ahead of the game. Writing a complex app that allow programmers to author a single code base for deployment on nearly all major platforms is a non-trvial task. If you need a more finished version for your evaluation, you may want to wait until Rev 2.0 hits at least beta. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From revolution at knowledgeworks.plus.com Mon Feb 3 11:09:01 2003 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Mon Feb 3 11:09:01 2003 Subject: pre-beta In-Reply-To: References: <000901c2c22f$bf6fc5a0$50231e3e@Jez2> Message-ID: <200302031608.LAA31832@www.runrev.com> I have been starting to have the same suspicion myself. It does seem a bit strange to have announced 2.0 (along with screenshots) in November. I know that I bought my license for 1.1.1 on the basis that the release of 2.0 was imminent. And a friend who I introduced to Rev has written an application that really needs some features in 2.0, and she bought the her 1.1.1 license on the basis that 2.0 was imminent. If we are talking about a pre-beta of 2.0 that is two months late (with many of the promised features not yet implemented). I do not see how it is possible to have issued a public statement in October that Rev 2.0 was "to ship in November" if by the beginning of Feb all that is available is a "pre Beta". To my mind "to ship" means "to be able to fufill orders for a product", suggesting that the beta and testing stages are over. Looks like there has been some bad marketing or some bad project management. Seems rather out of character for Runrev. Bernard > hi: i am sorry to say this, but i am feeling as if i was taken for a > ride here. wasn't the story in november that the reason for not > releasing 2.0 as scheduled was thorough testing and what not? and > now i am reading on the list that the pre(!!)-beta cannot open some > stacks properly, and some stuff (apparently a lot) is not even yet > implemented! that doesn't sound like a product in testing phase > (thus *pre* beta). > i would really encourage you guys up there in scottland to > tell us what the real problem is. i cannot believe this "testing" > argument any more. honestly, i don't care whether it takes another > year to release the final version (because the current version is > working for me) -- just put the cards on the table. > best, olli. From livfoss at blueyonder.co.uk Mon Feb 3 11:27:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Feb 3 11:27:00 2003 Subject: Distribution builder alters stack window size? Message-ID: Folks I'm making my first tentative steps towards building cross-platform apps (distributions). I am developing on a Mac (MacOS 9.2.2) and I've been careful to allow space at the top of each stack for the Windows menus, which I can show or hide using the appropriate button on the Properties Palette while doing development. When I build a Distribution for MacOSX and/or Windows, the stacks which have menus are cut off at the bottom by something like 24 pixels, and when I reopen the app in the development environment, these stacks are still cut off and have to be restored by hand. Stacks without menus, such as splash screens seem unaffected I've read as much as there is (not much, IMO) about the Distribution Builder, but I can't see what I've done wrong. Any help would be appreciated. BTW I should also say that while the whole app works fine in the development environment, parts of it are extremely slow on a (fairly slow) PC, and totally glue-like using Virtual PC on my Mac. I think these parts involve some specific types of looping within the app, but I'm not sure what approach to take to find out where the problem lies. TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From wmb at internettrainer.com Mon Feb 3 11:57:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Feb 3 11:57:01 2003 Subject: who knows BlueShiftSoftware? In-Reply-To: <20030203102921.78637.qmail@www.boxfrog.com> Message-ID: On Montag, Februar 3, 2003, at 11:29 Uhr, miscdas at boxfrog.com wrote: > Maybe this will help you > http://www.blueshiftsoftware.com > info at blueshiftsoftware.com > 719 Hasting St > Vancouver, BC > 604-893-7004 Thanks but he knows that. But did not get any answer since about half a year. It is a - one page site- at the moment without any further information. > regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From alrice at ARCplanning.com Mon Feb 3 12:05:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Feb 3 12:05:01 2003 Subject: pre-beta In-Reply-To: Message-ID: On Monday, February 3, 2003, at 08:04 AM, Oliver Hardt wrote: > > i would really encourage you guys up there in scottland to tell us > what the real problem is. i cannot believe this "testing" argument > any more. honestly, i don't care whether it takes another year to > release the final version (because the current version is working for > me) -- just put the cards on the table. It should have been called Alpha 17 instead of Pre-Beta. But think about it from their perspective at RunRev. Damned if they do, Damned if they don't. People will be complaining either way until 2.0 is actually released. Not an easy situation to be in. Personally I was just frustrated because I really wanted to do some serious testing and start learning some of the new 2.0 features, but am not able to because the IDE is still too buggy to work with. However I've only been programming RunRev for a couple of months; so I'm not the best judge of how far along it is really. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From bornstein at designeq.com Mon Feb 3 12:24:00 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Feb 3 12:24:00 2003 Subject: Distribution builder alters stack window size? Message-ID: <200302031719.h13HJdOU024776@ms-smtp-01.nyroc.rr.com> > When I build a >Distribution for MacOSX and/or Windows, the stacks which have menus >are cut off at the bottom by something like 24 pixels, and when I >reopen the app in the development environment, these stacks are still >cut off and have to be restored by hand. Stacks without menus, such >as splash screens seem unaffected > >I've read as much as there is (not much, IMO) about the Distribution >Builder, but I can't see what I've done wrong. Any help would be >appreciated. I've recently run into this same problem. The distribution builder is supposed to create systems that are platform aware. So that on a PC, the stack is enlarged to show the menus at the top of the window, but on a Mac, the same stack is shrunk to hide the menus since they appear in the menu bar. For some reason, on my last build, it didn't seem to work very well. My Windows stack had the bottom of the stack cut off (but the Mac stack was ok). So, I decided to simply control this stuff myself. It's very easy. Within the On Openstack handler: if the platform = "win32" then -- adjust the stack to the size you want for Windows set the height of this stack to [whatever you need] else -- Now handle the Mac platform set the height of this stack to [the appropriate Mac height] end if Note that in my case, I'm only developing for Mac or PC so my little check doesn't take into account the Unix platform. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From jhurley at infostations.com Mon Feb 3 13:04:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Feb 3 13:04:00 2003 Subject: Storing images In-Reply-To: <200302031702.MAA00889@www.runrev.com> References: <200302031702.MAA00889@www.runrev.com> Message-ID: >Jim Hurley wrote: >I think I recall a tip on this list some time ago on reducing file size. > >I have an image which is used on more than one card. Rather than >import the image as a control to each card separately, is there a >single place within the stack from which it might be called as >reference to each card? I hope to avoid the complication that comes >from calling the image as a reference from a separate file stored on >disk. > >Thanks, > >Jim > >--__--__-- >Malte Brill wrote: > >Hi Jim, > >you can import the image once, then create a button on each card as a >placeholder for that image and set the buttons icon property to the ID of >the image you have imported. >Or you can create a group containing your image and set it?s >backgroundBehavior to true. > >Hope that helps, > >Malte > Thanks Malte. It all comes back to me now. That is exactly what I wanted. But, as they say, I have a follow up question. I would like to use your button suggestion. (Not having a really good grasp of backgrounds, I worry about groups with background behavior attaching themselves to the next card. My apologies for not closely following the recent background thread. I am a selective learner.) I will lock the size and position of the image on the first card and, on the second card, define a button with the image as the icon. That works just fine. I find I am free to move the button/icon anywhere on the second card but not change the size. Is it possible in an openCard script to alter the size of the icon previously defined on the first card, or am I locked into the size determined by the image on the first card? Am I make myself clear? Jim From pixelbird at interisland.net Mon Feb 3 14:06:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Mon Feb 3 14:06:01 2003 Subject: Image still cut off In-Reply-To: <200302030911.EAA17893@www.runrev.com> Message-ID: Well members, This is probably the single thing that has prevented me from getting full on into RR. For many months, I go back in from time to time and try to get my full screen 800x600 pixel jpeg image to show in the dev environment with no success. I've been told the menus (which are really buttons emulating the Mac menubar in the dev environment, right?) push the image down. But I have moved it back up to where the bottom is where it belongs (when I reopen it is where I put it OK), but then the top of it disappears down about an inch from the top of the screen. With the icon bar closed, I can see the Mac desktop, but not the image. With the icon bar on, I can see about 1/4" of the desktop between it and the top of the visible image, where it's cut off. If I move the image down, the cuttoff area at the top will come into view at the cutoff line (so I know it's all there), which is, as I said, down about an inch from the top of the screen, but then, of course the bottom of the image is off screen at the bottom. I've played with the image properties, stack properties, removed the image and put it back, deleted the stack and made a new one with the image in it, tried locking it, tried all the suggestions (I think, however maybe I missed something). So far, I have _never_ been able to view the full screen image. I didn't have this problem in HC, it goes where it goes, and when I click cmd/space the menubar hides and the whole image is visible. I understand it may have something to do with Rev's Mac menu buttons, but why an inch? How come I can see the desktop but not that part of the image? All I want is for the full 800x600 image to show in its entirety. I don't mind if some dev windows cover it, like the tool palettes, as long as I can remove them and _know_ the image is actually all there. I'm going crazy here. I'm sorry, a number of people have given some instruction about this, but nothing seems to work. I really need someone to lead me step by step [ 1), 2), 3), ], I guess, because I just don't get it... Help, Ken N. From kevin at runrev.com Mon Feb 3 14:30:01 2003 From: kevin at runrev.com (Kevin Miller) Date: Mon Feb 3 14:30:01 2003 Subject: how to download v2.0 In-Reply-To: <40D144CC1099D311A0440008C74C54CF1628FA@exchange.dataflight.dk> Message-ID: On 3/2/03 3:22 pm, Bisser Milanov wrote: > I can't download the beta 2.0 the link below is not valid. > http://www.runrev.com/revolution/downloads/distributions/2.0/revolution.exe > > Is there another link for download? I see that download for Mac works but > for windows it doesn't. The build for that platform wasn't up earlier, but it is now - please try again. Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From jperryl at ecs.fullerton.edu Mon Feb 3 14:46:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon Feb 3 14:46:01 2003 Subject: Storing images In-Reply-To: Message-ID: Wow! What an inelegant "solution". Is there some technical reason it has to be that way? Even though it involved the use of the dreaded resource fork, the Hypercard way of importing such things as images, sounds and the like ONCE and then being able to intuitively (as far as addColor anything was ever intuitive) reach out and grab any of these things was nice... Thanks for the solution, though.. I had been wondering as well. Judy On Mon, 3 Feb 2003, Malte Brill wrote: > Hi Jim, > > you can import the image once, then create a button on each card as a > placeholder for that image and set the buttons icon property to the ID of > the image you have imported. > Or you can create a group containing your image and set it?s > backgroundBehavior to true. From jperryl at ecs.fullerton.edu Mon Feb 3 14:56:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon Feb 3 14:56:01 2003 Subject: pre-beta In-Reply-To: <200302031608.LAA31832@www.runrev.com> Message-ID: Are we all setting up the company for failure or something? First we have our favorite resident troll who keeps repeating the v-charge, the company gives us the pre-beta (to which we're really not entitled not having paid for one of the pro-licenses) to show the v-charge to be false, and then we all whine about how buggy/incomplete the pre-beta is. I haven't taken a look at the latest version but I was pretty happy with the alpha I saw last November or whenever it was. What, does v.1 not work? Think that Maromedia does any better? (HOW long did Mac users have to wait for an OSX/MX version?!). And, no, I have not been temporarily possessed... No need to call out the exorcists. :( Judy On Mon, 3 Feb 2003, Bernard Devlin wrote: > I have been starting to have the same suspicion myself. It does seem a bit > strange to have announced 2.0 (along with screenshots) in November. > > I know that I bought my license for 1.1.1 on the basis that the release of 2.0 > was imminent. And a friend who I introduced to Rev has written an application > that really needs some features in 2.0, and she bought the her 1.1.1 license on > the basis that 2.0 was imminent. From kray at sonsothunder.com Mon Feb 3 15:51:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Feb 3 15:51:01 2003 Subject: Storing images References: Message-ID: <013f01c2cbc5$9e51ec00$6601a8c0@mckinley.dom> Judy, In a cross-platform world, there aren't resource forks on both sides of the fence, unfortunately, so we need to make do. Now the inelegant solution is only true if you want the images *embedded* into the stacks; if you don't, you can leave them on disk and reference them as many times as you like from wherever you like. There is also something which is almost as straightforward, although it makes a copy of an image rather than referencing it, but you could do this in a pinch: put img x into img y and then to clear it out (so you don't store the "extra" data), you can do: put "" into img y Nice thing about Rev/MC - lots of different ways to get what you want... :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Judy Perry" To: Sent: Monday, February 03, 2003 1:41 PM Subject: Re: Storing images > Wow! What an inelegant "solution". Is there some technical reason it has > to be that way? Even though it involved the use of the dreaded resource > fork, the Hypercard way of importing such things as images, sounds and the > like ONCE and then being able to intuitively (as far as addColor anything > was ever intuitive) reach out and grab any of these things was nice... > > Thanks for the solution, though.. I had been wondering as well. > > Judy > > On Mon, 3 Feb 2003, Malte Brill wrote: > > > Hi Jim, > > > > you can import the image once, then create a button on each card as a > > placeholder for that image and set the buttons icon property to the ID of > > the image you have imported. > > Or you can create a group containing your image and set it?s > > backgroundBehavior to true. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alrice at ARCplanning.com Mon Feb 3 16:16:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Feb 3 16:16:01 2003 Subject: pre-beta In-Reply-To: Message-ID: <132E0F52-37BC-11D7-89C8-000393529642@ARCplanning.com> On Monday, February 3, 2003, at 12:51 PM, Judy Perry wrote: > ... and then we > all whine about how buggy/incomplete the pre-beta is. I don't want my posts to be misinterpreted: I'm not knocking RunRev. v1.1.1 is an excellent product. I'm just expressing my frustration at wanting to test-drive 2.0 but being *unable to do it* in the current state. Chomping at the bits here, that's all. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From miscdas at boxfrog.com Mon Feb 3 17:16:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Mon Feb 3 17:16:01 2003 Subject: pre-beta In-Reply-To: References: Message-ID: <20030203221212.31816.qmail@www.boxfrog.com> Judy Perry writes: [snip] > Are we all setting up the company for failure or something? "We?" "They" made the marketing announcements and promotions. > First we have our favorite resident troll... Such compliments. I hope I can meet your expectations. >we all whine about how buggy/incomplete the pre-beta is. It seems you've missed the point. > What, does v.1 not work? Think that Maromedia does any better? (HOW long > did Mac users have to wait for an OSX/MX version?!). Why compare? Why not let Revolution stand on its own merits and track record? You're really just saying "The Rev team and Revolution are no better than Macromedia and their products." > And, no, I have not been temporarily possessed... No need to call out the exorcists. More likely permanantly possessed. > :( > > Judy > > On Mon, 3 Feb 2003, Bernard Devlin wrote: > >> I have been starting to have the same suspicion myself. It does seem a bit >> strange to have announced 2.0 (along with screenshots) in November. >> ======== miscdas From erikhans08 at yahoo.com Mon Feb 3 18:08:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Feb 3 18:08:01 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: Message-ID: <20030203230341.75868.qmail@web20009.mail.yahoo.com> --- "Wolfgang M. Bereuter" wrote: > if you are looking for the classical stable > scripting product - its > here: called MC! could there be an advantage to developing an app in RR then running it in MC? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Mon Feb 3 18:27:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Feb 3 18:27:01 2003 Subject: Storing images In-Reply-To: <013f01c2cbc5$9e51ec00$6601a8c0@mckinley.dom> Message-ID: <20030203232238.65259.qmail@web20004.mail.yahoo.com> --- Ken Ray wrote: > Now the inelegant solution is > only true if you want the images *embedded* > into the stacks; if you don't, > you can leave them on disk and reference them... did anyone ever benchmark the difference btw the two approaches? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From kray at sonsothunder.com Mon Feb 3 18:27:17 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Feb 3 18:27:17 2003 Subject: Pre-Beta for 2.0 for Mac OS References: <20030203230341.75868.qmail@web20009.mail.yahoo.com> Message-ID: <016901c2cbdb$6ab61770$6601a8c0@mckinley.dom> > > if you are looking for the classical stable > > scripting product - its > > here: called MC! > > could there be an advantage to developing an app > in RR then running it in MC? Two that I can think of - one is that you may be able to develop faster in Rev because of all the help that the IDE gives you (vs. MC where a bunch of stuff needs to be done with your own tool or through the message box); the other is that you may be able to take advantage of bug fixes in the engine which haven't made their way into Rev yet. For example, suppose MC releases 2.5 at the same time as Rev 2.0. If MC finds and squashes some bugs in 2.5.1 and it takes a couple of months for RR to upgrade to the new engine, you can take advantage of the fixes in MC early. That said, you also can run into serious problems going from Rev to MC as well... if you're using add ons (like the XML external, database externals, etc.) or taking advantage of the main Rev scripting library calls (like revGoURL), you won't be able to utilize them in MC. Just my $0.02, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From erikhans08 at yahoo.com Mon Feb 3 18:34:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Feb 3 18:34:01 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: <016901c2cbdb$6ab61770$6601a8c0@mckinley.dom> Message-ID: <20030203232956.43987.qmail@web20003.mail.yahoo.com> --- Ken Ray wrote: > > > if you are looking for the classical stable > > > scripting product - its > > > here: called MC! > > > > could there be an advantage to developing an > app > > in RR then running it in MC? > > Two that I can think of - one is that you may > be able to develop faster in > Rev because of all the help that the IDE gives > you (vs. MC where a bunch of > stuff needs to be done with your own tool or > through the message box); the > other is that you may be able to take advantage > of bug fixes in the engine > which haven't made their way into Rev yet. For > example, suppose MC releases > 2.5 at the same time as Rev 2.0. If MC finds > and squashes some bugs in 2.5.1 > and it takes a couple of months for RR to > upgrade to the new engine, you can > take advantage of the fixes in MC early. > > That said, you also can run into serious > problems going from Rev to MC as > well... if you're using add ons (like the XML > external, database externals, > etc.) or taking advantage of the main Rev > scripting library calls (like > revGoURL), you won't be able to utilize them in > MC. thanks, food for thought. guess i was wondering about stability in standalones, all of the above considered. the thing is, it just FEELS better to work in RR. except that i miss the MC tool that showed all of the controls grouped by groups. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From diskot123 at juno.com Mon Feb 3 19:05:00 2003 From: diskot123 at juno.com (Tuviah M Snyder) Date: Mon Feb 3 19:05:00 2003 Subject: pre-beta Message-ID: <20030203.185835.1756.1.diskot123@juno.com> >Are we all setting up the company for failure or something? First we have >our favorite resident troll who keeps repeating the v-charge, the company >gives us the pre-beta (to which we're really not entitled not having paid >for one of the pro-licenses) to show the v-charge to be false, and then we >all whine about how buggy/incomplete the pre-beta is. Well aside from the interface, which I'm happy to see is being simplified, the engine is in good shape (I would even say it's almost post-beta:-). You all now have an opportunity to test it. I'm personally look forward to feedback on Unicode, drag&drop, those pulsating buttons you guys ask for, sheets, the new debugger, XML, the videograbber, postgresql, sound recording, windowshapes, ect. Tuviah Snyder Runtime Revolution Limited - The Solution for Software Development From scott at tactilemedia.com Mon Feb 3 19:06:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Feb 3 19:06:00 2003 Subject: Storing images In-Reply-To: <20030203232238.65259.qmail@web20004.mail.yahoo.com> Message-ID: Recently, "erik hansen" wrote: >> Now the inelegant solution is >> only true if you want the images *embedded* >> into the stacks; if you don't, >> you can leave them on disk and reference > them... > > did anyone ever benchmark the difference btw the > two approaches? There's no foolproof way to benchmark this since there are several factors that affect the speed to display an image: the size of the image/s, number of images on the current card, the speed of the host machine, available memory, etc. Generally, it will take a split second or so reference an external image, versus near-immediate display of an embedded image. Unless you're working with huge or heavily compressed images, you won't see any major difference. The benefit of referencing external files is ease of file management (you add and remove images from an external 'images' directory at will), and potentially lower memory requirements, if you reference the images only when needed. If you have 100MB worth of images, it does little good to embed all of them into your stack since your stack will require 100+MB of memory to run. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From erikhans08 at yahoo.com Mon Feb 3 19:12:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Feb 3 19:12:01 2003 Subject: MC tool showed controls grouped by groups In-Reply-To: <20030203232956.43987.qmail@web20003.mail.yahoo.com> Message-ID: <20030204000734.58135.qmail@web20008.mail.yahoo.com> > MC tool showed controls grouped by groups. ahhhhh. the little blue triangle to the right of Application Overview shows the "detailed information". you don't even have to script in a handler for the IDs as in MC. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Mon Feb 3 19:15:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Feb 3 19:15:00 2003 Subject: Storing images In-Reply-To: Message-ID: <20030204001055.6685.qmail@web20010.mail.yahoo.com> --- Scott Rossi wrote: > > The benefit of referencing external files is > ease of file management (you > add and remove images from an external 'images' > directory at will), and > potentially lower memory requirements, if you > reference the images only when needed. any benefit of importing the image files? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From scott at tactilemedia.com Mon Feb 3 20:10:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Feb 3 20:10:01 2003 Subject: Storing images In-Reply-To: <20030204001055.6685.qmail@web20010.mail.yahoo.com> Message-ID: Recently, "erik hansen" wrote: >> The benefit of referencing external files is >> ease of file management (you >> add and remove images from an external 'images' >> directory at will), and >> potentially lower memory requirements, if you >> reference the images only when needed. > > any benefit of importing the image files? Sure. If you only have a few images, or your images consist of only a few K in filesize, managing them externally is probably not worth the effort. Just use a little common sense when deciding where to place your images. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From erikhans08 at yahoo.com Mon Feb 3 20:49:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Feb 3 20:49:01 2003 Subject: Storing images In-Reply-To: Message-ID: <20030204014518.77951.qmail@web20008.mail.yahoo.com> --- Scott Rossi wrote: > Recently, "erik hansen" wrote: > > >> The benefit of referencing external files is > >> ease of file management (you > >> add and remove images from an external > 'images' > >> directory at will), and > >> potentially lower memory requirements, if > you > >> reference the images only when needed. > > > > any benefit of importing the image files? > > Sure. If you only have a few images, or your > images consist of only a few K > in filesize, managing them externally is > probably not worth the effort. > Just use a little common sense when deciding > where to place your images. thanks, my situation is somewhere in the middle, so an experiment will be in order. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From katir at hindu.org Mon Feb 3 23:32:01 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Mon Feb 3 23:32:01 2003 Subject: Unsharp Mask Filter on images? Message-ID: I know I'm probably crazy to expect Rev do just do absolutely anything we want.. But, has anyone attempted creating filters for images using the imageData... is it even possible? Only on .png files with alpha channels? In particular I would love to be able to run an unsharp mask pass over digital images that are down sized for web deployment -- amount 62, radius 1 pixel, threshold zero Presently we do this in Adobe's Image Ready and it really makes a very big difference in the quality of a picture going up for on screen viewing. Sannyasin 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 katir at hindu.org Mon Feb 3 23:50:01 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Mon Feb 3 23:50:01 2003 Subject: Storing images In-Reply-To: Message-ID: <8294A2C0-37FB-11D7-856D-003065FB9830@hindu.org> I'll chime in here for the Rev way of doing it, if you intend to use images in multiple instances and even more... if you want to use those same images at different sizes in different instances... Having used the "store image in a substack, call via button icon image ID" method... I would say, though it may seem a little like a work around that... works very well. Also I have had trouble with changing image sizes in pre-open card handlers for images that are part of a background group... but those same display problems went away when I put the image in a substack and programatically changed the size of the image that is stored in the substack, in preopen card handlers. The subsequent button instance display always works as expected., such that multiple "instances" across different cards can be of different sizes with zero additional overhead in terms of speed. If you keep the images on disk, forget it... There is one "gotcha" here though.. watching out for shifting ID's as you import new images... How would one use this? imagine full screen images that later in our presentation become small thumbnails which have all the attributes of a button... On Monday, February 3, 2003, at 03:06 PM, Scott Rossi wrote: > Recently, "erik hansen" wrote: > >>> The benefit of referencing external files is >>> ease of file management (you >>> add and remove images from an external 'images' >>> directory at will), and >>> potentially lower memory requirements, if you >>> reference the images only when needed. >> >> any benefit of importing the image files? > > Sure. If you only have a few images, or your images consist of only a > few K > in filesize, managing them externally is probably not worth the effort. > Just use a little common sense when deciding where to place your > images. > > 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 > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Tue Feb 4 00:14:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Feb 4 00:14:01 2003 Subject: Storing images In-Reply-To: <013f01c2cbc5$9e51ec00$6601a8c0@mckinley.dom> Message-ID: Ken, I understand that the resource fork thing was very MacClassic oriented. Still, one wonders why there isn't a ca 1987 elegant, modern solution in 2003. Yes, there are many different ways of doing one thing; problem is, it doesn't matter if they're all equally inelegant/non-intuitive. Maybe it's the non-assembly code programmer in me, but it's just not clear why, once you've embedded something, you have to re-embed it with each usage. This is just nuts. This results in bloatware. Sorry -- not a personal attack. Really. Judy On Mon, 3 Feb 2003, Ken Ray wrote: > Judy, > > In a cross-platform world, there aren't resource forks on both sides of the > fence, unfortunately, so we need to make do. Now the inelegant solution is > only true if you want the images *embedded* into the stacks; if you don't, > you can leave them on disk and reference them as many times as you like from > wherever you like. From jperryl at ecs.fullerton.edu Tue Feb 4 00:15:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Feb 4 00:15:01 2003 Subject: pre-beta In-Reply-To: <20030203221212.31816.qmail@www.boxfrog.com> Message-ID: Miscdas: BITE ME. Judy On Mon, 3 Feb 2003 miscdas at boxfrog.com wrote: From Esa.Kivela at ncrc.fi Tue Feb 4 01:24:01 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Tue Feb 4 01:24:01 2003 Subject: VS: pre-beta Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD62A@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Kevin Miller [mailto:kevin at runrev.com] > L?hetetty: 3. helmikuuta 2003 17:19 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: pre-beta > > We called it a pre-beta because there are still a handful of > features being > completed. But when you look at the entire feature set and what *is* > present, you will note that just about everything *is* there > now, and its a > long list of new features, present and correct. The stuff that isn't > included is a very short list. That long list of features has been in > testing for some time, > Btw, did You guys fix in RR 2.0 that printing problem wich prints many pages ie. from text field and in the pages are only few lines of text per page? EsaK From Esa.Kivela at ncrc.fi Tue Feb 4 01:29:00 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Tue Feb 4 01:29:00 2003 Subject: VS: pre-beta Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD62B@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Bernard Devlin [mailto:revolution at knowledgeworks.plus.com] > L?hetetty: 3. helmikuuta 2003 18:03 > Vastaanottaja: use-revolution > Aihe: Re: pre-beta > If we are talking about a pre-beta of 2.0 that is two months > late (with many of > the promised features not yet implemented). I do not see how > it is possible to > have issued a public statement in October that Rev 2.0 was > "to ship in November" > if by the beginning of Feb all that is available is a "pre > Beta". To my mind > "to ship" means "to be able to fufill orders for a product", > suggesting that the > beta and testing stages are over. Some idea: can RR team puts some information in to their www pages hows thet RR 2.0 proges goes? There is some "shipping soon" statement but not any info what is actually goining with RR 2.0 and when its about coming out. EsaK From Esa.Kivela at ncrc.fi Tue Feb 4 01:32:00 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Tue Feb 4 01:32:00 2003 Subject: VS: pre-beta Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD62C@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Alex Rice [mailto:alrice at ARCplanning.com] > L?hetetty: 3. helmikuuta 2003 18:58 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: pre-beta > > But think about it from their perspective at RunRev. Damned > if they do, > Damned if they don't. People will be complaining either way until 2.0 > is actually released. Not an easy situation to be in. *EsaK nods* I agree that! Thumbs up to the RR team :-) > > Personally I was just frustrated because I really wanted to do some > serious testing and start learning some of the new 2.0 > features, but am > not able to because the IDE is still too buggy to work with. However > I've only been programming RunRev for a couple of months; so I'm not > the best judge of how far along it is really. I wait it too hining little bit information what's coing on. EsaK From eudio at chabashira.co.jp Tue Feb 4 01:50:01 2003 From: eudio at chabashira.co.jp (UDI) Date: Tue Feb 4 01:50:01 2003 Subject: Import MIDI file as movie In-Reply-To: References: Message-ID: <20030204064551.9646@mail.chabashira.co.jp> -- I was not able to send an email to Mr.Kurt Kaufman. -- I write a reply here. It is not audioClip. Import it in videoClip. QT naturally recognizes data type automatically. Therefore, QT can handle MIDI data as a kind of movie data. (Perhaps QT looks at a header ('MThd') and will convert it in inside) But, from the time of QT3(or 4?), QT did not recognize MIDI data well. I tried it many times, sometimes successful, but the most were failure. I do not understand the reason... UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From curry at kagi.com Tue Feb 4 04:34:01 2003 From: curry at kagi.com (Curry) Date: Tue Feb 4 04:34:01 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: <200302032336.SAA11051@www.runrev.com> References: <200302032336.SAA11051@www.runrev.com> Message-ID: One more thing about the new property palette--maybe there should still be a menu item in the option menu, or a button, to go to the object's script. Although the script won't open in the palette, it will still make a lot of sense to go from one to the other. Best wishes, Curry From livfoss at blueyonder.co.uk Tue Feb 4 04:45:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Feb 4 04:45:01 2003 Subject: Distribution builder alters stack window size? Message-ID: On Mon, 3 Feb 2003 12:19:38 -0500 Howard Bornstein wrote: > >I've recently run into this same problem. The distribution builder is >supposed to create systems that are platform aware. So that on a PC, the >stack is enlarged to show the menus at the top of the window, but on a >Mac, the same stack is shrunk to hide the menus since they appear in the >menu bar. > >For some reason, on my last build, it didn't seem to work very well. My >Windows stack had the bottom of the stack cut off (but the Mac stack was >ok). > >So, I decided to simply control this stuff myself. It's very easy. > >Within the On Openstack handler: > >if the platform = "win32" then -- adjust the stack to the size you want >for Windows > set the height of this stack to [whatever you need] >else -- Now handle the Mac platform > set the height of this stack to [the appropriate Mac height] >end if > >Note that in my case, I'm only developing for Mac or PC so my little >check doesn't take into account the Unix platform. Thanks Howard, my requirements are the same as yours (no Unix) so I'll copy what you're doing. This does seem to be a bug - only some of my builds are affected, and I can't work out what I've changed between the ones that work and the ones that don't work... maybe it will all go away in version 2.0 but in this instance I can't wait to find out. Anyway very useful tip. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From philpez at mac.com Tue Feb 4 04:58:00 2003 From: philpez at mac.com (Philippe PEZARD) Date: Tue Feb 4 04:58:00 2003 Subject: stop the war about 2.0... Message-ID: <7B9FEA8B-3826-11D7-88FD-003065C5B02E@mac.com> the user-revolution list became a battle field ! Stop the war, please and let each of us going back to it job : - common users to learn more with 1.1 version (I'm one) - "great" users to test 2.0 version in this post alpha pre beta version :-) - and, more important, let the developpers of runrev use all their time to developp and not to debate on this forum. Why put the pression on them ? Would somebody be really happy if they release more soon than possible a "definite" public release with much bugs ? Conditions for peace are simple : - user learn to be patient - developper work well, as quickly as possible - marketing of run rev prolonge the delay for free-upgrade from 1.1 version ... no, i'm not working at UNO, but tomorrow, who know .... :-) Dr Philippe PEZARD - Cardiologie Nucl?aire - Cardiologie P?diatrique CHU Angers - France Vous ?tes int?ress?s par la recherche m?dicale ? Alors, visitez le site du CCPPRB d'Angers : http://www.ccpprb-angers.fr.st From jbradshaw at blueyonder.co.uk Tue Feb 4 05:23:00 2003 From: jbradshaw at blueyonder.co.uk (Jez) Date: Tue Feb 4 05:23:00 2003 Subject: Grid / Table control Message-ID: <00a401c2cc36$d54da110$d3841f3e@Jez2> I dont wish to join the debate about WHEN the final version 2.0 will ship, but just wish to ask : will it include a grid / table control ? This is the most useful control in data-intensive GUI applications I think. Tabbed list controls just wont suffice. NB. It's interesting to note that the much vaunted Microsoft .NET visual studio environment has a basic windows forms grid control but it's not very flexible (albeit it is extensible apparently, though God knows how), so come on Rev guys, do something well that Microsoft don't! From Esa.Kivela at ncrc.fi Tue Feb 4 06:02:01 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Tue Feb 4 06:02:01 2003 Subject: newbie:visuall effect Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD630@ktk7.ad.kuluttajatutkimuskeskus.fi> greetinsg again: Hmmm i try to do some visual effect as dissolve slow ie. to show text field. move between cards but that effect dosen't happen in RR.. Like show cd btn "this and that" wiht visual effect dissolve slow Nothing happend... Is there some default settings on in RR or something? Yours EsaK From janschenkel at yahoo.com Tue Feb 4 06:06:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 4 06:06:00 2003 Subject: newbie:visuall effect In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E02AD630@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <20030204110216.31440.qmail@web11903.mail.yahoo.com> --- Esa_Kivel? wrote: > greetinsg again: > > Hmmm i try to do some visual effect as dissolve slow > ie. to show text field. move between cards but that > effect dosen't happen in RR.. > > Like show cd btn "this and that" wiht visual effect > dissolve slow > > Nothing happend... > > Is there some default settings on in RR or > something? > > Yours > > EsaK Hi Esa, Try this: lock screen show cd btn "Foobar" unlock screen with visual effect dissolve slow Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From janschenkel at yahoo.com Tue Feb 4 06:17:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 4 06:17:01 2003 Subject: Grid / Table control In-Reply-To: <00a401c2cc36$d54da110$d3841f3e@Jez2> Message-ID: <20030204111242.56158.qmail@web11905.mail.yahoo.com> --- Jez wrote: > I dont wish to join the debate about WHEN the final > version 2.0 will ship, > but just wish to ask : will it include a grid / > table control ? This is the > most useful control in data-intensive GUI > applications I think. Tabbed list > controls just wont suffice. > > NB. It's interesting to note that the much vaunted > Microsoft .NET visual > studio environment has a basic windows forms grid > control but it's not very > flexible (albeit it is extensible apparently, though > God knows how), so come > on Rev guys, do something well that Microsoft don't! > In RunRev 1.1.1 you can make a field and set its vertical and horizontal grids to show. You can control the distance between the vertical lines by setting the 'tabStops' property. However, in version 1.1.1, the information isn't clipped if it exceeds the width of the column, and everything is just shifted to the right -- much like in Word, where if you type too much, the data after the tab is shifted to the next tab on its right. RunRev 2.0 clips the text, so everything that doesn't fit is automatically truncated for viewing purposes. Moreover, you can turn a field into a 'Table' field, where you can allow in-cell editing or not, and can even apply some formatting settings. There are no column or row headers though, and you can't "split" the table or any of that stuff (you could probably code that yourself if you wanted to) but it's an enormous advancement already, and I'm sure you'll see some nice library objects to expand its abilities. Hope this answered your question, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From janschenkel at yahoo.com Tue Feb 4 06:21:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 4 06:21:00 2003 Subject: Distribution builder alters stack window size? In-Reply-To: Message-ID: <20030204111631.56442.qmail@web11905.mail.yahoo.com> --- Graham Samuel wrote: > On Mon, 3 Feb 2003 12:19:38 -0500 Howard Bornstein > wrote: > > > >I've recently run into this same problem. The > distribution builder is > >supposed to create systems that are platform aware. > So that on a PC, the > >stack is enlarged to show the menus at the top of > the window, but on a > >Mac, the same stack is shrunk to hide the menus > since they appear in the > >menu bar. > > > >For some reason, on my last build, it didn't seem > to work very well. My > >Windows stack had the bottom of the stack cut off > (but the Mac stack was > >ok). > > > >So, I decided to simply control this stuff myself. > It's very easy. > > > >Within the On Openstack handler: > > > >if the platform = "win32" then -- adjust the stack > to the size you want > >for Windows > > set the height of this stack to [whatever you > need] > >else -- Now handle the Mac platform > > set the height of this stack to [the appropriate > Mac height] > >end if > > > >Note that in my case, I'm only developing for Mac > or PC so my little > >check doesn't take into account the Unix platform. > > Thanks Howard, my requirements are the same as yours > (no Unix) so > I'll copy what you're doing. This does seem to be a > bug - only some > of my builds are affected, and I can't work out what > I've changed > between the ones that work and the ones that don't > work... maybe it > will all go away in version 2.0 but in this instance > I can't wait to > find out. > > Anyway very useful tip. > > Graham Hi Graham, The only thing I can think of that could cause this shifting is the 'editMenus' property. Have you checked that? Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From Esa.Kivela at ncrc.fi Tue Feb 4 06:23:01 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Tue Feb 4 06:23:01 2003 Subject: VS: newbie:visuall effect Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD631@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Jan Schenkel [mailto:janschenkel at yahoo.com] > L?hetetty: 4. helmikuuta 2003 13:02 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: newbie:visuall effect > > > --- Esa_Kivel? wrote: > > greetinsg again: > > > > Hmmm i try to do some visual effect as dissolve slow > > ie. to show text field. move between cards but that > > effect dosen't happen in RR.. > > > > Like show cd btn "this and that" wiht visual effect > > dissolve slow > > > > Nothing happend... > > > > Is there some default settings on in RR or > > something? > > > > Yours > > > > EsaK > > Hi Esa, > > Try this: > lock screen > show cd btn "Foobar" > unlock screen with visual effect dissolve slow > > Hope this helped, Nope: same result. just pop up quickly. EasK From janschenkel at yahoo.com Tue Feb 4 06:23:07 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 4 06:23:07 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: Message-ID: <20030204111900.57697.qmail@web11907.mail.yahoo.com> --- Curry wrote: > One more thing about the new property palette--maybe > there should > still be a menu item in the option menu, or a > button, to go to the > object's script. Although the script won't open in > the palette, it > will still make a lot of sense to go from one to the > other. > Or as an icon in the button-row at the top which you suggested in an earlier post. That would save us quite a few trips without making things difficult again. Just my 2 euro-cents, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From livfoss at blueyonder.co.uk Tue Feb 4 06:25:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Feb 4 06:25:00 2003 Subject: Why is my app slow? Message-ID: I've just started using the Distribution Builder in 1.1.1. I've got a fairly simple app with no particular speed problems on my G3/400 Mac, but when I make it into a separate app, I find that although the MacOS 9 and MacOS X (Jaguar) versions work well, the PC version appears incredibly slow (admittedly on a slowing PC - a P133 running Windows 95 - or on Virtual PC on my Mac which is normally acceptable if not wonderfully speedy). The slow bits seem to include the startup sequence which opens stacks etc, where the cursor disappears for several seconds before stabilising - this is perhaps understandable - but worse than this, some (but not all) drags go so slowly that I thought the machine had crashed. The whole script being actioned during the drag (of a small image object) is on mouseDown grab me end mouseDown so it doesn't appear at first sight that I can influence the situation. Can anyone comment on this and maybe suggest a cure (OK, a faster PC would be nice, but schools can't always afford them). TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From janschenkel at yahoo.com Tue Feb 4 06:31:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 4 06:31:00 2003 Subject: VS: newbie:visuall effect In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E02AD631@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <20030204112712.22717.qmail@web11901.mail.yahoo.com> --- Esa_Kivel? wrote: > > > > -----Alkuper?inen viesti----- > > L?hett?j?: Jan Schenkel > [mailto:janschenkel at yahoo.com] > > L?hetetty: 4. helmikuuta 2003 13:02 > > Vastaanottaja: use-revolution at lists.runrev.com > > Aihe: Re: newbie:visuall effect > > > > > > --- Esa_Kivel? wrote: > > > greetinsg again: > > > > > > Hmmm i try to do some visual effect as dissolve > slow > > > ie. to show text field. move between cards but > that > > > effect dosen't happen in RR.. > > > > > > Like show cd btn "this and that" wiht visual > effect > > > dissolve slow > > > > > > Nothing happend... > > > > > > Is there some default settings on in RR or > > > something? > > > > > > Yours > > > > > > EsaK > > > > Hi Esa, > > > > Try this: > > lock screen > > show cd btn "Foobar" > > unlock screen with visual effect dissolve slow > > > > Hope this helped, > > Nope: same result. just pop up quickly. > > EasK Hmm, works for me (on MacOS 9 atm). What's the content of the 'effectRate' global property and the 'alwaysBuffer' stack property ? Jan Schenkel. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From livfoss at blueyonder.co.uk Tue Feb 4 06:33:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Feb 4 06:33:01 2003 Subject: QT Movies playing roughly Message-ID: I've got an app with a couple of really trivial QT movies, each consisting of about 30 frames plus a soundtrack, set to loop until stopped. One of them shows a motor with a little propeller going round. The thing is scripted so that the propeller can go at different speeds and either forward or backward. This works fine just using Apple's QuickTime Player on my Macs (version 5 or 6), but when it's in a player object in a Revolution standalone, the motion is extremely rough. The soundtrack seems to work OK, but the visuals either miss out frames or stop completely. On restarting the player, one gets a bit of movement and then the thing goes all choppy again. The other movie behaves the same way but the lack of movement isn't so obvious because of the particular animation involved. I need to use player objects rather than Revo animations so that I can let the user move them around the screen and so that I can script the forward/ reverse/ speed change behaviour. Is this a known problem? Is there anything I can do about it? TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From Esa.Kivela at ncrc.fi Tue Feb 4 06:36:00 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Tue Feb 4 06:36:00 2003 Subject: VS: VS: newbie:visuall effect Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD632@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Jan Schenkel [mailto:janschenkel at yahoo.com] > L?hetetty: 4. helmikuuta 2003 13:27 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: VS: newbie:visuall effect > > > --- Esa_Kivel? wrote: > > > > > > > -----Alkuper?inen viesti----- > > > L?hett?j?: Jan Schenkel > > [mailto:janschenkel at yahoo.com] > > > L?hetetty: 4. helmikuuta 2003 13:02 > > > Vastaanottaja: use-revolution at lists.runrev.com > > > Aihe: Re: newbie:visuall effect > > > > > > > > > --- Esa_Kivel? wrote: > > > > greetinsg again: > > > > > > > > Hmmm i try to do some visual effect as dissolve > > slow > > > > ie. to show text field. move between cards but > > that > > > > effect dosen't happen in RR.. > > > > > > > > Like show cd btn "this and that" wiht visual > > effect > > > > dissolve slow > > > > > > > > Nothing happend... > > > > > > > > Is there some default settings on in RR or > > > > something? > > > > > > > > Yours > > > > > > > > EsaK > > > > > > Hi Esa, > > > > > > Try this: > > > lock screen > > > show cd btn "Foobar" > > > unlock screen with visual effect dissolve slow > > > > > > Hope this helped, > > > > Nope: same result. just pop up quickly. > > > > EasK > > Hmm, works for me (on MacOS 9 atm). > What's the content of the 'effectRate' global property > and the 'alwaysBuffer' stack property ? and I can check those..where? I juse Windows 2000 and RR 1.1 EsaK From jezbo at blueyonder.co.uk Tue Feb 4 07:30:01 2003 From: jezbo at blueyonder.co.uk (Jez) Date: Tue Feb 4 07:30:01 2003 Subject: Grid/Table control Message-ID: <008901c2cc36$14ae9040$d3841f3e@Jez2> I dont wish to join the debate about WHEN the final version 2.0 will ship, but just wish to ask : will it include a grid / table control ? This is the most useful control in data-intensive GUI applications I think. Tabbed list controls just wont suffice. NB. It's interesting to note that the much vaunted Microsoft .NET visual studio environment has a basic windows forms grid control but it's not very flexible (albeit it is extensible apparently, though God knows how), so come on Rev guys, do something well that Microsoft don't! -------------- next part -------------- An HTML attachment was scrubbed... URL: From Esa.Kivela at ncrc.fi Tue Feb 4 07:34:01 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Tue Feb 4 07:34:01 2003 Subject: VS: newbie:visuall effect Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD633@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Jan Schenkel [mailto:janschenkel at yahoo.com] > L?hetetty: 4. helmikuuta 2003 13:02 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: newbie:visuall effect > > > --- Esa_Kivel? wrote: > > greetinsg again: > > > > Hmmm i try to do some visual effect as dissolve slow > > ie. to show text field. move between cards but that > > effect dosen't happen in RR.. > > > > Like show cd btn "this and that" wiht visual effect > > dissolve slow > > > > Nothing happend... > > > > Is there some default settings on in RR or > > something? > > > > Yours > > > > EsaK > > Hi Esa, > > Try this: > lock screen > show cd btn "Foobar" > unlock screen with visual effect dissolve slow > > Hope this helped, Hmmm all works but that dissolve won't... werid.. EsaK From janschenkel at yahoo.com Tue Feb 4 07:40:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 4 07:40:01 2003 Subject: VS: VS: newbie:visuall effect In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E02AD632@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <20030204123557.65136.qmail@web11907.mail.yahoo.com> --- Esa_Kivel? wrote: > [snip] > > > What's the content of the 'effectRate' global > property > > and the 'alwaysBuffer' stack property ? > > and I can check those..where? I juse Windows 2000 > and RR 1.1 > > EsaK Use the message box: answer the effectRate answer the alwaysBuffer of this stack I just checked under Win2K with RR 1.1 and the vial effect worked for me. Is there an image or a player behind it ? Jan Schenkel. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From janschenkel at yahoo.com Tue Feb 4 07:49:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 4 07:49:01 2003 Subject: QT Movies playing roughly In-Reply-To: Message-ID: <20030204124432.30600.qmail@web11901.mail.yahoo.com> --- Graham Samuel wrote: > I've got an app with a couple of really trivial QT > movies, each > consisting of about 30 frames plus a soundtrack, > set to loop until > stopped. One of them shows a motor with a little > propeller going > round. The thing is scripted so that the propeller > can go at > different speeds and either forward or backward. > This works fine just > using Apple's QuickTime Player on my Macs (version 5 > or 6), but when > it's in a player object in a Revolution standalone, > the motion is > extremely rough. The soundtrack seems to work OK, > but the visuals > either miss out frames or stop completely. On > restarting the player, > one gets a bit of movement and then the thing goes > all choppy again. > The other movie behaves the same way but the lack of > movement isn't > so obvious because of the particular animation > involved. > > I need to use player objects rather than Revo > animations so that I > can let the user move them around the screen and so > that I can script > the forward/ reverse/ speed change behaviour. > > Is this a known problem? Is there anything I can do > about it? > > TIA > > Graham Hi Graham, A few things spring to mind: - Is it possible that another object overlaps the player ? - What's the setting of the 'alwaysBuffer' property of the player and the stack ? Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From chipp at chipp.com Tue Feb 4 07:50:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Tue Feb 4 07:50:01 2003 Subject: Why is my app slow? In-Reply-To: Message-ID: Graham, I believe you may have answered your own question... "a P133 running Windows 95 - or on Virtual PC on my Mac G3/400." Why don't you test on a more powerful PC and see? -Chipp From Esa.Kivela at ncrc.fi Tue Feb 4 07:53:00 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Tue Feb 4 07:53:00 2003 Subject: VS: VS: VS: newbie:visuall effect Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD634@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Jan Schenkel [mailto:janschenkel at yahoo.com] > L?hetetty: 4. helmikuuta 2003 14:36 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: VS: VS: newbie:visuall effect > > Use the message box: > answer the effectRate 3000 just set that to the ne button > answer the alwaysBuffer of this stack True. > > I just checked under Win2K with RR 1.1 and the vial > effect worked for me. Is there an image or a player > behind it ? Nope just code in button: show field "info" with visual effect dissolve slow Hows that effect works? If i recall right in Hypercard its slowly shows ie text field.. EsaK From janschenkel at yahoo.com Tue Feb 4 07:53:16 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 4 07:53:16 2003 Subject: VS: newbie:visuall effect In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E02AD633@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <20030204124705.30832.qmail@web11901.mail.yahoo.com> --- Esa_Kivel? wrote: > [snip] > > Hmmm all works but that dissolve won't... werid.. > > EsaK Weird that it's just that one effect. Does it help if you set the dontUseQTEffects to true Jan Schenkel. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From chipp at chipp.com Tue Feb 4 07:53:32 2003 From: chipp at chipp.com (Chipp Walters) Date: Tue Feb 4 07:53:32 2003 Subject: QT Movies playing roughly In-Reply-To: Message-ID: Graham, Are you using any "on idle" handlers to control the animation? You might also want to look at an animaged gif for this type of thing. Also, look at the 'send' command instead of 'on idle' (if you're using it). -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Graham Samuel > Sent: Tuesday, February 04, 2003 5:29 AM > To: Revolution user discussion > Subject: QT Movies playing roughly > > > I've got an app with a couple of really trivial QT movies, each > consisting of about 30 frames plus a soundtrack, set to loop until > stopped. One of them shows a motor with a little propeller going > round. The thing is scripted so that the propeller can go at > different speeds and either forward or backward. This works fine just > using Apple's QuickTime Player on my Macs (version 5 or 6), but when > it's in a player object in a Revolution standalone, the motion is > extremely rough. The soundtrack seems to work OK, but the visuals > either miss out frames or stop completely. On restarting the player, > one gets a bit of movement and then the thing goes all choppy again. > The other movie behaves the same way but the lack of movement isn't > so obvious because of the particular animation involved. > > I need to use player objects rather than Revo animations so that I > can let the user move them around the screen and so that I can script > the forward/ reverse/ speed change behaviour. > > Is this a known problem? Is there anything I can do about it? > > TIA > > Graham > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From Esa.Kivela at ncrc.fi Tue Feb 4 08:01:00 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Tue Feb 4 08:01:00 2003 Subject: VS: VS: newbie:visuall effect Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD635@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Jan Schenkel [mailto:janschenkel at yahoo.com] > L?hetetty: 4. helmikuuta 2003 14:47 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: VS: newbie:visuall effect > > > --- Esa_Kivel? wrote: > > [snip] > > > > Hmmm all works but that dissolve won't... werid.. > > > > EsaK > > Weird that it's just that one effect. Does it help if > you > set the dontUseQTEffects to true Yoohooooo! :-) Now its works! Thanks Jan :-) Btw jan: that Mud Ediror have goes forward, but I need help with that ftp-thing. Are You intersted? If You are please send private email to esa.kivela at ncrc.fi EsaK From jhurley at infostations.com Tue Feb 4 08:07:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Tue Feb 4 08:07:01 2003 Subject: Storing images In-Reply-To: <200302041000.FAA23457@www.runrev.com> References: <200302041000.FAA23457@www.runrev.com> Message-ID: Isn't there another issue regarding where images are stored? My knowledge here is admittedly weak but I have had problems in the past in referencing images stored on disk. To find the image a path, either absolute of relative (relative to the current default folder) needs to be given. If, in distributing the application, the user should move the stack without bringing the images along there will be problems. I would much prefer to reference the file than import it as a control for the many good reasons mentioned by others on this thread: The ease of displaying multiple sizes in multiple locations, reduction of file size, and, if only for religious reasons (religion defined broadly), it is cleaner and cleanliness is next to you know Who. So if there is a clean way to reference the file while avoiding the problem of broken links when stacks become separated from images, I would *greatly* appreciate an education in this matter. Jim From janschenkel at yahoo.com Tue Feb 4 08:15:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 4 08:15:01 2003 Subject: Storing images In-Reply-To: Message-ID: <20030204131047.48010.qmail@web11908.mail.yahoo.com> --- Jim Hurley wrote: > Isn't there another issue regarding where images are > stored? My > knowledge here is admittedly weak but I have had > problems in the > past in referencing images stored on disk. To find > the image a path, > either absolute of relative (relative to the > current default folder) > needs to be given. If, in distributing the > application, the user > should move the stack without bringing the images > along there will be > problems. > > I would much prefer to reference the file than > import it as a control > for the many good reasons mentioned by others on > this thread: The > ease of displaying multiple sizes in multiple > locations, reduction of > file size, and, if only for religious reasons > (religion defined > broadly), it is cleaner and cleanliness is next to > you know Who. So > if there is a clean way to reference the file while > avoiding the > problem of broken links when stacks become separated > from images, I > would *greatly* appreciate an education in this > matter. > > Jim Hi Jim, Perhaps you could change the 'defaultFolder' global property when your stack opens ? When looking for files, if you don't specify a full path, the engine will look relative to the defaultFolder. Just a thought, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From kevin at runrev.com Tue Feb 4 10:08:00 2003 From: kevin at runrev.com (Kevin Miller) Date: Tue Feb 4 10:08:00 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: <20030204111900.57697.qmail@web11907.mail.yahoo.com> Message-ID: On 4/2/03 11:19 am, Jan Schenkel wrote: > Or as an icon in the button-row at the top which you > suggested in an earlier post. That would save us quite > a few trips without making things difficult again. Its in the tool bar, there is a keyboard shortcut, its in the menu bar, and also in that menu in the palette. Kind regards, Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Tue Feb 4 10:08:24 2003 From: kevin at runrev.com (Kevin Miller) Date: Tue Feb 4 10:08:24 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: <016901c2cbdb$6ab61770$6601a8c0@mckinley.dom> Message-ID: On 3/2/03 11:24 pm, Ken Ray wrote: >> could there be an advantage to developing an app >> in RR then running it in MC? > > Two that I can think of - one is that you may be able to develop faster in > Rev because of all the help that the IDE gives you (vs. MC where a bunch of > stuff needs to be done with your own tool or through the message box); the > other is that you may be able to take advantage of bug fixes in the engine > which haven't made their way into Rev yet. For example, suppose MC releases > 2.5 at the same time as Rev 2.0. If MC finds and squashes some bugs in 2.5.1 > and it takes a couple of months for RR to upgrade to the new engine, you can > take advantage of the fixes in MC early. This historical issue is one we have addressed, and it is our intention that we stay in sync, though you do have to be a pro user to access the pre-release versions. Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From Roger.E.Eller at sealedair.com Tue Feb 4 10:34:01 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue Feb 4 10:34:01 2003 Subject: [ANN] Furby.rev (a virtual Furby toy) Message-ID: As a proud father, I just have to announce my son's first Revolution program. He is 11 years old, and is absolutely *thrilled* that Transcript is simple enough for a kid to follow. Please check out his first app on the user contributions page. http://www.runrev.com/revolution/developers/developerdownloads/usercontributions.html I'm sure William would love to hear some words of encouragement from you guys (off list at ). Kind Regards, Roger Eller roger.e.eller at sealedair.com From kevin at runrev.com Tue Feb 4 10:40:01 2003 From: kevin at runrev.com (Kevin Miller) Date: Tue Feb 4 10:40:01 2003 Subject: VS: pre-beta In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E02AD62A@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: On 4/2/03 6:19 am, Esa Kivel? wrote: > Btw, did You guys fix in RR 2.0 that printing problem wich prints many pages > ie. from text field and in the pages are only few lines of text per page? Please test it and let us know if it is still happening for you. Thanks, Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From dleyanna at rtl.org Tue Feb 4 10:51:01 2003 From: dleyanna at rtl.org (Dave LeYanna) Date: Tue Feb 4 10:51:01 2003 Subject: Rev 2.0 printing Message-ID: <3E3FE09B.3010705@rtl.org> It is still happening to me. The double,triple line stuff from Win 2000 to HPIIIsi and micro print 1/32 point type from Win98 to same printer. The same, doesn't matter which version of Rev. I use. The print drivers are the newest ones. BTW FYI, printing from Inspired Logic's Navigator seems to work fine when printing scripts. It just seems to be your help system? djl From cowhead at mac.com Tue Feb 4 11:01:01 2003 From: cowhead at mac.com (mark mitchell) Date: Tue Feb 4 11:01:01 2003 Subject: unicode in pre-beta In-Reply-To: <200302041000.FAA23457@www.runrev.com> Message-ID: <31559618-3859-11D7-9229-0030656DAB8E@mac.com> Tuviah wrote: > I'm personally > look forward to feedback on Unicode, I was anxiously awaiting Unicode, but after playing with it for just a few minutes, it doesn't seem to be working very well yet (Mac OS 10.1.5, Jpnese kotoeri input). You can now type and edit Japanese OK in a single field, which is nice, but you cannot seem to move anything from one field to another via script without it messing up (although copy/paste works OK). Moreover, if you want to delete or move a single Jpnese 2 byte character, you must still treat it as two characters (eg. delete character 1 to 2 of field 1 deletes just the first Jpnese character). This contrasts with Hypercard, which just 'knows' whether a character is 2 byte or not (it's beautiful thing). Also, the IDE has an annoying bug where if you accidently type some Jpnese into the message box, you cannot simply delete and switch back to English but must close and reopen the message box. Hopefully that will be gone in the real release. mark mitchell Japan From harrison at all-auctions.com Tue Feb 4 11:22:01 2003 From: harrison at all-auctions.com (Rick Harrison) Date: Tue Feb 4 11:22:01 2003 Subject: [ANN] Furby.rev (a virtual Furby toy) In-Reply-To: Message-ID: on 2/4/2003 10:30 AM, Roger.E.Eller at sealedair.com at Roger.E.Eller at sealedair.com wrote: > > > I'm sure William would love to hear some words of encouragement from you > guys (off list at ). > > Kind Regards, > Roger Eller > roger.e.eller at sealedair.com > Roger, It's cute, but there is no way to quit the application under OS 9.2.2 You might want to tell William to try adding some sounds to spice it up. Have fun! Rick Harrison From miscdas at boxfrog.com Tue Feb 4 11:32:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Tue Feb 4 11:32:01 2003 Subject: Random generator exercise In-Reply-To: References: Message-ID: <20030204162855.5631.qmail@www.boxfrog.com> Here is yet another approach to the exercise. A SINGLE random number is generated, from which a numeric or an alpha character is generated. There is a .5 probability of generating a numeric, and .5 probablity of generating an alpha. Within the alpha, there is a .5 probablity of being lower case, and .5 probablity of being upper case. on mouseUp put empty into field ?displayField? ask ("How many characters to generate ? (1-9)") put it into charCount repeat charCount times put random(520) into myRandom if myRandom < 261 then ##numeric put (myRandom - 1) div 26 after field ?displayField? else if myRandom < 391 then put 45 into offsetASCII ##lowercase else put -13 into offsetASCII ##uppercase end if put (myRandom ? 1) div 5 + offsetASCII into finalValue put numToChar(finalValue) after field ?displayField? end if end repeat end mouseUp miscdas From janschenkel at yahoo.com Tue Feb 4 11:46:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 4 11:46:01 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: Message-ID: <20030204164140.27176.qmail@web11906.mail.yahoo.com> --- Kevin Miller wrote: > On 4/2/03 11:19 am, Jan Schenkel > wrote: > > > Or as an icon in the button-row at the top which > you > > suggested in an earlier post. That would save us > quite > > a few trips without making things difficult again. > > Its in the tool bar, there is a keyboard shortcut, > its in the menu bar, and > also in that menu in the palette. > > Kind regards, > > Kevin I guess that means an item 'Script' will be added to the palette's menu ? Rats, there goes my argument pro buttons of what to do if you : - select a button - lock the inspector - select a different control to review - and must therefore select the button again in order to edit its script. A button row would still be less click-drag-click, but I have to say the 'menu' method makes for a very slick environment. Plus, you won't run out of room as easily as with tabs ;-) Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From cowhead at mac.com Tue Feb 4 11:56:01 2003 From: cowhead at mac.com (mark mitchell) Date: Tue Feb 4 11:56:01 2003 Subject: storing images In-Reply-To: <200302041000.FAA23457@www.runrev.com> Message-ID: Judy wrote: > Yes, there are many different ways of doing one thing; problem is, it > doesn't matter if they're all equally inelegant/non-intuitive. > > Maybe it's the non-assembly code programmer in me, but it's just not > clear > why, once you've embedded something, you have to re-embed it with each > usage. This is just nuts. This results in bloatware. > I finally understand this thread. I couldn't figure out how "set the icon of button 1 to myImage" could possibly be described as inelegant (especially relative to HC's resource fork and pict external). But it sounds like some people are under the impression that setting the icon of a button to an image 're-embeds' the image. It doesn't. The button just references the image within the stack. So you can reference the same imbeded image in a hundred different buttons without increasing the memory requirements much. I remember there was a big thread on this about a year or so ago. Just make a single card or substack called 'myImages' and stick all your images there. You'll find they are much more accessible than in HC's resource fork. One trick, if you want the image to display with a border, depending on button type and settings, you may have to resize it to a little smaller than the button (the height/width - 15) prior to display. PS. the throbbing buttons in the pre-beta on OSX are just too cool! mark mitchell Japan From miscdas at boxfrog.com Tue Feb 4 12:07:03 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Tue Feb 4 12:07:03 2003 Subject: Furby.rev (a virtual Furby toy) In-Reply-To: References: Message-ID: <20030204170341.66547.qmail@www.boxfrog.com> Rick Harrison writes: > on 2/4/2003 10:30 AM, Roger.E.Eller at sealedair.com at > Roger.E.Eller at sealedair.com wrote: > >> >> >> I'm sure William would love to hear some words of encouragement from you >> guys (off list at ). >> roger.e.eller at sealedair.com >> > > Roger, > > It's cute, but there is no way to quit the application > under OS 9.2.2 > > You might want to tell William to try adding some sounds > to spice it up. > > Have fun! > > Rick Harrison > Mr. Harrison, Perhaps you missed this address from above? n64william at yahoo.com I'm sure young William would appreciate your direct response, rather than passing it through his father. Likewise, why make dad the middleman? By the way, under Win XP pro, MetaCard, I can exit no problem using the window's native close button. miscdas From rogerguay at centurytel.net Tue Feb 4 12:09:01 2003 From: rogerguay at centurytel.net (Roger Guay) Date: Tue Feb 4 12:09:01 2003 Subject: Where to download Pre-Beta? Message-ID: I'm sorry, I've lost the instructions for downlaoding the Pre-Beta and I can't find it at RunRev.com. Help? Thanks, Roger From scott at tactilemedia.com Tue Feb 4 12:09:28 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Feb 4 12:09:28 2003 Subject: Storing images In-Reply-To: Message-ID: Recently, Jim Hurley wrote: > Isn't there another issue regarding where images are stored? My > knowledge here is admittedly weak but I have had problems in the > past in referencing images stored on disk. To find the image a path, > either absolute of relative (relative to the current default folder) > needs to be given. That's how we typically do it. We've never had any problems. Assuming you have a directory of images called "images" in the same folder as your app: # GET THE STACK PATH put the effective fileName of this stack into tPath set itemDel to "/" put "images/" into last item of tPath Now all images can be referenced using: set the fileName of img myImage to (tPath & "coolImage.gif") > If, in distributing the application, the user > should move the stack without bringing the images along there will be > problems. To be fair that's a whole different problem altogether. If you expect users to move your stack/app to different locations, you might consider using an installer. Otherwise, it's pretty standard to include a "resources" folder or similar in the same folder as the stack/app. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From livfoss at blueyonder.co.uk Tue Feb 4 12:25:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Feb 4 12:25:01 2003 Subject: QT Movies playing roughly Message-ID: On Tue, 4 Feb 2003 04:44:32 -0800 (PST) Jan Schenkel wrote: > >Hi Graham, > >A few things spring to mind: >- Is it possible that another object overlaps the >player ? >- What's the setting of the 'alwaysBuffer' property of >the player and the stack ? > >Jan Schenkel. Hi Jan Thanks for the interest. The alwaysBuffer of the mainstack, the substack in question and the player objects are all set to true. I'm not sure what you mean by 'overlap', but naturally as the user drags the player object it passes across a number of other objects - usually rectangular graphics without scripts in them. The players never enter each other's space, as it were, although they are sometimes asked to play simultaneously (this doesn't seem to be a problem in itself). Do underlying objects get messages saying the drag/grab is taking place? If so, I could try to investigate these. So far then, no real answer - but thanks again. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From gary.rathbone at btclick.com Tue Feb 4 12:44:01 2003 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Tue Feb 4 12:44:01 2003 Subject: Where to download Pre-Beta? In-Reply-To: Message-ID: <000701c2cc74$57bf1b50$0e00000a@server> > I'm sorry, I've lost the instructions for downlaoding the > Pre-Beta and I can't find it at RunRev.com. Help? http://www.runrev.com/revolution/previews/downloads.html Regards Gary Rathbone From jacque at hyperactivesw.com Tue Feb 4 13:08:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Feb 4 13:08:00 2003 Subject: Storing images References: <200302041000.FAA23457@www.runrev.com> Message-ID: <3E400096.1030809@hyperactivesw.com> Judy Perry wrote: > Maybe it's the non-assembly code programmer in me, but it's just not clear > why, once you've embedded something, you have to re-embed it with each > usage. This is just nuts. This results in bloatware. I think there's some confusion -- you don't have to embed an image multiple times. Only one copy is needed. Actually, the Revolution way acts almost identically to HyperCard's resource-fork method, the only difference is that instead of placing the image in the Mac-only resource fork, you place it somewhere in the stack itself (or in any stack that is in the message hierarchy, such as a substack.) Once you get the image imported, it can be used over and over again without any duplication, just as addcolor does in HC. For example, in my Klondike game I have a card that the user never sees which stores all the images the stack needs. The game uses playing-card-sized buttons which constantly update their image to simulate whatever playing card is currently "face up". Scripts change the "playing card" button icon IDs as needed. It is a one-liner to place a RAM-based copy of the image if you use a button as the image container. In HyperCard, we would issue "addcolor colorBtn" along with a long string of parameters. This grabs a temporary copy of the image from the resource fork and places it over a button. In Revolution, we issue "set the icon of btn x to ". This grabs a temporary copy of the image from the data fork and places it into a button as the icon. An extra advantage of this method is that, unlike addcolor images, you can move the button around without worrying about leaving the image display behind on screen. There is no duplication of the image graphic when you do this; Rev just inserts a temporary copy of the image into RAM just as addcolor does when it draws the image to screen. The only difference is the location of the original source image and, of course, the syntax used to set the button image. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bornstein at designeq.com Tue Feb 4 13:13:00 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Tue Feb 4 13:13:00 2003 Subject: QT Movies playing roughly Message-ID: <200302041808.h14I8AxF015714@ms-smtp-02.nyroc.rr.com> Hi Graham, This may be a bit odd but maybe, if the cause is that your computer is underpowered, you can ease its burden by setting the playrate of the player to a value lower than 1. This will cause the movie to play slower, which may give it a smoother appearance. Unfortunately, this screws up the soundtrack, which means you may have to separate the soundtrack into a different file and play it simultaneously with the movie. If it doesn't need to be "synced" to the movie, though, this might work. Just a thought. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From jhurley at infostations.com Tue Feb 4 13:14:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Tue Feb 4 13:14:01 2003 Subject: Storing images In-Reply-To: <200302041658.LAA08469@www.runrev.com> References: <200302041658.LAA08469@www.runrev.com> Message-ID: > mark mitchell wrote: > >Judy wrote: > >> Yes, there are many different ways of doing one thing; problem is, it >> doesn't matter if they're all equally inelegant/non-intuitive. >> >> Maybe it's the non-assembly code programmer in me, but it's just not >> clear >> why, once you've embedded something, you have to re-embed it with each >> usage. This is just nuts. This results in bloatware. >> > >I finally understand this thread. I couldn't figure out how "set the >icon of button 1 to myImage" could possibly be described as inelegant (especially relative to HC's resource fork and pict external). (snip) Unfortunately, I know just enough about this issue to be dangerous. Perhaps "inelegant" isn't the word, but it can be cumbersome to set the button icon to the image if you want to use different sizes on different card. You need a preOpenCard handler on each card on which the image appears in order to set the size of the image on that card. (If you lock the position and size you needn't worry about the location. That is held fixed. But you can reset the size through the script even though the imaged is lock.) All of this is avoided if the image is referenced from a disk file. As I said before, the only problem this might pose is if the end user were careless or uninformed and separated the images from the folder to which they are linked in the stack. A more elegant or less cumbersome solution (and idiot proof for the end user) would be to embed the single images in some "secret" place from which they might be referenced and a different size and location for the image could be locked on each card. Thinking wishfully, Jim -- Jim Hurley From jacque at hyperactivesw.com Tue Feb 4 13:42:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Feb 4 13:42:01 2003 Subject: Image still cut off References: <200302032336.SAA11051@www.runrev.com> Message-ID: <3E400889.9060505@hyperactivesw.com> "Ken Norris (dialup)" wrote: > > All I want is for the full 800x600 image to show in its entirety. I don't > mind if some dev windows cover it, like the tool palettes, as long as I can > remove them and _know_ the image is actually all there. I'm going crazy > here. I'm sorry, a number of people have given some instruction about this, > but nothing seems to work. I really need someone to lead me step by step [ > 1), 2), 3), ], I guess, because I just don't get it... I'll give it a try. First, set the editmenus of the stack to true. This will force the menu group into view on a Mac. On a Mac, when editmenus is later set to false, Rev will scroll the top part of the card window out of view and shorten the window height by the same amount as the menu group (not by the height of the menu buttons within the group, but by the height of the whole group itself.) If you are losing an inch from the image, then your menu group is probably about 72 pixels high. The menu buttons may be less, but the menu group is what matters. If necessary, resize the group so that it is only as high as the tallest button within the menu group. This is usually the larger button that sits behind and provides a base for the actual menu buttons. Use the message box or the properties palette to find out the exact height of the now-resized menu group and make a note of it. Once that is done, calculate the height your stack needs to be. What you want is a height equal to the height of your image PLUS the height of the menu group. If your (now adjusted) menu group is 26 pixels high and the image is 600 high, then your stack height needs to be 626 pixels. Set the stack to that height. Place the menu group with its top edge at the top of the card. Place the large image with its bottom edge at the bottom of the card. Save the stack. Now set the editmenus of the stack to false. On a Mac, the top of the card will scroll out of view by the exact amount in the menu group -- 26 pixels, in this example. What remains is the lower portion of the card below the menu group -- which is all went well, is 600 pixels, all of which should be occupied by your large image. There used to be a problem with the engine trying to be a little too intelligent and resizing the stack if it is bigger than the monitor can display. I don't know if this was changed or not (haven't had to use it in a while.) But if you are trying to display a 600-pixel-high image on a monitor set to 640x480 you may run into some problems. In that case, you'd have to implement a script as has been suggested here, which sets the stack size dynamically on startup or openstack. That would ensure that your stack can overcome the engine's eagerness to assist you with display size. More on managing menus is at my tutorial: http://www.hyperactivesw.com/mctutorial/ -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pixelbird at interisland.net Tue Feb 4 13:49:02 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Tue Feb 4 13:49:02 2003 Subject: storing images In-Reply-To: <200302041657.LAA08334@www.runrev.com> Message-ID: ********** > Date: Wed, 5 Feb 2003 01:51:49 +0900 > Subject: Re: storing images > From: mark mitchell > I finally understand this thread. I couldn't figure out how "set the > icon of button 1 to myImage" could possibly be described as inelegant > (especially relative to HC's resource fork and pict external). But it > sounds like some people are under the impression that setting the icon > of a button to an image 're-embeds' the image. It doesn't. The button > just references the image within the stack. So you can reference the > same imbeded image in a hundred different buttons without increasing the > memory requirements much. I remember there was a big thread on this > about a year or so ago. Just make a single card or substack called > 'myImages' and stick all your images there. ---------- I work with images a lot so I want to jump in here. I see the advantages, but what about switching out images? Maybe you come up with some much better images and want to change them out. I think (could easily be wrong) you'd have to reset the images manually by deleting them and importing new ones, or writing a separate UI somewhere that does it (how might that work?). But, I like the defaultFolder idea, because it's all drag and drop. The caveat is that you have to make sure the ID's and/or names are relevent to the calls that use them, which would really be the same for imported stuff too. I think you have to weigh out how the images are going to be used. Perhaps combining the two ideas for development purposes might be good. An ImageBase/library in folders you can import from, and a protected (enter by password from a menu or something) substack which has thumbnails and a UI that has routines for adding, deleting, copying, and replacing, and traps for correct ID's, etc. Mostly just think/type...but what do you think? Ken N. *********** From jperryl at ecs.fullerton.edu Tue Feb 4 14:14:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Feb 4 14:14:01 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: Message-ID: Yes, this was a big area of confusion/awkwardness for me as well but since I didn't hear anyone else really question it, I kept unusually quiet. Judy On Tue, 4 Feb 2003, Curry wrote: > One more thing about the new property palette--maybe there should > still be a menu item in the option menu, or a button, to go to the > object's script. Although the script won't open in the palette, it > will still make a lot of sense to go from one to the other. From jperryl at ecs.fullerton.edu Tue Feb 4 14:17:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Feb 4 14:17:01 2003 Subject: newbie:visuall effect In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E02AD630@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: Hi Esa, I believe visual effects could perhaps be better thought of as 'transition effects' -- as in when one moves from one card to another. AFAIK, it has only worked this way even in the other x-programs. Judy On Tue, 4 Feb 2003, [iso-8859-1] Esa Kivel? wrote: > greetinsg again: > > Hmmm i try to do some visual effect as dissolve slow ie. to show text field. move between cards but that effect dosen't happen in RR.. > > Like show cd btn "this and that" wiht visual effect dissolve slow From jperryl at ecs.fullerton.edu Tue Feb 4 14:40:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Feb 4 14:40:01 2003 Subject: Storing images In-Reply-To: <3E400096.1030809@hyperactivesw.com> Message-ID: Perhaps my gripe stems (as usual) from a lack of understanding. I've tried something like this -- importing as a control some image. But I didn't want it on the card where I imported it (not thinking about where I was; okay, it wasn't really me it was a student) and so I clicked on it and hit the delete key. On the same card, I tried "show image imageName" and got nothing. Now, if I recall correctly in HC, you can delete it on the card (or funny color draw) layer but the image is still there in the stack, waiting for you to show it again whenever you wish. Am I wrong? It's always sooo nice to be wrong about such things! Judy On Tue, 4 Feb 2003, J. Landman Gay wrote: > I think there's some confusion -- you don't have to embed an image > multiple times. Only one copy is needed. Actually, the Revolution way > acts almost identically to HyperCard's resource-fork method, the only > difference is that instead of placing the image in the Mac-only resource > fork, you place it somewhere in the stack itself (or in any stack that > is in the message hierarchy, such as a substack.) Once you get the image > imported, it can be used over and over again without any duplication, > just as addcolor does in HC. > > For example, in my Klondike game I have a card that the user never sees > which stores all the images the stack needs. The game uses > playing-card-sized buttons which constantly update their image to > simulate whatever playing card is currently "face up". Scripts change > the "playing card" button icon IDs as needed. It is a one-liner to place > a RAM-based copy of the image if you use a button as the image container. > > In HyperCard, we would issue "addcolor colorBtn" along with a long > string of parameters. This grabs a temporary copy of the image from the > resource fork and places it over a button. In Revolution, we issue "set > the icon of btn x to ". This grabs a temporary copy of the > image from the data fork and places it into a button as the icon. An > extra advantage of this method is that, unlike addcolor images, you can > move the button around without worrying about leaving the image display > behind on screen. > > There is no duplication of the image graphic when you do this; Rev just > inserts a temporary copy of the image into RAM just as addcolor does > when it draws the image to screen. The only difference is the location > of the original source image and, of course, the syntax used to set the > button image. From info at pixelmedia.com.au Tue Feb 4 14:50:01 2003 From: info at pixelmedia.com.au (Igor de Oliveira Couto) Date: Tue Feb 4 14:50:01 2003 Subject: unicode in pre-beta In-Reply-To: <31559618-3859-11D7-9229-0030656DAB8E@mac.com> Message-ID: Hi all, > Tuviah wrote: > >> I'm personally >> look forward to feedback on Unicode, > > I was anxiously awaiting Unicode, but after playing with it for just a > few minutes, it doesn't seem to be working very well yet (Mac OS > 10.1.5, Jpnese kotoeri input). You can now type and edit Japanese OK > in a single field, which is nice, but you cannot seem to move anything > from one field to another via script without it messing up (although > copy/paste works OK). Moreover, if you want to delete or move a > single Jpnese 2 byte character, you must still treat it as two > characters (eg. delete character 1 to 2 of field 1 deletes just the > first Jpnese character). This contrasts with Hypercard, which just > 'knows' whether a character is 2 byte or not (it's beautiful thing). > Also, the IDE has an annoying bug where if you accidently type some > Jpnese into the message box, you cannot simply delete and switch back > to English but must close and reopen the message box. Hopefully that > will be gone in the real release. > I must also admit I've found the international character handling still quite unacceptable at this pre-beta stage. I have been working on an Esperanto stack, a language which uses characters such as c+circumflex (?), g+circumflex (?), and u+breve (?) among others. All these have to be typed with the 'US Extended' keyboard layout in MacOS X (10.2). I believe the problem is that a lot of the 'internal' text routines in Revolution are actually handled by scripts, and transcript does not seem to REALLY be able to handle Unicode. Try this: type a sentence which uses these 'funny' international characters which can only be typed with the US Extended keyboard. Then, in the text section of the inspector, try CHANGING THE CASE (to something like "Title Case"). You will notice that not only do your international characters disappear, but also that you will get UppeRcase letters right in the middle of your words - where the international characters once were... No doubt, all of this will be fixed in future releases... Kind Regards, -- Igor ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From miscdas at boxfrog.com Tue Feb 4 14:54:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Tue Feb 4 14:54:01 2003 Subject: Storing images In-Reply-To: <3E400096.1030809@hyperactivesw.com> References: <200302041000.FAA23457@www.runrev.com> <3E400096.1030809@hyperactivesw.com> Message-ID: <20030204195052.48006.qmail@www.boxfrog.com> J. Landman Gay writes: > There is no duplication of the image graphic when you do this; Rev just > inserts a temporary copy of the image into RAM just as addcolor does when > it draws the image to screen. ======= Is a copy of the image placed into RAM, or is there just a pointer created that points to the RAM address of a single copy of the image? miscdas From scott at tactilemedia.com Tue Feb 4 15:06:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Feb 4 15:06:00 2003 Subject: Storing images In-Reply-To: Message-ID: >> I finally understand this thread. I couldn't figure out how "set the >> icon of button 1 to myImage" could possibly be described as inelegant >> (especially relative to HC's resource fork and pict external). > Perhaps "inelegant" isn't the word, but it can be cumbersome to set > the button icon to the image if you want to use different sizes on > different card. You need a preOpenCard handler on each card on which > the image appears in order to set the size of the image on that card. > (If you lock the position and size you needn't worry about the > location. That is held fixed. But you can reset the size through the > script even though the imaged is lock.) If I understand the intent of your comment, you should consider using groups. If you want an image to appear on every card, simply place it in a group whose backgroundBehavior is set to true. This way the image will appear on every card that contains the group with no preOpenCard necessary. If you want a card with no image, simply remove the group from that card. > A more elegant or less cumbersome solution (and idiot proof for the > end user) would be to embed the single images in some "secret" place > from which they might be referenced and a different size and > location for the image could be locked on each card. Again, a group is one solution. Or, place all your master images into a substack "library" and create images and/or buttons that reference the substack. The methods for storing and displaying images in Rev/MC are actually very numerous. And with the recent introduction of PNG support, there's now almost nothing that Rev/MC can't handle. (Granted, my own wish is to have irregular masks for image display, but there are workarounds for this.) If anyone is running into a specific problem, post it to the list -- I'm sure one of the knowledgeable people here will offer a solution. 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 Feb 4 15:22:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Feb 4 15:22:00 2003 Subject: Storing images In-Reply-To: <20030204195052.48006.qmail@www.boxfrog.com> Message-ID: Recently, "miscdas at boxfrog.com" wrote: >> There is no duplication of the image graphic when you do this; Rev just >> inserts a temporary copy of the image into RAM just as addcolor does when >> it draws the image to screen. > Is a copy of the image placed into RAM, or is there just a pointer created > that points to the RAM address of a single copy of the image? Only one copy of an image is created; images are not duplicated unless you physically create a duplicate image object. And, any image displayed in Rev/MC can "pointed to" by another image or button: images = set the imageData of img image1 to the imageData of img image2 buttons = set the icon of btn button1 to the id of img image2 Also, keep in mind that your entire stack is loaded into RAM at startup, so any images present in the stack will be loaded, regardless of they are invisible, positioned off screen, or located in a substack. If you want to conserve a tiny bit in terms of RAM, there is the bufferHiddenImages property that you can play with, but you could see a tradeoff in the time needed to decompress/display the image (see the docs for more info). Personally I'd rather have a little extra load time up front and have everything available immediately, but the developers of Rev/MC have given us the options to do what we want. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dan at clearvisiontech.com Tue Feb 4 15:24:02 2003 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue Feb 4 15:24:02 2003 Subject: RevPrintField Message-ID: Fellow Revolutionaries... Anyone experienced any problems with revPrintField on windows? When I run this in a RR standalone on my Mac, it works fine: On mouseUp revShowPrintDialog true,true revPrintField the name of field "aField" End mouseUp However, on Windows, it does nothing. And, the result is empty. Any thoughts? (Yes, I included the printing library in my standalone). Thanks! Dan From harrison at all-auctions.com Tue Feb 4 15:24:17 2003 From: harrison at all-auctions.com (Rick Harrison) Date: Tue Feb 4 15:24:17 2003 Subject: Furby.rev (a virtual Furby toy) In-Reply-To: <20030204170341.66547.qmail@www.boxfrog.com> Message-ID: on 2/4/2003 12:03 PM, miscdas at boxfrog.com at miscdas at boxfrog.com wrote: > > Mr. Harrison, > > Perhaps you missed this address from above? n64william at yahoo.com > > I'm sure young William would appreciate your direct response, rather than > passing it through his father. Likewise, why make dad the middleman? > > By the way, under Win XP pro, MetaCard, I can exit no problem using the > window's native close button. > > miscdas miscdas, I deliberately sent this to the list to inform others who might decide to try the program that it doesn't quit properly under Mac OS 9.2.2. I had to force quit it myself, and I wanted others to be forwarned. I also thought that perhaps his Dad might be able to break the bad news better to him than a stranger would. I'm glad that it quits properly for you under Win XP. I further imagine that it probably quits fine under Mac OS X because of the native close menu item under OS X. I hope I've answered all of your questions to your satisfaction! Mr. Harrison From chipp at chipp.com Tue Feb 4 15:35:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Tue Feb 4 15:35:00 2003 Subject: Storing images In-Reply-To: Message-ID: Judy, Don't know about HC, but in RR when you delete the image....it's gone. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Judy Perry > Sent: Tuesday, February 04, 2003 1:35 PM > To: use-revolution at lists.runrev.com > Subject: Re: Storing images > > > Perhaps my gripe stems (as usual) from a lack of understanding. I've > tried something like this -- importing as a control some image. But I > didn't want it on the card where I imported it (not thinking about where I > was; okay, it wasn't really me it was a student) and so I clicked on it > and hit the delete key. On the same card, I tried "show image imageName" > and got nothing. Now, if I recall correctly in HC, you can delete it on > the card (or funny color draw) layer but the image is still there in the > stack, waiting for you to show it again whenever you wish. > > Am I wrong? It's always sooo nice to be wrong about such things! > > Judy > > On Tue, 4 Feb 2003, J. Landman Gay wrote: > > > I think there's some confusion -- you don't have to embed an image > > multiple times. Only one copy is needed. Actually, the Revolution way > > acts almost identically to HyperCard's resource-fork method, the only > > difference is that instead of placing the image in the Mac-only resource > > fork, you place it somewhere in the stack itself (or in any stack that > > is in the message hierarchy, such as a substack.) Once you get the image > > imported, it can be used over and over again without any duplication, > > just as addcolor does in HC. > > > > For example, in my Klondike game I have a card that the user never sees > > which stores all the images the stack needs. The game uses > > playing-card-sized buttons which constantly update their image to > > simulate whatever playing card is currently "face up". Scripts change > > the "playing card" button icon IDs as needed. It is a one-liner to place > > a RAM-based copy of the image if you use a button as the image > container. > > > > In HyperCard, we would issue "addcolor colorBtn" along with a long > > string of parameters. This grabs a temporary copy of the image from the > > resource fork and places it over a button. In Revolution, we issue "set > > the icon of btn x to ". This grabs a temporary copy of the > > image from the data fork and places it into a button as the icon. An > > extra advantage of this method is that, unlike addcolor images, you can > > move the button around without worrying about leaving the image display > > behind on screen. > > > > There is no duplication of the image graphic when you do this; Rev just > > inserts a temporary copy of the image into RAM just as addcolor does > > when it draws the image to screen. The only difference is the location > > of the original source image and, of course, the syntax used to set the > > button image. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From miscdas at boxfrog.com Tue Feb 4 15:40:00 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Tue Feb 4 15:40:00 2003 Subject: Furby.rev (a virtual Furby toy) In-Reply-To: References: Message-ID: <20030204203623.41393.qmail@www.boxfrog.com> Rick Harrison writes: [snip] > I hope I've answered all of your questions to your satisfaction! > > Mr. Harrison Yes, you answered to my satisfaction the single question that I posed. Your additional commentary was useful as well. miscdas From jacque at hyperactivesw.com Tue Feb 4 16:21:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Feb 4 16:21:01 2003 Subject: Storing images References: <200302041952.OAA15812@www.runrev.com> Message-ID: <3E402DC7.8000200@hyperactivesw.com> Judy Perry wrote: > Perhaps my gripe stems (as usual) from a lack of understanding. I've > tried something like this -- importing as a control some image. But I > didn't want it on the card where I imported it (not thinking about where I > was; okay, it wasn't really me it was a student) and so I clicked on it > and hit the delete key. On the same card, I tried "show image imageName" > and got nothing. Now, if I recall correctly in HC, you can delete it on > the card (or funny color draw) layer but the image is still there in the > stack, waiting for you to show it again whenever you wish. > > Am I wrong? It's always sooo nice to be wrong about such things! No, you aren't wrong. When you deleted the original imported image, you removed the image data. To compare to HC, that would be the equivalent of deleting an image from the resource fork. Whether it is the data fork or the resource fork, you've got to have an original somewhere for the engine to make copies of. Some of the confusion may be because resource forks are usually invisible, so the process of storing an image there isn't as obvious. But when you import an image into Rev, the object that appears on the card is the actual image data, not a copy of one stored elsewhere. The image you see on the card is exactly equivalent to the image data that HC stores in the resource fork. It's the original copy. There are a couple of ways to deal with what happened. If you only need to display the image once in the stack, then just select the mis-imported image, cut, go to the card where it should have been imported, and paste it. If instead you want to use the image as the source for multiple copies: note its ID number and then, if you want to, hide the image. Wherever you want a copy displayed, make a button and set the button's icon to the ID of the image. The general idea is: you need a source image no matter what. In HC, the source is stored in the resource fork where you can't see it. In Rev, the source is stored in the data fork where you *can* see it as an actual object on a card. Once a source image is available, both Rev and HC can display multiple copies of it; HC by using addcolor calls, Rev by using icon IDs. All this applies only if you want to embed the images within the stack file. Others have posted about the advantages of reading the image from disk, which is another option. Depends on what you need to do, and how large the images are. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From miscdas at boxfrog.com Tue Feb 4 16:29:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Tue Feb 4 16:29:01 2003 Subject: Furby.rev (a virtual Furby toy) In-Reply-To: <20030204203623.41393.qmail@www.boxfrog.com> References: <20030204203623.41393.qmail@www.boxfrog.com> Message-ID: <20030204212519.48308.qmail@www.boxfrog.com> Rick Harrison writes: [snip] > > It's cute, but there is no way to quit the application > under OS 9.2.2 You could have accomplished your goal of informing the list with the above line. Then you could have also sent a private message to William with your suggestion below, even leaving out any negative comments. If you are familiar with "sandwich a negative between two poitives", I'm sure you could have given him the "bad news" in a totally positive light. Perhaps you have forgotten what it was like to be eleven? Any kind of recognition from the adult world for an accomplishment does wonders for a child's psyche. > You might want to tell William to try adding some sounds > to spice it up. == miscdas From ttasovac at princeton.edu Tue Feb 4 16:37:02 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Tue Feb 4 16:37:02 2003 Subject: unicode in pre-beta In-Reply-To: Message-ID: <2F5DA826-3888-11D7-8D51-000393D60E0C@princeton.edu> I agree, there are serious Unicode problems in pre-beta -- I have already written to Tuviah about it, and will share the info with the list if he gets back to me. Also, I've discovered that pre-beta wouldn't open a stack in OS X if it's contained within a folder that has Cyrillic characters in its name. Once I moved the stacks to the desktop, I could open them without any problems. Interestingly enough, 1.1.1 didn't care if the folder names were non-English. T. On Tuesday, February 4, 2003, at 08:43 PM, Igor de Oliveira Couto wrote: > >> Tuviah wrote: >> >>> I'm personally >>> look forward to feedback on Unicode, >> >> I was anxiously awaiting Unicode, but after playing with it for just >> a few minutes, it doesn't seem to be working very well yet (Mac OS >> 10.1.5, Jpnese kotoeri input). > I must also admit I've found the international character handling > still quite unacceptable at this pre-beta stage. I have been working > on an Esperanto stack, a language which uses characters such as > c+circumflex (?), g+circumflex (?), and u+breve (?) among others. All > these have to be typed with the 'US Extended' keyboard layout in MacOS > X (10.2). > > > Igor > ---------------------------------- > igor at pixelmedia.com.au > ---------------------------------- ________________________________ Toma Tasovac Princeton University Department of Comparative Literature 91 Prospect Avenue Princeton, NJ 08544 USA ttasovac at princeton.edu ttasovac at post.harvard.edu From janschenkel at yahoo.com Tue Feb 4 16:40:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 4 16:40:01 2003 Subject: QT Movies playing roughly In-Reply-To: Message-ID: <20030204213619.5509.qmail@web11901.mail.yahoo.com> --- Graham Samuel wrote: > On Tue, 4 Feb 2003 04:44:32 -0800 (PST) Jan Schenkel > > wrote: > > > >Hi Graham, > > > >A few things spring to mind: > >- Is it possible that another object overlaps the > >player ? > >- What's the setting of the 'alwaysBuffer' property > of > >the player and the stack ? > > > >Jan Schenkel. > > Hi Jan > > Thanks for the interest. The alwaysBuffer of the > mainstack, the > substack in question and the player objects are all > set to true. I'm > not sure what you mean by 'overlap', but naturally > as the user drags > the player object it passes across a number of other > objects - > usually rectangular graphics without scripts in > them. The players > never enter each other's space, as it were, although > they are > sometimes asked to play simultaneously (this doesn't > seem to be a > problem in itself). > > Do underlying objects get messages saying the > drag/grab is taking > place? If so, I could try to investigate these. > > So far then, no real answer - but thanks again. > > Graham > -- Hi Graham, Even though buffering eliminates flicker, it takes up cpu-time and memory, so that may actually be slowing the display down, especially in low-memory situations where the OS has to swap memory to hard disk. As for overlapping: what I mean is if one of the rectangles goes straight 'through' a player object ? Because then RunRev has to do extra work: it has to get the frame from QuickTime, and then draw the piece of rectangle over it, and it has to do it every frame it shows. From sdwagen at punahou.edu Tue Feb 4 16:51:00 2003 From: sdwagen at punahou.edu (Steve Wagenseller) Date: Tue Feb 4 16:51:00 2003 Subject: Furby.rev (a virtual Furby toy) In-Reply-To: <20030204212519.48308.qmail@www.boxfrog.com> Message-ID: <64DD0EDD-388A-11D7-8DF7-003065905428@punahou.edu> On Tuesday, February 4, 2003, at 11:25 AM, miscdas at boxfrog.com wrote: > Any kind of recognition from the adult world for an accomplishment > does wonders for a child's psyche. Thanks for sharing! S. From livfoss at blueyonder.co.uk Tue Feb 4 18:53:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Feb 4 18:53:01 2003 Subject: QT Movies playing roughly Message-ID: On Tue, 4 Feb 2003 13:08:11 -0500 Howard Bornstein wrote: > >This may be a bit odd but maybe, if the cause is that your computer is >underpowered, you can ease its burden by setting the playrate of the >player to a value lower than 1. This will cause the movie to play slower, >which may give it a smoother appearance. > >Unfortunately, this screws up the soundtrack, which means you may have to >separate the soundtrack into a different file and play it simultaneously >with the movie. If it doesn't need to be "synced" to the movie, though, >this might work. Thanks Howard, but the idea of these movies is to show something specific by speed variations (it's an electrical simulation, so that the more 'volts' that are applied to the object shown in the movie, the faster it moves, etc. And if the polarity is reversed, the movie goes into reverse - these effects can be achieved in a few lines of script for a QT movie). The change of sound pitch with the different speeds adds to the realism of the movie, so that's OK. However what I want is that the movie plays according to spec, I mean if my script demands that it's 15 fps then it should be 15, not 15, 15, 12, 3, 0, 0 , 0, 15 at successive intervals, which is what I'm getting now. What I really can't understand is why the movies should play roughly from within the Revolution environment, but normally when run by the QuickTime Movie Player on the same machine - isn't the QT Player just a different wrapper around the API that the Revo engine uses? BTW, these movies worked fine on quite early PowerPC chips (I am rewriting an old SuperCard app as a training exercise, so the movies have been around quite a time). On Tue, 4 Feb 2003 06:44:06 -0600 "Chipp Walters" wrote: > >Graham, > >Are you using any "on idle" handlers to control the animation? > >You might also want to look at an animaged gif for this type of thing. >Also, look at the 'send' command instead of 'on idle' (if you're using it). > Chipp, thanks for your interest - Nope, there are absolutely no 'on idle' handlers in my code as far as I know. While the movie is playing, the app isn't doing anything at all apart from waiting for mouse activity within the Revo engine. I'm not too familiar with the details of animated gifs, but I'm not sure that the speed variations, reverses and sound tracks could be generated with the same simplicity as with a QT movie. QT seems to be absolutely made for the job. Gentlemen, I'm sure there is an explanation, and I would take a bet that it lies with my own stupidity, but I haven't spotted it yet. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From chipp at chipp.com Tue Feb 4 19:04:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Tue Feb 4 19:04:00 2003 Subject: QT Movies playing roughly In-Reply-To: Message-ID: Graham, If you care to post it to a website, I'd be glad to DL it and take a look at it for you. I'm on a WinXP system though... -Chipp From diskot123 at juno.com Tue Feb 4 19:23:01 2003 From: diskot123 at juno.com (Tuviah M Snyder) Date: Tue Feb 4 19:23:01 2003 Subject: unicode in pre-beta Message-ID: <20030204.191645.3876.1.diskot123@juno.com> >You can now type and edit Japanese OK in a >single field, which is nice, but you cannot seem to move anything from >one field to another via script without it messing up (although >copy/paste works OK). Try set the unicodetext of fld 2 to the unicodetext of fld 1 or to preserve styles set the htmltext of fld 2 to the htmltext of fld 1 Of course you can set the textfont of the second field to a unicode font, and it should just work. Whether text displays in unicode depends on it's textfont. I recall HC actually saved the textfont information in a variable, which led to sluggish performance, but may have been why it worked there. > Moreover, if you want to delete or move a single >Jpnese 2 byte character, you must still treat it as two characters (eg. >delete character 1 to 2 of field 1 deletes just the first Jpnese >character). Well if the field is all unicode, you can assume that every character is 2 bytes. It actually simplifies a lot of chunk operations, and is cross platform. Because the engine supports binary data, and because text in a field may be unicode or non unicode we decided to stay with referencing text in a field by byte, rather than character. I mean suppose you move the text from a field to a custom property, and then into a variable, should it retain the textfont of the field it was originally from? Tuviah Snyder Runtime Revolution Limited - The Solution for Software Development From jswitte at bloomington.in.us Tue Feb 4 19:57:01 2003 From: jswitte at bloomington.in.us (Jim Witte) Date: Tue Feb 4 19:57:01 2003 Subject: Storing images In-Reply-To: Message-ID: <2E3AAD90-38A4-11D7-B514-000393BF0854@bloomington.in.us> >> *embedded* into the stacks; if you don't, you can leave them on disk >> and reference them as many times > I understand that the resource fork thing was very MacClassic oriented. > Still, one wonders why there isn't a ca 1987 elegant, modern solution > in > 2003. [..] why, once you've embedded something, you have to re-embed > it with each > usage. I haven't read this thread *that* closely or done much (anything really) with embedding images yet, so excuse my ignorance if appropriate. Would it be possible to embed the image on one card (like a PICT resource or whatnot), and then reference that image other places in the stack (to avoid "re-embedding bloat")? Jim From diskot123 at juno.com Tue Feb 4 19:59:00 2003 From: diskot123 at juno.com (Tuviah M Snyder) Date: Tue Feb 4 19:59:00 2003 Subject: use-revolution digest, Vol 1 #1102 - 14 msgs Message-ID: <20030204.195247.3876.6.diskot123@juno.com> >I must also admit I've found the international character handling still >quite unacceptable at this pre-beta stage. I have been working on an >Esperanto stack, a language which uses characters such as c+circumflex >(??), g+circumflex (??), and u+breve (??) among others. All these have to >be typed with the 'US Extended' keyboard layout in MacOS X (10.2). OK, please do me a favor, and send me sample stacks so I can test with these languages to tuviah at runrev.com >I believe the problem is that a lot of the 'internal' text routines in >Revolution are actually handled by scripts, and transcript does not >seem to REALLY be able to handle Unicode Wrong. If anything it's the opposite, many of the internal engine routines were rewritten from scratch to support Unicode (You asked for it you got it!)The UI is in the process of being adjusted to keep up with these changes. Tuviah Snyder Runtime Revolution Limited - The Solution for Software Development From katir at hindu.org Tue Feb 4 20:10:00 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Tue Feb 4 20:10:00 2003 Subject: Storing images In-Reply-To: Message-ID: <0EC12D82-38A6-11D7-8316-003065FB9830@hindu.org> What is the difference between storing it in a resource fork and storing it in a substack, or as an image in a group that can be placed on any card. Both the latter do not add any more data to the stack...there is only one copy of the imagedata in the stack even though it appears in multiple instances. On Monday, February 3, 2003, at 07:09 PM, Judy Perry wrote: > I understand that the resource fork thing was very MacClassic oriented. > Still, one wonders why there isn't a ca 1987 elegant, modern solution > in > 2003. > > Yes, there are many different ways of doing one thing; problem is, it > doesn't matter if they're all equally inelegant/non-intuitive. > > Maybe it's the non-assembly code programmer in me, but it's just not > clear > why, once you've embedded something, you have to re-embed it with each > usage. This is just nuts. This results in bloatware. From monte at sweattechnologies.com Tue Feb 4 20:13:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Feb 4 20:13:01 2003 Subject: Storing images In-Reply-To: <2E3AAD90-38A4-11D7-B514-000393BF0854@bloomington.in.us> Message-ID: Would it be possible to embed the image on one card (like > a PICT resource or whatnot), and then reference that image other places > in the stack (to avoid "re-embedding bloat")? > Hi Jim Using a PICT resource is how you do it HyperCard. In Rev there is an image control. The image data that the image control displays can be either imported into the image control and saved with the stack or you can set the fileName property of the image to use an external file. To answer your question: Each control has an id. You can use the id of an image as an icon reference in a button. So if you want to display the image again you find out the id of the image then create a new transparent button and set the icon of the button to the id of the image. Cheers Monte From jperryl at ecs.fullerton.edu Tue Feb 4 20:13:47 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Feb 4 20:13:47 2003 Subject: Storing images In-Reply-To: <0EC12D82-38A6-11D7-8316-003065FB9830@hindu.org> Message-ID: I think that what I really need is a 12-step program for recovering resource fork-aholics... ;-) Judy On Tue, 4 Feb 2003, Sannyasin Sivakatirswami wrote: > What is the difference between storing it in a resource fork and > storing it in a substack, or as an image in a group that can be placed > on any card. Both the latter do not add any more data to the > stack...there is only one copy of the imagedata in the stack even > though it appears in multiple instances. From jeanne at runrev.com Tue Feb 4 21:25:10 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Feb 4 21:25:10 2003 Subject: Furby.rev (a virtual Furby toy) In-Reply-To: References: <20030204170341.66547.qmail@www.boxfrog.com> Message-ID: At 12:19 PM -0800 2/4/03, Rick Harrison wrote: >I deliberately sent this to the list to inform others who might decide >to try the program that it doesn't quit properly under Mac OS 9.2.2. This brings up a tip that some might not know about: Since Revolution quits when its last window closes (and this also applies to Revolution applications), you can quit an application like "Furby" even if it doesn't have a menu bar of its own, by closing its stack window. This applies to all platforms, so long as the close box hasn't been removed (it's there in the Furby stack). That being said, I know tensions have been high but surely we can have a little fun with a cute and creative game like this, from a young programmer, without some of the sniping I've seen today? Please. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From timothy.hart5 at verizon.net Tue Feb 4 21:57:01 2003 From: timothy.hart5 at verizon.net (Tim Hart) Date: Tue Feb 4 21:57:01 2003 Subject: Playing Mp3s and keeping them going Message-ID: Hello all, Hope 2.0 comes out soon. Just wondering if anyone can tell me how to keep a sound file playing when I go from card to card. I have set a player and set it to play on preopencard. I want it to keep playing when I go to the next card. Any help? Thanks. tim From kkaufman at snet.net Tue Feb 4 22:55:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue Feb 4 22:55:01 2003 Subject: Playing Mp3s and keeping them going Message-ID: <11B3AAAF-38BD-11D7-B342-0003936D1F12@snet.net> Tim, What happens if the player is part of a group which appears on all cards? Or how about playing the sound file as an imported audioClip? (I'm phrasing this as a question because I don't know the answer, but you might try these possibilities if no one else steps in with a definitive answer). HTH, Kurt From tsj at unimelb.edu.au Tue Feb 4 23:11:01 2003 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue Feb 4 23:11:01 2003 Subject: QT Movies playing roughly In-Reply-To: Message-ID: <3DAEDFA0-38BF-11D7-9B1F-000393AEC28C@unimelb.edu.au> On Wednesday, February 5, 2003, at 04:20 AM, Graham Samuel wrote: > On Tue, 4 Feb 2003 04:44:32 -0800 (PST) Jan Schenkel > wrote: >> >> Hi Graham, >> >> A few things spring to mind: >> - Is it possible that another object overlaps the >> player ? >> - What's the setting of the 'alwaysBuffer' property of >> the player and the stack ? >> >> Jan Schenkel. > > Hi Jan > > Thanks for the interest. The alwaysBuffer of the mainstack, the > substack in question and the player objects are all set to true. I'm > not sure what you mean by 'overlap', but naturally as the user drags > the player object it passes across a number of other objects - usually > rectangular graphics without scripts in them. The players never enter > each other's space, as it were, although they are sometimes asked to > play simultaneously (this doesn't seem to be a problem in itself). And herein lies your problem - trying to drag 'active' player objects around the screen is bound to cause problems even on very fast systems. Hate to say it but this sort of task would probably be better solved using either Director or Flash without reference to QT. Cheers, Terry... > > Do underlying objects get messages saying the drag/grab is taking > place? If so, I could try to investigate these. > > So far then, no real answer - but thanks again. > > Graham > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Esa.Kivela at ncrc.fi Wed Feb 5 01:13:01 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Wed Feb 5 01:13:01 2003 Subject: VS: VS: pre-beta Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD637@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Kevin Miller [mailto:kevin at runrev.com] > L?hetetty: 4. helmikuuta 2003 17:35 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: VS: pre-beta > > > On 4/2/03 6:19 am, Esa Kivel? wrote: > > > Btw, did You guys fix in RR 2.0 that printing problem wich > prints many pages > > ie. from text field and in the pages are only few lines of > text per page? > > Please test it and let us know if it is still happening for you. Yep as soon as I get that RR 2.0 update for RR 1.1 :-) Others have also discuss that problem also in the list. EsaK From Esa.Kivela at ncrc.fi Wed Feb 5 01:22:00 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Wed Feb 5 01:22:00 2003 Subject: VS: newbie:visuall effect Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD638@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Judy Perry [mailto:jperryl at ecs.fullerton.edu] > L?hetetty: 4. helmikuuta 2003 21:13 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: newbie:visuall effect > > > Hi Esa, Greetings from Finland :-) > > I believe visual effects could perhaps be better thought of > as 'transition > effects' -- as in when one moves from one card to another. *Nods* I use that too but in that LPMUD editor, wich I code by RR its used to show some help text fields (ie. how set room attributes [light, direcrtions where MUD player can move], how make weapons, monsters, doors, armours etc.) and their hide buttons. EsaK From Esa.Kivela at ncrc.fi Wed Feb 5 01:42:01 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Wed Feb 5 01:42:01 2003 Subject: pre-beta -> print bug? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD639@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Kevin Miller [mailto:kevin at runrev.com] > L?hetetty: 4. helmikuuta 2003 17:35 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: VS: pre-beta > > > On 4/2/03 6:19 am, Esa Kivel? wrote: > > > Btw, did You guys fix in RR 2.0 that printing problem wich > prints many pages > > ie. from text field and in the pages are only few lines of > text per page? > > Please test it and let us know if it is still happening for you. Yep I downloaded that pre beta 2.0 and yes same result: its print to one text field about 30 lines text -> about 35 pages and in one page is only 4-7 lines text and large pace between lines. System: Windows 2000 prinnter: RICOH Afigio 1045 (LAN printter) RR vesrion where tested that problem: RR 1.1.1 (licensed), 2.0 pre beta Kevin: I can send that stack to You if You can see it? It's a so call "training generator" to my group wich randomly pick up one training and there is a print button wich print that text field if someone like to get print about that training. EsaK From Esa.Kivela at ncrc.fi Wed Feb 5 01:43:01 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Wed Feb 5 01:43:01 2003 Subject: pre-beta print bug? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD63A@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Esa Kivel? > L?hetetty: 5. helmikuuta 2003 8:38 > Vastaanottaja: 'use-revolution at lists.runrev.com' > Kopio: 'mailto:kevin at runrev.com' > Aihe: pre-beta -> print bug? > > > > > > -----Alkuper?inen viesti----- > > L?hett?j?: Kevin Miller [mailto:kevin at runrev.com] > > L?hetetty: 4. helmikuuta 2003 17:35 > > Vastaanottaja: use-revolution at lists.runrev.com > > Aihe: Re: VS: pre-beta > > > > > > On 4/2/03 6:19 am, Esa Kivel? wrote: > > > > > Btw, did You guys fix in RR 2.0 that printing problem wich > > prints many pages > > > ie. from text field and in the pages are only few lines of > > text per page? > > > > Please test it and let us know if it is still happening for you. > > Yep I downloaded that pre beta 2.0 and yes same result: its > print to one text field about 30 lines text -> about 35 pages > and in one page is only 4-7 lines text and large pace between lines. > > System: Windows 2000 > prinnter: RICOH Afigio 1045 (LAN printter) > RR vesrion where tested that problem: RR 1.1.1 (licensed), > 2.0 pre beta > > Kevin: I can send that stack to You if You can see it? It's a > so call "training generator" to my group wich randomly pick > up one training and there is a print button wich print that > text field if someone like to get print about that training. > > EsaK > From Esa.Kivela at ncrc.fi Wed Feb 5 01:46:01 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Wed Feb 5 01:46:01 2003 Subject: VS: RevPrintField Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD63B@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Dan Friedman [mailto:dan at clearvisiontech.com] > L?hetetty: 4. helmikuuta 2003 22:05 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: RevPrintField > > > Fellow Revolutionaries... > > Anyone experienced any problems with revPrintField on windows? *EsaK rase his hand up* Disscussed earlier with subject "pre-beta -> print bug?" in this list EsaK From gcanyon at inspiredlogic.com Wed Feb 5 02:01:02 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Feb 5 02:01:02 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: <20030203232956.43987.qmail@web20003.mail.yahoo.com> Message-ID: Rev Navigator does this in Revolution -- and a lot more: http://www.inspiredlogic.com/navigator On Monday, February 3, 2003, at 03:29 PM, erik hansen wrote: > except that i miss the MC tool that showed all of > the controls grouped by groups. > regards, Geoff Canyon gcanyon at inspiredlogic.com From monte at sweattechnologies.com Wed Feb 5 02:06:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Feb 5 02:06:01 2003 Subject: pre-beta -> print bug? In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E02AD639@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: Hi Esa It's quite likely that this is a printer driver bug. I think that the reason that Rev users see it and other software doesn't have a problem is because the revPrinField command sets the fixedLineHeight to false. If you test on your system the with following code: set the fixedLineHeight of fld 1 to false set the formatForPrinting of this stack to true I'm reasonably confident that you will see what is being printed. So the best we can do is ask RunRev to set all the properties of the templateField to the source field reference and then make sure that we ourselves use fixedLineHeight in our fields. Regards Mente From erikhans08 at yahoo.com Wed Feb 5 02:16:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Feb 5 02:16:01 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: Message-ID: <20030205071156.5942.qmail@web20004.mail.yahoo.com> --- Geoff Canyon wrote: > Rev Navigator does this in Revolution -- and a > lot more: > http://www.inspiredlogic.com/navigator > > On Monday, February 3, 2003, at 03:29 PM, erik > hansen wrote: > > > except that i miss the MC tool that showed > all of > > the controls grouped by groups. looks great. how does Navigator compliment Application Overview? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From livfoss at blueyonder.co.uk Wed Feb 5 04:00:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Wed Feb 5 04:00:01 2003 Subject: QT Movies playing roughly/dragging Message-ID: Folks, I appear to be guilty of confusing the list about two separate problems I have. The result is that people have given me advice which doesn't quite fit either case. Problem One is that I find that small QT movies play roughly/jerkily on all platforms. Problem Two is that certain image objects can't keep up with the mouse when moved around the screen by my user under control of a 'grab' command. I can't see the difference in the script or the image characteristics of these misbehaving objects and others that allow themselves to be grabbed without problems. This issue seems only to affect Windows builds on slowish PCs. The confusion arises because I mentioned in one mail that the reason for using QT movies rather than some other type of animation is that I want to allow my user to move the player objects around the screen - but the player objects are never playing while they're being moved: I only set them playing when they arrive at specific spots on the screen. Thus comments to the effect "you shouldn't expect good performance if you let your user move a player object while the movie is actually playing" don't apply to my case. Using the good advice of folks on this list I will now experiment with the various parameters suggested for the two issues, and report back under separate headings. Thanks for everyone's help so far, and apologies for the confusion. Graham > -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From Esa.Kivela at ncrc.fi Wed Feb 5 04:55:01 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Wed Feb 5 04:55:01 2003 Subject: VS: pre-beta -> print bug? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD63D@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Monte Goulding [mailto:monte at sweattechnologies.com] > L?hetetty: 5. helmikuuta 2003 9:02 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: RE: pre-beta -> print bug? > > > > Hi Esa Greetings :-) > > It's quite likely that this is a printer driver bug. I think > that the reason > that Rev users see it and other software doesn't have a > problem is because > the revPrinField command sets the fixedLineHeight to false. > If you test on > your system the with following code: > > set the fixedLineHeight of fld 1 to false > set the formatForPrinting of this stack to true > > I'm reasonably confident that you will see what is being printed. > > So the best we can do is ask RunRev to set all the properties of the > templateField to the source field reference and then make sure that we > ourselves use fixedLineHeight in our fields. Tested and won't help. Same print result reamins: only about 4-7 lines per each page, whole about 30 pages from only one text filed where is about 40 line. The newest printter dirve has installed. So that problem remains with RR. EsaK From wmb at internettrainer.com Wed Feb 5 06:15:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Wed Feb 5 06:15:01 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: <20030203230341.75868.qmail@web20009.mail.yahoo.com> Message-ID: <76D4A3C6-38FA-11D7-815C-003065430226@internettrainer.com> On Dienstag, Februar 4, 2003, at 12:03 Uhr, erik hansen wrote: > could there be an advantage to developing an app > in RR then running it in MC? yes, a big one: a stable updated (actual) MC engine...(what we can expect first time in 2.0) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From wmb at internettrainer.com Wed Feb 5 06:20:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Wed Feb 5 06:20:01 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: <20030203232956.43987.qmail@web20003.mail.yahoo.com> Message-ID: <2C702AD8-38FB-11D7-815C-003065430226@internettrainer.com> On Dienstag, Februar 4, 2003, at 12:29 Uhr, erik hansen wrote: > the thing is, it just FEELS better to work in RR. that the point for some (lot) of us;)) > except that i miss the MC tool that showed all of > the controls grouped by groups. have a look german rev board. There is a MC stack from Klaus. Maybe thats what you are looking for... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From wmb at internettrainer.com Wed Feb 5 06:27:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Wed Feb 5 06:27:01 2003 Subject: Storing images In-Reply-To: <20030204001055.6685.qmail@web20010.mail.yahoo.com> Message-ID: <1B191B58-38FC-11D7-815C-003065430226@internettrainer.com> On Dienstag, Februar 4, 2003, at 01:10 Uhr, erik hansen wrote: > any benefit of importing the image files? for example what I use it for: a stack structure where stacks can easily be changed (updated) even from unexperienced users without thinking in the file path... or change the whole app from one medium f.o. Cd, net to any other medium HD USB Drive stick Firewire etc... also without thinking in the file path... my non scripter 2 cent... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From benr_mc at cogapp.com Wed Feb 5 07:53:01 2003 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed Feb 5 07:53:01 2003 Subject: Rotating Images without enlarging the image space In-Reply-To: Message-ID: > Does anyone know how to rotate an image by 90 degrees without creating > a larger image? I need to rotate clock or anti-clockwise by a straight > 90 degrees. Problem is, all rotations seem to enlarge to the square of > the largest side. Save moving the data pixel-by-pixel using a > Transcript matrix transform (slowish) is there another way? I don't > fancy lots of imagedata manipulation... I'm sure there is a simple way. > Currently I'm rotating, grouping and resizing group (brings corners > in). Not good. Unfortunately there isn't, AFAIK, an option to rotate without enlarge; the only solution I have found is to rotate then crop. Using the built-in rotate, and then 'manually' (ie in a transcript function) cropping, is still much quicker than writing your own rorate code (at least, with my attempt!). Depending on your needs, you can write your own crop routine now (remember - using 'repeat for each', although more clumsy, is _much_ faster than 'repeat with'); or wait for Rev 2.0 which has a crop command built in. 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 benr_mc at cogapp.com Wed Feb 5 07:57:01 2003 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed Feb 5 07:57:01 2003 Subject: [OT] ODBC driver for SQL Server on MacOS X? Message-ID: Slightly off-topic, but I only want this so I can use it with the revdb functions... Does anyone know how I can get hold of an ODBC driver to let my rev app on MacOS X access MS SQL Server databases on the network? 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 jhurley at infostations.com Wed Feb 5 08:15:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Wed Feb 5 08:15:00 2003 Subject: Storing images In-Reply-To: <200302042355.SAA23224@www.runrev.com> References: <200302042355.SAA23224@www.runrev.com> Message-ID: >Jim Hurley wrote: > > >> Perhaps "inelegant" isn't the word, but it can be cumbersome to set >> the button icon to the image if you want to use different sizes on >> different card. You need a preOpenCard handler on each card on which >> the image appears in order to set the size of the image on that card. >> (If you lock the position and size you needn't worry about the >> location. That is held fixed. But you can reset the size through the >> script even though the imaged is lock.) Scott Rossi wrote: >If I understand the intent of your comment, you should consider using >groups. If you want an image to appear on every card, simply place it in a >group whose backgroundBehavior is set to true. This way the image will >appear on every card that contains the group with no preOpenCard necessary. >If you want a card with no image, simply remove the group from that card. > Scott, I'm afraid I didn't make myself clear. I was addressing the issue in which the image appears on certain select cards, perhaps two or three, *and* they are to be of different sizes. Under these circumstances, referencing the image from the disk is the simpler method; otherwise a preOpenCard script is necessary to rezise the image stored in the icon. > > A more elegant or less cumbersome solution (and idiot proof for the > > end user) would be to embed the single images in some "secret" place >> from which they might be referenced and a different size and >> location for the image could be locked on each card. > >Again, a group is one solution. Or, place all your master images into a >substack "library" and create images and/or buttons that reference the >substack. Thank you for this suggestion. A group wouldn't work for me--the image is to be placed only on selective cards. But importing from a substack might. How does one import the image from the subgroup to the main stack? And may the image then be sized on each card in the main stack when imported without appending a preOpenCard script? >The methods for storing and displaying images in Rev/MC are actually very >numerous. And with the recent introduction of PNG support, there's now >almost nothing that Rev/MC can't handle. (Granted, my own wish is to have >irregular masks for image display, but there are workarounds for this.) > >If anyone is running into a specific problem, post it to the list -- I'm >sure one of the knowledgeable people here will offer a solution. Thank you again; you have already offered possible solutions. Jim From James.Cass at sealedair.com Wed Feb 5 09:21:01 2003 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Wed Feb 5 09:21:01 2003 Subject: [OT]: Revolution Polo Shirts/T-Shirts Message-ID: This may have come up before, but are there any plans to have Revolution apparel? I would proudly wear a Revolution Polo-type shirt to work. T-Shirts and caps would be schweet as well. Just don't stop working on Rev. 2 for this! :-) Revolution rocks! -Cassj -------------- next part -------------- An HTML attachment was scrubbed... URL: From bvlahos at mac.com Wed Feb 5 10:41:01 2003 From: bvlahos at mac.com (Bill Vlahos) Date: Wed Feb 5 10:41:01 2003 Subject: [OT]: Revolution Polo Shirts/T-Shirts In-Reply-To: Message-ID: <997E093E-391F-11D7-859F-0003936A2C42@mac.com> I agree. A cap would be the best for me. Bill Vlahos On Wednesday, February 5, 2003, at 06:12 AM, James.Cass at sealedair.com wrote: > > This may have come up before, but are there any plans to have > Revolution apparel? > I would proudly wear a Revolution Polo-type shirt to work. > T-Shirts and caps would be schweet as well. > > Just don't stop working on Rev. 2 for this! ? ?:-) > > Revolution rocks! > -Cassj -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 444 bytes Desc: not available URL: From revlists at canelasoftware.com Wed Feb 5 10:46:01 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Wed Feb 5 10:46:01 2003 Subject: Rotating Images without enlarging the image space In-Reply-To: Message-ID: <5F8B383E-3920-11D7-9669-000393C3F5BC@canelasoftware.com> On Wednesday, February 5, 2003, at 04:47 AM, Ben Rubinstein wrote: >> Does anyone know how to rotate an image by 90 degrees without creating >> a larger image? I need to rotate clock or anti-clockwise by a >> straight >> 90 degrees. Problem is, all rotations seem to enlarge to the square >> of >> the largest side. Save moving the data pixel-by-pixel using a >> Transcript matrix transform (slowish) is there another way? I don't >> fancy lots of imagedata manipulation... I'm sure there is a simple >> way. >> Currently I'm rotating, grouping and resizing group (brings corners >> in). Not good. > > Unfortunately there isn't, AFAIK, an option to rotate without enlarge; > the > only solution I have found is to rotate then crop. Using the built-in > rotate, and then 'manually' (ie in a transcript function) cropping, is > still > much quicker than writing your own rorate code (at least, with my > attempt!). > Depending on your needs, you can write your own crop routine now > (remember - > using 'repeat for each', although more clumsy, is _much_ faster than > 'repeat > with'); or wait for Rev 2.0 which has a crop command built in. take a look at the angle property. This may help a bit. Best regards, Mark Talluto http://www.canelasoftware.com From cowhead at mac.com Wed Feb 5 11:15:00 2003 From: cowhead at mac.com (mark mitchell) Date: Wed Feb 5 11:15:00 2003 Subject: unicode in beta In-Reply-To: <200302050703.CAA32571@www.runrev.com> Message-ID: <744DEB4E-3924-11D7-BF0F-0030656DAB8E@mac.com> Tuviah wrote: > Try > > set the unicodetext of fld 2 to the unicodetext of fld 1 > Hey, that works, congratulations! Now everything looks like it is working pretty well, provided you start with 2 'fresh' unicode font fields. I was opening up old stacks that already had non-unicode Japanese written in the fields, and these do not work so well under the new engine. It may end up being a lot of work to use old stacks containing Japanese, since it looks like we've got to recode the scrips as well, but I haven't really played with them much yet. I also discovered that this works: put the unicodeText of character 7 to 8 of field 1 into character 7 to 8 of field 2 but not ".....into the unicode text of character 7 to 8 of field 1" or variations thereof. Any other nifty lines we should be aware of? Also, if if you accidently type Japanese in the messagebox (as everyone does) you can't just delete and retype the english. Will switching the message box to a unicode font fix this? mm From gcanyon at inspiredlogic.com Wed Feb 5 11:26:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Feb 5 11:26:01 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: <20030205071156.5942.qmail@web20004.mail.yahoo.com> Message-ID: They're pretty much independent of one another. You can use either or both. On Tuesday, February 4, 2003, at 11:11 PM, erik hansen wrote: > > --- Geoff Canyon > wrote: >> Rev Navigator does this in Revolution -- and a >> lot more: >> http://www.inspiredlogic.com/navigator >> >> On Monday, February 3, 2003, at 03:29 PM, erik >> hansen wrote: >> >>> except that i miss the MC tool that showed >> all of >>> the controls grouped by groups. > > looks great. > how does Navigator compliment Application Overview? > > ===== > erik at erikhansen.org http://www.erikhansen.org > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > regards, Geoff Canyon gcanyon at inspiredlogic.com From alrice at ARCplanning.com Wed Feb 5 12:06:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Feb 5 12:06:01 2003 Subject: [OT] ODBC driver for SQL Server on MacOS X? In-Reply-To: Message-ID: <756BBF26-392B-11D7-9DFF-000393529642@ARCplanning.com> On Wednesday, February 5, 2003, at 05:52 AM, Ben Rubinstein wrote: > Slightly off-topic, but I only want this so I can use it with the revdb > functions... > > Does anyone know how I can get hold of an ODBC driver to let my rev > app on > MacOS X access MS SQL Server databases on the network? Here is what I learned about ODBC on OS X. Since it's not documented ANYWHERE, that I can find, other than here: http://www.openlinksw.com/support/macosx-faq.htm 1.1.1 doesn't support ODBC on OS X. But once Rev 2.0 rolls around, I would get commercial ODBC drivers from OpenLink. There are open-source drivers, but probably not compiled for OS X and you could spend weeks banging your head and trying to compile it. OS X ships with ODBC Administrator.app , which seems entirely useless. It has no DSN configuration panels, and can't recognize any drivers, in my experience. If you download the SDK or a driver package from openlinksw it will install /Applications/Utilities/iODBC/iODBC Administrator.app This app is the real thing, it has a detailed configuration panel for each DSN. The ODBC Administrator.app that ships with OS X seems to basically useless; one might as well write odbc.ini files by hand. BTW iODBC Administrator writes User DSNs to ~/Library/Preferences/ODBC.preference If you have Microsoft Query installed, it seems to use it's own version of "iODBC Data Source Chooser". Not sure about that though. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From bvg at mac.com Wed Feb 5 12:47:01 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed Feb 5 12:47:01 2003 Subject: Storing images In-Reply-To: Message-ID: <35C168D4-3931-11D7-8396-003065AD94A4@mac.com> This thread confuses me, so I made some experiments, to clarify all this for me, I will list the results of them here (if this is useful for any of you then that is your own fault!): setting the icon: set the icon of button "foo" to image "bar" this will reference the exact same picture (same size) from the image to the button. You cannot set the icon of an image (they do not have any). setting imagedate: set the imagedata image "foo" to the imagedata of image "bar" you should not do this, when the two images have a diffrent size. That will result in garbage. If they are the same size then this will copy the image. the image"foo" will contain the image directly, no matter if image "bar" was referenced, original or only shows a file from the hard disk. Buttons do not have imagedata, so you cant do that with them. put into: put image "foo" into image "bar" This will empty (grey) the image "bar", when the original image is a referenced image (contains something in the "filepath"). If the Image "foo" is an imported image, or a reference to another image within the stack, then this will copy the image. Thus, when you delete the image "foo" then image "bar" will remain unchanged. If the lockLoc of "bar" is true, then the image will scale to the size of "bar", otherwise it will resize to the size of the original image. set filename: set the filename of image "foo" to the filename of image "bar" set the filename of image "foo" to "binfile:foo/bar/foobar" set the filename of image "foo" to "http://foo/bar/foobar" set the filename of image "foo" to "foo/bar/foobar" this will copy/generate the reference to a file on the hard disk to image "foo". If the file on the hard disk gets removed, then the image will show nothing (grey) when loaded next time (eg "go card"). If image "bar" is set to a certain size and the lockLoc property is true, then the image will scale to that size, otherwise it will resize to the size of the original file on the hard disk. import: import paint from file "foo/bar/foobar" This will generate a new Image-Object, containing the image directly, instead of a reference to a file on the hard disk. I found no way to reference a image-object to another imageobject, similar to what you can do with the icon of buttons. This is probably also the problem over which Jim Hurley stumbled, as you cannot resize the referenced icon of a button, whereas you can resize a Image whit a filepath. Please answer with other ways of referencing/copying images so I can make a list and pin it next to my Screen. thank you Bjoernke From webart at kenjikojima.com Wed Feb 5 13:43:01 2003 From: webart at kenjikojima.com (Kenji Kojima) Date: Wed Feb 5 13:43:01 2003 Subject: unicode in pre-beta In-Reply-To: <20030204.191645.3876.1.diskot123@juno.com> Message-ID: <13EEF6FC-3939-11D7-96B8-000A27941ED2@kenjikojima.com> Hi, How can I import 2 bytes text file into a field? I tried to import a Japanese text file. answer file "" put "file:"&it into tUrl set the unicodeText of field 1 to URL tUrl But it did not work. I got a rainbow cursor long while (it's OSX) and Chinese like garbage characters in the field. Maybe I needed to convert from ASCII code to unicode before set the unicodeText. Thanks, -- Kenji Kojima http://www.kenjikojima.com/ From dcragg at lacscentre.co.uk Wed Feb 5 13:53:00 2003 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed Feb 5 13:53:00 2003 Subject: Storing images In-Reply-To: <35C168D4-3931-11D7-8396-003065AD94A4@mac.com> References: <35C168D4-3931-11D7-8396-003065AD94A4@mac.com> Message-ID: At 6:42 pm +0100 5/2/03, Bj?rnke von Gierke wrote: >This thread confuses me, so I made some experiments, to clarify all >this for me, I will list the results of them here (if this is useful >for any of you then that is your own fault!): :) >I found no way to reference a image-object to another imageobject, >similar to what you can do with the icon of buttons. This is >probably also the problem over which Jim Hurley stumbled, as you >cannot resize the referenced icon of a button, whereas you can >resize a Image whit a filepath. >Please answer with other ways of referencing/copying images so I can >make a list and pin it next to my Screen. Just wondering... When setting the filename to a url (http, binfile, etc), is there any difference in load speed or memory use if you load the url first? It might help when you need to display a large image in a number of places. Cheers Dave From diskot123 at juno.com Wed Feb 5 13:53:11 2003 From: diskot123 at juno.com (Tuviah M Snyder) Date: Wed Feb 5 13:53:11 2003 Subject: Rotating Images without enlarging the image space Message-ID: <20030205.134803.1104.0.diskot123@juno.com> >Does anyone know how to rotate an image by 90 degrees without creating >a larger image? I need to rotate clock or anti-clockwise by a straight > 90 degrees. Problem is, all rotations seem to enlarge to the square of > the largest side. Save moving the data pixel-by-pixel using a > Transcript matrix transform (slowish) is there another way? I don't > fancy lots of imagedata manipulation... I'm sure there is a simple way. > Currently I'm rotating, grouping and resizing group (brings corners > in). Not good. No problem, in 2.0 set the locklocation of the image to true (so it doesn't resize), and then use then set the angle property of the image to rotate. Tuviah Snyder Runtime Revolution Limited - The Solution for Software Development From diskot123 at juno.com Wed Feb 5 13:53:24 2003 From: diskot123 at juno.com (Tuviah M Snyder) Date: Wed Feb 5 13:53:24 2003 Subject: ODBC driver for SQL Server on MacOS X? Message-ID: <20030205.134803.1104.1.diskot123@juno.com> >Does anyone know how I can get hold of an ODBC driver to let my rev app on >MacOS X access MS SQL Server databases on the network? You sure can! ODBC is supported on OSX in 2.0. The ODBC Manager (OpenLink IODBC) is installed with Jaguar. You can download the drivers free to try at http://www.openlinksw.com/ 1) Go to software availablity and download 2) Click on data access download 3) You know what you need..click Next 4) Choose single tier edition to avoid installing a driver on the server 5) Choose 5.0 6) Select ODBC, and Jaguar as the client operating system 7) Then Choose SQLServer lite and whatever other drivers you want.. 8) Login and enter your information and then download. Tuviah Snyder Runtime Revolution Limited - The Solution for Software Development From mmaitzen at iupui.edu Wed Feb 5 13:54:01 2003 From: mmaitzen at iupui.edu (Maitzen, Michael R) Date: Wed Feb 5 13:54:01 2003 Subject: [OT]: Revolution Polo Shirts/T-Shirts Message-ID: <8F38A22EC36A0948B854417D7EC91E0363C66B@iu-mssg-mbx01.exchange.iu.edu> Someone has started doing this with the new SuperCard 4 logo. I got a Polo-type shirt myself but they had T's, bags, sweatshirts, even infant clothing. I did not think SC had the critical mass for that type of thing but obviously someone did. Unfortunatly I can't find an e-mail or link from that transaction and my reciept is at home but if the Revolution folks want to talk to the great people at Solutions Etcetera who sell SuperCard I expect they can find out. I know I would buy one. MRM > From: James.Cass at sealedair.com > Subject: [OT]: Revolution Polo Shirts/T-Shirts > Date: Wed, 5 Feb 2003 09:12:27 -0500 > > This may have come up before, but are there any plans to have Revolution > apparel? > I would proudly wear a Revolution Polo-type shirt to work. > T-Shirts and caps would be schweet as well. > > Just don't stop working on Rev. 2 for this! :-) > > Revolution rocks! > From chipp at chipp.com Wed Feb 5 13:54:07 2003 From: chipp at chipp.com (Chipp Walters) Date: Wed Feb 5 13:54:07 2003 Subject: Storing images In-Reply-To: <35C168D4-3931-11D7-8396-003065AD94A4@mac.com> Message-ID: Bjoernke, Nice post. The best way to reference an image-object to another imageobject is to use the filename property. Then you need store the image only once (on disk) and can reference it multiple times. Those of you Mac HC users are used to doing this in the resource fork. You'll need to create a 'resources' folder. I'm not up on the Mac *that* much, but I seem to remember reading something about OSX being much less flexible regarding 'moving applications' around...so perhaps this isn't as big a deal as it was with previous Mac OS'es... Windows and Linux users are used to having multiple support files for applications. -Chipp > I found no way to reference a image-object to another imageobject, > similar to what you can do with the icon of buttons. This is probably > also the problem over which Jim Hurley stumbled, as you cannot resize > the referenced icon of a button, whereas you can resize a Image whit a > filepath. > Please answer with other ways of referencing/copying images so I can > make a list and pin it next to my Screen. > > thank you > Bjoernke > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From pixelbird at interisland.net Thu Feb 6 04:19:55 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Thu Feb 6 04:19:55 2003 Subject: More about images In-Reply-To: <200302050702.CAA32416@www.runrev.com> Message-ID: Hello Rev list, Here's the scenario (I've posted some of this 8 or 9 months ago, but I think I'm actually ready to work on it in Rev now): In my HC stack I have 2 full screen images of a keyboard and a couple of fields. One is a set of UP keystate images and the other is a set of DOWN keystate images. The thing looks a bit like one of those early TRS-80 portables with the 20 line b&w LCD screens, remember? Anyway, the HC version uses Uli Kusterer's xDraw. The UP keyboard is visible all the time, the DOWN version is registered to it, but exists only in RAM. All the 'keys' are transparent buttons. Pressing down on a button causes the corresponding rect of the DOWN image in RAM to be shown, releasing causes it to disappear. The effect looks quite real because the down keys are properly shaded and the letters are one size smaller (slightly exaggerated, rather like a cartoon), and has corresponding sounds to go with it (an option the user can turn on or off). Now, I know I can make a set of button/icons to work in place of the images, but there are 76 of them and that's a lot of work, considering the time already spent on making the single full screen images. I'd rather write a simple routine that will do the same as it does in HC with Uli's xDraw: Draw corresponding button rects of the DOWN state image. If this is an OK idea then how would I do it in Rev, or must I make two entire sets of icons by copying each button art by hand (152 of them all told)? TIA, Ken N. From pixelbird at interisland.net Thu Feb 6 04:20:00 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Thu Feb 6 04:20:00 2003 Subject: What's happenning to my memory? In-Reply-To: <200302050702.CAA32416@www.runrev.com> Message-ID: Hello Rev list, Well, with much advice and work I finally got my full screen stack to stay put. Whew! It was quite the procedure. I finally got it into position by 1) Setting editMenus to true. I didn't know I had to do that. 2) Resetting the dim's of the stack. I'd already tried that dozens of times, but it always ended up back down where it was. 3) I saved the stack then closed the stack then reopened the stack. a. The first time I opened it, it came back in the correct position. I thought I was home free, but... b. The next time I opened it, it went down where it was before :-( How come? Is this a memory problem? 4) Finally, I tried a preOpenStack script which I had done before but it didn't work: on preOpenStack set the rect of stack "VirtualKeyboard 1.0.rev" to "0,0,800,600" end preOpenStack 5) I opened and closed the stack a number of times to be sure the thing stayed put, which it did, finally. ...However, either opening the Transcript Dictionary or opening/closing the stack 5 or 6 times caused my computer to dig way into Virtual Memory, because the HD was busy for several minutes trying to close Rev, and the screendraws got so slow I could follow the horizontal lines being drawn with my eyes. Anyone know just what may have happened? TIA, Ken N. From terry at discovery.nl Thu Feb 6 04:20:05 2003 From: terry at discovery.nl (Terry Vogelaar) Date: Thu Feb 6 04:20:05 2003 Subject: Unicode inter-app exchange In-Reply-To: <20030118044946.9576.qmail@web20003.mail.yahoo.com> Message-ID: Is there a way to exchange unicode between applications? More specific: I want to exchange Unicode text between runrev and Adobe InDesign, preferably using AppleScript. Can it be done? How? Terry From pixelbird at interisland.net Thu Feb 6 04:20:10 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Thu Feb 6 04:20:10 2003 Subject: Revolution Polo Shirts/T-Shirts In-Reply-To: <200302051627.LAA11027@www.runrev.com> Message-ID: *********** Hi James, > From: James.Cass at sealedair.com > Subject: [OT]: Revolution Polo Shirts/T-Shirts > Date: Wed, 5 Feb 2003 09:12:27 -0500 > This may have come up before, but are there any plans to have Revolution > apparel? > I would proudly wear a Revolution Polo-type shirt to work. > T-Shirts and caps would be schweet as well. ---------- I mentioned this to Heather in a post a year ago. It would go well at many occasions, including Mac conventions. At the time she said she had a vision of all of us clicking away at our computers with Rev T-shirts on, but knew of no plans to have them. I'm glad you brought up the subject. Maybe now is the time. Any others interested? Ken N. From kray at sonsothunder.com Thu Feb 6 04:29:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 6 04:29:01 2003 Subject: Storing images References: <35C168D4-3931-11D7-8396-003065AD94A4@mac.com> Message-ID: <017b01c2cd51$036ceb30$6f00a8c0@mckinley.dom> Thanks, Bj?rnke! This comprehensive information is very helpful... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Bj?rnke von Gierke" To: Sent: Wednesday, February 05, 2003 11:42 AM Subject: Re: Storing images > This thread confuses me, so I made some experiments, to clarify all > this for me, I will list the results of them here (if this is useful > for any of you then that is your own fault!): > > setting the icon: > set the icon of button "foo" to image "bar" > > this will reference the exact same picture (same size) from the image > to the button. > You cannot set the icon of an image (they do not have any). > > setting imagedate: > set the imagedata image "foo" to the imagedata of image "bar" > > you should not do this, when the two images have a diffrent size. That > will result in garbage. If they are the same size then this will copy > the image. the image"foo" will contain the image directly, no matter if > image "bar" was referenced, original or only shows a file from the hard > disk. > Buttons do not have imagedata, so you cant do that with them. > > put into: > put image "foo" into image "bar" > > This will empty (grey) the image "bar", when the original image is a > referenced image (contains something in the "filepath"). > If the Image "foo" is an imported image, or a reference to another > image within the stack, then this will copy the image. Thus, when you > delete the image "foo" then image "bar" will remain unchanged. If the > lockLoc of "bar" is true, then the image will scale to the size of > "bar", otherwise it will resize to the size of the original image. > > set filename: > set the filename of image "foo" to the filename of image "bar" > set the filename of image "foo" to "binfile:foo/bar/foobar" > set the filename of image "foo" to "http://foo/bar/foobar" > set the filename of image "foo" to "foo/bar/foobar" > > this will copy/generate the reference to a file on the hard disk to > image "foo". If the file on the hard disk gets removed, then the image > will show nothing (grey) when loaded next time (eg "go card"). If image > "bar" is set to a certain size and the lockLoc property is true, then > the image will scale to that size, otherwise it will resize to the size > of the original file on the hard disk. > > import: > import paint from file "foo/bar/foobar" > > This will generate a new Image-Object, containing the image directly, > instead of a reference to a file on the hard disk. > > > > > I found no way to reference a image-object to another imageobject, > similar to what you can do with the icon of buttons. This is probably > also the problem over which Jim Hurley stumbled, as you cannot resize > the referenced icon of a button, whereas you can resize a Image whit a > filepath. > Please answer with other ways of referencing/copying images so I can > make a list and pin it next to my Screen. > > thank you > Bjoernke > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Rdac4 at aol.com Thu Feb 6 04:33:01 2003 From: Rdac4 at aol.com (Rdac4 at aol.com) Date: Thu Feb 6 04:33:01 2003 Subject: home stack Message-ID: <1cc.1be5518.2b72e924@aol.com> Can you tell me what the definition of a home stack is? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From janschenkel at yahoo.com Thu Feb 6 04:38:08 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Feb 6 04:38:08 2003 Subject: More about images In-Reply-To: Message-ID: <20030206092938.24785.qmail@web11905.mail.yahoo.com> --- "Ken Norris (dialup)" wrote: > [snip] > > Now, I know I can make a set of button/icons to work > in place of the images, > but there are 76 of them and that's a lot of work, > considering the time > already spent on making the single full screen > images. I'd rather write a > simple routine that will do the same as it does in > HC with Uli's xDraw: Draw > corresponding button rects of the DOWN state image. > > If this is an OK idea then how would I do it in Rev, > or must I make two > entire sets of icons by copying each button art by > hand (152 of them all > told)? > > TIA, > Ken N. > Hi Ken, Try this scenario: - group the "Down" image (yes, just the one image) - set the rect of the group to the rect you want to display every time - set the lockLocation of the group to true - hide the group Then when you need to display: - set the hScroll of group "DOWN" to X - set the vScroll of group "DOWN" to Y - show group "DOWN" That ought to do the trick. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From steve at messimercomputing.com Thu Feb 6 04:41:02 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Thu Feb 6 04:41:02 2003 Subject: Animations in groups Message-ID: <615BEE10-3951-11D7-9332-000A27D75508@messimercomputing.com> Hi, I would really like to use the animation manager to make animations in groups. This would allow me to hide the group after the animation is shown. Thus far I have been unable to do this. The documentation suggests that animations are creatures of cards In the mean time I have used the move command. It works fine but is limited to straight paths . Has anybody ever been able to do this? thanks, Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com From erikhans08 at yahoo.com Thu Feb 6 04:47:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Thu Feb 6 04:47:01 2003 Subject: inherit from owner In-Reply-To: <34D2C9F4-29BD-11D7-85E1-0003937A97B8@genesearch.com.au> Message-ID: <20030206023616.40041.qmail@web20009.mail.yahoo.com> the properties (colors) palette has an "inherit from owner" button, but i can't find a way to script this in the docs. any ideas? TIA ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From rbarber at yhb.att.ne.jp Thu Feb 6 04:48:03 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Thu Feb 6 04:48:03 2003 Subject: unicode in pre-beta In-Reply-To: <13EEF6FC-3939-11D7-96B8-000A27941ED2@kenjikojima.com> Message-ID: Hi Kenji > > How can I import 2 bytes text file into a field? > I tried to import a Japanese text file. > > answer file "" > put "file:"&it into tUrl > set the unicodeText of field 1 to URL tUrl > > But it did not work. I got a rainbow cursor long while (it's OSX) > and Chinese like garbage characters in the field. > Maybe I needed to convert from ASCII code to unicode > before set the unicodeText. I'll let Tuviah give the authoritative answer to this but this issue has caused me a great deal of frustration. I am gradually coming to get consistent behavior. Yes, you need to convert from ascii code to unicode 16 before you import a stack. At this point, RR will not import JSIS. I have used both cyclone and uctrans: http://www2u.biglobe.ne.jp/~kitabo/ uctrans seems to do a better job. Recently, Tuviah told me offlist that she had just modified the uniencode function to support converting from shift-JIS, and other common encoding to unicode and vice versa. So maybe we will be able to do this in the future. HTH Ron PS perhaps you can forward important problems/questions from the Japan list. I can't seem to keep up. From erikhans08 at yahoo.com Thu Feb 6 04:54:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Thu Feb 6 04:54:00 2003 Subject: standalone as desktop In-Reply-To: Message-ID: <20030206005018.79603.qmail@web20001.mail.yahoo.com> thanks again for all the help. my HP app has a menu "btns" and a menu "flds" that allow the user to hide/show controls on the "desktop" (card) while they work. each control or proto-group of controls had a checkmark for each menuItem. the settings were stored when the page was closed. in RR all of this is taken care of in Application Overview. better. the query: in a standalone, is there any way for the user to utilize groups, Application Overview, etc. to hide/show controls as needed? if yes, great! if no, the work was not in vain! ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From gcanyon at inspiredlogic.com Thu Feb 6 04:59:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Thu Feb 6 04:59:01 2003 Subject: dynamic controls In-Reply-To: <06845BC2-351E-11D7-8C9F-003065D52E8E@mac.com> Message-ID: <5F2F45CE-39A1-11D7-B3D2-003065683ECC@inspiredlogic.com> > But runtimes/standalones will have the 10 statement limit > just like the starter kit. > > This ONLY appeals to new created objects (during runtime). > That last bit isn't quite clear (it fooled me until I thought about it). The ten line limit applies in the Starter Kit and in standalones. The ten line limit applies whenever you are trying to set the script of any object, newly created or not. Objects that have existing scripts longer than ten lines will continue to work. It is only when trying to set the script of an object (any object) that the limit applies. regards, Geoff Canyon gcanyon at inspiredlogic.com From bornstein at designeq.com Thu Feb 6 05:08:00 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Thu Feb 6 05:08:00 2003 Subject: Rotating Images without enlarging the image space Message-ID: <200302060513.h165DexF013804@ms-smtp-02.nyroc.rr.com> >No problem, in 2.0 set the locklocation of the image to true (so it >doesn't resize), and then use then set the angle property of the image to >rotate. Are you saying that in 2.0, the angle property will also apply to images? In the 1.1.1 docs it says "set the angle of a _graphic_ to angledegrees" "Use the angle property to create an arc shape or to rotate a regular polygon." Nothing about images (or has this always been there undocumented)? Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From scott at tactilemedia.com Thu Feb 6 05:10:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Feb 6 05:10:01 2003 Subject: Storing images In-Reply-To: Message-ID: Recently, "Jim Hurley" wrote: >>> A more elegant or less cumbersome solution (and idiot proof for the >>> end user) would be to embed the single images in some "secret" place >>> from which they might be referenced and a different size and >>> location for the image could be locked on each card. >> >> Again, a group is one solution. Or, place all your master images into a >> substack "library" and create images and/or buttons that reference the >> substack. > > Thank you for this suggestion. A group wouldn't work for me--the > image is to be placed only on selective cards. Just in case you didn't catch this, groups *can* be placed on selective cards. You can either manually place groups on the cards you want, or create a series of cards with the group applied and then remove the group from cards as needed. > But importing from a > substack might. How does one import the image from the subgroup to > the main stack? You don't need to import the image (it's already in your stack!), you simply reference the id of the image: set the icon of btn display to id of img source of stack library Or set the imageData of your target image (which effectively duplicates the source image, as opposed to referencing it, as above): set the imageData of img display to \ the imageData of img source of stack library > And may the image then be sized on each card in the > main stack when imported without appending a preOpenCard script? How would you expect to resize an image without using a script? In any event, as Bj?rnke noted, setting the imageData of one image to another apparently requires that the width/height of both image objects be equal. Then imageData can be set without issue, and the target image can be resized as needed. set rect of img display to rect of img source of stack library set imageData of img display to imageData of img source of stack library Bottom line is, if you need the ability to resize images, you'll need to work with image objects, not referenced buttons. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From klausimausi at mac.com Thu Feb 6 05:16:08 2003 From: klausimausi at mac.com (Klaus Major) Date: Thu Feb 6 05:16:08 2003 Subject: More about images In-Reply-To: <20030206092938.24785.qmail@web11905.mail.yahoo.com> Message-ID: <56F8536E-39BB-11D7-9D8D-003065D52E8E@mac.com> Hi Ken, > --- "Ken Norris (dialup)" > wrote: >> [snip] >> >> Now, I know I can make a set of button/icons to work in place of the >> images, >> but there are 76 of them and that's a lot of work, considering the >> time >> already spent on making the single full screen images. I'd rather >> write a >> simple routine that will do the same as it does in HC with Uli's >> xDraw: Draw >> corresponding button rects of the DOWN state image. >> >> If this is an OK idea then how would I do it in Rev, or must I make >> two >> entire sets of icons by copying each button art by hand (152 of them >> all told)? >> >> TIA, >> Ken N. this is another approach to your problem. The kudos goes to Mr. anonymous :-) (Someone posted the stack "X-ray" to the MC-site looooong ago...) I requires that you group the (single) DOWN-image. Lets call that group "down". Then you can set the groups rect (and the loc of that DOWN-image) to the correct place... And you might need a "keyhole" graphic, which is as big as needed (The DOWN-image will be shown at this rect...) on mouseDown lock screen set the rect of group "down" to the rect of grc "keyhole" set the loc of image "DOWN" to the loc of img "UP" ### you get the picture... set the loc of grc "keyhole" to the mouseLoc ### here you might want to add your location unlock screen end mouseDown on mouseUp set the loc of group "keyhole" to -5000,-5000 ### get rid of it, until we need it again... end mouseUp Hope that helps... Regards Klaus Major klausimausi at mac.com From klausimausi at mac.com Thu Feb 6 05:18:01 2003 From: klausimausi at mac.com (Klaus Major) Date: Thu Feb 6 05:18:01 2003 Subject: dynamic controls In-Reply-To: <5F2F45CE-39A1-11D7-B3D2-003065683ECC@inspiredlogic.com> Message-ID: <8E3FF298-39BB-11D7-9D8D-003065D52E8E@mac.com> Hi Geoff, >> But runtimes/standalones will have the 10 statement limit >> just like the starter kit. >> >> This ONLY appeals to new created objects (during runtime). >> > > That last bit isn't quite clear (it fooled me until I thought about > it). The ten line limit applies in the Starter Kit and in standalones. > The ten line limit applies whenever you are trying to set the script > of any object, newly created or not. Objects that have existing > scripts longer than ten lines will continue to work. It is only when > trying to set the script of an object (any object) that the limit > applies. EXACTLY :-) > regards, > > Geoff Canyon Regards Klaus Major klausimausi at mac.com From klausimausi at mac.com Thu Feb 6 05:25:00 2003 From: klausimausi at mac.com (Klaus Major) Date: Thu Feb 6 05:25:00 2003 Subject: Rotating Images without enlarging the image space In-Reply-To: <200302060513.h165DexF013804@ms-smtp-02.nyroc.rr.com> Message-ID: <7D3EDD58-39BC-11D7-9D8D-003065D52E8E@mac.com> Hi Howard, >> No problem, in 2.0 set the locklocation of the image to true (so it >> doesn't resize), and then use then set the angle property of the >> image to >> rotate. > > Are you saying that in 2.0, the angle property will also apply to > images? Yes. > In the 1.1.1 docs it says "set the angle of a _graphic_ to > angledegrees" > "Use the angle property to create an arc shape or to rotate a regular > polygon." > > Nothing about images (or has this always been there undocumented)? It was supposed to be a surprise :-) No, it is just a new feature... > Howard Bornstein Regards Klaus Major klausimausi at mac.com From janschenkel at yahoo.com Thu Feb 6 05:30:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Feb 6 05:30:00 2003 Subject: dynamic controls In-Reply-To: <5F2F45CE-39A1-11D7-B3D2-003065683ECC@inspiredlogic.com> Message-ID: <20030206102542.75797.qmail@web11903.mail.yahoo.com> --- Geoff Canyon wrote: > > But runtimes/standalones will have the 10 > statement limit > > just like the starter kit. > > > > This ONLY appeals to new created objects (during > runtime). > > > > That last bit isn't quite clear (it fooled me until > I thought about > it). The ten line limit applies in the Starter Kit > and in standalones. > The ten line limit applies whenever you are trying > to set the script of > any object, newly created or not. Objects that have > existing scripts > longer than ten lines will continue to work. It is > only when trying to > set the script of an object (any object) that the > limit applies. > Of course if you can know in advance which script they need, you can always 'clone' a library control, and then it gets that script without violating the 10-line limit. So with a little bit of c reative scripting you ca __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From janschenkel at yahoo.com Thu Feb 6 05:34:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Feb 6 05:34:01 2003 Subject: dynamic controls In-Reply-To: <5F2F45CE-39A1-11D7-B3D2-003065683ECC@inspiredlogic.com> Message-ID: <20030206102955.31848.qmail@web11905.mail.yahoo.com> --- Geoff Canyon wrote: > > But runtimes/standalones will have the 10 > statement limit > > just like the starter kit. > > > > This ONLY appeals to new created objects (during > runtime). > > > > That last bit isn't quite clear (it fooled me until > I thought about > it). The ten line limit applies in the Starter Kit > and in standalones. > The ten line limit applies whenever you are trying > to set the script of > any object, newly created or not. Objects that have > existing scripts > longer than ten lines will continue to work. It is > only when trying to > set the script of an object (any object) that the > limit applies. > Of course if you can know in advance which script they need, you can always 'clone' a library control, and then it gets that script without violating the 10-line limit. So with a little bit of creative scripting you can : - prepare a 'library control' in the RunRev IDE - 'clone' this library control at standalone runtime - set a few custom properties to modify its behaviour Admittedly, not as elegant as being able to change scripts dynamically, but it just might do the trick for you -- all depends on the purpose. Jan Schenkel. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From dleyanna at rtl.org Thu Feb 6 05:35:00 2003 From: dleyanna at rtl.org (Dave LeYanna) Date: Thu Feb 6 05:35:00 2003 Subject: Revolution Polo Shirts/T-Shirts References: Message-ID: <3E423996.3090403@rtl.org> Interested in a quality T` How about a design contest? djl Ken Norris (dialup) wrote: > *********** > Hi James, > > >>From: James.Cass at sealedair.com >>Subject: [OT]: Revolution Polo Shirts/T-Shirts >>Date: Wed, 5 Feb 2003 09:12:27 -0500 > > >>This may have come up before, but are there any plans to have Revolution >>apparel? >>I would proudly wear a Revolution Polo-type shirt to work. >>T-Shirts and caps would be schweet as well. > > ---------- > I mentioned this to Heather in a post a year ago. It would go well at many > occasions, including Mac conventions. At the time she said she had a vision > of all of us clicking away at our computers with Rev T-shirts on, but knew > of no plans to have them. > > I'm glad you brought up the subject. Maybe now is the time. > > Any others interested? > > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From janschenkel at yahoo.com Thu Feb 6 05:37:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Feb 6 05:37:01 2003 Subject: inherit from owner In-Reply-To: <20030206023616.40041.qmail@web20009.mail.yahoo.com> Message-ID: <20030206103222.66172.qmail@web11901.mail.yahoo.com> --- erik hansen wrote: > the properties (colors) palette has an > "inherit from owner" button, > but i can't find a way > to script this in the docs. any ideas? > Hi Erik, Try something like this: set the foregroundColor of field "FooBar" to empty Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From livfoss at blueyonder.co.uk Thu Feb 6 05:39:02 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu Feb 6 05:39:02 2003 Subject: Still need help with grab problems Message-ID: Hi folks I have a problem which I've described before, but I believe I have tried all suggestions made by listers (like fiddling with the alwaysBuffer property, etc.) and I'm still foxed, so I'm just going to state the issue again in case anyone can help. I have a stack which displays a card on which there are a number of static graphic objects, and at the top layer there are also some image objects. The user can move these around the screen with the mouse. The script in each image for the moving is just on mouseDown grab me end mouseDown When these images arrive at certain places on the screen, other scripts come into play, but during the movement, it's just grabbing. Now, this works fine on my Macs, with a reasonably smooth traversal and the image keeping up with the physical mouse movement, but on the PC versions the image gets stuck when crossing a certain area of the screen, and can take tens of seconds to catch up with the mouse. I have tried to work out what is unique about this screen area, and it seems that 'below' the image at this point is a coloured (filled) rectangle, and below that a player object with a (stopped) QT movie in it. The strange thing is that I have tried to reduce this problem to its essentials by just recreating a single image traversing a rectangle with a player object under it, and there doesn't seem to be a problem. There must be some other factor coming into play (perhaps the total number of objects in the window?) but I can't think of a way of attacking it, since AFAIKS it's not a scripting issue. Any ideas would be gratefully received. As a perhaps relevant aside, what do people think is now the minimum sensible hardware and software combination on a PC to run the Revo 1.1. engine? I know my PCs are way out of date, but as a Mac person I don't know what to suggest to my users as a minimum setup. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From erikhans08 at yahoo.com Thu Feb 6 06:03:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Thu Feb 6 06:03:01 2003 Subject: Rotating Images without enlarging the image space In-Reply-To: Message-ID: <20030205235154.2431.qmail@web20002.mail.yahoo.com> --- Ben Rubinstein wrote: > > Does anyone know how to rotate an image by 90 > > degrees without creating a larger image? > Unfortunately there isn't, AFAIK, an option to > rotate without enlarge; the > only solution I have found is to rotate then > crop. Using the built-in > rotate, and then 'manually' (ie in a transcript > function) cropping, is still > much quicker than writing your own rorate code > (at least, with my attempt!). > Depending on your needs, you can write your own > crop routine now (remember - > using 'repeat for each', although more clumsy, > is _much_ faster than 'repeat > with'); or wait for Rev 2.0 which has a crop > command built in. when i rotated my folk dancer images in 45 degree increments, the result involved some tweening and distortion that is probably a good solution in general, but did not work for me. so i just created new 32 by 32 icons on a 45 degree bias. a challenge but do-able. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From alrice at ARCplanning.com Thu Feb 6 06:05:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Feb 6 06:05:01 2003 Subject: ODBC driver for SQL Server on MacOS X? In-Reply-To: <20030205.134803.1104.1.diskot123@juno.com> Message-ID: On Wednesday, February 5, 2003, at 11:48 AM, Tuviah M Snyder wrote: >> Does anyone know how I can get hold of an ODBC driver to let my rev >> app > on >> MacOS X access MS SQL Server databases on the network? > You sure can! ODBC is supported on OSX in 2.0. The ODBC Manager > (OpenLink > IODBC) is installed with Jaguar. You can download the drivers free to > try > at http://www.openlinksw.com/ > Were you able to use the ODBC Administrator.app that ships with OS X? It didn't work for me. The Openlink drivers install a more functional ODBC Administrator app. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From diskot123 at juno.com Thu Feb 6 06:13:01 2003 From: diskot123 at juno.com (Tuviah M Snyder) Date: Thu Feb 6 06:13:01 2003 Subject: use-revolution digest, Vol 1 #1105 - 15 msgs Message-ID: <20030205.140831.1104.3.diskot123@juno.com> >It may end up being a lot of work to use old stacks >containing Japanese, since it looks like we've got to recode the scrips >as well, but I haven't really played with them much yet. Well if we gave you guys what you wanted, which is to deal with shift-JIS, multibyte, it wouldn't be cross platform, and you would be unsure if a character was indeed one or two bytes. We're also in the process of modifying the uniencode and unidecode property so you will be able to easily convert form shift-JIS, utf8 to unicode and vice versa. When typing plain text (ASCII character 0 to 255) the engine actually saves that as one byte per character. If you want to know for sure, it's always good to check the textfont of a selection. Even when setting the unicodetext, the engine optimizes. It also always saves *carriage* returns, tabs, as one byte per character. This is to save memory, hard disk space, and speed up processing. Rather than bloat everything, and go with everything is a unicode character like Java, we decided to find a way for unicode to fit in comfortably with the ASCII text. If you plan to manipulate unicode text in your variables, and want to ensure that it is two bytes per character you should always get the unicodetext of a field or selection first..this will convert all character in a field (even if they are not using a unicode font) to 2 byte per character. Then when your done manipulating the text, set the unicodetext of that field or selection. For those who may be wishing to write some unicode processing algorithms, they can check out the useunicode property, and numtochar and chartonum routines. I would be interested in hearing what if any special challenges people have run into when modifying their programs to deal with unicode. Tuviah Snyder Runtime Revolution Limited - The Solution for Software Development -------------- next part -------------- An HTML attachment was scrubbed... URL: From erikhans08 at yahoo.com Thu Feb 6 06:15:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Thu Feb 6 06:15:01 2003 Subject: Storing images In-Reply-To: <1B191B58-38FC-11D7-815C-003065430226@internettrainer.com> Message-ID: <20030205235659.24520.qmail@web20006.mail.yahoo.com> --- "Wolfgang M. Bereuter" wrote: > > any benefit of importing the image files? > > for example what I use it for: a stack > structure where stacks can > easily be changed (updated) even from > unexperienced users without > thinking in the file path... > or change the whole app from one medium f.o. > Cd, net to any other > medium HD USB Drive stick Firewire etc... > also without thinking in the file path... > my non scripter 2 cent... so when using various configurations of stacks and platforms, it may be easier to keep the iamages externally stored. makes sense, thanks. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From miscdas at boxfrog.com Thu Feb 6 06:18:00 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Thu Feb 6 06:18:00 2003 Subject: Rotating Images without enlarging the image space In-Reply-To: <200302060513.h165DexF013804@ms-smtp-02.nyroc.rr.com> References: <200302060513.h165DexF013804@ms-smtp-02.nyroc.rr.com> Message-ID: <20030206111430.71249.qmail@www.boxfrog.com> Howard Bornstein writes: > Are you saying that in 2.0, the angle property will also apply to images? > In the 1.1.1 docs it says "set the angle of a _graphic_ to angledegrees" > > "Use the angle property to create an arc shape or to rotate a regular > polygon." > > Nothing about images (or has this always been there undocumented)? > > Howard Bornstein ========== As I recall, the MC Help entry for Angle mentions objects in general. An image is an object, therefore... In any case, it does indeed work for setting the display angle of images with MC 2.4.3 on WinXP pro. Note it is for integer values for degrees only. If you want an animation, it will be very slow rotation for large images. I noted for looping in 1 degree steps that it took about 1 second per step for my specific test image. miscdas From benr_mc at cogapp.com Thu Feb 6 06:20:01 2003 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu Feb 6 06:20:01 2003 Subject: Revolution Polo Shirts/T-Shirts In-Reply-To: <3E423996.3090403@rtl.org> Message-ID: Not that this is what I want the Rev team to be concentrating on... but there is a low-impact way to get into this game, using CafePress . You create the artwork, and then do the whole thing from your browser - upload the artwork file, choose the products (t-shirts, mugs, mousemats etc) and set the prices, and end up with an online store selling items with your artwork. They run the whole thing, fulfill the orders etc and send you the profits. I've never used their service, either as a seller or buyer (so I don't know what the print quality is, etc); but they seem to have grown a lot, so they may be doing a good job. At any rate, if RunRev were to do anything in this area, this way probably involves the least effort and upfront cost. 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 benr_mc at cogapp.com Thu Feb 6 06:40:01 2003 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu Feb 6 06:40:01 2003 Subject: ODBC driver for SQL Server on MacOS X? In-Reply-To: Message-ID: Thanks Tuvia and Alex - very helpful. I'd found the OpenLink site, but got completely lost in it! 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 rbarber at yhb.att.ne.jp Thu Feb 6 07:07:01 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Thu Feb 6 07:07:01 2003 Subject: shift-JIS and Unicode In-Reply-To: <20030205.140831.1104.3.diskot123@juno.com> Message-ID: Hi Tuviah > >> It may end up being a lot of work to use old stacks >> containing Japanese, since it looks like we've got to recode the scrips >> as well, but I haven't really played with them much yet. > Well if we gave you guys what you wanted, which is to deal with > shift-JIS, multibyte, it wouldn't be cross platform, and you would be > unsure if a character was indeed one or two bytes. We're also in the > process of modifying the uniencode and unidecode property so you will be > able to easily convert form shift-JIS, utf8 to unicode and vice versa. I think that you are going in the right direction here. It will be very helpful to have this ability within RR itself. I agree that we should not expect you to _use_ SJIS/JIS but it will be great if we can do something like: answer file "" put "binfile:"&it into tUrl put URL tUrl into thetext put unidecode(thetext,SJIS) into convertedtext set the unicodeText of field 1 to convertedtext > When typing plain text (ASCII character 0 to 255) the engine actually > saves that as one byte per character. If you want > to know for sure, it's always good to check the textfont of a selection. > Even when setting the unicodetext, the engine optimizes. It also always > saves > *carriage* returns, tabs, as one byte per character. This is to save > memory, hard disk space, and speed up processing. Rather than bloat > everything, and go with everything is a unicode character like Java, we > decided to find a way for unicode to fit in comfortably with the ASCII a wise decision that helps us in the long run. > > For those who may be wishing to write some unicode processing algorithms, > they can check out the useunicode property, and numtochar and chartonum > routines. I would be interested in hearing what if any special challenges > people have run into when modifying their programs to deal with unicode. I'll let you know as soon as I give it a thorough workout. Thanks again Ron From jbradshaw at blueyonder.co.uk Thu Feb 6 07:17:00 2003 From: jbradshaw at blueyonder.co.uk (Jez) Date: Thu Feb 6 07:17:00 2003 Subject: Program Executable Location Message-ID: <000501c2cd59$07f70d90$d3841f3e@Jez2> Can I access the location of the executable being run ? For example, if I create the standalone "C:\Program Files\MyApp\Myexe.exe" I want to programmatically get the directory "C:\Program Files\MyApp" so that I can store some files underneath this. Also when running in browse mode I would like the same code to give me the location of the revolution executable. I am aware that I can examine defaultFolder on startup (which does indeed give you the executable location) and store this in a global variable, but this does not work well when testing the app in browse mode, since if it executes the same code again by that time the defaultFolder will probably point to somewhere else. A more secure way of getting the executable location would be preferable. From klausimausi at mac.com Thu Feb 6 07:27:01 2003 From: klausimausi at mac.com (Klaus Major) Date: Thu Feb 6 07:27:01 2003 Subject: Program Executable Location In-Reply-To: <000501c2cd59$07f70d90$d3841f3e@Jez2> Message-ID: <86113FC0-39CD-11D7-9D8D-003065D52E8E@mac.com> Hi Jez, > Can I access the location of the executable being run ? For example, > if I > create the standalone "C:\Program Files\MyApp\Myexe.exe" I want to > programmatically get the directory "C:\Program Files\MyApp" so that I > can > store some files underneath this. Also when running in browse mode I > would > like the same code to give me the location of the revolution > executable. > > I am aware that I can examine defaultFolder on startup (which does > indeed > give you the executable location) and store this in a global variable, > but > this does not work well when testing the app in browse mode, since if > it > executes the same code again by that time the defaultFolder will > probably > point to somewhere else. A more secure way of getting the executable > location would be preferable. you can use a li'l function like this: function where_am_i get the effective filename of this stack ### will deliver the complete path... set the itemdel to "/" delete item -1 of it ### strip the name of the standalone/stack return it & "/" ## ready for use :-) ## since in earlier days i used to forget the last "/" ## i got used to append it immediately ;-) end where_am_i Is fast, elegant and free ;-) And will of course not touch the working directory/default folder. Hope that helps. Regards Klaus Major klausimausi at mac.com From diskot123 at juno.com Thu Feb 6 07:38:01 2003 From: diskot123 at juno.com (Tuviah M Snyder) Date: Thu Feb 6 07:38:01 2003 Subject: unicode in pre-beta Message-ID: <20030206.073258.1256.0.diskot123@juno.com> >I'll let Tuviah give the authoritative answer to this but this issue has >caused me a great deal of frustration. I am gradually coming to get >consistent behavior. I think you just need to use url "binfile:" rather than "file:" ie. put "binfile:"&it into tUrl >Recently, Tuviah told me offlist that she had just modified the uniencode >function to support converting from shift-JIS, and other common encoding to >unicode and vice versa. So maybe we will be able to do this in the future. Yep, you definitely will. Oh, and last time I checked, I'm a he:-) Tuviah Snyder Runtime Revolution Limited - The Solution for Software Development From danjohnson at 37.com Thu Feb 6 09:15:01 2003 From: danjohnson at 37.com (dan johnson) Date: Thu Feb 6 09:15:01 2003 Subject: Random generator exercise Message-ID: <200302061410.h16EAxS06789@mail25.bigmailbox.com> miscdas writes: Here is yet another approach to the exercise. A SINGLE random number is generated, from which a numeric or an alpha character is generated. There is a .5 probability of generating a numeric, and .5 probablity of generating an alpha. Within the alpha, there is a .5 probablity of being lower case, and .5 probablity of being upper case. on mouseUp put empty into field ?displayField? ask ("How many characters to generate ? (1-9)") put it into charCount repeat charCount times put random(520) into myRandom if myRandom < 261 then ##numeric put (myRandom - 1) div 26 after field ?displayField? else if myRandom < 391 then put 45 into offsetASCII ##lowercase else put -13 into offsetASCII ##uppercase end if put (myRandom ? 1) div 5 + offsetASCII into finalValue put numToChar(finalValue) after field ?displayField? end if end repeat end mouseUp miscdas ######## MISCDAS, That is an unusual non-intuitive solution to the problem. Was this a spin-off of the solution you gave using the text string? Did you happen to run any timing to see how slow the IF-THEN_ELSE conditionals are compared to the "intuitive" solution? I've been reviewing the archives, and noticed you presented some other non-intuitive solutions to other problems. I hope you will be able to continue to present these kinds of thought-provoking methods. Regards, Dan J. ------------------------------------------------------------ http://Game.37.com/ <--- Free Games http://newJoke.com/ <--- J O K E S ! ! ! From webart at kenjikojima.com Thu Feb 6 09:18:01 2003 From: webart at kenjikojima.com (Kenji Kojima) Date: Thu Feb 6 09:18:01 2003 Subject: unicode in pre-beta In-Reply-To: <20030206.073258.1256.0.diskot123@juno.com> Message-ID: <3AC1073E-39DD-11D7-9076-000A27941ED2@kenjikojima.com> Tuviah, Yes, I agree with Ron. Cannot convert to unicode by Runrev itself is not practical way. Most of Japanese people do not have a text conversion program. I have to ask downloading it to users. People do not like it and prefer easier program. Beside we cannot use Web text directory into a program. It is very important. > Yep, you definitely will. Oh, and last time I checked, I'm a he:-) I believe this is not only Ron and me, but every Japanese developer. I hope Runrev 2 supports the function, -- Kenji Kojima http://www.kenjikojima.com/ From kray at sonsothunder.com Thu Feb 6 10:50:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 6 10:50:01 2003 Subject: Animations in groups References: <615BEE10-3951-11D7-9332-000A27D75508@messimercomputing.com> Message-ID: <024601c2cdf7$37e2c5a0$6f00a8c0@mckinley.dom> Stephen, the move command is not limited to straight paths; make a curvy path with the Freehand tool, and do a: move to (the points of ) Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Stephen Messimer" To: Sent: Wednesday, February 05, 2003 3:32 PM Subject: Animations in groups > Hi, > > I would really like to use the animation manager to make animations in > groups. This would allow me to hide the group after the animation is > shown. Thus far I have been unable to do this. The documentation > suggests that animations are creatures of cards > > In the mean time I have used the move command. It works fine but is > limited to straight paths . > > Has anybody ever been able to do this? > > thanks, > > Steve > > Stephen R. Messimer, PA > 208 1st Ave. South > Escanaba, MI 49829 > www.messimercomputing.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Feb 6 10:55:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 6 10:55:01 2003 Subject: Program Executable Location References: <86113FC0-39CD-11D7-9D8D-003065D52E8E@mac.com> Message-ID: <026201c2cdf7$c0f4cc80$6f00a8c0@mckinley.dom> Actually, it's even easier guys... in a standalone, "the directory" points to the folder where the standalone is automatically. When you're developing in Rev, though, "the directory" points to the location of the Revolution application. Basically "the directory" points to the location where the currently running interpreter resides, unless it is changed later by setting the directory to somewhere else. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Klaus Major" To: Sent: Thursday, February 06, 2003 6:21 AM Subject: Re: Program Executable Location > Hi Jez, > > > Can I access the location of the executable being run ? For example, > > if I > > create the standalone "C:\Program Files\MyApp\Myexe.exe" I want to > > programmatically get the directory "C:\Program Files\MyApp" so that I > > can > > store some files underneath this. Also when running in browse mode I > > would > > like the same code to give me the location of the revolution > > executable. > > > > I am aware that I can examine defaultFolder on startup (which does > > indeed > > give you the executable location) and store this in a global variable, > > but > > this does not work well when testing the app in browse mode, since if > > it > > executes the same code again by that time the defaultFolder will > > probably > > point to somewhere else. A more secure way of getting the executable > > location would be preferable. > > you can use a li'l function like this: > > function where_am_i > get the effective filename of this stack > ### will deliver the complete path... > > set the itemdel to "/" > delete item -1 of it > ### strip the name of the standalone/stack > > return it & "/" > ## ready for use :-) > ## since in earlier days i used to forget the last "/" > ## i got used to append it immediately ;-) > end where_am_i > > Is fast, elegant and free ;-) > > And will of course not touch the working directory/default folder. > > Hope that helps. > > > Regards > > Klaus Major > klausimausi at mac.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Feb 6 10:57:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 6 10:57:01 2003 Subject: Storing images References: Message-ID: <026a01c2cdf8$1c2addb0$6f00a8c0@mckinley.dom> Only one comment I'd make, and that is that: set the imageData of image 1 to the imageData of image 2 requires both images to have the same width and height, whereas: put image 1 into image 2 causes image 2 to resize to fit the size of image 1 automatically. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Scott Rossi" To: Sent: Wednesday, February 05, 2003 1:14 PM Subject: Re: Storing images > Recently, "Jim Hurley" wrote: > > >>> A more elegant or less cumbersome solution (and idiot proof for the > >>> end user) would be to embed the single images in some "secret" place > >>> from which they might be referenced and a different size and > >>> location for the image could be locked on each card. > >> > >> Again, a group is one solution. Or, place all your master images into a > >> substack "library" and create images and/or buttons that reference the > >> substack. > > > > Thank you for this suggestion. A group wouldn't work for me--the > > image is to be placed only on selective cards. > > Just in case you didn't catch this, groups *can* be placed on selective > cards. You can either manually place groups on the cards you want, or > create a series of cards with the group applied and then remove the group > from cards as needed. > > > > But importing from a > > substack might. How does one import the image from the subgroup to > > the main stack? > > You don't need to import the image (it's already in your stack!), you simply > reference the id of the image: > > set the icon of btn display to id of img source of stack library > > Or set the imageData of your target image (which effectively duplicates the > source image, as opposed to referencing it, as above): > > set the imageData of img display to \ > the imageData of img source of stack library > > > > And may the image then be sized on each card in the > > main stack when imported without appending a preOpenCard script? > > How would you expect to resize an image without using a script? > > In any event, as Bj?rnke noted, setting the imageData of one image to > another apparently requires that the width/height of both image objects be > equal. Then imageData can be set without issue, and the target image can be > resized as needed. > > set rect of img display to rect of img source of stack library > set imageData of img display to imageData of img source of stack library > > Bottom line is, if you need the ability to resize images, you'll need to > work with image objects, not referenced buttons. > > 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 > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Feb 6 11:00:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 6 11:00:01 2003 Subject: Still need help with grab problems References: Message-ID: <027b01c2cdf8$a644b7a0$6f00a8c0@mckinley.dom> Graham, Dragging things across movies (whether stopped or not) requires a bunch of redrawing; it might be better if the alwaysBuffer property of the movie were set tot true; the other thing to consider is whether you need a movie at all if it's stopped... by that, I mean perhaps you could have a static graphic of the "stopped state" that was displayed most of the time with the player object hidden (its visible set to false), and then when it came time to show the movie, you literally "showed the movie" (i.e. set its visible to true) and played it. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Graham Samuel" To: "Revolution user discussion" Sent: Thursday, February 06, 2003 4:35 AM Subject: Still need help with grab problems > Hi folks > > I have a problem which I've described before, but I believe I have > tried all suggestions made by listers (like fiddling with the > alwaysBuffer property, etc.) and I'm still foxed, so I'm just going > to state the issue again in case anyone can help. > > I have a stack which displays a card on which there are a number of > static graphic objects, and at the top layer there are also some > image objects. The user can move these around the screen with the > mouse. The script in each image for the moving is just > > on mouseDown > grab me > end mouseDown > > When these images arrive at certain places on the screen, other > scripts come into play, but during the movement, it's just grabbing. > > Now, this works fine on my Macs, with a reasonably smooth traversal > and the image keeping up with the physical mouse movement, but on the > PC versions the image gets stuck when crossing a certain area of the > screen, and can take tens of seconds to catch up with the mouse. I > have tried to work out what is unique about this screen area, and it > seems that 'below' the image at this point is a coloured (filled) > rectangle, and below that a player object with a (stopped) QT movie > in it. The strange thing is that I have tried to reduce this problem > to its essentials by just recreating a single image traversing a > rectangle with a player object under it, and there doesn't seem to be > a problem. There must be some other factor coming into play (perhaps > the total number of objects in the window?) but I can't think of a > way of attacking it, since AFAIKS it's not a scripting issue. > > Any ideas would be gratefully received. > > As a perhaps relevant aside, what do people think is now the minimum > sensible hardware and software combination on a PC to run the Revo > 1.1. engine? I know my PCs are way out of date, but as a Mac person I > don't know what to suggest to my users as a minimum setup. > > Graham > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From steve at messimercomputing.com Thu Feb 6 11:06:01 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Thu Feb 6 11:06:01 2003 Subject: animations In-Reply-To: <200302061553.KAA06195@www.runrev.com> Message-ID: <534FB5B3-39EC-11D7-86EF-000A27D75508@messimercomputing.com> Ken, Thanks. This tip is very useful. I will give it a try. Steve On Thursday, February 6, 2003, at 10:53 AM, use-revolution-request at lists.runrev.com wrote: > Stephen, the move command is not limited to straight paths; make a > curvy > path with the Freehand tool, and do a: > > move to (the points of > ) > > Hope this helps, > > Ken Ray > Sons of Thunder Software > Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com From alrice at ARCplanning.com Thu Feb 6 11:08:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Feb 6 11:08:00 2003 Subject: control arrays? Message-ID: <89CA479E-39EC-11D7-9F75-000393529642@ARCplanning.com> Does revolution have the concept of GUI control arrays? This is a useful thing that Cocoa has (actually has GUI control matrices) and I think Java has control arrays too. For instance i need to put a bunch of radio groups into a scrolling group, but won't know until run-time how many there will be. Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From kray at sonsothunder.com Thu Feb 6 11:13:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 6 11:13:01 2003 Subject: home stack References: <1cc.1be5518.2b72e924@aol.com> Message-ID: <02a001c2cdfa$61584c90$6f00a8c0@mckinley.dom> The home stack is the first stack that is opened by Revolution for its interface... but it's just a name... the home stack has no special significance as compared to any other stack. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: To: Sent: Wednesday, February 05, 2003 4:24 PM Subject: home stack > Can you tell me what the definition of a home stack is? Thanks > From jacque at hyperactivesw.com Thu Feb 6 11:48:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Feb 6 11:48:00 2003 Subject: Revolution Polo Shirts/T-Shirts References: <200302060935.EAA22708@www.runrev.com> Message-ID: <3E4290D3.8090306@hyperactivesw.com> "Maitzen, Michael R" wrote: > > Someone has started doing this with the new SuperCard 4 logo. I got a Polo-type shirt myself but they had T's, bags, sweatshirts, even infant clothing. I did not think SC had the critical mass for that type of thing but obviously someone did. Unfortunatly I can't find an e-mail or link from that transaction and my reciept is at home but if the Revolution folks want to talk to the great people at Solutions Etcetera who sell SuperCard I expect they can find out. > > I know I would buy one. A good place to set up customized online purchases is: http://www.cafepress.com/cp/info/ There is no charge to open a basic selling operation, the web site handles all the printing, shipping, and credit card details, and profits from the sales go directly back to the shop owner. If Runtime were to set up a shop there, they might make some pocket change. The only problem is that the store can deal only in US currency -- Runtime would be responsible for currency conversions, which might cost more than profits would cover. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Thu Feb 6 11:53:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Feb 6 11:53:01 2003 Subject: Still need help with grab problems In-Reply-To: Message-ID: "Graham Samuel" wrote: > I have a stack which displays a card on which there are a number of > static graphic objects, and at the top layer there are also some > image objects. The user can move these around the screen with the > mouse. The script in each image for the moving is just > > on mouseDown > grab me > end mouseDown > > When these images arrive at certain places on the screen, other > scripts come into play, but during the movement, it's just grabbing. The grab command is essentially synchronous -- you can't run anything else until the grab action is completed. Is there a reason you can't use your own drag routine? Some time ago, I suggested you use your own drag script instead of the grab command. There are examples in the archives, or you can try entering the following in your message box: go stack url "http://www.tactilemedia.com/panel.mc" Alternatively, you can go to http://www.tactilemedia.com/download Regards, Scott Rossi Tactile Media From scott at tactilemedia.com Thu Feb 6 11:56:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Feb 6 11:56:01 2003 Subject: Storing images In-Reply-To: <026a01c2cdf8$1c2addb0$6f00a8c0@mckinley.dom> Message-ID: "Ken Ray" wrote: > Only one comment I'd make, and that is that: > > set the imageData of image 1 to the imageData of image 2 > > requires both images to have the same width and height, whereas: > > put image 1 into image 2 > > causes image 2 to resize to fit the size of image 1 automatically. Great tip Ken. ...Which further supports the claim that there are numerous ways to deal with storing and displaying images in Rev/MC. :-) Regards, Scott Rossi Tactile Media From janschenkel at yahoo.com Thu Feb 6 12:05:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Feb 6 12:05:01 2003 Subject: control arrays? In-Reply-To: <89CA479E-39EC-11D7-9F75-000393529642@ARCplanning.com> Message-ID: <20030206170043.89851.qmail@web11905.mail.yahoo.com> --- Alex Rice wrote: > Does revolution have the concept of GUI control > arrays? This is a > useful thing that Cocoa has (actually has GUI > control matrices) and I > think Java has control arrays too. For instance i > need to put a bunch > of radio groups into a scrolling group, but won't > know until run-time > how many there will be. > Hi Alex, I've accomplished this in the past with a script similar to this : lock screen -- now setup the template properties set the style of the templateButton to "radiobutton" -- create the buttons in the group repeat for each line tButtonName of tNewButtons create button tButtonName in group "Foobar" set the top of it to tRunningTop add 20 to tRunningTop end repeat -- all done, so redraw screen unlock screen Of course you'll have to do some bookkeeping to remove the buttons etc, but that shouldn't prove too hard. Hope this helped a bit, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From wmb at internettrainer.com Thu Feb 6 12:21:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Feb 6 12:21:00 2003 Subject: Pre-Beta for 2.0 for Mac OS In-Reply-To: <20030204111900.57697.qmail@web11907.mail.yahoo.com> Message-ID: On Dienstag, Februar 4, 2003, at 12:19 Uhr, Jan Schenkel wrote: >> One more thing about the new property palette--maybe >> there should >> still be a menu item in the option menu, or a >> button, to go to the >> object's script. Although the script won't open in >> the palette, it >> will still make a lot of sense to go from one to the >> other. >> > > Or as an icon in the button-row at the top which you > suggested in an earlier post. That would save us quite > a few trips without making things difficult again. dont forget the alt+cmd+ mousepointer over the object - as one of the fastest way to open the script of an object. regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From brad at activadesign.com Thu Feb 6 12:47:01 2003 From: brad at activadesign.com (Bradley Borch) Date: Thu Feb 6 12:47:01 2003 Subject: testing the waters Message-ID: <75AD43CF-39FA-11D7-9EF1-000393C824D2@activadesign.com> Brrr from Maine... I'm new to rev but not to multimedia, been doing it since it was videodiscs, using Tencore, Quest, etc. Been using Director for about six years (too long) now, got burned by investing time & energy in Oracle Media Objects. I'd appreciate any thoughts or help in getting going (I took a HyperCard class in '88 -- eons ago in digital media time). 1) Can rev serve as a replacement for Director? 2) (related to 1) My most recent Dir CD had a lot of Flash animation, and I never used the Dir timeline for animation at all, just "go the frame" stuff. Can I take the same approach in rev using Flash export to swf 5 (the latest that QT 6 supports) and still have some control within the flash animation? I did a test and got mixed results. Any user experiences using rev as a multimedia player with Flash embedded as QT would be most helpful. 3) How does Rev compare to iShell? I tried iShell but it felt really constraining. I know they're different animals, any specific observations would be great. TIA for your input. Brad Borch From ambassador at fourthworld.com Thu Feb 6 13:06:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 6 13:06:01 2003 Subject: Program Executable Location In-Reply-To: <026201c2cdf7$c0f4cc80$6f00a8c0@mckinley.dom> Message-ID: Ken Ray wrote: > Actually, it's even easier guys... in a standalone, "the directory" points > to the folder where the standalone is automatically. When you're developing > in Rev, though, "the directory" points to the location of the Revolution > application. This requires that you keep all of your non-standalone files in your Rev folder, but I prefer to keep each app in its own work folder separate from the application and other work files. The handler below returns the path to the stackfile calling it, and accounts for yet another screwy weirdness of OS X (in this case, the Mach-0 bundle structure unique to OS X): 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 -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From runrev at technetx.com Thu Feb 6 14:00:01 2003 From: runrev at technetx.com (runrev at technetx.com) Date: Thu Feb 6 14:00:01 2003 Subject: WinAPI and External DLL's Message-ID: <002101c2ce11$490ab6c0$0201a8c0@nh2> Hi all, Does anybody have information on connecting to the WinApi and binding to external dll's from Revolution? I can't find docs but the revolution website says it's easy to do. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Roger.E.Eller at sealedair.com Thu Feb 6 15:49:01 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Thu Feb 6 15:49:01 2003 Subject: Furby.rev (a virtual Furby toy) Message-ID: Thank you to everyone who tried out Furby.rev and sent e-mails of encouragement to my son, William. He (we) thoroughly enjoyed reading your comments and suggestions for improvements. This is the kind of support that makes a kid want to do their absolute best! I am proud to be a part of this knowledge exchange list. You guys are terrific! Roger Eller roger.e.eller at sealedair.com From chipp at chipp.com Thu Feb 6 16:15:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Feb 6 16:15:00 2003 Subject: WinAPI and External DLL's In-Reply-To: <002101c2ce11$490ab6c0$0201a8c0@nh2> Message-ID: Hi, You should be able to find a folder named "External SDK" in the directory where Revolution.exe resides. BTW, we like to post plain text to this list. Hope this helps. -Chipp -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of runrev at technetx.com Sent: Thursday, February 06, 2003 12:55 PM To: Run Time Revolution USE Subject: WinAPI and External DLL's Hi all, Does anybody have information on connecting to the WinApi and binding to external dll's from Revolution? I can't find docs but the revolution website says it's easy to do. Thanks in advance. From runrev at technetx.com Thu Feb 6 17:38:01 2003 From: runrev at technetx.com (runrev at technetx.com) Date: Thu Feb 6 17:38:01 2003 Subject: WinAPI and External DLL's References: Message-ID: <003401c2ce2f$bfb9ba00$0201a8c0@nh2> Thanks Chipp! P.S... I had not realized my mail settings were on html... sorry all for the inconvenience. Ron ----- Original Message ----- From: "Chipp Walters" To: Sent: Thursday, February 06, 2003 1:08 PM Subject: RE: WinAPI and External DLL's > Hi, > > You should be able to find a folder named "External SDK" in the directory > where Revolution.exe resides. > > BTW, we like to post plain text to this list. Hope this helps. > > -Chipp > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of > runrev at technetx.com > Sent: Thursday, February 06, 2003 12:55 PM > To: Run Time Revolution USE > Subject: WinAPI and External DLL's > > > Hi all, > > Does anybody have information on connecting to the WinApi and binding to > external dll's from Revolution? I can't find docs but the revolution > website says it's easy to do. Thanks in advance. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From erikhans08 at yahoo.com Thu Feb 6 17:41:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Thu Feb 6 17:41:01 2003 Subject: home stack In-Reply-To: <02a001c2cdfa$61584c90$6f00a8c0@mckinley.dom> Message-ID: <20030206223716.65614.qmail@web20005.mail.yahoo.com> --- Ken Ray wrote: > The home stack is the first stack that is > opened by Revolution for its > interface... but it's just a name... the home > stack has no special > significance as compared to any other stack. how does Revolution decide which will be "the first stack that is opened"? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From jswitte at bloomington.in.us Thu Feb 6 17:52:00 2003 From: jswitte at bloomington.in.us (Jim Witte) Date: Thu Feb 6 17:52:00 2003 Subject: My 2 bits on pre-beta Message-ID: <04251B9E-3A25-11D7-8F5B-000393BF0854@bloomington.in.us> My two bits about the pre-beta: First of all, kudos to the Rev team for putting it out. I figured part of the reason they put it out in it's alpha state is to "satisfy" people who have (perhaps justifiably) been kvetching about when 2.0 will come out. Well.. stop kvetching so badly now! Okay, on to my two (maybe three and a half) bits: first, having a button a automatically resize a button width to be as wide as the title plus some margin would be great (this may be part of whatever's going to be in the Geometry panel). Better yet (I don't know if this is possible with MC) would be to be able to edit button name's in the stack itself without going to the property palette. I haven't used the alignment manager at all (in 1.1.1 or 2.0a), but snap-to guides for new buttons etc would be good. I like InterfaceBuilder.. (being able to import Nibs would be great too, but that might be too much to ask, unless someone can put me in touch with the nib file format..) It would be nice if the Application Overview window would remember it's position on startup (and maybe the other palettes as well - I don't remember if they do or not) A command-N for "New Mainstack" would be a nice touch (and maybe Cmd-Opt-N for New Substack) Finally, and I'm not sure how this would work out in practice, would be an option to have the all the palettes (property, script, etc), NOT be palettes, but be regular windows. I'm mainly looking for a way to close the palette without using the mouse - using a laptop without a USB mouse, I like to stay off the trackpad as much as possible. Keep up the great work! Jim Witte jswitte at bloomington.in.us From ambassador at fourthworld.com Thu Feb 6 18:01:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 6 18:01:01 2003 Subject: testing the waters In-Reply-To: <75AD43CF-39FA-11D7-9EF1-000393C824D2@activadesign.com> Message-ID: Bradley Borch wrote: > 1) Can rev serve as a replacement for Director? Yes and no. Every tool has its stregths and weaknesses. If you already know Director and have alreadt paid for the two full packages you'll need for cross-platform work, and if the nature of your project depends heavily on animation or other traditional multimedia uses for which a timeline is ideal, then it's a very good choice. On the other hand, if you're building things along the lines of a true application, you'll probably be working way to hard trying that in Director. What are you building? > 2) (related to 1) My most recent Dir CD had a lot of Flash animation, > and I never used the Dir timeline for animation at all, just "go the > frame" stuff. Can I take the same approach in rev using Flash export to > swf 5 (the latest that QT 6 supports) and still have some control > within the flash animation? I did a test and got mixed results. Any > user experiences using rev as a multimedia player with Flash embedded > as QT would be most helpful. What sort of mixed results did you get? > 3) How does Rev compare to iShell? I tried iShell but it felt really > constraining. I know they're different animals, any specific > observations would be great. I've been roasted for this before here, but the offer still stands: If someone will put up enough to pay my bills for two months I'll build an iShell-like tool using Rev. iShell is great precisely because it is constraining: by providing a more focused feature set it can allow faster work for some types of projects. But with Rev's speed and flexibility, many of us build custom authoring environments for clients, which may be difficult to do in iShell itself, but could produce something that offers a very similar focused approach if needed. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From erikhans08 at yahoo.com Thu Feb 6 18:05:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Thu Feb 6 18:05:00 2003 Subject: inherit from owner In-Reply-To: <20030206103222.66172.qmail@web11901.mail.yahoo.com> Message-ID: <20030206230037.76331.qmail@web20006.mail.yahoo.com> --- Jan Schenkel wrote: > --- erik hansen wrote: > > the properties (colors) palette has an > > "inherit from owner" button, > > but i can't find a way > > to script this in the docs. any ideas? > Try something like this: > set the foregroundColor of field "FooBar" to > empty good! thanks, set the of field "FooBar" to empty has popped up a lot on the list, for all kinds of things. maybe next time i will see it! ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From jswitte at bloomington.in.us Thu Feb 6 18:13:01 2003 From: jswitte at bloomington.in.us (Jim Witte) Date: Thu Feb 6 18:13:01 2003 Subject: Setting graphic style to Line Message-ID: <05925B5B-3A28-11D7-A645-000393BF0854@bloomington.in.us> These observations refer to both 1.1.1 and 2.0 I think (I haven't done rigorous testing). When I try to set the style of a graphic object to line (eg. set style of the selectedObject to line') I get an error (Expression: missing factor). But if I create one line, then set the style of another object to the style of the first line, it disappears. The object is still listed in the application overview (at least in 20a), but it won't show on the screen (If I set the style to something other than a line, it shows up; then if I select line again, it disappears. I tried the script mentioned before on the list: set the style of the defaultgraphic to line create graphic linetohost set the points of graphic linetohost to MyVertList choose browse tool but got a " missing '(' " error on the 'set the style..' line. Thanks, Jim From pixelbird at interisland.net Thu Feb 6 20:08:00 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Thu Feb 6 20:08:00 2003 Subject: Animations in groups In-Reply-To: <200302061552.KAA06107@www.runrev.com> Message-ID: ********** > From: "Stephen Messimer" > Sent: Wednesday, February 05, 2003 3:32 PM > Subject: Animations in groups >> Hi, >> >> I would really like to use the animation manager to make animations in >> groups. This would allow me to hide the group after the animation is >> shown. Thus far I have been unable to do this. The documentation >> suggests that animations are creatures of cards ---------- Good question. How about making the animation into a QT movie? Ken N. ( the _other_ Ken) ********** From alrice at ARCplanning.com Thu Feb 6 20:16:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Feb 6 20:16:01 2003 Subject: couple of questions Message-ID: <10F820B4-3A39-11D7-9F75-000393529642@ARCplanning.com> 1) I am working on printing a report, and have gotten as far as copying a my report group to another stack, resizing the group and the stack to fit the contents, setting the formatForPrinting property. Ready to print. Printing with "print stack" works OK. Now I need to do pagination, ideally also do page numbering, and ideally do sizing of the print job to the user's printer/paper size. Does anyone have sample code they could share, or have posted in the past to this list, which shows how to do this non-trivial kind of printing. Especially the paper size and pagination? 2) I'm learning about colors and property inheritance. I just set my stack's backColor to white and now all my buttons (lots of them) are white too. I want grey buttons. Do I have to set the backColor of each button to grey? I can script it in the message box, but there must be an easier way. At first I was thinking this would be a good use for Profiles, now I'm not so sure. A lot of the buttons don't belong to a group that would be useful for setting the backColor in. Many thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From sarahr at genesearch.com.au Thu Feb 6 20:57:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu Feb 6 20:57:01 2003 Subject: standalone as desktop In-Reply-To: Message-ID: I don't think you can include Application Overview in your standalone, but you can certainly include the functionality that you are looking for. You can just create a palette or group, populate it with check boxes for each group, either before building or dynamically when your app starts, and use scripts to hide & show groups based on the check boxes. If the groups are in a separate sub-stack, you can save the stack so your settings stay stuck. Otherwise, you will need to save the settings in a separate file so that you can restore it when the app opens. Cheers, Sarah On Thursday, February 6, 2003, at 07:58 pm, erik hansen wrote: > > thanks again for all the help. > > my HP app has a menu "btns" and a menu "flds" > that allow the user to hide/show controls on the > "desktop" (card) while they work. each control or > proto-group of controls had a checkmark for each > menuItem. the settings were stored when the page > was closed. > > in RR all of this is taken care of in Application > Overview. better. > > the query: in a standalone, is there any way for > the user to utilize groups, Application Overview, > etc. to hide/show controls as needed? > > if yes, great! > if no, the work was not in vain! > > ===== > erik at erikhansen.org http://www.erikhansen.org > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Thu Feb 6 21:01:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu Feb 6 21:01:01 2003 Subject: control arrays? In-Reply-To: Message-ID: <52D79813-3A3F-11D7-BBE1-0003937A97B8@genesearch.com.au> I find it best to have a hidden template object and clone the required number when needed. That way you can have it set up exactly as you want as regards size, colors, fonts, scripts etc. Also cloning an object that is already in a group, adds it to the existing group. Cheers, Sarah On Friday, February 7, 2003, at 02:09 am, Alex Rice wrote: > Does revolution have the concept of GUI control arrays? This is a > useful thing that Cocoa has (actually has GUI control matrices) and I > think Java has control arrays too. For instance i need to put a bunch > of radio groups into a scrolling group, but won't know until run-time > how many there will be. > > Thanks, > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > alrice at ARCplanning.com > alrice at swcp.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From erikhans08 at yahoo.com Thu Feb 6 21:11:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Thu Feb 6 21:11:00 2003 Subject: standalone as desktop In-Reply-To: Message-ID: <20030207020628.88276.qmail@web20009.mail.yahoo.com> --- Sarah wrote: > I don't think you can include Application > Overview in your standalone, > but you can certainly include the functionality > that you are looking > for. You can just create a palette or group, > populate it with check > boxes for each group, either before building or > dynamically when your > app starts, and use scripts to hide & show > groups based on the check > boxes. If the groups are in a separate > sub-stack, you can save the > stack so your settings stay stuck. Otherwise, > you will need to save the > settings in a separate file so that you can > restore it when the app opens. about what i had in HC, but i like your palette idea better than menuItems. thanks! ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From Revinfo1155 at aol.com Thu Feb 6 21:14:01 2003 From: Revinfo1155 at aol.com (Revinfo1155 at aol.com) Date: Thu Feb 6 21:14:01 2003 Subject: How to edit a palette? Message-ID: <26.345db94e.2b746f49@aol.com> The Rev documentation says you can make a palette editable with the topLevel function and then control click (MacOS) and a contextual menu will open which allows you to edit a palette and of course study the scripts etc. Does anyone have experience with this? I'm not having any luck with it. Jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From brad at activadesign.com Thu Feb 6 21:35:01 2003 From: brad at activadesign.com (Bradley Borch) Date: Thu Feb 6 21:35:01 2003 Subject: use-revolution digest, Vol 1 #1110 - 15 msgs In-Reply-To: <200302070117.UAA21136@www.runrev.com> Message-ID: <22507106-3A44-11D7-8FB8-000393C824D2@activadesign.com> Richard, Thanks for the response. On Thursday, February 6, 2003, at 08:17 PM, use-revolution-request at lists.runrev.com wrote: > Bradley Borch wrote: >> 1) Can rev serve as a replacement for Director? > Yes and no. ... What are you building? See below >> 2) ... using Flash export to swf 5... and got mixed results. > What sort of mixed results did you get? Buttons worked intermittently >> 3) How does Rev compare to iShell? > ... But with Rev's speed and flexibility, many of us build custom > authoring > environments for clients, That's what my product is going to be, a tool that allows users to import numerous documents - html, quicktime, stills - and create hyperlinks among them. The card-based concept seems especially well suited to this type of app. I understand that these are different tools. However, it sure appears that Rev has a much simpler way of accomplishing many of the same things Dir can do. E.g. I came across the "replaceText" command last night. It took me seven lines of code including a repeat loop in Lingo to perform the same function, and fifteen minutes to get the variables (char 0 is actually the first char) right. If I can do all my animations in Flash and QT then I'll go with Rev. BTW, has anybody used the imageSource in any cool ways? That's another thing Dir can't do. Brad From sarahr at genesearch.com.au Thu Feb 6 22:14:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu Feb 6 22:14:01 2003 Subject: How to edit a palette? In-Reply-To: Message-ID: <7B9D10AC-3A49-11D7-BBE1-0003937A97B8@genesearch.com.au> If the stack is in palette form, it is NOT editable. If you use "topLevel" to make it a normal stack, then it can be edited and worked on exactly like a normal stack. In you are using the pointer tool (as if editing) and you control-click on the stack, a contextual menu pops up which allows you to do various things among which is an option to change the mode of the stack. This is what you can use to set the style back to palette when you are finished editing. You can also use the Application Overview to open a stack in any mode. Cheers, Sarah On Friday, February 7, 2003, at 12:13 pm, Revinfo1155 at aol.com wrote: > The Rev documentation says you can make a palette editable with the > topLevel function and then control click (MacOS) and a contextual menu > will open which allows you to edit a palette and of course study the > scripts etc.? Does anyone have experience with this?? I'm not having > any luck with it. > > Jack From steve at messimercomputing.com Thu Feb 6 23:43:01 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Thu Feb 6 23:43:01 2003 Subject: animations Message-ID: <0C116E91-3A56-11D7-B66B-000A27D75508@messimercomputing.com> Hi Ken, > Good question. How about making the animation into a QT movie? > > Ken N. ( the _other_ Ken) > ********** > Well I suppose I could use SnapZPro X. and make a quick time movie and put a player in the group. This could work but I have a feeling that the overhead would be significant. Besides the animation manager is very cool and simple to use for animating Rev Objects. My guess is that the resulting animation is relatively small as well. In addition, I wouldn't have to fiddle around with data folders, relative path scripting etc using the animation manager. Having the ability to use this tool within a group means that I can have multiple uses for a card's screen real estate. Placing the animation in a group allows me to show and hide it at will. I am already doing this using the move command on group components. The results are nice but no where as sophisticated as they would be using the animation manager. Regards, Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com From katir at hindu.org Fri Feb 7 00:09:00 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Fri Feb 7 00:09:00 2003 Subject: How to edit a palette? In-Reply-To: <7B9D10AC-3A49-11D7-BBE1-0003937A97B8@genesearch.com.au> Message-ID: Contextual menus not working for me either... but for years I have put toggles on palette windows during dev... this works great: make it a check box btn ( if you want to see it) or make it transparent, borderless, nameless btn in some location you can remember (if you don't like to see it on the interface... later if you forget you can find it in the application overview) on mouseup if the mode of this stack is 4 then toplevel this stack else palette this stack end if end mouseup or "remotely" from another stack, say stack "Dev Tools" which has a button: "Edit Favorites Window" on mouseup if the mode of stack "Favorites" is 4 then toplevel stack "Favorites" ## allows editing else palette stack "Favorites" ## restore to palette end if end mouseup On Thursday, February 6, 2003, at 05:08 PM, Sarah wrote: > If the stack is in palette form, it is NOT editable. If you use > "topLevel" to make it a normal stack, then it can be edited and worked > on exactly like a normal stack. In you are using the pointer tool (as > if editing) and you control-click on the stack, a contextual menu pops > up which allows you to do various things among which is an option to > change the mode of the stack. This is what you can use to set the > style back to palette when you are finished editing. You can also use > the Application Overview to open a stack in any mode. > > Cheers, > Sarah > > On Friday, February 7, 2003, at 12:13 pm, Revinfo1155 at aol.com wrote: > >> The Rev documentation says you can make a palette editable with the >> topLevel function and then control click (MacOS) and a contextual >> menu will open which allows you to edit a palette and of course study >> the scripts etc.? Does anyone have experience with this?? I'm not >> having any luck with it. >> >> Jack > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From PMDA at earthlink.net Fri Feb 7 00:28:01 2003 From: PMDA at earthlink.net (Tariel Gogoberidze) Date: Fri Feb 7 00:28:01 2003 Subject: Norton Internet Security (NIS) and Post command failure References: <200302060934.EAA22506@www.runrev.com> Message-ID: <3E4342B2.9020801@earthlink.net> This problem was already mentioned either on this or MC list by Rich Herz >There are problems with MC access to internet with Norton >Internet Security (NIS) installed on Win XP. NIS must >be uninstalled, not merely turned off. -- > NIS on Win 98 seems to be working OK. >Rich Herz We are also badly hit by this issue. Our users with windows XP and NIS installed can't send post command. Sometimes Norton askes for permision to allow MC stanalone to work but then blocks it anyway. Short of uninstalling (which users hate to do for obvious reasons) nothing helps. I really hope somebody have a solution for this Thanks in advance for suggestions Tariel Gogoberidze From katir at hindu.org Fri Feb 7 00:51:01 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Fri Feb 7 00:51:01 2003 Subject: Storing images In-Reply-To: <35C168D4-3931-11D7-8396-003065AD94A4@mac.com> Message-ID: <9932C5F2-3A5F-11D7-95C8-003065FB9830@hindu.org> Maybe i am missing something about what you are trying to do... and maybe this option you already know... anyway, to add yet another option which works perfectly, does not require that you reference images files from disk, allows for dynamic resizing of all images on the fly, displays all instances as btn icons as many times and with whatever sizes as you want, whenever you want them, but with only one "copy" of the actual image data in the (sub)stack: In substack "Alphabet" (which the user never sees or knows about... it's just a library stack) I have imported very large images of characters needed for elsewhere at any time at any size, generally only smaller versions so that the image quality is never reduced. Each image in the "alphabet" stack (library/resource whatever) has a custom property set named "mySize' which contains the width and height pair for its original size as imported. mySize 200,400 in mainstack "Lessons" are these handlers which do math against this property of the image: on resizeImage theRatio theImage set the defaultStack to "alphabet" set the width of image id theImage to theRatio * item 1 of the mySize of image id theImage set the height of image id theImage to theRatio * item 2 of the mySize of image id theImage end resizeImage on restoreImageSize theImage set the defaultStack to "alphabet" set the width of image id theImage to item 1 of the mySize of image id theImage set the height of image id theImage to item 2 of the mySize of image id theImage end restoreImageSize on say, card 3, of stack" Lessons", a preopencard handler make the size change request(s) before display, where the sizes of 18 of the characters are being displayed at .17 of their original size on that particular card. When leaving the card the images are resized to their original size so that any subsequent ratio changes for usage in other contexts are always working from the known original size. ID's have been preset to match the needs for this context where the ordinal position in the alphabet corresponds to the ordinals 2001,2002, etc. just to make it easier to remember and script: on preopenCard repeat with x = 1 to 18 resizeImage .17, (2000+x) ## we pass the size change and the image ID end repeat end preopenCard on closeCard repeat with x = 1 to 18 restoreimagesize (2000+x) end repeat end closeCard Viola, when opening the card, all the "images" which are actually btns icons for buttons 1 -18 on this cared are all showing a small versions of the image. And its fast also... no overhead delay opening the card. does that help? Convoluted? Yes perhaps, but in terms of space overhead, especially for web delivery, having only a single instance of the image data actuall present keeps file sizes way down and you don't have to hassle with keep image externally. On Wednesday, February 5, 2003, at 07:42 AM, Bj?rnke von Gierke wrote: > This thread confuses me, so I made some experiments, to clarify all > this for me, I will list the results of them here (if this is useful > for any of you then that is your own fault!): > > setting the icon: > set the icon of button "foo" to image "bar" From janschenkel at yahoo.com Fri Feb 7 01:20:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Feb 7 01:20:01 2003 Subject: Setting graphic style to Line In-Reply-To: <05925B5B-3A28-11D7-A645-000393BF0854@bloomington.in.us> Message-ID: <20030207061614.26862.qmail@web11906.mail.yahoo.com> --- Jim Witte wrote: > These observations refer to both 1.1.1 and 2.0 I > think (I haven't > done rigorous testing). When I try to set the style > of a graphic > object to line (eg. set style of the selectedObject > to line') I get an > error (Expression: missing factor). > > But if I create one line, then set the style of > another object to the > style of the first line, it disappears. The object > is still listed in > the application overview (at least in 20a), but it > won't show on the > screen (If I set the style to something other than a > line, it shows up; > then if I select line again, it disappears. > > I tried the script mentioned before on the list: > > set the style of the defaultgraphic to line > create graphic linetohost > set the points of graphic linetohost to MyVertList > choose browse tool > > but got a " missing '(' " error on the 'set the > style..' line. > > Thanks, > Jim > Hi Jim, Try the following : set the style of graphic "Foobar" to "line" As 'line' is a reserved word in Transcript, it's better to surround it with quotes to avoid any misinterpretation by the compiler. In this case, the compiler thinks you want to set the style of the graphic to the _content_ of line XXX of a variable or another container, and reports an error as itthinks you forgot the rest of the reference. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From janschenkel at yahoo.com Fri Feb 7 01:44:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Feb 7 01:44:01 2003 Subject: couple of questions In-Reply-To: <10F820B4-3A39-11D7-9F75-000393529642@ARCplanning.com> Message-ID: <20030207063953.28685.qmail@web11906.mail.yahoo.com> --- Alex Rice wrote: > 1) I am working on printing a report, and have > gotten as far as copying > a my report group to another stack, resizing the > group and the stack to > fit the contents, setting the formatForPrinting > property. Ready to > print. Printing with "print stack" works OK. Now I > need to do > pagination, ideally also do page numbering, and > ideally do sizing of > the print job to the user's printer/paper size. Does > anyone have sample > code they could share, or have posted in the past to > this list, which > shows how to do this non-trivial kind of printing. > Especially the paper > size and pagination? > Hi Alex, RunRev 2.0 will have much better printing options, especially for reports. In the meantime, you could take a look at the 'printPaperSize', 'printMargins' , 'printGutters', and a few more 'printXXX' properties. Then get the height of your stack, and you should be able to determine where the page breaks are going to end up, and 'create' or 'clone' a field on the correct card with the pagenumber in it. > 2) I'm learning about colors and property > inheritance. I just set my > stack's backColor to white and now all my buttons > (lots of them) are > white too. I want grey buttons. Do I have to set the > backColor of each > button to grey? I can script it in the message box, > but there must be > an easier way. At first I was thinking this would be > a good use for > Profiles, now I'm not so sure. A lot of the buttons > don't belong to a > group that would be useful for setting the backColor > in. > You could just put a white rectangle behind it. If you place it in a 'background' group, it automatically gets placed on all the cards as you create them. Hope this helped a bit, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From janschenkel at yahoo.com Fri Feb 7 01:51:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Feb 7 01:51:01 2003 Subject: control arrays? In-Reply-To: <52D79813-3A3F-11D7-BBE1-0003937A97B8@genesearch.com.au> Message-ID: <20030207064635.20630.qmail@web11901.mail.yahoo.com> --- Sarah wrote: > I find it best to have a hidden template object and > clone the required > number when needed. That way you can have it set up > exactly as you want > as regards size, colors, fonts, scripts etc. Also > cloning an object > that is already in a group, adds it to the existing > group. > > Cheers, > Sarah > Hi Sarah, Thanks for this tip ; I didn't know 'clone' respected the control's placement in a group. That would have saved me quite a bit of code last weekend on one of my library controls ; then again, it will save me quite a few headaches when I try to clone a control into a different group. Maybe a good note to add in the dictionary, Jeanne ? Best regards, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From janschenkel at yahoo.com Fri Feb 7 01:58:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Feb 7 01:58:01 2003 Subject: home stack In-Reply-To: <20030206223716.65614.qmail@web20005.mail.yahoo.com> Message-ID: <20030207065411.15584.qmail@web11905.mail.yahoo.com> --- erik hansen wrote: > > --- Ken Ray wrote: > > The home stack is the first stack that is > > opened by Revolution for its > > interface... but it's just a name... the home > > stack has no special > > significance as compared to any other stack. > > how does Revolution decide which will be > "the first stack that is opened"? > Hi Erik, Well, apart from its being baked in at compiler time, the key thing to remember here is that there is no real 'home' stack as we (or at least quite a few of us) know it from our HyperCard days. Another thing to note is that there's only a 'home' stack in the RunRev IDE (mainly for HyperCard-backward compatibility) and that there isn't one in your stand-alone, unless you were to explicitly create a stack named 'home' in there. The closest thing to a 'Home' stack for us now, is to store all those nifty handlers into a separate library stack, and then insert its script into back at startup. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From monte at sweattechnologies.com Fri Feb 7 02:15:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Feb 7 02:15:01 2003 Subject: Finding the CD Drive Message-ID: Hi All Does anyone have a function to find the name or names of the CD drives on a users system. My app won't be on the CD but it needs to read a file from the CD without user intervention. Thanks Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From erikhans08 at yahoo.com Fri Feb 7 02:36:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Feb 7 02:36:00 2003 Subject: home stack In-Reply-To: <20030207065411.15584.qmail@web11905.mail.yahoo.com> Message-ID: <20030207073134.17481.qmail@web20008.mail.yahoo.com> --- Jan Schenkel wrote: thanks for responding. > The closest thing to a 'Home' stack for us now, > is to store all those nifty handlers into a separate > library stack, and then insert its script into > back at startup. this is what i have never been able to do. eventually it will be "oh, of course!" ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From gcanyon at inspiredlogic.com Fri Feb 7 02:47:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Feb 7 02:47:01 2003 Subject: control arrays? In-Reply-To: <89CA479E-39EC-11D7-9F75-000393529642@ARCplanning.com> Message-ID: I created an example app at MacWorld that did exactly this. I just uploaded it to http://www.inspiredlogic.com/downloads.html Look for the clock array stack. On Thursday, February 6, 2003, at 08:03 AM, Alex Rice wrote: > Does revolution have the concept of GUI control arrays? This is a > useful thing that Cocoa has (actually has GUI control matrices) and I > think Java has control arrays too. For instance i need to put a bunch > of radio groups into a scrolling group, but won't know until run-time > how many there will be. > > Thanks, > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > alrice at ARCplanning.com > alrice at swcp.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > regards, Geoff Canyon gcanyon at inspiredlogic.com From janschenkel at yahoo.com Fri Feb 7 03:40:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Feb 7 03:40:01 2003 Subject: Finding the CD Drive In-Reply-To: Message-ID: <20030207083554.61017.qmail@web11907.mail.yahoo.com> --- Monte Goulding wrote: > > Hi All > > Does anyone have a function to find the name or > names of the CD drives on a > users system. My app won't be on the CD but it needs > to read a file from the > CD without user intervention. > > Thanks > > Monte Goulding Hi Monte, Have a look at the 'volumes' entry in the Transcript Dictionary -- that should bring you closer. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From janschenkel at yahoo.com Fri Feb 7 03:45:02 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Feb 7 03:45:02 2003 Subject: home stack In-Reply-To: <20030207073134.17481.qmail@web20008.mail.yahoo.com> Message-ID: <20030207084110.61365.qmail@web11907.mail.yahoo.com> --- erik hansen wrote: > --- Jan Schenkel wrote: > > The closest thing to a 'Home' stack for us now, > > is to store all those nifty handlers into a > separate > > library stack, and then insert its script into > > back at startup. > > this is what i have never been able to do. > eventually it will be "oh, of course!" > Hi Erik, It's not that hard, really. Just create a new stack, put some handlers and functions in its stack script, and then make them available by using insert the script of stack "Foobar" into back From gary.rathbone at btclick.com Fri Feb 7 03:55:01 2003 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Fri Feb 7 03:55:01 2003 Subject: Finding the CD Drive In-Reply-To: Message-ID: <000001c2ce85$f1c113d0$0e00000a@server> The method I've used in the past is to get a volume list - volumes() and use a repeat loop to search for a 'unique' file eg x:\monte456 which would only exist on the CD. When you've found the file, you've found your 'active' CD volume. I've searched the archives for a better solution but can't find one. Regards Gary Rathbone > Does anyone have a function to find the name or names of the > CD drives on a users system. My app won't be on the CD but it > needs to read a file from the CD without user intervention. > > Thanks > > Monte Goulding > B.App.Sc. (Hons.) > > Executive Director > Sweat Technologies > > email: monte at sweattechnologies.com > website: www.sweattechnologies.com > mobile (International): +61 421 138 274 > (Australia): 0421 138 274 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From janschenkel at yahoo.com Fri Feb 7 03:58:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Feb 7 03:58:01 2003 Subject: home stack In-Reply-To: <20030207084110.61365.qmail@web11907.mail.yahoo.com> Message-ID: <20030207085407.14520.qmail@web11904.mail.yahoo.com> --- Jan Schenkel wrote: > --- erik hansen wrote: > > --- Jan Schenkel wrote: > > > The closest thing to a 'Home' stack for us now, > > > is to store all those nifty handlers into a > > separate > > > library stack, and then insert its script into > > > back at startup. > > > > this is what i have never been able to do. > > eventually it will be "oh, of course!" > > > > Hi Erik, > > It's not that hard, really. Just create a new stack, > put some handlers and functions in its stack script, > and then make them available by using > insert the script of stack "Foobar" into back > From then on, messages, handlers and functions > travel > 'through' this script as well. It's a more advanced > version of 'start using stack' because you can tweak > the message path in a specific order. > The only thing you have to make sure to avoid in the > script, is any reference to 'me' as that's not going > to be the stack anymore. > Addendum: With 'insert script' you're not limited to stack scripts, you can insert the script of _any_ control into the message path that way. Very neat. Suppose you have a field "Foobar" with script: on ellenFeiss beep 6 end ellenFeiss And you place it in the message path by insert script of fld "Foobar" into back Whenever you type 'ellenFeiss' in the message box, your computer will beep 6 times ; but don't worry, as it's not Word, you won't lose your really good paper ;-) Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From sims at ezpzapps.com Fri Feb 7 05:59:01 2003 From: sims at ezpzapps.com (sims) Date: Fri Feb 7 05:59:01 2003 Subject: [OT] More French questions In-Reply-To: <3E3A74E4.801@laposte.net> References: <20030131123449.58713.qmail@web11906.mail.yahoo.com> <3E3A74E4.801@laposte.net> Message-ID: Bonjour mes amis, I am translating a Rev shareware into French and have a question concerning month names. I have a prototype (French translation is about halfway done so far) at http://www.EZPZapps.com/iB/iBirthdayX.1.4A.sit I need to know from someone who has a French System 1. Do the month names display correctly in French? 2. After you click on a day in the calendar does the month display in French in the first field. Merci! sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From kevin at runrev.com Fri Feb 7 06:22:00 2003 From: kevin at runrev.com (Kevin Miller) Date: Fri Feb 7 06:22:00 2003 Subject: Norton Internet Security (NIS) and Post command failure In-Reply-To: <3E4342B2.9020801@earthlink.net> Message-ID: On 7/2/03 5:22 am, Tariel Gogoberidze wrote: > We are also badly hit by this issue. > Our users with windows XP and NIS installed can't send post command. > Sometimes Norton askes for permision to allow MC stanalone to work but > then blocks it anyway. > > > Short of uninstalling (which users hate to do for obvious reasons) > nothing helps. > > I really hope somebody have a solution for this This isn't something we can address, there are *many* other applications that get completely messed up by having Norton installed too. If everyone who has been affected by this could file a bug report with them, that would be the best thing... Kind regards, Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From miscdas at boxfrog.com Fri Feb 7 06:36:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Fri Feb 7 06:36:01 2003 Subject: Setting graphic style to Line In-Reply-To: <20030207061614.26862.qmail@web11906.mail.yahoo.com> References: <20030207061614.26862.qmail@web11906.mail.yahoo.com> Message-ID: <20030207113231.51008.qmail@www.boxfrog.com> Jan Schenkel writes: > --- Jim Witte wrote: >> These observations refer to both 1.1.1 and 2.0 I >> think (I haven't >> done rigorous testing). When I try to set the style >> of a graphic >> object to line (eg. set style of the selectedObject >> to line') I get an >> error (Expression: missing factor). >> >> But if I create one line, then set the style of >> another object to the >> style of the first line, it disappears. The object >> is still listed in >> the application overview (at least in 20a), but it >> won't show on the >> screen (If I set the style to something other than a >> line, it shows up; >> then if I select line again, it disappears. >> >> I tried the script mentioned before on the list: >> >> set the style of the defaultgraphic to line >> create graphic linetohost >> set the points of graphic linetohost to MyVertList >> choose browse tool >> >> but got a " missing '(' " error on the 'set the >> style..' line. >> >> Thanks, >> Jim >> > > Hi Jim, > > Try the following : > set the style of graphic "Foobar" to "line" > > As 'line' is a reserved word in Transcript, it's > better to surround it with quotes to avoid any > misinterpretation by the compiler. > > In this case, the compiler thinks you want to set the > style of the graphic to the _content_ of line XXX of a > variable or another container, and reports an error as > itthinks you forgot the rest of the reference. > > Hope this helped, > > Jan Schenkel. ========= The disappearing graphic when style is set to line appears to be a "feature" built into the MC engine. On MC 2.4.3, Win XP pro, I tried setting the style to "line" of a variety of graphic objects and indeed some of them disappear. They display if the style property is set to another value, such as regular. The same behavior occurs if a graphic object line is drawn, and then the script set the style of myGraphic to the style of thelineGraphic So, you'll have to evaluate this usage on an object-by-object basis to determine if you can use it for your particular app. miscdas From yvescoppe at skynet.be Fri Feb 7 07:39:01 2003 From: yvescoppe at skynet.be (yves COPPE) Date: Fri Feb 7 07:39:01 2003 Subject: [OT] More French questions In-Reply-To: References: <20030131123449.58713.qmail@web11906.mail.yahoo.com> <3E3A74E4.801@laposte.net> Message-ID: >Bonjour mes amis, > >I am translating a Rev shareware into French and have a question >concerning month names. > >I have a prototype (French translation is about halfway done so far) at > >http://www.EZPZapps.com/iB/iBirthdayX.1.4A.sit > >I need to know from someone who has a French System > >1. Do the month names display correctly in French? > >2. After you click on a day in the calendar does the month display >in French in the first field. > > >Merci! > >sims All what is displayed is in English !!!!! courage et au travail !!!! -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From sims at ezpzapps.com Fri Feb 7 08:04:01 2003 From: sims at ezpzapps.com (sims) Date: Fri Feb 7 08:04:01 2003 Subject: [OT] More French questions In-Reply-To: References: <20030131123449.58713.qmail@web11906.mail.yahoo.com> <3E3A74E4.801@laposte.net> Message-ID: > >All what is displayed is in English !!!!! > >courage et au travail !!!! >-- >Greetings. > Yves COPPE Thank you Yves...back to the drawing board for me. atb sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From jhurley at infostations.com Fri Feb 7 08:58:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Fri Feb 7 08:58:01 2003 Subject: Setting graphic style to Line In-Reply-To: <200302070117.UAA21136@www.runrev.com> References: <200302070117.UAA21136@www.runrev.com> Message-ID: >Jim Witte wrote: > >I tried the script mentioned before on the list: > >set the style of the defaultgraphic to line >create graphic linetohost >set the points of graphic linetohost to MyVertList >choose browse tool > >but got a " missing '(' " error on the 'set the style..' line. > >Thanks, >Jim > Jim, Try: set the style of the templategraphic to "line" Jim P.S. It seems that every Tom, Dick and Harry is named Jim. -- Jim Hurley From brad at activadesign.com Fri Feb 7 08:59:00 2003 From: brad at activadesign.com (Bradley Borch) Date: Fri Feb 7 08:59:00 2003 Subject: use-revolution digest, Vol 1 #1110 - 15 msgs In-Reply-To: <200302070117.UAA21136@www.runrev.com> Message-ID: >> Can I take the same approach in rev using Flash export (as a QT mov) >> and still have some control >> within the flash animation? I did a test and got mixed results. Any >> user experiences using rev as a multimedia player with Flash embedded >> as QT would be most helpful. > > What sort of mixed results did you get? I did another test last night. I've got a flash file exported to QT with buttons that show/hide elements of a scrolling animation, and another slider button that controls the playing of the animation. Rev 1.1 is VERY slow recognizing the button presses (up to several seconds to respond to mouse down or up), both in authoring and in the executable on the Mac, but it does recognize them. Rev 2 beta is quite responsive (as responsive as QuickTIme player) in authoring. Didn't try in an executable or on the PC. I'll continue testing. If Rev is able to support QT and I can use some relatively tricky animations (replicating movie clips for animated text, etc.) then I'd have the best of all worlds -- an elegant development tool and sophisticated animation capabilities. Is there anybody else out there thinking along these lines and using Rev in this way? Brad From kevin at runrev.com Fri Feb 7 09:52:03 2003 From: kevin at runrev.com (Kevin Miller) Date: Fri Feb 7 09:52:03 2003 Subject: using Rev for multimedia (was re: digest) In-Reply-To: Message-ID: On 7/2/03 1:55 pm, Bradley Borch wrote: >> What sort of mixed results did you get? > > I did another test last night. I've got a flash file exported to QT > with buttons that show/hide elements of a scrolling animation, and > another slider button that controls the playing of the animation. Rev > 1.1 is VERY slow recognizing the button presses (up to several seconds > to respond to mouse down or up), both in authoring and in the > executable on the Mac, but it does recognize them. Rev 2 beta is quite > responsive (as responsive as QuickTIme player) in authoring. Didn't try > in an executable or on the PC. I'll continue testing. > > If Rev is able to support QT and I can use some relatively tricky > animations (replicating movie clips for animated text, etc.) then I'd > have the best of all worlds -- an elegant development tool and > sophisticated animation capabilities. Is there anybody else out there > thinking along these lines and using Rev in this way? And if you can't use Rev for that, particularly if you have any problems with 2.0, let me know. The sooner we hear about any problems the better, there is still time to fix problems in features we have included in 2.0! Kind regards, Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From valetia at mac.com Fri Feb 7 09:59:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Fri Feb 7 09:59:01 2003 Subject: Norton Internet Security (NIS) and Post command failure In-Reply-To: <3E4342B2.9020801@earthlink.net> Message-ID: Hi Tariel, Can you confirm that this happens *also* with Revolution standalones, or does it just happen with MC? Also, does it only affect POST commands, or also GET? Valetia > From: Tariel Gogoberidze > Organization: PMDA > Reply-To: use-revolution at lists.runrev.com > Date: Fri, 07 Feb 2003 00:22:58 -0500 > To: use-revolution at lists.runrev.com > Subject: Norton Internet Security (NIS) and Post command failure > > > This problem was already mentioned either on this or MC list by Rich Herz > >> There are problems with MC access to internet with Norton >> Internet Security (NIS) installed on Win XP. NIS must >> be uninstalled, not merely turned off. > -- >> NIS on Win 98 seems to be working OK. >> Rich Herz > > We are also badly hit by this issue. > Our users with windows XP and NIS installed can't send post command. > Sometimes Norton askes for permision to allow MC stanalone to work but > then blocks it anyway. > > > Short of uninstalling (which users hate to do for obvious reasons) > nothing helps. > > I really hope somebody have a solution for this > > Thanks in advance for suggestions > Tariel Gogoberidze > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Fri Feb 7 10:17:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Fri Feb 7 10:17:01 2003 Subject: use-revolution digest, Vol 1 #1110 - 15 msgs In-Reply-To: <22507106-3A44-11D7-8FB8-000393C824D2@activadesign.com> Message-ID: Brad, You might want to check out my convolve and compositing stacks at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm -Chipp >BTW, has anybody used > the imageSource in any cool ways? That's another thing Dir can't do. > From runrev at technetx.com Fri Feb 7 14:49:00 2003 From: runrev at technetx.com (runrev at technetx.com) Date: Fri Feb 7 14:49:00 2003 Subject: Fonts Message-ID: <000701c2cee1$708f5400$0201a8c0@nh2> Hi all, In the rev environment, the button fonts within ask boxes or answer boxes look fine (ie... the OK or Cancel), but when I build, they get all large and uncentered both up down and side to side. Any suggestions? Thanks, Ron From janschenkel at yahoo.com Fri Feb 7 15:05:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Feb 7 15:05:01 2003 Subject: Fonts In-Reply-To: <000701c2cee1$708f5400$0201a8c0@nh2> Message-ID: <20030207200027.28548.qmail@web11905.mail.yahoo.com> --- runrev at technetx.com wrote: > Hi all, > > In the rev environment, the button fonts within ask > boxes or answer boxes > look fine (ie... the OK or Cancel), but when I > build, they get all large and > uncentered both up down and side to side. Any > suggestions? > > Thanks, > Ron > Hi Ron, My best guess is that they inherit the font settings of the main stack. What happens if you include the Rev IDE font settings at build time? Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From alrice at ARCplanning.com Fri Feb 7 15:06:02 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Feb 7 15:06:02 2003 Subject: My 2 bits on pre-beta In-Reply-To: <04251B9E-3A25-11D7-8F5B-000393BF0854@bloomington.in.us> Message-ID: <0859F76C-3AD7-11D7-8E43-000393529642@ARCplanning.com> My 2-more-bits on the pre-beta: bring back the tree-view in the Application overview! On Thursday, February 6, 2003, at 03:47 PM, Jim Witte wrote: > ... > I like InterfaceBuilder.. (being able to import Nibs would be great > too, but that might be too much to ask, unless someone can put me in > touch with the nib file format..) Nib files (user interface archives on OS X) are a directory bundle with textual property list and archived objects. A Cocoa application would be required to unarchive the objects in the nib and make them into something Rev could use. Translating a nib file into something Rev could use would be very difficult. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From ludovic.thebault at laposte.net Fri Feb 7 15:34:01 2003 From: ludovic.thebault at laposte.net (Ludovic Th=?ISO-8859-1?Q?=E9?=bault) Date: Fri Feb 7 15:34:01 2003 Subject: [OT] More French questions In-Reply-To: References: <20030131123449.58713.qmail@web11906.mail.yahoo.com> <3E3A74E4.801@laposte.net> Message-ID: <20030207212651.6D18C4%00000000@laposte.net> sims wrote: > >I need to know from someone who has a French System > >1. Do the month names display correctly in French? No. Month names are in english >2. After you click on a day in the calendar does the month display >in French in the first field. Yes. From sims at ezpzapps.com Fri Feb 7 16:01:01 2003 From: sims at ezpzapps.com (sims) Date: Fri Feb 7 16:01:01 2003 Subject: [OT] More French questions In-Reply-To: <20030207212651.6D18C4%00000000@laposte.net> References: <20030131123449.58713.qmail@web11906.mail.yahoo.com> <3E3A74E4.801@laposte.net> <20030207212651.6D18C4%00000000@laposte.net> Message-ID: >sims wrote: >> >>I need to know from someone who has a French System >> >>1. Do the month names display correctly in French? > >No. Month names are in english > >>2. After you click on a day in the calendar does the month display >>in French in the first field. > >Yes. Well! That is most encouraging, thank you Ludovic! Bon! Merci beaucoup or as they say in Gozo, Tajjeb! Grazzi hafna! sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From ludovic.thebault at laposte.net Fri Feb 7 16:37:01 2003 From: ludovic.thebault at laposte.net (Ludovic Th=?ISO-8859-1?Q?=E9?=bault) Date: Fri Feb 7 16:37:01 2003 Subject: [OT] More French questions In-Reply-To: References: <20030131123449.58713.qmail@web11906.mail.yahoo.com> <3E3A74E4.801@laposte.net> <20030207212651.6D18C4%00000000@laposte.net> Message-ID: <20030207222947.708DE2%00000000@laposte.net> sims wrote: >>>2. After you click on a day in the calendar does the month display >>>in French in the first field. >> >>Yes. > >Well! That is most encouraging, thank you Ludovic! For me the first field is the field inside the calendar. Two others field with the month name are in english. From erikhans08 at yahoo.com Fri Feb 7 17:21:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Feb 7 17:21:01 2003 Subject: home stack In-Reply-To: <20030207084110.61365.qmail@web11907.mail.yahoo.com> Message-ID: <20030207221642.84896.qmail@web20004.mail.yahoo.com> --- Jan Schenkel wrote: thanks, this makes it simple. > insert the script of stack "Foobar" into back > From then on, messages, handlers and functions > travel 'through' this script as well. is it possible to put on startup insert the script of stack "Foobar" into back open stack "aa" ... end startup somewhere so that startup is activated when you click on the Revolution app icon in Finder? that would be convenient! ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From monte at sweattechnologies.com Fri Feb 7 17:38:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Feb 7 17:38:01 2003 Subject: Finding the CD Drive In-Reply-To: <000001c2ce85$f1c113d0$0e00000a@server> Message-ID: That's it Thankyou > > > The method I've used in the past is to get a volume list - > volumes() and use > a repeat loop to search for a 'unique' file eg x:\monte456 which > would only > exist on the CD. When you've found the file, you've found your 'active' CD > volume. > > I've searched the archives for a better solution but can't find one. > > Regards > > Gary Rathbone > > > > Does anyone have a function to find the name or names of the > > CD drives on a users system. My app won't be on the CD but it > > needs to read a file from the CD without user intervention. > > > > Thanks > > > > Monte Goulding > > B.App.Sc. (Hons.) > > > > Executive Director > > Sweat Technologies > > > > email: monte at sweattechnologies.com > > website: www.sweattechnologies.com > > mobile (International): +61 421 138 274 > > (Australia): 0421 138 274 > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-> revolution > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From erikhans08 at yahoo.com Fri Feb 7 17:40:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Feb 7 17:40:01 2003 Subject: Find in just the handler list? In-Reply-To: Message-ID: <20030207223611.23886.qmail@web20006.mail.yahoo.com> Find in just the handler list? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From bvg at mac.com Fri Feb 7 19:44:01 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri Feb 7 19:44:01 2003 Subject: home stack In-Reply-To: <20030207221642.84896.qmail@web20004.mail.yahoo.com> Message-ID: Actually, "startup" is a valid message which gets send to your application when it... starts up! o_O If you want to use it in the stack (not builded), then you might want to use "openStack" or "preopenStack" instead. (or "preopenCard", or "preopenBackground" what ever fits your need best :-] ) On Freitag, Feb 7, 2003, at 23:16 Europe/Zurich, erik hansen wrote: > > --- Jan Schenkel wrote: > > thanks, this makes it simple. > >> insert the script of stack "Foobar" into back >> From then on, messages, handlers and functions >> travel 'through' this script as well. > > is it possible to put > > on startup > insert the script of stack "Foobar" into back > open stack "aa" > ... > end startup > > somewhere so that startup is activated when you > click on the Revolution app icon in Finder? > that would be convenient! > > ===== > erik at erikhansen.org http://www.erikhansen.org > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mailjjt at bellsouth.net Fri Feb 7 20:24:01 2003 From: mailjjt at bellsouth.net (John J. Theobald) Date: Fri Feb 7 20:24:01 2003 Subject: Showing/Hiding Images on mouseLeave... Message-ID: <3E445B6F.6050804@bellsouth.net> Igor de Oliveira Couto wrote some time ago: > Dear Revolution Masters, > > I'm trying to implement a simple button that should use 3 different > images: 'idle', 'over' (when the cursor in on top of the button), and > 'down' (when the mouse is down on the button). > > Because the shape of the button is irregular, and I want the > transparent bits to be ignored for mouse events, rather than specifying > the images as icons in a button control, I used IMAGES. My idea was to > setup the 3 images on a card, on top of each other, and simply > show/hide each one in response to the appropriate mouse events. > > So I started by putting the 'idle' image on the card, and then the > 'over' image on top of that, making sure the 'loc' properties of both > was exactly the same (ie, they were exactly on top of each other). Each > picture is exactly the same as the other, just using different > colours... Now, I went into the scrip of the 'idle' picture, and typed: > > on mouseEnter > show image "over" > hide me > end mouseEnter > > Then, I went into the script of the 'over' image, and did the opposite: > > on mouseLeave > show image "idle" > hide me > end mouseLeave > > Now, what is happening when I use the browse tool is a bit of a puzzle: > it goes like this: > The card is displaying the 'idle' image. I move the cursor into the > image, and presto, I see the 'over' image. I also know that the 'idle' > image HAS been hidden - I can check with the message box... > Now, I slowly move the cursor OUTSIDE the image, and... nothing. The > 'over' image behaves as if it has NOT received the 'mouseLeave' > message... > I move the cursor back onto the 'over' image, and move it back out - > now for the second time - and, presto, it works: it hides the 'over' > image and shows the 'idle' image. > The crunch of the matter is: I have to 'leave' the image TWICE for it > to work... EVERYTIME! > > All I can deduct is that for some reason, the first time the mouse > leaves the 'over' image, no 'mouseLeave' message is being sent to it! > Only after the cursor has re-entered the image, and then proceeds to > leave again, does it work... > > Am I missing something embarrassingly simple? Did I not read the > documentation properly? Is this a behaviour that others have noticed? > Is it a bug? > > Any help would be greatly appreciated! > > Kind Regards, > -- > Igor de Oliveira Couto > ---------------------------------- > igor at pixelmedia.com.au > ---------------------------------- > Igor, I ran into this problem on MC 2.4.3 while developing. I searched the archives and saw your posting along with numerous responses but no clear solution. Here is how I solved the problem, for those that may (or may not) be interested. I chased the problem like many others by trying to get the button to do what I wanted on the mouseLeave. Then it occured to me, if I am leaving one object, I must be entering another so... I simply put a transparent graphic behind my "freeform" shaped button. This graphic extends beyond the borders of my button. I then put this handler in the graphic. on mouseEnter put image "normalstate" into image "goback" end mouseEnter "goback" is the name of my "freeform" button, "normalstate" is the image I want displayed when I do a mouseLeave. Since leaving the button does not generate a mouseLeave (as you discovered), entering the transparent graphic DOES generate a mouseEnter and the opportunity to change the graphic. You could, of course, reference a file, imagedata (and maskdata if needed),or just a hidden image as I do. All of which were recently discussed in another thread. Sorry if this is old news, but since I did not see a solution posted, I thought I would pipe up. Regards, John Theobald From herz at ucsd.edu Fri Feb 7 20:50:06 2003 From: herz at ucsd.edu (Richard K. Herz) Date: Fri Feb 7 20:50:06 2003 Subject: Norton Internet Security (NIS) and Post command failure References: <200302071701.MAA08875@www.runrev.com> Message-ID: <002b01c2cf13$e6257d20$58bfef84@rkhpc1> Good news. Norton Internet Security 2002 (NIS) now seems to work OK with the latest version of MetaCard (2.5 Beta 4) under Win XP Pro with the latest XP service pack installed (posted sometime between Tuesday night and this morning, Friday). I just reinstalled NIS today to do this testing and so can't tell you at what MC version or XP service pack that things started working. Disclaimer: I'm not an expert on these matters and there are so many combinations of settings, many of which I haven't tried, that "seems to work" is the best I can say. Rich Herz > Date: Sat, 08 Feb 2003 00:55:04 +1000 > Subject: Re: Norton Internet Security (NIS) and Post command failure > From: "valetia at mac.com" > To: > Reply-To: use-revolution at lists.runrev.com > > Hi Tariel, > > Can you confirm that this happens *also* with Revolution standalones, or > does it just happen with MC? > > Also, does it only affect POST commands, or also GET? > > Valetia > > > > > From: Tariel Gogoberidze > > Organization: PMDA > > Reply-To: use-revolution at lists.runrev.com > > Date: Fri, 07 Feb 2003 00:22:58 -0500 > > To: use-revolution at lists.runrev.com > > Subject: Norton Internet Security (NIS) and Post command failure > > > > > > This problem was already mentioned either on this or MC list by Rich Herz > > > >> There are problems with MC access to internet with Norton > >> Internet Security (NIS) installed on Win XP. NIS must > >> be uninstalled, not merely turned off. > > -- > >> NIS on Win 98 seems to be working OK. > >> Rich Herz > > > > We are also badly hit by this issue. > > Our users with windows XP and NIS installed can't send post command. > > Sometimes Norton askes for permision to allow MC stanalone to work but > > then blocks it anyway. > > > > > > Short of uninstalling (which users hate to do for obvious reasons) > > nothing helps. > > > > I really hope somebody have a solution for this > > > > Thanks in advance for suggestions > > Tariel Gogoberidze From PMDA at earthlink.net Fri Feb 7 22:17:01 2003 From: PMDA at earthlink.net (Tariel Gogoberidze) Date: Fri Feb 7 22:17:01 2003 Subject: Norton Internet Security (NIS) and Post command failure References: <200302071701.MAA08894@www.runrev.com> Message-ID: <3E447592.3010700@earthlink.net> > Date: Sat, 08 Feb 2003 00:55:04 +1000 > Subject: Re: Norton Internet Security (NIS) and Post command failure > From: "valetia at mac.com" > > Hi Tariel, > > Can you confirm that this happens *also* with Revolution standalones, > or does it just happen with MC? > > Also, does it only affect POST commands, or also GET? > > Valetia > >> There are problems with MC access to internet with Norton >> Internet Security (NIS) installed on Win XP. NIS must >> be uninstalled, not merely turned off. >> Our users with windows XP and NIS installed can't send post >> command. Sometimes Norton asks for permission to allow MC >> standalone to work but then blocks it anyway. I guess I can confirm it indirectly. It affects post/get commands of MC v. 2.3.2 through 2.4.3 with latest libUrl 1.0.8b1. The same thing if we are using our own Post handler bypassing LibUrl MC v 2.3.2 engine = Rev 1.1.1 engine MC v 2.4.x - 2.5 engine = Rev v 2.0 engine Both are using same libUrl. So, logically it must affect Rev as well According to Rich Herz... >The problem I've seen is: after 1st >socket of session times out, 2nd socket connection attempt fails, >although after wait of approx. 7 minutes with MetaCard (v. 2.4.3, >libUrl 1.0.8b1) still open, a second connection can be made. I understand that this problem must be addressed to Symantec rather than to MC or Rev teams, but I posted it here in hope that somebody have a workaround to this problem that allows to disable NIS or "teach" it to ignore libUrl calls. I don't have computer with win XP and NIS to research this but our users with this config can't connect for sure. They tried to disable NIS but this doesn't help. Only uninstalling solves the problem Below are some extracts from user feedback > I had actually "disabled" (or so I thought), these services. > But when I went to see my processes running, > I saw NISSERV.EXE. I manually removed this and a few other NIS > files and renamed the *.exe files in the Norton Internet Security > Directory. After this everything began to work fine -- > I also discovered that after disabling and ending some > of the processes, if you restart, NIS restarts the processes again > and there is no way to stop it from doing that, short of a complete > uninstall. It is necessary to disable NIS and turn off all NIS > processes manually every time you want to use program. > additionally, my copy of NIS came bundled with Norton < AntiVirus, (with the computer}, so I had to disable both to > truly disable NIS, leaving me with no a/v protection at all while I > was online with the program. That's all I currently know about this issue Best Regards Tariel Gogoberidze From themacguy at macosx.com Fri Feb 7 22:37:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri Feb 7 22:37:01 2003 Subject: Rev2.0 alpha Message-ID: <01043EEC-3B16-11D7-8316-000393AAEF66@macosx.com> DL'd and played with the Rev2.0 alpha today. Whew! I'll let those in charge of whipping that bad boy into shape take as much time as they need! Release no software before its time. Barry From erikhans08 at yahoo.com Fri Feb 7 23:26:02 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Feb 7 23:26:02 2003 Subject: Showing/Hiding Images on mouseLeave... In-Reply-To: <3E445B6F.6050804@bellsouth.net> Message-ID: <20030208042205.37308.qmail@web20008.mail.yahoo.com> > I simply put a transparent graphic behind my > "freeform" shaped button. > This graphic extends beyond the borders of my > button. I then put this handler in the graphic. > > on mouseEnter > put image "normalstate" into image "goback" > end mouseEnter > > "goback" is the name of my "freeform" button, > "normalstate" is the image > I want displayed when I do a mouseLeave. Since > leaving the button does > not generate a mouseLeave (as you discovered), > entering the transparent > graphic DOES generate a mouseEnter and the > opportunity to change the > graphic. if the mouse enters the transparent graphic from the card, NOT from freeform btn "goback"? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From brad at activadesign.com Fri Feb 7 23:30:01 2003 From: brad at activadesign.com (Bradley Borch) Date: Fri Feb 7 23:30:01 2003 Subject: Flash integration In-Reply-To: <200302071702.MAA08915@www.runrev.com> Message-ID: <685FB851-3B1D-11D7-BC8F-000393C824D2@activadesign.com> Flash is capable of sending messages to other programs using two commands: getURL and FScommand. I've gotten both of these to work within JavaScript and Director using Lingo. Any idea how to send commands from Flash to Rev? Brad Regards, Bradley S. Borch Activa Digital Media Design 5 Pine Point Road Hope, Maine 04847 207-763-4474 brad at activadesign.com http://www.activadesign.com From pixelbird at interisland.net Fri Feb 7 23:48:02 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Feb 7 23:48:02 2003 Subject: More about images In-Reply-To: <200302061040.FAA29936@www.runrev.com> Message-ID: ********** Hi Jan, ---------- > Date: Thu, 6 Feb 2003 01:29:38 -0800 (PST) > From: Jan Schenkel > Subject: Re: More about images >> I'd rather write a >> simple routine that will do the same as it does in >> HC with Uli's xDraw: Draw >> corresponding button rects of the DOWN state image. ---------- See what I need the screen to draw? The main image looks like a computer keyboard with all the keys in the UP position, and has 76 transparent buttons over the "key" simulations in the image. When you move the cursor over a "key" and press the mouse, you are sending a mouseDown to the transparent button. In my HC version, this simulates a "key" press by using the rect of the button to display _only_ that same _portion_ of the DOWN-state image which is in memory. The basic call (just for the display, not other actions) with the XCMD in HC looks like this: on theKey GLOBAL gBgGW_id lock screen get xGWorld( "lock",gBgGW_id ) get xGWorld( "draw",gBgGW_id,rect of the target, rect of the target, the id of card window ) get xGWorld( "unlock",gBgGW_id ) play "kyDnSnd" wait until the mouse is up unlock screen -- redraw screen when mouse is released play "kyUpSnd" end theKey ...It performs a kind of cookie cutter thing: displays a rect of a matching _portion_ of the DOWN image over the same position of the Up image. ---------- > Hi Ken, > > Try this scenario: > - group the "Down" image (yes, just the one image) > - set the rect of the group to the rect you want to > display every time ---------- If I understand you correctly, I think that will resize the whole image, and we'll end up with a miniature of the whole keyboard, won't it? ---------- > - set the lockLocation of the group to true > - hide the group > Then when you need to display: > - set the hScroll of group "DOWN" to X > - set the vScroll of group "DOWN" to Y > - show group "DOWN" ---------- That will scroll the whole grouped DOWN image somewhere...won't work either. ---------- > That ought to do the trick. ---------- Thanks for trying. Maybe I just don't fully understand what happens if you group the image. It has to be in a background behavior thing anyway. Ken N. From mailjjt at bellsouth.net Fri Feb 7 23:51:01 2003 From: mailjjt at bellsouth.net (John J. Theobald) Date: Fri Feb 7 23:51:01 2003 Subject: Showing/Hiding Images on mouseLeave... References: <20030208042205.37308.qmail@web20008.mail.yahoo.com> Message-ID: <3E448C35.2060300@bellsouth.net> erik hansen wrote: >>I simply put a transparent graphic behind my >>"freeform" shaped button. >>This graphic extends beyond the borders of my >>button. I then put this handler in the graphic. >> >>on mouseEnter >> put image "normalstate" into image "goback" >>end mouseEnter >> >>"goback" is the name of my "freeform" button, >>"normalstate" is the image >>I want displayed when I do a mouseLeave. Since >>leaving the button does >>not generate a mouseLeave (as you discovered), >>entering the transparent >>graphic DOES generate a mouseEnter and the >>opportunity to change the >>graphic. >> > > if the mouse enters the transparent graphic from > the card, NOT from freeform btn "goback"? > > ===== > erik at erikhansen.org http://www.erikhansen.org > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > When the mouse enters the transparent graphic from the card, it naturally sends the same "put" to the freeform button. But, the "normalstate" is what already exists, so it does a "put" that is not needed. In my case I use imported images, so it is a memory copy, no disk I/O. IMHO this is negligible overhead while accomplishing the desired result. If you wanted to eliminate the "put", just check the state of the image. Either way, the handler has to do some processing. John Theobald From janschenkel at yahoo.com Sat Feb 8 01:59:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Feb 8 01:59:01 2003 Subject: More about images In-Reply-To: Message-ID: <20030208065431.85239.qmail@web11901.mail.yahoo.com> --- "Ken Norris (dialup)" wrote: > [snip] > ---------- > Thanks for trying. Maybe I just don't fully > understand what happens if you > group the image. It has to be in a background > behavior thing anyway. > > Ken N. > Hi Ken, Let's see if I got this right: - there's one large image with all the keys in their "DOWN" position - and you only want to show a small portion of this image, at a specific place on the card If that's correct, the solution I described ought to work properly: - when you resize a group, this doesn't resize its contents but rather, it acts as a window, only showing the part of its contents you want to display. - you'll have to set its lockLocation to true, or it will resize the first chance it gets ; and you'll have to set the rect of the group to the size of what you want to display. - then you can control which part of all that's in the group is displayed, by controlling the hScroll and vScroll properties of the group. - if you need to display it at different positions on the card, set the topLeft property of the group ; this has no effect on the displayed part of the group. The easiest way to test this is to create a stack ; toss a few buttons and fields on ; group the controls ; add vertical and horizontal scrollbars to the group ; resize the group ; lock its location ; and scroll away :-) Hope this cleared a few things up, Jan Schenkel. PS: don't forget to keep an eye on the group 'margins' property, as otherwise you could get some side-effects while scrolling. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From terry at discovery.nl Sat Feb 8 05:14:01 2003 From: terry at discovery.nl (Terry Vogelaar) Date: Sat Feb 8 05:14:01 2003 Subject: Flash integration In-Reply-To: <685FB851-3B1D-11D7-BC8F-000393C824D2@activadesign.com> Message-ID: <6BEE5DA1-3B4D-11D7-B652-0030656FD666@discovery.nl> Bradley Borch heeft op zaterdag, 8 feb 2003 om 05:25 het volgende geschreven: > Flash is capable of sending messages to other programs using two > commands: getURL and FScommand. I've gotten both of these to work > within JavaScript and Director using Lingo. Any idea how to send > commands from Flash to Rev? You can run RR on a server as CGI engine and let Flash send its commands to that CGI script. I'm afraid tighter integration between Flash and RunRev is just as impossible as a relationship between miscdas and Judy Perry :-) Terry From gary.rathbone at btclick.com Sat Feb 8 06:31:02 2003 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Sat Feb 8 06:31:02 2003 Subject: Flash integration In-Reply-To: <6BEE5DA1-3B4D-11D7-B652-0030656FD666@discovery.nl> Message-ID: <001001c2cf64$f7087100$0e00000a@server> > > Flash is capable of sending messages to other programs using two > > commands: getURL and FScommand. I've gotten both of these to work > > within JavaScript and Director using Lingo. Any idea how to send > > commands from Flash to Rev? > > You can run RR on a server as CGI engine and let Flash send its > commands to that CGI script. > > I'm afraid tighter integration between Flash and RunRev is just as > impossible as a relationship between miscdas and Judy Perry :-) > > Terry If Flash can send a getURL command then I don't see why Flash and Rev can't talk quite happily. I'm no Flash expert will will have a play around and get back to you... Regards Gary Rathbone From valetia at mac.com Sat Feb 8 07:32:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Sat Feb 8 07:32:01 2003 Subject: get URL "http://" not working with faceless CGI's In-Reply-To: <685FB851-3B1D-11D7-BC8F-000393C824D2@activadesign.com> Message-ID: Does anyone know how to get it working? Valetia From k_major at os.surf2000.de Sat Feb 8 07:41:01 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Sat Feb 8 07:41:01 2003 Subject: Flash integration In-Reply-To: <6BEE5DA1-3B4D-11D7-B652-0030656FD666@discovery.nl> Message-ID: <1A06F7DA-3B62-11D7-8A8B-000A27B49A96@os.surf2000.de> Hi Bradley, hi Terry, > Bradley Borch heeft op zaterdag, 8 feb 2003 om 05:25 het volgende > geschreven: > >> Flash is capable of sending messages to other programs using two >> commands: >> getURL and FScommand. I've gotten both of these to work within >> JavaScript and >> Director using Lingo. Any idea how to send commands from Flash to Rev? > > You can run RR on a server as CGI engine and let Flash send its > commands to that CGI script. > > I'm afraid tighter integration between Flash and RunRev is just as > impossible as a relationship between miscdas and Judy Perry :-) ROFL :-D There is a possibility to communicate from Flash to MC. Via QuickTime and using another tool, some QuickTime authoring tool like LiveSTage Pro... There you can add a command to a QT/Flash-object that will send a string "qtdebugstring" that can be trapped in MC. A script like this in the player-object: on qtdebugstr thestring switch thestring case "aaa" your_handler_here ## define these handlers somewhere break ... end qtdebugstr Works fine, but needs another tool. I am not sure if this feature is available in Flash itself. > Terry Hope this helps a bit. Regards Klaus Major k_major at os.surf2000.de From janschenkel at yahoo.com Sat Feb 8 07:56:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Feb 8 07:56:01 2003 Subject: get URL "http://" not working with faceless CGI's In-Reply-To: Message-ID: <20030208125207.24655.qmail@web11906.mail.yahoo.com> --- "valetia at mac.com" wrote: > Does anyone know how to get it working? > > Valetia > The reason why this doesn't work, is that the current cgi-server doesn't load any of the RunRev libraries -- neither the libURL library, nor the revdb library ; it's just the MetaCard engine, basically. The word is that RunRev 2.0 will sport a new cgi-engine, which will have all the libraries loaded at startup, so your cgi-scripts can use them. In the meantime, you should be able to achieve what you want by adding a line start using stack "libURL" at the start of your cgi-script. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From jhurley at infostations.com Sat Feb 8 08:09:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Sat Feb 8 08:09:00 2003 Subject: Home stack In-Reply-To: <200302080427.XAA20597@www.runrev.com> References: <200302080427.XAA20597@www.runrev.com> Message-ID: > >Message: 7 >Date: Fri, 7 Feb 2003 14:16:42 -0800 (PST) >From: erik hansen >Subject: Re: home stack >To: use-revolution at lists.runrev.com >Reply-To: use-revolution at lists.runrev.com > > >--- Jan Schenkel wrote: > >thanks, this makes it simple. > >> insert the script of stack "Foobar" into back >> From then on, messages, handlers and functions >> travel 'through' this script as well. > >is it possible to put > >on startup > insert the script of stack "Foobar" into back > open stack "aa" > ... >end startup > >somewhere so that startup is activated when you >click on the Revolution app icon in Finder? >that would be convenient! > >===== >erik at erikhansen.org http://www.erikhansen.org Eric, A minor addendum to Jan's suggestion. The following ritual works for me--employing a suggestion from Jeanne. Put the stack that is to masquerade as a home stack into the plug-in folder. Include in the stack script: on openStack insert the script of me into back hide stack "MyPlugIn" end openStack After opening the current stack of interest I go to the Development/Plugins menu and select MyPlugIn. And there is the plugin acting as background home stack, out of sight and (lurking dangerously) out of mind. All relatively painless and, Jeanne tells us, to become more so in 2.0. I wonder if it would work as well to load the plugin before all other stacks. Would its scripts then be available to all other loaded subsequently? I am unclear of exactly what the plugin would be in back of. When you say: "insert the script of stack "myStack" into back" are those scripts then available only to the stack from which they were inserted, to all open stacks, to all stacks open subsequently, to attacks from al queda? Theorem: All answers raise questions. Jim From janschenkel at yahoo.com Sat Feb 8 08:47:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Feb 8 08:47:01 2003 Subject: Home stack In-Reply-To: Message-ID: <20030208134243.28710.qmail@web11906.mail.yahoo.com> --- Jim Hurley wrote: > [snip] > > Eric, > > A minor addendum to Jan's suggestion. The following > ritual works for > me--employing a suggestion from Jeanne. Put the > stack that is to > masquerade as a home stack into the plug-in folder. > Include in the > stack script: > > on openStack > insert the script of me into back > hide stack "MyPlugIn" > end openStack > > After opening the current stack of interest I go to > the > Development/Plugins menu and select MyPlugIn. And > there is the plugin > acting as background home stack, out of sight and > (lurking > dangerously) out of mind. All relatively painless > and, Jeanne tells > us, to become more so in 2.0. > > I wonder if it would work as well to load the plugin > before all other > stacks. Would its scripts then be available to all > other loaded > subsequently? I am unclear of exactly what the > plugin would be in > back of. > > When you say: "insert the script of stack "myStack" > into back" are > those scripts then available only to the stack from > which they were > inserted, to all open stacks, to all stacks open > subsequently, to > attacks from al queda? > > Theorem: All answers raise questions. > > Jim > Hi Jim, You are right, that is a wonderful side-effect of the RunRev plug-in architecture. More on that in a later post. Now, to answer your question regarding availability: the scripts inserted into back, sit in between the stacksInUse and the engine, in a specific order. So their handlers and functions are available to all other scripts (except the ones 'behind' them), and stay that way until you 'remove' the script again. One possible use of the specific order in which these scripts are inserted, is for distributing patches : Suppose you have a standalone with substack 'Foobar', whose script is inserted into back at startup. then you have another script, which checks for the availability of a 'patch' stack, downloads it, and inserts its script into back. There it ends up, a bit surprisingly at first, _before_ the original script in the message path. Of course this means that the 'patch' gets the messages first, and can fix the flawed handler, without you having to redistribute the app or keep substacks in a separate folder, to have them replaced in whole at update time. When you use either fronstScripts or backScripts, it is very important to keep track of which messages you trap at which time, and where you insert and remove the scripts, as things can get messy if you're not careful, and you can render the environment inoperable. Nevertheless, a very welcome addition by the MetaCard people to the old 'stacksInUse' that was pioneered by HyperCard. Hope this helped someone in their scripting efforts, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From valetia at mac.com Sat Feb 8 09:35:00 2003 From: valetia at mac.com (valetia at mac.com) Date: Sat Feb 8 09:35:00 2003 Subject: get URL "http://" not working with faceless CGI's In-Reply-To: <20030208125207.24655.qmail@web11906.mail.yahoo.com> Message-ID: Hi Jan, > In the meantime, you should be able to achieve what > you want by adding a line > start using stack "libURL" > at the start of your cgi-script. Hmm, tried that and it still doesn't work (I get an internal server error the moment that line is inserted)... Valetia From dcragg at lacscentre.co.uk Sat Feb 8 10:10:01 2003 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat Feb 8 10:10:01 2003 Subject: get URL "http://" not working with faceless CGI's In-Reply-To: References: Message-ID: At 12:30 am +1000 9/2/03, valetia at mac.com wrote: >Hi Jan, > >> In the meantime, you should be able to achieve what >> you want by adding a line >> start using stack "libURL" >> at the start of your cgi-script. > >Hmm, tried that and it still doesn't work (I get an internal server error >the moment that line is inserted)... The problem is that there is no stack "libUrl" for your script to access. (Jan, were you using the Metacard side of your brain? :)) To make a libUrl stack from within Rev, you could do this. Create a new mainstack and name it myLibUrl (or whatever) and save it as myLibUrl.rev. In a button, put the following script (take care of wrapping in mail): on mouseUp set the script of stack "myLibUrl" to the script of button "revlibUrl" \ of stack "revLibrary" set the customproperties of stack "myLibUrl" to the customproperties \ of button "revlibUrl" of stack "revLibrary" set the customProperties["cFtpGoodCodes"] of stack "myLibUrl" to \ the customProperties["cFtpGoodCodes"] \ of button "revlibUrl" of stack "revLibrary" save stack "myLibUrl" end mouseUp I've never done the next bit, but I understand it works. (Someone please tell us if I'm wrong.) Place the myLibUrl stack in the same location as your cgi script. Near the top of your cgi script, put the line: start using stack "myLibUrl.rev" Cheers Dave From valetia at mac.com Sat Feb 8 10:47:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Sat Feb 8 10:47:01 2003 Subject: get URL "http://" not working with faceless CGI's In-Reply-To: Message-ID: > Place the myLibUrl stack in the same location as your cgi script. > Near the top of your cgi script, put the line: > start using stack "myLibUrl.rev" Thanks Dave, that works! Thanks Jan for your time too. :-) Valetia From zelston at aol.com Sat Feb 8 22:42:01 2003 From: zelston at aol.com (Zac Elston) Date: Sat Feb 8 22:42:01 2003 Subject: stackrect vs screenrect In-Reply-To: <200302081549.KAA29735@www.runrev.com> References: <200302081549.KAA29735@www.runrev.com> Message-ID: <3E45CCFF.2090508@aol.com> An HTML attachment was scrubbed... URL: From mailjjt at bellsouth.net Sat Feb 8 23:18:01 2003 From: mailjjt at bellsouth.net (John J. Theobald) Date: Sat Feb 8 23:18:01 2003 Subject: Showing/Hiding Images on mouseLeave... IMPROVED Message-ID: <3E45D601.9090302@bellsouth.net> > John J. Theobald wrote: > > erik hansen wrote: > > I simply put a transparent graphic behind my "freeform" shaped > button. This graphic extends beyond the borders of my button. I > then put this handler in the graphic. > > on mouseEnter put image "normalstate" into image "goback" end > mouseEnter > > "goback" is the name of my "freeform" button, "normalstate" is the > image I want displayed when I do a mouseLeave. Since leaving the > button does not generate a mouseLeave (as you discovered), entering > the transparent graphic DOES generate a mouseEnter and the opportunity > to change the graphic. > > > if the mouse enters the transparent graphic from the card, NOT from > freeform btn "goback"? > > ===== erik at erikhansen.org http://www.erikhansen.org > > __________________________________________________ Do you Yahoo!? Yahoo! > Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com > > _______________________________________________ use-revolution > mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > When the mouse enters the transparent graphic from the card, it > naturally sends the same "put" to the freeform button. But, the > "normalstate" is what already exists, so it does a "put" that is > not needed. In my case I use imported images, so it is a memory > copy, no disk I/O. IMHO this is negligible overhead while > accomplishing the desired result. If you wanted to eliminate the > "put", just check the state of the image. Either way, the handler > has to do some processing. > > John Theobald > > _______________________________________________ use-revolution > mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution > > Upon further experimentation, I found I did not like the solution I provided above because very fast mouse movements over the freeform graphic could potentially leave it in an undesireable "state". I imagine this is due to the system mouse polling and it's inability to trap events under very fast movement and missing the mouseEnter on my surrogate graphic. So, I decided to write my own "mouseLeave" handler called checkMe for the freeform button that is 100% consistent and accurate and involves no surrogate graphics. I submit it as an improved and IMO more elegant solution to the mouseLeave issue. Any enhancement suggestions welcomed. #################################################################### on mouseEnter put image "activestate" into me send checkMe to me in 10 ticks # Check the mouseLoc for leave end mouseEnter on checkMe if within(me, the mouseLoc) then send checkMe to me in 10 ticks # Check back if still within else # otherwise put image "normalstate" into me # back to normal because we left end if end checkMe #################################################################### I should have done more testing before suggesting my previous solution, apologies to the list. John J. Theobald From pixelbird at interisland.net Sun Feb 9 02:37:00 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Feb 9 02:37:00 2003 Subject: Group disappeared (was More about images) In-Reply-To: <200302081548.KAA29663@www.runrev.com> Message-ID: *********** > Date: Fri, 7 Feb 2003 22:54:31 -0800 (PST) > From: Jan Schenkel > Subject: Re: More about images > Hi Ken, > > Let's see if I got this right: > - there's one large image with all the keys in their > "DOWN" position > - and you only want to show a small portion of this > image, at a specific place on the card ---------- That's right. ---------- > If that's correct, the solution I described ought to > work properly: > - when you resize a group, this doesn't resize its > contents but rather, it acts as a window, only showing > the part of its contents you want to display. ---------- I never would have guessed that. If I understood how and why it works that would help. ---------- > - you'll have to set its lockLocation to true, or it > will resize the first chance it gets ; and you'll have > to set the rect of the group to the size of what you > want to display. > - then you can control which part of all that's in the > group is displayed, by controlling the hScroll and > vScroll properties of the group. > - if you need to display it at different positions on > the card, set the topLeft property of the group ; this > has no effect on the displayed part of the group. ---------- LockLoc of the group? I guess I'm confused. I thought I had to resize it in the handler to fit each "key" (button) anyway. The handlers look like this: on theKey -- in the stack script -- the image is designed so the "keys" match the button rects -- so we can match it up if the original group image is properly set set the rect of group id 1017 to the rect of the target -- Now set the position it displays set the hScroll of group id 1017 to the left of the target set the vScroll of group id 1017 to the top of the target end theKey ...the button script looks like this: on mouseDown theKey show group id 1017 end mouseDown on mouseUp hide group id 1017 end mouseUp ...I just tried it with one button, and I can see it work OK, but it didn't quite align like it should have. I tried to show the group from the message box, but it just showed the little piece. I tried to resize it to the screen so I could realign the whole image to make it properly match the buttons, but it went totally HAYWIRE! The group ended up with only about 1/3 of the BOTTOM RIGHT of original image in the UPPER LEFT of the screen. The handles were all in the right position, though, but the bottom right of the screen was transparent, i.e., I could see the UP group there. When I dragged it down and to the right I could see that the rest of the UPPER LEFT of the image was missing. The upper left handle was at the corner, but the rest of the group was cut off. So I tried to hide the image and see if I could get the button to work, but I got a squawk box saying it couldn't find the group. I tried to show it with the msg box but it squawked again, this time saying the group didn't exist. So, somehow the group seems to have disappeared from the stack. I don't have a clue what happened to it. Any help appreciated. TIA. Ken N. From jeanne at runrev.com Sun Feb 9 03:47:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Feb 9 03:47:01 2003 Subject: Rotating Images without enlarging the image space In-Reply-To: <200302060513.h165DexF013804@ms-smtp-02.nyroc.rr.com> Message-ID: At 9:13 PM -0800 2/5/03, Howard Bornstein wrote: >In the 1.1.1 docs it says "set the angle of a _graphic_ to angledegrees" > >"Use the angle property to create an arc shape or to rotate a regular >polygon." > >Nothing about images (or has this always been there undocumented)? No - the usage for images is new in 2.0. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sun Feb 9 03:47:44 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Feb 9 03:47:44 2003 Subject: Setting graphic style to Line In-Reply-To: <05925B5B-3A28-11D7-A645-000393BF0854@bloomington.in.us> Message-ID: At 3:09 PM -0800 2/6/03, Jim Witte wrote: > But if I create one line, then set the style of another object to the >style of the first line, it disappears. The object is still listed in >the application overview (at least in 20a), but it won't show on the >screen (If I set the style to something other than a line, it shows up; >then if I select line again, it disappears. This is because the other graphic (if you've created, say, a rectangle) has an empty points property. If the points property of a line is empty, the line doesn't have any length (because it's got no points), so it won't appear on screen even though it exists in the stack. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From janschenkel at yahoo.com Sun Feb 9 05:45:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Feb 9 05:45:01 2003 Subject: Group disappeared (was More about images) In-Reply-To: Message-ID: <20030209104054.22476.qmail@web11904.mail.yahoo.com> --- "Ken Norris (dialup)" wrote: > *********** > > Date: Fri, 7 Feb 2003 22:54:31 -0800 (PST) > > From: Jan Schenkel > > Subject: Re: More about images > > > Hi Ken, > > > > Let's see if I got this right: > > - there's one large image with all the keys in > their > > "DOWN" position > > - and you only want to show a small portion of > this > > image, at a specific place on the card > ---------- > That's right. > ---------- > > If that's correct, the solution I described ought > to > > work properly: > > - when you resize a group, this doesn't resize its > > contents but rather, it acts as a window, only > showing > > the part of its contents you want to display. > ---------- > I never would have guessed that. If I understood how > and why it works that > would help. > ---------- > > - you'll have to set its lockLocation to true, or > it > > will resize the first chance it gets ; and you'll > have > > to set the rect of the group to the size of what > you > > want to display. > > - then you can control which part of all that's in > the > > group is displayed, by controlling the hScroll and > > vScroll properties of the group. > > - if you need to display it at different positions > on > > the card, set the topLeft property of the group ; > this > > has no effect on the displayed part of the group. > ---------- > LockLoc of the group? I guess I'm confused. I > thought I had to resize it in > the handler to fit each "key" (button) anyway. The > handlers look like this: > > on theKey -- in the stack script > > -- the image is designed so the "keys" match the > button rects > -- so we can match it up if the original group > image is properly set > > set the rect of group id 1017 to the rect of the > target > > -- Now set the position it displays > > set the hScroll of group id 1017 to the left of > the target > set the vScroll of group id 1017 to the top of the > target > end theKey > > ...the button script looks like this: > > on mouseDown > theKey > show group id 1017 > end mouseDown > > on mouseUp > hide group id 1017 > end mouseUp > > ...I just tried it with one button, and I can see it > work OK, but it didn't > quite align like it should have. I tried to show the > group from the message > box, but it just showed the little piece. I tried to > resize it to the screen > so I could realign the whole image to make it > properly match the buttons, > but it went totally HAYWIRE! > > The group ended up with only about 1/3 of the BOTTOM > RIGHT of original image > in the UPPER LEFT of the screen. The handles were > all in the right position, > though, but the bottom right of the screen was > transparent, i.e., I could > see the UP group there. When I dragged it down and > to the right I could see > that the rest of the UPPER LEFT of the image was > missing. The upper left > handle was at the corner, but the rest of the group > was cut off. > > So I tried to hide the image and see if I could get > the button to work, but > I got a squawk box saying it couldn't find the > group. I tried to show it > with the msg box but it squawked again, this time > saying the group didn't > exist. > > So, somehow the group seems to have disappeared from > the stack. I don't have > a clue what happened to it. > > Any help appreciated. > > TIA. > Ken N. > Hi Ken, First of all, try to see if the group is still there by using the Application Overview. It may just have run offscreen. If it's till there, try the following: set the rect of group "Foobar" to "100,100,200,200" set the hscroll of group "Foobar" to 0 set the vscroll of group "Foobar" to 0 And slowly rebuild from there. Also, to fix the little offsets you see: set the margins of group "Foobar" to 0 At any rate, your script looks just fine to me, and ought to do the trick. Hopefully we can fix the last quirks for you :) Jan Schenkel. PS: I've had some strange effects when using groups as well, though I've never been able to pinpoint them : a group with a script that conrained the line 'start editing me' and would halt right there, claiming there was no such group. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From janschenkel at yahoo.com Sun Feb 9 05:51:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Feb 9 05:51:00 2003 Subject: get URL "http://" not working with faceless CGI's In-Reply-To: Message-ID: <20030209104645.51575.qmail@web11907.mail.yahoo.com> --- Dave Cragg wrote: > At 12:30 am +1000 9/2/03, valetia at mac.com wrote: > >Hi Jan, > > > >> In the meantime, you should be able to achieve > what > >> you want by adding a line > >> start using stack "libURL" > >> at the start of your cgi-script. > > > >Hmm, tried that and it still doesn't work (I get an > internal server error > >the moment that line is inserted)... > > The problem is that there is no stack "libUrl" for > your script to > access. (Jan, were you using the Metacard side of > your brain? :)) > Hi Dave, Out of curiosity, is that the right or the left half? No seriously, I would have thought you could simply drop the libURL file from the RunRev website into the folder, or store it elsewhere and include a path in the 'start using' call. Oh well, thanks for correcting me Dave ; glad Valetia is up and running now ; and also thanks for teaching me another valuable trick on how to extract the most current internet library ;-) Best regards, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From gary.rathbone at btclick.com Sun Feb 9 06:35:01 2003 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Sun Feb 9 06:35:01 2003 Subject: Flash integration - An Answer Message-ID: <000501c2d02e$9cd65380$0e00000a@server> OK. When I click on a button in Flash I get a "HelloRev" message in my Rev stack. Rev then returns a "HelloFlash" message. So the two can talk to each other and pass parameters for parsing and other actions. When I said I was no Flash expert I actually meant I'd never used the program, so I'm sure there's much more on the Flash side that can be done rather that just displaying the Rev response in a browser. In Flash I created a button with the following script... ----------- on (press) { getURL("http://127.0.0.1:8181/$HelloRev$", "_blank"); } ----------- I then created a stack with a single button 'Start' and a field 'tfld'. The 'Start' button has the following script. This is very similar to the Javascript/WebForm/Browser 'integrator' stack previously published. ----------- on mouseup put "" into fld "tfld" get the OpenSockets repeat with c=1 to the number of lines in it close socket (line c of it) end repeat accept connections on port 8181 with message "wRequest" end mouseup on wRequest skt set the itemdel to "$" set the socketTimeoutInterval to 20000 read from socket skt for 1 line put item 2 of it into fld "tfld" write "HelloFlash" to socket skt close socket skt end wRequest ----------- So, Rev is 'listening' for a request on port 8181 of IP 127.0.0.1 (which is the local machine - you don't need to change this IP address as every (?) computer uses this IP address as its own reference - the loopback IP). When the Flash button is pressed it sends a request to the Rev stack which parses the parameter and puts the result into the field. Rev then returns a string which currently appears in a browser window, but I'm sure someone more competant in flash could do more with this... Hope this helps. Regards Gary Rathbone From webart at kenjikojima.com Sun Feb 9 07:30:01 2003 From: webart at kenjikojima.com (Kenji Kojima) Date: Sun Feb 9 07:30:01 2003 Subject: unicode in pre-beta In-Reply-To: <20030206.073258.1256.0.diskot123@juno.com> Message-ID: Hi, Can I set two-byte characters button label, menus, stack title and custom properties? I looked for related unicode new words, and only found "unicodeText", "htmlText" and "useUnicode". I tried to use them, but did not work. Thanks, -- Kenji Kojima kenjikojima.com From rpresender at earthlink.net Sun Feb 9 08:34:00 2003 From: rpresender at earthlink.net (Robert Presender) Date: Sun Feb 9 08:34:00 2003 Subject: User info Message-ID: Hi, It is noted that in registration forms, the user's name and email address are pre-inserted. Would appreciate info as to how such info is obtained. Would like to use in a Rev/MC standalone. TIA Regards ... Bob From Revinfo1155 at aol.com Sun Feb 9 13:18:01 2003 From: Revinfo1155 at aol.com (Revinfo1155 at aol.com) Date: Sun Feb 9 13:18:01 2003 Subject: Custom property Message-ID: <19f.107522ce.2b77f44c@aol.com> Could someone define a custom property and give me an example and a "How to set one up!" Thanks much Jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From ambassador at fourthworld.com Sun Feb 9 13:52:03 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Feb 9 13:52:03 2003 Subject: Custom property In-Reply-To: <19f.107522ce.2b77f44c@aol.com> Message-ID: Revinfo1155 at aol.com wrote: > Could someone define a custom property and give me an example and a "How to > set one up!" Custom properties are automatically defines when you set their values: set the uGreeting of this stack to "Hello World" -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From livfoss at blueyonder.co.uk Sun Feb 9 16:28:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sun Feb 9 16:28:01 2003 Subject: printing (was: couple of questions) Message-ID: On Thu, 6 Feb 2003 22:39:53 -0800 (PST), Jan Schenkel wrote: > >--- Alex Rice wrote: [..] >Does > > anyone have sample >> code they could share, or have posted in the past to >> this list, which >> shows how to do this non-trivial kind of printing. >> Especially the paper >> size and pagination? >> > >Hi Alex, > >RunRev 2.0 will have much better printing options, >especially for reports. > >In the meantime, you could take a look at the >'printPaperSize', 'printMargins' , 'printGutters', and >a few more 'printXXX' properties. >Then get the height of your stack, and you should be >able to determine where the page breaks are going to >end up, and 'create' or 'clone' a field on the correct >card with the pagenumber in it. I echo Alex's original query. I have not yet discovered a good example of a comprehensive printing script. One thing I've discovered is that, taken together, the description of the 'printPaperSize' global property and the 'answer printer' command in the Transcript Dictionary are misleading, since it appears from the 'printPaperSize' example that you can **set** the property by script, but doesn't mention that you can also find out the values **the user has set it to** via a 'Page Setup' dialog ('answer printer') - AFAIK this is the only way to determine what the user has asked for in terms of paper size and portrait/landscape choice. I have not yet tried to understand the report generating in 2.0, and I don't know if it tries to do more with the printer driver API elements that are common across platforms. In particular, I don't know if it will be possible to find out the maximum printable area (minimum margins) on a page, which certainly seems possible for other applications on all the Mac and Windows printers I've used. This is of course essential if you allow your user to set margins and you wnat to warn him/her if cropping is likely to occur. Maybe some more expert person knows what the minimum acceptable readable properties which printer drivers have to conform to on Revo-supported platforms. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From pixelbird at interisland.net Sun Feb 9 16:30:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Feb 9 16:30:01 2003 Subject: Group disappeared (was More about images) In-Reply-To: <200302091702.MAA16934@www.runrev.com> Message-ID: ********** > Date: Sun, 9 Feb 2003 02:40:54 -0800 (PST) > From: Jan Schenkel > Subject: Re: Group disappeared (was More about images) > First of all, try to see if the group is still there > by using the Application Overview. It may just have > run offscreen. ---------- OK, I'll go look. ---------- > If it's till there, try the following: > set the rect of group "Foobar" to "100,100,200,200" > set the hscroll of group "Foobar" to 0 > set the vscroll of group "Foobar" to 0 > And slowly rebuild from there. ---------- That's exactly what I did when I tried to reset the group's size. That's when it went berserk, and then disappeared. ---------- > Also, to fix the little > offsets you see: > set the margins of group "Foobar" to 0 ---------- Yes, I had done that in the dialog (and locked) before making the calls, because the group came with 4 pixel margins on either side of the display. ---------- > At any rate, your script looks just fine to me, and > ought to do the trick. Hopefully we can fix the last > quirks for you :) ---------- Yes, it worked until I tried to reset the group's position when it disappeared. ---------- > PS: I've had some strange effects when using groups as > well, though I've never been able to pinpoint them : a > group with a script that conrained the line 'start > editing me' and would halt right there, claiming there > was no such group. ---------- Maybe the engine got confused as to what the object "me" was. What would happen if you defined it by the literal long name? Ken N. From gcanyon at inspiredlogic.com Sun Feb 9 16:52:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Feb 9 16:52:01 2003 Subject: Flash integration - An Answer In-Reply-To: <000501c2d02e$9cd65380$0e00000a@server> Message-ID: <1ACFEDA8-3C78-11D7-9EDC-003065683ECC@inspiredlogic.com> Great stuff! I've put this up at: http://wiki.macitworks.com/revdocs/IntegratingWithFlash If anyone has any additions, refinements, comments, etc., you are all able to edit the page freely (no login required). Gary, if you don't want it there, feel free to delete it. gc On Sunday, February 9, 2003, at 03:30 AM, Gary Rathbone wrote: > OK. When I click on a button in Flash I get a "HelloRev" message in my > Rev > stack. Rev then returns a "HelloFlash" message. So the two can talk to > each > other and pass parameters for parsing and other actions. When I said I > was > no Flash expert I actually meant I'd never used the program, so I'm > sure > there's much more on the Flash side that can be done rather that just > displaying the Rev response in a browser. > > In Flash I created a button with the following script... > > ----------- > on (press) { > getURL("http://127.0.0.1:8181/$HelloRev$", "_blank"); > } > ----------- > > I then created a stack with a single button 'Start' and a field > 'tfld'. The > 'Start' button has the following script. This is very similar to the > Javascript/WebForm/Browser 'integrator' stack previously published. > > ----------- > on mouseup > put "" into fld "tfld" > get the OpenSockets > repeat with c=1 to the number of lines in it > close socket (line c of it) > end repeat > accept connections on port 8181 with message "wRequest" > end mouseup > > on wRequest skt > set the itemdel to "$" > set the socketTimeoutInterval to 20000 > read from socket skt for 1 line > put item 2 of it into fld "tfld" > write "HelloFlash" to socket skt > close socket skt > end wRequest > ----------- > > So, Rev is 'listening' for a request on port 8181 of IP 127.0.0.1 > (which is > the local machine - you don't need to change this IP address as every > (?) > computer uses this IP address as its own reference - the loopback IP). > When > the Flash button is pressed it sends a request to the Rev stack which > parses > the parameter and puts the result into the field. Rev then returns a > string > which currently appears in a browser window, but I'm sure someone more > competant in flash could do more with this... > > Hope this helps. > > Regards > > Gary Rathbone regards, Geoff Canyon gcanyon at inspiredlogic.com From livfoss at blueyonder.co.uk Sun Feb 9 17:04:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sun Feb 9 17:04:01 2003 Subject: Another printing question Message-ID: According to the Transcript Dictionary, the 'revShowPrintDialog' command only works for revPrintField or revPrintText. How then do you force a print dialog to appear when you print a card (or cards) on a Windows-based system? I think I have seen such a dialog on a Windows system as the result of using the 'open printing with dialog' command (theoretically only useful for printing multiple cards in one print job), but since I haven't managed to print anything yet, this may not be a reliable result. I'm just wanting my app to have the kind of printing interface which is common to Windows apps, nothing very advanced... I will continue to experiment, but I'd be happy to get some more expert help. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From monte at sweattechnologies.com Sun Feb 9 17:39:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Feb 9 17:39:01 2003 Subject: [ANN] libColor v 0.4.1 Message-ID: Hi All libColor now has Pantone support. So you can now use libColor to convert from a Pantone color to RGB, HEX, closest color name, HSV and CMYK. You can also convert any of the above into the closest matching Pantone. If anyone else would like to contribute a color system then please let me know off list. Thanks to Roger Eller and James Cass for contributing the Pantone to RGB conversion table! You can download it and read the new docs at www.sweattechnologies.com/rev Cheers Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From jeanne at runrev.com Sun Feb 9 18:13:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Feb 9 18:13:01 2003 Subject: Another printing question In-Reply-To: Message-ID: At 1:57 PM -0800 2/9/03, Graham Samuel wrote: >According to the Transcript Dictionary, the 'revShowPrintDialog' >command only works for revPrintField or revPrintText. How then do you >force a print dialog to appear when you print a card (or cards) on a >Windows-based system? Check out the answer printer command. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jhurley at infostations.com Sun Feb 9 18:30:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Sun Feb 9 18:30:01 2003 Subject: Storing images In-Reply-To: <200302091702.MAA16979@www.runrev.com> References: <200302091702.MAA16979@www.runrev.com> Message-ID: I have a small addendum to the Storing Images discussion. If you wish to have icons of a given image displayed with varying sizes on different cards, there was a way of doing this suggested by Sannyasin Sivakatirswami. In his method all images are stored once in a substack. Those images then become icons resized on PreOpenCard. This is a variation on that method which is just a little simpler (it doesn't require a closeCard handler) and produces a nice border around the image by simultaneously resizing the button. On each card there is a preOpenCard handler: On preOpenCard resizeImage "imageOne", 1.5 --Image name and the degree of magnification --Likewise for the other images end preOpenCard The handler "resizeImage" is stored in the stack script of the substack and reads as follows: on resizeImage theImage,theMagnification --Reset the image size on the substack card to the desired size set the defaultStack to "imagesSubstack" put the imageSize of image theImage into theImageSize set the width of image theImage to theMagnification*item 1 of theImageSize set the height of image theImage to theMagnification* item 2 of theImageSize --Set the button size to fit the image size set the defaultstack to "images" set the width of button theImage to 1.05*theMagnification*item 1 of value(theImageSize) set the height of button theImage to 1.05*theMagnification*item 2 of value(theImageSize) end resizeImage Where each image has been assigned a "imageSize" property which is its default width and height. The handler will resize the image in the substack, and that image becomes the icon in the like-named button in the main stack. The button whose icon is the image is also resized to just fit (just a little bit extra--1.05--makes for a little better appearance) around the image as a border. You can have your cake and a border too. Jim From gcanyon at inspiredlogic.com Sun Feb 9 19:13:20 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Feb 9 19:13:20 2003 Subject: SQL Tutorial Message-ID: The online docs reference an SQL tutorial at: http://w3.one.net/~jhoffman/sqltut.htm That page appears to be unavailable now. I retrieved a copy from the very wonderful and tidied it up for public presentation. It's at: Please be patient -- it's a big page, and the wiki server is a small underpowered thing. A really good idea would be to convert the page to native wiki syntax, and break it up into a dozen or so related pages. There is a copyright notice on the work crediting James Hoffman; a cursory web search failed to turn up either a more recent copy of the tutorial or an email link for Mr. Hoffman. That said, obviously if he turns up and asks me to remove the information, I'll have to pull it down. Until that (possible) time, feel free to peruse, enjoy, and even edit -- remember, it's a wiki -- anyone can contribute, no authorization required. regards, Geoff Canyon gcanyon at inspiredlogic.com From gcanyon at inspiredlogic.com Sun Feb 9 19:23:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Feb 9 19:23:01 2003 Subject: Storing images In-Reply-To: Message-ID: <2FDC9979-3C8D-11D7-9EDC-003065683ECC@inspiredlogic.com> Excellent! I've added this to the wiki at: If anyone has any additions, refinements, comments, etc., you are all able to edit the page freely (no login required). Jim, if you don't want it there, feel free to delete it. gc On Sunday, February 9, 2003, at 03:25 PM, Jim Hurley wrote: > I have a small addendum to the Storing Images discussion. If you wish > to have icons of a given image displayed with varying sizes on > different cards, there was a way of doing this suggested by Sannyasin > Sivakatirswami. In his method all images are stored once in a > substack. Those images then become icons resized on PreOpenCard. > > This is a variation on that method which is just a little simpler (it > doesn't require a closeCard handler) and produces a nice border around > the image by simultaneously resizing the button. > > On each card there is a preOpenCard handler: > > On preOpenCard > resizeImage "imageOne", 1.5 --Image name and the degree of > magnification > --Likewise for the other images > end preOpenCard > > The handler "resizeImage" is stored in the stack script of the > substack and reads as follows: > > on resizeImage theImage,theMagnification > --Reset the image size on the substack card to the desired size > set the defaultStack to "imagesSubstack" > put the imageSize of image theImage into theImageSize > set the width of image theImage to theMagnification*item 1 of > theImageSize > set the height of image theImage to theMagnification* item 2 of > theImageSize > --Set the button size to fit the image size > set the defaultstack to "images" > set the width of button theImage to 1.05*theMagnification*item 1 of > value(theImageSize) > set the height of button theImage to 1.05*theMagnification*item 2 of > value(theImageSize) > end resizeImage > > > > Where each image has been assigned a "imageSize" property which is its > default width and height. > > The handler will resize the image in the substack, and that image > becomes the icon in the like-named button in the main stack. > > The button whose icon is the image is also resized to just fit (just a > little bit extra--1.05--makes for a little better appearance) around > the image as a border. You can have your cake and a border too. > > Jim regards, Geoff Canyon gcanyon at inspiredlogic.com From brad at activadesign.com Sun Feb 9 19:31:01 2003 From: brad at activadesign.com (Bradley Borch) Date: Sun Feb 9 19:31:01 2003 Subject: Flash integration - sort of... In-Reply-To: <200302091702.MAA16979@www.runrev.com> Message-ID: <4D5BCCFB-3C8E-11D7-A208-000393C824D2@activadesign.com> On Sunday, February 9, 2003, at 12:02 PM, use-revolution-request at lists.runrev.com wrote: > getURL("http://127.0.0.1:8181/$HelloRev$", "_blank"); > > So, Rev is 'listening' for a request on port 8181 of IP 127.0.0.1 > (which is > the local machine - you don't need to change this IP address as every > (?) > computer uses this IP address as its own reference - the loopback IP). > When > the Flash button is pressed it sends a request to the Rev stack which > parses > the parameter and puts the result into the field. Rev then returns a > string > which currently appears in a browser window, but I'm sure someone more > competant in flash could do more with this... > > Hope this helps. Umm... thanks, Gary, but I'm just a humble multimedia guy, and the port/IP address stuff is a little beyond me. I was thinking of something a bit more direct. My goal is to actually include the swf file as a QuickTime movie playing in rev to send commands to the rev environment at play time. Presumably it would be the same kind of command coming from a "wired" QT movie created in, say, LiveStage. I've been experimenting with a particular swf clip, an interface with some nice elements (multiple dynamically created movie clips, clips that track mouse movements, etc.) This file works fairly well in Rev; the animations track nicely in rev 1.1 but the buttons only respond about 10% of the time to a mouseUp, and that only after 5-10 seconds. Interestingly, the mouseDown response is instantaneous. The situation is reversed in rev 2, with the buttons responding correctly but the animations extremely sluggish. If folks are interested, I'll post the swf file to mess around with. From pixelbird at interisland.net Sun Feb 9 23:00:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Feb 9 23:00:01 2003 Subject: Groups and clone buttons In-Reply-To: <200302091702.MAA16934@www.runrev.com> Message-ID: Hello, I got my two images grouped with background behavior. Then I created two like buttons to where the handler shows the part of the group I needed. Many thanks to Jan for the help...it's hard to fathom how much time that saved. Next, I actually cut those two test transparent buttons and pasted them into the first image group as part of the group. That means the same group that has the UP state image owns the buttons, too. Did I do that right? I'm thinking maybe not, because I will eventually have at least 5 keyboard designs all based on the same button set (the first three are done). Each will have two associated images like the Simulator, i.e., UP and DOWN. The current keyboard Simulator images are imported. My question is: Where are these images stored in Rev? Suppose I give them the three sets I've already designed, but offer the other two as extras later on. I'd like some opinions on the best way to implement this in Rev. Second subject is cloning buttons (or any object for that matter) as a group. I can do it by hand, but I was wondering if it would be worthwhile to create a small IDE to do these things, or if someone has already done it. Also, since so much of the HC stack should be rewritten for Rev, only the display images and buttons (scripts involve lots of TTS, etc. and won't work) are valid. How can I import just the background button set to the Rev stack for placement purposes? Thanks in advance, Ken N. From katir at hindu.org Mon Feb 10 00:25:01 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Mon Feb 10 00:25:01 2003 Subject: Storing images In-Reply-To: Message-ID: <78DDDEF6-3CB7-11D7-A036-003065FB9830@hindu.org> On Sunday, February 9, 2003, at 01:25 PM, Jim Hurley wrote: > put the imageSize of image theImage into theImageSize > set the width of image theImage to theMagnification*item 1 of > theImageSize > set the height of image theImage to theMagnification* item 2 of > theImageSize Very nice simplification, Jim: Question: I haven't tested lately, but if you resize that image once, say, a 50 percent reduction. Then later if you apply a .5 to it again, don't you end up with an image 1/4 the original size? That's why i was doing the restore business. From katir at hindu.org Mon Feb 10 00:42:01 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Mon Feb 10 00:42:01 2003 Subject: Multi-user stacks on servers? Message-ID: I am interested in see what we can do without using an external multi-user dBase, sticking with Rev stack (s), as a data respository (s) on a server, with multi-user access. Can a stack on a local station do something like Send new card to stack "Vendors" ## which resides on a server, kind of like a single table in a SQL Dbase put "Some vender Name" into fld "Vendor Name" For this to happen, does the stack on the server have to be open? If so, then I guess there is no second user access for a write at that moment and if I am right, then this would not be doable? or is there a doable option other than storing all "records' as small text files and locking them on read and write. The data is complex but limited, well within the limits, size-wise, of Rev to handle very efficiently. A super macho dBase is not really needed in terms of speed. Meanwhile Rev's tool box lends itself well to dealing with the complexity (especially if one only knows xTalk and is loath to get into a new learning curve) But multi-user access is an issue. What are our options? Sannyasin 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 pixelbird at interisland.net Mon Feb 10 00:49:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Mon Feb 10 00:49:01 2003 Subject: Stereo channels/TTS In-Reply-To: <200302081548.KAA29663@www.runrev.com> Message-ID: OK, here's one: One of my disabled folks has severe motor skill deficits, exhibits basically only gross, slow, and delayed motion, and some vision impairments, and speech deficits. In developing communcations, I need voice feedback as well as voice simulation TTS. The thing is, I sometimes need them both to be available simultaneously, so the feedback voice should come through, say, the left channel and go to a headset or earbud, and the simulator through the speaker, with two separate voices. Is there any way to do this in Rev? I may be able to implement it on the Mac, but Windows might be tough. Any ideas? TIA, Ken N. From Esa.Kivela at ncrc.fi Mon Feb 10 01:42:01 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Mon Feb 10 01:42:01 2003 Subject: That oleer printing problem again Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD645@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Jeanne A. E. DeVoto [mailto:jeanne at runrev.com] > L?hetetty: 10. helmikuuta 2003 0:23 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: Another printing question > > > At 1:57 PM -0800 2/9/03, Graham Samuel wrote: > >According to the Transcript Dictionary, the 'revShowPrintDialog' > >command only works for revPrintField or revPrintText. How then do you > >force a print dialog to appear when you print a card (or cards) on a > >Windows-based system? > > Check out the answer printer command. kevin an orrhers: btw dis You guys regonize at all my reply to private an here list, that ie. I have still that werid printing problem wich pints many pages and only few lines per page when You asked me to tell if I have still that problem. I replied but nothing replies after that. Did you notified that pinting problems to RR 2.0? I have tested that printin in 2.0 pe beta and yep same problem remains: many pages and few liens per page when I tried to pint text field. I send private email to Kevin about that too. EsaK From Esa.Kivela at ncrc.fi Mon Feb 10 01:45:00 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Mon Feb 10 01:45:00 2003 Subject: VS: SQL Tutorial Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD646@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Geoff Canyon [mailto:gcanyon at inspiredlogic.com] > L?hetetty: 10. helmikuuta 2003 2:09 > Vastaanottaja: improve-revolution > Kopio: Use-Revolution > Aihe: SQL Tutorial > > > The online docs reference an SQL tutorial at: > > http://w3.one.net/~jhoffman/sqltut.htm Tried -> it said: "ERROR (404): URL missing The URL you were trying to request no longer exists or has been renamed on our server. This server provides access to our dialup users' homepages. If you have encountered a problem with a specific users page, please direct any e-mail questions to the user that the pages belong to. (eg. http://w3.one.net/~username belongs to username at one.net)." EsaK From miscdas at boxfrog.com Mon Feb 10 03:13:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Mon Feb 10 03:13:01 2003 Subject: Storing images In-Reply-To: References: <200302091702.MAA16979@www.runrev.com> Message-ID: <20030210081037.33580.qmail@www.boxfrog.com> Jim Hurley writes: [snip] > I have a small addendum to the Storing Images discussion. > > This is a variation on that method which is just a little simpler (it > doesn't require a closeCard handler) and produces a nice border around the image by simultaneously resizing the button. > > Jim > _______________________________________________ Nice touch! miscdas From gcanyon at inspiredlogic.com Mon Feb 10 03:22:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon Feb 10 03:22:01 2003 Subject: VS: SQL Tutorial In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E02AD646@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <3A9E9DF8-3CD0-11D7-9EDC-003065683ECC@inspiredlogic.com> Yes, that's what I said -- that's the original URL, and it doesn't work. That's why I put up a copy at: On Sunday, February 9, 2003, at 10:40 PM, Esa Kivel? wrote: > > >> -----Alkuper?inen viesti----- >> L?hett?j?: Geoff Canyon [mailto:gcanyon at inspiredlogic.com] >> L?hetetty: 10. helmikuuta 2003 2:09 >> Vastaanottaja: improve-revolution >> Kopio: Use-Revolution >> Aihe: SQL Tutorial >> >> >> The online docs reference an SQL tutorial at: >> >> http://w3.one.net/~jhoffman/sqltut.htm > > Tried -> it said: > > "ERROR (404): URL missing > The URL you were trying to request no longer exists or has been > renamed on our server. This server provides access to our dialup > users' homepages. If you have encountered a problem with a specific > users page, please direct any e-mail questions to the user that the > pages belong to. (eg. http://w3.one.net/~username belongs to > username at one.net)." > > EsaK > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > regards, Geoff Canyon gcanyon at inspiredlogic.com From wmb at internettrainer.com Mon Feb 10 04:21:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Feb 10 04:21:01 2003 Subject: testing the waters In-Reply-To: Message-ID: <70A7F49B-3CD8-11D7-8334-003065430226@internettrainer.com> Bradley Borch wrote: > 1) Can rev serve as a replacement for Director? iShell is imho eaysier to learn, its faster to do MM project, cheaper and with a much better support than Director. If you are not working with DIR since a lot of time, than I would say have a closer look at it until Richard starts... I think Troy is the expert for that, if he is reading the list at the moment... On Donnerstag, Februar 6, 2003, at 11:56 Uhr, Richard Gaskin wrote: > I've been roasted for this before here, but the offer still stands: If > someone will put up enough to pay my bills for two months I'll build an > iShell-like tool using Rev. I cant believe that its possible in 2 month, but dont worry: I have noticed that for the future!!!;) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From ron at nationalhome.org Mon Feb 10 04:21:27 2003 From: ron at nationalhome.org (Ron Tan) Date: Mon Feb 10 04:21:27 2003 Subject: WinApi and DLL's Message-ID: Hi all, I can't find any documentation on using the WinAPI and binding to external dll's from Revolution. I know on their website somewhere it says it does this. Does anybody have info? Thanks in advance. From dcragg at blueyonder.co.uk Mon Feb 10 04:21:34 2003 From: dcragg at blueyonder.co.uk (Dave Cragg) Date: Mon Feb 10 04:21:34 2003 Subject: get URL "http://" not working with faceless CGI's In-Reply-To: <20030209104645.51575.qmail@web11907.mail.yahoo.com> References: <20030209104645.51575.qmail@web11907.mail.yahoo.com> Message-ID: At 2:46 am -0800 9/2/03, Jan Schenkel wrote: >> (Jan, were you using the Metacard side of >> your brain? :)) > >Out of curiosity, is that the right or the left half? I'm not sure, Jan. In my case, the left side vs right side issue is less important than inside vs outside. >No seriously, I would have thought you could simply >drop the libURL file from the RunRev website into the >folder, or store it elsewhere and include a path in >the 'start using' call. Unless we're thinking about different files, the one in the RunRev site is an updater stack that simply updates the script/properties of one of the buttons in the revLibrary stack. (Which is why Starter Kit users can't take advantage of it.) Cheers Dave From livfoss at blueyonder.co.uk Mon Feb 10 04:59:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Feb 10 04:59:01 2003 Subject: Another printing question Message-ID: On Sun, 9 Feb 2003 14:23:25 -0800, "Jeanne A. E. DeVoto" wrote: >At 1:57 PM -0800 2/9/03, Graham Samuel wrote: >>According to the Transcript Dictionary, the 'revShowPrintDialog' >>command only works for revPrintField or revPrintText. How then do you >>force a print dialog to appear when you print a card (or cards) on a >>Windows-based system? > >Check out the answer printer command. > Jeanne, I did look at 'answer printer' - as far as I understand it, this produces the 'Page Setup' dialog or windows equivalent. I'm looking for the 'Print' dialog, which allows the user to select the number of copies to be printed etc. On the Mac and Windows, these are generally different dialogs (look at MS Word for example), although the functionality may overlap (for example you may be able to choose the paper size via either of the dialogs). As I said before, I'm just trying to make my app behave like thousands of others on these platforms as far as printing is concerned. A typical app allows 'Page Setup' at any point in the program, and 'Print' when you actually want to initiate printing. In many apps, the 'Page Setup' settings are remembered across invocations of the program, although I admit this is not so consistent but rather depends on the app. If one does want to include this functionality, then of course it is necessary to be able to store the state of properties of the printing device as last set by the user or by the system, which in turn means you've got to be able to read either the individual properties or else to read and store some object which represents the printer driver. I am not clear if Revolution 2.0 helps with this, which is one reason why I'm still asking questions about maximum printable area. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From richmond at mail.maclaunch.com Mon Feb 10 05:02:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Mon Feb 10 05:02:01 2003 Subject: Mathewson looks for job Message-ID: I am finishing my present contract on July 11 and am looking for a "work-from-home" educational software contract prefarably to run from mid-August for 9-12 months. I should be more than happy to e-mail a CV to anyone who expresses an interest. John Richmond Mathewson --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From richmond at mail.maclaunch.com Mon Feb 10 05:07:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Mon Feb 10 05:07:01 2003 Subject: Mathewson looks for job: spelling correction Message-ID: I am finishing my present contract on July 11 and am looking for a "work-from-home" educational software contract preferably to run from mid-August for 9-12 months. I should be more than happy to e-mail a CV to anyone who expresses an interest. John Richmond Mathewson --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From curry at kagi.com Mon Feb 10 06:35:00 2003 From: curry at kagi.com (Curry) Date: Mon Feb 10 06:35:00 2003 Subject: REQ: Switching between windows In-Reply-To: <200302100401.XAA25893@www.runrev.com> References: <200302100401.XAA25893@www.runrev.com> Message-ID: I'd like to make a suggestion for Rev 2.0: A commandkey shortcut for switching windows, assigned to the "send window to back" menu item. Thanks, Curry From sims at ezpzapps.com Mon Feb 10 06:43:01 2003 From: sims at ezpzapps.com (sims) Date: Mon Feb 10 06:43:01 2003 Subject: phone dial & hang up In-Reply-To: <3A9E9DF8-3CD0-11D7-9EDC-003065683ECC@inspiredlogic.com> References: <3A9E9DF8-3CD0-11D7-9EDC-003065683ECC@inspiredlogic.com> Message-ID: >This works on XP and 2000 > > open file "com3:" for write > write "ATS7=1L0DT" & tNumber & cr to file "com3:" > wait 10 secs > close file "com3:" > >Split the phone line and connect the modem output to one side and the phone >set to the other. Pick up the receiver before the 10 secs expires. > >Gary The above works to dial a phone. I also want to be able to have the Rev app which dialed the phone get the time when they hang up the phone. (I want to track phone usage ). What strategy could I use that would automatically record when the phone call terminates/stops (without depending on the user to click a button, iow automatically get the time of hang up)? atb sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From kevin at runrev.com Mon Feb 10 07:01:19 2003 From: kevin at runrev.com (Kevin Miller) Date: Mon Feb 10 07:01:19 2003 Subject: That oleer printing problem again In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E02AD645@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: On 10/2/03 6:37 am, Esa Kivel? wrote: > kevin an orrhers: btw dis You guys regonize at all my reply to private an here > list, that ie. I have still that werid printing problem wich pints many pages > and only few lines per page when You asked me to tell if I have still that > problem. > > I replied but nothing replies after that. > > Did you notified that pinting problems to RR 2.0? I have tested that printin > in 2.0 pe beta and yep same problem remains: many pages and few liens per page > when I tried to pint text field. > > I send private email to Kevin about that too. Yes, we're looking for this - tracking down printer problems is not much fun. Could everyone with that problem please send me a list of what platforms it occurs on, what printers it occurs on, what printers it does not occur on, and a copy of a stack with a single field in it that has the problem. I need all that information to find common ground here, from as many people as possible. If you could place all of that information in a single email with the subject "Printer problem" without any other background information that would be really helpful. Thanks in advance! Kind regards, Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From Esa.Kivela at ncrc.fi Mon Feb 10 07:10:01 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Mon Feb 10 07:10:01 2003 Subject: VS: That oleer printing problem again Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD649@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Kevin Miller [mailto:kevin at runrev.com] > L?hetetty: 10. helmikuuta 2003 13:52 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: That oleer printing problem again > > > On 10/2/03 6:37 am, Esa Kivel? wrote: > > > kevin an orrhers: btw dis You guys regonize at all my reply > to private an here > > list, that ie. I have still that werid printing problem > wich pints many pages > > and only few lines per page when You asked me to tell if I > have still that > > problem. > > > > I replied but nothing replies after that. > > > > Did you notified that pinting problems to RR 2.0? I have > tested that printin > > in 2.0 pe beta and yep same problem remains: many pages and > few liens per page > > when I tried to pint text field. > > > > I send private email to Kevin about that too. > > Yes, we're looking for this - tracking down printer problems > is not much > fun. > > Could everyone with that problem please send me a list of > what platforms it > occurs on, what printers it occurs on, what printers it does > not occur on, > and a copy of a stack with a single field in it that has the > problem. I > need all that information to find common ground here, from as > many people as > possible. Ai ai SIR :-) Platform: Windows 2000, printter is RICOH Aficio 1045 I'll send copy of stack to You via private email asap. EsaK From jhurley at infostations.com Mon Feb 10 07:18:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Feb 10 07:18:00 2003 Subject: Stored images In-Reply-To: <200302100401.XAA25893@www.runrev.com> References: <200302100401.XAA25893@www.runrev.com> Message-ID: > >--__--__-- > >Message: 11 >Date: Sun, 9 Feb 2003 16:18:32 -0800 >Subject: Re: Storing images >From: Geoff Canyon >To: use-revolution at lists.runrev.com >Reply-To: use-revolution at lists.runrev.com > >Excellent! I've added this to the wiki at: > > > >If anyone has any additions, refinements, comments, etc., you are all >able to edit the page freely (no login required). Jim, if you don't >want it there, feel free to delete it. > >gc Geoff, Thank you for the kind words and for providing this service. I have a couple of addenda to my addendum. I thought I would just put them on the wiki. (What does wiki stand for? BTW, I am woefully deficient in modern acronyms. YCTODNA--you can't teach an old dog new acronyms.) But I noticed password requirements on wiki. How does that work? I should like to add two utilities which take much of the tedium out of using a substack to store images to be used as button icons in the main stack. When you do this you have a mess of images in one place to be matched with image ids located in another place. Very messy and prone to error. To simplify, place buttons (of any size--size will be taken care of in a preOpenCard handler) and give them the *same* (identical) name as the image in the substack. When you are finished with the stack run the following setUp utility to match buttons icons with image ids: On setUp --A utility to assign the proper image ids in the substack -- to the corresponding button in the main stack. Lock screen repeat with i =1 to the number of cards --First get the button name on cards in the main stack set the defaultstack to "images" go to card i repeat with j = 1 to the number of buttons put the short name of button j into tButtonName --and then go to the substack to get the image id of the --image with the same name. set the defaultstack to "imagesSubstack" if there is an image tButtonName then put the id of image tButtonName into tImageID --Return to the card button and set its icon to that id, --thereby linking the image in the substack to the --stack card button of the same name. set the defaultstack to "images" set the icon of button j to tImageID end repeat end repeat unlock screen end setUp And one last (?) utility. You may automate the task of assigning width and height properties to the images stored in the substack with the following setImageSizeProperties: on setImageSizeProperties --Utility to set the image size properties (imageSize). First size the images using their handles. --Run this in the substack. repeat with i = 1 to the number of controls put the name of control i into tControlName if "image" is word 1 of tControlName then put the width of image tControlName & comma & \ the height of image tControlName into tSizeProperty set the imageSize of image tControlName to tSizeProperty end if end repeat end setImageSizeProperties And one last caution. In the main stack run as a OpenStack command: Start using stack "imagesSubstack" I confess I don't understand why this is necessary. I had assumed that scripts in any substack of the main stack were accessible. But apparently not. Any help out there on this issue? And just so all this info is in one place I will repeat the primary utility used in the stack script of the substack on resizeImage theImage,theRatio --Reset the image size on the substack card to the desired size set the defaultStack to "imagesSubstack" put the imageSize of image theImage into theImageSize set the width of image theImage to theRatio*item 1 of theImageSize set the height of image theImage to theRatio* item 2 of theImageSize --Set the button size to fit the image size set the defaultstack to "images" set the width of button theImage to 1.05*theRatio*item 1 of (theImageSize) set the height of button theImage to 1.05*theRatio*item 2 of (theImageSize) end resizeImage And finally, the preOpenCard script on every image-carrying card: On PreOpenCard resizeImage "myImageOne" , 1.2 --image name and magnification resizeImage "myImageTwo" , 0.7 --etc. end PreOpenCard Anyone who wants a demo stack is welcome to it. And if there is no problem in keeping the images in a separate file, it is easier to just reference the stored image file. But with these utilities it isn't as bad as it might be to keep images stack-bound. Rather far down on my wish list: Allow icons to be assigned by image name as will as id. Whew! Jim From Esa.Kivela at ncrc.fi Mon Feb 10 07:21:00 2003 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Mon Feb 10 07:21:00 2003 Subject: VS: That oleer printing problem again Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD64B@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Kevin Miller [mailto:kevin at runrev.com] > L?hetetty: 10. helmikuuta 2003 13:52 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: That oleer printing problem again > > > On 10/2/03 6:37 am, Esa Kivel? wrote: > > > kevin an orrhers: btw dis You guys regonize at all my reply > to private an here > > list, that ie. I have still that werid printing problem > wich pints many pages > > and only few lines per page when You asked me to tell if I > have still that > > problem. > > > > I replied but nothing replies after that. > > > > Did you notified that pinting problems to RR 2.0? I have > tested that printin > > in 2.0 pe beta and yep same problem remains: many pages and > few liens per page > > when I tried to pint text field. > > > > I send private email to Kevin about that too. > > Yes, we're looking for this - tracking down printer problems > is not much > fun. > > Could everyone with that problem please send me a list of > what platforms it > occurs on, what printers it occurs on, what printers it does > not occur on, > and a copy of a stack with a single field in it that has the > problem. I > need all that information to find common ground here, from as > many people as > possible. Kevin: just send that simply stack to You via private email. EsaK From heather at runrev.com Mon Feb 10 07:42:00 2003 From: heather at runrev.com (Heather Williams) Date: Mon Feb 10 07:42:00 2003 Subject: T-shirt design competition Message-ID: Greetings, all. Not for the first time, it has been suggested that we sell Rev merchandising, through the CafePress site. While this is a good idea, the bottleneck has been getting a suitable design to upload. We are reluctant to take any graphic design staff off working on 2.0 in order to create T-shirts. So... I hereby declare the design competition to create the ultimate Runrev T-shirt open. Ideally, we're looking for a design that can be used on T-shirts, mugs, caps, whatever you all want to buy. Some rudimentary rules: You must send your design to me, heather at runrev.com, NOT to this list. Any attachments sent to this list will be automatically disqualified, since I will not get them. We need the design to arrive in a format that can be directly uploaded to cafepress. You can check out their requirements and some excellent image advice here: http://www.cafepress.com/cp/info/help/images.aspx Whilst, obviously, we do have the equipment and expertise to render your images into the right format, it would mean taking time from our work on 2.0. The deadline is Mon, February the 24th. That gives you two weeks. If you think this isn't going to be long enough, let me know. Feel free to incorporate the Runrev logo in your design. When I have all the eligible entries, I will upload them and post a url for you to view them. Voting will then commence on the entries, and the most popular one will win. Note, the entries will go through preliminary screening by the Runrev team, and any we really think are unsuitable will be discarded before I post the url. If you are about to email me a bitmap attachment or some such file that is over 5mb, please, please, email me first. And the prize.... What? You want something more than the honour and privilege of winning and seeing your design worn by all your noble colleagues? Oh, all right then. A free renewal of your Revolution license when it falls due, or a free Small Business Edition if you don't already have a license, plus one free t-shirt. Have fun! Regards, Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution: Designing the future From cowhead at mac.com Mon Feb 10 09:04:01 2003 From: cowhead at mac.com (mark mitchell) Date: Mon Feb 10 09:04:01 2003 Subject: applescript for keyboard input In-Reply-To: <200302071702.MAA08915@www.runrev.com> Message-ID: <00E30AA8-3D00-11D7-BF2F-0030656DAB8E@mac.com> I looking for an applescript that will switch the input to and from Kotoeri (Japanese input). Kotoeri is a keyboard choice in the finder, so any applescript which switches among keyboards would probably work fine. I have some fields that require Japanese inputs and others that require English, so it would be nice if I could automatically switch the input depending on the selected field. (Right now I only need mac, but for the future, if anyone has a windows solution as well....:-)) Thanks, mark mitchell Japan From jhurley at infostations.com Mon Feb 10 09:23:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Feb 10 09:23:01 2003 Subject: Storing images In-Reply-To: <200302101211.HAA04865@www.runrev.com> References: <200302101211.HAA04865@www.runrev.com> Message-ID: > >Message: 1 >Date: Sun, 9 Feb 2003 19:21:13 -1000 >Subject: Re: Storing images >From: Sannyasin Sivakatirswami >To: use-revolution at lists.runrev.com >Reply-To: use-revolution at lists.runrev.com > > >On Sunday, February 9, 2003, at 01:25 PM, Jim Hurley wrote: > > > put the imageSize of image theImage into theImageSize > > set the width of image theImage to theMagnification*item 1 of > > theImageSize >> set the height of image theImage to theMagnification* item 2 of >> theImageSize > >Very nice simplification, Jim: > >Question: I haven't tested lately, but if you resize that image once, >say, a 50 percent reduction. Then later if you apply a .5 to it again, >don't you end up with an image 1/4 the original size? That's why i was >doing the restore business. > >--__--__-- Sannyasin, Actually it was your introduction of the image size property that gave me the idea. Being an old FORTRAN programer, I never made effective use of this ability in RR, always making do with the construction of global variables to do the job. But a property is a global variable without all the overhead (declaring it global everywhere you use it.) So if you use your resizeImage handler and reference the *fixed* image size *property* rather than the current image size in the substack you needn't worry about past actions on the image. Jim -- Jim Hurley From livfoss at blueyonder.co.uk Mon Feb 10 11:12:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Feb 10 11:12:01 2003 Subject: Field text styles Message-ID: I realise this is a dumb question, but if I create a field and set its text via the Development Environment to say (18 point bold, red, centered, 3D Box), when I actually put a value in it via say put format("%05.2f",gSomeValue) into fld "myCoolDisplay" all the formatting is lost, and I get the font and styles which the field had when it was created. Do I have to reset these styles every time I put a value in the field, or is there a better way? Can't find anything in the usual sources, but it is hard to know what keywords to use. TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From valetia at mac.com Mon Feb 10 11:29:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Mon Feb 10 11:29:01 2003 Subject: Multi-user stacks on servers? In-Reply-To: Message-ID: > I am interested in see what we can do without using an external > multi-user dBase, sticking with Rev stack (s), as a data respository > (s) on a server, with multi-user access. We are also interested in storing data on a stack on a server, in our case the data would be accessed and updated using faceless CGI scripts (on the same server). Our concerns are similar: what happens if the stack needs to be updated simultaneously by different users running instances of the faceless CGI script? Will RR know to automatically queue all pending requests until the current one is completed, so that all updates succeed automatically while not corrupting the stack? Valetia From jeanne at runrev.com Mon Feb 10 11:42:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Feb 10 11:42:01 2003 Subject: Field text styles In-Reply-To: Message-ID: At 8:07 AM -0800 2/10/03, Graham Samuel wrote: >I realise this is a dumb question, but if I create a field and set >its text via the Development Environment to say (18 point bold, red, >centered, 3D Box), when I actually put a value in it via say > > put format("%05.2f",gSomeValue) into fld "myCoolDisplay" > >all the formatting is lost, and I get the font and styles which the >field had when it was created. > >Do I have to reset these styles every time I put a value in the >field, or is there a better way? There are two ways: 1) Set the font information of the field itself, rather than its text. (This is the best way if all the text in the field will always be 18-point bold red.) Select the field, then choose your font choices from the Text menu (or use the Text palette). 2) Instead of using put, set the htmlText of the field, so you can include style information. (This is a good way if you only want some of the text to be 18-point bold red.) Here's an example that sets line 2 of the field: set the htmlText of field "myCoolDisplay" to \ the htmlText of line 1 of field "myCoolDisplay" \ & "

" \ & format("%05.2f",gSomeValue) \ & "

" \ & the htmlText of line 3 to -1 of field "myCoolDisplay" -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From wagenseller at mac.com Mon Feb 10 11:49:01 2003 From: wagenseller at mac.com (Steve Wagenseller) Date: Mon Feb 10 11:49:01 2003 Subject: Stored images In-Reply-To: Message-ID: <403EEF64-3D15-11D7-B0F5-000393B9EA0E@mac.com> On Monday, February 10, 2003, at 02:15 AM, Jim Hurley wrote: > I have a couple of addenda to my addendum. I thought I would just put > them on the wiki. (What does wiki stand for? BTW, I am woefully > deficient in modern acronyms. YCTODNA--you can't teach an old dog new > acronyms.) Surprisingly, I can answer that one. It's not an acronym: "Wiki" in Hawaiian means "quick." Usually it is used doubled to indicate urgency, as in "Eh, bra, bring me one beer, wiki wiki, befoah da game stahts!" The Wikipedia, or quick encyclopedia, appropriated the term. S. Wagenseller (Honolulu) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 652 bytes Desc: not available URL: From livfoss at blueyonder.co.uk Mon Feb 10 12:31:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Feb 10 12:31:01 2003 Subject: Field text styles Message-ID: On wrote: Mon, 10 Feb 2003 08:37:29 -0800, "Jeanne A. E. DeVoto" wrote: > >There are two ways: > >[then very useful stuff to be stored in my personal 'hints and tips' folder. Thanks very much for the quick reply. I would not be able to do Revo development at all without the good people on this list. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From jacque at hyperactivesw.com Mon Feb 10 12:50:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Feb 10 12:50:01 2003 Subject: Stored images References: <200302101701.MAA11136@www.runrev.com> Message-ID: <3E47E56F.9020305@hyperactivesw.com> Jim Hurley wrote: > And just so all this info is in one place I will repeat the primary > utility used in the stack script of the substack > > on resizeImage theImage,theRatio > --Reset the image size on the substack card to the desired size > set the defaultStack to "imagesSubstack" > put the imageSize of image theImage into theImageSize > set the width of image theImage to theRatio*item 1 of theImageSize > set the height of image theImage to theRatio* item 2 of theImageSize Actually, it isn't even necessary to store the original image size in a custom property. Rev will automatically save the size so that the script doesn't have to track it. The formattedwidth and formattedheight of the image retain the original dimensions. You can use those properties to get the original size, and toss out a few lines of extra scripting besides: set the width of image theImage to theRatio*the formattedWidth of img theImage set the height of image theImage to theRatio*the formattedHeight of img theImage -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cowhead at mac.com Mon Feb 10 13:27:01 2003 From: cowhead at mac.com (mark mitchell) Date: Mon Feb 10 13:27:01 2003 Subject: storing images In-Reply-To: <200302070652.BAA28661@www.runrev.com> Message-ID: Someone wrote: "Put image 3 into image 4" This does not work for me. I tried both with images pointing to an image stored elsewhere (outside of rev) and for images stored in the stack. All I get is a white or gray image. What am I doing wrong? (Mac OS 10.15) Sannyassin wrote: > When leaving the card the images are resized to their > original size so that any subsequent ratio changes for usage in other > contexts are always working from the known original size I wouldn't worry or bother about all this. You can save this and the whole custom property hassle with a simple: on preopenCard set the height of image Whatever of card whatever of stack whateverSubstack to the height of button 1 set the width etc set the icon of button 1 to image whatever end preopenCard If the images are not all the same size or are not all proportional (as mine usually aren't) you can resize them proportionally and keep them within the limits of the buttons using something like this: if (the height of image "goat")>(the width of image "goat") then put (the height of button "dog")/(the height of image "goat") into resizeFactor else put (the width of button "dog")/(the width of image "goat") into resize Factor end if put (the height of image "goat") * resizeFactor into newHeight put (the width of image "goat") * resizeFactor into newWide set the height of image "goat" to newHeight set the width of image "goat" to newwide mark mitchell Japan From cowhead at mac.com Mon Feb 10 13:53:00 2003 From: cowhead at mac.com (mark mitchell) Date: Mon Feb 10 13:53:00 2003 Subject: more image storing In-Reply-To: <200302100401.XAA25893@www.runrev.com> Message-ID: <4AD3D1F8-3D28-11D7-BF2F-0030656DAB8E@mac.com> Jim wrote: > The button whose icon is the image is also resized to just fit (just > a little bit extra--1.05--makes for a little better appearance) > around the image as a border. You can have your cake and a border too. Funny how we think differently. I have always achieved the same effect by setting the image size to the size of the button then Minus a bit. This keeps the visible buttons the same size as your initial layout. Usually 5 is sufficient to subtract. But the actual amount you need to subtract depends on how large a border your button has. Buttons can be set to have thick borders, and colored too, which make nice image 'frames'. mark mitchell Japan From zelston at aol.com Mon Feb 10 13:54:48 2003 From: zelston at aol.com (Zac Elston) Date: Mon Feb 10 13:54:48 2003 Subject: selecting a group In-Reply-To: <200302101701.MAA11136@www.runrev.com> References: <200302101701.MAA11136@www.runrev.com> Message-ID: <3E47F3F6.6000008@aol.com> An HTML attachment was scrubbed... URL: From kevin at runrev.com Mon Feb 10 14:08:01 2003 From: kevin at runrev.com (Kevin Miller) Date: Mon Feb 10 14:08:01 2003 Subject: unicode in pre-beta In-Reply-To: Message-ID: On 4/2/03 7:43 pm, Igor de Oliveira Couto wrote: > I have been working on an > Esperanto stack, a language which uses characters such as c+circumflex > (c?), g+circumflex (g?), and u+breve (u?) among others. All these have to > be typed with the 'US Extended' keyboard layout in MacOS X (10.2). Can I just confirm, these aren't unicode characters, and this problem existed in 1.1.1? This is something you need to script a library around. > I believe the problem is that a lot of the 'internal' text routines in > Revolution are actually handled by scripts, and transcript does not > seem to REALLY be able to handle Unicode. Try this: type a sentence > which uses these 'funny' international characters which can only be > typed with the US Extended keyboard. Then, in the text section of the > inspector, try CHANGING THE CASE (to something like "Title Case"). You > will notice that not only do your international characters disappear, > but also that you will get UppeRcase letters right in the middle of > your words - where the international characters once were... This doesn't sound like it is related to unicode here - the change case function is designed only to work with English at this time. Unfortunately we haven't got any plans to change that in time for 2.0, this is something you can script your way around easily. Kind regards, Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From alrice at ARCplanning.com Mon Feb 10 14:14:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Feb 10 14:14:01 2003 Subject: Multi-user stacks on servers? In-Reply-To: Message-ID: <372AE7DE-3D2B-11D7-8FB6-000393529642@ARCplanning.com> On Monday, February 10, 2003, at 09:24 AM, valetia at mac.com wrote: > > Will RR know to automatically queue all pending requests until the > current > one is completed, so that all updates succeed automatically while not > corrupting the stack? Sounds like you need an actual relational database with transactional capabilities. Like PostgreSQL or OpenBase or something. A Rev CGI app cannot queue anything because many instances of the Rev CGI app can be running simultaneously all trying to access the same data stack. There is no single process in charge of handling conflicts. The best you could do is file locking or some other write-locking signals to prevent conflicts. That's not a good solution. You really need a client-server setup with an actual transactional database on the backend. This is not something specific to Rev, it's just the nature of CGI apps. If someone were to write something in Rev along these lines, I would start by looking at Python/Zope/ZODB. ZODB is a transactional object database written all in Python (a scripting language). In order to achieve this you must necessarily run a persistent server process (daemon) for the backend data store. You cannot do it via CGI alone. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From soapdog at mac.com Mon Feb 10 14:38:00 2003 From: soapdog at mac.com (Andre Garzia) Date: Mon Feb 10 14:38:00 2003 Subject: T-shirt design competition In-Reply-To: Message-ID: <41F09A1F-3D92-11D7-B9BA-00039387AE90@mac.com> > Heather, i am all excited with this competition, and i do have one question. RunRev folks will sell thru cafepress so we'll be able to buy from shirts to drinkwear. drinkwear design space is much smaller than shirts design space, so can we enter the contest with specific entries like: andre garzia entrie for clock.png andre garzia entrie for tshirt.png it would give us more power (power to the designerrrr!!!) to create and the end product will be better, we'll not think "hell this stamp would be better big on a tshirt and not this small on a clock" that of course leads to contest winner problems since there are different categories, and i think RunRev will not give that many licenses, but it still be good to have specific desings... cheers > Andre Alves Garzia ? 2002 ? BRAZIL mailto://soapdog at mac.com From pixelbird at interisland.net Mon Feb 10 15:16:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Mon Feb 10 15:16:01 2003 Subject: Dealing with the dictionary In-Reply-To: <200302101701.MAA11122@www.runrev.com> Message-ID: Hi list, When I'm at home on my boat, I work on my PB 1400c. I can develop in Rev, but it doesn't have (and can't get) enough memory to open the docs, so I assigned a formatted CF card as Virtual Memory in order to keep it from crashing. However, when I open the dictionary, it slows the whole system to a crawl. Takes 5 minutes to just to quit Rev for example (no kidding)! Even screen redraws happen so slow its like painting my hull. Something about the docs, specifically the dictionary, is taking a really HUGE chunk of RAM memory. How much does it use, and why? What can I do? Is there a way to separate out the docs and make them accessible as a standalone with the cards accessible from an external HD or something. That is, cards as HD data with no big RAM penalty? I can't buy another PB anytime soon, so I'd like to find a solution to this problem. TIA, Ken N. From bvg at mac.com Mon Feb 10 16:26:01 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon Feb 10 16:26:01 2003 Subject: storing images In-Reply-To: Message-ID: <9AE0D167-3D3D-11D7-8363-003065AD94A4@mac.com> On Montag, Feb 10, 2003, at 19:23 Europe/Zurich, mark mitchell wrote: > Someone wrote: > > "Put image 3 into image 4" > > This does not work for me. I tried both with images pointing to an > image stored elsewhere (outside of rev) and for images stored in the > stack. All I get is a white or gray image. What am I doing wrong? > (Mac OS 10.15) from a previous email: put into: put image "foo" into image "bar" This will empty (grey) the image "bar", when the original image is a referenced image (contains something in the "filepath"). If the Image "foo" is an imported image, or a reference to another image within the stack, then this will copy the image. Thus, when you delete the image "foo" then image "bar" will remain unchanged. If the lockLoc of "bar" is true, then the image will scale to the size of "bar", otherwise it will resize to the size of the original image. From ambassador at fourthworld.com Mon Feb 10 16:31:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Feb 10 16:31:01 2003 Subject: Another printing question In-Reply-To: Message-ID: Graham Samuel wrote: > As I said before, I'm just trying to make my app behave like > thousands of others on these platforms as far as printing is > concerned. A typical app allows 'Page Setup' at any point in the > program, and 'Print' when you actually want to initiate printing. In > many apps, the 'Page Setup' settings are remembered across > invocations of the program, although I admit this is not so > consistent but rather depends on the app. I tried seeing what I couyld find in the Win HIG documents at MSDN, but alas came up empty. If anyone cam find a URL to MS's recommendations for printing UI I'd be very grateful. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From info at pixelmedia.com.au Mon Feb 10 16:45:00 2003 From: info at pixelmedia.com.au (Igor de Oliveira Couto) Date: Mon Feb 10 16:45:00 2003 Subject: unicode in pre-beta In-Reply-To: Message-ID: <0DD87792-3D40-11D7-B966-000393AD9396@pixelmedia.com.au> Kevin, On Tuesday, February 11, 2003, at 06:04 AM, Kevin Miller wrote: > Can I just confirm, these aren't unicode characters, and this problem > existed in 1.1.1? This is something you need to script a library > around. > Please, clarify: if these are NOT unicode characters, how come it was IMPOSSIBLE to access them under Rev 1.1.1? - it is not possible to type these characters unless you are using the 'US EXTENDED' keyboard layout, which could NOT be selected at all in Rev 1.1.1. I believed that this keyboard enabled access to characters which are defined and encoded under Unicode fonts, but not under ASCII - perhaps I am wrong. If these character are not Unicode, and indeed there is a way to access them under Rev 1.1.1, it would be wonderful if you could give us some hints! > This doesn't sound like it is related to unicode here - the change case > function is designed only to work with English at this time. > Unfortunately > we haven't got any plans to change that in time for 2.0, this is > something > you can script your way around easily. If this is such a simple matter, may I suggest that YOU then take the time and implement it. We have waited long enough for 2.0, I am sure that this little bit of extra time that will take you to implement this function WITHOUT caveats will be greatly appreciated by all. Kindest Regards, -- Igor ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From smilingeyes at mac.com Mon Feb 10 17:51:01 2003 From: smilingeyes at mac.com (Ray Bennett) Date: Mon Feb 10 17:51:01 2003 Subject: Configuration Management of built apps Message-ID: <89BBAC91-3D49-11D7-A972-0030657E2BD2@mac.com> If this has been asked before, I missed it, so apologies in advance if that's the case... Now that I'm building standalones, its becoming pretty obvious that a lightweight configuraion management tool would be handy (for Unix folks, I'm looking for something like sccs for humans). Something like this ultimately should accompany the distribution builder, but... Have any of you built such a tool? Something that easily and conveniently allows me to track versions of files and stacks included in a build, etc.? Thanks in advance, Ray From diskot123 at juno.com Mon Feb 10 17:53:01 2003 From: diskot123 at juno.com (Tuviah M Snyder) Date: Mon Feb 10 17:53:01 2003 Subject: applescript for keyboard input Message-ID: <20030210.174716.1648.2.diskot123@juno.com> Rev 2.0 will do this for you. Set the textfont of the field to "osaka,japanese" Tuviah Snyder Runtime Revolution Limited - The Solution for Software Development From erikhans08 at yahoo.com Mon Feb 10 18:42:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Feb 10 18:42:01 2003 Subject: Home stack In-Reply-To: Message-ID: <20030210233737.40468.qmail@web20004.mail.yahoo.com> --- Jim Hurley wrote: > A minor addendum to Jan's suggestion. The > following ritual works for > me--employing a suggestion from Jeanne. Put the > stack that is to > masquerade as a home stack into the plug-in > folder. Include in the > stack script: > > on openStack > insert the script of me into back > hide stack "MyPlugIn" > end openStack > > After opening the current stack of interest I > go to the > Development/Plugins menu and select MyPlugIn. > And there is the plugin > acting as background home stack, out of sight > and (lurking > dangerously) out of mind. All relatively > painless and, Jeanne tells > us, to become more so in 2.0. > > I wonder if it would work as well to load the > plugin before all other > stacks. Would its scripts then be available to > all other loaded > subsequently? I am unclear of exactly what the > plugin would be in > back of. thanks, i do remember Jeanne's plugins plug, and have examined Development/Plugins. "plugins" is not a listing in the Dictionary, and i have no idea what a plugin is! putting the startup script into an openStack handler in a card script or something like that was explained, but i couldn't get it to work. probably best to wait for 2.0 on this one. thanks again. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Mon Feb 10 18:45:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Feb 10 18:45:01 2003 Subject: menus in 2.0 In-Reply-To: <00E30AA8-3D00-11D7-BF2F-0030656DAB8E@mac.com> Message-ID: <20030210233944.76001.qmail@web20006.mail.yahoo.com> would it be a good idea to wait for 2.0 before creating new menus? TIA ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From sarahr at genesearch.com.au Mon Feb 10 18:47:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Feb 10 18:47:00 2003 Subject: REQ: Switching between windows In-Reply-To: Message-ID: <3B649EC7-3D51-11D7-9ECE-0003937A97B8@genesearch.com.au> I have just submitted a plugin to the User Contributions section of the Rev website that allows you to assign scripts to function keys. One of the examples shows how to assign a menu item to a function key, so if you edit or copy that, you can make a function key do what you want. The plugin is called "FunKey" - yes, that is meant to be a joke :-) Cheers, Sarah On Monday, February 10, 2003, at 09:34 pm, Curry wrote: > I'd like to make a suggestion for Rev 2.0: A commandkey shortcut for > switching windows, assigned to the "send window to back" menu item. > > Thanks, > > Curry > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Mon Feb 10 18:51:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Feb 10 18:51:00 2003 Subject: selecting a group In-Reply-To: Message-ID: You will have to be more specific if you use this syntax. Your card obviously has multiple graphics and unless you specify that you are referring to a graphic by it's number within a group, when you ask for graphic Z or graphic X, it just takes the number as specifying how they are layered on the card. As far as I know, there is no way to set a "default group" so that every reference points to that group rather than the card in general. Cheers, Sarah On Tuesday, February 11, 2003, at 05:03 am, Zac Elston wrote: > here's another problem I can't understand. > > make a stack, make some things, group the things in two different > groups > with 5 things (2 in xthings and 3 in zthings) > > on mouseup > put empty into mylist > repeat with X = 1 to the number of graphics in group "xthings" > put (X && the name of graphic X && the ID of graphic X && > return) after mylist > end repeat > > repeat with Z = 1 to the number of graphics in group "zthings" > put (Z && the name of graphic Z && the ID of graphic Z && > return) after mylist > end repeat > answer mylist > end mouseup > > the output looks like the group is switched since the number in the > first column is correct to the number of items in the group, bu the > name and ID is wrong. It's like the request for graphic 1 is still > being made from the previous group. > > being specific solves this > > on mouseup > put empty into mylist > repeat with X = 1 to the number of graphics in group "xthings" > put (X && the name of graphic X of group "xthings" && the ID of > graphic X of group "xthings" && return) after mylist > end repeat > > repeat with Z = 1 to the number of graphics in group "zthings" > put (Z && the name of graphic Z of group "zthings" && the ID of > graphic Z of group "zthings" && return) after mylist > end repeat > answer mylist > end mouseup > > > I'd really like to be able to just call an item in a group without > have to explictly reference the group. is this possible? > > thanks > -zac > _______________________________________________ use-revolution mailing > list use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Mon Feb 10 18:58:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Feb 10 18:58:00 2003 Subject: Configuration Management of built apps In-Reply-To: Message-ID: <13FBDCAE-3D52-11D7-9ECE-0003937A97B8@genesearch.com.au> While it may not do everything you wanted, have you tried saving and opening distributions from the Distribution Builder? This stores your build config and even if you aren't building for Windows, you could use that section to record version numbers. I have found this a great time saver as I don't have to remember what to include and what settings to choose each time I do another build. Cheers, Sarah On Tuesday, February 11, 2003, at 09:02 am, Ray Bennett wrote: > If this has been asked before, I missed it, so apologies in advance if > that's the case... > > Now that I'm building standalones, its becoming pretty obvious that a > lightweight configuraion management tool would be handy (for Unix > folks, I'm looking for something like sccs for humans). Something > like this ultimately should accompany the distribution builder, but... > > Have any of you built such a tool? Something that easily and > conveniently allows me to track versions of files and stacks included > in a build, etc.? > > Thanks in advance, > Ray > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Mon Feb 10 19:08:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Feb 10 19:08:01 2003 Subject: Configuration Management of built apps In-Reply-To: <89BBAC91-3D49-11D7-A972-0030657E2BD2@mac.com> Message-ID: I've been thinking along these lines too. What features are you looking for? One problem is you can't just compare files because that would require reverse engineering the stack file format. Perhaps you just want to be able to get a list of the properties of each stack/stack file that have been modified since the last build? I've started putting together requirements for a fairly comprehensive Project Manager for rev I just need the time/funding to put in together. Anyway I'm interested to know what your thoughts are about requirements for such an animal. Cheers Monte > > If this has been asked before, I missed it, so apologies in advance if > that's the case... > > Now that I'm building standalones, its becoming pretty obvious that a > lightweight configuraion management tool would be handy (for Unix > folks, I'm looking for something like sccs for humans). Something > like this ultimately should accompany the distribution builder, but... > > Have any of you built such a tool? Something that easily and > conveniently allows me to track versions of files and stacks included > in a build, etc.? > > Thanks in advance, > Ray > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alrice at ARCplanning.com Mon Feb 10 19:29:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Feb 10 19:29:01 2003 Subject: Configuration Management of built apps In-Reply-To: Message-ID: <44FCD057-3D57-11D7-8FB6-000393529642@ARCplanning.com> On Monday, February 10, 2003, at 05:03 PM, Monte Goulding wrote: > I've started putting together requirements for a fairly comprehensive > Project Manager for rev I just need the time/funding to put in > together. > > Anyway I'm interested to know what your thoughts are about > requirements for > such an animal. Once worked with IBM Visual Age for Java. Other than being slow and using a monstrous amount of RAM, it was a pretty cool IDE. Every resource in the project was version controlled, automatically. No messing with CVS or anything. So in the course of developing your project, it would create a Library with the entire history of changes documented and you could revert or visit snapshots at any step of the way. This type of functionality, and also a nice "diff" viewer for scripts would definitely get my $. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From rpresender at earthlink.net Mon Feb 10 19:30:01 2003 From: rpresender at earthlink.net (Robert Presender) Date: Mon Feb 10 19:30:01 2003 Subject: User info -posted again Message-ID: <661B02BC-3D57-11D7-B03E-000393A19046@earthlink.net> Hi, This is a repost of my post of last Sunday. I assume that this is not a no no since it is used widely on the net. It is noted that in registration forms, the user's name and email address are pre-inserted. Would appreciate info as to how such info is obtained. Would like to use in a Rev/MC standalone. TIA Regards ... Bob From livfoss at blueyonder.co.uk Mon Feb 10 19:40:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Feb 10 19:40:01 2003 Subject: How do I scan all the objects on a card? Message-ID: In an attempt to do a kind of private Geometry Manager job so as to react to varying screen sizes, I want to scan every object on a particular card and do some processing on each one. This will be in a preOpenCard handler. The objects are graphics, images, buttons, groups. It looks as if the Revolution Development Environment does this but I can't see how. When I write for example repeat for each control sclTheControl of this card send "scpPlaceObject" to sclTheControl end repeat I get a compile error for the first line of the repeat statement. I guess this is just my ignorance of Transcript, or maybe it could be more fundamental - can anyone point me in the right direction? TIA Graham who one day hopes to answer other people's questions! -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From monte at sweattechnologies.com Mon Feb 10 19:56:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Feb 10 19:56:01 2003 Subject: How do I scan all the objects on a card? In-Reply-To: Message-ID: Try repeat with X=1 to the number of controls of this cd -- why not use the GM to save the hassle? end repeat Monte > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Graham Samuel > Sent: Tuesday, 11 February 2003 11:06 AM > To: Revolution user discussion > Subject: How do I scan all the objects on a card? > > > In an attempt to do a kind of private Geometry Manager job so as to > react to varying screen sizes, I want to scan every object on a > particular card and do some processing on each one. This will be in a > preOpenCard handler. The objects are graphics, images, buttons, > groups. It looks as if the Revolution Development Environment does > this but I can't see how. When I write for example > > repeat for each control sclTheControl of this card > send "scpPlaceObject" to sclTheControl > end repeat > > I get a compile error for the first line of the repeat statement. I > guess this is just my ignorance of Transcript, or maybe it could be > more fundamental - can anyone point me in the right direction? > > TIA > > Graham > who one day hopes to answer other people's questions! > > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Mon Feb 10 20:23:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Feb 10 20:23:01 2003 Subject: Configuration Management of built apps In-Reply-To: <44FCD057-3D57-11D7-8FB6-000393529642@ARCplanning.com> Message-ID: > > Once worked with IBM Visual Age for Java. Other than being slow and > using a monstrous amount of RAM, it was a pretty cool IDE. Every > resource in the project was version controlled, automatically. No > messing with CVS or anything. So in the course of developing your > project, it would create a Library with the entire history of changes > documented and you could revert or visit snapshots at any step of the > way. This type of functionality, and also a nice "diff" viewer for > scripts would definitely get my $. > I'm not sure about automated history but it would certainly be possible to store the changes in an objects properties (say at the end of every session). Perhaps it would be best to let the user just take a snapshot of all objects when they feel it would be useful? Personally I'd probably want to link some notes to the snapshot. One of the main things I'm looking at is distribution management. If I had access to this kind of history data I could work out which files needed to be distributed in an upgrade. Monte From erikhans08 at yahoo.com Mon Feb 10 20:48:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Feb 10 20:48:01 2003 Subject: MIDI minders In-Reply-To: <661B02BC-3D57-11D7-B03E-000393A19046@earthlink.net> Message-ID: <20030211014347.49561.qmail@web20010.mail.yahoo.com> to anyone working on MIDI conversions: would you prefer to convert this: 60e 62e 64e 65e or this: 60e 62 64 65 the first is easier to write an editor for but the second looks easier to write MIDI for. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Mon Feb 10 20:52:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Feb 10 20:52:01 2003 Subject: How do I scan all the objects on a card? In-Reply-To: Message-ID: <20030211014754.69088.qmail@web20003.mail.yahoo.com> --- Monte Goulding wrote: > > Try > > repeat with X=1 to the number of controls of > this cd > -- why not use the GM to save the hassle? > end repeat View > Application Overview > little triangle ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From katir at hindu.org Mon Feb 10 21:31:00 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Mon Feb 10 21:31:00 2003 Subject: Stored images In-Reply-To: <3E47E56F.9020305@hyperactivesw.com> Message-ID: <58BC7D46-3D68-11D7-A036-003065FB9830@hindu.org> Ha! Fantastic... what a great support group we have here! ;-) On Monday, February 10, 2003, at 07:46 AM, J. Landman Gay wrote: > Actually, it isn't even necessary to store the original image size in > a custom property. Rev will automatically save the size so that the > script doesn't have to track it. The formattedwidth and > formattedheight of the image retain the original dimensions. You can > use those properties to get the original size, and toss out a few > lines of extra scripting besides: > > set the width of image theImage to theRatio*the formattedWidth of img > theImage > set the height of image theImage to theRatio*the formattedHeight of > img theImage > From katir at hindu.org Mon Feb 10 21:35:01 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Mon Feb 10 21:35:01 2003 Subject: Force refresh a rotated, file referenced Image Message-ID: I use the following to rotate jpegs, it works great... the only problem is that the interface doesn't update. The image is rotated and if I run a separate handler to show a different image in "CurrentImage" then come back to the image I rotated, it shows the new orientation in image "CurrentImage" global gCurrentFolder, gLastLine on mouseUp put gCurrentFolder & fld "currentImage" into jai put jai into tPath create image "Thumb" set the rect of image "thumb" to the rect of image "currentImage" set the imagedata of image "thumb" to the imagedata of image "currentImage" set the topleft of image "thumb" to 200,200 set the angle of image "thumb" to -90 export image "thumb" to URL ("binfile:"&jai) as JPEG delete image "thumb" set the filename of image "currentImage" to jai ## but the image is not updated by the above line end mouseup is there a way to force refresh the image to the file path all in the same handler? Sannyasin 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 wortboiler at comcast.net Mon Feb 10 22:06:01 2003 From: wortboiler at comcast.net (wortboiler FITZ) Date: Mon Feb 10 22:06:01 2003 Subject: Custom property Message-ID: Let me know if you have not received an answer that you can grasp on the question of custom properties. God knows somehow it was pretty elusive from the explanations that I received. I finally did get one from someone that at least enabled me to use them to an extent. I can give you a bare minimum example that you can take off with. mike ----- Original Message ----- From: Revinfo1155 at aol.com Date: Sunday, February 9, 2003 1:13 pm Subject: Custom property > Could someone define a custom property and give me an example and > a "How to > set one up!" > > Thanks much > Jack > From tsj at unimelb.edu.au Mon Feb 10 22:14:02 2003 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon Feb 10 22:14:02 2003 Subject: Force refresh a rotated, file referenced Image In-Reply-To: Message-ID: <4E44F1AE-3D6E-11D7-B4CD-000393AEC28C@unimelb.edu.au> On Tuesday, February 11, 2003, at 01:31 PM, Sannyasin Sivakatirswami wrote: > I use the following to rotate jpegs, it works great... the only > problem is that the interface doesn't update. The image is rotated and > if I run a separate handler to show a different image in > "CurrentImage" then come back to the image I rotated, it shows the new > orientation in image "CurrentImage" > > global gCurrentFolder, gLastLine > on mouseUp > put gCurrentFolder & fld "currentImage" into jai > put jai into tPath > create image "Thumb" > set the rect of image "thumb" to the rect of image "currentImage" > set the imagedata of image "thumb" to the imagedata of image > "currentImage" > set the topleft of image "thumb" to 200,200 > set the angle of image "thumb" to -90 > export image "thumb" to URL ("binfile:"&jai) as JPEG > delete image "thumb" > set the filename of image "currentImage" to jai > ## but the image is not updated by the above line > > end mouseup > > is there a way to force refresh the image to the file path all in the > same handler? Have you tried locking and unlocking the screen? If that doesn't work by itself then how about locking the screen doing a double switch on the file reference and then unlocking it. Cheers, Terry... Dr Terry Judd Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA From switchedon at hsj.com Mon Feb 10 22:30:01 2003 From: switchedon at hsj.com (switchedon at hsj.com) Date: Mon Feb 10 22:30:01 2003 Subject: Resetting a scrolled field from another cd In-Reply-To: <200302102343.SAA21369@www.runrev.com> Message-ID: I'm trying to reset a scrolling field to the top. When I'm on the card containing the field I can scroll down using the mouse then run this line from the message box... set the vscroll of fld "instructions text" to 0 ...and, viola!, the field is scrolled to the top. If I try this from another card as follows... set the vscroll of fld "instructions text" on cd "instructions" to 0 ...the field refuses to reset to the top. What am I doing wrong? In HyperCard I believe the line... put "" before fld "instructions text" ...would reset the fld but that doesn't seem to work either. Any suggestions? Cheers... Bill Lynn From brad at activadesign.com Mon Feb 10 22:37:00 2003 From: brad at activadesign.com (Bradley Borch) Date: Mon Feb 10 22:37:00 2003 Subject: Flash integration In-Reply-To: <200302110315.WAA28451@www.runrev.com> Message-ID: <73EEA4F7-3D71-11D7-BA47-000393C824D2@activadesign.com> Anybody using QuickTime/swf files in Rev? I've posted before, and, thanks, somebody was able to have a SWF file playing in SWF player send a message to a rev app. What I'm trying to do is have a swf file that's playing in a rev app send a message to the rev app when a button is clicked. This is possible in a web browser, with the swf file passing a getURL or FScommand message to JavaScript, or in a Director project, passing the same type of command to the lingo environment. The getURL command is pretty straightforward, e.g. getURL("beep"). There must be some way to format this command. What is the method or format for passing a command from an XCMD to the rev environment? TIA for any suggestions, Brad From jhurley at infostations.com Mon Feb 10 22:47:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Feb 10 22:47:01 2003 Subject: Storing images In-Reply-To: <200302102343.SAA21369@www.runrev.com> References: <200302102343.SAA21369@www.runrev.com> Message-ID: >Jim Hurley wrote: > >> And just so all this info is in one place I will repeat the primary >> utility used in the stack script of the substack >> >> on resizeImage theImage,theRatio >> --Reset the image size on the substack card to the desired size >> set the defaultStack to "imagesSubstack" >> put the imageSize of image theImage into theImageSize >> set the width of image theImage to theRatio*item 1 of theImageSize >> set the height of image theImage to theRatio* item 2 of theImageSize > >Actually, it isn't even necessary to store the original image size in a >custom property. Rev will automatically save the size so that the script >doesn't have to track it. The formattedwidth and formattedheight of the >image retain the original dimensions. You can use those properties to >get the original size, and toss out a few lines of extra scripting besides: > >set the width of image theImage to theRatio*the formattedWidth of img >theImage >set the height of image theImage to theRatio*the formattedHeight of img >theImage > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com Jacqueline, I was unaware of this. Thanks for the info. It isn't exactly what I would like to use however. The formattedWidth (and height) appear to be the original width (and height) of the imported image. What I find useful is to rezise the images (using the handles) to a size which will be close to the "normal" size used throughout the stack. This makes it much easier to choose a value for theRatio magnifier. The formattedWidth is often much larger than the sizes to be used in the stack, even substantially larger than the window. There is some danger of distorting the proportions in this hand operation. In this case using the formattedWidth (and Height) would be safer. And I like the suggestion made by Mark Mitchell (below). > > mark mitchell wrote: >Jim wrote: > >> The button whose icon is the image is also resized to just fit (just >> a little bit extra--1.05--makes for a little better appearance) >> around the image as a border. You can have your cake and a border too. > >Funny how we think differently. I have always achieved the same effect >by setting the image size to the size of the button then Minus a bit. >This keeps the visible buttons the same size as your initial layout. >Usually 5 is sufficient to subtract. But the actual amount you need to >subtract depends on how large a border your button has. Buttons can be >set to have thick borders, and colored too, which make nice image >'frames'. > >mark mitchell >Japan > In Mark's method one would size the button (using the handles) on a given card to be the desired size of the eventual image; this is usually the easiest way to make the adjustment, easier than experimenting with a magnifying factor. There is a small potential problem with proportions however. If the hand chosen button proportions are not the same as those of the image, the image will be distorted if one "sets the image size to the size of the button" (minus a little bit.) What I thought one might do is position and size the button as best one can by hand and then, by script, adjust the button proportions to be the same proportions as the image and only then set the button icon to the image id. So a revised resizeImage handler would look like this. (Where I have kept the button *width* fixed and adjusted the button height to fit the proportions of the incoming image.) (Remember, the button name must be the same as the image name.) on resizeImageRevised theImage --First get the button width put the width of button theImage into theButtonWidth --Reset the image size on the substack card --so that it will fit inside the button without distortion. set the defaultStack to "imagesSubstack" put the imageSize of image theImage into theImageSize put item 1 of theImageSize into theNewImageWidth put theButtonWidth/theNewImageWidth into theRatio set the width of image theImage to .94*theRatio*item 1 of theImageSize set the height of image theImage to .94*theRatio* item 2 of theImageSize --Adjust the button height to match the proportions of the image. set the defaultstack to "images" set the height of button theImage to theRatio*item 2 of (theImageSize) end resizeImageRevised I use a 3D button. But there are many variations possible with border widths and colors as Mark suggested if the button is not 3D. There are perhaps occasions where the previous resizeImage handler would be useful, occasions where the image might grow in size rather than be fixed to the button size. For example, using the following OpenCard (not preOpenCard) handler: on OpenCard repeat with growthFactor =1 to 30 resizeImage "flame", 0.1 * growthFactor end repeat end openCard produces a flame image which swells to a "raging inferno" as the card is opened. But I'm sure others will find their own variations on this theme. Jim -- Jim Hurley From monte at sweattechnologies.com Mon Feb 10 22:48:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Feb 10 22:48:01 2003 Subject: Resetting a scrolled field from another cd In-Reply-To: Message-ID: > > set the vscroll of fld "instructions text" on cd "instructions" to 0 > Try set the vscroll of fld "instructions text" of cd "instructions" to 0 Monte From smilingeyes at mac.com Mon Feb 10 23:22:00 2003 From: smilingeyes at mac.com (Ray Bennett) Date: Mon Feb 10 23:22:00 2003 Subject: Configuration Management of built apps In-Reply-To: Message-ID: My thoughts were, I guess, somewhere in the middle. Sarah's suggestion of just keeping track of the configs in the Distribution Builder covers the major chunk of the code, and I hadn't thought of using the config settings as a sort of cm tool, but that makes sense. But (and it may be that I just am not thinking right about how the Dist Bldr works) several of my stacks don't need to be "built" (template stacks and stacks which retain preference settings, for instance, but contain very little 'code'). So, slightly along the lines of the arcane sccs, I need a clean way to ensure that I've checked the latest versions of the templates into the "build" that I'm creating. I wasn't really looking for the full monte (pun intended) of something like Visual Age, but if that existed, would clearly warrant a try. I guess, then, Monte, my high-level objective statements might look (quickly) like this: 1st Objective: tracking file/stack/substack revision date/time/changedby/changenotes easily. (oh, and size) 2nd Objective: clean, easy-to-navigate object encyclopedia which shows created on/last modified/exists in or usedby/changenotes/changedby (and size) 3rd Objective: build tracker, showing builds of projects by target platform (really what I'd like right now). I'm not spun-in enough to do either of the first two, but may end up taking a crack at the 3rd before too much longer if nothing pops up. Thanks for the feedback. Cheers, Ray On Monday, Feb 10, 2003, at 20:18 America/New_York, Monte Goulding wrote: > >> >> Once worked with IBM Visual Age for Java. Other than being slow and >> using a monstrous amount of RAM, it was a pretty cool IDE. Every >> resource in the project was version controlled, automatically. No >> messing with CVS or anything. So in the course of developing your >> project, it would create a Library with the entire history of changes >> documented and you could revert or visit snapshots at any step of the >> way. This type of functionality, and also a nice "diff" viewer for >> scripts would definitely get my $. >> > > I'm not sure about automated history but it would certainly be > possible to > store the changes in an objects properties (say at the end of every > session). Perhaps it would be best to let the user just take a > snapshot of > all objects when they feel it would be useful? Personally I'd probably > want > to link some notes to the snapshot. > > One of the main things I'm looking at is distribution management. If I > had > access to this kind of history data I could work out which files > needed to > be distributed in an upgrade. > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bvg at mac.com Tue Feb 11 00:09:01 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue Feb 11 00:09:01 2003 Subject: Force refresh a rotated, file referenced Image In-Reply-To: Message-ID: <5708D844-3D7E-11D7-8363-003065AD94A4@mac.com> You might try to go to the card (anew) eg if there is only one card: go to first card or if there are other cards: go to this card On Dienstag, Feb 11, 2003, at 03:31 Europe/Zurich, Sannyasin Sivakatirswami wrote: > I use the following to rotate jpegs, it works great... the only > problem is that the interface doesn't update. The image is rotated and > if I run a separate handler to show a different image in > "CurrentImage" then come back to the image I rotated, it shows the new > orientation in image "CurrentImage" > > global gCurrentFolder, gLastLine > on mouseUp > put gCurrentFolder & fld "currentImage" into jai > put jai into tPath > create image "Thumb" > set the rect of image "thumb" to the rect of image "currentImage" > set the imagedata of image "thumb" to the imagedata of image > "currentImage" > set the topleft of image "thumb" to 200,200 > set the angle of image "thumb" to -90 > export image "thumb" to URL ("binfile:"&jai) as JPEG > delete image "thumb" > set the filename of image "currentImage" to jai > ## but the image is not updated by the above line > > end mouseup > > is there a way to force refresh the image to the file path all in the > same handler? > > > Sannyasin 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Tue Feb 11 00:35:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Feb 11 00:35:01 2003 Subject: Configuration Management of built apps In-Reply-To: Message-ID: > > Sarah's suggestion of just keeping track of the configs in the > Distribution Builder covers the major chunk of the code, and I hadn't > thought of using the config settings as a sort of cm tool, but that > makes sense. But (and it may be that I just am not thinking right > about how the Dist Bldr works) several of my stacks don't need to be > "built" (template stacks and stacks which retain preference settings, > for instance, but contain very little 'code'). So, slightly along the > lines of the arcane sccs, I need a clean way to ensure that I've > checked the latest versions of the templates into the "build" that I'm > creating. You can add as many stacks as you like to the build. so the Dist Builder may be all you need for this. Just use a working directory that you have the latest revisions in and copy the folder whenever you backup. That way once you include the latest revision of a stack file in the build it will always be the latest. > > I wasn't really looking for the full monte (pun intended) Oh ho HO.. I don't think I've heard that one before ;-P of something > like Visual Age, but if that existed, would clearly warrant a try. I > guess, then, Monte, my high-level objective statements might look > (quickly) like this: > > 1st Objective: tracking file/stack/substack revision > date/time/changedby/changenotes easily. (oh, and size) > > 2nd Objective: clean, easy-to-navigate object encyclopedia which shows > created on/last modified/exists in or usedby/changenotes/changedby (and > size) Seeing as you can write whatever you want in the Object Library description field I would think it would suit your needs. What else do you need? > > 3rd Objective: build tracker, showing builds of projects by target > platform (really what I'd like right now). I'm not spun-in enough to > do either of the first two, but may end up taking a crack at the 3rd > before too much longer if nothing pops up. I'm not really sure what you want here. What info do you want to track about each build? Monte From jhurley at infostations.com Tue Feb 11 01:30:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Tue Feb 11 01:30:01 2003 Subject: Storing images In-Reply-To: <200302110315.WAA28451@www.runrev.com> References: <200302110315.WAA28451@www.runrev.com> Message-ID: > >Sannyasin Sivakatirswami wrote: > >Ha! Fantastic... what a great support group we have here! ;-) > >On Monday, February 10, 2003, at 07:46 AM, J. Landman Gay wrote: > >> Actually, it isn't even necessary to store the original image size in >> a custom property. Rev will automatically save the size so that the >> script doesn't have to track it. The formattedwidth and >> formattedheight of the image retain the original dimensions. You can >> use those properties to get the original size, and toss out a few >> lines of extra scripting besides: >> >> set the width of image theImage to theRatio*the formattedWidth of img >> theImage >> set the height of image theImage to theRatio*the formattedHeight of > > img theImage >> > Sannysasin, I think the best of both world is to blend Jacqueline's and Mark's suggestions. Following Jacqueline's suggestion one avoids the need to assign width and height properties to the images, andy busing the formatted size properties you preserve the image proportions. And, following Rick suggestion, you take the more natural approach and fit the image to the button rather than the other way around. That resizing script then which preserves the proportions of the original image and packs it in a given button would looks like this: on resizeImage theImage --First get the button width --The button width is first selected (using the button handles), and --then the height is programmed to match the proportions of the image. put the width of button theImage into theButtonWidth --Reset the image size on the substack card --so that it will fit inside the button without distortion. set the defaultStack to "imagesSubstack" put the formattedWidth of image theImage into tImageWidth Put the formattedHeight of image theImage into tImageHeight put tImageHeight/tImageWidth into ratioOfHeightToWidth -- The image ratio set the width of image theImage to theButtonWidth*.94 -- Leave an edge set the height of image theImage to theButtonWidth*ratioOfHeightToWidth*.94 --Finally adjust the button height to match the image height. set the defaultstack to "images" set the height of button theImage to theButtonWidth*ratioOfHeightToWidth end resizeImage Jim -- Jim Hurley From livfoss at blueyonder.co.uk Tue Feb 11 04:17:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Feb 11 04:17:00 2003 Subject: How do I scan all the objects on a card? Message-ID: On Tue, 11 Feb 2003 11:21:41 +1030, "Monte Goulding" wrote: > >Try > >repeat with X=1 to the number of controls of this cd > -- why not use the GM to save the hassle? >end repeat > >Monte > Monte - thanks for your interest, but I have had no luck so far. I don't see why the 'X=1...' formulation should work better than 'repeat for each...', but if it does, I guess it does. I chose 'repeat for each' because the Transcript dictionary warns that this is a slower method, and I had no real reason to need the index 'i'. Your solution implies that the controls on the card have unique consecutive numbers starting from 1, which I didn't realise was the case, and seems to be contradicted by the Transcript Dictionary which says "The expression control 2 refers to the control whose layer is 2" which implies that the numbers are not unique, since not every object is on a different layer. Also, I tried an experimental button with this script: on mouseUp repeat with X=1 to the number of controls of this cd put (the name of control i of this cd) into line i of fld "MyList" end repeat end mouseUp But this produced a runtime error. I suspect that "control i" in this context does not translate to stuff like "graphic i" or "image i" or "field i" according to circumstances, a usage I have so far found I have to organise myself. I tried a number of variations, but no luck so far. As to the GM, I've read many messages suggesting there are bugs in the 1.1.1 Geometry Manager; and also some of the things I want to do don't relate directly to geometry (for example certain properties will have to be reset from arrays of values that relate to screen size in complex ways; some clusters of objects stay together but move to new bits of the screen; some background colours may change, etc.), and I therefore need a scanning structure outside the GM to change this other stuff, so might as well do the whole job there (I thought). But I will look at the GM again. > On Mon, 10 Feb 2003 17:47:54 -0800 (PST) erik hansen wrote: > >View > Application Overview > little triangle > Erik, thanks but I don't see how this helps me at run time (in fact startUp time) within my app, but maybe I misunderstood your point. Back to the cyber-drawing board. But I still do believe that Revo itself knows how to do this. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From scott at tactilemedia.com Tue Feb 11 04:39:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Feb 11 04:39:01 2003 Subject: How do I scan all the objects on a card? In-Reply-To: Message-ID: Recently, Graham Samuel wrote: > I tried an experimental button > with this script: > > on mouseUp > repeat with X=1 to the number of controls of this cd > put (the name of control i of this cd) into line i of fld "MyList" > end repeat > end mouseUp > > But this produced a runtime error. I suspect that "control i" in this > context does not translate to stuff like "graphic i" or "image i" or > "field i" according to circumstances, a usage I have so far found I > have to organise myself. I tried a number of variations, but no luck > so far. This is failing because your repeat counter variable is "X" while you used variable "i" to reference the control numbers. Change the i to an x and your script will work fine. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From wmb at internettrainer.com Tue Feb 11 05:11:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Tue Feb 11 05:11:01 2003 Subject: Configuration Management of built apps In-Reply-To: <89BBAC91-3D49-11D7-A972-0030657E2BD2@mac.com> Message-ID: <87FDF8B4-3DA8-11D7-AB93-003065430226@internettrainer.com> On Montag, Februar 10, 2003, at 11:46 Uhr, Ray Bennett wrote: > Now that I'm building standalones, its becoming pretty obvious that a > lightweight configuraion management tool would be handy (for Unix > folks, I'm looking for something like sccs for humans). Something > like this ultimately should accompany the distribution builder, but... > > Have any of you built such a tool? Something that easily and > conveniently allows me to track versions of files and stacks included > in a build, etc.? heelo Ray, sorry if i did not understand your question correct, but imho you dont need a tool for that. open the DB in rev and build a distribuiton do all the konfiguration of this build (f.e Mac) save it with a name and a release number (its a stack) open it again, change the konfiguration to another build (f.e Linux) save it with another name (and release number) do that with all different builds you need and save them in a folder Voila! Now you have a kind of a small "database" of different DB stacks for building any configuration you once, twice or... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From heather at runrev.com Tue Feb 11 05:27:01 2003 From: heather at runrev.com (Heather Williams) Date: Tue Feb 11 05:27:01 2003 Subject: T-shirt design competition In-Reply-To: <200302102343.SAA21369@www.runrev.com> Message-ID: > i am all excited with this competition, and i do have one question. > RunRev folks will sell thru cafepress so we'll be able to buy from > shirts to drinkwear. > drinkwear design space is much smaller than shirts design space, so can > we enter the > contest with specific entries like: > andre garzia entrie for clock.png > andre garzia entrie for tshirt.png Sure. But I think we need to keep the designs themed and clearly related. So it might be best to offer a series of designs in different sizes perhaps, but as one submission. So maybe you could submit one large design and one related small design, together. Or one design only that can be scaled. Entirely up to your judgment. > > it would give us more power (power to the designerrrr!!!) to create and > the end product will > be better, we'll not think "hell this stamp would be better big on a > tshirt and not this small on a > clock" > > that of course leads to contest winner problems since there are > different categories, and i think > RunRev will not give that many licenses, but it still be good to have > specific desings... I think the problem with offering separate categories is more that we wouldn't want to use two widely different designs. So there will remain one winner, one prize, and one category, but we will be more than happy to see you submit two related designs. Regards, Heather > > cheers -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Ten Thumbs Typing Tutor Teach your Fingers to Dance From livfoss at blueyonder.co.uk Tue Feb 11 06:38:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Feb 11 06:38:01 2003 Subject: How do I scan all the objects on a card? Message-ID: Oops, I just wrote: on mouseUp repeat with X=1 to the number of controls of this cd put (the name of control i of this cd) into line i of fld "MyList" end repeat end mouseUp Of course it should have been repeat with i = 1... So it does work (though "repeat for each..." doesn't. But what about my objection from the transcript dictionary (the implication that the numbers aren't unique?). Still I admit to being somewhat red-faced, and will work from there. Still not sure about the GM. Apologies Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From cowhead at mac.com Tue Feb 11 07:03:01 2003 From: cowhead at mac.com (mark mitchell) Date: Tue Feb 11 07:03:01 2003 Subject: applescript for keyboard input In-Reply-To: <200302102343.SAA21369@www.runrev.com> Message-ID: <452E0E79-3DB8-11D7-BBD0-0030656DAB8E@mac.com> Tuviah wrote: > > Rev 2.0 will do this for you. Set the textfont of the field to > "osaka,japanese" > > Tuviah Snyder Thanks Tuviah. It is switching from Kotoeri back to English in the 2.0 beta but not the reverse. Setting a field to Osaka or other Japanese fonts does not auto-switch to Kotoeri. This problem is independent of font/keyboard synch. BUT, a further problem is that I like to keep font/keyboard synch turned off (as it is usually much more of a pain than an asset). So I would still like an apple script to do this switch exactly when and where I want it. Thanks, mark mitchell Japan From switchedon at hsj.com Tue Feb 11 09:05:01 2003 From: switchedon at hsj.com (Simtech Publications) Date: Tue Feb 11 09:05:01 2003 Subject: Resetting a scrolled field from another cd In-Reply-To: <200302111012.FAA02835@www.runrev.com> Message-ID: > Try > > set the vscroll of fld "instructions text" of cd "instructions" to 0 Nope. That doesn't do it either. Cheers... Bill Lynn, Publisher Simtech Publications http://www.hsj.com From k_major at os.surf2000.de Tue Feb 11 09:28:00 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Tue Feb 11 09:28:00 2003 Subject: Resetting a scrolled field from another cd In-Reply-To: Message-ID: <97F79DBC-3DCC-11D7-8B8A-000A27B49A96@os.surf2000.de> Hi Bill, >> Try >> >> set the vscroll of fld "instructions text" of cd "instructions" to 0 > > Nope. That doesn't do it either. > > Cheers... Bill Lynn, Publisher it works in a "preopencard" or "opencard" handler here. NOT on "closecard" or "mouseup" on another card... Don't ask me why... Regards Klaus Major k_major at os.surf2000.de From cowhead at mac.com Tue Feb 11 09:34:00 2003 From: cowhead at mac.com (mark mitchell) Date: Tue Feb 11 09:34:00 2003 Subject: storing images In-Reply-To: <200302102343.SAA21369@www.runrev.com> Message-ID: <3F57E714-3DCD-11D7-98F1-0030656DAB8E@mac.com> mark mitchell wrote: >> Someone wrote: >> >> "Put image 3 into image 4" >> >> This does not work for me. I tried both with images pointing to an >> image stored elsewhere (outside of rev) and for images stored in the >> stack. All I get is a white or gray image. What am I doing wrong? >> (Mac OS 10.15) >> I played with this some more and have discovered the problem. "Put image X into image Y" does NOT work if image X is derived from a snapshot, but DOES work if it is an imported JPEG. This is true for the beta 2.0 version of Rev as well (mac OS 10.15). It says in the docs that the snapshot format is proprietary, so I suppose it has something to do with that. I use a lot of snapshots, so I think I'll stick with setting the icons of buttons for imported images and setting the fileNames for referenced images. mark mitchell Japan From bvg at mac.com Tue Feb 11 09:48:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue Feb 11 09:48:00 2003 Subject: How do I scan all the objects on a card? In-Reply-To: Message-ID: <2B385BE0-3DCF-11D7-8363-003065AD94A4@mac.com> You can only use the "repeat for each" with chunks (lines, chars etc.) But you can try this: repeat for the number of controls of this card times add one to i put (the name of control i of this card) into line i of field "MyList" end repeat This will be something faster (around 1 tick per every 10 controls) then a "repeat with". It is true that the number of the controls can be the same (when there are grouped controls on the card). However the layer property is always unique (wen you look only at the controls of one card), so maybe there is some cheating and property-exchanging going on here? On Dienstag, Feb 11, 2003, at 10:14 Europe/Zurich, Graham Samuel wrote: > Oops, I just wrote: > > on mouseUp > repeat with X=1 to the number of controls of this cd > put (the name of control i of this cd) into line i of fld "MyList" > end repeat > end mouseUp > > Of course it should have been > > repeat with i = 1... > > So it does work (though "repeat for each..." doesn't. But what about > my objection from the transcript dictionary (the implication that the > numbers aren't unique?). Still I admit to being somewhat red-faced, > and will work from there. Still not sure about the GM. > > Apologies > > Graham > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rcozens at pon.net Tue Feb 11 10:44:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Tue Feb 11 10:44:01 2003 Subject: [OT] clip2Gif Question Message-ID: Hi All, If anyone can suggest why clip2Gif 0.7.2 has suddenly started giving me a -108 error every time I try to access the Color Picker, please send me a heads up privately. I set the transparent background color to black (RGB 0,0,0), and the image I got is fine; however, ever since then I cannot evoke the "Other..." selection of the "Transparent Background" without a -108 error. (Mac OS 9.2) TIA, -- Rob Cozens Vive R Revolution! From bvlahos at mac.com Tue Feb 11 11:33:00 2003 From: bvlahos at mac.com (Bill Vlahos) Date: Tue Feb 11 11:33:00 2003 Subject: User info -posted again In-Reply-To: <661B02BC-3D57-11D7-B03E-000393A19046@earthlink.net> Message-ID: Bob, It's easy: put "mailto:" & variableName into vMailAddress revGoURL vMailAddress or you could combine it in one statement: revGoURL "mailto:" & variableName This works fine on the Mac but not on the other platforms. There was a discussion in the archives on how to make this happen for windows too. Bill Vlahos On Monday, February 10, 2003, at 04:26 PM, Robert Presender wrote: > Hi, > This is a repost of my post of last Sunday. I assume that this is > not a no no since it is used widely on the net. > > It is noted that in registration forms, the user's name and email > address are pre-inserted. > > Would appreciate info as to how such info is obtained. Would like to > use in a Rev/MC standalone. > > TIA > > Regards ... Bob > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Bill Vlahos IT Manager, AeroVironment Inc. Work: 805-581-2187 Cell: 805-490-9992 Email: vlahos at aerovironment.com From eudio at chabashira.co.jp Tue Feb 11 11:35:01 2003 From: eudio at chabashira.co.jp (UDI) Date: Tue Feb 11 11:35:01 2003 Subject: MIDI minders In-Reply-To: <20030211014347.49561.qmail@web20010.mail.yahoo.com> References: <20030211014347.49561.qmail@web20010.mail.yahoo.com> Message-ID: <20030211163113.12578@mail.chabashira.co.jp> Will I help you...? http://homepage.mac.com/udi/stack/makeSMF131.hqx UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From bvlahos at mac.com Tue Feb 11 11:36:01 2003 From: bvlahos at mac.com (Bill Vlahos) Date: Tue Feb 11 11:36:01 2003 Subject: User info -posted again In-Reply-To: <661B02BC-3D57-11D7-B03E-000393A19046@earthlink.net> Message-ID: Bob, It's easy: put "mailto:" & variableName into vMailAddress revGoURL vMailAddress or you could combine it in one statement: revGoURL "mailto:" & variableName This works fine on the Mac but not on the other platforms. There was a discussion in the archives on how to make this happen for windows too. Bill Vlahos On Monday, February 10, 2003, at 04:26 PM, Robert Presender wrote: > Hi, > This is a repost of my post of last Sunday. I assume that this is > not a no no since it is used widely on the net. > > It is noted that in registration forms, the user's name and email > address are pre-inserted. > > Would appreciate info as to how such info is obtained. Would like to > use in a Rev/MC standalone. > > TIA > > Regards ... Bob > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Bill Vlahos IT Manager, AeroVironment Inc. Work: 805-581-2187 Cell: 805-490-9992 Email: vlahos at aerovironment.com From gary.rathbone at btclick.com Tue Feb 11 11:49:01 2003 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Tue Feb 11 11:49:01 2003 Subject: User info -posted again In-Reply-To: <661B02BC-3D57-11D7-B03E-000393A19046@earthlink.net> Message-ID: <001501c2d1ec$db5bf8c0$0e00000a@server> > It is noted that in registration forms, the user's name and > email address are pre-inserted. > > Would appreciate info as to how such info is obtained. Would > like to use in a Rev/MC standalone. I'm assuming you mean a web based registration form ? ie a user goes to a web site and when they reach a form their name and email address is already filled in ? This may be done on the web through 'cookies' - ie the user has registered with the site which then plants a small file on the users machine. This 'cookie' is then read the next time the user visits that site. You can see these on your computer in the 'cookie' directory. As these cookies can be created in a proprietary format, and even encrypted,its almost impossible to extract any 'useful' information from them. If I've missed the point totally then please provide a further explanation and maybe an example, and I'll take another look. Regards Gary Rathbone From livfoss at blueyonder.co.uk Tue Feb 11 11:50:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Feb 11 11:50:01 2003 Subject: How do I use customProperties Message-ID: I seem to be forever stuck in a half-understanding of Transcript/Revo. The latest problem is that I want to do an existence test for a particular custom property. I already know I can't script if exists(the myOddProperty of image "thing" of this cd) then... as someone has already explained to me that a property is not an object, and so in this rather technical sense doesn't exist. My next attempt was to get the customProperties of image "thing" of this cd if "myOddProperty" is in it then... This doesn't work either, presumably because the customProperties is an array, although you would have thought that the indices of an array (element references) would be in there somewhere. There is not that much about arrays in the documentation (the entry under ']' in the Transcript Dictionary is quite useful, but it took some finding). I then tried get the customProperties of image "thing" of this cd if exists(it["myOddProperty"]) then... But that doesn't work either (I suppose an array element isn't an object). I'm sure the answer is simple, but I can't find it. Help appreciated. TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From k_major at os.surf2000.de Tue Feb 11 12:31:01 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Tue Feb 11 12:31:01 2003 Subject: How do I use customProperties In-Reply-To: Message-ID: <2D0C8678-3DE6-11D7-BC76-000A27B49A96@os.surf2000.de> Hi Graham, > I seem to be forever stuck in a half-understanding of Transcript/Revo. > The latest problem is that I want to do an existence test for a > particular custom property. I already know I can't script > if exists(the myOddProperty of image "thing" of this cd) then... > as someone has already explained to me that a property is not an > object, and so in this rather technical sense doesn't exist. My next > attempt was to > get the customProperties of image "thing" of this cd > if "myOddProperty" is in it then... > > This doesn't work either, presumably because the customProperties is > an array, although you would have thought that the indices of an array > (element references) would be in there somewhere. There is not that > much about arrays in the documentation (the entry under ']' in the > Transcript Dictionary is quite useful, but it took some finding). > I then tried > get the customProperties of image "thing" of this cd > if exists(it["myOddProperty"]) then... > But that doesn't work either (I suppose an array element isn't an > object). > > I'm sure the answer is simple, but I can't find it. Help appreciated. > > TIA > > Graham "customkeys" is the magic word :-) ... if (lineoffset("myOddProperty",the customkeys of img "thing") <> 0) then ## do your stuff here end if ... Hope that helps. Regards Klaus Major k_major at os.surf2000.de From benr_mc at cogapp.com Tue Feb 11 13:28:01 2003 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue Feb 11 13:28:01 2003 Subject: Revolution and ActiveWire, MacBrick etc Message-ID: Does anyone have any experience with using Revolution with a generic i/o box (preferably USB)? I've been looking for a replacement for the dearly loved ADB i/o, which we used quite a few of in the past; the principle ones I've found are ActiveWire and MacBrick. Has anyone tried using one of these with Rev (or indeed without)? I'd be interested in any experiences, positive or negative, with either of these devices - or pointers to any others that might do a similar job. 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 jburtt at earthlink.net Tue Feb 11 13:44:00 2003 From: jburtt at earthlink.net (John) Date: Tue Feb 11 13:44:00 2003 Subject: getting duration of MP3 file... Message-ID: Is there any way of getting the duration of a MP3 file directly from disk? Setting the fileName of a player and getting the duration of that player takes much too long when dealing with a long list of files. Thanks, John From switchedon at hsj.com Tue Feb 11 13:57:01 2003 From: switchedon at hsj.com (Simtech Publications) Date: Tue Feb 11 13:57:01 2003 Subject: use-revolution digest, Vol 1 #1123 - 13 msgs In-Reply-To: <200302111701.MAA11614@www.runrev.com> Message-ID: > it works in a "preopencard" or "opencard" handler here. > NOT on "closecard" or "mouseup" on another card... > Don't ask me why... Thanks. The preopencard handler works for me. I was thinking that maybe it just didn't work when called from another card but that doesn't explain why it doesn't work in a closecard handler. Thanks for the help. Cheers... Bill Lynn, Publisher Simtech Publications http://www.hsj.com From bvlahos at mac.com Tue Feb 11 16:47:01 2003 From: bvlahos at mac.com (Bill Vlahos) Date: Tue Feb 11 16:47:01 2003 Subject: Multi-user stacks on servers? In-Reply-To: Message-ID: You don't want to run a single copy of a Rev stack by multiple users on a server. Each use would be able to open it and save to it but their version would overwrite any changes others have made. This would not be good. However, you should be able to have a server Rev application which talks to Rev client apps via IP. The client apps would be able to get and send information to the server app. It would be the responsibility of the server app to keep everything separate and organized and to provide feedback to other clients when there is a change on the server. This is exactly what a data base server does. A good example of this is Tuviah's demo chat program which has the clients talking to the server. Bill Vlahos On Sunday, February 9, 2003, at 09:38 PM, Sannyasin Sivakatirswami wrote: > I am interested in see what we can do without using an external > multi-user dBase, sticking with Rev stack (s), as a data respository > (s) on a server, with multi-user access. > > Can a stack on a local station do something like > > Send new card to stack "Vendors" > ## which resides on a server, kind of like a single table in a SQL > Dbase > put "Some vender Name" into fld "Vendor Name" > > For this to happen, does the stack on the server have to be open? If > so, then I guess there is no second user access for a write at that > moment and if I am right, then this would not be doable? or is there a > doable option other than storing all "records' as small text files and > locking them on read and write. > > The data is complex but limited, well within the limits, size-wise, of > Rev to handle very efficiently. A super macho dBase is not really > needed in terms of speed. Meanwhile Rev's tool box lends itself well > to dealing with the complexity (especially if one only knows xTalk > and is loath to get into a new learning curve) But multi-user access > is an issue. What are our options? > > Sannyasin 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Bill Vlahos IT Manager, AeroVironment Inc. Work: 805-581-2187 Cell: 805-490-9992 Email: vlahos at aerovironment.com From livfoss at blueyonder.co.uk Tue Feb 11 17:18:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Feb 11 17:18:01 2003 Subject: How do I use customProperties Message-ID: On Tue, 11 Feb 2003 16:45:16 +0000 I wrote: >[...] >The latest problem is that I want to do an existence test for a particular custom property. I finally answered my own question - one uses a global property, the customKeys, which gives a list of the custom properties of an object. Who would have guessed that properties are keys, eh? OK, I could have found it in the 'See Also' of the Transcript dictionary entry for 'customProperties' but the name 'keys' put me off researching it. And anyway the info is very fragmented in the docs. I am beginning to think that we (well, I) need a lot more short, concentrated essays explaining pretty well everything on specific topics - for example "all about custom properties" or "all about arrays" or "all about printing" etc. to include info on what not to do and gotchas. I realise that a lot of the info is there somewhere, but it's hard to get the right mixture of 'what' and 'how' to actually get things done. As soon as I feel I know enough about one of these areas I'll try to draft one of these notes - what do other people think? Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From sarahr at genesearch.com.au Tue Feb 11 17:35:15 2003 From: sarahr at genesearch.com.au (Sarah) Date: Tue Feb 11 17:35:15 2003 Subject: How do I scan all the objects on a card? In-Reply-To: Message-ID: <78464087-3E10-11D7-9BCE-0003937A97B8@genesearch.com.au> Hi Graham, I think what is confusing you about control numbers is that they are not static, but they are unique. They represent the ordering of the controls on the card, so they have to be unique as no two controls can be at the same position in the layering list. However these numbers change if you alter the layer of any control, so control 4 might refer to different objects at different times. This still provides a perfectly valid way to refer to all your objects in a single loop. While "repeat for each" is a much faster method of looping than "repeat with", I think the difference is only significant when you have a large number of repeats. I don't imagine that the number of controls on a card can be up in the thousands where using "repeat with" might be a problem. I am one of those who have found that scripting my own geometry settings in a resizeStack handler is much the most reliable way to go. I am hoping that the GM will be improved in Rev 2, but scripting your own is not that hard and works well. Cheers, Sarah On Tuesday, February 11, 2003, at 09:43 pm, Graham Samuel wrote: > Oops, I just wrote: > > on mouseUp > repeat with X=1 to the number of controls of this cd > put (the name of control i of this cd) into line i of fld "MyList" > end repeat > end mouseUp > > Of course it should have been > > repeat with i = 1... > > So it does work (though "repeat for each..." doesn't. But what about > my objection from the transcript dictionary (the implication that the > numbers aren't unique?). Still I admit to being somewhat red-faced, > and will work from there. Still not sure about the GM. > > Apologies > > Graham > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Tue Feb 11 17:39:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Tue Feb 11 17:39:00 2003 Subject: How do I use customProperties In-Reply-To: Message-ID: > I am beginning to think that we (well, I) need a lot more short, > concentrated essays explaining pretty well everything on specific > topics - for example "all about custom properties" or "all about > arrays" or "all about printing" etc. to include info on what not to do > and gotchas. I realise that a lot of the info is there somewhere, but > it's hard to get the right mixture of 'what' and 'how' to actually get > things done. As soon as I feel I know enough about one of these areas > I'll try to draft one of these notes - what do other people think? Do it. I had a similar problem trying to work out how to use groups and how they compared to HyperCard's backgrounds, so when I had ploughed my way through it, I wrote an article for Rev's "tip-of-the-week/month/year" section and submitted it. If more people contributed to that, it would be a great resource, not only for beginners but for those who want to extend into new areas. Cheers, Sarah From sarahr at genesearch.com.au Tue Feb 11 17:39:20 2003 From: sarahr at genesearch.com.au (Sarah) Date: Tue Feb 11 17:39:20 2003 Subject: Revolution and ActiveWire, MacBrick etc In-Reply-To: Message-ID: <5CA9E9A6-3E0E-11D7-9C92-0003937A97B8@genesearch.com.au> After a quick look at the relevant web sites, ActiveWire seems to be Windows oriented while MacBrick (obviously enough) is designed for the Mac. MacBrick has a USB version but it just uses serial comms and the manual provides the syntax for it's commands & responses. I have used Rev to interface with custom built controllers using USB to serial adapters. Under OS 9 this works fine, you just have to open the "modem:" or "printer:" port, then you can send the relevant commands to the device and read back it's answers. The Serial Test stack I posted to the User Contributions area can do this. Hopefully when Rev 2 comes out, it will also be able to perform this type of serial communications. Cheers, Sarah On Wednesday, February 12, 2003, at 04:29 am, Ben Rubinstein wrote: > Does anyone have any experience with using Revolution with a generic > i/o box > (preferably USB)? > > I've been looking for a replacement for the dearly loved ADB i/o, > which we > used quite a few of in the past; the principle ones I've found are > ActiveWire and MacBrick. Has anyone tried using one of these with Rev > (or > indeed without)? I'd be interested in any experiences, positive or > negative, with either of these devices - or pointers to any others that > might do a similar job. > > 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 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Tue Feb 11 17:57:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Feb 11 17:57:01 2003 Subject: How do I use customProperties In-Reply-To: Message-ID: Graham Samuel wrote: > I am beginning to think that we (well, I) need a lot more short, > concentrated essays explaining pretty well everything on specific > topics - for example "all about custom properties" or "all about > arrays" or "all about printing" etc. to include info on what not to > do and gotchas. I realise that a lot of the info is there somewhere, > but it's hard to get the right mixture of 'what' and 'how' to > actually get things done. As soon as I feel I know enough about one > of these areas I'll try to draft one of these notes - what do other > people think? I think it would be a fabulous thing. I'll be happy to add those to RevNet as soon as they're available. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From erikhans08 at yahoo.com Tue Feb 11 18:04:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Feb 11 18:04:01 2003 Subject: MIDI minders In-Reply-To: <20030211163113.12578@mail.chabashira.co.jp> Message-ID: <20030211225949.23063.qmail@web20006.mail.yahoo.com> --- UDI wrote: > Will I help you...? thanks UDI, yes you will. "This stack is free to use. All scripts and music data is a public domain." thanks again, best to wait until 2.0 before expanding to the other OS's, but this is a great start. i have been exporting my RR songs, then "play"ing them in HC. very limited. my box is a Yamaha QY70, do you have a preference for sequencers aside from using QT? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From rpresender at earthlink.net Tue Feb 11 19:20:01 2003 From: rpresender at earthlink.net (Robert Presender) Date: Tue Feb 11 19:20:01 2003 Subject: User info -posted again In-Reply-To: <200302111701.MAA11600@www.runrev.com> Message-ID: <30104ED7-3E1F-11D7-BACE-000393A19046@earthlink.net> On Tuesday, February 11, 2003, at 09:01 AM, Bill Viahos wrote: > put "mailto:" & variableName into vMailAddress > revGoURL vMailAddress > > or you could combine it in one statement: > > revGoURL "mailto:" & variableName > > This works fine on the Mac but not on the other platforms. There was a > discussion in the archives on how to make this happen for windows too. > > Bill Vlahos > Thank you Bill. Regards ... Bob From rpresender at earthlink.net Tue Feb 11 19:30:01 2003 From: rpresender at earthlink.net (Robert Presender) Date: Tue Feb 11 19:30:01 2003 Subject: User info -posted again In-Reply-To: <200302111701.MAA11600@www.runrev.com> Message-ID: On Tuesday, February 11, 2003, at 09:01 AM, Gary Rathbone wrote: >> It is noted that in registration forms, the user's name and >> email address are pre-inserted. >> >> Would appreciate info as to how such info is obtained. Would >> like to use in a Rev/MC standalone. > > I'm assuming you mean a web based registration form ? ie a user goes > to a > web site and when they reach a form their name and email address is > already > filled in ? Bill Vlahos provided the answer in the post before yours. > This may be done on the web through 'cookies' - ie the user has > registered with the site which then plants a small file on the users > machine. This 'cookie' is then read the next time the user visits that > site. > You can see these on your computer in the 'cookie' directory. As these > cookies can be created in a proprietary format, and even encrypted,its > almost impossible to extract any 'useful' information from them. > > If I've missed the point totally then please provide a further > explanation > and maybe an example, and I'll take another look. > > Regards > > Gary Rathbone I will leave the how to create a cookie bit to a later time. Not ready for prime time yet! Gary, thank you for your reply. Appreciate it. Regards ... Bob From smilingeyes at mac.com Tue Feb 11 19:39:00 2003 From: smilingeyes at mac.com (Ray Bennett) Date: Tue Feb 11 19:39:00 2003 Subject: Windows registry and being a "proper" app Message-ID: Okay, I've not really ever done any development for Windows-resident apps, so forgive my ignorance on this one. Is there anything I need to do to make my application "proper" as far as Microsoft is concerned? Specifically, is there something I need to do in order to get it checked into the registry, etc.? What's different on XP in this regard? Thanks for your support. Ray From monte at sweattechnologies.com Tue Feb 11 19:55:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Feb 11 19:55:01 2003 Subject: Windows registry and being a "proper" app In-Reply-To: Message-ID: > Is there anything I need to do to make my application "proper" as far > as Microsoft is concerned? Well seing as Microsoft doesn't make proper apps I don't see why you should worry ;-P Specifically, is there something I need to > do in order to get it checked into the registry, etc.? Not unless you are using a custom document type. Monte From eudio at chabashira.co.jp Tue Feb 11 21:23:01 2003 From: eudio at chabashira.co.jp (UDI) Date: Tue Feb 11 21:23:01 2003 Subject: MIDI minders In-Reply-To: <20030211225949.23063.qmail@web20006.mail.yahoo.com> References: <20030211225949.23063.qmail@web20006.mail.yahoo.com> Message-ID: <20030212021852.23798@mail.chabashira.co.jp> I thought that reproduced a 'Play' command of HC with RR&QT. I have no idea about external hardware MIDI. At first makeSMF makes a MIDI file ( makeSMF handler ) and then plays it with 'play vc'. ( playPmd handler ) Does this give a hint to you? UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From katir at hindu.org Tue Feb 11 21:25:01 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Tue Feb 11 21:25:01 2003 Subject: Force refresh a rotated, file referenced Image In-Reply-To: <5708D844-3D7E-11D7-8363-003065AD94A4@mac.com> Message-ID: OK, go to card doesn't work, lock unlock also doesn't work...What does work is setting the image reference to empty then back again: set the filename of image "currentImage" to "" set the filename of image "currentImage" to tPreviousPath On Monday, February 10, 2003, at 07:04 PM, Bj?rnke von Gierke wrote: > You might try to go to the card (anew) > eg if there is only one card: > go to first card > > or if there are other cards: > go to this card > > On Dienstag, Feb 11, 2003, at 03:31 Europe/Zurich, Sannyasin > Sivakatirswami wrote: > >> I use the following to rotate jpegs, it works great... the only >> problem is that the interface doesn't update. The image is rotated >> and if I run a separate handler to show a different image in >> "CurrentImage" then come back to the image I rotated, it shows the >> new orientation in image "CurrentImage" >> >> global gCurrentFolder, gLastLine >> on mouseUp >> put gCurrentFolder & fld "currentImage" into jai >> put jai into tPath >> create image "Thumb" >> set the rect of image "thumb" to the rect of image "currentImage" >> set the imagedata of image "thumb" to the imagedata of image >> "currentImage" >> set the topleft of image "thumb" to 200,200 >> set the angle of image "thumb" to -90 >> export image "thumb" to URL ("binfile:"&jai) as JPEG >> delete image "thumb" >> set the filename of image "currentImage" to jai >> ## but the image is not updated by the above line >> >> end mouseup >> >> is there a way to force refresh the image to the file path all in the >> same handler? >> >> >> Sannyasin 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 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kkaufman at snet.net Tue Feb 11 21:32:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue Feb 11 21:32:01 2003 Subject: MIDI minders Message-ID: <9E618DB3-3E31-11D7-8091-0003936D1F12@snet.net> "...i have been exporting my RR songs, then "play"ing them in HC. very limited...." Hi Erik, If what you need is to be able to create actual MIDI files, then you might want to look at the MIDI stack that is included with RR 2 pre-release (will work with RR 1.1.1 also). It does not use the character-based system (that from your message I'm assuming is compatible with Hypercard's single-track sound-resource resampling), but files so-produced can be easily imported into a true sequencer or music notation program, or played in any QuickTime- or Windows Media Player- compatible application. HTH, Kurt From jeanne at runrev.com Tue Feb 11 23:09:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Feb 11 23:09:01 2003 Subject: How do I use customProperties In-Reply-To: Message-ID: At 2:13 PM -0800 2/11/03, Graham Samuel wrote: >I finally answered my own question - one uses a global property, the >customKeys, which gives a list of the custom properties of an object. >Who would have guessed that properties are keys, eh? OK, I could have >found it in the 'See Also' of the Transcript dictionary entry for >'customProperties' but the name 'keys' put me off researching it. And >anyway the info is very fragmented in the docs. > >I am beginning to think that we (well, I) need a lot more short, >concentrated essays explaining pretty well everything on specific >topics - for example "all about custom properties" Graham, have you read the "About properties, custom properties, and property sets" topic in the documentation? I think it might answer some of your questions in this area. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Tue Feb 11 23:09:18 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Feb 11 23:09:18 2003 Subject: Another printing question In-Reply-To: Message-ID: At 1:55 AM -0800 2/10/03, Graham Samuel wrote: >Jeanne, I did look at 'answer printer' - as far as I understand it, >this produces the 'Page Setup' dialog or windows equivalent. I'm >looking for the 'Print' dialog, which allows the user to select the >number of copies to be printed etc. Right. "answer printer" gives you this dialog box on Windows - printer name, page range, number of copies (although I confess to not being as familiar with Win printing as I ought to be). -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Tue Feb 11 23:09:28 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Feb 11 23:09:28 2003 Subject: Custom property In-Reply-To: <19f.107522ce.2b77f44c@aol.com> Message-ID: At 10:13 AM -0800 2/9/03, Revinfo1155 at aol.com wrote: >Could someone define a custom property and give me an example >and a "How to set one up! Here's a bit from the documentation (About properties, custom properties, and property sets): -------- A custom property is a property that you define. You can create as many custom properties for an object as you want, and put any kind of data into them (even binary data). The value of a custom property can be a string or array. You can define custom properties for any object, but you cannot define custom global properties. Use a custom property when you want to: * associate data with a specific object * save the data with the object across sessions * access the data quickly Using the value of a custom property: Custom property references look just like built-in property references. For example, to use a custom property called "lastCall", use a statement like the following: put the lastCall of this card into totalWidths Creating a custom property: If you set a custom property that doesn't exist, Revolution automatically creates the custom property and sets it to the requested value. This means that you can create a custom property in a handler or the message box, simply by using the set command as shown above. You can also view, create, and delete custom properties in the Custom tab of the object's Properties palette. Changing custom properties: You set the value of a custom property by using its property name with the set command, in the same way you set built-in properties: set the myCustomProperty of button 1 to false ------ Glossary definition of custom property: custom property An object property you define. A custom property can hold any data you want to associate with the object. ----- If this doesn't help, please let me know.... -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Tue Feb 11 23:10:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Feb 11 23:10:01 2003 Subject: How do I scan all the objects on a card? In-Reply-To: Message-ID: At 4:35 PM -0800 2/10/03, Graham Samuel wrote: > repeat for each control sclTheControl of this card This is not going to work. The "repeat for each" form requires a chunk type. For example, you can do this: repeat for each line thisLine in someVariable repeat for each word theWord in field "Something" repeat for each char nextChar in the script of me repeat for each item thisItem in myVariable but you cannot use it for arbitary sets of things (like the controls on a card). As Monte said, you need to use the "repeat with" form for things like this, since "repeat for each" isn't available. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Tue Feb 11 23:10:16 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Feb 11 23:10:16 2003 Subject: How do I scan all the objects on a card? In-Reply-To: Message-ID: At 1:14 AM -0800 2/11/03, Graham Samuel wrote: >So it does work (though "repeat for each..." doesn't. But what about >my objection from the transcript dictionary (the implication that the >numbers aren't unique?) Graham, can you be more specific about what gave you this idea? I'd like to correct it, of course, if there's a particular statement that's unclear or misleading.... -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From erikhans08 at yahoo.com Wed Feb 12 02:14:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Feb 12 02:14:01 2003 Subject: MIDI minders In-Reply-To: <9E618DB3-3E31-11D7-8091-0003936D1F12@snet.net> Message-ID: <20030212071008.56040.qmail@web20004.mail.yahoo.com> --- Kurt Kaufman wrote: > "...i have been exporting my RR songs, then > "play"ing them in HC. very limited...." > > Hi Erik, > If what you need is to be able to create actual > MIDI files, then you > might want to look at the MIDI stack that is > included with RR 2 > pre-release (will work with RR 1.1.1 also). It > does not use the > character-based system (that from your message > I'm assuming is > compatible with Hypercard's single-track > sound-resource resampling), > but files so-produced can be easily imported > into a true sequencer or > music notation program, or played in any > QuickTime- or Windows Media > Player- compatible application. sounds great. there must be a way to turn play "Hammond B-3" tempo 140 60q... into a midi event. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From erikhans08 at yahoo.com Wed Feb 12 02:25:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Feb 12 02:25:01 2003 Subject: How do I use customProperties In-Reply-To: Message-ID: <20030212072111.57742.qmail@web20004.mail.yahoo.com> --- "Jeanne A. E. DeVoto" wrote: > At 2:13 PM -0800 2/11/03, Graham Samuel wrote: > >I am beginning to think that we (well, I) need > a lot more short, > >concentrated essays explaining pretty well > everything on specific > >topics - for example "all about custom > properties" > > Graham, have you read the "About properties, > custom properties, and > property sets" topic in the documentation? I > think it might answer some of > your questions in this area. there are a lot of "short,concentrated essays explaining pretty well everything on specific topics" in the archives. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From malte.brill at t-online.de Wed Feb 12 03:34:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Wed Feb 12 03:34:01 2003 Subject: MIDI minders In-Reply-To: <200302120057.TAA21092@www.runrev.com> Message-ID: >there must be a way to turn >play "Hammond B-3" tempo 140 60q... >into a midi event. Hi erik, not all into one single Midi Event... If you use a standart GM/GS Device you will send the correct ProgramChange Event for the organ first. Sorrowly Tempo is not a MIDI event. (You might want to google for MIDI-Clock-Sync though). And afterwards you need to send Notes on/off messages to your MIDI device. Well I guess that?s not very helpful... Regards, Malte From rjb at escapesports.com Wed Feb 12 06:03:01 2003 From: rjb at escapesports.com (Ray Bennett) Date: Wed Feb 12 06:03:01 2003 Subject: registry follow-up. never mind. Message-ID: Sorry gang. Just found Ken Ray's pointer to the Sons of Thunder tip regarding Registry stuff from the December 2002 list. That should get me going. From kevin at runrev.com Wed Feb 12 08:33:01 2003 From: kevin at runrev.com (Kevin Miller) Date: Wed Feb 12 08:33:01 2003 Subject: pre-Beta 2 Message-ID: Hi, pre-Beta 2 is up there now for OS X, Windows, Linux (OS 9 to follow within a few hours). http://www.runrev.com/revolution/previews/ It includes the following changes: Addition of Variable Watcher Addition of Database Linked Field panel Changes to the Application Browser (we went with the other design we had, thanks for all the feedback) Image properties palette fixed Improvements to error reporting and debug mode Access to XML, speech, databases on Mac OS 9 Improvements to stability, unicode Other changes still to follow (all almost done, but not included): Field properties panel Cell editing panel Geometry editing panel Colors and patterns panels Final documentation updates General stability, tweaking and bug fixing of the user interface We'll be in beta soon. If you are not an advanced user, please wait for beta. Enjoy! Kind regards, Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From Roger.E.Eller at sealedair.com Wed Feb 12 08:40:01 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed Feb 12 08:40:01 2003 Subject: Force refresh a rotated, file referenced Image Message-ID: On 2/11/2003 Sannyasin Sivakatirswami wrote: > OK, go to card doesn't work, lock unlock also doesn't work...What does > work is setting the image reference to empty then back again: > > set the filename of image "currentImage" to "" > set the filename of image "currentImage" to tPreviousPath I have had good results with hide and show. Hopefully in 2.0 this will be fixed and refreshes will be automatic. set the filename of image "currentImage" to tPath hide image "currentImage" show image "currentImage" Roger Eller roger.e.eller at sealedair.com From richmond at mail.maclaunch.com Wed Feb 12 10:25:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Wed Feb 12 10:25:00 2003 Subject: Mac OS problem Message-ID: So my boss has marketed loads of my CD to schools: 2 say they cannot get them to run on Mac OS 9.2.2 - no obvious reason when I have had the CD running on about 5 different systems. Do they need the valentina engine? Advice requested..... Richmond Mathewson --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From malte.brill at t-online.de Wed Feb 12 10:31:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Wed Feb 12 10:31:01 2003 Subject: Mac OS problem In-Reply-To: <200302120057.TAA21092@www.runrev.com> Message-ID: >So my boss has marketed loads of my CD to schools: 2 say >they cannot get them to run on Mac OS 9.2.2 - no obvious >reason when I have had the CD running on about 5 different >systems. >Do they need the valentina engine? >Advice requested..... >Richmond Mathewson I guess they started a classic built? I had crashes on a 9.2.2 machine (I-Mac bondi) running the built for classic OS, but when I tried to run the OsX distribution everything just worked fine. (It worked if the carbon lib is installed on any MacOs I tested 8.6-X.2 on 10 testmachines) Hope that helps, Malte From dleyanna at rtl.org Wed Feb 12 11:05:01 2003 From: dleyanna at rtl.org (Dave LeYanna) Date: Wed Feb 12 11:05:01 2003 Subject: How do I use customProperties References: Message-ID: <3E4A700D.60603@rtl.org> Graham Samuel wrote: > On Tue, 11 Feb 2003 16:45:16 +0000 I wrote: > > I am beginning to think that we (well, I) need a lot more short, > concentrated essays explaining pretty well everything on specific topics > - for example "all about custom properties" or "all about arrays" or > "all about printing" etc. to include info on what not to do and gotchas. > I realise that a lot of the info is there somewhere, but it's hard to > get the right mixture of 'what' and 'how' to actually get things done. > As soon as I feel I know enough about one of these areas I'll try to > draft one of these notes - what do other people think? > > Graham I going to have to work on my schedule. This would be a fabulous resource. I'll have to allocate some time to help. I haven't been able to do much with Rev. since I received it other that try to keep up with this list(s) and investigate the wide variety of resources available. Time to take some time to dig in... djl From livfoss at blueyonder.co.uk Wed Feb 12 11:55:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Wed Feb 12 11:55:00 2003 Subject: How do I use customProperties Message-ID: On Tue, 11 Feb 2003 23:21:11 -0800 (PST) erik hansen wrote: > >--- "Jeanne A. E. DeVoto" >wrote: >> At 2:13 PM -0800 2/11/03, Graham Samuel wrote: >> >I am beginning to think that we (well, I) need >> a lot more short, >> >concentrated essays explaining pretty well >> everything on specific >> >topics - for example "all about custom > > properties" >[...] >there are a lot of >"short,concentrated essays explaining pretty well >everything on specific topics" in the archives. > Well, I do usually do the rounds of the links and have a crack at the Google search too before mailing to the list, and I have had a pretty frustrating time of it now and then. If you know of an essay about printing, please point me to it to stop me re-inventing the wheel. TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From livfoss at blueyonder.co.uk Wed Feb 12 12:16:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Wed Feb 12 12:16:01 2003 Subject: How do I scan all the objects on a card? Message-ID: On Tue, 11 Feb 2003 20:03:30 -0800 "Jeanne A. E. DeVoto" wrote: > >At 1:14 AM -0800 2/11/03, Graham Samuel wrote: >[...] But what about > >my objection from the transcript dictionary (the implication that the >>numbers aren't unique?) > >Graham, can you be more specific about what gave you this idea? I'd like to >correct it, of course, if there's a particular statement that's unclear or >misleading.... > Well, I guess I put 2 and 2 together and made 5, but I would be surprised if I was the only one... If you have a card with a lot of objects on it (well, more than one will do), and you look at the properties of any object via the Development Environment, you will see a set of four buttons for changing the object's layer - 'send to back', 'move backward', 'move forward' and 'send to front'. My mental model of the card was that the layers could be shared, so that one imagines 'sent to back' objects like the backdrop in a theatre, and foreground objects like props or actors, some sets of whom might be exactly the same distance from the front of the stage. With this mental model it's natural to assume that several objects could be **at the same level** at the same time. Indeed, this does happen on the Mac, I believe, where drawing programs based on QuickDraw can (for example) bring a whole bunch of objects to the front in one action. So I reasoned that layer numbers could not be unique. Of course the docs never say this, although the glossary entry for 'layer' could be interpreted that way: "The position of a control relative to the front and back; the order in which controls are stacked on the card" Now that I've looked into it more thoroughly of course I see that Revolution doesn't have 'my' model, although I have not yet worked out all the consequences (for example, a group will contain objects which by definition will all be on separate layers - what happens when I send the whole group to the back?). I'm sorry that people like me keep banging on about misconceptions we've somehow picked up on the way and then seem to be blaming them on the documentation. I do feel the docs are well done and therefore don't want to appear negative. Maybe it helps to see that different people approach issues from a different angle sometimes. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From pixelbird at interisland.net Wed Feb 12 12:21:00 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Wed Feb 12 12:21:00 2003 Subject: Where are button contents? In-Reply-To: <200302121606.LAA01367@www.runrev.com> Message-ID: Hi list, I want to do something like in HC: put line 2 of target into field "MainField" Where are button contents? Do button contents have something to do with Custom Properties? How do I set such a thing? Ken N. From bornstein at designeq.com Wed Feb 12 12:26:00 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Wed Feb 12 12:26:00 2003 Subject: The Mac OS9 Pre-beta link doesn't work Message-ID: <200302121722.h1CHMNxF004046@ms-smtp-02.nyroc.rr.com> Clicking the link "revolution.sit" (on http://www.runrev.com/revolution/previews/downloads.html) takes you to your "page not found" page. From livfoss at blueyonder.co.uk Wed Feb 12 13:03:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Wed Feb 12 13:03:01 2003 Subject: How do I use customProperties Message-ID: On Tue, 11 Feb 2003 20:04:14 -0800 "Jeanne A. E. DeVoto" wrote: > >Graham, have you read the "About properties, custom properties, and >property sets" topic in the documentation? I think it might answer some of >your questions in this area. Jeanne, thanks for your interest: I did you an injustice. I have to admit that I read this at the beginning of my work with Revolution and then didn't look at it again. If I had, I would have known about the 'customKeys' property. There were only a few things I have wanted to know (so far) which aren't in that article, and I found them by experiment: 1. Do I get an error if I try to access a property that doesn't exist, or is perhaps the new property created, as it is with 'set'? The answer is "no" and "no", and furthermore no 'getProp' message is sent, but if the non-existent property is part of an assignment statement, like get the myMysteryProperty of grc "gr1" the variable (in this case 'it') becomes empty. 2.What kind of list do you get from the 'customKeys'? The answer is a return-separated list (each property name is on a different line). Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From kray at sonsothunder.com Wed Feb 12 15:50:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Feb 12 15:50:01 2003 Subject: Where are button contents? References: Message-ID: <07d501c2d2d8$2648f680$6501a8c0@mckinley.dom> Ken, You can do just as you describe. Buttons have contents (usually used for drop down or popup menus or tabbed buttons). Button contents are different than custom props -- they're a "real" property of buttons. If you have Rev 1.1.1, you can create a button, open the Properties palette and click the last tab (the one that looks like a button). Choose one of the menu styles of buttons and the area marked "Create Button Menu With Contents" will enable... here's where you specify the contents of buttons. You can also do it by script: on FillButtonContents put "One" & cr & "Two" & cr & "Three" into button 1 end FillButtonContents Button contents are just like in HC - you can get the selection, the selectedLine, etc. of buttons... Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Ken Norris (dialup)" To: Sent: Wednesday, February 12, 2003 11:37 AM Subject: Where are button contents? > Hi list, > > I want to do something like in HC: > > put line 2 of target into field "MainField" > > Where are button contents? > > Do button contents have something to do with Custom Properties? How do I set > such a thing? > > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Wed Feb 12 16:09:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Feb 12 16:09:01 2003 Subject: How do I scan all the objects on a card? References: Message-ID: <07da01c2d2da$c37b0cc0$6501a8c0@mckinley.dom> Graham, What might help is to compare it to SuperCard, as the approach is very similar with the exception that there isn't distinct "cards" and "backgrounds" so you don't have one set of IDs for objects on a "card" and another set of IDs for objects on a "background". All objects in Rev are on the same "plane", although some may be shared with other cards by being grouped. Regardless, every object has its own unique ID, and there is a stacking order of all objects on a card - you can't have one object at the same "level" as another object - there's always a front-to-back stacking order, just like in SC. The only unique feature here is that a group acts as a single object as far as stacking is concerned, so if you have four objects: ----- BACK OF CARD ----- Button 1 - layer 1 Field 1 - layer 2 Button 2 - layer 3 Field 2 - layer 4 ----- FRONT OF CARD ----- and you then group Field 1 and Button 2 together (which brings the group to the front), you get this: ----- BACK OF CARD ----- Button 1 - Layer 1 Field 2 - Layer 2 Group 1 - Layer 3 ----- FRONT OF CARD ----- If you then select the group and move it backwards, you have this: ----- BACK OF CARD ----- Button 1 - Layer 1 Group1 - Layer 2 Field 2 - Layer 3 ----- FRONT OF CARD ----- Now within the group itself, the objects have their *own* layering, so if you were to edit Group 1, you'd have this: === BACK OF GROUP === Field 1 - Layer 1 Button 2 - Layer 2 === FRONT OF GROUP === So to see it all, you'd have this: ----- BACK OF CARD ----- Button 1 - Layer 1 Group1 - Layer 2 === BACK OF GROUP === Field 1 - Layer 1 Button 2 - Layer 2 === FRONT OF GROUP === Field 2 - Layer 3 ----- FRONT OF CARD ----- and regardless of how you relayered the group itself on the card, the objects *inside* the group don't relayer; in fact, you can't directly set the layer of an object inside a group unless you set the relayerGroupedControls to true, so you normally need to edit the group itself, and then relayer the objects while "in" the group. I hope this makes sense... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Graham Samuel" To: "Revolution user discussion" Sent: Wednesday, February 12, 2003 11:12 AM Subject: RE: How do I scan all the objects on a card? > On Tue, 11 Feb 2003 20:03:30 -0800 "Jeanne A. E. DeVoto" > wrote: > > > >At 1:14 AM -0800 2/11/03, Graham Samuel wrote: > >[...] But what about > > >my objection from the transcript dictionary (the implication that the > >>numbers aren't unique?) > > > >Graham, can you be more specific about what gave you this idea? I'd like to > >correct it, of course, if there's a particular statement that's unclear or > >misleading.... > > > > Well, I guess I put 2 and 2 together and made 5, but I would be > surprised if I was the only one... > > If you have a card with a lot of objects on it (well, more than one > will do), and you look at the properties of any object via the > Development Environment, you will see a set of four buttons for > changing the object's layer - 'send to back', 'move backward', 'move > forward' and 'send to front'. My mental model of the card was that > the layers could be shared, so that one imagines 'sent to back' > objects like the backdrop in a theatre, and foreground objects like > props or actors, some sets of whom might be exactly the same distance > from the front of the stage. > > With this mental model it's natural to assume that several objects > could be **at the same level** at the same time. Indeed, this does > happen on the Mac, I believe, where drawing programs based on > QuickDraw can (for example) bring a whole bunch of objects to the > front in one action. So I reasoned that layer numbers could not be > unique. Of course the docs never say this, although the glossary > entry for 'layer' could be interpreted that way: > > "The position of a control relative to the front and back; the order > in which controls are stacked on the card" > > Now that I've looked into it more thoroughly of course I see that > Revolution doesn't have 'my' model, although I have not yet worked > out all the consequences (for example, a group will contain objects > which by definition will all be on separate layers - what happens > when I send the whole group to the back?). > > I'm sorry that people like me keep banging on about misconceptions > we've somehow picked up on the way and then seem to be blaming them > on the documentation. I do feel the docs are well done and therefore > don't want to appear negative. Maybe it helps to see that different > people approach issues from a different angle sometimes. > > Graham > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kkaufman at snet.net Wed Feb 12 16:15:00 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Wed Feb 12 16:15:00 2003 Subject: MIDI minders Message-ID: <754E50F5-3ECE-11D7-9C60-0003936D1F12@snet.net> Malte Brill wrote: "...Sorrowly Tempo is not a MIDI event...." Strictly speaking, maybe not, but it can be defined within a standard MIDI file. If you produce a MIDI file with RR's MIDI Builder stack, and you open it with a Hex editor, you will see a spot in the first track where the initial tempo is defined, as well as initial key signature, number of music tracks, etc. -Kurt From erikhans08 at yahoo.com Wed Feb 12 18:57:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Feb 12 18:57:01 2003 Subject: MIDI minders In-Reply-To: Message-ID: <20030212235322.48957.qmail@web20007.mail.yahoo.com> --- Malte Brill wrote: > >there must be a way to turn > >play "Hammond B-3" tempo 140 60q... > >into a midi event. > > Hi erik, > > not all into one single Midi Event... > > If you use a standart GM/GS Device you will > send the correct ProgramChange > Event for the organ first. > Sorrowly Tempo is not a MIDI event. (You might > want to google for > MIDI-Clock-Sync though). And afterwards you > need to send Notes on/off > messages to your MIDI device. > > Well I guess that?s not very helpful... it is helpful. MIDI specifies duration (gate) time. in my QY70 that is set automatically according to tempo (120) and note time value (half, quarter, etc.) just have to write it up in Revolution! anyone out there ever create a sequencer? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From erikhans08 at yahoo.com Wed Feb 12 18:59:02 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Feb 12 18:59:02 2003 Subject: MIDI minders In-Reply-To: <754E50F5-3ECE-11D7-9C60-0003936D1F12@snet.net> Message-ID: <20030212235533.29340.qmail@web20003.mail.yahoo.com> --- Kurt Kaufman wrote: > Malte Brill wrote: > "...Sorrowly Tempo is not a MIDI event...." > > Strictly speaking, maybe not, but it can be > defined within a standard > MIDI file. If you produce a MIDI file with > RR's MIDI Builder stack, > and you open it with a Hex editor, you will see > a spot in the first > track where the initial tempo is defined, as > well as initial key > signature, number of music tracks, etc. i have been waiting for 2.0 to explore the MIDI Builder stack. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From runrev at technetx.com Wed Feb 12 20:05:01 2003 From: runrev at technetx.com (runrev at technetx.com) Date: Wed Feb 12 20:05:01 2003 Subject: Some install issues Message-ID: <001501c2d2fb$481d4fe0$0201a8c0@nh2> Every once in a while, revolution seems to delete itself from the directory and when I click to start it, it tries to reinstall. It's strange. The only fix when it happens is I have to actually use the original revolution.exe I downloaded to install it again, then re-enter my license information. Does this happen to anyone else? Revolution 1.1.1 WindowsME Thanks in advance, Ron From smilingeyes at mac.com Wed Feb 12 22:10:01 2003 From: smilingeyes at mac.com (Ray Bennett) Date: Wed Feb 12 22:10:01 2003 Subject: background image disappears when printing to PDF Message-ID: <0FA949BC-3F00-11D7-A31D-0030657E2BD2@mac.com> Dear List - Sorry to be a pest. I have an image control with an imported (vice linked) image. This control was pasted into the background of a card. This background occurs on 15 cards. The image is pretty small (175x175). When I use the Print Dialog to create a PDF of the stack, everything works except that where the image control should be, the actual image doesn't appear. What _does_ appear is a 175x175 swatch of the background image contained on the first card of the stack (where the call to "print" the cards was made from). This was actually in Rev Classic 1.1.1 running under 9.2.2. within the OS 10.2.3 environment. The print script is below. Thanks in advance. Ray (sorry for the length of the script snippit) <--begin script--> sort lines of theList ascending numeric by word 1 of each if the optionkey is down then open printing with dialog else open printing end if lock screen put false into lastPassFlag repeat with i = 1 to the number of lines in theList if i = the number of lines in theList then put true into lastPassFlag end if set the cursor to busy -- put line i of theList into cardName -- SIXTEEN and THIRTYTWOs if the backgroundNames of card cardName contains "16" OR \ the backgroundNames of card cardName contains "32" then if pagesToPrint = 2 then push card go card cardName send "printThisCard false,2" to this card pop card else push card go card cardName set the visible of scrollbar "rbscrollbar" to false send "print32ChampBracket" to this card set the visible of scrollbar "rbscrollbar" to true if not(lastPassFlag) then --don't do this the last time, or we get a blank page print break end if pop card end if else print card cardName of this stack into the rect of fld "printpreview2" of card 1 of this stack if not(lastPassFlag) then --don't do this the last time, or we get a blank page print break end if end if end repeat -- close printing <--end script--> From jeanne at runrev.com Thu Feb 13 11:05:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Thu Feb 13 11:05:01 2003 Subject: How do I scan all the objects on a card? In-Reply-To: Message-ID: At 9:12 AM -0800 2/12/03, Graham Samuel wrote: >If you have a card with a lot of objects on it (well, more than one >will do), and you look at the properties of any object via the >Development Environment, you will see a set of four buttons for >changing the object's layer - 'send to back', 'move backward', 'move >forward' and 'send to front'. My mental model of the card was that >the layers could be shared, so that one imagines 'sent to back' >objects like the backdrop in a theatre, and foreground objects like >props or actors, some sets of whom might be exactly the same distance >from the front of the stage. Aha. Actually, it works more like a draw program (like the old MacDraw, or the draw module in AppleWorks): each object is on its own layer, and "send to back" and "bring to front" just puts an object on the rearmost or frontmost layer. I agree this needs to be explained better. >out all the consequences (for example, a group will contain objects >which by definition will all be on separate layers - what happens >when I send the whole group to the back?). The whole group moves together through the layers, so if you have a group with a button in front of a field (for example) and send the group to the back, the field will be the rearmost object, with the button on top, and then the other objects on the card. It's similar in some ways to the way you drag a group - it moves as a single object horizontally and vertically, as well as in the Z (depth) axis. >I'm sorry that people like me keep banging on about misconceptions >we've somehow picked up on the way and then seem to be blaming them >on the documentation. I do feel the docs are well done and therefore >don't want to appear negative. Maybe it helps to see that different >people approach issues from a different angle sometimes. Absolutely. This sort of discussion is very useful to me. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Thu Feb 13 11:06:17 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Thu Feb 13 11:06:17 2003 Subject: Dealing with the dictionary In-Reply-To: References: <200302101701.MAA11122@www.runrev.com> Message-ID: At 12:32 PM -0800 2/10/03, Ken Norris (dialup) wrote: >When I'm at home on my boat, I work on my PB 1400c. How much RAM does it have? >Is there a way to separate out the docs and make them accessible as a >standalone with the cards accessible from an external HD or something. That >is, cards as HD data with no big RAM penalty? Unfortunately, you can't open a stack without loading the entire file into memory. And the dictionary is a fairly large file (about 3.5M). -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From smilingeyes at mac.com Thu Feb 13 12:04:01 2003 From: smilingeyes at mac.com (Ray Bennett) Date: Thu Feb 13 12:04:01 2003 Subject: Some install issues In-Reply-To: <001501c2d2fb$481d4fe0$0201a8c0@nh2> Message-ID: Ron, I'm just a little more paranoid than I should be, but the only platform I won't warrant my product on is Windows ME. Mostly because it seems that the different hardware vendors got pretty confused when they wedded it to their box, so for instance the Sony VAIO and HP Pavillion's running ME (at least for us) were just really difficult to predict. Sometimes stable, sometimes not - especially relative to loading and running third party apps. I know this doesn't help, but thought I'd share it. On Wednesday, Feb 12, 2003, at 20:00 America/New_York, runrev at technetx.com wrote: > Every once in a while, revolution seems to delete itself from the > directory > and when I click to start it, it tries to reinstall. It's strange. > The > only fix when it happens is I have to actually use the original > revolution.exe I downloaded to install it again, then re-enter my > license > information. > > Does this happen to anyone else? > > Revolution 1.1.1 > WindowsME > > Thanks in advance, > Ron > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alrice at ARCplanning.com Thu Feb 13 16:57:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Feb 13 16:57:01 2003 Subject: get function() of the target? Message-ID: <867827B6-3F9D-11D7-A65A-000393529642@ARCplanning.com> I want some cards to implement an true/false answer for the question isActiveCard. The default would be true, implemented at the mainStack level. Cards could implement their own isActiveCard, or not. I have *lots* of cards, so want to use message path hierarchy wherever possible. Consider this situation. In my mainStack script: function isActiveCard return "true" -- default answer, will be overridden in some cards end isActiveCard -- on preOpenCard -- skip inactive cards if not isActiveCard() then go next card exit preOpenCard end if pass preOpenCard end preOpenCard In a substack, card script might have function isActiveCard -- according to the app's data model if something then return "true" else return "false" end isActiveCard The problem is that when the preOpenCard handler runs in the mainstack, I want to call the isActiveCard() function that's defined in *the target* card, not the mainstack. If messages were actually inherited then it wouldn't be a problem, but instead of inheritance, the messages travel up the heirarchy. I've tried get isActiveCard() of the target which seems to *actually work according to my intent*, then causes an error as soon as soon as I step over it in the debugger. Weird. Please enlighten me! Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From rpresender at earthlink.net Thu Feb 13 18:40:01 2003 From: rpresender at earthlink.net (Robert Presender) Date: Thu Feb 13 18:40:01 2003 Subject: The Mac OS9 Pre-beta link doesn't work In-Reply-To: <200302131607.LAA22907@www.runrev.com> Message-ID: On Thursday, February 13, 2003, at 08:07 AM, Howard Bornstein wrote: > Clicking the link "revolution.sit" (on > http://www.runrev.com/revolution/previews/downloads.html) takes you to > your "page not found" page. Hi Howard, Delete the ")" at the end of the above URL Regards ... Bob From jeanne at runrev.com Thu Feb 13 19:25:02 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Thu Feb 13 19:25:02 2003 Subject: get function() of the target? In-Reply-To: <867827B6-3F9D-11D7-A65A-000393529642@ARCplanning.com> Message-ID: At 1:53 PM -0800 2/13/03, Alex Rice wrote: >The problem is that when the preOpenCard handler runs in the mainstack, >I want to call the isActiveCard() function that's defined in *the >target* card, not the mainstack. It sounds like you need the value function. See "How to call a custom function that's not in the message path", too. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From pixelbird at interisland.net Thu Feb 13 22:06:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Thu Feb 13 22:06:01 2003 Subject: Dealing with the dictionary In-Reply-To: <200302131607.LAA22907@www.runrev.com> Message-ID: Thanks for the Re Jeanne, > Date: Wed, 12 Feb 2003 19:05:12 -0800 > From: "Jeanne A. E. DeVoto" > Subject: Re: Dealing with the dictionary > > At 12:32 PM -0800 2/10/03, Ken Norris (dialup) wrote: >> When I'm at home on my boat, I work on my PB 1400c. > > How much RAM does it have? ---------- 48mb. It can go to a max of 64mb, but it's hard to find and expensive, so I use virtual memory. ---------- >> Is there a way to separate out the docs and make them accessible as a >> standalone with the cards accessible from an external HD or something. That >> is, cards as HD data with no big RAM penalty? > > Unfortunately, you can't open a stack without loading the entire file into > memory. And the dictionary is a fairly large file (about 3.5M). ---------- Is that all? Why is it causing the computer to slow down or crash? Everything works fine until I open the dictionary. Even with virtual memory at 60mb, it often causes a crash. No other apps open. For this reason, I have a formatted CF card I use as a drive for virtual memory. It's 128mb and offers up 116mb of useable VM. Opening the dictionary now won't cause crashes anymore, but everything is painfully slow, e.g., takes long periods to get to pages in the dictionary, 5 minutes to quit Rev, etc. (the transfer rates of CF cards are notoriously slow compared to hard drives). Accessing other parts of the docs doesn't seem to cause problems. In fact, I can look at some other parts of it and everything runs OK. But if I open the dictionary, everything slows to a snail's pace and stays that way even after I close the dictionary. I would think that closing it would allow the system to give up the space on the CF card, but it apparently doesn't. Anyway, I was hoping to get the docs (or at least the dictionary) off into another machine more or less dedicated to them. I'd rather have them that way anyway, so they don't interfere with what I'm doing on the screen, i.e., I can read them at the same time I'm working on a stack without having to open and close, move, windowshade, docs stacks. I have one with, um, 64mb I think. Can I make the docs into standalones? Would the memory penalty be any better than running it from Rev? Ken N. From chipp at chipp.com Thu Feb 13 23:10:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Feb 13 23:10:01 2003 Subject: Some install issues In-Reply-To: <001501c2d2fb$481d4fe0$0201a8c0@nh2> Message-ID: Ron, Does it seem to happen right after you do a 'Build Distribution'? > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of > runrev at technetx.com > Sent: Wednesday, February 12, 2003 7:00 PM > To: Run Time Revolution USE > Subject: Some install issues > > > Every once in a while, revolution seems to delete itself from the > directory > and when I click to start it, it tries to reinstall. It's strange. The > only fix when it happens is I have to actually use the original > revolution.exe I downloaded to install it again, then re-enter my license > information. > > Does this happen to anyone else? > > Revolution 1.1.1 > WindowsME > > Thanks in advance, > Ron > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jimbeckmann at comcast.net Thu Feb 13 23:31:01 2003 From: jimbeckmann at comcast.net (Jim Beckmann) Date: Thu Feb 13 23:31:01 2003 Subject: Where are button contents? In-Reply-To: <200302131607.LAA22907@www.runrev.com> Message-ID: Ken wrote: > Where are button contents? I may be totally off base here but something I was straightened out with. If you imported a stack into Rev from HC and are trying to access the contents of a button, the Rev properties keep it grayed out. The HCAdressing property needs to be changed - if it is true set it to false or vice versa. Again, Ken, I may be way off your situation. -- Jim Beckmann From gcanyon at inspiredlogic.com Fri Feb 14 03:48:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Feb 14 03:48:01 2003 Subject: Dealing with the dictionary In-Reply-To: Message-ID: <5B1BA942-3FF8-11D7-8911-003065683ECC@inspiredlogic.com> First, it doesn't free up the memory because Revolution doesn't actually close a stack when you close it. It remains in memory. This can be changed by setting the destroyStack of the stack to true. Second, you can export the docs to a text file, to HTML, or to RTF, and then refer to that. There's an exporter stack on the User Contributions page. On Thursday, February 13, 2003, at 07:22 PM, Ken Norris (dialup) wrote: > Anyway, I was hoping to get the docs (or at least the dictionary) off > into > another machine more or less dedicated to them. I'd rather have them > that > way anyway, so they don't interfere with what I'm doing on the screen, > i.e., > I can read them at the same time I'm working on a stack without having > to > open and close, move, windowshade, docs stacks. I have one with, um, > 64mb I > think. Can I make the docs into standalones? Would the memory penalty > be any > better than running it from Rev? > regards, Geoff Canyon gcanyon at inspiredlogic.com From runrev at technetx.com Fri Feb 14 11:43:01 2003 From: runrev at technetx.com (runrev at technetx.com) Date: Fri Feb 14 11:43:01 2003 Subject: Some install issues References: Message-ID: <000901c2d447$96056e20$0201a8c0@nh2> You know Chipp, I think you're on to something. I do believe it does happen typically after build distribution. ----- Original Message ----- From: "Chipp Walters" To: Sent: Thursday, February 13, 2003 8:06 PM Subject: RE: Some install issues > Ron, > > Does it seem to happen right after you do a 'Build Distribution'? > > > -----Original Message----- > > From: use-revolution-admin at lists.runrev.com > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of > > runrev at technetx.com > > Sent: Wednesday, February 12, 2003 7:00 PM > > To: Run Time Revolution USE > > Subject: Some install issues > > > > > > Every once in a while, revolution seems to delete itself from the > > directory > > and when I click to start it, it tries to reinstall. It's strange. The > > only fix when it happens is I have to actually use the original > > revolution.exe I downloaded to install it again, then re-enter my license > > information. > > > > Does this happen to anyone else? > > > > Revolution 1.1.1 > > WindowsME > > > > Thanks in advance, > > Ron > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From runrev at technetx.com Fri Feb 14 11:48:01 2003 From: runrev at technetx.com (runrev at technetx.com) Date: Fri Feb 14 11:48:01 2003 Subject: launch Message-ID: <001b01c2d448$3ddfb4c0$0201a8c0@nh2> Hi all, I am looking for a command that launches a file with the associated application set by Windows. Using the Launch command wants the application name along with the file name, and using revGoUrl launches it in the web browser along with the helper app. I simply want to mimic a double click on a file name and let the op system associate the app with the extension. Thanks again. From dsc at swcp.com Fri Feb 14 11:59:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Feb 14 11:59:01 2003 Subject: launch In-Reply-To: <001b01c2d448$3ddfb4c0$0201a8c0@nh2> Message-ID: <14A2AB16-403D-11D7-B0CB-000A9567A3E6@swcp.com> On Friday, February 14, 2003, at 09:43 AM, runrev at technetx.com wrote: > Hi all, I am looking for a command that launches a file with the > associated > application set by Windows. Using the Launch command wants the > application > name along with the file name, and using revGoUrl launches it in the > web > browser along with the helper app. I simply want to mimic a double > click on > a file name and let the op system associate the app with the extension. Windows "start" might do what you want. Dar Scott From gareth_beanie20 at hotmail.com Fri Feb 14 12:17:01 2003 From: gareth_beanie20 at hotmail.com (gareth Davies) Date: Fri Feb 14 12:17:01 2003 Subject: animation timeline Message-ID: Hello, My name is Gareth and I am currently on my final year of my computer studies degree. For my project I need to investigate open source multimedia tools, I am currently looking at revolution, but I don't know how to use the animation timeline. Can anybody help me please!!! _________________________________________________________________ MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk From dleyanna at rtl.org Fri Feb 14 12:26:00 2003 From: dleyanna at rtl.org (Dave LeYanna) Date: Fri Feb 14 12:26:00 2003 Subject: animation timeline References: Message-ID: <3E4D25F1.2050201@rtl.org> Rev is NOT OPEN SOURCE! It may have a no-charge version but the source code to the software is not available and it is not licensed under any open source type of licienced agreement. You can use the advance Google search and look under animation. timeline producted 8 hits anaimation produced 214 djl gareth Davies wrote: > Hello, My name is Gareth and I am currently on my final year of my > computer studies degree. > For my project I need to investigate open source multimedia tools, I am > currently looking at revolution, but I don't know how to use the > animation timeline. > > Can anybody help me please!!! > > _________________________________________________________________ > MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dleyanna at rtl.org Fri Feb 14 12:49:00 2003 From: dleyanna at rtl.org (Dave LeYanna) Date: Fri Feb 14 12:49:00 2003 Subject: animation timeline References: <3E4D25F1.2050201@rtl.org> Message-ID: <3E4D2B4A.8030106@rtl.org> Sorry, I forgot the link! http://www.google.com/advanced_search?q=site:lists.runrev.com Dave LeYanna wrote: > Rev is NOT OPEN SOURCE! > It may have a no-charge version but the source code to the software is > not available and it is not licensed under any open source type of > licienced agreement. > > You can use the advance Google search and look under animation. > > timeline producted 8 hits > anaimation produced 214 > > djl > > gareth Davies wrote: > >> Hello, My name is Gareth and I am currently on my final year of my >> computer studies degree. >> For my project I need to investigate open source multimedia tools, I >> am currently looking at revolution, but I don't know how to use the >> animation timeline. >> >> Can anybody help me please!!! >> >> _________________________________________________________________ >> MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alrice at ARCplanning.com Fri Feb 14 14:38:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Feb 14 14:38:01 2003 Subject: get function() of the target? In-Reply-To: Message-ID: <40980863-4053-11D7-AEDF-000393529642@ARCplanning.com> On Thursday, February 13, 2003, at 05:18 PM, Jeanne A. E. DeVoto wrote: > At 1:53 PM -0800 2/13/03, Alex Rice wrote: >> The problem is that when the preOpenCard handler runs in the >> mainstack, >> I want to call the isActiveCard() function that's defined in *the >> target* card, not the mainstack. > > It sounds like you need the value function. Ah! Thanks. > See "How to call a custom > function that's not in the message path", too. > I can't find this in the docs. What section of the Dev Guide? I did find a similar tip in RevNet though, which says to use value(). Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From miscdas at boxfrog.com Fri Feb 14 14:49:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Fri Feb 14 14:49:01 2003 Subject: launch In-Reply-To: <001b01c2d448$3ddfb4c0$0201a8c0@nh2> References: <001b01c2d448$3ddfb4c0$0201a8c0@nh2> Message-ID: <20030214194647.54039.qmail@www.boxfrog.com> runrev at technetx.com writes: > Hi all, I am looking for a command that launches a file with the associated application set by Windows. Using the Launch command wants the application name along with the file name, and using revGoUrl launches it in the web browser along with the helper app. I simply want to mimic a double click on a file name and let the op system associate the app with the extension. > > Thanks again. > ------------------------ This works on WIN XP PRO, MC 2.4.3 You supply the full path and file name, and if the file type associations are set, the associated app is launced and the file opens. In this example, Notepad launches and opens the specified text file, then my bowser (IE) is launched and the HTML doc is opened. on mouseUp get shell ("start C:\ZinioInstall.txt") get shell ("start C:\TheCompleteRegularExpressionGuide.htm") end mouseUp miscdas From runrev at technetx.com Fri Feb 14 17:20:01 2003 From: runrev at technetx.com (runrev at technetx.com) Date: Fri Feb 14 17:20:01 2003 Subject: launch References: <001b01c2d448$3ddfb4c0$0201a8c0@nh2> <20030214194647.54039.qmail@www.boxfrog.com> Message-ID: <000b01c2d476$8e2f7720$0201a8c0@nh2> When doing it that way on WinMe, it has to launch a dos window first, then launches the associated application and file. While it does work, it just doesn't seem "clean" to me. I think I'll just write/compile a small Delphi app and include with my pub to accomplish this and a few other things. Thanks! ----- Original Message ----- From: To: Sent: Friday, February 14, 2003 11:46 AM Subject: Re: launch > runrev at technetx.com writes: > > > Hi all, I am looking for a command that launches a file with the associated application set by Windows. Using the Launch command wants the application name along with the file name, and using revGoUrl launches it in the web browser along with the hel > per app. I simply want to mimic a double click on a file name and let the op system associate the app with the extension. > > > > Thanks again. > > > ------------------------ > This works on WIN XP PRO, MC 2.4.3 > You supply the full path and file name, and if the file type associations > are set, the associated app is launced and the file opens. > > In this example, Notepad launches and opens the specified text file, then my > bowser (IE) is launched and the HTML doc is opened. > > on mouseUp > get shell ("start C:\ZinioInstall.txt") > get shell ("start C:\TheCompleteRegularExpressionGuide.htm") > end mouseUp > > miscdas > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Fri Feb 14 18:45:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Fri Feb 14 18:45:01 2003 Subject: Some install issues In-Reply-To: <000901c2d447$96056e20$0201a8c0@nh2> Message-ID: Ron, This is a known problem. Here's the fix. Don't delete the .exe (or move it) from the standalone folder. Just copy it to where you want it and test it there. If you want to delete it, then delete the WHOLE standalone folder. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of > runrev at technetx.com > Sent: Friday, February 14, 2003 10:39 AM > To: use-revolution at lists.runrev.com > Subject: Re: Some install issues > > > You know Chipp, I think you're on to something. I do believe it > does happen > typically after build distribution. > > ----- Original Message ----- > From: "Chipp Walters" > To: > Sent: Thursday, February 13, 2003 8:06 PM > Subject: RE: Some install issues > > > > Ron, > > > > Does it seem to happen right after you do a 'Build Distribution'? > > > > > -----Original Message----- > > > From: use-revolution-admin at lists.runrev.com > > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of > > > runrev at technetx.com > > > Sent: Wednesday, February 12, 2003 7:00 PM > > > To: Run Time Revolution USE > > > Subject: Some install issues > > > > > > > > > Every once in a while, revolution seems to delete itself from the > > > directory > > > and when I click to start it, it tries to reinstall. It's > strange. The > > > only fix when it happens is I have to actually use the original > > > revolution.exe I downloaded to install it again, then re-enter my > license > > > information. > > > > > > Does this happen to anyone else? > > > > > > Revolution 1.1.1 > > > WindowsME > > > > > > Thanks in advance, > > > Ron > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From monte at sweattechnologies.com Fri Feb 14 19:49:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Feb 14 19:49:01 2003 Subject: launch In-Reply-To: <001b01c2d448$3ddfb4c0$0201a8c0@nh2> Message-ID: Try on launchFile pFileName switch the platform case "Win32" set the hideConsoleWindows to true put empty into theTitle if "NT" is in the systemVersion then set the shellCommand to "cmd.exe" put quote & quote into theTitle end if get shell("start" && theTitle && Qt(pFileName)) break case "MacOS" if word 1 of the systemVersion >=10 then do ("open location "&Qt(pFileName)) as appleScript else do ("open location "&Qt(revMacFromUnixPath(pFileName))) as appleScript end if break default get shell("konquerer" && Qt(pFileName)) break end switch end launchFile Cheers Monte > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of > runrev at technetx.com > Sent: Saturday, 15 February 2003 3:14 AM > To: Run Time Revolution USE > Subject: launch > > > Hi all, I am looking for a command that launches a file with the > associated > application set by Windows. Using the Launch command wants the > application > name along with the file name, and using revGoUrl launches it in the web > browser along with the helper app. I simply want to mimic a > double click on > a file name and let the op system associate the app with the extension. > > Thanks again. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Fri Feb 14 20:11:02 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Feb 14 20:11:02 2003 Subject: launch In-Reply-To: Message-ID: Sorry Qt is a quoting function: function Ot pToQuote return quote&pToQuote"e end Qt > > Try > > on launchFile pFileName > switch the platform > case "Win32" > set the hideConsoleWindows to true > put empty into theTitle > if "NT" is in the systemVersion then > set the shellCommand to "cmd.exe" > put quote & quote into theTitle > end if > get shell("start" && theTitle && Qt(pFileName)) > break > case "MacOS" > if word 1 of the systemVersion >=10 then > do ("open location "&Qt(pFileName)) as appleScript > else > do ("open location "&Qt(revMacFromUnixPath(pFileName))) as > appleScript > end if > break > default > get shell("konquerer" && Qt(pFileName)) > break > end switch > end launchFile > > Cheers > > Monte > > > -----Original Message----- > > From: use-revolution-admin at lists.runrev.com > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of > > runrev at technetx.com > > Sent: Saturday, 15 February 2003 3:14 AM > > To: Run Time Revolution USE > > Subject: launch > > > > > > Hi all, I am looking for a command that launches a file with the > > associated > > application set by Windows. Using the Launch command wants the > > application > > name along with the file name, and using revGoUrl launches it in the web > > browser along with the helper app. I simply want to mimic a > > double click on > > a file name and let the op system associate the app with the extension. > > > > Thanks again. > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gwills at ozemail.com.au Sat Feb 15 08:07:01 2003 From: gwills at ozemail.com.au (Greg Wills) Date: Sat Feb 15 08:07:01 2003 Subject: Button images In-Reply-To: <200302101702.MAA11152@www.runrev.com> References: <200302101702.MAA11152@www.runrev.com> Message-ID: Hi all This should be easy but I am struggling with this at the moment. I have been following the discussion on graphics in buttons with interest, however I am stuck at step one! I have a stack "Display" and a sub-stack "GraphicsStore". I can set a button id 1005 (in the "Display" stack) to a image id 1234 in the substack via the properties palette, however I am having trouble changing the image via a script. I can remove the icon by; set the icon of button id 1005 to image id 0 however set the icon of button id 1005 to image id 1234 or set the icon of button id 1005 to image id 1234 of substack "GraphicsStore" is not doing a thing. I would appreciate any clues as to the correct syntax for changing the button icons. Thanks Greg From toeloop at swissonline.ch Sat Feb 15 08:39:01 2003 From: toeloop at swissonline.ch (=?ISO-8859-1?Q?Thomas_B=E4hler?=) Date: Sat Feb 15 08:39:01 2003 Subject: Windows Standalone didn't work Message-ID: <470D53DF-40EA-11D7-ADC5-00306555CAAA@swissonline.ch> Just wanted to let you know... A few weeks ago I was fishing for clues why my Standalone Distribution for Windows didn't work. Yesterday I found out what troubled the interpreter (or whoever is in charge) on the Windows system. I used the less-or-equal-sign (option - <) in three different handlers, which is no problem on a Mac, but has to be substituted with the "<= " combination for Windows. This is documented in the Transcript Dictionary, but with more than ten years in HyperCar, SuperCard and Mac only, I wasn't aware... Tracking down the problem did improve the scripts a lot, but the best thing really is, that the stack finally works. Cheers Thomas From dleyanna at rtl.org Sat Feb 15 08:44:01 2003 From: dleyanna at rtl.org (Dave LeYanna) Date: Sat Feb 15 08:44:01 2003 Subject: Windows Standalone didn't work References: <470D53DF-40EA-11D7-ADC5-00306555CAAA@swissonline.ch> Message-ID: <3E4E4357.50009@rtl.org> Thanks for updating us with the solution. djl Thomas B?hler wrote: > Just wanted to let you know... > A few weeks ago I was fishing for clues why my Standalone Distribution > for Windows didn't work. > Yesterday I found out what troubled the interpreter (or whoever is in > charge) on the Windows system. > I used the less-or-equal-sign (option - <) in three different handlers, > which is no problem on a Mac, but > has to be substituted with the "<= " combination for Windows. This is > documented in the Transcript Dictionary, > but with more than ten years in HyperCar, SuperCard and Mac only, I > wasn't aware... > > Tracking down the problem did improve the scripts a lot, but the best > thing really is, that the stack finally works. > > Cheers > Thomas > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Roger.E.Eller at sealedair.com Sat Feb 15 08:57:01 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sat Feb 15 08:57:01 2003 Subject: Button images Message-ID: > I have a stack "Display" and a sub-stack "GraphicsStore". I can set a > button id 1005 (in the "Display" stack) to a image id 1234 in the > substack via the properties palette, however I am having trouble > changing the image via a script. > > I can remove the icon by; > > set the icon of button id 1005 to image id 0 > > however > > set the icon of button id 1005 to image id 1234 > or > set the icon of button id 1005 to image id 1234 of substack "GraphicsStore" Greg, You don't have to say "image id". Just leave that out and use the number alone... like this: set the icon of button id 1005 to 1234 Roger Eller roger.e.eller at sealedair.com From k_major at os.surf2000.de Sat Feb 15 10:02:01 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Sat Feb 15 10:02:01 2003 Subject: Button images In-Reply-To: Message-ID: Hi Greg, > Hi all > > This should be easy but I am struggling with this at the moment. I > have been following the discussion on graphics in buttons with > interest, however I am stuck at step one! > I have a stack "Display" and a sub-stack "GraphicsStore". I can set a > button id 1005 (in the "Display" stack) to a image id 1234 in the > substack via the properties palette, however I am having trouble > changing the image via a script. > I can remove the icon by; > set the icon of button id 1005 to image id 0 > > however > > set the icon of button id 1005 to image id 1234 > or > set the icon of button id 1005 to image id 1234 of substack > "GraphicsStore" > > is not doing a thing. > > I would appreciate any clues as to the correct syntax for changing the > button icons. > > Thanks > > Greg the correct syntax is like this: set the icon of btn x to 1003 ## without "image id", just the naked id, or set the icon of btn x to the id of image "pic1" of cd 1 of stack "xyz" ## the complete decription (of cd x of stack y) is necessary in that case... Hope that helps. Have a nice weekend. Regards Klaus Major k_major at os.surf2000.de From xslaugh at hotmail.com Sat Feb 15 11:53:02 2003 From: xslaugh at hotmail.com (Scott Slaugh) Date: Sat Feb 15 11:53:02 2003 Subject: Relative File Name Message-ID: I have a stack with several images in it that I would like to store in an external file. Instead of having the filename of of the images then point to the exact location of a file, I would like to have them point just to a folder and the image name. For example, if I have a folder called images, I want to be able to set the filename to "images/image1.gif," rather than something like "c:\program\images\image1.gif." Is there any way to do this? Scott Slaugh _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From mike at cyber-ny.com Sat Feb 15 12:22:01 2003 From: mike at cyber-ny.com (Mike Brown) Date: Sat Feb 15 12:22:01 2003 Subject: Relative File Name In-Reply-To: Message-ID: Hi Scott, I am not sure if this is what you were asking, but for getting files stored in a folder relative to my stack I do the following. I get the filename of my Rev stack or App and store the location in a variable such as gStackLoc. You have to delete the last item of the filename from the variable because that will be the actual name of your stack. I do that by scripting: Global gStackLoc Put the filename of this stack into gStackLoc Set the itemdelimiter to / Delete the last item of gStackLoc That way when I look for a file that is always stored in a folder relative to my stack location I can add the path to the end the variable like this: Get file gStackLoc & "/images/image1.gif" Or Global gFileLoc Put gStackLoc & "/images/image1.gif" into gFileLoc Get file gFileLoc Maybe somebody out there has a simpler method for this, if not I hope this info is helpful. Best, Mike Mike Brown Cyber-NY Interactive 212-475-2721 1-888-70-CYBER mike at cyber-ny.com On 2/15/03 11:48 AM, "Scott Slaugh" wrote: > I have a stack with several images in it that I would like to store in an > external file. Instead of having the filename of of the images then point > to the exact location of a file, I would like to have them point just to a > folder and the image name. For example, if I have a folder called images, I > want to be able to set the filename to "images/image1.gif," rather than > something like "c:\program\images\image1.gif." Is there any way to do this? > > Scott Slaugh > > _________________________________________________________________ > Tired of spam? Get advanced junk mail protection with MSN 8. > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From k_major at os.surf2000.de Sat Feb 15 12:25:01 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Sat Feb 15 12:25:01 2003 Subject: Relative File Name In-Reply-To: Message-ID: <0C29CD7E-410A-11D7-B108-000A27B49A96@os.surf2000.de> Hi Scott, > I have a stack with several images in it that I would like to store in > an external file. Instead of having the filename of of the images > then point to the exact location of a file, I would like to have them > point just to a folder and the image name. For example, if I have a > folder called images, I want to be able to set the filename to > "images/image1.gif," rather than something like > "c:\program\images\image1.gif." Is there any way to do this? > > Scott Slaugh just add this to your preopenstack-handler: ... get the effective filename of this stack set the itemdel to "/" delete item -1 of it set the directory to it ## Now the defaulkt-folder is the folder ## where this stack is in... ... From now on, relative paths will work :-) Hope that helps. Have a nice weekend. Regards Klaus Major k_major at os.surf2000.de From dsc at swcp.com Sat Feb 15 12:56:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Feb 15 12:56:01 2003 Subject: launch In-Reply-To: <000b01c2d476$8e2f7720$0201a8c0@nh2> Message-ID: <2A0EA508-410E-11D7-9880-000A9567A3E6@swcp.com> On Friday, February 14, 2003, at 03:15 PM, runrev at technetx.com wrote: > When doing it that way on WinMe, it has to launch a dos window first, > then > launches the associated application and file. While it does work, it > just > doesn't seem "clean" to me. If you look closely at Monte's example, you will see hideConsoleWindows set to true. This prevents the command window from being visible. This may meet your requirement for a clean launch. Dar Scott From jhurley at infostations.com Sat Feb 15 14:19:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Sat Feb 15 14:19:01 2003 Subject: Button images In-Reply-To: <200302151655.LAA19218@www.runrev.com> References: <200302151655.LAA19218@www.runrev.com> Message-ID: > > Greg Wills wrote: > >Hi all > >This should be easy but I am struggling with this at the moment. I >have been following the discussion on graphics in buttons with >interest, however I am stuck at step one! > >I have a stack "Display" and a sub-stack "GraphicsStore". I can set a >button id 1005 (in the "Display" stack) to a image id 1234 in the >substack via the properties palette, however I am having trouble >changing the image via a script. > >I can remove the icon by; > >set the icon of button id 1005 to image id 0 > >however > >set the icon of button id 1005 to image id 1234 >or >set the icon of button id 1005 to image id 1234 of substack "GraphicsStore" > >is not doing a thing. > >I would appreciate any clues as to the correct syntax for changing >the button icons. > >Thanks > >Greg Greg, One way to set the button icons programmatically is to run the "setUp" handler below. It presumes that each button which is to receive an image icon has been given the same name as the image in the substack. It will run through all the cards in the main stack and if it finds a button whose name corresponds to an image in the substack, it will assign the image id to the button. (All images are located on the one card in the substack. It is relatively quick and painless. On setUp Lock screen repeat with i =1 to the number of cards set the defaultstack to "myStack" go to card i repeat with j = 1 to the number of buttons put the short name of button j into tButtonName set the defaultstack to "mySubstack" if there is an image tButtonName then put the id of image tButtonName into tImageID set the defaultstack to "images" set the icon of button j to tImageID end repeat end repeat unlock screen end setUp Jim Hurley From gcanyon at inspiredlogic.com Sat Feb 15 14:46:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Feb 15 14:46:01 2003 Subject: Relative File Name In-Reply-To: Message-ID: <8353F246-411D-11D7-BC05-003065683ECC@inspiredlogic.com> You can do exactly what you describe -- refer to the image as "images/image1.gif" There's no setup required. The drawback is that the default path to start from is the application, so during development you would need to have the images folder in the same folder as the Revolution application, _not_ the same folder as the stack is in (unless the stack is in the same folder as the Revolution app, of course). When you build a standalone, move the images folder into the same folder as the standalone. regards, Geoff On Saturday, February 15, 2003, at 08:48 AM, Scott Slaugh wrote: > I have a stack with several images in it that I would like to store in > an external file. Instead of having the filename of of the images > then point to the exact location of a file, I would like to have them > point just to a folder and the image name. For example, if I have a > folder called images, I want to be able to set the filename to > "images/image1.gif," rather than something like > "c:\program\images\image1.gif." Is there any way to do this? > > Scott Slaugh regards, Geoff Canyon gcanyon at inspiredlogic.com From gwills at ozemail.com.au Sat Feb 15 18:56:01 2003 From: gwills at ozemail.com.au (Greg Wills) Date: Sat Feb 15 18:56:01 2003 Subject: Button images In-Reply-To: <200302151659.LAA19452@www.runrev.com> References: <200302151659.LAA19452@www.runrev.com> Message-ID: Thanks Roger, Thanks Klaus - of course, so simple. You don't know what a great sense of relief I had this morning when I tried this out. I am now off and running. By the way Klaus, you were a little slow at responding this time. Roger was way ahead of you. (At least in the list order.) Were you catching up on some sleep or something - or is there an other distraction in your life!! Thanks again. cheers Greg > >> I have a stack "Display" and a sub-stack "GraphicsStore". I can set a >> button id 1005 (in the "Display" stack) to a image id 1234 in the >> substack via the properties palette, however I am having trouble >> changing the image via a script. >> >> I can remove the icon by; >> >> set the icon of button id 1005 to image id 0 >> >> however >> >> set the icon of button id 1005 to image id 1234 >> or >> set the icon of button id 1005 to image id 1234 of substack >"GraphicsStore" > >Greg, > >You don't have to say "image id". Just leave that out and use the number >alone... like this: > >set the icon of button id 1005 to 1234 > >Roger Eller >roger.e.eller at sealedair.com > > >the correct syntax is like this: > >set the icon of btn x to 1003 >## without "image id", just the naked id, or > >set the icon of btn x to the id of image "pic1" of cd 1 of stack "xyz" >## the complete decription (of cd x of stack y) is necessary in that >case... > > >Hope that helps. > >Have a nice weekend. > > >Regards > > >Klaus Major >k_major at os.surf2000.de > From pixelbird at interisland.net Sat Feb 15 19:41:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sat Feb 15 19:41:01 2003 Subject: Dealing with the dictionary In-Reply-To: <200302141701.MAA05834@www.runrev.com> Message-ID: ********** Hi Geoff, > Date: Fri, 14 Feb 2003 00:43:14 -0800 > Subject: Re: Dealing with the dictionary > From: Geoff Canyon > > First, it doesn't free up the memory because Revolution doesn't > actually close a stack when you close it. It remains in memory. This > can be changed by setting the destroyStack of the stack to true. ---------- OK, so I set the destroyStack property of the stack to true, and close it. Will it be lost? or is is still in its folder? (destroyStack sounds dangerous). ---------- > Second, you can export the docs to a text file, to HTML, or to RTF, and > then refer to that. There's an exporter stack on the User Contributions > page. ---------- I couldn't find an exporter stack per se. What's the name? TIA, Ken N. From k_major at os.surf2000.de Sat Feb 15 20:08:01 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Sat Feb 15 20:08:01 2003 Subject: Button images In-Reply-To: Message-ID: Hi Greg, > ... > By the way Klaus, you were a little slow at responding this time. > Roger was way ahead of you. (At least in the list order.) Mist, merde, bugger! ;-) > Were you catching up on some sleep or something - > or is there an other distraction in your life!! Thanks again. Well, believe me or not, but sometimes i do spend some time with my girlfriend... :-) > cheers > > Greg Have a nice weekend. Regards Klaus Major k_major at os.surf2000.de From valetia at mac.com Sun Feb 16 02:18:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Sun Feb 16 02:18:01 2003 Subject: Dealing with the dictionary In-Reply-To: Message-ID: Hi Ken, >> First, it doesn't free up the memory because Revolution doesn't >> actually close a stack when you close it. It remains in memory. This >> can be changed by setting the destroyStack of the stack to true. > ---------- > OK, so I set the destroyStack property of the stack to true, and close it. > Will it be lost? or is is still in its folder? (destroyStack sounds > dangerous). destroyStack only removes the closed stack from memory, but doesn't delete it from the hard drive, so it's not as dangerous as it sounds. :-) >> Second, you can export the docs to a text file, to HTML, or to RTF, and >> then refer to that. There's an exporter stack on the User Contributions >> page. > ---------- > I couldn't find an exporter stack per se. What's the name? The name of the listing on the page is: "Revolution Docs -> RTF, Text and HTML Converter version 1.1" ...and here's the direct link to the file: http://www.runrev.com/revolution/downloads/developerdownloads/revrtfer.zip Hope this helps. Valetia From Mike at Doub.com Sun Feb 16 14:25:01 2003 From: Mike at Doub.com (Mike Doub) Date: Sun Feb 16 14:25:01 2003 Subject: POP3 or IMAP Message-ID: <000001c2d5f0$86a19940$15596718@fusion> Has anyone developed any code to get mail via POP3? I seem to be having problems reopening a socket. Thanks Mike From nfeasey at utpress.utoronto.ca Sun Feb 16 16:11:01 2003 From: nfeasey at utpress.utoronto.ca (Nicholas Feasey) Date: Sun Feb 16 16:11:01 2003 Subject: Properties Issue? In-Reply-To: Message-ID: <8C3D68BA-41F2-11D7-9FAA-000393D9515C@utpress.utoronto.ca> I have opened my application, as per usual, and now when I select a field I can no longer bring up the Properties or colours windows any more. I am running under Mac OS X 10.2.4 with the Mac OS Emulated Look and Feel turned on. It's only happening in this application and is very strange. Has anyone encountered this issue before as I have no idea what in the heck is going on here. Any assistance, as always, would be greatly appreciated. N From nfeasey at utpress.utoronto.ca Sun Feb 16 16:27:01 2003 From: nfeasey at utpress.utoronto.ca (Nicholas Feasey) Date: Sun Feb 16 16:27:01 2003 Subject: Properties Issue? - RESOLVED In-Reply-To: <8C3D68BA-41F2-11D7-9FAA-000393D9515C@utpress.utoronto.ca> Message-ID: Hmm? I just wanted to let everyone know that a re-installation of Revolution fixed the issue in which the Properties/Colours windows would NOT come up anymore within my application. Now, perhaps I turned something on/off by mistake - I have no idea - or by upgrading to Mac OS X 10.2.4 actually caused the issue? I only know that this actually fixed the issue. Perhaps someone can shed some light on this? N On Sunday, February 16, 2003, at 04:06 PM, Nicholas Feasey wrote: > I have opened my application, as per usual, and now when I select a > field I can no longer bring up the Properties or colours windows any > more. > > I am running under Mac OS X 10.2.4 with the Mac OS Emulated Look and > Feel turned on. > > It's only happening in this application and is very strange. > > Has anyone encountered this issue before as I have no idea what in the > heck is going on here. > > Any assistance, as always, would be greatly appreciated. > > N > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From sarahr at genesearch.com.au Sun Feb 16 17:22:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Feb 16 17:22:01 2003 Subject: POP3 or IMAP In-Reply-To: Message-ID: <6D53CE16-41FC-11D7-B730-0003937A97B8@genesearch.com.au> Yes, I have. What exactly is the problem? Are you making the connection once and then not being able to re-make it a second time? if so, it sounds like the socket is not being closed correctly. Check your variables to make sure that the script that closes the socket is closing the correct port and that it is actually being used. Also if you get an error during connection, make sure that the socket is closed properly. To make absolutely sure that any open sockets have been closed, you can always run a script like this: repeat until the openSockets is empty close socket line 1 of the openSockets end repeat although you need to be sure that no other part of your program might legitimately have an open socket at the same time. Let me know if this doesn't help, or send me your stack off-list and I'll be happy to see what I can do. Cheers, Sarah On Monday, February 17, 2003, at 05:25 am, Mike Doub wrote: > Has anyone developed any code to get mail via POP3? I seem to be > having > problems reopening a socket. > > Thanks > Mike > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gcanyon at inspiredlogic.com Sun Feb 16 18:05:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Feb 16 18:05:01 2003 Subject: Dealing with the dictionary In-Reply-To: Message-ID: <86A1398B-4202-11D7-BC05-003065683ECC@inspiredlogic.com> destroyStack only affects the image of the stack in memory, not the disk file. It's perfectly safe. The exporter is on the user contributions page: http://www.runrev.com/revolution/developers/developerdownloads/ usercontributions.html Search for my name. On Saturday, February 15, 2003, at 04:58 PM, Ken Norris (dialup) wrote: > ********** > Hi Geoff, > >> Date: Fri, 14 Feb 2003 00:43:14 -0800 >> Subject: Re: Dealing with the dictionary >> From: Geoff Canyon >> >> First, it doesn't free up the memory because Revolution doesn't >> actually close a stack when you close it. It remains in memory. This >> can be changed by setting the destroyStack of the stack to true. > ---------- > OK, so I set the destroyStack property of the stack to true, and close > it. > Will it be lost? or is is still in its folder? (destroyStack sounds > dangerous). > ---------- >> Second, you can export the docs to a text file, to HTML, or to RTF, >> and >> then refer to that. There's an exporter stack on the User >> Contributions >> page. > ---------- > I couldn't find an exporter stack per se. What's the name? I hope this helps. Feel free to contact me if you have any further questions. regards, Geoff Canyon Revolution Support -- Geoff Canyon Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From nfeasey at utpress.utoronto.ca Sun Feb 16 18:07:02 2003 From: nfeasey at utpress.utoronto.ca (Nicholas Feasey) Date: Sun Feb 16 18:07:02 2003 Subject: Properties Issue? - RESOLVED - Nope, not quite In-Reply-To: Message-ID: <9FBFFEA2-4202-11D7-8DB6-000393D9515C@utpress.utoronto.ca> So, now the Properties and Text window come up when you double click on the field but the Colours window does NOT. I am at a loss as to what is going on there. Does anyone have any ideas? N On Sunday, February 16, 2003, at 04:22 PM, Nicholas Feasey wrote: > Hmm? > > I just wanted to let everyone know that a re-installation of > Revolution fixed the issue in which the Properties/Colours windows > would NOT come up anymore within my application. > > Now, perhaps I turned something on/off by mistake - I have no idea - > or by upgrading to Mac OS X 10.2.4 actually caused the issue? I only > know that this actually fixed the issue. > > Perhaps someone can shed some light on this? > > N > > > On Sunday, February 16, 2003, at 04:06 PM, Nicholas Feasey wrote: > >> I have opened my application, as per usual, and now when I select a >> field I can no longer bring up the Properties or colours windows any >> more. >> >> I am running under Mac OS X 10.2.4 with the Mac OS Emulated Look and >> Feel turned on. >> >> It's only happening in this application and is very strange. >> >> Has anyone encountered this issue before as I have no idea what in >> the heck is going on here. >> >> Any assistance, as always, would be greatly appreciated. >> >> N >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From pixelbird at interisland.net Sun Feb 16 18:38:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Feb 16 18:38:01 2003 Subject: Dealing with the dictionary In-Reply-To: <200302161701.MAA02891@www.runrev.com> Message-ID: ********** > Date: Sun, 16 Feb 2003 17:14:29 +1000 > Subject: Re: Dealing with the dictionary > From: "valetia at mac.com" >> ---------- >> I couldn't find an exporter stack per se. What's the name? > > The name of the listing on the page is: > > "Revolution Docs -> RTF, Text and HTML Converter version 1.1" ---------- I have it, but I don't understand how it works. When I open it in Rev, it just gets the docs like the Help menu would. If I open it by itself, it does nothing. It looks like all its for is printing in various formats, which is not what I want. What, exactly, should I do with it? TIA Ken N. From sarahr at genesearch.com.au Sun Feb 16 19:15:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Feb 16 19:15:01 2003 Subject: Properties Issue? - RESOLVED - Nope, not quite In-Reply-To: Message-ID: <3CC416F7-420C-11D7-88BE-0003937A97B8@genesearch.com.au> It isn't supposed to. The Properties palette opens when you double-click on an object and if you have the Text &/or Color palettes already open, they will change to reflect the newly selected object, but normally, you will have to open the Text & Colors palettes specifically by clicking on the relevant icons in the toolbar. I have had the occasional bug where NO palettes will open, but restarting Revolution seems to fix that OK. Cheers, Sarah On Monday, February 17, 2003, at 09:07 am, Nicholas Feasey wrote: > So, now the Properties and Text window come up when you double click > on the field but the Colours window does NOT. > > I am at a loss as to what is going on there. > > Does anyone have any ideas? > > N > > On Sunday, February 16, 2003, at 04:22 PM, Nicholas Feasey wrote: > >> Hmm? >> >> I just wanted to let everyone know that a re-installation of >> Revolution fixed the issue in which the Properties/Colours windows >> would NOT come up anymore within my application. >> >> Now, perhaps I turned something on/off by mistake - I have no idea - >> or by upgrading to Mac OS X 10.2.4 actually caused the issue? I only >> know that this actually fixed the issue. >> >> Perhaps someone can shed some light on this? >> >> N >> >> >> On Sunday, February 16, 2003, at 04:06 PM, Nicholas Feasey wrote: >> >>> I have opened my application, as per usual, and now when I select a >>> field I can no longer bring up the Properties or colours windows any >>> more. >>> >>> I am running under Mac OS X 10.2.4 with the Mac OS Emulated Look and >>> Feel turned on. >>> >>> It's only happening in this application and is very strange. >>> >>> Has anyone encountered this issue before as I have no idea what in >>> the heck is going on here. >>> >>> Any assistance, as always, would be greatly appreciated. >>> >>> N >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bornstein at designeq.com Mon Feb 17 00:07:01 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Feb 17 00:07:01 2003 Subject: Frozen card Message-ID: <200302170503.h1H533b1004268@ms-smtp-01.nyroc.rr.com> My current project just wigged out under Rev 1.1.1. Suddenly, one card (not one I'd been working on) causes a freeze whenever I try to go to it. It doesn't matter if it's via the normal button to get there or simply typing "Go to card 5" in the msg box. Instant freezo. I'm not sending it into Rev Support because, fortunately, the Rev 2.0 pre-beta handles this card with no problems. In fact, I've found the pre-beta, for the stuff I've done so far, to be remarkably stable. I love the fact that it can read this stack without a hiccup, where as Rev 1.1.1 dies. I've ended up doing some development in this version and would love to continue. Unfortunately, some of the property inspectors (most notably the field inspector) aren't done yet. However, once these are in place (a recent message from the team implied that they're all but done, and just need to be integrated into the release), I think this will be a very robust environmemt. I won't be sorry to see the random crashes and freezes I've encountered under 1.1.1 go away. Looking forward to 2.0 with great expectations. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From ambassador at fourthworld.com Mon Feb 17 00:36:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Feb 17 00:36:01 2003 Subject: Frozen card In-Reply-To: <200302170503.h1H533b1004268@ms-smtp-01.nyroc.rr.com> Message-ID: Howard Bornstein wrote: > My current project just wigged out under Rev 1.1.1. Suddenly, one card > (not one I'd been working on) causes a freeze whenever I try to go to it. > It doesn't matter if it's via the normal button to get there or simply > typing "Go to card 5" in the msg box. Instant freezo. What happens if you type "lock messages; go cd 5" in the Message Box? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From gcanyon at inspiredlogic.com Mon Feb 17 01:32:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon Feb 17 01:32:01 2003 Subject: Dealing with the dictionary In-Reply-To: Message-ID: Click on the tab for the format you want: Text, RTF, HTML. Click on the Export (format you want) button. You'll have to name the file/choose the folder you want. What you end up with depends on the format: text or RTF, you get a file in that format that you can then open in a text editor, Word, etc., to print. HTML you get a set of HTML pages, one to an entry. On Sunday, February 16, 2003, at 03:55 PM, Ken Norris (dialup) wrote: > I have it, but I don't understand how it works. When I open it in Rev, > it > just gets the docs like the Help menu would. If I open it by itself, > it > does nothing. > > It looks like all its for is printing in various formats, which is not > what > I want. > > What, exactly, should I do with it? > regards, Geoff Canyon gcanyon at inspiredlogic.com From jeanne at runrev.com Mon Feb 17 01:57:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Feb 17 01:57:01 2003 Subject: get function() of the target? In-Reply-To: <40980863-4053-11D7-AEDF-000393529642@ARCplanning.com> References: Message-ID: At 11:33 AM -0800 2/14/03, Alex Rice wrote: >> See "How to call a custom >> function that's not in the message path", too. >> >I can't find this in the docs. What section of the Dev Guide? Values & Properties. (It might not be in the 1.1.1 docs yet, come to think of it - it is in the current beta, though. I was looking at my working copy when I looked it up.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Mon Feb 17 01:57:11 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Feb 17 01:57:11 2003 Subject: animation timeline In-Reply-To: Message-ID: At 9:12 AM -0800 2/14/03, gareth Davies wrote: >Hello, My name is Gareth and I am currently on my final year of my computer >studies degree. >For my project I need to investigate open source multimedia tools, I am >currently looking at revolution, but I don't know how to use the animation >timeline. Try the animation tutorial: choose Revolution Documentation from the Help menu, click Tutorials, then click Animation Manager. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From gwills at ozemail.com.au Mon Feb 17 06:38:01 2003 From: gwills at ozemail.com.au (Greg Wills) Date: Mon Feb 17 06:38:01 2003 Subject: Button images script In-Reply-To: <200302161704.MAA02966@www.runrev.com> References: <200302161704.MAA02966@www.runrev.com> Message-ID: Thanks Jim, Your script will be of assistance in the laying out of the stack with many icon buttons. I have been playing round with having a very small dimensioned sub-stack with a picture on each card. I am only needing small pictures at this stage. cheers Greg >Greg, > >One way to set the button icons programmatically is to run the >"setUp" handler below. It presumes that each button which is to >receive an image icon has been given the same name as the image in >the substack. It will run through all the cards in the main stack and >if it finds a button whose name corresponds to an image in the >substack, it will assign the image id to the button. (All images are >located on the one card in the substack. It is relatively quick and >painless. > >On setUp >Lock screen > repeat with i =1 to the number of cards > set the defaultstack to "myStack" > go to card i > repeat with j = 1 to the number of buttons > put the short name of button j into tButtonName > set the defaultstack to "mySubstack" > if there is an image tButtonName then put the id of image >tButtonName into tImageID > set the defaultstack to "images" > set the icon of button j to tImageID > end repeat > end repeat > unlock screen >end setUp > >Jim Hurley > From bornstein at designeq.com Mon Feb 17 09:12:00 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Feb 17 09:12:00 2003 Subject: Frozen card Message-ID: <200302171408.h1HE8ExF020644@ms-smtp-02.nyroc.rr.com> >What happens if you type "lock messages; go cd 5" in the Message Box? Nice suggestion. Unfortunately, it still freezes. This falls into the category, in my mind, of "corrupt stack". I had not been working on the opencard scripts of the card or anything related. It just sort of stopped working. I've been developing under OS 9. I transferred the stack to Windows XP (under 1.1.1) and it also freeses as soon as I attempt to go to this card. Given this "corruption" what I find fascinating, is that the 2.0 development environment has no problem with this (so far). This leads me to believe the stack isn't classically corrupt (actually mangled data structures, etc.) but there's some combination of the stack and the IDE that causes it to freeze. Again, in my mind, this points to a more robust 2.0 development environment. Uh oh--I just tested it under 2.0 on Windows XP and it crashed. However, under 2.0 Mac OS 9, it still works fine. Very strange! Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From richmond at mail.maclaunch.com Mon Feb 17 09:57:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Mon Feb 17 09:57:00 2003 Subject: RAM-A-LAMB-A-DING-DONG; or Mac with Mint Sauce Message-ID: Hey-Ho: no way of restricting the amount of RAM a Mac Classic build demands: tried the old resedit 'thing' - no go. My CD-ROM demands about 200 MB RAM on a Mac; and runs well on 64 MB RAM under WIN98. Any bright ideas gratefully received, Richmond Mathewson --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From kevin at runrev.com Mon Feb 17 10:10:00 2003 From: kevin at runrev.com (Kevin Miller) Date: Mon Feb 17 10:10:00 2003 Subject: Frozen card In-Reply-To: <200302171408.h1HE8ExF020644@ms-smtp-02.nyroc.rr.com> Message-ID: On 17/2/03 2:08 pm, Howard Bornstein wrote: > Given this "corruption" what I find fascinating, is that the 2.0 > development environment has no problem with this (so far). This leads me > to believe the stack isn't classically corrupt (actually mangled data > structures, etc.) but there's some combination of the stack and the IDE > that causes it to freeze. Again, in my mind, this points to a more robust > 2.0 development environment. > > Uh oh--I just tested it under 2.0 on Windows XP and it crashed. However, > under 2.0 Mac OS 9, it still works fine. Very strange! We're working hard to make 2.0 a very stable and robust release. However, if something is wrong with your stack you might be wise to back it up and copy stuff out of it anyway. There could have been a problem unrelated to Revolution, like a tiny error on your disk at some point, or something... Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From jhurley at infostations.com Mon Feb 17 10:37:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Feb 17 10:37:01 2003 Subject: Button images script In-Reply-To: <200302171413.JAA15640@www.runrev.com> References: <200302171413.JAA15640@www.runrev.com> Message-ID: > Greg Wills wrote: > > >Thanks Jim, > >Your script will be of assistance in the laying out of the stack with >many icon buttons. I have been playing round with having a very small >dimensioned sub-stack with a picture on each card. I am only needing >small pictures at this stage. Greg, Here is a utility which I use to deal with buttons in the main stack whose image icons are in a substack. It relieves you of the need of setting to set the icon id and sizing the images and/or the buttons all in one fell swoop. 1) Put all the images on card 1 of the substack (mySubstack below.) Don't worry about size or position, that will be taken care of later. And resizing may distort the proportions. Doesn't matter if they overlap. 2) Next go through the main stack (myStack below) and create buttons with *the same name as the desired image in the substack* and in the desired location on each card. Also adjust the size of the button to the desired size of the eventual image. (Actually only the width matters. The height will be adjusted to avoid distorting the image proportions.) 3) Run setUp below from the main stack. All buttons will be assigned icon numbers of the image corresponding to the button name and the image in the substack is adjusted to fit within the button. And, as a bonus, you get an image border. If you don't want the border just: "set the showBorder of button tButtonName to "false." You can also set the color and width of the border. You may want to tinker with the edge number of ".98" below. 4) You can add images and button later if necessary and rerun "setUP". 5) Thanks to members of this list for help in developing this handler. On setUpRev Lock screen repeat with i =1 to the number of cards set the defaultstack to "myStack go to card i repeat with j = 1 to the number of buttons put the short name of button j into tButtonName put the width of button j into theButtonWidth set the defaultstack to "mySubstack if there is an image tButtonName then put the id of image tButtonName into tImageID put the formattedWidth of image tButtonName into tImageWidth Put the formattedHeight of image tButtonName into tImageHeight put tImageHeight/tImageWidth into ratioOfHeightToWidth set the width of image tButtonName to theButtonWidth*.98 -- Leave an edge set the height of image tButtonName to theButtonWidth*ratioOfHeightToWidth*.98 end if set the defaultstack to "myStack" set the icon of button j to tImageID set the height of button tButtonName to theButtonWidth*ratioOfHeightToWidth end repeat end repeat unlock screen end setUpRev Jim From jhurley at infostations.com Mon Feb 17 10:43:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Feb 17 10:43:00 2003 Subject: Button images script Message-ID: Greg, P.S. I was wrong to say you should avoid resizing the images in the subStack for fear of altering the proportions. It is only the formatted size that is needed and that is unaffected by resizing. So size them any way that is convenient in the substack. Jim From tedl at voyager.net Mon Feb 17 11:42:01 2003 From: tedl at voyager.net (Ted) Date: Mon Feb 17 11:42:01 2003 Subject: Frozen card Message-ID: <03b101c2d6a3$60c17660$ccce59cf@egl> Howard, since you are able to access the freezing card with pre-version 2.0 on at least one platform, try this: Create a new card--from the toolbar--and copy all scripts and objects from the freezing card to the new card. See whether the new card works on both platforms. Ted Howard Bornstein wrote in part: >> My current project just wigged out under Rev 1.1.1. Suddenly, one card (not one I'd been working on) causes a freeze whenever I try to go to it. It doesn't matter if it's via the normal button to get there or simply typing "Go to card 5" in the msg box. Instant freezo. << >> Given this "corruption" what I find fascinating, is that the 2.0 development environment has no problem with this (so far). << >> Uh oh--I just tested it under 2.0 on Windows XP and it crashed. However, under 2.0 Mac OS 9, it still works fine. << From bornstein at designeq.com Mon Feb 17 12:27:01 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Feb 17 12:27:01 2003 Subject: Frozen card Message-ID: <200302171722.h1HHMbb1017383@ms-smtp-01.nyroc.rr.com> >We're working hard to make 2.0 a very stable and robust release. However, >if something is wrong with your stack you might be wise to back it up and >copy stuff out of it anyway. >Howard, since you are able to access the freezing card with pre-version >2.0 on >at least one platform, try this: > >Create a new card--from the toolbar--and copy all scripts and objects from >the >freezing card to the new card. See whether the new card works on both >platforms. I opened the stack in Rev 2.0, where it works, did a save as to a new file name, and the new stack now works fine in Rev 1.1.1. WAY TO GO REV 2.0!!!!! Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From pixelbird at interisland.net Mon Feb 17 15:27:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Mon Feb 17 15:27:01 2003 Subject: Referenced icon images In-Reply-To: <200302171701.MAA19998@www.runrev.com> Message-ID: Hi list, I've been following the image threads, but some of it evades me. Please bear with a newbie on this stuff. I have a button (there may be at up to 14 more of these) which does icon hiliting using referenced images. Pretty normal so far. When I first brought in the referenced images from a folder, they show up in the middle. When the button calls them as icons by their ID's (show icon: selections), they show and hilite properly, but the images remain onthe screen. I guess this means icons must be copies of the images, not the images themselves. I just hid the images to get them off the screen, and the button icons still work OK, but that doesn't feel like the right thing to do. My question is: What should I do with the referenced images? If I clear them, are the button icons supposed to remain? What's actually happening? TIA, Ken N. From pixelbird at interisland.net Mon Feb 17 15:42:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Mon Feb 17 15:42:01 2003 Subject: Retaining/restoring text cursor In-Reply-To: <200302171701.MAA19998@www.runrev.com> Message-ID: Back again, In Rev as in HyperCard, clicking operations outside a field can cause the blinking cursor to quit. In my stack, I use the "type" command to simulate keyboard typing into a field. In HC we can use various handler devices surrounding the selectedChunk feature to restore the blinking cursor to its previous position, but it is either complicated because you must deal with it in every handler that types things into the field where we expect them to go, or put it in an idle handler. I know there ar a number of things in Rev that support better solutions than idle handlers. I've searched the docs and don't see anything, but I'm wondering if this problem has been dealt with as a feature of Rev. IOW, is there a better way to handle cursor restoration in a field? TIA, Ken N. From k_major at os.surf2000.de Mon Feb 17 15:59:01 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Mon Feb 17 15:59:01 2003 Subject: Referenced icon images In-Reply-To: Message-ID: <3B557614-42BA-11D7-BA82-000A27B49A96@os.surf2000.de> Hi Ken, > Hi list, > > I've been following the image threads, but some of it evades me. > Please bear with a newbie on this stuff. > I have a button (there may be at up to 14 more of these) which does > icon > hiliting using referenced images. Pretty normal so far. > > When I first brought in the referenced images from a folder, they show > up in > the middle. When the button calls them as icons by their ID's (show > icon: > selections), they show and hilite properly, but the images remain onthe > screen. I guess this means icons must be copies of the images, not the > images themselves. Icons ARE the images! It is just that they are displayed inside of buttons in addition to their original image-objects. > I just hid the images to get them off the screen, and the button icons > still > work OK, but that doesn't feel like the right thing to do. Don't panic, no need for scruples ;-) It is totally OK to hide these images or even move them off-screen. No eternal damnation or stuff ;-) > My question is: What should I do with the referenced images? Just like you did... > If I clear them, are the button icons supposed to remain? No original image = no icon of that image in a button > TIA, > Ken N. Hope that helps. Regards Klaus Major k_major at os.surf2000.de P.S. Big fun!!! The company i am currently working for got its bankrupt's certificate on friday :-( So if you might need a good scripter to help you out or someone who can teach this RR stuff drop a line. But please remember, Richmond was first ;-) From ambassador at fourthworld.com Mon Feb 17 16:08:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Feb 17 16:08:01 2003 Subject: Referenced icon images In-Reply-To: Message-ID: Ken Norris (dialup) wrote: > What should I do with the referenced images? > If I clear them, are the button icons supposed to remain? Button icons use image IDs. The contents of an image can be either imported in advance or on-the-fly by reference. If you delete the images, the icon IDs the buttons use will refer to objects that no longer exist, and the buttons will not be able to display their icons. Hiding the images works well enough. If you have a lot of these and want to keep them tidy you may consider adding a substack and put all your image resources there. For most of my apps I import commonly-used images into a window named rsrc (e.g., "WebMergeRSRC"). -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From carstenlist at itinfo.dk Mon Feb 17 17:07:00 2003 From: carstenlist at itinfo.dk (Carsten Levin) Date: Mon Feb 17 17:07:00 2003 Subject: page setup - A4 In-Reply-To: <200302171702.MAA20089@www.runrev.com> Message-ID: Revolution 1.1.1 OS: Mac OS X 10.2.4 Revolution assumes that the page format is "Letter". And going into the Page Setup menu and choosing A4 makes printing work as it should. But after quit and restart of Revolution the format is set back to the default "Letter" and the bottom of the page isnt printed. How do you make Revolution "remember" to print to A4 ... or how do you make your script set up the printer for A4. The solution must work on Windows as well, and I therefore hope that there is a X-platform solution. Best regards Carsten From ambassador at fourthworld.com Mon Feb 17 17:43:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Feb 17 17:43:01 2003 Subject: page setup - A4 In-Reply-To: Message-ID: Carsten Levin wrote: > Revolution assumes that the page format is "Letter". And going into the > Page Setup menu and choosing A4 makes printing work as it should. > But after quit and restart of Revolution the format is set back to the > default "Letter" and the bottom of the page isnt printed. > How do you make Revolution "remember" to print to A4 ... or how do you > make your script set up the printer for A4. Query the printPaperSize global property. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From pixelbird at interisland.net Tue Feb 18 02:09:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Tue Feb 18 02:09:01 2003 Subject: Using referenced images for icons In-Reply-To: <200302101701.MAA11122@www.runrev.com> Message-ID: How can I use referenced images for both normal and hilited button icons. Or maybe that's not the right approach. Using the large DOWN full screen image grouped so I can "window through" the UP image on mouseDown works but there are some problems: 1) If I drag out of the button and release, the "window" stays open and the DOWN image (hScroll/vScroll) persists because the mouseUp handler is in the button. This doesn't follow standard HIGs for button actions. I need it to behave a bit more like a hilite, i.e., unhilite when released, except with no button action, but I haven't succeeded. Unlike a real keyboard, however, the typing action takes place on release like normal screen buttons (otherwise it is severely prone to user tremors). 2) Some buttons (caps lock, option, command) need the image to stick until clicked off, but it automatically reverts when I press (moueDown) another button, because another portion of the DOWN image gets called and placed via scroll commands, i.e. it's really all one image and we apparently can't break it up in pieces (what I really want to do) by the current methods. I'm beginning to think I'll have similar problems as HC, i.e., I'll have to 152 separate icons. That won't be much fun at all. How about this: Can I create a handler that does snapshots of portions of the big image via button rects, then change them into .jpg files? If I have to make separate images for icons, at least that would automate the process. TIA, Ken N. From kspieldenner at lifetouch.com Tue Feb 18 10:06:01 2003 From: kspieldenner at lifetouch.com (KEITH SPIELDENNER) Date: Tue Feb 18 10:06:01 2003 Subject: Create Alias on Windows Message-ID: I've successfully used the "create alias" command on the mac to point back to an original executable file. However, using the same syntax in Windows (XP) creates a "shortcut" that brings up a DOS command prompt along with an error. Is there a way to get this command to actually create a shortcut to a file in Windows? -------------- next part -------------- An HTML attachment was scrubbed... URL: From klausimausi at mac.com Tue Feb 18 10:26:01 2003 From: klausimausi at mac.com (Klaus Major) Date: Tue Feb 18 10:26:01 2003 Subject: Create Alias on Windows In-Reply-To: Message-ID: <9AF797CC-4354-11D7-B43F-003065D52E8E@mac.com> Hi Keith, > I've successfully used the "create alias" command on the mac to point > back to an original executable file. However, using the same syntax in > Windows (XP) creates a "shortcut" that brings up a DOS command prompt > along with an error. Is there a way to get this command to actually > create a shortcut to a file in Windows? my first thought: Did you create an alias with the correct suffix "*.lnk" (LNK for link)? (We are talking about "smart" windows here... ;-) Regards Klaus Major klausimausi at mac.com From pixelbird at interisland.net Tue Feb 18 12:21:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Tue Feb 18 12:21:01 2003 Subject: Installing images for use in standalones In-Reply-To: <200302101701.MAA11122@www.runrev.com> Message-ID: Hello list, What's the best way to install new .jpg images in a standalone? Note: If you have a script, great, but I'm just looking for ideas. TIA, Ken N. From alrice at ARCplanning.com Tue Feb 18 14:01:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Feb 18 14:01:01 2003 Subject: Why... is the selected text deselected? Message-ID: In the docs troubleshooting item "Why... is the selected text deselected?", I was looking for an explanation of why a field's selection is deselected just by moving from one card to the next. How can I prevent this from happening? It makes my print screens routine more complicated because the user's selections are missing, unless I message each of my cards to do my updateUI handler. I've verified this with a stack containing only 2 cards and 2 list fields. I tried setting autoHilite of the field to false, and putting this handler, but then I can't select text at all. on mouseDown set the hilitedLines of me \ to (word 2 of the clickLine) end mouseDown Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From carstenlist at itinfo.dk Tue Feb 18 14:15:04 2003 From: carstenlist at itinfo.dk (Carsten Levin) Date: Tue Feb 18 14:15:04 2003 Subject: page setup - A4 In-Reply-To: <200302181706.MAA03795@www.runrev.com> Message-ID: > Date: Mon, 17 Feb 2003 14:38:55 -0800 > Subject: Re: page setup - A4 > From: Richard Gaskin > To: > Reply-To: use-revolution at lists.runrev.com > > Carsten Levin wrote: > >> Revolution assumes that the page format is "Letter". And going into >> the >> Page Setup menu and choosing A4 makes printing work as it should. >> But after quit and restart of Revolution the format is set back to the >> default "Letter" and the bottom of the page isnt printed. >> How do you make Revolution "remember" to print to A4 ... or how do you >> make your script set up the printer for A4. > And Richard Gaskin ambassador at fourthworld.com answered: > Query the printPaperSize global property. Thanks, but my problem is that when I use the "Page Setup" menu to choose A4 everything prints perfect and the settings are 595,841 ... untill I quit Revolution. Next time Revolution is restarted the settings are set back to 612,792. Therefore I would very much like to know how we can script the PageSetup to stick to A4. Best regards Carsten Levin From dsc at swcp.com Tue Feb 18 14:20:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Feb 18 14:20:01 2003 Subject: POP3 or IMAP In-Reply-To: <000001c2d5f0$86a19940$15596718@fusion> Message-ID: <7583C0F0-4375-11D7-A003-000A9567A3E6@swcp.com> On Sunday, February 16, 2003, at 12:20 PM, Mike Doub wrote: > Has anyone developed any code to get mail via POP3? I seem to be > having > problems reopening a socket. Here are some comments that address this as a generic client-to-server TCP problem. Often servers will allow multiple connections, but I would not be surprised if a server declined multiple connections from the same client computer or declined immediate reconnection or declined a connection based on a security trigger. So, as Sarah said, make sure you close your connection. Not closing a connection can cause confusion in callbacks; you might be responding to the wrong connection. Handle callbacks (except maybe timeout, depending on your style). It is easy to add a connectionID to the socketID, so you may want to do this even if you are not (intentionally) making multiple connections. You can use this as a double check in callbacks and as extra debug information. (One way is to use a script local variable for all socketID references and to tag on a serial number when you set the variable.) I'm referring to the entire "10.20.0.1:123|POP300001" as the socket ID and "POP300001" as the connection ID in that example; I hope I'm not misusing Revolution nomenclature. In debug logs I report the result as well as the sysError. Those familiar with your platform might help you with the sysError values. I also log the long time or milliseconds since the open (attempt). This time can give a clue. For example, a nine-second delay in the open error callback on Windows normally means the connection was refused. Log the socket closed and socket error callbacks. If you close a connection and immediately open a connection, there might be some confusion on OS X; use a connectionID to sort out callbacks. There are some platform differences. A minor one is the delay should the target computer not exist or be unreachable. This is about 21 seconds on my XP, but 75 seconds on my OS X. One difference more likely to cause confusion is related to callbacks. For example, for Revolution 2.0, this was reported for an Alpha version: > OS X and XP still have different callback behavior for TCP in some > cases... > OS X XP > Open Refused socketClosed socketError > Open Timeout socketClosed socketError > Local Close socketClosed none I believe the situation is similar with Revolution 1.1.1. I don't believe this will change soon; scriptors should adapt. Note that socketClosed is called instead of socketError on OS X. Also, note that you can get a callback on a socket after you close it. If you _want_ to have multiple connections, let us know. I realize this is a general shotgun response. The point of error and the error information can help us be more specific in responding. Dar Scott From pixelbird at interisland.net Tue Feb 18 14:33:00 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Tue Feb 18 14:33:00 2003 Subject: Using referenced images for icons In-Reply-To: <200302181701.MAA03604@www.runrev.com> Message-ID: ********** > Date: Mon, 17 Feb 2003 23:26:45 -0800 > Subject: Using referenced images for icons > From: "Ken Norris (dialup)" > 1) If I drag out of the button and release, the "window" stays open and the > DOWN image (hScroll/vScroll) persists because the mouseUp handler is in the > button. This doesn't follow standard HIGs for button actions. I need it to > behave a bit more like a hilite, i.e., unhilite when released, except with > no button action, but I haven't succeeded. Unlike a real keyboard, however, > the typing action takes place on release like normal screen buttons > (otherwise it is severely prone to user tremors). ---------- I fixed this with a mouseLeave (duhh :-/). Works properly now. Ken N. From jacque at hyperactivesw.com Tue Feb 18 14:48:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Feb 18 14:48:01 2003 Subject: Using referenced images for icons In-Reply-To: References: Message-ID: <3E528CFB.5060106@hyperactivesw.com> On 2/18/03 1:33 PM, Ken Norris (dialup) wrote: >>1) If I drag out of the button and release, the "window" stays open and the >>DOWN image (hScroll/vScroll) persists because the mouseUp handler is in the >>button. > > ---------- > I fixed this with a mouseLeave (duhh :-/). Works properly now. Better might be a "mouseRelease" handler. Mouseleave sometimes doesn't trigger if the mouse is moving quickly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pixelbird at interisland.net Tue Feb 18 15:05:00 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Tue Feb 18 15:05:00 2003 Subject: Clueless loss In-Reply-To: <200302101701.MAA11122@www.runrev.com> Message-ID: I have a stack called RevExp1.rev. It had some card graphics and an image that was grouped and a few buttons. I have opened this stack from the Rev UI a dozen times (or more) with no problem. Suddenly today, I opened the stack and the graphic was gone, the image is gone (so the group can't show it), and I cannot access the stack properties dialog anymore (always grayed out/disabled in the menu). The Application Overview shows the groups and the image files exist (although they had been imported to the stack). I have no clue what's going on. Can some one help? Ken N. From janschenkel at yahoo.com Tue Feb 18 15:12:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 18 15:12:00 2003 Subject: Clueless loss In-Reply-To: Message-ID: <20030218200819.62889.qmail@web11901.mail.yahoo.com> --- "Ken Norris (dialup)" wrote: > I have a stack called RevExp1.rev. > > It had some card graphics and an image that was > grouped and a few buttons. > > I have opened this stack from the Rev UI a dozen > times (or more) with no > problem. > > Suddenly today, I opened the stack and the graphic > was gone, the image is > gone (so the group can't show it), and I cannot > access the stack properties > dialog anymore (always grayed out/disabled in the > menu). > > The Application Overview shows the groups and the > image files exist > (although they had been imported to the stack). > > I have no clue what's going on. Can some one help? > > Ken N. > Hi Ken, You could try renaming the stack and get rid of the 'rev' at the front : it's a prefix used internally by RunRev to determine whether things are shown / editable / ... Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From janschenkel at yahoo.com Tue Feb 18 15:53:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 18 15:53:01 2003 Subject: Why... is the selected text deselected? In-Reply-To: Message-ID: <20030218204914.97516.qmail@web11908.mail.yahoo.com> --- Alex Rice wrote: > In the docs troubleshooting item "Why... is the > selected text > deselected?", I was looking for an explanation of > why a field's > selection is deselected just by moving from one card > to the next. How > can I prevent this from happening? It makes my print > screens routine > more complicated because the user's selections are > missing, unless I > message each of my cards to do my updateUI handler. > > I've verified this with a stack containing only 2 > cards and 2 list > fields. > > I tried setting autoHilite of the field to false, > and putting this > handler, but then I can't select text at all. > > on mouseDown > set the hilitedLines of me \ > to (word 2 of the clickLine) > end mouseDown > > Alex Rice Hi Alex, Why don't you try something like this in your field script: local sHilitedLines on selectionChanged put the hilitedLines of me into sHilitedLines pass selectionChanged end selectionChanged on revertSelection set the hilitedLines of me to sHilitedLines end revertSelection This way you can send a "revertSelection" to the field when you return from your other stack. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From cm_sheffield at yahoo.com Tue Feb 18 16:13:01 2003 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Feb 18 16:13:01 2003 Subject: mp3 files and the player object Message-ID: <20030218205412.49514.qmail@web20418.mail.yahoo.com> I want to use the player object to play several mp3 files in a row. I am successful at changing the FileName property and playing my files, but the trick is that I need to wait until each sound is finished playing before playing the next one. Is there any way to do this? Such as a 'wait until player "myPlayer" is done' type of command? Please help. Thanks, Chris Sheffield Read Naturally __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From janschenkel at yahoo.com Tue Feb 18 16:21:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 18 16:21:01 2003 Subject: mp3 files and the player object In-Reply-To: <20030218205412.49514.qmail@web20418.mail.yahoo.com> Message-ID: <20030218211655.6565.qmail@web11903.mail.yahoo.com> --- Chris Sheffield wrote: > I want to use the player object to play several mp3 > files in a row. I am successful at changing the > FileName property and playing my files, but the > trick > is that I need to wait until each sound is finished > playing before playing the next one. Is there any > way > to do this? Such as a 'wait until player "myPlayer" > is done' type of command? Please help. > > Thanks, > > Chris Sheffield Hi Chris, Have a look at the entry for the 'playStopped' message in the Transcript Dictionary. Hope this helped, Jan Schenkel. PS: here's a very handy link to search the archives http://www.google.com/advanced_search?q=site:lists.runrev.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From heather at runrev.com Tue Feb 18 16:24:01 2003 From: heather at runrev.com (Heather Williams) Date: Tue Feb 18 16:24:01 2003 Subject: Esellerate Message-ID: Hi all, Just a quick note to say, I've been communicating with eSellerate on the subject of making their program hook in smoothly with Revolution. What it boils down to is they'll be interested in doing it if enough people ask for it. So, if any of you are keen on using eSellerate as a payment processing system for your shareware, be sure to let them know: support at esellerate.net Cheers Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution: the solution From alrice at ARCplanning.com Tue Feb 18 16:27:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Feb 18 16:27:00 2003 Subject: Why... is the selected text deselected? In-Reply-To: <20030218204914.97516.qmail@web11908.mail.yahoo.com> Message-ID: <326CA14A-4387-11D7-BEE4-000393529642@ARCplanning.com> On Tuesday, February 18, 2003, at 01:49 PM, Jan Schenkel wrote: > > This way you can send a "revertSelection" to the field > when you return from your other stack. Thanks, I already have an updateUI message which I could use for this purpose. However, I am still unclear on WHY the hilite gets removed when the user goes to the next card. How can I prevent that from happening? Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From janschenkel at yahoo.com Tue Feb 18 16:32:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 18 16:32:01 2003 Subject: Why... is the selected text deselected? In-Reply-To: <326CA14A-4387-11D7-BEE4-000393529642@ARCplanning.com> Message-ID: <20030218212841.73929.qmail@web11901.mail.yahoo.com> --- Alex Rice wrote: > > On Tuesday, February 18, 2003, at 01:49 PM, Jan > Schenkel wrote: > > > > This way you can send a "revertSelection" to the > field > > when you return from your other stack. > > Thanks, I already have an updateUI message which I > could use for this > purpose. However, I am still unclear on WHY the > hilite gets removed > when the user goes to the next card. How can I > prevent that from > happening? > Hi Alex, No guarantee that this will work, but what happens if you set its 'sharedText' property to true ? Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From monte at sweattechnologies.com Tue Feb 18 16:33:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Feb 18 16:33:01 2003 Subject: mp3 files and the player object In-Reply-To: <20030218205412.49514.qmail@web20418.mail.yahoo.com> Message-ID: Try: on playStopped -- play the next one end playStopped Monte > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Chris > Sheffield > Sent: Wednesday, 19 February 2003 7:24 AM > To: use-revolution at lists.runrev.com > Subject: mp3 files and the player object > > > I want to use the player object to play several mp3 > files in a row. I am successful at changing the > FileName property and playing my files, but the trick > is that I need to wait until each sound is finished > playing before playing the next one. Is there any way > to do this? Such as a 'wait until player "myPlayer" > is done' type of command? Please help. > > Thanks, > > Chris Sheffield > Read Naturally > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Shopping - Send Flowers for Valentine's Day > http://shopping.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Tue Feb 18 16:36:00 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Feb 18 16:36:00 2003 Subject: Clueless loss In-Reply-To: Message-ID: Ken, If it's the same thing, I got bit in the butt as well. Did you perchance NOT import the picture via FILE --> IMPORT AS CONTROL --> IMAGE ? It's the ooooonly way to do it if you are like me and sometimes thoughtlessly reorg your harddrive and the pathing no longer works. HTH, Judy On Tue, 18 Feb 2003, Ken Norris (dialup) wrote: > I have a stack called RevExp1.rev. > > It had some card graphics and an image that was grouped and a few buttons. > > I have opened this stack from the Rev UI a dozen times (or more) with no > problem. > > Suddenly today, I opened the stack and the graphic was gone, the image is > gone (so the group can't show it), and I cannot access the stack properties > dialog anymore (always grayed out/disabled in the menu). From alrice at ARCplanning.com Tue Feb 18 16:41:03 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Feb 18 16:41:03 2003 Subject: Esellerate In-Reply-To: Message-ID: <00EE17B9-4389-11D7-BEE4-000393529642@ARCplanning.com> On Tuesday, February 18, 2003, at 02:19 PM, Heather Williams wrote: > Hi all, > > Just a quick note to say, I've been communicating with eSellerate on > the > subject of making their program hook in smoothly with Revolution. What > it > boils down to is they'll be interested in doing it if enough people > ask for > it. So, if any of you are keen on using eSellerate as a payment > processing > system for your shareware, be sure to let them know: > > support at esellerate.net Done! Just want to echo a recent thread- eSellerate is a *really great service* for software developers. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From janschenkel at yahoo.com Tue Feb 18 16:43:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 18 16:43:00 2003 Subject: Why... is the selected text deselected? In-Reply-To: <20030218212841.73929.qmail@web11901.mail.yahoo.com> Message-ID: <20030218213908.95694.qmail@web11906.mail.yahoo.com> --- Jan Schenkel wrote: > --- Alex Rice wrote: > > > > On Tuesday, February 18, 2003, at 01:49 PM, Jan > > Schenkel wrote: > > > > > > This way you can send a "revertSelection" to the > > field > > > when you return from your other stack. > > > > Thanks, I already have an updateUI message which I > > could use for this > > purpose. However, I am still unclear on WHY the > > hilite gets removed > > when the user goes to the next card. How can I > > prevent that from > > happening? > > > > Hi Alex, > > No guarantee that this will work, but what happens > if > you set its 'sharedText' property to true ? > Never mind, I checked it myself, and it would only help if the field was grouped with bg behaviour and the group was on both cards. Going to a card without that bg group and back, meant losing the selection. Maybe someone else has a better idea that actually works? Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From alrice at ARCplanning.com Tue Feb 18 17:03:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Feb 18 17:03:01 2003 Subject: Why... is the selected text deselected? In-Reply-To: <20030218212841.73929.qmail@web11901.mail.yahoo.com> Message-ID: <3B140170-438C-11D7-BEE4-000393529642@ARCplanning.com> On Tuesday, February 18, 2003, at 02:28 PM, Jan Schenkel wrote: > > Hi Alex, > > No guarantee that this will work, but what happens if > you set its 'sharedText' property to true ? It has no effect. It wasn't a grouped field, but I also tried grouping it and setting sharedText. Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From pixelbird at interisland.net Tue Feb 18 17:46:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Tue Feb 18 17:46:01 2003 Subject: Using referenced images for icons In-Reply-To: <200302182138.QAA12605@www.runrev.com> Message-ID: ********** > Date: Tue, 18 Feb 2003 13:43:55 -0600 > From: "J. Landman Gay" > Subject: Re: Using referenced images for icons > On 2/18/03 1:33 PM, Ken Norris (dialup) wrote: >> I fixed this with a mouseLeave (duhh :-/). Works properly now. > > Better might be a "mouseRelease" handler. Mouseleave sometimes doesn't > trigger if the mouse is moving quickly. ---------- Agreed. I still have to learn about little things like that. It's hard know what to use if you don't yet know it exists. Thanks, Ken N. From curry at kagi.com Tue Feb 18 17:46:21 2003 From: curry at kagi.com (Curry) Date: Tue Feb 18 17:46:21 2003 Subject: Esellerate In-Reply-To: <200302182138.QAA12623@www.runrev.com> References: <200302182138.QAA12623@www.runrev.com> Message-ID: >Just a quick note to say, I've been communicating with eSellerate on the >subject of making their program hook in smoothly with Revolution. What it >boils down to is they'll be interested in doing it if enough people ask for >it. So, if any of you are keen on using eSellerate as a payment processing >system for your shareware, be sure to let them know: I'm very glad that RunRev is pursuing this and I just wrote to them about this. Thanks. If any people here are interested in shareware processing but haven't tried eSellerate, you can sign up and test the features immediately with the trial account feature. There are no startup charges when you join, just like Kagi. (And of course it would great to have Kagi supported with RunRev too.) If you want to try it out, the web page is: http://www.esellerate.net/ And if you think you may want to use eSellerate, please write to ask for RunRev support, because many of the advanced eSellerate features that offer extra power and convenience (like automatic reg codes that you don't have to design, in-app purchasing, software use tracking, affiliates) require tying in to the product using an SDK or module. (RealBasic has an eSellerate module.) Curry From pixelbird at interisland.net Tue Feb 18 17:57:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Tue Feb 18 17:57:01 2003 Subject: Clueless loss In-Reply-To: <200302182138.QAA12605@www.runrev.com> Message-ID: ********** > Date: Tue, 18 Feb 2003 13:32:33 -0800 (PST) > From: Judy Perry > Subject: Re: Clueless loss > > Ken, > > If it's the same thing, I got bit in the butt as well. Did you perchance > NOT import the picture via FILE --> IMPORT AS CONTROL --> IMAGE ? It's > the ooooonly way to do it if you are like me and sometimes thoughtlessly > reorg your harddrive and the pathing no longer works. ---------- Something to think about, but I AFAIK, I imported it, which places the image in the stack. Besides, path errors wouldn't account for the graphic drawings which were drawn on the card, which also went missing. I'm going to see if renaming the stack helps. Jan says RR uses a "Rev" prefix internally for drawing to the screen, and I had prefixed the stack name with the same thing. I suppose it could have caused it to mistake what it's supposed to show. I'll post my results. Ken N. From pixelbird at interisland.net Tue Feb 18 18:26:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Tue Feb 18 18:26:01 2003 Subject: Why... is the selected text deselected? In-Reply-To: <200302182138.QAA12605@www.runrev.com> Message-ID: > Date: Tue, 18 Feb 2003 11:57:10 -0700 > Subject: Why... is the selected text deselected? > From: Alex Rice > > In the docs troubleshooting item "Why... is the selected text > deselected?", I was looking for an explanation of why a field's > selection is deselected just by moving from one card to the next. How > can I prevent this from happening? ----------snip I know in HC, how that works is with a backgound field. The selected text remains selected no matter what card you are on. Even if you make new cards or delete cards, it's still selected. I don't know how to implement that in RR, but perhaps it provides a clue. Ken N. From alrice at ARCplanning.com Tue Feb 18 18:45:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Feb 18 18:45:01 2003 Subject: Arabic, CE and ME versions... In-Reply-To: Message-ID: <7A75A6B3-439A-11D7-BEE4-000393529642@ARCplanning.com> On Thursday, January 9, 2003, at 02:46 AM, tkuypers at pandora.be wrote: > ... > - How does RR interact with foreign Windows systems, like Arabic > (reading and typing from right to left) and has anyone tested > something like this in RR? > - Since RR doesn't support VB-commands (the reason for choosing > not doing this, would be very welcome...) we need a way to > send commands and data to a stack from FileMaker. > I guess the only way to do this is using the DDE-external? I > don't seem to get this working from FileMaker, any help is > welcome... > (Going from FMP to RR would be done through DDE, from RR to > FileMaker would be done through VB and the shell command.) > ... > Typing this, I really, really wonder why there is no support for Visual > Basic and VBA, because the majority of programs have API's for this > language > on the windows platform. I use Applescripting on the mac, but have to > twist > myself into very strange curves to do simular things on Windows... > > Any help and/or advice is welcome :-) How about more questions... :-) my employer uses Excel for most everything. So naturally I'm looking at ways to communicate between Rev and Excel. Correct me if I'm wrong, it looks like there is no cross-platform solution. On Mac OS the preferred way would be to use the Applescript API for Excel, and on Windows the preferred way would be to use the DDE external? Now, the Applescript API for Excel looks like it's more or less the same classes and events as the VBA interface... what about the DDE interface? Do DDE "commands" and "topics" have anything in common with the VBA and Applescript APIs? BTW, one of RunRev's competitors wrote a VBA-like MS Office automation plugin and it was horrendously unstable- on Mac. So, in a way, I think it would be better to use the most-solid method on Mac and Windows, even if they are different methods of access. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From gary.rathbone at btclick.com Wed Feb 19 03:29:03 2003 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Wed Feb 19 03:29:03 2003 Subject: Communication with Excel (was RE: Arabic, CE and ME versions...) In-Reply-To: <7A75A6B3-439A-11D7-BEE4-000393529642@ARCplanning.com> Message-ID: <000901c2d7f0$4137e420$0e00000a@server> > How about more questions... :-) my employer uses Excel for most > everything. So naturally I'm looking at ways to communicate > between Rev and Excel. Depends to what level of communication. Take a look at http://www.garyrathbone.net/repgen/ I can email the stack off list if you're interested. Regards Gary Rathbone From revolution at pertiet.de Wed Feb 19 03:37:00 2003 From: revolution at pertiet.de (Henning Pertiet) Date: Wed Feb 19 03:37:00 2003 Subject: how to contact a php-script Message-ID: <1742178879.20030219093317@pertiet.de> Hi, how can I contact a php-script from within revolution? (Just like it is possible from for example Director) I need to contact a script and get back some information. Regards Henning Pertiet mailto:revolution at pertiet.de From ambassador at fourthworld.com Wed Feb 19 04:30:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Feb 19 04:30:01 2003 Subject: how to contact a php-script In-Reply-To: <1742178879.20030219093317@pertiet.de> Message-ID: Henning Pertiet wrote: > how can I contact a php-script from within revolution? > (Just like it is possible from for example Director) > > I need to contact a script and get back some information. Do you mean calling a cgi?: put url "http://www.google.com/search?q=Fourth+World" into tMyVar -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From revolution at pertiet.de Wed Feb 19 04:41:01 2003 From: revolution at pertiet.de (Henning Pertiet) Date: Wed Feb 19 04:41:01 2003 Subject: how to contact a php-script In-Reply-To: References: Message-ID: <1056028870.20030219103727@pertiet.de> am Mittwoch, 19. Februar 2003 um 10:26 schrieben Sie: >> how can I contact a php-script from within revolution? >> (Just like it is possible from for example Director) >> >> I need to contact a script and get back some information. > Do you mean calling a cgi?: > put url "http://www.google.com/search?q=Fourth+World" into tMyVar I think that should be the same - I'll try that. Thank you! Henning -- Henning Pertiet mailto:revolution at pertiet.de From traduscava at hotmail.com Wed Feb 19 04:56:01 2003 From: traduscava at hotmail.com (Traduscava -) Date: Wed Feb 19 04:56:01 2003 Subject: full screen, switch cursor, player-object Ques Message-ID: Hi, I'm sorry if these questions have been anwered before, but I've searched the archives w/ Google and did not find what I'm looking for. 1. How can Rev run full screen in Windows and hide the taskbar, and the top of the window, w/ only a drop down menu at the top that would appear on MouseOver? 2. I know how to have the cursor switch on a MouseOver, but how can we use our own images for a cursor switch? I want to make my own hand cursor that points left and right and up, ala Myst & Riven. 3. I'm trying to figure out sounds in Rev, and from what I've read I am confused on the difference between "player-objects" and just "play audioclips." Is a player-object created w/ the tool in the bottom right of the tool menu? Thanks, Scott Waddell _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From wmb at internettrainer.com Wed Feb 19 05:58:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Wed Feb 19 05:58:01 2003 Subject: Esellerate In-Reply-To: Message-ID: <7752CF34-43F8-11D7-A8F2-003065430226@internettrainer.com> On Dienstag, Februar 18, 2003, at 11:39 Uhr, Curry wrote: > If any people here are interested in shareware processing but haven't > tried eSellerate, you can sign up and test the features immediately > with the trial account feature. There are no startup charges when you > join, just like Kagi. (And of course it would great to have Kagi > supported with RunRev too.) If you want to try it out, the web page > is: I would like tho see shareit to. Because they support a lot of currencies and languages. What I have not seen from any other shareware distributor. What they have to do for "suporting rev"? Maybe I m ignorant, but I would like to put my password stack "anywhere" (on their or my server so that the client gets the password imediatly when he purchases and I a get the message about the order. Has anybody here such a stack? Or knows where I can find one...? Or do I need another solution for that. How sure can I bee, that I there are not builded any password without a message to me when its on their (any shareware distributor) server..? Thanks in advance for infos... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From wmb at internettrainer.com Wed Feb 19 06:08:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Wed Feb 19 06:08:00 2003 Subject: Clueless loss In-Reply-To: Message-ID: On Dienstag, Februar 18, 2003, at 11:57 Uhr, Ken Norris (dialup) wrote: > Something to think about, but I AFAIK, I imported it, which places the > image > in the stack. Besides, path errors wouldn't account for the graphic > drawings > which were drawn on the card, which also went missing. > > I'm going to see if renaming the stack helps. Jan says RR uses a "Rev" > prefix internally for drawing to the screen, and I had prefixed the > stack > name with the same thing. I suppose it could have caused it to mistake > what > it's supposed to show. Sometimes you dont think at the most closest thing.. (Dont know if you say it like that in english...) I work a lot with importing images as controls. The simplest way to "loose" them is: When you have a lot of (bigger) images on a card and forget after importing to sort them (the layers) in the "correct" order... So one image can be hidden behind another one or a group very easyly... hope that helps regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From k_major at os.surf2000.de Wed Feb 19 07:10:01 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Wed Feb 19 07:10:01 2003 Subject: mp3 files and the player object In-Reply-To: <20030218205412.49514.qmail@web20418.mail.yahoo.com> Message-ID: Hi Chris, > I want to use the player object to play several mp3 > files in a row. I am successful at changing the > FileName property and playing my files, but the trick > is that I need to wait until each sound is finished > playing before playing the next one. Is there any way > to do this? Such as a 'wait until player "myPlayer" > is done' type of command? Please help. > > Thanks, > > Chris Sheffield > Read Naturally here is another smart ;-) approach to your problem. I will use the "send xxx in yyy" command. My example requires a field "mp3list", where the filenames of the mp3 files are stored. Could of course be a variable or custom-property, too. ############### global songmessage ## the name does not matter, call it walter if you like :-) ## here we will store the id of the message that we will send ## when the current mp3 is finished. So we can cancel that ## message from being delivered when we close this card of stack. ## See "pendingmessages" in the docs... on mouseup ## can of course be "on opencard" or whenever you want to start the songs... set the filename of player "xyz" to line 1 of fld "mp3list" start player "xyz" send "nextsong" to me in (the duration of player "xyz"/the timescale of player "xyz") secs ## This means that this message will be send exactly when the current song has finished... ## Every sound- or video-file can (and will ;-) have a duration. Surprise, surprise... ;-) ## Unfortunately this duration is measured in the files own timescale... ## Means how much timeunits per second that file will be measured in.. ## But both properties can be queried :-) put the result into songmessage ## Each command that will be "send..." will be managed by the engine ## in the "pendingmessages" and gets its own id. ## Now we store this id in this global var "sonmessage", so we can cancel ## it when leaving this card or closing this stack ## You can take another name for that var, of course... end mouseup on nextsong put lineoffset(the filename of player "xyz", fld "mp3list") into whatline ##what is the current song... if whatline < the num of lines of fld "mp3list" then ## only if it is not the last song in this list... set the filename of player "xyz" to empty set the filename of player "xyz" to line (whatline + 1) of fld "mp3list" start player "xyz" ## next one... send "nextsong" to me in (the duration of player "xyz"/the timescale of player "xyz") secs put the result into songmessage end if end nextsong ################# Does even fit in the StarterKit limit :-) Then you could write this in the cardscript: on closecard global songmessage if "songmessage" is in the pendingmessages then ## Maybe much time has already passed and all songs have been played... ## Omit this "if...then..." caluse if you LOVE error-dialogs ;-) cancel songmessage end if ... end closecard Hope this helps. Regards Klaus Major k_major at os.surf2000.de From k_major at os.surf2000.de Wed Feb 19 07:11:01 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Wed Feb 19 07:11:01 2003 Subject: full screen, switch cursor, player-object Ques In-Reply-To: Message-ID: Hi Scott, > Hi, > I'm sorry if these questions have been anwered before, but I've > searched the archives w/ Google and did not find what I'm looking for. > 1. How can Rev run full screen in Windows and hide the taskbar, and > the top of the window, w/ only a drop down menu at the top that would > appear on MouseOver? You can add these lines to your stackscript: on preopenstack set the backdrop to 0,0,0 ## or any other RGB value ## will hide the background/desktop with any color ## and also hide the taskbar... ## to make it work on a MAC, too, you will have to add: ## hide menubar set the rect of this stack to the screenrect ## will make your stack as big as the screen ... end preopenstack > 2. I know how to have the cursor switch on a MouseOver, but how can we > use our own images for a cursor switch? I want to make my own hand > cursor that points left and right and up, ala Myst & Riven. There are some limitation for custom images used as cursors. The mac platforms only supports cursors of size 16*16 pixel. Windows and Linux 32*32 on windows. These images must only contain 3 colors, black, white and one that will be transparent. (See: cursor in the documentation...) !!! Hint: Create a black and white and transparent GIF in your favourite image-editing app, import this image into your stack (NO referenced image) then choose any tool of the paint-tools, do only ONE click on your image and undo this action immadiately. So nothing has happened actually... This way the image will be forced to be converted to the internal image-format of RR and so will work fine as a cursor :-) !!! To set the cursor, jsut set the cursor to the id of your custom image ... set cursor to 1033 ## your id here, of course... ... > 3. I'm trying to figure out sounds in Rev, and from what I've read I > am confused on the difference between "player-objects" and just "play > audioclips." A player offers more possibilities to control a sound than a shere "play ac xxx" and you can support more soundformats with a player. Once you set the filename of a player you can play that sound just by: ... start player xyz ... I don't know if this limitation still applies, but "play ac xyz" will only let you play ONE sound at the same time, with players you can start as much players as your CPU will be able to proccess... That means when you fire the command "play ac zyx" while another sound is playing, that sound will immediately stop. Do some testing, maybe that limitation does not exist anymore. > Is a player-object created w/ the tool in the bottom right of the tool > menu? Yes. > Thanks, > Scott Waddell Hope that helps. Regards Klaus Major k_major at os.surf2000.de From dleyanna at rtl.org Wed Feb 19 09:16:01 2003 From: dleyanna at rtl.org (Dave LeYanna) Date: Wed Feb 19 09:16:01 2003 Subject: Esellerate References: Message-ID: <3E5390D4.6020309@rtl.org> Thanks for this post. A large piece of the puzzle that I won't have to worry about (when the time comes) Dave Heather Williams wrote: > Hi all, > > Just a quick note to say, I've been communicating with eSellerate on the > subject of making their program hook in smoothly with Revolution. What it > boils down to is they'll be interested in doing it if enough people ask for > it. So, if any of you are keen on using eSellerate as a payment processing > system for your shareware, be sure to let them know: > > support at esellerate.net > > Cheers > > Heather From cm_sheffield at yahoo.com Wed Feb 19 10:27:01 2003 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Wed Feb 19 10:27:01 2003 Subject: mp3 files and the player object In-Reply-To: Message-ID: <20030219152322.84363.qmail@web20418.mail.yahoo.com> Thank you all very much for the suggestions. I couldn't get the playStopped message solution to work quite right. It still kept cutting off the previous sound and playing the next one. Anyway, I followed a slightly similar solution to what Klaus suggested. My problem is that I have to control the player from the handler of a Start button, which the user will click to begin. What happens is there is text on the screen that highlights a different color as each sentence is read out loud (thus the mp3 files). Here is what I did: ------- on mouseUp global myArray global sentenceCount wait 1 sec repeat with x = 1 to sentenceCount if x > 1 then ## set the previous line back to black set the foregroundColor of char myArray[x-1,1] to myArray[x-1,2] of field "myField" to black end if ## set the current sentence to blue set the foregroundColor of char myArray[x,1] to myArray[x,2] of field "myField" to blue ## set the current sound file and play it set the fileName of player "myPlayer" to "./sounds/sound" & x & ".mp3" start player "myPlayer" wait (the duration of player "myPlayer" / the timeScale of player "myPlayer") seconds wait 1 sec end repeat ## set the last sentence back to black set the foreGround of char myArray[x,1] to myArray[x,2] of field "myField" to black end mouseUp ----------- The global variables myArray and sentenceCount are both set in the mouseUp message of another button, simply because I'm using the Free Edition right now and am limited on the scripts. Basically myArray contains the start and end chars of each sentence, and sentenceCount contains the number of sentences in the text field. This all works just fine, but I was wondering if I'm going to notice any performance issues when dealing with fairly large bodies of text and quite a few sound files. Thanks for any feedback. Chris Sheffield Read Naturally --- Klaus Major wrote: > Hi Chris, > > > I want to use the player object to play several > mp3 > > files in a row. I am successful at changing the > > FileName property and playing my files, but the > trick > > is that I need to wait until each sound is > finished > > playing before playing the next one. Is there any > way > > to do this? Such as a 'wait until player > "myPlayer" > > is done' type of command? Please help. > > > > Thanks, > > > > Chris Sheffield > > Read Naturally > > here is another smart ;-) approach to your problem. > > I will use the "send xxx in yyy" command. > > My example requires a field "mp3list", where the > filenames > of the mp3 files are stored. Could of course be a > variable or > custom-property, too. > > ############### > > global songmessage > ## the name does not matter, call it walter if you > like :-) > > ## here we will store the id of the message that we > will send > ## when the current mp3 is finished. So we can > cancel that > ## message from being delivered when we close this > card of stack. > ## See "pendingmessages" in the docs... > > on mouseup > ## can of course be "on opencard" or whenever you > want to start the > songs... > set the filename of player "xyz" to line 1 of fld > "mp3list" > start player "xyz" > send "nextsong" to me in (the duration of player > "xyz"/the timescale > of player "xyz") secs > ## This means that this message will be send > exactly when the current > song has finished... > > ## Every sound- or video-file can (and will ;-) > have a duration. > Surprise, surprise... ;-) > ## Unfortunately this duration is measured in the > files own > timescale... > ## Means how much timeunits per second that file > will be measured in.. > ## But both properties can be queried :-) > > put the result into songmessage > ## Each command that will be "send..." will be > managed by the engine > ## in the "pendingmessages" and gets its own id. > ## Now we store this id in this global var > "sonmessage", so we can > cancel > ## it when leaving this card or closing this > stack > ## You can take another name for that var, of > course... > end mouseup > > on nextsong > put lineoffset(the filename of player "xyz", fld > "mp3list") into > whatline > ##what is the current song... > > if whatline < the num of lines of fld "mp3list" > then > ## only if it is not the last song in this > list... > > set the filename of player "xyz" to empty > set the filename of player "xyz" to line > (whatline + 1) of fld > "mp3list" > start player "xyz" > ## next one... > > send "nextsong" to me in (the duration of > player "xyz"/the > timescale of player "xyz") secs > put the result into songmessage > end if > end nextsong > > ################# Does even fit in the StarterKit > limit :-) > > Then you could write this in the cardscript: > > on closecard > global songmessage > if "songmessage" is in the pendingmessages then > ## Maybe much time has already passed and all > songs have been > played... > ## Omit this "if...then..." caluse if you LOVE > error-dialogs ;-) > cancel songmessage > end if > ... > end closecard > > > Hope this helps. > > > Regards > > Klaus Major > k_major at os.surf2000.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From John at esellerate.net Wed Feb 19 12:22:01 2003 From: John at esellerate.net (John Petelle) Date: Wed Feb 19 12:22:01 2003 Subject: Quick introduction - eSellerate Message-ID: <8C637AC00CFCCA4B92BAB215265AFC9408DC2D@mir.mindvision.com> Hello Runtime Revolution Developers! Just a quick note of introduction - my name is John Petelle, and I am part of the team at a software commerce company called eSellerate (http://www.esellerate.net). I am posting on this list as a follow-up to Heather's comments regarding the possibility of expanded capabilities between eSellerate and Runtime Revolution. First off - a 'thank you' to the developers who have already contacted eSellerate regarding their interest in using eSellerate, especially if an interface for Runtime Revolution becomes available. As Heather indicated, this feedback is extremely valuable and helps both eSellerate and Runtime Revolution be able to make appropriate business decisions and to gauge the interest level of the development community. For those developers who have an interest, but who have not yet sent an email, I would encourage you to do so :) You can send those emails either to support at esellerate.net, or to me personally at john at esellerate.net. Part of my role is to gain a better understanding of the Runtime Revolution developer community - not only learning about the diverse types of developers and companies represented, but also to learn about what you would like to see available for software commerce options, and what your key areas and needs are. I will certainly be continuing to watch this list, but for sending me information directly, I imagine off-line would be best. The flow of information can certainly go both ways :) I would be happy to hear from and respond to anyone who is interested in learning more about eSellerate's services - whether our Web Store (available for all developers and already being used by some Runtime Revolution developers), or the in-application purchase capabilities being discussed with Heather and the team at Runtime Revolution. Thank you for your time, and I look forward to meeting and working with the community! Best regards, John _________________________________________________ John Petelle - Account Executive eSellerate - the new way to sell software john at esellerate.net . 5901 N.58th St. Lincoln, NE.68507-3249.USA 402-323-6600 x118.fax 402-323-6611 _________________________________________________ From alrice at ARCplanning.com Wed Feb 19 12:28:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Feb 19 12:28:01 2003 Subject: Esellerate In-Reply-To: <7752CF34-43F8-11D7-A8F2-003065430226@internettrainer.com> Message-ID: On Wednesday, February 19, 2003, at 03:54 AM, Wolfgang M. Bereuter wrote: > I would like tho see shareit to. Because they support a lot of > currencies and languages. What I have not seen from any other > shareware distributor. What they have to do for "suporting rev"? Someone needs to write Rev code, or a Rev external, to connect with the eSellerate licensing server via SSL. > Maybe I m ignorant, but I would like to put my password stack > "anywhere" (on their or my server so that the client gets the password > imediatly when he purchases and I a get the message about the order. > Has anybody here such a stack? > Or knows where I can find one...? > > Or do I need another solution for that. How sure can I bee, that I > there are not builded any password without a message to me when its on > their (any shareware distributor) server..? > Thanks in advance for infos... If I understand your question, but eSellerate has many different licensing schemes you can use. From generating your own license keys ahead of time in a list, or using auto-generated passwords of various types. Just looking at the Serial Number management screen for eSellerate, they list the types "Standard, Armadillo, Custom, Custom with application supplied data, Prompted, Pre-generated, and Application Generated". So however you want to do your licensing, they can probably accommodate it. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From pixelbird at interisland.net Wed Feb 19 12:35:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Wed Feb 19 12:35:01 2003 Subject: Why... is the selected text deselected? In-Reply-To: <200302191212.HAA24015@www.runrev.com> Message-ID: ********** > Date: Tue, 18 Feb 2003 14:59:19 -0700 > Subject: Re: Why... is the selected text deselected? > From: Alex Rice > > On Tuesday, February 18, 2003, at 02:28 PM, Jan Schenkel wrote: >> >> Hi Alex, >> >> No guarantee that this will work, but what happens if >> you set its 'sharedText' property to true ? > > It has no effect. It wasn't a grouped field, but I also tried grouping > it and setting sharedText. ---------- Is there a reason you can't have the backgroundBehavior true?. It should work under those conditions, or else it wouldn't be compatible with HC. A totally different approach: Put the field into a palette or other floating window. Selections seem to stick from card to card until you select something else. Ken N. From heather at runrev.com Wed Feb 19 12:49:01 2003 From: heather at runrev.com (Heather Williams) Date: Wed Feb 19 12:49:01 2003 Subject: T-Shirt competiton and Tagline Message-ID: Greetings! Ladies and gentlemen, as you will see from my signature, we have a new tagline at last. If you are entering the t-shirt competition, you might like to incorporate this in your design. Anyone who has already entered is welcome to modify their entry to take account of this. Looking forward to seeing you all wearing it :-) Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution: Software at the Speed of Thought From pixelbird at interisland.net Wed Feb 19 13:19:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Wed Feb 19 13:19:01 2003 Subject: Rough day on the Revolution front In-Reply-To: <200302191212.HAA24015@www.runrev.com> Message-ID: Hello list, I had a terrible day with Rev yesterday: 1) When I put away a dialog, the Tool Palette would disappear with it, most of the time, but not _every_ time (inconsistent). 2) I lost 3 images and 1 button. 3) 5 other buttons got displaced halfway across the screen in the same row just by selecting them with the arrow cursor. 4) Many dialogs would display at first with twisted images, then straighten themselves out. Often the dialogs would not follow the selected button, i.e., show a dialog for another button, even though the button was clearly selected. 5) The Application Overview palette would not go away, i.e., I clicked the corner button to put it away, and it would disappear for a second, then come right back, 4 or 5 times in succession before it finally stayed gone. However, when I quit Rev, and other windows went away, it was still there behind everything else, the last one to finally disappear. On reopening Rev later, it showed up again, the first window to show up IIRC. 6) Pulldown menus (menubar position) wouldn't stick the first click, only on the second click. Sometimes when scrolling down the list, something would select itself when I stopped _without_ clicking the mouse. 7) The Rev application quit 4 times with a type 2 error. I think I can attribute some of these things to a dirty or worn mouse, but others, like the quitting thing, can't be attributed to that. Rev always takes about 4 minutes to completely shut down and even then, other apps have to spend quite bit of time fighting their way in to get enough memory to function. Has anyone else encountered these kinds of problems? Is my Rev app corrupted? Any advice welcomed, on or off list. Ken N. From valetia at mac.com Wed Feb 19 13:27:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Wed Feb 19 13:27:01 2003 Subject: clickChunk returns hilitedLine instead In-Reply-To: Message-ID: Hi all, When the listBehavior of a field is set to true, it seems the clickChunk returns the hilitedLine instead...(could this be a bug?) How do you get the "actual" clickChunk then? Valetia From pixelbird at interisland.net Wed Feb 19 13:35:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Wed Feb 19 13:35:01 2003 Subject: Clueless loss In-Reply-To: <200302191212.HAA24015@www.runrev.com> Message-ID: ********** > Date: Wed, 19 Feb 2003 12:04:18 +0100 > Subject: Re: Clueless loss > From: "Wolfgang M. Bereuter" > Sometimes you dont think at the most closest thing.. (Dont know if you > say it like that in english...) > I work a lot with importing images as controls. The simplest way to > "loose" them is: When you have a lot of (bigger) images on a card and > forget after importing to sort them (the layers) in the "correct" > order... > So one image can be hidden behind another one or a group very easyly... ---------- Thanks Wolfgang, I'm not sure that's the problem here. There were just 2 images in the stack. I was just looking at the button scripts the last time I put it away, and didn't change anything IIRC. The next time I opened the stack they were gone, and I couldn't show or find them. I think they disappeared from the Application Overview list, too. I seem to be having problems with things slippng away into the land of Nod. However, can you brief me on how to sort images? I'm not sure what you mean, i.e., moving images around to see which ones are under others, then moving them forward or backward? Ken N. From themacguy at macosx.com Wed Feb 19 15:12:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Feb 19 15:12:01 2003 Subject: Indirection question Message-ID: I have a variable named "theM" in which I am storing any number of comma-delimited items. If I use the message box for something like "answer theM", I get a dialog with the list of the items in the var. So far, so good. I have other vars with similar names (theW, theH, etc.) that contain other comma-delimited lists. I also have another variable (currentLetter) whose content changes (in this case: from "M" to "W" to "H" and back again in no consistent order). I have to check the content of currentLetter before knowing which of these lists I must manipulate. What I'd like to do is something like: on mouseUp if currentLetter = "W" then put "theW" into theList (etc) answer theList end mouseUp Now, if I do this, the answer dialog shows "theW" instead of the contents of the var named theW. Obviously, I'm not referring to the variable in the appropriate manner. Any ideas? Thanks, Barry From janschenkel at yahoo.com Wed Feb 19 15:19:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Feb 19 15:19:00 2003 Subject: Indirection question In-Reply-To: Message-ID: <20030219201531.71854.qmail@web11903.mail.yahoo.com> --- Barry Levine wrote: > I have a variable named "theM" in which I am storing > any number of > comma-delimited items. If I use the message box for > something like > "answer theM", I get a dialog with the list of the > items in the var. So > far, so good. > > I have other vars with similar names (theW, theH, > etc.) that contain > other comma-delimited lists. I also have another > variable > (currentLetter) whose content changes (in this case: > from "M" to "W" to > "H" and back again in no consistent order). I have > to check the content > of currentLetter before knowing which of these lists > I must manipulate. > What I'd like to do is something like: > > on mouseUp > if currentLetter = "W" then put "theW" into theList > (etc) > answer theList > end mouseUp > > Now, if I do this, the answer dialog shows "theW" > instead of the > contents of the var named theW. Obviously, I'm not > referring to the > variable in the appropriate manner. > > Any ideas? > > Thanks, > Barry > Hi Barry, I'd say the 'do' command is your friend :-) on mouseUp do ("put the" & currentLetter && "into theList") answer theList end mouseUp Don't forget to declare theX as globals, or their data won't be retrievable. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From scott at tactilemedia.com Wed Feb 19 15:21:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Feb 19 15:21:01 2003 Subject: Indirection question In-Reply-To: Message-ID: Recently, "Barry Levine" wrote: > What I'd like to do is something like: > > on mouseUp > if currentLetter = "W" then put "theW" into theList > (etc) > answer theList > end mouseUp > > Now, if I do this, the answer dialog shows "theW" instead of the > contents of the var named theW. Obviously, I'm not referring to the > variable in the appropriate manner. > > Any ideas? If theW is a global variable, use it without the quotes: on mouseUp if currentLetter = "W" then put theW into theList (etc) answer theList end mouseUp Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From yvescoppe at skynet.be Wed Feb 19 15:29:01 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed Feb 19 15:29:01 2003 Subject: Indirection question In-Reply-To: References: Message-ID: >I have a variable named "theM" in which I am storing any number of >comma-delimited items. If I use the message box for something like >"answer theM", I get a dialog with the list of the items in the var. >So far, so good. > >I have other vars with similar names (theW, theH, etc.) that contain >other comma-delimited lists. I also have another variable >(currentLetter) whose content changes (in this case: from "M" to "W" >to "H" and back again in no consistent order). I have to check the >content of currentLetter before knowing which of these lists I must >manipulate. What I'd like to do is something like: > >on mouseUp > if currentLetter = "W" then put "theW" into theList > (etc) > answer theList >end mouseUp > >Now, if I do this, the answer dialog shows "theW" instead of the >contents of the var named theW. Obviously, I'm not referring to the >variable in the appropriate manner. > >Any ideas? > Don't use quotes !! it's a variable and not a litteral put theW and not put "theW" Hope this helps -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From jiml at netrin.com Wed Feb 19 15:29:12 2003 From: jiml at netrin.com (Jim Lambert) Date: Wed Feb 19 15:29:12 2003 Subject: mp3 files and the player object In-Reply-To: <200302191702.MAA27937@www.runrev.com> Message-ID: < wait (the duration of player "myPlayer" / the timeScale of player "myPlayer") seconds> This works and that's most important, but... Everything, including user interaction, suspends while the sound is playing, thus preventing the user from stopping the sound in midplay. If these sounds are brief you can probably 'get away' with that, but it's friendlier to leave control to the user. Klaus' SEND example allows for interruption during and between sound plays. I wonder why playstopped isn't 100% reliable. Jim Lambert From cm_sheffield at yahoo.com Wed Feb 19 15:42:00 2003 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Wed Feb 19 15:42:00 2003 Subject: mp3 files and the player object In-Reply-To: Message-ID: <20030219203756.93585.qmail@web20421.mail.yahoo.com> Thanks for the info. The user does have to be able to stop playback. So I definitely need to consider that. If the user does stop playback, everything will basically reset itself and start from the beginning with the first sound file and first sentence. I will take a closer look at Klaus' example. --- Jim Lambert wrote: > < wait (the duration of player "myPlayer" / the > timeScale of player "myPlayer") seconds> > > This works and that's most important, but... > Everything, including user interaction, suspends > while the sound is playing, > thus preventing the user from stopping the sound in > midplay. If these sounds > are brief you can probably 'get away' with that, but > it's friendlier to > leave control to the user. Klaus' SEND example > allows for interruption > during and between sound plays. > > I wonder why playstopped isn't 100% reliable. > > Jim Lambert > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From ambassador at fourthworld.com Wed Feb 19 16:08:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Feb 19 16:08:01 2003 Subject: Indirection question In-Reply-To: Message-ID: Recently, "Barry Levine" wrote: > What I'd like to do is something like: > > on mouseUp > if currentLetter = "W" then put "theW" into theList > (etc) > answer theList > end mouseUp > > Now, if I do this, the answer dialog shows "theW" instead of the > contents of the var named theW. Obviously, I'm not referring to the > variable in the appropriate manner. > > Any ideas? Arrays? put "W" into tKey put tVal into tMyVarListA[tKey] ...and to get the list: put the keys of tMyVarListA into tMyVars -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From livfoss at blueyonder.co.uk Wed Feb 19 16:22:01 2003 From: livfoss at blueyonder.co.uk (livfoss at blueyonder.co.uk) Date: Wed Feb 19 16:22:01 2003 Subject: page setup - A4 Message-ID: <1dfc701c2d85d$300f9180$7635bcc3@blueyonder.net> On Tue, 18 Feb 2003 20:11:25 +0100 Carsten Levin wrote: [...] > And Richard Gaskin ambassador at fourthworld.com answered: > Query the printPaperSize global property. Thanks, but my problem is that when I use the "Page Setup" menu to choose A4 everything prints perfect and the settings are 595,841 ... untill I quit Revolution. Next time Revolution is restarted the settings are set back to 612,792. Therefore I would very much like to know how we can script the PageSetup to stick to A4. Hi Carsten, I'm having trouble getting a good interaction with a printer as well. A 'dirty' solution to your problem is to script set the printPaperSize to 595,841 in the startUp handler of your application (or a preOpenStack handler for your main stack). This will work if you know that all your users will really be using an A4 printer, so that the physical paper size and the size assumed by your program will be the same. Of course it won't work if your user has suddenly changed the default size to A6 card or something, and it will continue to look wrong when the 'Page Setup' dialog comes up with 'US Letter' appearing as the default. To my mind the real problem is that AFAIK in Revo you can't write back the properties of the printer driver in general - if you could, then you could arrange that when the 'Page Setup' dialog comes up, the size is shown as A4. This seems to me a symptom of the fact (as far as I've been able to understand it) that Revolution doesn't provide a way to talk to printer drivers, although it is clear that this is possible for applications in both Macintosh (e.g. Graphic Converter, which even knows the actual printable area, or PageMaker, which memorises even obscure printer settings to do with colour management etc) and Windows (where expert friends tell me that Visual Basic provides a way to interrogate and set printer properties really easily - can anyone else elaborate on this?). I don't know if the Revolution team are planning to improve the printer interface or not, or whether maybe they already have - I haven't tried version 2.0 (beta) yet, but I will soon. Anyway it seems to me to be a key area for any development system, and of course it would be far better if printer control could be accomplished within the Revolution environment rather than by developing platform-specific external functions. Just me two (Euro) cents. Anyway I hope this helps a bit Graham ------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From alrice at arcplanning.com Wed Feb 19 16:26:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Feb 19 16:26:01 2003 Subject: mysterious resizing of buttons and fields Message-ID: <456D4CB6-4450-11D7-B374-000393529642@arcplanning.com> Periodically I notice that Rev has resized one or two my buttons of fields. Usually it's +- 2 to 6 pixesl. It happens even if "lock location and size" is select. What is going on here? I'm not sure, but it might have to build with opening my development stack on Windows (from Mac). Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From k_major at os.surf2000.de Wed Feb 19 17:02:00 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Wed Feb 19 17:02:00 2003 Subject: mp3 files and the player object In-Reply-To: <20030219203756.93585.qmail@web20421.mail.yahoo.com> Message-ID: <533FEE91-4455-11D7-9D61-000A27B49A96@os.surf2000.de> Hi Chris, > --- Jim Lambert wrote: >> < wait (the duration of player "myPlayer" / the >> timeScale of player "myPlayer") seconds> > Thanks for the info. The user does have to be able to > stop playback. So I definitely need to consider that. > If the user does stop playback, everything will > basically reset itself and start from the beginning > with the first sound file and first sentence. I will > take a closer look at Klaus' example. Drop a line if you need further info, assistance or explanations. >> This works and that's most important, but... >> Everything, including user interaction, suspends >> while the sound is playing, >> thus preventing the user from stopping the sound in >> midplay. If these sounds >> are brief you can probably 'get away' with that, but >> it's friendlier to >> leave control to the user. Klaus' SEND example >> allows for interruption >> during and between sound plays. >> >> I wonder why playstopped isn't 100% reliable. You can also try this: ... wait .... with mesages ### !!! :-) ... Will only "block" this script and no other handlers... See "wait" in the docs... >> Jim Lambert Hope that helps. Regards Klaus Major k_major at os.surf2000.de From ambassador at fourthworld.com Wed Feb 19 17:17:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Feb 19 17:17:00 2003 Subject: page setup - A4 In-Reply-To: <1dfc701c2d85d$300f9180$7635bcc3@blueyonder.net> Message-ID: livfoss at blueyonder.co.uk wrote: > Hi Carsten, I'm having trouble getting a good interaction with a printer as > well. A 'dirty' solution to your problem is to script > > set the printPaperSize to 595,841 > > in the startUp handler of your application (or a preOpenStack handler for your > main stack). This will work if you know that all your users will really be > using an A4 printer, so that the physical paper size and the size assumed by > your program will be the same. > > Of course it won't work if your user has suddenly changed the default size to > A6 card or something, and it will continue to look wrong when the 'Page Setup' > dialog comes up with 'US Letter' appearing as the default. To my mind the real > problem is that AFAIK in Revo you can't write back the properties of the > printer driver in general - if you could, then you could arrange that when the > 'Page Setup' dialog comes up, the size is shown as A4. This seems to me a > symptom of the fact (as far as I've been able to understand it) that > Revolution doesn't provide a way to talk to printer drivers, although it is > clear that this is possible for applications in both Macintosh (e.g. Graphic > Converter, which even knows the actual printable area, or PageMaker, which > memorises even obscure printer settings to do with colour management etc) and > Windows (where expert friends tell me that Visual Basic provides a way to > interrogate and set printer properties really easily - can anyone else > elaborate! I wonder if this is a bug. Rev's values for the printPaperSize do change after an answer printer command, so it seems reasonable that they should be initialized to reflect current settings on startup. Any reason why it shouldn't? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From themacguy at macosx.com Wed Feb 19 17:19:04 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Feb 19 17:19:04 2003 Subject: Indirection ?...and the answer is... Thanks! Message-ID: I knew it! Once I posted the ?, I'd get at least one answer that would resolve the issue. In this case, all answers can resolve it. Many thanks and a Shiner hoisted in your direction! Barry From sarahr at genesearch.com.au Wed Feb 19 17:21:04 2003 From: sarahr at genesearch.com.au (Sarah) Date: Wed Feb 19 17:21:04 2003 Subject: mysterious resizing of buttons and fields In-Reply-To: Message-ID: I don't know about buttons, but I have found fields resizing if you have the focus border showing. Sometimes the real border of the field will expand to where the edge of the focus border was. This is on a Mac only. Sarah On Thursday, February 20, 2003, at 07:27 am, Alex Rice wrote: > Periodically I notice that Rev has resized one or two my buttons of > fields. Usually it's +- 2 to 6 pixesl. It happens even if "lock > location and size" is select. What is going on here? I'm not sure, but > it might have to build with opening my development stack on Windows > (from Mac). > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > alrice at ARCplanning.com > alrice at swcp.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alrice at arcplanning.com Wed Feb 19 17:32:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Feb 19 17:32:01 2003 Subject: several printing questions Message-ID: <74E510C1-4459-11D7-B374-000393529642@arcplanning.com> Thanks for bearing with me. There are a lot of questions here. Mac OS X 10.2.4 Windows 2000 Samsung ML-1250 laser printer 1) I print a bunch of cards using code like this -- lock screen open printing print card x close printing -- If I lock screen as above, on Windows or on Mac, the icons on my buttons don't print. Or worse, sometimes there are blank regions. If I don't lock screen, on Windows, then print card x also causes the UI to *flash each card* as it's being printed, and the button graphics look fine. But it's better than missing regions in the print job. What is the workaround? 2) What are the least volatile fonts for Rev on Windows? Meaning- I want the closest correspondence between the on-screen display and the printed output. I've discovered that "ms sans serif" apparently doesn't exist on my printer, and "Helvetica" is rendered HUGE when printed. Like an extra 5 em-spaces per line. (formatForPrinting is not really an acceptable option because all of my cards are editable and they are laid out with formatForPrinting off, with editing in mind) 3) However, I've also been experimenting with formatForPrinting and seeing no discernible difference by using formatForPrinting. What's wrong with this code to print? If I'm doing anything stupid or redundantly, please let me know. -- lock messages close stack "FacilityCalculator" set the formatForPrinting of stack "FacilityCalculator" to true put the number of card "MainNavigation" of stack "FacilityCalculator" \ into tCardNumber go stack "FacilityCalculator" print card tCardNumber of stack "FacilityCalculator" close stack "FacilityCalculator" set the formatForPrinting of stack "FacilityCalculator" to false close stack kSelfStack set the formatForPrinting of stack kSelfStack to true go stack kSelfStack repeat with tCardNumber = 1 to the number of cards in this stack put value( "isActiveCard()", card tCardNumber of this stack) into tActive if tActive then set the printCardBorders to true set the printScale to 0.9 set the printRotated to true print card tCardNumber of this stack end if end repeat close printing close stack kSelfStack set the formatForPrinting of stack kSelfStack to false go card "Report" of stack kSelfStack unlock messages -- Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From alrice at arcplanning.com Wed Feb 19 17:52:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Feb 19 17:52:01 2003 Subject: more printing questions Message-ID: <46451F94-445C-11D7-B374-000393529642@arcplanning.com> 1) How can I find out the name of the user's Default printer? 2) The following messages have no effect on Windows, unless I do NOT call "answer printer". On Mac OS X, they never have any effect, regardless of whether I call "answer printer" or "open printing with dialog". set the printCardBorders to true set the printScale to 0.9 set the printRotated to true Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From alrice at arcplanning.com Wed Feb 19 18:54:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Feb 19 18:54:01 2003 Subject: Why... is the selected text deselected? In-Reply-To: Message-ID: On Wednesday, February 19, 2003, at 10:35 AM, Ken Norris (dialup) wrote: > > Is there a reason you can't have the backgroundBehavior true?. It > should > work under those conditions, or else it wouldn't be compatible with HC. Either I'm not following you, or it doesn't work. I grouped by field, set backgroundBehavior to true, turned of messages, then moved forward a card, then back, and my selection was gone. > A totally different approach: Put the field into a palette or other > floating > window. Selections seem to stick from card to card until you select > something else. I'm not following you. Does this have to do with the window decoration you select in the stack properties? Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From janschenkel at yahoo.com Wed Feb 19 20:54:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Feb 19 20:54:01 2003 Subject: several printing questions In-Reply-To: <74E510C1-4459-11D7-B374-000393529642@arcplanning.com> Message-ID: <20030220015014.32606.qmail@web11907.mail.yahoo.com> --- Alex Rice wrote: > Thanks for bearing with me. There are a lot of > questions here. > > Mac OS X 10.2.4 > Windows 2000 > Samsung ML-1250 laser printer > > 1) I print a bunch of cards using code like this > -- > lock screen > open printing > print card x > close printing > -- > If I lock screen as above, on Windows or on Mac, the > icons on my > buttons don't print. Or worse, sometimes there are > blank regions. If I > don't lock screen, on Windows, then print card x > also causes the UI to > *flash each card* as it's being printed, and the > button graphics look > fine. But it's better than missing regions in the > print job. What is > the workaround? > Hi Alex, I'm not sure on your other questions, but what happens if you 'go stack XXX invisible' while printing? Of course if the stack is displayed on screen, this isn't really going to work, unless you create a temp stack, set its label, make a snapshot of the real stack window, paste it in the fake stack window, and purge that stack after use. Hope this gave you a helpful idea. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com From jacque at hyperactivesw.com Wed Feb 19 21:30:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Feb 19 21:30:01 2003 Subject: Why... is the selected text deselected? In-Reply-To: References: Message-ID: <3E543CCC.2090801@hyperactivesw.com> On 2/19/03 5:50 PM, Alex Rice wrote: > > On Wednesday, February 19, 2003, at 10:35 AM, Ken Norris (dialup) wrote: > >> >> Is there a reason you can't have the backgroundBehavior true?. It should >> work under those conditions, or else it wouldn't be compatible with HC. > > > Either I'm not following you, or it doesn't work. I grouped by field, > set backgroundBehavior to true, turned of messages, then moved forward a > card, then back, and my selection was gone. Works okay here. Check the properties of the field, and make sure that the field's listBehavior property is true. Also make sure you aren't accidentally running a copy of the field on the second card -- make sure the first card's field is really the one that is placed on the second card. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alrice at arcplanning.com Wed Feb 19 21:50:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Feb 19 21:50:01 2003 Subject: Why... is the selected text deselected? In-Reply-To: <3E543CCC.2090801@hyperactivesw.com> Message-ID: <7FAEA4C8-447D-11D7-B374-000393529642@arcplanning.com> On Wednesday, February 19, 2003, at 07:26 PM, J. Landman Gay wrote: > Works okay here. Check the properties of the field, and make sure that > the field's listBehavior property is true. Also make sure you aren't > accidentally running a copy of the field on the second card -- make > sure the first card's field is really the one that is placed on the > second card. That's just it- the field is only intended to be on the first card. Second card has other stuff on it. I guess I wasn't being clear about that. thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From scott at tactilemedia.com Wed Feb 19 22:10:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Feb 19 22:10:01 2003 Subject: Why... is the selected text deselected? In-Reply-To: <7FAEA4C8-447D-11D7-B374-000393529642@arcplanning.com> Message-ID: Recently, "Alex Rice" wrote: >> Works okay here. Check the properties of the field, and make sure that >> the field's listBehavior property is true. Also make sure you aren't >> accidentally running a copy of the field on the second card -- make >> sure the first card's field is really the one that is placed on the >> second card. > > That's just it- the field is only intended to be on the first card. > Second card has other stuff on it. I guess I wasn't being clear about > that. Not sure if this is what you're after, but if you're just trying to re-select text in a field, you could place this in the card script: on preOpenCard select line 1 of fld myField end preOpenCard Or, to place the cursor before the text: on preOpenCard select before line 1 of fld myField end preOpenCard You may need to use a variable or custom property to store the specifics of your text selection, and you might want to use a variable/property to trigger the auto-selection only after the user has returned from the second card. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From pixelbird at interisland.net Wed Feb 19 23:04:00 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Wed Feb 19 23:04:00 2003 Subject: Indirection question In-Reply-To: <200302192123.QAA04291@www.runrev.com> Message-ID: ********** > Date: Wed, 19 Feb 2003 13:07:35 -0700 > Subject: Indirection question > From: Barry Levine > on mouseUp > if currentLetter = "W" then put "theW" into theList > (etc) > answer theList > end mouseUp > > Now, if I do this, the answer dialog shows "theW" instead of the > contents of the var named theW. Obviously, I'm not referring to the > variable in the appropriate manner. ---------- Remove the quotes: if currentLetter = "W" then put theW into theList ...theList will then have the same content as theW Too easy? Ken N. From bornstein at designeq.com Wed Feb 19 23:14:01 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Wed Feb 19 23:14:01 2003 Subject: Rough day on the Revolution front Message-ID: <200302200409.h1K49ib1022483@ms-smtp-01.nyroc.rr.com> >Has anyone else encountered these kinds of problems? Hi Ken, I've occasionally had days like this with Rev. It's always a mystery to me because it's well-behaved most of the time. Then suddenly, it's like its alter-ego appears and everything goes wrong. I know the signs however and when I seem them I don't attempt to continue working. My best advice in these cases is to quit Rev and reboot the computer. Usually, things work better then. I haven't done extensive testing, but my feel at this point is that Rev 2.0 is much more stable in this regard. I've seen some of the bugs that are still in it, but not this periodic, inexplicable, decent into insanity that Rev 1.1.1 seems to exhibit. I could be wrong, but I'm hoping this kind of experience will soon be a thing of the past. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From jburtt at earthlink.net Thu Feb 20 00:32:01 2003 From: jburtt at earthlink.net (John) Date: Thu Feb 20 00:32:01 2003 Subject: mp3 files and the player object In-Reply-To: <200302192123.QAA04291@www.runrev.com> References: <200302192123.QAA04291@www.runrev.com> Message-ID: > >< wait (the duration of player "myPlayer" / the >timeScale of player "myPlayer") seconds> > >This works and that's most important, but... >Everything, including user interaction, suspends while the sound is playing, >thus preventing the user from stopping the sound in midplay. If these sounds >are brief you can probably 'get away' with that, but it's friendlier to >leave control to the user. Klaus' SEND example allows for interruption >during and between sound plays. > >I wonder why playstopped isn't 100% reliable. > >Jim Lambert I've received so many answers from the list, I'm happy to finally be able to send a few suggestions myself. I built a mp3 player and also had trouble with the playStopped message. This is my workaround: on playAllSounds --- this command is called to start the whole thing --- a return delimited list of soundFilePaths is located in fld "SoundData" Global gSoundList put fld "SoundData" into gSoundList playSoundList end playAllSounds on playSoundList --- this command holds the soundFilePaths ---and plays them one after the other Global gSoundPlaying,gSoundList --- UnLoad the player (you must set player fileName to empty --- before setting a new fileName. I don't know why???) put "false" into gSoundPlaying set the fileName of player "SoundPlayer" to empty set the paused of player "SoundPlayer" to "true" --- Load the player with new fileName if there is one if gSoundList is empty then exit to top --- no more sounds to play get line 1 of gSoundList delete line 1 of gSoundList --- this prepares soundList for next call set the fileName of player "SoundPlayer" to it set the currentTime of player "SoundPlayer" to "0" startPlayer end playSoundList on startPlayer --- this command is called by the "playSoundList" command --- or by a button to restart a paused sound at the place it was paused Global gSoundPlaying if the fileName of player "SoundPlayer" is empty then exit startPlayer set the paused of player "SoundPlayer" to "false" put "true" into gSoundPlaying updateSoundProgress end startPlayer on pausePlayer --- this command is called by a "Pause" button Global gSoundPlaying if the fileName of player "SoundPlayer" is empty then exit pausePlayer set the paused of player "SoundPlayer" to "true" put "false" into gSoundPlaying end pausePlayer on updateSoundProgress --- this command is the key to starting a new --- sound when the current sound is done Global gSoundPlaying if gSoundPlaying is not "true" then exit updateSoundProgress put the duration of player "SoundPlayer" into soundDone get the currentTime of player "SoundPlayer" if it is soundDone then playSoundList else send "updateSoundProgress" to me in 20 ticks end if end updateSoundProgress Hope this helps... John From alrice at arcplanning.com Thu Feb 20 01:23:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Thu Feb 20 01:23:01 2003 Subject: Why... is the selected text deselected? In-Reply-To: Message-ID: <2B044164-449B-11D7-B374-000393529642@arcplanning.com> On Wednesday, February 19, 2003, at 08:06 PM, Scott Rossi wrote: > You may need to use a variable or custom property to store the > specifics of > your text selection, and you might want to use a variable/property to > trigger the auto-selection only after the user has returned from the > second > card. Thanks for the suggestion. I know I can select the text with a handler if necessary. I just have a lot of cards and want to *maintain the selection in the first place* :-) Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From pixelbird at interisland.net Thu Feb 20 03:32:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Thu Feb 20 03:32:01 2003 Subject: Why... is the selected text deselected? In-Reply-To: <200302200533.AAA13122@www.runrev.com> Message-ID: ********** > Date: Wed, 19 Feb 2003 16:50:11 -0700 > Subject: Re: Why... is the selected text deselected? > From: Alex Rice > On Wednesday, February 19, 2003, at 10:35 AM, Ken Norris (dialup) > wrote: >> >> Is there a reason you can't have the backgroundBehavior true?. It >> should >> work under those conditions, or else it wouldn't be compatible with HC. > > Either I'm not following you, or it doesn't work. I grouped by field, > set backgroundBehavior to true, turned of messages, then moved forward > a card, then back, and my selection was gone. ---------- OK, let me try it in Rev, then I'll make a single bg shared text list field in an HC stack and translate the stack into Rev and see what it does. I just checked it several hours ago in HyperCard, and it works fine. In fact the field I checked, even though a selectable shared text one, is even more customized with voice feedback. Further, I not only navigated back and forth through several cards, but I even made new cards and deleted cards, none of which deselected the line in the field. I could still access it with: put the selectedText of bg fld "CommonWords" ...returned the contents of the line to the Message box, even after all that manuevering. I'll let you know tomorrow...that is if I can work Rev without it quitting on a type 2 error on my old PowerBook (happened 4 times yesterday), which I just defragged. ---------- >> A totally different approach: Put the field into a palette or other >> floating >> window. Selections seem to stick from card to card until you select >> something else. > > I'm not following you. Does this have to do with the window decoration > you select in the stack properties? ---------- It was just an idea I floated. I'll have to check into it further. Best regards, Ken N. From pixelbird at interisland.net Thu Feb 20 04:23:00 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Thu Feb 20 04:23:00 2003 Subject: Why... is the selected text deselected? In-Reply-To: <200302200533.AAA13122@www.runrev.com> Message-ID: ********** > Date: Wed, 19 Feb 2003 19:46:23 -0700 > Subject: Re: Why... is the selected text deselected? > From: Alex Rice > That's just it- the field is only intended to be on the first card. > Second card has other stuff on it. I guess I wasn't being clear about > that. thanks, ---------- Oh. I don't see how that can be if it's sharedText is true and grouped with backgroundBehavior set to true. If it is, then it runs in the background mode like HyperCard, meaning it should be on every card of that background group. If you actually don't want to see it on other cards, then hide it until you get back to the card on which you want to see it and show it there. It should display with the selection still on. In fact, if you leave it selected, you should be able to _close_ the stack and reopen it and it should _still_ be selected. Somewhere I have stacks with 17 autoSelect, sharedText fields, and all of them will still show their last selected lines until I deliberately deselect them. You can select anything else, anywhere else, and it shouldn't deselect a shared text background field (well, a grouped field with background behavior on). Is this making any sense? Ken N. From runrev at technetx.com Thu Feb 20 04:27:01 2003 From: runrev at technetx.com (runrev at technetx.com) Date: Thu Feb 20 04:27:01 2003 Subject: tabs Message-ID: <001701c2d8c1$9ec084e0$0201a8c0@nh2> OK, I'm losing it. I had this just last week and for the life of me I can't think of how I did it. I know it's a simple one liner but please, somebody jog my memory. Let's say I have 4 tabs in a grouped control. The text of the tabs from left to right is one, two, three and four. Now, if I had another button (outside of the tabs), and when clicked, simply sent a mouseup to a specific tab, what is the code. Supposing the selected tab is currently one, and I want it to switch to three without physically clicking tab three... Sorry everybody, total brain dump. Thanks all. Ron From pixelbird at interisland.net Thu Feb 20 04:40:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Thu Feb 20 04:40:01 2003 Subject: Rough day on the Revolution front In-Reply-To: <200302200533.AAA13122@www.runrev.com> Message-ID: ********** > Subject: Re: Rough day on the Revolution front > Date: Wed, 19 Feb 2003 23:09:45 -0500 > From: Howard Bornstein > I haven't done extensive testing, but my feel at this point is that Rev > 2.0 is much more stable in this regard. I've seen some of the bugs that > are still in it, but not this periodic, inexplicable, decent into > insanity that Rev 1.1.1 seems to exhibit. I could be wrong, but I'm > hoping this kind of experience will soon be a thing of the past. ---------- Thanks for the Re Howard, Well, it's not out of beta yet, is it? I'm like you, I hope the final shipping version is stable. One of the things I've noticed is that it's fairly viscious when it comes to memory on a Mac. You're much better off if you don't run other programs while working in the IDE. Also, I wish I'd been paying more attention to whoever said they have a timer plugin that autosaves a copy of the current iteration of whatever they're working on every so often. Anyone know where that plugin is? Thanks much, Ken N. From valetia at mac.com Thu Feb 20 06:08:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Thu Feb 20 06:08:01 2003 Subject: tabs In-Reply-To: <001701c2d8c1$9ec084e0$0201a8c0@nh2> Message-ID: Assuming you already have a "mouseUp" function within the tabbed button that takes care of what happens when a tab is clicked on, you could do this: set the menuHistory of button "My Tabbed Button" to 3 send "mouseUp" to button "My Tabbed Button" Hope this helps. Valetia > From: runrev at technetx.com > Organization: Technetx > Reply-To: use-revolution at lists.runrev.com > Date: Thu, 20 Feb 2003 01:22:41 -0800 > To: "Run Time Revolution USE" > Subject: tabs > > OK, I'm losing it. I had this just last week and for the life of me I can't > think of how I did it. I know it's a simple one liner but please, somebody > jog my memory. > > Let's say I have 4 tabs in a grouped control. The text of the tabs from > left to right is one, two, three and four. Now, if I had another button > (outside of the tabs), and when clicked, simply sent a mouseup to a specific > tab, what is the code. Supposing the selected tab is currently one, and I > want it to switch to three without physically clicking tab three... > > Sorry everybody, total brain dump. > Thanks all. > > Ron > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From valetia at mac.com Thu Feb 20 06:12:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Thu Feb 20 06:12:01 2003 Subject: Rough day on the Revolution front In-Reply-To: Message-ID: > One of the things I've noticed is that it's fairly viscious when it comes to > memory on a Mac. You're much better off if you don't run other programs > while working in the IDE. Also, I wish I'd been paying more attention to > whoever said they have a timer plugin that autosaves a copy of the current > iteration of whatever they're working on every so often. > > Anyone know where that plugin is? That would be Chipp's altArchive plugin available at: http://www.altuit.com/webs/altuit2/RunRev/NewPlugins.htm Hope this helps. Valetia From k_major at os.surf2000.de Thu Feb 20 06:33:01 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Feb 20 06:33:01 2003 Subject: tabs In-Reply-To: Message-ID: Hi Ron, hi Valetia, > Assuming you already have a "mouseUp" function within the tabbed > button that > takes care of what happens when a tab is clicked on, you could do this: > > set the menuHistory of button "My Tabbed Button" to 3 > send "mouseUp" to button "My Tabbed Button" > > Hope this helps. > > Valetia you can even omit the second line :-) (send mouseup...) > set the menuHistory of button "My Tabbed Button" to 3 That'll do the work... Regards Klaus Major k_major at os.surf2000.de From valetia at mac.com Thu Feb 20 07:38:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Thu Feb 20 07:38:01 2003 Subject: tabs In-Reply-To: Message-ID: Hey Klaus, >> set the menuHistory of button "My Tabbed Button" to 3 >> send "mouseUp" to button "My Tabbed Button" > > you can even omit the second line :-) > (send mouseup...) I had also thought that you could omit the second line. However I have a stack that does require the second line, otherwise only the tab changes (the related "mouseUp" action doesn't automatically occur). Valetia From k_major at os.surf2000.de Thu Feb 20 07:47:01 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Feb 20 07:47:01 2003 Subject: tabs In-Reply-To: Message-ID: Hi Valetia, > Hey Klaus, > >>> set the menuHistory of button "My Tabbed Button" to 3 >>> send "mouseUp" to button "My Tabbed Button" >> >> you can even omit the second line :-) >> (send mouseup...) > > I had also thought that you could omit the second line. However I have > a > stack that does require the second line, otherwise only the tab > changes (the > related "mouseUp" action doesn't automatically occur). > > Valetia good to know. I will add this line to all my handlers, especially those, who work as exspected (until now ;-). Thanks a lot. Regards Klaus Major k_major at os.surf2000.de From dcragg at lacscentre.co.uk Thu Feb 20 08:00:00 2003 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu Feb 20 08:00:00 2003 Subject: tabs In-Reply-To: References: Message-ID: At 1:43 pm +0100 20/2/03, Klaus Major wrote: >Hi Valetia, > >> Hey Klaus, >> >>>> set the menuHistory of button "My Tabbed Button" to 3 >>>> send "mouseUp" to button "My Tabbed Button" >>> >>> you can even omit the second line :-) >>> (send mouseup...) >> >> I had also thought that you could omit the second line. However I have a >> stack that does require the second line, otherwise only the tab changes (the >> related "mouseUp" action doesn't automatically occur). >> >> Valetia > >good to know. > >I will add this line to all my handlers, especially those, >who work as exspected (until now ;-). When you set the menuhistory, a "menuPick" mesage gets sent to the button. So if you handle the tab selections in a menuPick handler (the normal way, I think), just setting the menuHistory is enough. But if you need to handle mouseUp too, then you'll have to send that yourself. Cheers Dave From Doug_Ivers at lord.com Thu Feb 20 09:05:01 2003 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Thu Feb 20 09:05:01 2003 Subject: Size of build and minimization thereof Message-ID: I have a stack (including substacks) that is about 920kb. When I build, it typically grows to between 2 and 3Mb depending on the target platform. What are some easy things to try for cutting down on the built size? I don't check the Animation, Printing, Database, or Internet libraries, or Error Reporting. I do check everything else in Resources. I'm surprised that my stack unbuilt is 920kb -- what can I do to dramatically reduce that? I only have one jpeg image and one audio file, no other resources. Is there a way to find out how much of the 920kb is code? -- D From valetia at mac.com Thu Feb 20 09:06:00 2003 From: valetia at mac.com (valetia at mac.com) Date: Thu Feb 20 09:06:00 2003 Subject: tabs In-Reply-To: Message-ID: > When you set the menuhistory, a "menuPick" mesage gets sent to the > button. So if you handle the tab selections in a menuPick handler > (the normal way, I think), just setting the menuHistory is enough. > But if you need to handle mouseUp too, then you'll have to send that > yourself. OK...sounds good. :-) Valetia From bvg at mac.com Thu Feb 20 09:35:01 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu Feb 20 09:35:01 2003 Subject: T-Shirt competiton and Tagline In-Reply-To: Message-ID: Is it possible to get the font that is used for the subscript at the "Made with Runtime Revolution" logo? With it one could write the tagline like it is supposed to. On Mittwoch, Feb 19, 2003, at 18:44 Europe/Zurich, Heather Williams wrote: > Greetings! Ladies and gentlemen, as you will see from my signature, we > have > a new tagline at last. If you are entering the t-shirt competition, you > might like to incorporate this in your design. Anyone who has already > entered is welcome to modify their entry to take account of this. > > Looking forward to seeing you all wearing it :-) > > Heather > -- > Heather Williams > Runtime Revolution Ltd. > Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 > Revolution: Software at the Speed of Thought > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From wmb at internettrainer.com Thu Feb 20 10:22:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Feb 20 10:22:01 2003 Subject: Clueless loss In-Reply-To: Message-ID: <7B5D2072-44E6-11D7-BF9D-003065430226@internettrainer.com> On Mittwoch, Februar 19, 2003, at 07:34 Uhr, Ken Norris (dialup) wrote: > However, can you brief me on how to sort images? I'm not sure what you > mean, > i.e., moving images around to see which ones are under others, then > moving > them forward or backward? In 1.1.1 prop palette tab basic layers: number of the layer below: 4 arrows - with them you can move controls up/down (also to the first or last) hope that helps in pre beta its under "size and position" regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From bvg at mac.com Thu Feb 20 10:26:01 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu Feb 20 10:26:01 2003 Subject: Size of build and minimization thereof In-Reply-To: Message-ID: <05A2AE30-44E7-11D7-A335-003065AD94A4@mac.com> THe only way to reduce the size of the executable is to uncheck all libraries and don't include anything into the stack, but it will only get you to around 1.5 MB. You do naturally need more space for the code that executes your scripts in the standalone, so that is where that 1.5 MB comes from. There is currently no way of getting less size. however if you compress a executable of 3 MB, then it can get as small as 600 kB. I suggest you zip it, or such. On Donnerstag, Feb 20, 2003, at 15:00 Europe/Zurich, Ivers, Doug E wrote: > I have a stack (including substacks) that is about 920kb. When I > build, it typically grows to between 2 and 3Mb depending on the target > platform. > > What are some easy things to try for cutting down on the built size? > I don't check the Animation, Printing, Database, or Internet > libraries, or Error Reporting. I do check everything else in > Resources. > > I'm surprised that my stack unbuilt is 920kb -- what can I do to > dramatically reduce that? I only have one jpeg image and one audio > file, no other resources. > > Is there a way to find out how much of the 920kb is code? > > > -- D > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Thu Feb 20 10:45:02 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Feb 20 10:45:02 2003 Subject: Size of build and minimization thereof In-Reply-To: Message-ID: Recently, Ivers, Doug E wrote: > I'm surprised that my stack unbuilt is 920kb -- what can I do to dramatically > reduce that? I only have one jpeg image and one audio file, no other > resources. How much space do your raw files (JPEG and audio file) occupy on the desktop? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From jacque at hyperactivesw.com Thu Feb 20 10:49:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Feb 20 10:49:01 2003 Subject: Why... is the selected text deselected? In-Reply-To: <2B044164-449B-11D7-B374-000393529642@arcplanning.com> References: <2B044164-449B-11D7-B374-000393529642@arcplanning.com> Message-ID: <3E54F7EF.3000900@hyperactivesw.com> On 2/20/03 12:18 AM, Alex Rice wrote: > Thanks for the suggestion. I know I can select the text with a handler > if necessary. I just have a lot of cards and want to *maintain the > selection in the first place* :-) Okay, if I understand it right, you have a field that you only want to display on one card. You want its text selection to be persistent. If that is the case, you do not need to group the field or assign backgroundbehavior to it. It is just a card field. All you need to do is make sure it is a list field. Non-list fields will not maintain their selection. If you can't make it a list field for some reason, then you will have to track the selection and reset it each time the card opens, probably in a preOpenCard handler. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From janschenkel at yahoo.com Thu Feb 20 11:29:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Feb 20 11:29:01 2003 Subject: Why... is the selected text deselected? In-Reply-To: <3E54F7EF.3000900@hyperactivesw.com> Message-ID: <20030220162515.11911.qmail@web11903.mail.yahoo.com> --- "J. Landman Gay" wrote: > On 2/20/03 12:18 AM, Alex Rice wrote: > > > Thanks for the suggestion. I know I can select the > text with a handler > > if necessary. I just have a lot of cards and want > to *maintain the > > selection in the first place* :-) > > Okay, if I understand it right, you have a field > that you only want to > display on one card. You want its text selection to > be persistent. > > If that is the case, you do not need to group the > field or assign > backgroundbehavior to it. It is just a card field. > All you need to do is > make sure it is a list field. Non-list fields will > not maintain their > selection. > > If you can't make it a list field for some reason, > then you will have to > track the selection and reset it each time the card > opens, probably in a > preOpenCard handler. > I'm sorry Jacqueline, but that doesn't work: - create a new stack - make a list field, set its text to line 1 line 2 line 3 - add a button "Go next" with the equivalent script - create a new card - add a button "Go prev" with the equivalent script And with this test stack, see if the selection sticks as you move back and forth between the cards. It doesn't. The instant you 'leave' the card, the selection is gone. In fact, if you stick it into a 'background' group, the selection is saved when you hop from card to card, but is lost as soon as you go to a card that doesn't have this background group. As it is relatively easy to code around in an openCard/closeCard pair, it's mostly an annoyance. However, the question is : as HyperCard _did_ save this info, and a number of people may argue that this would be expexted behaviour, can we regard this as a bug ? Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From rcozens at pon.net Thu Feb 20 11:44:00 2003 From: rcozens at pon.net (Rob Cozens) Date: Thu Feb 20 11:44:00 2003 Subject: Ken's recent bad day. Message-ID: Hi Ken, I'm busy with OenoLog conversion and only scanning the List. I trashed your message before responding. FWIW, on Mac OS 9.2 & Rev 1.5A7, I can fairly consistently crash RunRev or create an indefinite hang via the Application Overview. All I need do is to attempt to show the controls of a card other than the current card while working on OenoLog (40+ cards, 400-500 images). Sometimes I can get to the controls of one or two cards before crashing; sometimes it happens on the very first card I select in AO. Sometimes it's a total crash: nothing responds to the mouse; sometimes I can get the Finder by clicking on the menu bar, and then go back to the AO, which then continues as though nothing happened. I have not reported this because (a) I am waiting to see whether it is fixed in v2.5 and (b) I can work around the problem by making a card the current card before trying to access its controls via the AO. And "Quit" from any RunRev menu I've tried here is perceptually instantaneous. -- Rob Cozens Vive R Revolution! From alrice at arcplanning.com Thu Feb 20 12:40:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Thu Feb 20 12:40:01 2003 Subject: Why... is the selected text deselected? In-Reply-To: <20030220162515.11911.qmail@web11903.mail.yahoo.com> Message-ID: On Thursday, February 20, 2003, at 09:25 AM, Jan Schenkel wrote: > As it is relatively easy to code around in an > openCard/closeCard pair, it's mostly an annoyance. Yep, I was just making sure I wasn't coding around something unnecessarily. > However, the question is : as HyperCard _did_ save > this info, and a number of people may argue that this > would be expexted behaviour, can we regard this as a > bug ? Never used HyperCard but am glad I stumbled upon this issue :-) Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From valetia at mac.com Thu Feb 20 13:25:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Thu Feb 20 13:25:01 2003 Subject: Combo-box/popup menu in a list field? In-Reply-To: Message-ID: Hey all, How do you create a combo-box/popup menu that appears *inside* a scrolling list field? Specifically one that appears on each line of a certain column (the list field has vGrid set to true)? I know that in all likelihood this is probably not possible with Revolution, but in that case, what would be the best way to implement something that achieves the same effect? Valetia From rcozens at pon.net Thu Feb 20 13:51:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Thu Feb 20 13:51:01 2003 Subject: Serendipity Library Update 20030218 Message-ID: Hi All, Serendipity Library Update 20030218 is now available at http://www.oenolog.com/ftp/serendipity_downloader.htm The major change in this update is the addition of an annual calendar mode (displaying all twelve months) to ClickCalendar. The annual calendar ["Year"] mode can be used whenever the specific day is not important (eg: selecting month and year for monthly report data), or it can be used as a first step in selecting a day where the range of months is broader then a few. Serendipity Library is upadted to include new images used by ClickCalendar. If you have a previous version of Serendipity Library, you need only download * ClickCalendar.rev.sgz * Serendipity_Library.rev.sdg * and the Read Me file and decompress them using SDB Utilities or RevVise. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From kevin at runrev.com Thu Feb 20 14:38:01 2003 From: kevin at runrev.com (Kevin Miller) Date: Thu Feb 20 14:38:01 2003 Subject: several printing questions In-Reply-To: <74E510C1-4459-11D7-B374-000393529642@arcplanning.com> Message-ID: On 19/2/03 10:28 pm, Alex Rice wrote: > Thanks for bearing with me. There are a lot of questions here. > > Mac OS X 10.2.4 > Windows 2000 > Samsung ML-1250 laser printer > > 1) I print a bunch of cards using code like this > -- > lock screen > open printing > print card x > close printing > -- > If I lock screen as above, on Windows or on Mac, the icons on my > buttons don't print. Or worse, sometimes there are blank regions. If I > don't lock screen, on Windows, then print card x also causes the UI to > *flash each card* as it's being printed, and the button graphics look > fine. But it's better than missing regions in the print job. What is > the workaround? On the Mac too? What version of Rev? Can you send me a stack off-list. We're trying to get a handle on all the outstanding issues at the moment (its not proving much fun!). > 2) What are the least volatile fonts for Rev on Windows? Fonts that are on the printer. Arial is usually OK. > Meaning- I > want the closest correspondence between the on-screen display and the > printed output. I've discovered that "ms sans serif" apparently doesn't > exist on my printer, and "Helvetica" is rendered HUGE when printed. > Like an extra 5 em-spaces per line. (formatForPrinting is not really an > acceptable option because all of my cards are editable and they are > laid out with formatForPrinting off, with editing in mind) You probably do want to use this option and make the screen match it if necessary. > 3) However, I've also been experimenting with formatForPrinting and > seeing no discernible difference by using formatForPrinting. It only takes effect after closing (remove from memory) and reopening the stack. Kind regards, Kevin Kevin Miller Runtime Revolution Limited: Software at the Speed of Thought Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kray at sonsothunder.com Thu Feb 20 14:50:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 20 14:50:01 2003 Subject: Combo-box/popup menu in a list field? References: Message-ID: <003001c2d919$1d4c3aa0$6f00a8c0@mckinley.dom> Place a clone of the popup menu button in the proper place on each line of the field. Make sure the field is *not* scrolling. Then group the field and all the buttons and set the scrolling of the group to true. You'll need to "manually" code for creating new clones of the popup menu and relocating the clone for each new row added, but that would be the way to do it. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: To: Sent: Thursday, February 20, 2003 12:21 PM Subject: Combo-box/popup menu in a list field? > Hey all, > > How do you create a combo-box/popup menu that appears *inside* a scrolling > list field? > > Specifically one that appears on each line of a certain column (the list > field has vGrid set to true)? > > I know that in all likelihood this is probably not possible with Revolution, > but in that case, what would be the best way to implement something that > achieves the same effect? > > Valetia > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alrice at arcplanning.com Thu Feb 20 15:45:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Thu Feb 20 15:45:01 2003 Subject: safe shell command Message-ID: I have gleaned these tidbits from the list. Can anyone add to this code for making sure the shell command is going to run correctly, minimized on all windows variants? Does anyone know if Win XP has one of these two variants or does it have another "command" command? on startup if the platform is "win32" then put the shellCommand into tShellCmd if matchText(tShellCmd, "command\.com$") then put space & "/m" after tShellCmd set the shellCommand to tShellCmd else if matchText(tShellCmd, "cmd\.exe$") then put space & "/MIN" after tShellCmd set the shellCommand to tShellCmd end if end if end startup Thanks in advance Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From alrice at arcplanning.com Thu Feb 20 15:50:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Thu Feb 20 15:50:01 2003 Subject: several printing questions In-Reply-To: Message-ID: <5636BCF0-4514-11D7-9B53-000393529642@arcplanning.com> On Thursday, February 20, 2003, at 12:34 PM, Kevin Miller wrote: > On the Mac too? What version of Rev? Yep the printing artifacts with "lock screen" are on both Mac and Windows, Rev.1.1.1 > Can you send me a stack off-list. > We're trying to get a handle on all the outstanding issues at the > moment OK will do. >> laid out with formatForPrinting off, with editing in mind) > > You probably do want to use this option and make the screen match it if > necessary. What do you mean " make the screen match it ". The docs say don't set formatForPrinting if the stack is going to be edited. Does that mean edited in the IDE, or a user typing in a field? I can't have a duplicate set of cards for printing, because when it's done this app is going to have upwards of a hundred cards, and I can't maintain two sets. > It only takes effect after closing (remove from memory) and reopening > the > stack. > I was closing it and reopening.. maybe the remove from memory part is what I was missing. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From runrev at technetx.com Thu Feb 20 15:56:01 2003 From: runrev at technetx.com (runrev at technetx.com) Date: Thu Feb 20 15:56:01 2003 Subject: tabs References: Message-ID: <001501c2d921$e48d2a40$0201a8c0@nh2> Thanks V. I just remembered also what I had done... select line 3 of btn "btnTabs" send "MouseUp" to btn "btnTabs" Ron Tan ----- Original Message ----- From: To: Sent: Thursday, February 20, 2003 3:04 AM Subject: Re: tabs > Assuming you already have a "mouseUp" function within the tabbed button that > takes care of what happens when a tab is clicked on, you could do this: > > set the menuHistory of button "My Tabbed Button" to 3 > send "mouseUp" to button "My Tabbed Button" > > Hope this helps. > > Valetia > > > > > From: runrev at technetx.com > > Organization: Technetx > > Reply-To: use-revolution at lists.runrev.com > > Date: Thu, 20 Feb 2003 01:22:41 -0800 > > To: "Run Time Revolution USE" > > Subject: tabs > > > > OK, I'm losing it. I had this just last week and for the life of me I can't > > think of how I did it. I know it's a simple one liner but please, somebody > > jog my memory. > > > > Let's say I have 4 tabs in a grouped control. The text of the tabs from > > left to right is one, two, three and four. Now, if I had another button > > (outside of the tabs), and when clicked, simply sent a mouseup to a specific > > tab, what is the code. Supposing the selected tab is currently one, and I > > want it to switch to three without physically clicking tab three... > > > > Sorry everybody, total brain dump. > > Thanks all. > > > > Ron > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ASGolub at dkhglaw.com Thu Feb 20 16:01:01 2003 From: ASGolub at dkhglaw.com (Alan Golub) Date: Thu Feb 20 16:01:01 2003 Subject: Custom button icons Message-ID: I've been spinning my wheels for days now trying to figure out how to install custom icons into my buttons. I have no problem inserting standard icons from the image library, and I'm able to create a new library, but that's where I'm stumped. How do I import custom icons into my library for use in my application buttons? Is this documented anywhere? Any help would be much appreciated. From kray at sonsothunder.com Thu Feb 20 17:09:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 20 17:09:00 2003 Subject: safe shell command References: Message-ID: <005001c2d92c$88c1dcf0$6f00a8c0@mckinley.dom> Alex, Why do you need to minimize? Can't you just "set the hideConsoleWindows to true" before you do your shell command? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Alex Rice" To: Sent: Thursday, February 20, 2003 2:41 PM Subject: safe shell command > I have gleaned these tidbits from the list. Can anyone add to this code > for making sure the shell command is going to run correctly, minimized > on all windows variants? Does anyone know if Win XP has one of these > two variants or does it have another "command" command? > > on startup > if the platform is "win32" then > put the shellCommand into tShellCmd > if matchText(tShellCmd, "command\.com$") then > put space & "/m" after tShellCmd > set the shellCommand to tShellCmd > else if matchText(tShellCmd, "cmd\.exe$") then > put space & "/MIN" after tShellCmd > set the shellCommand to tShellCmd > end if > end if > end startup > > Thanks in advance > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > alrice at ARCplanning.com > alrice at swcp.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From janschenkel at yahoo.com Thu Feb 20 17:18:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Feb 20 17:18:01 2003 Subject: Combo-box/popup menu in a list field? In-Reply-To: Message-ID: <20030220221346.35001.qmail@web11901.mail.yahoo.com> --- "valetia at mac.com" wrote: > Hey all, > > How do you create a combo-box/popup menu that > appears *inside* a scrolling > list field? > > Specifically one that appears on each line of a > certain column (the list > field has vGrid set to true)? > > I know that in all likelihood this is probably not > possible with Revolution, > but in that case, what would be the best way to > implement something that > achieves the same effect? > > Valetia > Hi Valetia, I have a stack that emulates a series of checboxes in a list field. All in all, it shouldn't prove too hard to change the checkbox to an option-menu button for your purposes. So if you're interested, I can send you the stack off-list (it's only 11KB) -- same goes for everyone else who wants to have a peek at the source code :-) Those people can drop me a line off-list. Best regards, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From alrice at arcplanning.com Thu Feb 20 17:44:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Thu Feb 20 17:44:01 2003 Subject: safe shell command In-Reply-To: <005001c2d92c$88c1dcf0$6f00a8c0@mckinley.dom> Message-ID: <5090F838-4524-11D7-9B53-000393529642@arcplanning.com> On Thursday, February 20, 2003, at 02:37 PM, Ken Ray wrote: > Alex, > > Why do you need to minimize? Can't you just "set the hideConsoleWindows > to true" before you do your shell command? I read on the list that hideConsoleWindows does not always work correctly on some versions of windows, hence to do that AND minimize. However, I guess I am more worried about ruining the shell command by giving the wrong switch to minimize. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From janschenkel at yahoo.com Thu Feb 20 18:13:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Feb 20 18:13:01 2003 Subject: Combo-box/popup menu in a list field? In-Reply-To: <20030220221346.35001.qmail@web11901.mail.yahoo.com> Message-ID: <20030220230904.87558.qmail@web11907.mail.yahoo.com> --- Jan Schenkel wrote: > > Hi Valetia, > > I have a stack that emulates a series of checboxes > in > a list field. All in all, it shouldn't prove too > hard > to change the checkbox to an option-menu button for > your purposes. > So if you're interested, I can send you the stack > off-list (it's only 11KB) -- same goes for everyone > else who wants to have a peek at the source code :-) > Those people can drop me a line off-list. > Okay, I quickly created a GeoCities webpage ; and here's the link everybody interested can download it from directly : http://www.geocities.com/janschenkel/downloads/checkboxlist.zip Hope this helped some people, I'm off to bed now *grin* Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From curry at pair.com Thu Feb 20 19:53:01 2003 From: curry at pair.com (curry) Date: Thu Feb 20 19:53:01 2003 Subject: eSellerate In-Reply-To: <200302192123.QAA04300@www.runrev.com> References: <200302192123.QAA04300@www.runrev.com> Message-ID: For eSellerate features to support with Revolution, the ones I would find most useful are standard and app-generated serial codes, in-app purchasing, the new protection system, the special arrangements with portals, and perhaps the affiliate features. Thanks, Curry Kenworthy From Revinfo1155 at aol.com Thu Feb 20 20:21:01 2003 From: Revinfo1155 at aol.com (Revinfo1155 at aol.com) Date: Thu Feb 20 20:21:01 2003 Subject: Questions about opening stacks Message-ID: When I try to open a stack file by clicking on the file itself it doesn't open the rev application. Is this normal? On my Mac sys 10.2.4, often when I try to open a stack thru the rev applicatio/file menu -when I locate the file it is dimmed or disabled? Why As always -thanks for the help jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From jperryl at ecs.fullerton.edu Thu Feb 20 20:47:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu Feb 20 20:47:01 2003 Subject: Questions about opening stacks In-Reply-To: Message-ID: Ditto for me.. I whipped together a quick (and regrettably incomplete) "buttons" stack for my class to look at and due to network problems I had to get it to them via ftp'ing to a Yahoo! groups site. Didn't compress it (short on time and couldn't find a compressor). The file d/l w/o its Rev icon; Rev couldn't "see" the file from within the File -> Open menu option; but double-clicking it when Rev was already open opened the file just fine. I'm assuming I'm missing something terribly obvious and important but can't put my finger on it. I know we used to have this problem in HC when the resource fork was in the process of getting stripped and using DropStuff or DropThing or something like that allowed you to reset the creator and file type which was positively required to get the to open up as a stack at all (meaning HC couldn't see it from the File->Open menu either, nor would double-clicking inside or outside of the authoring environment do any good). Judy On Thu, 20 Feb 2003 Revinfo1155 at aol.com wrote: > When I try to open a stack file by clicking on the file itself it doesn't > open the rev application. Is this normal? > > On my Mac sys 10.2.4, often when I try to open a stack thru the rev > applicatio/file menu -when I locate the file it is dimmed or disabled? Why From pixelbird at interisland.net Thu Feb 20 20:51:00 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Thu Feb 20 20:51:00 2003 Subject: Rough day on the Revolution front In-Reply-To: <200302201527.KAA23634@www.runrev.com> Message-ID: ********** > Date: Thu, 20 Feb 2003 21:08:09 +1000 > Subject: Re: Rough day on the Revolution front > From: "valetia at mac.com" >> Anyone know where that plugin is? > > That would be Chipp's altArchive plugin available at: > > http://www.altuit.com/webs/altuit2/RunRev/NewPlugins.htm > > Hope this helps. ---------- Many thanks to you and Chip. Ken N. From pixelbird at interisland.net Thu Feb 20 20:54:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Thu Feb 20 20:54:01 2003 Subject: Clueless loss In-Reply-To: <200302201527.KAA23634@www.runrev.com> Message-ID: ********** > Date: Thu, 20 Feb 2003 16:17:53 +0100 > Subject: Re: Clueless loss > From: "Wolfgang M. Bereuter" > Uhr, Ken Norris (dialup) wrote: > >> However, can you brief me on how to sort images? I'm not sure what you >> mean, >> i.e., moving images around to see which ones are under others, then >> moving >> them forward or backward? > In 1.1.1 > prop palette > tab basic > layers: number of the layer > below: 4 arrows - with them you can move controls up/down (also to the > first or last) > hope that helps > > in pre beta its under "size and position" ---------- Thanks much, I'll check it out. Ken N. From Revinfo1155 at aol.com Thu Feb 20 21:40:01 2003 From: Revinfo1155 at aol.com (Revinfo1155 at aol.com) Date: Thu Feb 20 21:40:01 2003 Subject: Standalone Question Message-ID: <6c.2a5e44ed.2b86ea6e@aol.com> I need to create a standalone where cards-data-etc. can be added and changed and saved. It seems this can only be done in rev by importing and exporting to another file. I've checked out the docs and the example stack. Does anyone have a simple stack I can look at? Something as simple as a phone number standalone on the order of the old Hypercard phone stack. Jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From timothy.hart5 at verizon.net Thu Feb 20 22:31:01 2003 From: timothy.hart5 at verizon.net (Tim Hart) Date: Thu Feb 20 22:31:01 2003 Subject: Changing substacks Message-ID: <2BD90A99-454C-11D7-8B99-0003938DD75E@verizon.net> Alright, here is what I want to do. I have substacks and I want to get from the substack to a particular card on the mainstack. What is the actual scripting for that? Thanks. p.s. I guess I will say it again...When is 2.0 coming? (just kidding, I know it is coming) From terry at discovery.nl Thu Feb 20 22:45:01 2003 From: terry at discovery.nl (Terry Vogelaar) Date: Thu Feb 20 22:45:01 2003 Subject: Changing substacks In-Reply-To: <2BD90A99-454C-11D7-8B99-0003938DD75E@verizon.net> Message-ID: <4246C842-454E-11D7-B94D-0030656FD666@discovery.nl> Tim Hart heeft op vrijdag, 21 feb 2003 om 04:25 het volgende geschreven: > Alright, here is what I want to do. I have substacks and I want to > get from the substack to a particular card on the mainstack. What is > the actual scripting for that? Thanks. go to card "particularCardNameOrNumber" of stack "NameOfMainStack" Terry From timothy.hart5 at verizon.net Thu Feb 20 22:48:01 2003 From: timothy.hart5 at verizon.net (Tim Hart) Date: Thu Feb 20 22:48:01 2003 Subject: Changing substacks In-Reply-To: <4246C842-454E-11D7-B94D-0030656FD666@discovery.nl> Message-ID: That is what I thought. Hmmm. I must have something screwed up here. Thanks though. On Thursday, February 20, 2003, at 10:40 PM, Terry Vogelaar wrote: > go to card "particularCardNameOrNumber" of stack "NameOfMainStack" > > Terry From herz at ames.ucsd.edu Thu Feb 20 23:25:01 2003 From: herz at ames.ucsd.edu (Rich Herz) Date: Thu Feb 20 23:25:01 2003 Subject: safe shell command Message-ID: <200302210420.UAA14431@ ames> Alex Rice wrote: I have gleaned these tidbits from the list. Can anyone add to this code for making sure the shell command is going to run correctly, minimized on all windows variants? Does anyone know if Win XP has one of these two variants or does it have another "command" command? Alex, Win XP has both cmd.exe (the default) and command.com. The latter seems to have different options and/or behavior than command.com on Win 98, which only has command.com as I can see. Below is script to run an application "myapp.exe" that is at a path gMyappPath that may contain spaces in path name. Setting MC/Rev hideConsoleWindows to true may help, and I do it, but can't rely on it. Even with script below I get a minimized console button appearing in the Win task bar at bottom of screen while myapp.exe runs, at least on one of the Win platforms (can't remember now but could check).. Rich Herz on runWin32 put gMyappPath into lWinPath replace "/" with "\" in lWinPath # check for existance of the executable # name must match name below in two places set the directory to gModuleSupportPath if there is a file "myapp.exe" then # exe file is there else answer "Can't run! The folder or file is missing or was renamed!" exit to metacard end if # different Windows OS have different shell command programs as default # on Win 98 command.com is default # on Win XP cmd.exe is default # on Win XP, command.com options and behavior different than same on Win 98 switch shellCommand case "command.com" runCommandDotCom break case "cmd.exe" runCmdDotExe break default answer "unknown shellCommand" break end switch end runWin32 on runCmdDotExe # running on Win XP or similar # can't just use "start" and full path to executable because of possible spaces in path # so have to cd to directory first (doesn't care about spaces in path), then "start" # cannot use two separate get shell lines # see "&" below to put two or more command lines in one get shell() # the command continuation char in cmd.exe is & (don't confuse with MC &) put "get shell(" & quote & "cd" && lWinPath & "& start /min /high /wait myapp.exe" & quote & ")" into todo do todo # nothing comes back to MC "it" or the result as with command.com on Win 98 end runCmdDotExe on runCommandDotCom # running on Win 98 or similar # because of get MC shell() syntax requiring quotes around entire input string # and because of possible spaces in path and because command.com's cd # is sensitive to spaces in path # need to write a batch file and do "cd" with quotes around path followed by # command in batch file to execute exe file # and finally have MC shell() execute the batch file # the command continuation character in command.com is | but doesn't # help because need quotes around entire "get shell" and around path for "cd" put "C:\temp_mc.bat" into tBatPath put "file:" & tBatPath into tBatUrl # need literal quote characters around path with spaces for command.com put "cd" && quote & lWinPath & quote into temp put cr & "myapp.exe" & cr after temp try put temp into url tBatUrl catch errornum answer "Error: can't write command file to C:\ and so can't run!" exit to metacard end try # no priority options or /b as on Win XP cmd.exe, and /m here not /min # want /wait option so focus doesn't return to MC until after execution is done put "get shell(" & quote & "start /m /wait" && tBatPath & quote & ")" into todo do todo # command.com, at least on Win98, returns entire console contents to MC "it" # and so could check .exe output (Fortran program "STOP") for good run but # have to check for existance of full output files for cmd.exe anyway # clean up if there is a file tBatPath then delete file tBatPath end runCommandDotCom From alrice at arcplanning.com Thu Feb 20 23:41:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Thu Feb 20 23:41:01 2003 Subject: safe shell command In-Reply-To: <200302210420.UAA14431@ ames> Message-ID: <201AFABE-4556-11D7-9E4D-000393529642@arcplanning.com> On Thursday, February 20, 2003, at 09:20 PM, Rich Herz wrote: > Win XP has both cmd.exe (the default) and command.com. The latter > seems to have > different options and/or behavior than command.com on Win 98, which > only has > command.com as I can see. Below is script to run an application > "myapp.exe" > that is at a path gMyappPath that may contain spaces in path name. > > Setting MC/Rev hideConsoleWindows to true may help, and I do it, but > can't rely on it. Even with script below I get a minimized console > button appearing in the Win task bar at bottom of screen while > myapp.exe runs, at least on one of the Win platforms (can't remember > now but could check).. Rich, this looks pretty sophisticated. Couple of questions, if I may; For what % of Windows users would you estimate that hideConsoleWindows true does actually work? In my app, I am executing an .exe which is in the same directory as the standalone rev app. In that case is it safe for all the "cd" and command escaping that you are doing? Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From alrice at arcplanning.com Fri Feb 21 00:03:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Feb 21 00:03:01 2003 Subject: safe shell command In-Reply-To: <201AFABE-4556-11D7-9E4D-000393529642@arcplanning.com> Message-ID: <44149777-4559-11D7-9E4D-000393529642@arcplanning.com> On Thursday, February 20, 2003, at 09:37 PM, Alex Rice wrote: > In that case is it safe for all the "cd" and command escaping that you > are doing? Err, I meant "In that case is it safe NOT TO DO the "cd" and command escaping that you are doing?" Thanks much, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From kray at sonsothunder.com Fri Feb 21 01:11:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Feb 21 01:11:01 2003 Subject: safe shell command References: <201AFABE-4556-11D7-9E4D-000393529642@arcplanning.com> Message-ID: <04d301c2d96f$59762f30$6601a8c0@LightningFlash> > For what % of Windows users would you estimate that hideConsoleWindows > true does actually work? I've used it without fail for years on Win 95 through XP, so if there *are* situations where it doesn't work, I'd like to know about 'em... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From scott at tactilemedia.com Fri Feb 21 01:35:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Feb 21 01:35:01 2003 Subject: safe shell command In-Reply-To: <04d301c2d96f$59762f30$6601a8c0@LightningFlash> Message-ID: >> For what % of Windows users would you estimate that hideConsoleWindows >> true does actually work? > > I've used it without fail for years on Win 95 through XP, so if there *are* > situations where it doesn't work, I'd like to know about 'em... Same goes for myself. I have had a few minor reports of the "start..." script (see the archives) failing on some versions of Win98 (ME?), but I've never had a report of the console window being visible. BTW, in the MC docs, it states to use "command.exe" for all non-NT versions of Windows, and "cmd.exe" for the NT/2K/XP versions. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From valetia at mac.com Fri Feb 21 01:35:14 2003 From: valetia at mac.com (valetia at mac.com) Date: Fri Feb 21 01:35:14 2003 Subject: Combo-box/popup menu in a list field? In-Reply-To: <20030220230904.87558.qmail@web11907.mail.yahoo.com> Message-ID: Hi Ken, hi Jan, > Okay, I quickly created a GeoCities webpage ; and > here's the link everybody interested can download it > from directly : > http://www.geocities.com/janschenkel/downloads/checkboxlist.zip Thanks, will experiment with these suggestions. :-) Valetia From pixelbird at interisland.net Fri Feb 21 01:35:28 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Feb 21 01:35:28 2003 Subject: Why doesn't a stack open with the UI In-Reply-To: <200302201701.MAA27556@www.runrev.com> Message-ID: Hi all, I don't know where the thread went, but someone asked why a stack won't open with the UI. I hadn't really run into that because I don't have a completed stack yet, but it's true: If you open a stack from a folder, Rev is opened, but there is no UI and no apparent way to get it. And on a Mac, if you haven't created a file menu, you cannot quit Rev at all, because there is no file menu. You have to restart. This is _very_ strange. I've never seen an app do that before. What's happening? Is it a bug? Ken N. From pixelbird at interisland.net Fri Feb 21 01:41:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Feb 21 01:41:01 2003 Subject: Ken's recent bad day. In-Reply-To: <200302201701.MAA27556@www.runrev.com> Message-ID: ********** > Date: Thu, 20 Feb 2003 08:38:49 -0800 > From: Rob Cozens > Subject: Ken's recent bad day. > I have not reported this because (a) I am waiting to see whether it > is fixed in v2.5 and (b) I can work around the problem by making a > card the current card before trying to access its controls via the AO. ---------- At least I'm not alone with some anamolies. Version 2.5? You mean 2.0 right? Rev hasn't said anything about a version 2.5 AFAIK. ---------- > And "Quit" from any RunRev menu I've tried here is perceptually instantaneous. ---------- Well, might have to do with VM. Ken N. From scott at tactilemedia.com Fri Feb 21 01:48:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Feb 21 01:48:01 2003 Subject: Why doesn't a stack open with the UI In-Reply-To: Message-ID: Recently, Ken Norris (dialup) wrote: > I don't know where the thread went, but someone asked why a stack won't open > with the UI. > > I hadn't really run into that because I don't have a completed stack yet, > but it's true: If you open a stack from a folder, Rev is opened, but there > is no UI and no apparent way to get it. > > And on a Mac, if you haven't created a file menu, you cannot quit Rev at > all, because there is no file menu. You have to restart. > > This is _very_ strange. I've never seen an app do that before. What's > happening? Is it a bug? It sounds like you're running your stack under the Rev engine only (not the development environment). In MetaCard, it is standard behavior that double clicking a stack will launch the stack without the dev environment -- Rev may work similarly. Also, to close a "work in progress" stack that has no UI, simply click the closebox on the window -- this will quit the app. If the window has no closebox, you can force-quit the MC/Rev app, without having to restart. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From yvescoppe at skynet.be Fri Feb 21 02:35:01 2003 From: yvescoppe at skynet.be (yves COPPE) Date: Fri Feb 21 02:35:01 2003 Subject: pathway Message-ID: Hi, I experimented something strange : on Mac OS jaguar X.2.4 with Rev 1.1.1 I have a list fld each line gives a name of a textfile when I click on a line, the script build a pathway to the file to open it (it's a text file) sometimes I works well, sometimes I get an error "the file doesn't exist" Each text file is in a folder So I find now that when the name of the folder is too long (I mean the length or the number of chars of the name of the folder), it doesn't run Does it means that rev cannot handle long name file ??? It's very big problem for me because this stack is build to retrieve textfiles and I may not change the name of the folder in which the textfile is nested. any idea ???? thank you. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From chipp at chipp.com Fri Feb 21 03:13:02 2003 From: chipp at chipp.com (Chipp Walters) Date: Fri Feb 21 03:13:02 2003 Subject: Rough day on the Revolution front In-Reply-To: Message-ID: Hey Guys, My AltArchive plugin does not auto save every XX minutes. It's used to create incremental backups. The SmartSave plugin from Frederic Rinaldi is: "A plugin stack which brings you an elegant autosave feature for stacks and their substacks on choosen time interval." It can be found at: http://perso.wanadoo.fr/frederic.rinaldi/ best, Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Norris > (dialup) > Sent: Thursday, February 20, 2003 7:50 PM > To: use-revolution at lists.runrev.com > Subject: Re: Rough day on the Revolution front > > > ********** > > Date: Thu, 20 Feb 2003 21:08:09 +1000 > > Subject: Re: Rough day on the Revolution front > > From: "valetia at mac.com" > > >> Anyone know where that plugin is? > > > > That would be Chipp's altArchive plugin available at: > > > > http://www.altuit.com/webs/altuit2/RunRev/NewPlugins.htm > > > > Hope this helps. > ---------- > Many thanks to you and Chip. > > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From malte.brill at t-online.de Fri Feb 21 04:14:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Fri Feb 21 04:14:01 2003 Subject: use-revolution digest, Vol 1 #1140 - 4 msgs In-Reply-To: <200302201701.MAA27610@www.runrev.com> Message-ID: Hi Ken, > And on a Mac, if you haven't created a file menu, you cannot quit Rev at > all, because there is no file menu. You have to restart. >>Also, to close a "work in progress" stack that has no UI, simply click the >>closebox on the window -- this will quit the app. If the window has no >>closebox, you can force-quit the MC/Rev app, without having to restart. If you are working on Os9 and your stack has no close-box you might hit ctrl+alt+apple+esc to force quitting. Regards, Malte From yvescoppe at skynet.be Fri Feb 21 04:23:00 2003 From: yvescoppe at skynet.be (yves COPPE) Date: Fri Feb 21 04:23:00 2003 Subject: use-revolution digest, Vol 1 #1140 - 4 msgs In-Reply-To: References: Message-ID: >Hi Ken, > >> And on a Mac, if you haven't created a file menu, you cannot quit Rev at >> all, because there is no file menu. You have to restart. > >>>Also, to close a "work in progress" stack that has no UI, simply click the >>>closebox on the window -- this will quit the app. If the window has no >>>closebox, you can force-quit the MC/Rev app, without having to restart. > >If you are working on Os9 and your stack has no close-box you might hit > >ctrl+alt+apple+esc to force quitting. > And on Mac OS X : alt+apple+esc Cheers -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From livfoss at blueyonder.co.uk Fri Feb 21 04:54:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Fri Feb 21 04:54:00 2003 Subject: Screen real estate Message-ID: Dear List I have an app which needs to fill the available space in one of three screen sizes (VGA, SVGA, 1024 x 768). I have a kind of home-built Geometry Manager to do this, which works pretty well - but I don't want my window to bump into the pre-existing standard screen real estate. Examples are: menu bar and possibly Control Strip on Mac, Menu Bar and Dock (if permanently visible) on OSX, the thing at the bottom of the screen resembling the dock in Windows - sorry, forgot its real name. These various items use up different amounts of the screen, and in some cases can be there or not there or perhaps be relocated for example from the bottom of the screen to the side. So my question is, is there any way to check what other windows are occupying what space on the screen at launch time for my app? If there is a solution, is it general or do I have to make it platform-specific? TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From benr_mc at cogapp.com Fri Feb 21 06:39:01 2003 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri Feb 21 06:39:01 2003 Subject: Combo-box/popup menu in a list field? In-Reply-To: Message-ID: on 20/2/03 6:21 pm, valetia at mac.com wrote > How do you create a combo-box/popup menu that appears *inside* a scrolling > list field? > > Specifically one that appears on each line of a certain column (the list > field has vGrid set to true)? Depending just what you want - most probably Ken's suggestion is best (instead of a scrolling field, use a scrolling group, with multiple popup menu buttons, one for each line). But it's possible that your requirement is more like the one I had recently; I wanted the same menu to appear on each line, but only when the user clicks. For this you have a hidden popup menu button somewhere on the card, and use the 'popup' command to make it appear in the right place when the user clicks. Even if you want the appearance of the menu control (something with a little triangle on it, for example) to appear on every line, it might be easiest to use an image for that, which can be part of the 'text' of the scrolling field, and then have a single menu which you popup on command, rather than having to clone the menu button for each line. Note that, AFAIK, there's no way for the handler which issues the 'popup' command to get the results of the popup, without cooperation from the menu button. IE if you have to script the menu button (in a 'menupick' handler) to either know what it should do, or send the message on to the field or wherever else you're handling things. Jeanne - I think this is an area which could be better covered in the docs, specifically the entry in the transcript dictionary for the 'popup' command. It explains how to popup either a button menu or stack - but doesn't tell you where the result of the user's selection ends up. I had to hunt around to figure out the answer in each case (and of course the answer is different for button menus and stack menus). (One of the recipes in the new cookbook mentions the answer for the button case.) Scott, if you're reading - it would be a tremendous shortcut if there was a mode of the 'popup' command that made it behave like the 'modal' command - so a handler (somewhere) could issue a 'popup' command and in the following statement test the result to find out what the user selected. 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 valetia at mac.com Fri Feb 21 07:36:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Fri Feb 21 07:36:01 2003 Subject: Combo-box/popup menu in a list field? In-Reply-To: Message-ID: Hi Ben, Your method sounds exactly like what I had actually tried to accomplish (display a popup at a specific location per line). However, I did run into a problem (still unsolved) that perhaps you know the answer to. It's also why I had posted an earlier message (to which there have not been any replies) regarding the strange behavior of clickChunk with list fields. Here's what I had posted in that earlier message: "When the listBehavior of a field is set to true, it seems the clickChunk returns the hilitedLine instead...(could this be a bug?) "How do you get the "actual" clickChunk then?" So a related question would be, with the method you just described, do you use the clickChunk to determine the location of the click, or something else? > Note that, AFAIK, there's no way for the handler which issues the 'popup' > command to get the results of the popup, without cooperation from the menu > button. IE if you have to script the menu button (in a 'menupick' handler) > to either know what it should do, or send the message on to the field or > wherever else you're handling things. Right. Now...how then should I get the popup button to know which line I'm activating the popup from? Valetia From Doug_Ivers at lord.com Fri Feb 21 07:40:01 2003 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Fri Feb 21 07:40:01 2003 Subject: auto size of a group Message-ID: It seems like there should be an option for groups that says, "my size is the minimum rectangle that contains my visible members" (as opposed to a fixed size). The current behavior is counter-intuitive for me, but I've adapted to it. It would be nice to have the option. -- D From Doug_Ivers at lord.com Fri Feb 21 07:59:01 2003 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Fri Feb 21 07:59:01 2003 Subject: Size of build and minimization thereof Message-ID: As files on the hard drive, the audio clip is 12k, the jpeg is 72k. -- D > -----Original Message----- > From: Scott Rossi [mailto:scott at tactilemedia.com] > Sent: Thursday, February 20, 2003 10:44 AM > To: use-revolution at lists.runrev.com > Subject: Re: Size of build and minimization thereof > > > Recently, Ivers, Doug E wrote: > > > I'm surprised that my stack unbuilt is 920kb -- what can I > do to dramatically > > reduce that? I only have one jpeg image and one audio > file, no other > > resources. > > How much space do your raw files (JPEG and audio file) occupy on the > desktop? > > Regards, > > Scott Rossi > Creative Director > > Tactile Media, Multimedia & Design > Email: scott at tactilemedia.com > Web: www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Doug_Ivers at lord.com Fri Feb 21 09:14:01 2003 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Fri Feb 21 09:14:01 2003 Subject: newbies: beware script locals Message-ID: Maybe everyone already knows this, but script locals can cause major frustration when debugging... I love script locals, those local declarations at the top of your script outside of all handlers: local myLocalVariable on openStack put 7 into myLocalVariable ... end openStack on mouseUp ... end mouseUp I use them a lot in my top level script. They are great because I don't have to declare them in each handler and they are "safer" than globals, if you know what I mean. The caution is that whenever you edit the script, the value of the local goes away. -- D From kkaufman at snet.net Fri Feb 21 09:49:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Fri Feb 21 09:49:01 2003 Subject: Rough day on the Revolution front Message-ID: <085D86DC-45AB-11D7-868C-0003936D1F12@snet.net> It bears occasional repetition since I had so many problems (bad saves, sudden quits, hangs) with RR until I realized where the fault lay: Revolution 1.1 does not like long stack file names (on Mac OS X anyway, and perhaps also on Mac OS 9). Try to keep the names of stacks to less than 24 characters long (the number is arbitrary; I don't know where you start to have problems, but I assume maybe around 30-34 chars.) HTH, Kurt From kray at sonsothunder.com Fri Feb 21 09:50:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Feb 21 09:50:01 2003 Subject: Ken's recent bad day. References: Message-ID: <002701c2d9b7$edae9780$6601a8c0@LightningFlash> > > I have not reported this because (a) I am waiting to see whether it > > is fixed in v2.5 and (b) I can work around the problem by making a > > card the current card before trying to access its controls via the AO. > ---------- > At least I'm not alone with some anamolies. > > Version 2.5? You mean 2.0 right? Rev hasn't said anything about a version > 2.5 AFAIK. I believe Rob was talking about the MetaCard engine under Rev 2.0 (which is MetaCard 2.5). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From rcozens at pon.net Fri Feb 21 10:49:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Fri Feb 21 10:49:01 2003 Subject: Ken's recent bad day. In-Reply-To: <002701c2d9b7$edae9780$6601a8c0@LightningFlash> References: <002701c2d9b7$edae9780$6601a8c0@LightningFlash> Message-ID: >I believe Rob was talking about the MetaCard engine under Rev 2.0 (which is >MetaCard 2.5). Ken, et al: Did I dream up Kevins' message here or on the improve-rev list a couple of months ago saying the next release would be 2.5 instead of 2.0? I saw (but didn't read) a thread about the cost to update from 2.0 to 2.5 within the last few weeks. Was that about something else? -- Rob Cozens Vive R Revolution! From rcozens at pon.net Fri Feb 21 12:29:00 2003 From: rcozens at pon.net (Rob Cozens) Date: Fri Feb 21 12:29:00 2003 Subject: ClickCalendar Update 20030221 Message-ID: Hi All, ClickCalendar Update 20030221 is now available at http://www.oenolog.com/ftp/serendipity_downloader.htm [ClickCalendar.rev.sgz] The preOpenBackground handler for the ClickCalendar group in the last update included a reference to a field ("Documentation") that is not part of the group. You an eliminate the problem by commenting out line one of the group's preOpenBackground handler or downloading & decompressing the new update. Note: bundled files have NOT been updated. Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From alrice at arcplanning.com Fri Feb 21 12:55:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Feb 21 12:55:01 2003 Subject: safe shell command In-Reply-To: Message-ID: <12412B4B-45C5-11D7-8B32-000393529642@arcplanning.com> On Thursday, February 20, 2003, at 11:18 PM, Richard K. Herz wrote: > My understanding is that you need to get the path to the directory > where your exe is, e.g., from parsing "get the long name of this > stack", and then have the shell "cd" to that directory before running > the exe. This is what the script I sent does. The path to the > directory the exe is in gMyappPath originally. I'm probably missing something, but I don't think that is necessary. shell() runs from the defaultFolder, and the only time the defaultFolder is not equal to the path of the main stack, is when you running in development platform, and in that case you can just fix up the defaultFolder property. So you don't need to cd to a path to execute a shell command, unless the command is actually located in an entirely different directory. I just tested this on Windows2K Pro and it works as I described. Maybe it doesn't work on all versions of windows? The reason I want to avoid doing it that way (cd-ing) is that I don't know enough about windows to trust the Windows shell interpreter to use the same exact pathnames & volume names as Runrev is using with the long name of the stack. On Mac OS X, Revolution and Javascript represent volume names differently sometimes, (always?) and so it makes it a really tricky problem to tell javascript to cd before executing a shell() command. (all of which hopefully will go away when Rev gets a real shell() on OS X) However, I am just afraid there could be something similar going on in windows. Probably just being paranoid. But at the very least you are executing an extra command, no? [cc: ing to the list to see if my understanding is correct.] Thanks again, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From alrice at arcplanning.com Fri Feb 21 13:11:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Feb 21 13:11:01 2003 Subject: auto size of a group In-Reply-To: Message-ID: <595002F4-45C7-11D7-8B32-000393529642@arcplanning.com> On Friday, February 21, 2003, at 05:36 AM, Ivers, Doug E wrote: > It seems like there should be an option for groups that says, "my size > is the minimum rectangle that contains my visible members" (as opposed > to a fixed size). The current behavior is counter-intuitive for me, > but I've adapted to it. It would be nice to have the option. You can actually do that scripting pretty easily. See formattedHeight and formattedWidth set the htmlText of fld "summaryReportItems" \ to tSummaryItemsHtml set the height of fld "summaryReportItems" \ to the formattedHeight of fld "summaryReportItems" Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From pixelbird at interisland.net Fri Feb 21 13:24:00 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Feb 21 13:24:00 2003 Subject: Why doesn't a stack open with the UI In-Reply-To: <200302210815.DAA13633@www.runrev.com> Message-ID: ********** > Date: Thu, 20 Feb 2003 22:47:04 -0800 > Subject: Re: Why doesn't a stack open with the UI > From: Scott Rossi > It sounds like you're running your stack under the Rev engine only (not the > development environment). In MetaCard, it is standard behavior that double > clicking a stack will launch the stack without the dev environment -- Rev > may work similarly. ---------- That's right. Why is it like that? If I open a stack out of a folder which is _not_ a standalone, the UI does not open with it. Even if I close , or even if I leave it open and click on the Rev app in Rev's own folder, the UI refuses to open. IMHO, if a stack is not a standalone, then it should open with the UI, or at least have it available, and also, you should be able to quit Rev, but you can't. ---------- > Also, to close a "work in progress" stack that has no UI, simply click the > closebox on the window -- this will quit the app. ---------- No. Not true. Clicking the close box only hides it, it does not quit Rev. Look in the Application Menu in the upper right corner, and you will see Rev is still there, loaded into memory, but just hidden. At least that's how it is here, honest. ---------- > If the window has no > closebox, you can force-quit the MC/Rev app, without having to restart ---------- How is that (could be a procedure I don't know about)? Thanks for your patience...I'm a little frustrated with Rev right now. Ken N. From pixelbird at interisland.net Fri Feb 21 13:31:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Feb 21 13:31:01 2003 Subject: Backup tools (was 'Rough day on the Revolution front') In-Reply-To: <200302210815.DAA13633@www.runrev.com> Message-ID: ********** > From: "Chipp Walters" > Subject: RE: Rough day on the Revolution front > Date: Fri, 21 Feb 2003 02:09:05 -0600 snip > My AltArchive plugin does not auto save every XX minutes. It's used to > create incremental backups. The SmartSave plugin from Frederic Rinaldi is: > > "A plugin stack which brings you an elegant autosave feature for stacks and > their substacks on choosen time interval." > > It can be found at: > > http://perso.wanadoo.fr/frederic.rinaldi/ ---------- Thanks for clearing that up. So how, exactly does yours do it. i.e., what constitutes an "increment"? Ken N. From miscdas at boxfrog.com Fri Feb 21 13:40:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Fri Feb 21 13:40:01 2003 Subject: auto size of a group In-Reply-To: References: Message-ID: <20030221183843.99686.qmail@www.boxfrog.com> Ivers, Doug E writes: > It seems like there should be an option for groups that says, "my size is the minimum rectangle that contains my visible members" (as opposed to a fixed size). The current behavior is counter-intuitive for me, but I've adapted to it. It would be nice to have the option. > > -- D ================ Mr. Ivers, Could you please elaborate on this lack of auto size feature for groups in Rev? In MC 2.4.3 on WIN XP pro, my groups automatically resize when I change the visible property of controls in the group. For example, if I have three fields in a group stacked vertically, and each field is of a different width, then when I set the visible of the highest field to false, the height of my group automatically drops to enclose the remaining two visible fields (plus, of course, a few pixels around that defines the group area). Similarly, if I set the visible of the widest field to false, then the width of group automatically reduces to a width sufficient to display the widest visible field. Likewise, when I set the visible of these fields back to true, the group auto resizes to a larger size and displays all of the visible controls. miscdas From scott at tactilemedia.com Fri Feb 21 13:57:02 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Feb 21 13:57:02 2003 Subject: Size of build and minimization thereof In-Reply-To: Message-ID: Recently, "Ivers, Doug E" wrote: >> How much space do your raw files (JPEG and audio file) occupy on the >> desktop? > As files on the hard drive, the audio clip is 12k, the jpeg is 72k. Then there's probably something odd going on. Try creating a new empty stack and importing your media. See if the fresh stack size is any different than your original. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From pixelbird at interisland.net Fri Feb 21 14:01:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Feb 21 14:01:01 2003 Subject: Rough day on the Revolution front In-Reply-To: <200302211704.MAA23721@www.runrev.com> Message-ID: ********** > Date: Fri, 21 Feb 2003 09:44:51 -0500 > Subject: Rough day on the Revolution front > From: Kurt Kaufman > It bears occasional repetition since I had so many problems (bad saves, > sudden quits, hangs) with RR until I realized where the fault lay: > Revolution 1.1 does not like long stack file names (on Mac OS X anyway, > and perhaps also on Mac OS 9). Try to keep the names of stacks to less > than 24 characters long (the number is arbitrary; I don't know where > you start to have problems, but I assume maybe around 30-34 chars.) ---------- Thanks Kurt, Long names are not a factor in this case, but thanks for the tip, it's good to know. Ken N. From pixelbird at interisland.net Fri Feb 21 14:07:02 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Feb 21 14:07:02 2003 Subject: RR/MC version mixup (was'Re: Ken's recent bad day.') In-Reply-To: <200302211704.MAA23721@www.runrev.com> Message-ID: ********** > From: "Ken Ray" > Subject: Re: Ken's recent bad day. > Date: Fri, 21 Feb 2003 08:45:45 -0600 >>> I have not reported this because (a) I am waiting to see whether it >>> is fixed in v2.5 and (b) I can work around the problem by making a >>> card the current card before trying to access its controls via the AO. >> ---------- >> At least I'm not alone with some anamolies. >> >> Version 2.5? You mean 2.0 right? Rev hasn't said anything about a version >> 2.5 AFAIK. > > I believe Rob was talking about the MetaCard engine under Rev 2.0 (which is > MetaCard 2.5). ---------- Oh. OK. MC wasn't mentioned so I didn't think (sorry Rob). Thanks for the heads-up. Now I know if something like that happens, the poster may be referring to the MC engine. Ken N. From pixelbird at interisland.net Fri Feb 21 14:22:00 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Feb 21 14:22:00 2003 Subject: RR/MC mixup (was 'Ken's recent bad day') In-Reply-To: <200302211704.MAA23721@www.runrev.com> Message-ID: ********** > From: "Ken Ray" > Subject: Re: Ken's recent bad day. > Date: Fri, 21 Feb 2003 08:45:45 -0600 > >>> I have not reported this because (a) I am waiting to see whether it >>> is fixed in v2.5 and (b) I can work around the problem by making a >>> card the current card before trying to access its controls via the AO. >> ---------- >> At least I'm not alone with some anamolies. >> >> Version 2.5? You mean 2.0 right? Rev hasn't said anything about a version >> 2.5 AFAIK. > > I believe Rob was talking about the MetaCard engine under Rev 2.0 (which is > MetaCard 2.5). ---------- I seem to remember a similar mixup back then as well. Can we get a definitive list of which RR versions use which MC engines? Ken N. From jacque at hyperactivesw.com Fri Feb 21 14:26:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Feb 21 14:26:01 2003 Subject: Why doesn't a stack open with the UI In-Reply-To: References: Message-ID: <3E5676B1.1080500@hyperactivesw.com> On 2/21/03 12:24 PM, Ken Norris (dialup) wrote: > That's right. Why is it like that? If I open a stack out of a folder which > is _not_ a standalone, the UI does not open with it. Even if I close , or > even if I leave it open and click on the Rev app in Rev's own folder, the UI > refuses to open. > > IMHO, if a stack is not a standalone, then it should open with the UI, or at > least have it available, and also, you should be able to quit Rev, but you > can't. The behavior is intentional and useful. To see how your stack will run without the development environment, you can double-click it in the Finder and it will run exactly as it would if you had compiled it as an app. This is very useful, and is still the only way to preview a stack application in MetaCard. Revolution added the "Suspend Development UI" option to its menus to accomplish the same thing. Since the behvior is directly coded into the engine, it is unlikely to change and can't be avoided -- and a discussion on the MC list a while back indicated that most people don't want it to. However, as a response to that discussion, MetaCard added an option where Command-clicking a stack in the Finder will open the stack with the development environment loaded, which allows you to choose how it will open. The default behavior of the engine is to quit when the last window is closed. If you are still seeing Revolution in your application menu after closing the last visible window, then you probably have an invisible stack open somewhere. If you plan to open your stack from the Finder often, then it might be a good idea to insert a handler into the visible stack that closes all other stacks at the same time the visible one closes. Then Rev will quit. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From janschenkel at yahoo.com Fri Feb 21 15:02:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Feb 21 15:02:01 2003 Subject: Combo-box/popup menu in a list field? In-Reply-To: Message-ID: <20030221195822.16688.qmail@web11904.mail.yahoo.com> > Okay, I quickly created a GeoCities webpage ; and > here's the link everybody interested can download > it directly from : > > http://www.geocities.com/janschenkel/downloads/checkboxlist.zip I just uploaded a new version, which should fix a few issues I bumped into when I wanted to review it on my PowerBook. It should also be a bit easier to use. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From herz at ucsd.edu Fri Feb 21 15:06:01 2003 From: herz at ucsd.edu (Richard K. Herz) Date: Fri Feb 21 15:06:01 2003 Subject: safe shell command References: <12412B4B-45C5-11D7-8B32-000393529642@arcplanning.com> Message-ID: <001e01c2d9e4$1832f9c0$58bfef84@rkhpc1> On Friday, February 21, 2003 9:51 AM, Alex Rice wrote: > On Thursday, February 20, 2003, at 11:18 PM, Richard K. Herz wrote: > > > My understanding is that you need to get the path to the directory > > where your exe is, e.g., from parsing "get the long name of this > > stack", and then have the shell "cd" to that directory before running > > the exe. This is what the script I sent does. The path to the > > directory the exe is in gMyappPath originally. > > I'm probably missing something, but I don't think that is necessary. > shell() runs from the defaultFolder, and the only time the > defaultFolder is not equal to the path of the main stack, is when you > running in development platform, and in that case you can just fix up > the defaultFolder property. So you don't need to cd to a path to > execute a shell command, unless the command is actually located in an > entirely different directory. Testing now with MC on Win XP, it does look like the cmd.exe shell's default directory is the same as Rev/MC (engine's location or by setting "the directory"). For example, start Rev/MC and from the msg box, answer shell("dir") lists the contents of the directory where the Rev/MC engine is located and answer shell("dir ..\") lists the directory above. So you're right, you don't have to shell cd with the complete path to the exe to "start" the exe as I did in my original script, just "start" it with a relative name, e.g., get shell("start \appfolder\app.exe") for an exe in folder "appfolder" below the current Rev/MC default directory. If I'm understanding you right, a shell cd with the full pathname has problems of potential path differences between Rev/MC and Windows. Rich Herz herz at ucsd.edu From yvescoppe at skynet.be Fri Feb 21 15:15:00 2003 From: yvescoppe at skynet.be (yves COPPE) Date: Fri Feb 21 15:15:00 2003 Subject: pathway Message-ID: Hi without answer, I ask my question again : Hi, I experimented something strange : on Mac OS jaguar X.2.4 with Rev 1.1.1 I have a list fld each line gives a name of a textfile when I click on a line, the script build a pathway to the file to open it (it's a text file) sometimes I works well, sometimes I get an error "the file doesn't exist" Each text file is in a folder So I find now that when the name of the folder is too long (I mean the length or the number of chars of the name of the folder), it doesn't run Does it means that rev cannot handle long name file ??? It's very big problem for me because this stack is build to retrieve textfiles and I may not change the name of the folder in which the textfile is nested. any idea ???? -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From dan at clearvisiontech.com Fri Feb 21 15:16:01 2003 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri Feb 21 15:16:01 2003 Subject: Getting a chunk of stylized text? In-Reply-To: <200302211704.MAA23746@www.runrev.com> Message-ID: Fellow Revolutionaries, Let's say field A contains more text than can fit in it. The text in field A contains multiple fonts, styles and sizes. How can I get the stylized text that is not being displayed? (and remove it from field A and put it into field B) I tried messing with the formattedHeight and formattedLines functions, but I can't seem to get it to find the correct text. What I think I need to do, some how, is get the formattedTop of a line of the formattedText. But you can't do that. Any thoughts? Thank you in advance, Dan From jperryl at ecs.fullerton.edu Fri Feb 21 15:39:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri Feb 21 15:39:01 2003 Subject: use-revolution digest, Vol 1 #1140 - 4 msgs In-Reply-To: Message-ID: or, launch terminal and type: ps -aurx|head This brings up all your current processes. Look for the one associated with Rev, note its PID and then type kill -9 [PID] <-- where PID is the number itself; no brackets. Judy -- who's obviously had to do this on occasion. On Fri, 21 Feb 2003, yves COPPE wrote: > And on Mac OS X : > alt+apple+esc From alrice at arcplanning.com Fri Feb 21 15:54:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Feb 21 15:54:01 2003 Subject: safe shell command In-Reply-To: <001e01c2d9e4$1832f9c0$58bfef84@rkhpc1> Message-ID: On Friday, February 21, 2003, at 01:02 PM, Richard K. Herz wrote: > If I'm understanding you right, a shell cd with the full pathname has > problems of > potential path differences between Rev/MC and Windows. > I'm not sure about that. Just being paranoid :-) I encountered that problem on OS X with Rev <-> Javascript <-> shell commands. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From pixelbird at interisland.net Fri Feb 21 16:04:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Feb 21 16:04:01 2003 Subject: Why doesn't a stack open with the UI In-Reply-To: <200302212018.PAA31264@www.runrev.com> Message-ID: ********** > Date: Fri, 21 Feb 2003 12:57:53 -0600 > From: "J. Landman Gay" > Subject: Re: Why doesn't a stack open with the UI > Command-clicking a stack in the Finder > will open the stack with the development environment loaded, which > allows you to choose how it will open. ---------- I thought I tried that. Maybe it's exclusive to MC? I'll check a gain. ---------- > The default behavior of the engine is to quit when the last window is > closed. If you are still seeing Revolution in your application menu > after closing the last visible window, then you probably have an > invisible stack open somewhere. ---------- I don't see how that can be so. I restarted the computer and went to the stack, opened it (without the UI) and it still wouldn't quit. How could there be another stack open if I restarted? ---------- > If you plan to open your stack from the > Finder often, then it might be a good idea to insert a handler into the > visible stack that closes all other stacks at the same time the visible > one closes. Then Rev will quit. ---------- OK. Thanks. Ken N. From depstein at att.net Fri Feb 21 16:16:01 2003 From: depstein at att.net (depstein at att.net) Date: Fri Feb 21 16:16:01 2003 Subject: Getting a chunk of stylized text? Message-ID: <200302212115.QAA01201@www.runrev.com> There are probably faster ways to do this, but try this: function extraText f -- returns the htmlText that overflows size of fld f -- and deletes it from field f repeat with c = 1 to length(fld f) if the formattedHeight of char 1 to c of fld f > the height of fld f then put the htmlText of char c to -1 of fld f into myHtml delete char c to -1 of fld f return myHtml end if end repeat return empty end extraText David Epstein > Getting a chunk of stylized text? > From: Dan Friedman ... > Let's say field A contains more text than can fit in it. The text in field > A contains multiple fonts, styles and sizes. How can I get the stylized > text that is not being displayed? (and remove it from field A and put it > into field B) From kray at sonsothunder.com Fri Feb 21 16:41:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Feb 21 16:41:01 2003 Subject: safe shell command References: Message-ID: <003901c2d9f1$9c365f70$6f00a8c0@mckinley.dom> Here's the full scoop: 1) The default path starts in the Rev directory (or wherever the MC interpreter is running ). Let's say "C:\Program Files\Revolution\". 2) If you want to launch something in that directory, you just need to provide the relative path (as Richard mentioned). 3) If you want to launch something in another directory, but *on the same drive*, you can "cd" to the directory and use "start" on the item in the directory, concatenated with a "&", as in: cd c:\program files\microsoft office\office10 & start winword.exe 4) If you want to launch something *on another drive*, you have to do it in three stages: "cd" to the drive itself (optionally including the drive letter), then "cd" to the directory, then "start" the file, as in: cd i:\ & cd i:\mystuff\launchfiles & start MyApp.exe Just trying this: cd i:\mystuff\launchfiles & start MyApp.exe when you're on the "C:" drive just won't work. Hope this clears things up, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Alex Rice" To: "Richard K. Herz" Cc: Sent: Friday, February 21, 2003 2:49 PM Subject: Re: safe shell command > > On Friday, February 21, 2003, at 01:02 PM, Richard K. Herz wrote: > > If I'm understanding you right, a shell cd with the full pathname has > > problems of > > potential path differences between Rev/MC and Windows. > > > I'm not sure about that. Just being paranoid :-) I encountered that > problem on OS X with Rev <-> Javascript <-> shell commands. > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > alrice at ARCplanning.com > alrice at swcp.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From miscdas at boxfrog.com Fri Feb 21 17:20:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Fri Feb 21 17:20:01 2003 Subject: safe shell command In-Reply-To: <001e01c2d9e4$1832f9c0$58bfef84@rkhpc1> References: <12412B4B-45C5-11D7-8B32-000393529642@arcplanning.com> <001e01c2d9e4$1832f9c0$58bfef84@rkhpc1> Message-ID: <20030221221841.3897.qmail@www.boxfrog.com> Richard K. Herz writes: > On Friday, February 21, 2003 9:51 AM, Alex Rice wrote: > >> On Thursday, February 20, 2003, at 11:18 PM, Richard K. Herz wrote: >> >> > My understanding is that you need to get the path to the directory >> > where your exe is, e.g., from parsing "get the long name of this >> > stack", and then have the shell "cd" to that directory before running >> > the exe. This is what the script I sent does. The path to the >> > directory the exe is in gMyappPath originally. >> >> I'm probably missing something, but I don't think that is necessary. >> shell() runs from the defaultFolder, and the only time the >> defaultFolder is not equal to the path of the main stack, is when you >> running in development platform, and in that case you can just fix up >> the defaultFolder property. So you don't need to cd to a path to >> execute a shell command, unless the command is actually located in an >> entirely different directory. > > Testing now with MC on Win XP, it does look like the cmd.exe shell's default > directory is the same as Rev/MC (engine's location or by setting "the > directory"). For example, start Rev/MC and from the msg box, answer > shell("dir") lists the contents of the directory where the Rev/MC engine is > located and answer shell("dir ..\") lists the directory above. So you're > right, you don't have to shell cd with the complete path to the exe to > "start" the exe as I did in my original script, just "start" it with a > relative name, e.g., get shell("start \appfolder\app.exe") for an exe in > folder "appfolder" below the current Rev/MC default directory. If I'm > understanding you right, a shell cd with the full pathname has problems of > potential path differences between Rev/MC and Windows. > > Rich Herz > herz at ucsd.edu > ========== I suspect the reason you are able to "shell out" is due to the PATH environment variable. For those not familiar with DOS, if you type PATH at the DOS prompt, a string is displayed that is the "search path" for commands. Usually, but DEFINITELY not always, it includes C:\windowS\system32 Note that this is the default directory for cmd.exe in WIN XP. Therefore, simply invoking the SHELL command from MC results in the PATH search locating and launching cmd.exe miscdas From chipp at chipp.com Fri Feb 21 17:23:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Fri Feb 21 17:23:01 2003 Subject: RR/MC mixup (was 'Ken's recent bad day') In-Reply-To: Message-ID: I've been following this thread, and agree it's sometimes confusing. My plugin suite at: http://www.altuit.com/webs/altuit2/RunRev/NewPlugins.htm Prints to the message box when RR launches the following: RunRev version: 1.5 A1 r1 MetaCard engine version: 2.4.2 Build Number: 2 it does this with the following function: on answerVersion if exists(stack "revMenuBar") then put "RunRev version: " & revAppVersion() & return & "MetaCard engine version: " & the version & return & "Build Number: " & the buildNumber into theMsg else put "MetaCard engine version: " & the version & return & "Build Number: " & the buildNumber into theMsg end if put theMsg end answerVersion Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Norris > (dialup) > Sent: Friday, February 21, 2003 1:22 PM > To: use-revolution at lists.runrev.com > Subject: Re: RR/MC mixup (was 'Ken's recent bad day') > > > ********** > > From: "Ken Ray" > > Subject: Re: Ken's recent bad day. > > Date: Fri, 21 Feb 2003 08:45:45 -0600 > > > > >>> I have not reported this because (a) I am waiting to see whether it > >>> is fixed in v2.5 and (b) I can work around the problem by making a > >>> card the current card before trying to access its controls via the AO. > >> ---------- > >> At least I'm not alone with some anamolies. > >> > >> Version 2.5? You mean 2.0 right? Rev hasn't said anything > about a version > >> 2.5 AFAIK. > > > > I believe Rob was talking about the MetaCard engine under Rev > 2.0 (which is > > MetaCard 2.5). > ---------- > I seem to remember a similar mixup back then as well. > > Can we get a definitive list of which RR versions use which MC engines? > > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From Doug_Ivers at lord.com Fri Feb 21 17:27:01 2003 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Fri Feb 21 17:27:01 2003 Subject: auto size of a group Message-ID: I do Mac OS X. I haven't done much regarding the visible prop, but when I manually resize (by dragging one of the 8 handles) a control that is in a group to beyond the group rect, the portion of the control outside the group rect is not visible and the group doesn't resize automatically. -- D > -----Original Message----- > From: miscdas at boxfrog.com [mailto:miscdas at boxfrog.com] > Sent: Friday, February 21, 2003 1:39 PM > To: use-revolution at lists.runrev.com > Subject: Re: auto size of a group > > > Ivers, Doug E writes: > > > It seems like there should be an option for groups that > says, "my size is the minimum rectangle that contains my > visible members" (as opposed to a fixed size). The current > behavior is counter-intuitive for me, but I've adapted to it. > It would be nice to have the option. > > > > -- D > ================ > Mr. Ivers, > > Could you please elaborate on this lack of auto size feature > for groups in > Rev? In MC 2.4.3 on WIN XP pro, my groups automatically > resize when I change > the visible property of controls in the group. For example, > if I have three > fields in a group stacked vertically, and each field is of a > different > width, then when I set the visible of the highest field to > false, the height > of my group automatically drops to enclose the remaining two > visible fields > (plus, of course, a few pixels around that defines the group area). > Similarly, if I set the visible of the widest field to false, > then the width > of group automatically reduces to a width sufficient to > display the widest > visible field. Likewise, when I set the visible of these > fields back to > true, the group auto resizes to a larger size and displays all of the > visible controls. > > miscdas > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Fri Feb 21 18:02:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Feb 21 18:02:01 2003 Subject: Why doesn't a stack open with the UI In-Reply-To: References: Message-ID: <3E56AF1C.7040900@hyperactivesw.com> On 2/21/03 3:04 PM, Ken Norris (dialup) wrote: >>Command-clicking a stack in the Finder >>will open the stack with the development environment loaded, which >>allows you to choose how it will open. > > ---------- > I thought I tried that. Maybe it's exclusive to MC? It may be, for now. I think it was added after Rev 1.1.1 was released, so won't show up until Rev 2.0. >>The default behavior of the engine is to quit when the last window is >>closed. If you are still seeing Revolution in your application menu >>after closing the last visible window, then you probably have an >>invisible stack open somewhere. > > ---------- > I don't see how that can be so. I restarted the computer and went to the > stack, opened it (without the UI) and it still wouldn't quit. How could > there be another stack open if I restarted? An open substack, maybe? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From miscdas at boxfrog.com Fri Feb 21 18:16:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Fri Feb 21 18:16:01 2003 Subject: auto size of a group In-Reply-To: References: Message-ID: <20030221231416.8380.qmail@www.boxfrog.com> Ivers, Doug E writes: [snip} > I do Mac OS X. I haven't done much regarding the visible prop, but when I manually resize (by dragging one of the 8 handles) a control that is in a group to beyond the group rect, the portion of the control outside the group rect is not visible and the group doesn't resize automatically. > > > -- D ========= This also seems odd to me. With MC On WIN XP, I edit controls in a group by clicking the group, then from the Group Properties selecting Edit. Then use the handles to drag a control to a new size. Exit editing via the menu selection Edit\Stop editing BG. My Group auto resizes to match the resized control. In fact, using a stack of width 256, I dragged a control beyond the stack edge, then exited group edit mode. I checked the width of the group and it was indeed larger (394) than the stack width (256). So, even when the control size exceeded the size of the stack, the group still auto sized to accomodate the new size of the control. miscdas From mphasak at hotmail.com Fri Feb 21 19:00:01 2003 From: mphasak at hotmail.com (Michael Hasak) Date: Fri Feb 21 19:00:01 2003 Subject: can't import from file in OSX? Message-ID: The source of my extreme bafflement is the code snippet below. I believe this is the proper way to read text from a file and have it accessible in a text field, but I don't see any sign that the file read has occured, and defintely don't get the text in my field. The first two lines are commented out, previous attempts; the current attempt is the last two lines. None of them have worked. --put URL "file:~/Desktop/radmindgui/ps_output" into field theOutput --set the text of field theOutput to the text of URL "file:/etc/bashrc" put "/Users/guest/Desktop/radmindgui/ps_output" into theFile get the fifth line of URL "file:/Users/guest/Desktop/radmindgui/ps_output" put it into field theOutput I tried this with an http URL, and it worked fine. The files in question have been checked for the proper permissions (world-readable). I even tried creating a new stack and testing the code in there. Don't see any clues from previous posts to the list. Can anyone see what I'm doing wrong? Thanks, Mike H _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From bvg at mac.com Fri Feb 21 22:21:01 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri Feb 21 22:21:01 2003 Subject: can't import from file in OSX? In-Reply-To: Message-ID: <0DC4BFDF-4614-11D7-81C8-003065AD94A4@mac.com> On Samstag, Feb 22, 2003, at 00:55 Europe/Zurich, Michael Hasak wrote: > ... > --put URL "file:~/Desktop/radmindgui/ps_output" into field theOutput wrong path: no tilde, and desktop must be something like this (asuming OS X) : put url "file:users/username/desktop/radmingui/ps_output" into field "theOutput" check also the the "specialFolderPath" property if you do not know the user of the desktop. > --set the text of field theOutput to the text of URL "file:/etc/bashrc" an url has no text: set the text of field "theOutput" to URL "file:/etc/bashrc" alternative (simpler) form: put URL "file:/etc/bashrc" into field "theOutput" > put "/Users/guest/Desktop/radmindgui/ps_output" into theFile puts it as a string, so theFile contains just the path to your file. Use the URL form: put URL "file:/Users/guest/Desktop/radmindgui/ps_output" into theFile > get the fifth line of URL > "file:/Users/guest/Desktop/radmindgui/ps_output" > put it into field theOutput hmm... this should work as far as I see it... maybe there are no five lines in that file? maybe wanna quote the field name (for excluding all possible errors): put it into field "theOutput" > > I tried this with an http URL, and it worked fine. The files in > question have been checked for the proper permissions > (world-readable). I even tried creating a new stack and testing the > code in there. Don't see any clues from previous posts to the list. > > Can anyone see what I'm doing wrong? well 3 of 4 isn't that bad :) From gwills at ozemail.com.au Sat Feb 22 01:54:01 2003 From: gwills at ozemail.com.au (Greg Wills) Date: Sat Feb 22 01:54:01 2003 Subject: Button images script In-Reply-To: <200302171702.MAA20089@www.runrev.com> References: <200302171702.MAA20089@www.runrev.com> Message-ID: Thanks Jim, this works beautifully. I may however end up playing with the images to get them how I want them before I put them into the substack. Yet to be decided. I noticed that the images in the substack are also resized, but when you re-open the stacks, all the images (and button images - but not buttons) are back to their original size. (I ran the script from a button and not a preopen card script.) For what I want to do this seems a bit of unnecessary processing as they would have to be resized every time the stack was opened. Do you think locking "size and position" (of the image) after the image have been scaled would stop this? (But then again I can see the advantage in having a larger image to size as needed in different options within a stack - as I think aloud). Thanks for sharing the script. It is helpful to see how others approach problems. cheers Greg >Greg, > >Here is a utility which I use to deal with buttons in the main stack >whose image icons are in a substack. It relieves you of the need of >setting to set the icon id and sizing the images and/or the buttons >all in one fell swoop. > >1) Put all the images on card 1 of the substack (mySubstack below.) >Don't worry about size or position, that will be taken care of >later. And resizing may distort the proportions. Doesn't matter if >they overlap. >2) Next go through the main stack (myStack below) and create buttons >with *the same name as the desired image in the substack* and in the >desired location on each card. Also adjust the size of the button to >the desired size of the eventual image. (Actually only the width >matters. The height will be adjusted to avoid distorting the image >proportions.) >3) Run setUp below from the main stack. All buttons will be assigned >icon numbers of the image corresponding to the button name and the >image in the substack is adjusted to fit within the button. And, as a >bonus, you get an image border. If you don't want the border just: >"set the showBorder of button tButtonName to "false." You can also >set the color and width of the border. You may want to tinker with >the edge number of ".98" below. >4) You can add images and button later if necessary and rerun "setUP". >5) Thanks to members of this list for help in developing this handler. > > > >On setUpRev > Lock screen > repeat with i =1 to the number of cards > set the defaultstack to "myStack > go to card i > repeat with j = 1 to the number of buttons > put the short name of button j into tButtonName > put the width of button j into theButtonWidth > set the defaultstack to "mySubstack > if there is an image tButtonName then > put the id of image tButtonName into tImageID > put the formattedWidth of image tButtonName into tImageWidth > Put the formattedHeight of image tButtonName into tImageHeight > put tImageHeight/tImageWidth into ratioOfHeightToWidth > set the width of image tButtonName to theButtonWidth*.98 -- >Leave an edge > set the height of image tButtonName to >theButtonWidth*ratioOfHeightToWidth*.98 > end if > set the defaultstack to "myStack" > set the icon of button j to tImageID > set the height of button tButtonName to >theButtonWidth*ratioOfHeightToWidth > end repeat > end repeat > unlock screen >end setUpRev > >Jim From jburtt at earthlink.net Sat Feb 22 02:07:01 2003 From: jburtt at earthlink.net (John) Date: Sat Feb 22 02:07:01 2003 Subject: Why doesn't a stack open with the UI In-Reply-To: <200302212018.PAA31264@www.runrev.com> References: <200302212018.PAA31264@www.runrev.com> Message-ID: Jacqueline, You said: >The behavior is intentional and useful. To see how your stack will run >without the development environment, you can double-click it in the >Finder and it will run exactly as it would if you had compiled it as an >app. I have found this to be not true. I rarely use this technique because the stack does not run exactly as it would as an app. The fonts are not correct (especially the font sizes). The ask and answer dialogs don't work. And I would assume the other rev library stuff (internet, geometry, animation, ect.) won't work as well. I don't add these libraries to the stack because the application builder hangs if they are already present in the stack. Until now, I've done without an easy way to run my stack as it would as an application (short of doing an actual build). What am I missing? I would appreciate any tips you can give... John From yvescoppe at skynet.be Sat Feb 22 06:38:01 2003 From: yvescoppe at skynet.be (yves COPPE) Date: Sat Feb 22 06:38:01 2003 Subject: Pathway Message-ID: Hi without answer, I ask my question again : I experimented something strange : on Mac OS jaguar X.2.4 with Rev 1.1.1 I have a list fld each line gives a name of a textfile when I click on a line, the script build a pathway to the file to open it (it's a text file) sometimes I works well, sometimes I get an error "the file doesn't exist" Each text file is in a folder So I find now that when the name of the folder is too long (I mean the length or the number of chars of the name of the folder), it doesn't run Does it means that rev cannot handle long name file ??? It's very big problem for me because this stack is build to retrieve textfiles and I may not change the name of the folder in which the textfile is nested. any idea ???? -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From ludovic.thebault at laposte.net Sat Feb 22 07:26:01 2003 From: ludovic.thebault at laposte.net (Ludovic Th=?ISO-8859-1?Q?=E9?=bault) Date: Sat Feb 22 07:26:01 2003 Subject: Pathway In-Reply-To: References: Message-ID: <20030222132132.13965A4%00000000@laposte.net> yves COPPE wrote: >Does it means that rev cannot handle long name file ??? Yes. >It's very big problem for me because this stack is build to retrieve >textfiles and I may not change the name of the folder in which the >textfile is nested. > >any idea ???? Wait for rev 2 final ? From rcozens at pon.net Sat Feb 22 10:24:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Sat Feb 22 10:24:01 2003 Subject: Grouped Group Anomalies Message-ID: Hi All, Can anyone tell me whether RunRev should be able to support placement of a grouped group on a card that does not contain the other controls in the larger group? Ie: I have Group A, which contains Group B + other controls. Is RunRev supposed to be able to place Group A (containing Group B) on some cards and Group B only on others? The Application Overview & stack seemed flaky when I did this, and the problems seem to have gone away since I removed Group B from Group A. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From jacque at hyperactivesw.com Sat Feb 22 12:54:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat Feb 22 12:54:00 2003 Subject: Why doesn't a stack open with the UI In-Reply-To: References: <200302212018.PAA31264@www.runrev.com> Message-ID: <3E57B84C.2050601@hyperactivesw.com> On 2/22/03 1:03 AM, John wrote: > Until now, I've done without an easy way to run my stack as it would as > an application (short of doing an actual build). What am I missing? Nothing. ;) All the things you mention do have to be accessible from the stack you are testing. I usually set the fonts and sizes within the stack so that hasn't been a problem for me. You'd have to add "start using" statements to access any libraries the stack needs. So there is a little extra work that has to happen if you want to test how the stack will run as an application before you actually build the app. Sometimes it is just easier to do an actual build for testing, but if you want to test repeatedly before you do the build then the extra work is reasonable. I've included ask/answer dialog stacks as substacks in my projects in the past and haven't had any trouble with the distribution builder. Did you remember to uncheck those options in the builder before you built the distribution? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pixelbird at interisland.net Sat Feb 22 13:30:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sat Feb 22 13:30:01 2003 Subject: Why doesn't a stack open with the UI In-Reply-To: <200302220655.BAA07558@www.runrev.com> Message-ID: ********** > Date: Fri, 21 Feb 2003 16:58:36 -0600 > From: "J. Landman Gay" > Organization: HyperActive Software > Subject: Re: Why doesn't a stack open with the UI > > On 2/21/03 3:04 PM, Ken Norris (dialup) wrote: > >>> Command-clicking a stack in the Finder >>> will open the stack with the development environment loaded, which >>> allows you to choose how it will open. >> >> ---------- >> I thought I tried that. Maybe it's exclusive to MC? > > It may be, for now. I think it was added after Rev 1.1.1 was released, > so won't show up until Rev 2.0. ---------- OK. I hope so. ---------- >>> The default behavior of the engine is to quit when the last window is >>> closed. If you are still seeing Revolution in your application menu >>> after closing the last visible window, then you probably have an >>> invisible stack open somewhere. >> >> ---------- >> I don't see how that can be so. I restarted the computer and went to the >> stack, opened it (without the UI) and it still wouldn't quit. How could >> there be another stack open if I restarted? > > An open substack, maybe? ---------- Maybe it has to do with something that happened. I made a stack with a substack, then tried to change the name. In the file folder it had the new name, but it kept showing up in the Rev File menu with the old name. I closed it and removed it, but it kept coming back with the old name. When I opened it, the title bar bore the old name as well, and I couldn't change it because the stack object was grayed out in the menu. Nothing I did would make the stack editable in any way I could think of. Finally, I just trashed it. To my amazement, when I opened the File menu to Recent, it showed the stack I just trashed, and I still couldn't edit it. I think I trashed it, too. None of this makes any sense to me at all. I'm still not sure what its state is, although it doesn't show up in the File menu anymore. Ken N. From steve at messimercomputing.com Sat Feb 22 13:31:00 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Sat Feb 22 13:31:00 2003 Subject: nested group question Message-ID: <4B53547F-4693-11D7-9DB6-000A27D75508@messimercomputing.com> Hi Rob, My experience with nested groups is that all groups that are part of the parent grp will be available on every card if bg behavior is enabled. However those groups don't have to be visible. I'll bet you could figure out a way to show and hide the groups you want displayed when you move from one card to another. I would probably use a custom property. Based upon its value have a script show one group or another or the control sets. Hope this helps. Regards, Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com From livfoss at blueyonder.co.uk Sat Feb 22 17:32:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sat Feb 22 17:32:00 2003 Subject: Visual effect anomaly Message-ID: I have a rectangular area on a card which is used to cover a number of objects. The cover can be 'opened' or 'closed' via a button with this toggle script: if the visible of cd grc "scPicShutter" is true then lock screen hide cd graphic "scPicShutter" unlock screen with visual effect Checkerboard fast else lock screen show cd graphic "scPicShutter" unlock screen with visual effect Checkerboard fast end if The strange thing is that the closing ('show') always shows the visual effect, but the opening ('hide') never does. I can't see from the documentation why this should be so. Can anyone explain it, and suggest a workaround? TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From jhurley at infostations.com Sat Feb 22 18:10:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Sat Feb 22 18:10:01 2003 Subject: Button images script In-Reply-To: <200302220655.BAA07572@www.runrev.com> References: <200302220655.BAA07572@www.runrev.com> Message-ID: > Greg Wills wrote: > >Thanks Jim, this works beautifully. I may however end up playing with >the images to get them how I want them before I put them into the >substack. Yet to be decided. > >I noticed that the images in the substack are also resized, but when >you re-open the stacks, all the images (and button images - but not >buttons) are back to their original size. Greg, I left out a key component of the process. *Sorry*. You need to include a preOpenCard handler in the *stack* script. (If you have any preOpenCard handlers in the card scripts, be sure to "pass preOpenCard" in those handlers.) on preOpenCard repeat with i = 1 to the number of buttons put the short name of button i into tName resizeImage tName end repeat end preOpenCard Where ResizeImage resides in the stack script and looks like this: on resizeImage theImage --First get the button width put the width of button theImage into theButtonWidth --Reset the image size on the substack card --so that it will fit inside the button without distortion. set the defaultStack to "imagesSubstack" put the formattedWidth of image theImage into tImageWidth Put the formattedHeight of image theImage into tImageHeight put tImageWidth/tImageHeight into ratioOfWidthToHeight set the width of image theImage to theButtonWidth*.94 -- Leave an edge set the height of image theImage to theButtonWidth/ratioOfWidthToHeight*.94 --Adjust the button height to match the proportions of the image. set the defaultstack to "images" set the height of button theImage to theButtonWidth/ratioOfWidthToHeight end resizeImageRevisedFormatted So that before each card is opened, the image in the substack is sized to fit within each button. This is quite fast and very smooth. I use this method because I use the same image in different cards at *different sizes*. *If the image sizes are fixed*, things are much simpler. You could alter the "setUp" handler to include set the locklocation of image theButtonName to "true" This also locks the image size. (The button name is the same as the image name.) In this way there is no need for a preOpenCard handler and once the setUp handler is run, when you first construct the stack, you are done. Next time the stack is opened all images will be sized to fit within their respective buttons and the image sizes in the subStack will be locked. You can of course take the manual approach and import the images to the substack, lock them, and then fit the buttons to fit the images. But I find this more time consuming when there are lots of images. I hope I haven't left something out again. Jim From gcanyon at inspiredlogic.com Sun Feb 23 02:19:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Feb 23 02:19:01 2003 Subject: Rough day on the Revolution front In-Reply-To: Message-ID: <8C04FEA9-46FE-11D7-8287-003065683ECC@inspiredlogic.com> This definitely sounds like a memory issue. How much physical memory and virtual memory does your computer have? How much is assigned as a preferred and minimum to Rev? Which OS version are you running? On Wednesday, February 19, 2003, at 10:18 AM, Ken Norris (dialup) wrote: > Rev always takes about 4 minutes to completely shut down and even then, > other apps have to spend quite bit of time fighting their way in to get > enough memory to function. > regards, Geoff Canyon gcanyon at inspiredlogic.com From gcanyon at inspiredlogic.com Sun Feb 23 02:33:02 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Feb 23 02:33:02 2003 Subject: Grouped Group Anomalies In-Reply-To: Message-ID: <85A7397C-4700-11D7-8287-003065683ECC@inspiredlogic.com> No, you can't do this without removing group B from group A. On Saturday, February 22, 2003, at 07:18 AM, Rob Cozens wrote: > Can anyone tell me whether RunRev should be able to support placement > of a grouped group on a card that does not contain the other controls > in the larger group? Ie: I have Group A, which contains Group B + > other controls. Is RunRev supposed to be able to place Group A > (containing Group B) on some cards and Group B only on others? The > Application Overview & stack seemed flaky when I did this, and the > problems seem to have gone away since I removed Group B from Group A. > regards, Geoff Canyon gcanyon at inspiredlogic.com From yvescoppe at skynet.be Sun Feb 23 05:33:01 2003 From: yvescoppe at skynet.be (yves COPPE) Date: Sun Feb 23 05:33:01 2003 Subject: pathway Message-ID: Hi again, I ask my question Perhaps, I get no response because my question is not clear : Mac OS X.2.4 with Rev 1.1.1 I want to access a text file from a script. the pathway is the following /HD/user/myname/xxx/text filename. but the name of the folder xxx may not be changed and is too long (the number of chars is ore than 32 chars) so I can read from that text file because Rev cannot read a pathway with a component that has a long name (the name of the folder) Any idea ??? how can I proceed ?? Please help me Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From janschenkel at yahoo.com Sun Feb 23 05:56:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Feb 23 05:56:00 2003 Subject: pathway In-Reply-To: Message-ID: <20030223105200.53869.qmail@web11907.mail.yahoo.com> --- yves COPPE wrote: > Hi > > again, I ask my question > Perhaps, I get no response because my question is > not clear : > > Mac OS X.2.4 with Rev 1.1.1 > I want to access a text file from a script. > the pathway is the following > /HD/user/myname/xxx/text filename. > > but the name of the folder xxx may not be changed > and is too long > (the number of chars is ore than 32 chars) > > so I can read from that text file because Rev cannot > read a pathway > with a component that has a long name (the name of > the folder) > > Any idea ??? > how can I proceed ?? > Please help me > Thanks. > -- > Greetings. > > Yves COPPE > Hi Yves, IIRC, RunRev only has problems with long filenames, not long paths. Try to find out what the correct pathname would be by using the following script. on mouseUp answer file "Find the file with the long pathname" if the result is "Cancel" then exit mouseUp else put it into fld "ThePath" answer line 1 of URL ("file:"&it) end mouseUp That should bring you closer to understanding what's going on, and how you can perhaps work around it. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From mazzapaolo at libero.it Sun Feb 23 07:08:01 2003 From: mazzapaolo at libero.it (paolo mazza) Date: Sun Feb 23 07:08:01 2003 Subject: Icon for a standalone on MacOSX In-Reply-To: Message-ID: How can I set an icon for my standalone application on MacOSX? Using the application builder of Revolution I can set an icon only for Windows standalones? What about Mac? Ciao, Paolo From yvescoppe at skynet.be Sun Feb 23 10:41:01 2003 From: yvescoppe at skynet.be (yves COPPE) Date: Sun Feb 23 10:41:01 2003 Subject: pathway In-Reply-To: <20030223105200.53869.qmail@web11907.mail.yahoo.com> References: <20030223105200.53869.qmail@web11907.mail.yahoo.com> Message-ID: >Hi Yves, > >IIRC, RunRev only has problems with long filenames, >not long paths. Try to find out what the correct >pathname would be by using the following script. > >on mouseUp > answer file "Find the file with the long pathname" > if the result is "Cancel" then exit mouseUp > else put it into fld "ThePath" > answer line 1 of URL ("file:"&it) >end mouseUp > >That should bring you closer to understanding what's >going on, and how you can perhaps work around it. > >Hope this helped, > >Jan Schenkel. > I'm very disturbed, because your script here above runs well the mine not If I add in my script : if there is a file filePath then put URL ("file:"&filePath) into myTx else answer "No such a file" exit to top end if If the folder which contains the text file has a short name, it runs well but if the folder has a long name, I get my answer "No such a file" but if I use your script on the same file text, it runs without problem. I will check what happens in my script with the debugger... Thank you for the tip... -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From livfoss at blueyonder.co.uk Sun Feb 23 11:15:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sun Feb 23 11:15:01 2003 Subject: Double-clicking a document in Windows Message-ID: I've read Ken Ray's excellent article on 'Setting Document Associations in Windows', and I think I understand it as far as it goes. Trouble is, the depth of my ignorance is so profound, I don't know where to look for more information - I am totally ignorant of command-lines (well, at least since the early 70s), shells, registries, you name it... anyway, rant over, my current question is this: if my user double-clicks on a document (a stack or maybe a text file) which is associated with my Revo-developed app, I can use Ken's technique to get the app to launch and hand my app script the path of the doc to open; however, what if the app is already open? Can I get an environment variable to tell me this, or must I keep a system of flags within my app to distinguish between the first time the user double-clicks (when I will have to go through a long initialisation sequence for the app) and all the subsequent times (when I will just have to act as if my user had chosen File/Open from a menu)? I recall I have had to do this 'manually' on Macs (using Apple Events with SuperCard). In more general terms, where can I find out more about environment variables and also about creating and attaching icons (icon families?) to the application and its associated documents? Maybe I have just missed some massive part of the Revo documentation, but I don't think so. While I'm at it, what is the Windows equivalent of the Apple Event "aevtquit", where the OS tries to force the app to quit, and how do I handle it? Deeply confused Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From gcanyon at inspiredlogic.com Sun Feb 23 14:57:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Feb 23 14:57:01 2003 Subject: pathway In-Reply-To: Message-ID: <6E415386-4768-11D7-8287-003065683ECC@inspiredlogic.com> Have you tried the open file commands? (as opposed to the url access commands?) Also, you might be able to use AppleScript to do what you want. On Sunday, February 23, 2003, at 02:29 AM, yves COPPE wrote: > Hi > > again, I ask my question > Perhaps, I get no response because my question is not clear : > > Mac OS X.2.4 with Rev 1.1.1 > I want to access a text file from a script. > the pathway is the following > /HD/user/myname/xxx/text filename. > > but the name of the folder xxx may not be changed and is too long (the > number of chars is ore than 32 chars) > > so I can read from that text file because Rev cannot read a pathway > with a component that has a long name (the name of the folder) > > Any idea ??? > how can I proceed ?? > Please help me > Thanks. > -- > Greetings. > > Yves COPPE > > Email : yvescoppe at skynet.be > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > I hope this helps. Feel free to contact me if you have any further questions. regards, Geoff Canyon Revolution Support -- Geoff Canyon Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From yvescoppe at skynet.be Sun Feb 23 15:07:01 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun Feb 23 15:07:01 2003 Subject: pathway Message-ID: Hi everybody and for Jan I find the problem when I use a long name for a folder the result gves something like /HD/user/userName/.../the truncated long name of the folder#465ED/Text the long name of the folder is truncated and ends with "#465ED" what's that ?? thank for your help -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From pixelbird at interisland.net Sun Feb 23 16:56:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Feb 23 16:56:01 2003 Subject: Rough day on the Revolution front In-Reply-To: <200302231701.MAA32480@www.runrev.com> Message-ID: ********** > Date: Sat, 22 Feb 2003 23:15:11 -0800 > Subject: Re: Rough day on the Revolution front > From: Geoff Canyon > > This definitely sounds like a memory issue. How much physical memory > and virtual memory does your computer have? How much is assigned as a > preferred and minimum to Rev? Which OS version are you running? ---------- I think so too, but I don't know what else I can do. My G4 Mac is locked up in storage until I can find another office space (it's too large for my current space available). It's a Mac PowerBook 1400c, 133mHz, 48mb RAM, 1.2g HD, under OS 8.6. Up until a couple years ago, it was still a fairly powerful machine, but it tends to be a little wimpy with newer apps these days. However, most days it seems to run Rev OK as long as I stay out of the docs. Somedays, it just gets crazy, though, like the day I had. I don't have a clue what I did different to cause extra problems. I have a 128mb CF card in the PCMCIA slot as a formatted volume assigned to Virtual Memory, which gives it 116mb useable VM. I've heard the transfer rates of those things are pokey. The natural RAM can be expanded to 64mb, but that is max, the RAM modules are spec, and are expensive and hard to find. There is no known way to expand beyond the 64mb limit (according to techs all over the internet, no one has done it). Also, the HD driver can only handle up to ATA 64, I think, so I'm not sure how fast an external drive I can hook up. I have a 10g TravelStar ready to go in to replace the 1.2g HD it has now, as soon as I can set aside a day to backup everything on it. That will hopefully allow more VM at a little faster rate. Ken N. From capellan2000 at yahoo.com Sun Feb 23 17:46:29 2003 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sun Feb 23 17:46:29 2003 Subject: How to resize an Animated Gif In-Reply-To: <200302231701.MAA32494@www.runrev.com> Message-ID: <20030223224035.62520.qmail@web40504.mail.yahoo.com> Hi everyone on the list! Recently, while testing version 04 of "EPSimport", I found this unexpected feature. A resized Animated gif. To check this for yourselves, do the following: 1) In the message box write: Create image This empty image will appear in the center of the topstack. 2)Resize this empty image to the size that you want the animated gif to have and set the locklocation of it to true. 3)Set the filename of the image to the name of your animated gif. Voila! You have an animated gif resized. Remember that you could move this "locked" image to any place that you want, for example, put this code in the script of the image: on mouseup set the cursor to none repeat until the mouseclick() -- set the loc of me to the mouseloc grab me end repeat set the cursor to hand end mouseup Of course, you could use the keyboard to move the image or move it to the points of a polygon graphic. By the way, is this resize feature mentioned in the documentation ? Alejandro __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From chipp at chipp.com Sun Feb 23 19:33:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Sun Feb 23 19:33:01 2003 Subject: Double-clicking a document in Windows In-Reply-To: Message-ID: Hi Graham, You can't easily open a doc in an already opened application by double-clicking on the document, because it will launch another instance of the application. What you need it 'intra-application communication' for instance: when the app launches, it checks a temp txt file to see if an instance of itself is already opened, if it is, then it sends a message to the other app (via the same text file and/or some sort of polling mechanism) to open the newly requested file. There's actually a RunRev user group setup to try and build an OpenSource implementation of the 'intra-application' protocol and libray...but there's not much done on it yet. So, the short answer is it's currently very difficult to do this in Windows. Here's a tip on "Creating a custom icon for Windows" http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Graham Samuel > Sent: Sunday, February 23, 2003 10:11 AM > To: Revolution user discussion > Subject: Double-clicking a document in Windows > > > I've read Ken Ray's excellent article on 'Setting Document > Associations in Windows', and I think I understand it as far as it > goes. Trouble is, the depth of my ignorance is so profound, I don't > know where to look for more information - I am totally ignorant of > command-lines (well, at least since the early 70s), shells, > registries, you name it... anyway, rant over, my current question is > this: > > if my user double-clicks on a document (a stack or maybe a text file) > which is associated with my Revo-developed app, I can use Ken's > technique to get the app to launch and hand my app script the path of > the doc to open; however, what if the app is already open? Can I get > an environment variable to tell me this, or must I keep a system of > flags within my app to distinguish between the first time the user > double-clicks (when I will have to go through a long initialisation > sequence for the app) and all the subsequent times (when I will just > have to act as if my user had chosen File/Open from a menu)? I recall > I have had to do this 'manually' on Macs (using Apple Events with > SuperCard). In more general terms, where can I find out more about > environment variables and also about creating and attaching icons > (icon families?) to the application and its associated documents? > Maybe I have just missed some massive part of the Revo documentation, > but I don't think so. > > While I'm at it, what is the Windows equivalent of the Apple Event > "aevtquit", where the OS tries to force the app to quit, and how do I > handle it? > > Deeply confused > > Graham > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From timothy.hart5 at verizon.net Sun Feb 23 21:36:00 2003 From: timothy.hart5 at verizon.net (Tim Hart) Date: Sun Feb 23 21:36:00 2003 Subject: Getting images from folder Message-ID: <24359AC2-47A0-11D7-B7BF-0003938DD75E@verizon.net> I want to keep my pictures seperate from the app itself. I want to be able to call the pictures when i want them. I just can't seem to get the scripting right. I am trying: put image "whatever" into image "1" or put URL "file:whatever/ehatever.jpg" into image "1" please help From timothy.hart5 at verizon.net Sun Feb 23 21:36:27 2003 From: timothy.hart5 at verizon.net (Tim Hart) Date: Sun Feb 23 21:36:27 2003 Subject: Getting images from folder Message-ID: <2ABAAA15-4781-11D7-B7BF-0003938DD75E@verizon.net> I want to keep my pictures seperate from the app itself. I want to be able to call the pictures when i want them. I just can't seem to get the scripting right. I am trying: put image "whatever" into image "1" or put URL "file:whatever/ehatever.jpg" into image "1" please help From sarahr at genesearch.com.au Sun Feb 23 22:18:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Feb 23 22:18:01 2003 Subject: Getting images from folder In-Reply-To: Message-ID: I think you need something like: set the fileName of image "myImage" to pathToFile Look up "fileName" in the docs and check the examples there. Did you actually set the name of your image to 1 or are you meaning to refer to the first image? Setting the name of an object to a number is not a great idea as it is very easy to get confused. You could call it something like "Pic 1" which still allows you to loop through images programmatically but won't confuse matters. If you just meant to refer to the first image, then you don't need quotes around the 1. Sarah On Monday, February 24, 2003, at 12:36 pm, Tim Hart wrote: > I want to keep my pictures seperate from the app itself. I want to be > able to call the pictures when i want them. I just can't seem to get > the scripting right. I am trying: > > put image "whatever" into image "1" > > or > put URL "file:whatever/ehatever.jpg" into image "1" > > please help > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Sun Feb 23 22:32:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Feb 23 22:32:01 2003 Subject: Custom button icons In-Reply-To: Message-ID: The easiest way I find is to make a new temporary stack and use it as a holding place. Select the icon you want in one of the standard libraries and click "Insert image into stack". It will appear in your holding stack. Leaving it selected, change to your library and click "Move (or Copy) selected image into this stack". If you want to add one of your own images to your library, just forget the first step. Import the image into your holding stack, open your image library and move or copy exactly the same way. Cheers, Sarah On Friday, February 21, 2003, at 07:00 am, Alan Golub wrote: > I've been spinning my wheels for days now trying to figure out how to > install custom icons into my buttons. I have no problem inserting > standard > icons from the image library, and I'm able to create a new library, but > that's where I'm stumped. How do I import custom icons into my library > for > use in my application buttons? Is this documented anywhere? > > Any help would be much appreciated. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kkaufman at snet.net Sun Feb 23 23:30:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun Feb 23 23:30:01 2003 Subject: Rough day on the Revolution front Message-ID: <12EB4CA8-47B0-11D7-9869-0003936D1F12@snet.net> Ken Norris wrote: "...It's a Mac PowerBook 1400c, 133mHz, 48mb RAM, 1.2g HD, under OS 8.6. Up until a couple years ago, it was still a fairly powerful machine, but it tends to be a little wimpy with newer apps these days...[...]... I have a 128mb CF card in the PCMCIA slot as a formatted volume assigned to Virtual Memory, which gives it 116mb useable VM. I've heard the transfer rates of those things are pokey...." That's really pushing it, I'm afraid: A slower computer with limited RAM, running Mac OS 8's virtual memory (bad enough even on a fast hard drive, but even worse on flash memory). I'm kind of surprised you were able to use Revolution at all. I hope you get your G4 back soon! Kurt From gcanyon at inspiredlogic.com Mon Feb 24 02:26:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon Feb 24 02:26:01 2003 Subject: Rough day on the Revolution front In-Reply-To: Message-ID: Almost no question you're right. It sounds like you're taking the right steps. Good luck finding space to get the G4 set up. On Sunday, February 23, 2003, at 01:55 PM, Ken Norris (dialup) wrote: > ********** >> Date: Sat, 22 Feb 2003 23:15:11 -0800 >> Subject: Re: Rough day on the Revolution front >> From: Geoff Canyon >> >> This definitely sounds like a memory issue. How much physical memory >> and virtual memory does your computer have? How much is assigned as a >> preferred and minimum to Rev? Which OS version are you running? > ---------- > I think so too, but I don't know what else I can do. My G4 Mac is > locked up > in storage until I can find another office space (it's too large for my > current space available). > > It's a Mac PowerBook 1400c, 133mHz, 48mb RAM, 1.2g HD, under OS 8.6. Up > until a couple years ago, it was still a fairly powerful machine, but > it > tends to be a little wimpy with newer apps these days. > regards, Geoff Canyon gcanyon at inspiredlogic.com From yvescoppe at skynet.be Mon Feb 24 02:31:01 2003 From: yvescoppe at skynet.be (yves COPPE) Date: Mon Feb 24 02:31:01 2003 Subject: PathWay Message-ID: Hi Jan and the others when I choose a file with this path : (on mac OS X.2.4 and Rev 1.1.1) /HD/users/myName/folder with long name/text file the folder with long name is so the name of somebody then "-" and his birthdate (dd-mm-yyyy) for example : yourname-24-02-2003 if the number of cahrs of this folder name > 32 chars then I get : /HD/users/myName/folder with truncated name and ending with "#4A932"/text file what's that ??? thank you for your help. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From gcanyon at inspiredlogic.com Mon Feb 24 02:39:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon Feb 24 02:39:01 2003 Subject: Comparison to AppleScript Studio Message-ID: <90438829-47CA-11D7-968D-003065683ECC@inspiredlogic.com> Some of you may be aware of the Rev Docs wiki, which I set up awhile back (if you're not, I invite you to have a look). The pages of a wiki are editable by anyone, including you: http://wiki.macitworks.com/revdocs/ A few months ago I put up some pages comparing Revolution to REALbasic. The activity has died down on those, so I guess they're in what the viewers thought was a reasonable state: http://wiki.macitworks.com/revdocs/revolutionAndRealbasicCompared Now I've added similar pages comparing Revolution and AppleScript Studio. They're incomplete at this point, since I know a fair bit about AppleScript but little about AS Studio. If anyone here has experience with AS Studio, I'd appreciate it if you had a look to see what you can add. Again, no login is required, just go and click the edit button: http://wiki.macitworks.com/revdocs/ revolutionAndApplescriptStudioCompared Also, if anyone has suggestions for comparisons to other tools, feel free to add them. regards, Geoff Canyon gcanyon at inspiredlogic.com From malte.brill at t-online.de Mon Feb 24 05:27:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Mon Feb 24 05:27:01 2003 Subject: How to resize an Animated Gif In-Reply-To: <200302220656.BAA07629@www.runrev.com> Message-ID: Hi Alejandro, >To check this for yourselves, do the >following: >1) In the message box write: >Create image >This empty image will appear in the >center of the topstack. >2)Resize this empty image to the >size that you want the animated gif >to have and set the locklocation >of it to true. >3)Set the filename of the image to >the name of your animated gif this is great! I allways searched for a way to resize animated GIFs, finally I have one. IMHO this is worth a tip of the week. Thanks a lot!!! BTW: I know about your EPS-Importer. Did you also code a "bezier-Tool" for Rev? I would like to be able to create advanced motion-paths (graphics) from within Rev. A bezier tool would be very usefull. Regards, Malte From rjb at escapesports.com Mon Feb 24 05:31:01 2003 From: rjb at escapesports.com (Ray Bennett) Date: Mon Feb 24 05:31:01 2003 Subject: background image disappears when printing to PDF In-Reply-To: <0FA949BC-3F00-11D7-A31D-0030657E2BD2@mac.com> Message-ID: Well, hot on the trail of this, here's what I've learned. If I turn the "alwaysbuffer" property off, the image magically appears on when PDFd/printed. (it was also disappearing _any_ time I tried to print it from an XP box). Hmmm... On Wednesday, Feb 12, 2003, at 22:05 America/New_York, Ray Bennett wrote: > Dear List - Sorry to be a pest. > > I have an image control with an imported (vice linked) image. This > control was pasted into the background of a card. This background > occurs on 15 cards. The image is pretty small (175x175). > > When I use the Print Dialog to create a PDF of the stack, everything > works except that where the image control should be, the actual image > doesn't appear. What _does_ appear is a 175x175 swatch of the > background image contained on the first card of the stack (where the > call to "print" the cards was made from). > > This was actually in Rev Classic 1.1.1 running under 9.2.2. within the > OS 10.2.3 environment. > > The print script is below. > Thanks in advance. > > Ray > > (sorry for the length of the script snippit) > <--begin script--> > sort lines of theList ascending numeric by word 1 of each > if the optionkey is down then > open printing with dialog > else > open printing > end if > lock screen > put false into lastPassFlag > repeat with i = 1 to the number of lines in theList > if i = the number of lines in theList then > put true into lastPassFlag > end if > set the cursor to busy > -- > put line i of theList into cardName > -- SIXTEEN and THIRTYTWOs > if the backgroundNames of card cardName contains "16" OR \ > the backgroundNames of card cardName contains "32" then > if pagesToPrint = 2 then > push card > go card cardName > send "printThisCard false,2" to this card > pop card > else > push card > go card cardName > set the visible of scrollbar "rbscrollbar" to false > send "print32ChampBracket" to this card > set the visible of scrollbar "rbscrollbar" to true > if not(lastPassFlag) then > --don't do this the last time, or we get a blank page > print break > end if > pop card > end if > else > print card cardName of this stack into the rect of fld > "printpreview2" of card 1 of this stack > if not(lastPassFlag) then > --don't do this the last time, or we get a blank page > print break > end if > end if > end repeat > -- > close printing > <--end script--> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rjb at escapesports.com Mon Feb 24 05:31:16 2003 From: rjb at escapesports.com (Ray Bennett) Date: Mon Feb 24 05:31:16 2003 Subject: Visual effect anomaly In-Reply-To: Message-ID: <3CC33FC9-4732-11D7-9602-0030657E2BD2@escapesports.com> You may want to toggle the "alwaysbuffer" settings for the stack and see if that has any effect. It did for me when printing images that were part of a card. On Saturday, Feb 22, 2003, at 17:28 America/New_York, Graham Samuel wrote: > I have a rectangular area on a card which is used to cover a number of > objects. The cover can be 'opened' or 'closed' via a button with this > toggle script: > > if the visible of cd grc "scPicShutter" is true then > lock screen > hide cd graphic "scPicShutter" > unlock screen with visual effect Checkerboard fast > else > lock screen > show cd graphic "scPicShutter" > unlock screen with visual effect Checkerboard fast > end if > > The strange thing is that the closing ('show') always shows the visual > effect, but the opening ('hide') never does. I can't see from the > documentation why this should be so. Can anyone explain it, and > suggest a workaround? > > TIA > > Graham > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From capellan2000 at yahoo.com Mon Feb 24 05:35:01 2003 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon Feb 24 05:35:01 2003 Subject: Comparison to AppleScript Studio Message-ID: <20030224103031.49225.qmail@web40507.mail.yahoo.com> on Mon Feb 24 02:39:01 2003 Geoff Canyon wrote: >Some of you may be aware of the Rev Docs wiki, >which I set up awhile back (if you're not, >I invite you to have a look). >The pages of a wiki are editable by anyone, including >you: This is a wonderful resource, thanks Geoff! >A few months ago I put up some pages comparing >Revolution to REALbasic. [snip] >Now I've added similar pages comparing Revolution >and AppleScript Studio. >Also, if anyone has suggestions for comparisons to >other tools, feel free to add them. Equally helpful could be to compare their languages with Transcript, with hints and tips to translate other tools code for use in RunRev. For example, How to translate and use VB code, Lingo, ActionScript (Flash), C, Pascal, etc... Development enviroments changes, but code stay. Keep Up the good work! Alejandro __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From capellan2000 at yahoo.com Mon Feb 24 06:40:01 2003 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon Feb 24 06:40:01 2003 Subject: How to resize an Animated Gif Message-ID: <20030224113600.71280.qmail@web40504.mail.yahoo.com> on Mon Feb 24 05:27:01 2003 Malte Brill wrote: >I always searched for a way to resize animated >Gifs, finally I have one. I'm as surprised as you that this works. And to complete the paradox, this feature appears while importing vector graphics! >IMHO this is worth a tip of the week. I feel honored! Thanks Malte! :) Who knows which others undocumented features are awaiting for us to discover! >BTW: I know about your EPS-Importer. Did you also code >a "bezier-Tool" for Rev? I would like to be able to >create advanced motion-paths (graphics) from >within Rev. A bezier tool would be very usefull. Actually, you could download this stack with a "hardwired" bezier line (7k): http://ffc.virtualave.net/BezierLine.rev This could serve fine to draw the motion paths for objects. Last week, I've finally found a very simple way to create and maintain live Bezier and Quadratic curves in MC/RR (like Illustrator and Flash). This means that you could apply all transformations: scale, rotate, skew, reshape and move them as easy as any polygon graphic. (Some of these transformations are better handled with matrix math as described in the svg specification). This week, I'll scratch time to convert this idea into a workable solution. Alejandro __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From livfoss at blueyonder.co.uk Mon Feb 24 07:24:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Feb 24 07:24:01 2003 Subject: Double-clicking a document in Windows Message-ID: On Sun, 23 Feb 2003 18:29:22 -0600 "Chipp Walters" wrote: > >Hi Graham, > >You can't easily open a doc in an already opened application by >double-clicking on the document, because it will launch another instance of >the application. What you need it 'intra-application communication' for >instance: when the app launches, it checks a temp txt file to see if an >instance of itself is already opened, if it is, then it sends a message to >the other app (via the same text file and/or some sort of polling mechanism) >to open the newly requested file. > >There's actually a RunRev user group setup to try and build an OpenSource >implementation of the 'intra-application' protocol and libray...but there's >not much done on it yet. > >So, the short answer is it's currently very difficult to do this in Windows. > >Here's a tip on "Creating a custom icon for Windows" > >http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm > Chipp, thanks very much for the link. I feel so ignorant about so many things I'm suddenly having to learn about (don't get me started on QT movies!). I am surprised that a second double-click will create another instance of an application in Windows, because IMHO this behaviour would be counterintuitive for most non-technical PC users, who after all are Msoft's most numerous customers. Indeed, grabbing the first PC I could find (running Office 2000 under Windows 95), I find that Microsoft Word works the way I expected, i.e. double-click on a document will open the app, double-click on a second document, the app acts like you did File/Open from a menu. Of course in MS Office applications, it's legit to have several documents/files open at the same time. I had no idea that there was an 'intra-application' issue, which I suppose MS Office itself has had to grapple with. I suppose then my fallback is to design the app to deal with only one document (double-clickable file) at a time - but even with this restriction published to my users, how can I tell if the user has in fact done a second 'unauthorised' double-click and somehow reject it? Incidentally, since Mac OSX is based on Unix, it seems worth asking if this problem also exists there - I sense that this multiple-instantiation thing is more 'classical' in some sense than the original MacOS solution and therefore likely to exist in Unix too. TIA for any further info. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From Doug_Ivers at lord.com Mon Feb 24 07:48:01 2003 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Mon Feb 24 07:48:01 2003 Subject: variables and objects Message-ID: Seems that all user-created variables are character strings. Is target also a character string, or is it something more sophisticated (like a pointer in C)? Same question for this card, recent card, this stack, etc. Are these statements the same in the way they work "behind the scenes"? answer the id of this card get the long name of this card; answer the id of it -- D From Doug_Ivers at lord.com Mon Feb 24 08:22:01 2003 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Mon Feb 24 08:22:01 2003 Subject: menu paradigm of Rev/MC and other goofiness Message-ID: Does anyone else besides me think that the way menuItems are implemented is goofy? First of all, there should be a menuItem name, number, & id separate from the menuItem text, just like there is for controls. Why was the paradigm used for buttons, fields, cards, etc. abandoned when menus were implemented? I suppose it is a consequence of equating menu with button? It seems so inconsistent. Second, the use of character codes in the text of a menu item to create checkmarks and hot keys seems particularly archaic and problematic. Of course there are ways to provide a new paradigm without giving up compatibility (think: "set the menuObjects to true; set the checkMark of menuItem 4 of menu "Preferences" to true). I don't claim to have all the answers for this, but the menu paradigm is goofy. Another thing that bothers me is the gyrations required to deal with Transcript's quotes (the inability to nest quotes), but that is a topic for another thread. Maybe a new interest group should be formed? P rogrammers A gainst T ranscript G oofiness -- D P.S. I don't currently have access to the improve list, so when replying, please cc that list so this thread gets the appropriate visibility. From rcozens at pon.net Mon Feb 24 10:36:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Mon Feb 24 10:36:01 2003 Subject: Grouped Group Anomalies Message-ID: >>Can anyone tell me whether RunRev should be able to support >>placement of a grouped group on a card that does not contain the >>other controls in the larger group? << Thanks to Geoff for confirming my suspicions and to Steve M. for suggesting a workaround. -- Rob Cozens Vive R Revolution! From jperryl at ecs.fullerton.edu Mon Feb 24 11:15:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon Feb 24 11:15:01 2003 Subject: Rough day on the Revolution front In-Reply-To: <12EB4CA8-47B0-11D7-9869-0003936D1F12@snet.net> Message-ID: I used v. 1 & the beta on my PB1400 with maxed out 64 MB RAM and no CF card. Worked tolerably well as I recall... Judy On Sun, 23 Feb 2003, Kurt Kaufman wrote: > That's really pushing it, I'm afraid: A slower computer with limited > RAM, running Mac OS 8's virtual memory (bad enough even on a fast hard > drive, but even worse on flash memory). I'm kind of surprised you were > able to use Revolution at all. I hope you get your G4 back soon! From alrice at arcplanning.com Mon Feb 24 11:25:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Mon Feb 24 11:25:01 2003 Subject: Rough day on the Revolution front In-Reply-To: Message-ID: On Sunday, February 23, 2003, at 02:55 PM, Ken Norris (dialup) wrote: > I have a 128mb CF card in the PCMCIA slot as a formatted volume > assigned to > Virtual Memory, which gives it 116mb useable VM. I've heard the > transfer > rates of those things are pokey. The VM system on Mac OS (before X) is terrible. From my days doing tech support for an ISP, I remember once of the first things to try when a Mac is acting wonky is to *turn off* virtual memory. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From heather at runrev.com Mon Feb 24 11:45:01 2003 From: heather at runrev.com (Heather Williams) Date: Mon Feb 24 11:45:01 2003 Subject: T-Shirts competition Message-ID: Greetings! Thank you all for the t-shirt entries. Officially the competition ends today, but if you've still got an entry you'd like to send in, it's not too late for the next few days. We've begun the preliminary screening :-) Got some great creative minds on this list. Oh, the font for the Rev logo... I know, I know, a bit late in the day, its Gill Sans bold extra condensed, a horizontal scale of 90% and with some fancy spacing - play around with the tracking to get it right.... I hope that helps. Cheers Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution: Software at the Speed of Thought From claus at dreischer.de Mon Feb 24 11:48:01 2003 From: claus at dreischer.de (claus at dreischer.de) Date: Mon Feb 24 11:48:01 2003 Subject: =?iso-8859-1?Q?Rev2=DF,_Win_<->_Linux:_Drag&Drop,_File_selector?= Message-ID: <20030224164311.E302380DA@voodoo.strato-webmail.de> Hi, is Drag & Drop under Linux with the new beta of RunRev 2 known not to work? As a beginner i tried to use the dictionary to help me implement drag&drop on a windows 2000 box. It works. Code of the drag&drop field is: on dragEnter set acceptDrop to true end dragEnter on dragDrop if me is not empty then put CR after me put the dragData["files"] after me send make_string -- starts reformating end dragDrop The same does not work with a linux box(SUSE 8, KDE 3.0.4). Is drag&drop on linux special, or is it just not implemented in the actual beta of RunRev 2? Next question: The following fileselector works perfectly on a windows box: answer file "select the VHDL files to include" with filter "VHDL files, *.vhdl;*.vhd, all files, *.*" The same on the linux (again SUSE 8, KDE 3.0.4) box gives a fileselector with the wrong File Filter: /home/claus/VHDL files, *.vhdl;*.vhd, all files, *.* It should look like: *.vhdl or something like that. With the above File Filter, no file can be selected. Is this a to-be-implemented-thing too? Regards, Claus. From chipp at chipp.com Mon Feb 24 12:44:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Mon Feb 24 12:44:01 2003 Subject: Custom button icons In-Reply-To: Message-ID: Check out: "Buttons with Images" at: http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Alan Golub > Sent: Thursday, February 20, 2003 3:02 PM > To: use-revolution at lists.runrev.com > Subject: Custom button icons > > > I've been spinning my wheels for days now trying to figure out how to > install custom icons into my buttons. I have no problem inserting standard > icons from the image library, and I'm able to create a new library, but > that's where I'm stumped. How do I import custom icons into my library for > use in my application buttons? Is this documented anywhere? > > Any help would be much appreciated. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From yvescoppe at skynet.be Mon Feb 24 13:08:01 2003 From: yvescoppe at skynet.be (yves COPPE) Date: Mon Feb 24 13:08:01 2003 Subject: pathway Message-ID: Hi everybody and for Jan Can somone explain me what happens ????? when I use a long name for a folder the result gves something like /HD/user/userName/.../the truncated long name of the folder#465ED/Text the long name of the folder is truncated and ends with "#465ED" The long name of a folder is the name of someone-dd-mm-yyyy (name-birtday in European format) Please help me..... -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From tkuypers at pandora.be Mon Feb 24 13:08:20 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Mon Feb 24 13:08:20 2003 Subject: Opening a file Message-ID: Hi gang... Maybe someone can give me a clue, because I am stuck... We developed a Windows FileMaker application which has 5 versions running in various countries, using the runtime engine of FileMaker. Now we need to run a FileMaker file to make sure the upgrade to version 6 goes ok. The FileMaker file we are running is a runtime file as well and is during installation of the new version, placed in the same folder as the old version. So I built an application which checks the old version of the FileMaker application and selects the correct upgrader file. When using the Launch command, the old version is launched, not the file I want, so I used the Schell command. Problem solved! Too bad, problem NOT solved, the shell command doesn?t work on systems running Windows 98 :-(( Can anybody give me a clue where to search? How do I open a file, not caring which application has to be used without using the Shell-command? Many thanks in advance, Ton Kuypers From chipp at chipp.com Mon Feb 24 13:24:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Mon Feb 24 13:24:01 2003 Subject: Double-clicking a document in Windows In-Reply-To: Message-ID: Graham, > I am surprised that a second double-click will create another > instance of an application in Windows, because IMHO this behaviour > would be counterintuitive for most non-technical PC users, who after > all are Msoft's most numerous customers. Indeed, grabbing the first > PC I could find (running Office 2000 under Windows 95), I find that > Microsoft Word works the way I expected, i.e. double-click on a > document will open the app, double-click on a second document, the > app acts like you did File/Open from a menu. Of course in MS Office > applications, it's legit to have several documents/files open at the > same time. Using MSWord 2000 and XP: when you double-click a .doc file, it appears that it *also* launches a separate instance of MSWord (at least it shows so in the Application tab of the task manager) - though MS does have a special quick launch memory handling feature for all OFFICE apps. I'm not so sure this is a big problem. What *should* the desired behavior be? This was a bit confusing for me, too, coming from the Mac platform several years ago. But, since the menubar is not tied to the top of the screen, but rather to the window, it seems appropriate for Windows to 'open' another version of the app with the document. Especially since Windows handles memory so much better than Macs do (no App memory size -- VM *substantially* better). > > I had no idea that there was an 'intra-application' issue, which I > suppose MS Office itself has had to grapple with. > > I suppose then my fallback is to design the app to deal with only one > document (double-clickable file) at a time - but even with this > restriction published to my users, how can I tell if the user has in > fact done a second 'unauthorised' double-click and somehow reject it? What is your app trying to do that it doesn't want a second file (app) open? > > Incidentally, since Mac OSX is based on Unix, it seems worth asking > if this problem also exists there - I sense that this > multiple-instantiation thing is more 'classical' in some sense than > the original MacOS solution and therefore likely to exist in Unix too. Don't have an answer here. Perhaps Ken or someone else might know. > > TIA for any further info. > > Graham > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From alrice at arcplanning.com Mon Feb 24 13:36:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Mon Feb 24 13:36:01 2003 Subject: exception handling Message-ID: <40C9B1C6-4826-11D7-809D-000393529642@arcplanning.com> Does transcript have no exception handling capability? (try/catch kind of thing) Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From janschenkel at yahoo.com Mon Feb 24 13:40:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Feb 24 13:40:01 2003 Subject: pathway In-Reply-To: Message-ID: <20030224183611.38198.qmail@web11903.mail.yahoo.com> --- yves COPPE wrote: > Hi everybody > and for Jan > > > > Can somone explain me what happens ????? > > when I use a long name for a folder > > the result gves something like > > /HD/user/userName/.../the truncated long name of the > folder#465ED/Text > > the long name of the folder is truncated and ends > with "#465ED" > > > The long name of a folder is > > the name of someone-dd-mm-yyyy (name-birtday in > European format) > > > Please help me..... > > -- > Greetings. > > Yves COPPE > Hi Yves, Since nobody else jumped on this while I was in hiatus, I'll pick up the thread here. Maybe you recall that when Microsoft released Windows95, it broke the 8.3-filename limit. New applications would see the full name (254 char max). But older applications will show files as in the 8.3 limit, and you get such funny things as "DATA~001.TXT" when you're looking for a file named "Data before changes.txt" Something similar is happening here: the classic MacOS imposed a 32 character limit on files and folders. And that's why you'll see the funny "#465ED" at the end of a long folder. Have you checked if you get the same behaviour in the PreBeta ? In that case, it could very well be a limitation of the CarbonLib-API and it was fixed by the transition to Mach-O executables for MetaCard 2.5 / RunRev 2.0 If not, you'll have to figure out a way to convert from the real name to the short name. But I have no ideas for that at the moment. Someone else? Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From janschenkel at yahoo.com Mon Feb 24 13:42:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Feb 24 13:42:01 2003 Subject: exception handling In-Reply-To: <40C9B1C6-4826-11D7-809D-000393529642@arcplanning.com> Message-ID: <20030224183820.17636.qmail@web11901.mail.yahoo.com> --- Alex Rice wrote: > Does transcript have no exception handling > capability? (try/catch kind > of thing) > > Alex Rice Hi Alex, It does, and you named it *grin* Have a look at the 'try control structure' entry in the Transcript Dictionary. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From alrice at arcplanning.com Mon Feb 24 13:44:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Mon Feb 24 13:44:01 2003 Subject: (no subject) Message-ID: <62BA71FE-4827-11D7-809D-000393529642@arcplanning.com> Does anyone see something wrong with this code- why it would work for some variables, but not others? -- -- endSession -- delete global variables associated with this session -- on endSession put the namespace of this stack into tPrefix if tPrefix = empty then exit endSession end if set the itemDelimiter to comma repeat for each item tGlobal in the globalNames if matchText(tGlobal, "^" & tPrefix) then put "delete global" && tGlobal into tScript do tScript end if end repeat end endSession Sometimes, not always, I get this exception. It is always the case that I can do the same command from the message window without an exception. ? There was an Execution Error at 11:36:47 AM Error description: do: error in source expression Object: stack "libSessionMgmt" of stack "/.../...rev" -------------------- do tScript -------------------- Value: delete global vf__dateModified Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From ambassador at fourthworld.com Mon Feb 24 13:45:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Feb 24 13:45:01 2003 Subject: exception handling In-Reply-To: <40C9B1C6-4826-11D7-809D-000393529642@arcplanning.com> Message-ID: Alex Rice wrote: > Does transcript have no exception handling capability? (try/catch kind > of thing) See the entry for "try" in the Transcript Dictionary. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From janschenkel at yahoo.com Mon Feb 24 13:50:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Feb 24 13:50:00 2003 Subject: Opening a file In-Reply-To: Message-ID: <20030224184632.19478.qmail@web11901.mail.yahoo.com> --- "tkuypers at pandora.be" wrote: > Hi gang... > > Maybe someone can give me a clue, because I am > stuck... > > We developed a Windows FileMaker application which > has 5 versions running in > various countries, using the runtime engine of > FileMaker. > Now we need to run a FileMaker file to make sure the > upgrade to version 6 > goes ok. > The FileMaker file we are running is a runtime file > as well and is during > installation of the new version, placed in the same > folder as the old > version. > > So I built an application which checks the old > version of the FileMaker > application and selects the correct upgrader file. > When using the Launch command, the old version is > launched, not the file I > want, so I used the Schell command. Problem solved! > > Too bad, problem NOT solved, the shell command > doesn?t work on systems > running Windows 98 :-(( > > Can anybody give me a clue where to search? How do I > open a file, not caring > which application has to be used without using the > Shell-command? > > Many thanks in advance, > > Ton Kuypers > Hi Ton, Check out the 'shellCommand' entry in the Transcript Dictionary. I don't recall which used which, but some Windows versions use "command.com" and others use "cmd.exe" as shellCommands -- I'm quite sure it's in Ken Ray's tips'n'tricks pages. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From janschenkel at yahoo.com Mon Feb 24 14:01:04 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Feb 24 14:01:04 2003 Subject: variables and objects In-Reply-To: Message-ID: <20030224185742.41863.qmail@web11903.mail.yahoo.com> --- "Ivers, Doug E" wrote: > Seems that all user-created variables are character > strings. Is target also a character string, or is > it something more sophisticated (like a pointer in > C)? Same question for this card, recent card, this > stack, etc. > > Are these statements the same in the way they work > "behind the scenes"? > answer the id of this card > get the long name of this card; answer the id > of it > > > -- D > Hi Doug, All variables are indeed character strings ; including 'the target' ; however, the engine recognises certain keywords and can grab the data without having to parse the content of the variable first ; so in your example, "the id of this card" will work faster than "the id of it" because the engine grabs it directly. Best regards, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From alrice at arcplanning.com Mon Feb 24 14:13:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Mon Feb 24 14:13:00 2003 Subject: do "delete variable" In-Reply-To: <62BA71FE-4827-11D7-809D-000393529642@arcplanning.com> Message-ID: <14A67974-4829-11D7-809D-000393529642@arcplanning.com> On Monday, February 24, 2003, at 11:40 AM, Alex Rice wrote: > > Sometimes, not always, I get this exception. It is always the case > that I can do the same command from the message window without an > exception. Oops. I should have waited to send that. I think this is what I was missing- declaring the global. do "global" && tGlobal Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From alrice at arcplanning.com Mon Feb 24 14:13:21 2003 From: alrice at arcplanning.com (Alex Rice) Date: Mon Feb 24 14:13:21 2003 Subject: exception handling In-Reply-To: <20030224183820.17636.qmail@web11901.mail.yahoo.com> Message-ID: <5284F054-4829-11D7-809D-000393529642@arcplanning.com> On Monday, February 24, 2003, at 11:38 AM, Jan Schenkel wrote: > It does, and you named it *grin* > Have a look at the 'try control structure' entry in > the Transcript Dictionary. Oh my goodness, I rememered correctly, but was searching the transcript library for "handle" and "exception". Doh! Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From janschenkel at yahoo.com Mon Feb 24 14:14:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Feb 24 14:14:00 2003 Subject: menu paradigm of Rev/MC and other goofiness In-Reply-To: Message-ID: <20030224191015.22973.qmail@web11901.mail.yahoo.com> --- "Ivers, Doug E" wrote: > Does anyone else besides me think that the way > menuItems are implemented is goofy? > > First of all, there should be a menuItem name, > number, & id separate from the menuItem text, just > like there is for controls. Why was the paradigm > used for buttons, fields, cards, etc. abandoned when > menus were implemented? I suppose it is a > consequence of equating menu with button? It seems > so inconsistent. > > Second, the use of character codes in the text of a > menu item to create checkmarks and hot keys seems > particularly archaic and problematic. Of course > there are ways to provide a new paradigm without > giving up compatibility (think: "set the > menuObjects to true; set the checkMark of menuItem 4 > of menu "Preferences" to true). > > I don't claim to have all the answers for this, but > the menu paradigm is goofy. Another thing that > bothers me is the gyrations required to deal with > Transcript's quotes (the inability to nest quotes), > but that is a topic for another thread. > > Maybe a new interest group should be formed? > P rogrammers > A gainst > T ranscript > G oofiness > > -- D > > P.S. I don't currently have access to the improve > list, so when replying, please cc that list so this > thread gets the appropriate visibility. > Hi Doug, Even though I found the menu paradigm quite strange at the start, it has grown on me, because of its added flexibility: you can place a menubar anywhere, you can change contents dynamically on mouseEnter, etc. You can even assign a 'menuStack' and it will show that stack instead of a menu ; how cool is that? And for the things I do miss, I nearly always found a work-around. Is there anything in particular you need? As for the quotes, that's inherent to XTalk, and has been the cause of weird scripting ever since the original HyperCard came out in 1987. But a little creativity with 'do' never hurt anyone. Well, except for the hair-pulling when it fails the upteenth time for an obscure reason, of course ;-) Best regards, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From tkuypers at pandora.be Mon Feb 24 14:22:01 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Mon Feb 24 14:22:01 2003 Subject: Opening a file In-Reply-To: <20030224184632.19478.qmail@web11901.mail.yahoo.com> Message-ID: Tnx, this is what I needed :-)) > From: Jan Schenkel > Reply-To: use-revolution at lists.runrev.com > Date: Mon, 24 Feb 2003 10:46:32 -0800 (PST) > To: use-revolution at lists.runrev.com > Subject: Re: Opening a file > > --- "tkuypers at pandora.be" wrote: >> Hi gang... >> >> Maybe someone can give me a clue, because I am >> stuck... >> >> We developed a Windows FileMaker application which >> has 5 versions running in >> various countries, using the runtime engine of >> FileMaker. >> Now we need to run a FileMaker file to make sure the >> upgrade to version 6 >> goes ok. >> The FileMaker file we are running is a runtime file >> as well and is during >> installation of the new version, placed in the same >> folder as the old >> version. >> >> So I built an application which checks the old >> version of the FileMaker >> application and selects the correct upgrader file. >> When using the Launch command, the old version is >> launched, not the file I >> want, so I used the Schell command. Problem solved! >> >> Too bad, problem NOT solved, the shell command >> doesn?t work on systems >> running Windows 98 :-(( >> >> Can anybody give me a clue where to search? How do I >> open a file, not caring >> which application has to be used without using the >> Shell-command? >> >> Many thanks in advance, >> >> Ton Kuypers >> > > Hi Ton, > > Check out the 'shellCommand' entry in the Transcript > Dictionary. I don't recall which used which, but some > Windows versions use "command.com" and others use > "cmd.exe" as shellCommands -- I'm quite sure it's in > Ken Ray's tips'n'tricks pages. > > Hope this helped, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La > Rochefoucauld) > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - forms, calculators, tips, more > http://taxes.yahoo.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Mon Feb 24 14:26:02 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Feb 24 14:26:02 2003 Subject: Double-clicking a document in Windows In-Reply-To: Message-ID: Graham Samuel wrote: > I am surprised that a second double-click will create another > instance of an application in Windows, because IMHO this behaviour > would be counterintuitive for most non-technical PC users, who after > all are Msoft's most numerous customers. Indeed, grabbing the first > PC I could find (running Office 2000 under Windows 95), I find that > Microsoft Word works the way I expected, i.e. double-click on a > document will open the app, double-click on a second document, the > app acts like you did File/Open from a menu. Of course in MS Office > applications, it's legit to have several documents/files open at the > same time. > > I had no idea that there was an 'intra-application' issue, which I > suppose MS Office itself has had to grapple with. I have no idea how MS Office handles that (will they document the APIs they use? ), and I'm sure there's a simpler method than the one discussed on the MC list: As for the default behavior, think of it as document-centric rather than task-centric. As Chipp pointed out, without a common menu bar everything is dependent on the individual document window. "But Office has a common menu bar - why can't I?" Office uses MDI ("Multiple-Document Interface", which provides a master enclosing window in which document windows appear. Unlike the Mac, Windows has not one, but four completely different windowing models for designers to choose from: -------------------------- Window Management User tasks often involve working with different types of information contained in more than one window or view. You can use a variety of techniques to manage a set of windows or views. This chapter covers some common techniques and the factors to consider in selecting a particular model. --------------------------- Of these, Rev can do the Single-Document Window Interface, Workbook, and Project models, but does not currently support Multiple-Document Interface. If it's really essential that only one instance be open, there are ways to get around that as discussed on the MC list. But I wouldn't worry about confusing users. The SDI has been around so long that the only ones who find it confusing are Mac software designers. :) Awash among four completely different models, Windows end users seem accustomed to the variety. > I suppose then my fallback is to design the app to deal with only one > document (double-clickable file) at a time - but even with this > restriction published to my users, how can I tell if the user has in > fact done a second 'unauthorised' double-click and somehow reject it? Why would you want to restrict them from opening a second document? > Incidentally, since Mac OSX is based on Unix, it seems worth asking > if this problem also exists there - I sense that this > multiple-instantiation thing is more 'classical' in some sense than > the original MacOS solution and therefore likely to exist in Unix too. No, Mac still has a single instance, but OS X does introduce a new twist that will prompt forward-thinking designers to consider migrating from multiple-document interfaces to single-window, multi-pane UIs (as Apple has been doing with things like iMovie): In all prior versions of Mac OS, all windows belonging to an application were kep in one layer, so that clicking any of them brought all of them forward. With OS X, the Mac is now like other OSes, in which all windows are interleaved regardless of which application they belong to. This means that if your application displays related data among multiple windows, some of those windows may becme obscured by windows of other apps. Compare Adobe Premier to iMovie: In Premier (at least in the last version I used) the preview and timeline views are in separate windows. If you go to the Finder to double-click a movie, Premier will bring the Preview window forward but the timeline withh be behind the Finder window (hence the new requirement for OS X apps to have a "Bring All to Front" menu item in the Windows menu. With iMovie, a given project has multiple views in one window, each view effectively in a separate pane rather than a separate window. This keeps all views related to a given project in one window, so the user never has data related to a given project obscured by other apps. With Rev's group objects, setting up multiple pans in a window is a little more work to set up but merely slightly more tedious than difficult. One more consideration for OS X -- the new OS is also now more like other OSes in a way that may hamper usability in some instances: clicks in background windows now not only bring a window forward but also process the click. If you're in the habit of clicking anywhere in a background window to bring it forward, be aware that you may also me making a selection, triggering a button, etc. You have to be careful now not to click on a control in a background window unless you want to trigger than control. For more on this and other windowing issues in Mac OS, see the Aqua HIG: -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From eijkhout at cs.utk.edu Mon Feb 24 14:40:01 2003 From: eijkhout at cs.utk.edu (Victor Eijkhout) Date: Mon Feb 24 14:40:01 2003 Subject: Can I wake a sleeping Mac? Message-ID: I'm trying to write an alarm clock. So I send a wake message to a handler in so many ticks. Unfortunately my Mac goes to sleep, and the ongoing tick count gets delayed until it wakes up. Which is after *I* wake it. Irony written all over this story, I know. So, can runrev wake a sleeping computer? I know that it is possible in principle, because Apple's software can do it, and I've seen RealBasic programs that did it. -- Victor Eijkhout tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F) http://www.cs.utk.edu/~eijkhout/ From v.wildman at btinternet.com Mon Feb 24 16:04:01 2003 From: v.wildman at btinternet.com (Vincent Wildman) Date: Mon Feb 24 16:04:01 2003 Subject: Always On Top References: Message-ID: <003e01c2dc47$cf1d7c40$6401a8c0@vwildman> I am writing a Timer function in a Win 9x environment that needs to be always on top of any other programs used so that users can monitor their internet connection. Can this be done as I have looked through the documentation and can't find anything that would help. Best regards Vincent Wildman From tkuypers at pandora.be Mon Feb 24 16:31:01 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Mon Feb 24 16:31:01 2003 Subject: Slightly OT: Open files in Windows98 via shell (was "Opening a file") Message-ID: And another problem arised... Windows 2000: Drop a FileMaker Runtime file (.USR) in the DOS-box en pressing the enterkey runs the file with the correct FileMaker Runtime Engine. Windows 98: Doing the same thing gives an error (command or filename is incorrect) and it doesn?t work... Is there a way to launch a file in Windows 98, W2K and XP WITHOUT selecting the program to open this file? RR forces me to use Shellscript, but this gives me the above problem in W98 :-(( Launch first opens the FileMaker Runtime engine and starts the database, not the file I want. HELPPPPPPPPPPPP Met vriendelijke groeten, JAP / C-Sharp Ton Kuypers ========================================================== JAP bvba C-Sharp bvba Schotelven 28 Schotelven 28 2370 Arendonk 2370 Arendonk Belgium Belgium Tel +32(0)14/46 29 11 Tel +32(0)14/46 29 11 Fax +32(0)14/46 29 12 Fax +32(0)14/46 29 12 ========================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From raney at metacard.com Mon Feb 24 16:59:01 2003 From: raney at metacard.com (Scott Raney) Date: Mon Feb 24 16:59:01 2003 Subject: pathway In-Reply-To: <200302241032.FAA12691@www.runrev.com> Message-ID: On Sun, 23 Feb 2003 Yves COPPE wrote: > I find the problem > when I use a long name for a folder > the result gves something like > > /HD/user/userName/.../the truncated long name of the folder#465ED/Text > the long name of the folder is truncated and ends with "#465ED" > what's that ?? You didn't include platform or version information in your post (very important when making a report like this!), but it looks like the brain-damaged way OS X deals with long paths when you access them from Carbon (i.e. with an FSSpec, which only supports 32-byte path elements and 256 bytes total paths). This works a lot better in MC 2.5/RR 2.0 where you can at least deal with these paths if you stick to using "open file", but there are still some things (like "answer file") that are limited by the Carbon API and so don't work right with long paths. So, the bottom line is, depite Apple's claims of support to the contrary, it's a *really bad idea* to use long paths on OS X because there are still just too many things (like FSSpecs that QT and Navigation Services use) that don't work with them. You say you can't change these path names, but that sounds to me like a policy decision and unfortunately policy is just going to have to change in the face of technical reality in this case. Regards, Scott > thank for your help > -- > Greetings. > > Yves COPPE > > Email : yvescoppe at skynet.be ******************************************************** Scott Raney raney at metacard.com http://www.metacard.com MetaCard: You know, there's an easier way to do that... From livfoss at blueyonder.co.uk Mon Feb 24 17:07:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Feb 24 17:07:01 2003 Subject: menu paradigm of Rev/MC and other goofiness Message-ID: On Mon, 24 Feb 2003 08:17:58 -0500 "Ivers, Doug E" wrote: > >Does anyone else besides me think that the way menuItems are >implemented is goofy? > >[...] Yes, coming from SuperCard I thought it was fairly goofy not to have a proper 'menu' object type, but I find with practice it doesn't worry me any more and it seems pretty flexible. However your second point >Second, the use of character codes in the text of a menu item to >create checkmarks and hot keys seems particularly archaic and >problematic. Yes, this has proved a bit of an irritation for me because I want to be able to have multilingual menu items, with the actual item text created at setup time according to the language of the environment, and it turns out that the parameter passed with 'menuPick' when a menu item is selected is a text which **doesn't** contain these extra character codes even though they have to be present in the button (menu) contents. This means that for each language I have to keep two texts per item, one for putting into the button as a menu item and one for putting into the menuPick handler as the text of the item as seen by the user. Still, once you've understood it, it ain't so bad. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From livfoss at blueyonder.co.uk Mon Feb 24 17:25:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Feb 24 17:25:00 2003 Subject: Double-clicking a document in Windows Message-ID: On Mon, 24 Feb 2003 12:20:32 -0600 "Chipp Walters" wrote: > >Using MSWord 2000 and XP: when you double-click a .doc file, it appears that >it *also* launches a separate instance of MSWord (at least it shows so in >the Application tab of the task manager) - though MS does have a special >quick launch memory handling feature for all OFFICE apps. > >I'm not so sure this is a big problem. What *should* the desired behavior >be? This was a bit confusing for me, too, coming from the Mac platform >several years ago. But, since the menubar is not tied to the top of the >screen, but rather to the window, it seems appropriate for Windows to 'open' >another version of the app with the document. Especially since Windows >handles memory so much better than Macs do (no App memory size -- VM >*substantially* better). Well, up to a point... but what about all those useful features where you have a number of docs open in Word or Excel or Photoshop or whatever, and the app arranges the screen so you can see them all, at least in part. This makes it easy to cut/paste or even drag/drop between the different documents. It's also possible in Word (if I remember rightly ) to have each chapter of a book as a separate document, but then to arrange the page numbering etc to run on from one chapter to another... these kind of features seem to me to be more naturally dealt with using just one instance of the app. However I admit this is just background, rather than an immediate issue for me. > >What is your app trying to do that it doesn't want a second file (app) open? > It wants to replace one document with another - generically the app is an educational game, and we don't want the user (a child) to have two separate maps or skill-and-drill screens or whatever open at one time - so when a new one opens, the old one closes. In the context of this type of app it would just seem unnecessarily complicated to work on two at once. For the same reason, my publisher's guidelines suggest the app attempts to fill the screen so as to limit the number of choices the user is tempted to make (although I don't go as far as getting into kiosk mode). You can see therefore that two instances of the same app would also seem confusing. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From ambassador at fourthworld.com Mon Feb 24 17:55:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Feb 24 17:55:01 2003 Subject: menu paradigm of Rev/MC and other goofiness In-Reply-To: Message-ID: Graham Samuel wrote: > On Mon, 24 Feb 2003 08:17:58 -0500 "Ivers, Doug E" > wrote: > >> >> Does anyone else besides me think that the way menuItems are >> implemented is goofy? >> >> [...] > > Yes, coming from SuperCard I thought it was fairly goofy not to have > a proper 'menu' object type, but I find with practice it doesn't > worry me any more and it seems pretty flexible. However your second > point I think this may be a case of "different" more than one way being necesarily "better" than another. If you look up my early posts to the MC list in '98, you'll find me kicking and screaming about these differences, but over time I've learned the reasoning behind them and today I generally like the MC/Rev engine as lot. Back when I could still afford to deploy apps for Mac OS exclusively, of course SuperCard was my tool of choice and I can't count the number of times I wanted a way to dynamically modify a whole set of menus on the fly without having to walk through a list of objects, with all the supporting data structures that go along wih them. And here's where I got excited about this more HC-like way of doing things in MC: I was building a tool palette that uses a cascade menu to display a list of stack files in a folder. In SuperCard you'd want to build the menu in advance, since the time to delete all menu items and rebuild them fresh isn't something you'd want to do on mousedown, even with lockMenus on. ;) It was working really well and I began to wonder if I could remove my "Rebuild Menu" menu item by having the contents built on the fly. I figured with setting the directory, getting the file list, filtering the list for "*.mc", sorting it, restoring the directory and stuffing the list into the button, it would be prohibitive in terms of performance, but the being benchmarking nut that I am I couldn't resist at least seeing how bad it was. Well, I must have been tired that day, because when I opened the script again I found that I'd already coded it that way -- the entire menu was being rebuilt on the fly in a couple milliseconds on mousedown. My only complaint with the text-base menus is that they are not currently available for use as contextual menus, requiring making a relatively complex widget if you want them to refect the exact system font settings across platforms. But if you're willing to get away with a modest deviation from HIGs, 12 points is the nearest match to Mac Classic, Win32, Red Hat Linux 8, and only one point down from the recommended setting for OS X. Just the same, I look forward to the speed and ease of using a textlist for CMs as soon as possible. But overall, the biggest challenge in working with Rev/MC's menus is when porting from SC. If porting from HC or building from scratch they're a kick to work with. >> Second, the use of character codes in the text of a menu item to >> create checkmarks and hot keys seems particularly archaic and >> problematic. > > Yes, this has proved a bit of an irritation for me because I want to > be able to have multilingual menu items, with the actual item text > created at setup time according to the language of the environment, > and it turns out that the parameter passed with 'menuPick' when a > menu item is selected is a text which **doesn't** contain these extra > character codes even though they have to be present in the button > (menu) contents. This means that for each language I have to keep two > texts per item, one for putting into the button as a menu item and > one for putting into the menuPick handler as the text of the item as > seen by the user. Still, once you've understood it, it ain't so bad. With case statements it shouldn't be too hard. Does the menuhistory works for pull-downs? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From Doug_Ivers at lord.com Mon Feb 24 18:14:01 2003 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Mon Feb 24 18:14:01 2003 Subject: menu paradigm of Rev/MC and other goofiness Message-ID: My point is that there are areas of hypertalk that require more coding and are more prone to errors than should be. I hope that the MC/Rev developers are open to discussing these topics and providing improvements in the language. Menus and nested quotes stick out in my mind. Another area: I think there should be a variable type that is an object pointer as opposed to a text string. I can't put my finger on a specific example that illustrates why right now...but I know I've had to do some coding gyrations to get my (sring) reference to a pointer interpreted right. -- D > > > > Maybe a new interest group should be formed? > > P rogrammers > > A gainst > > T ranscript > > G oofiness > > > > -- D > > > > P.S. I don't currently have access to the improve > > list, so when replying, please cc that list so this > > thread gets the appropriate visibility. > > From ambassador at fourthworld.com Mon Feb 24 18:31:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Feb 24 18:31:01 2003 Subject: menu paradigm of Rev/MC and other goofiness In-Reply-To: Message-ID: Ivers, Doug E wrote: > My point is that there are areas of hypertalk that require more coding and > are more prone to errors than should be. I hope that the MC/Rev developers > are open to discussing these topics and providing improvements in the > language. > > Menus and nested quotes stick out in my mind. Here's a lil' gem that's radically simplified a lot of my code: function q s return quote& s "e end q To call it: put "I said, "& q("Let's go!") ...as opposed to: put "I said, "& quote&"Let's go!""e A small improvement, but a but more pleasing to the tired eye. :) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From pixelbird at interisland.net Mon Feb 24 21:35:00 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Mon Feb 24 21:35:00 2003 Subject: Rough day on the Revolution front In-Reply-To: <200302241701.MAA20132@www.runrev.com> Message-ID: ********** > Date: Mon, 24 Feb 2003 09:21:08 -0700 > Subject: Re: Rough day on the Revolution front > From: Alex Rice > On Sunday, February 23, 2003, at 02:55 PM, Ken Norris (dialup) wrote: >> I have a 128mb CF card in the PCMCIA slot as a formatted volume >> assigned to >> Virtual Memory, which gives it 116mb useable VM. I've heard the >> transfer >> rates of those things are pokey. > > The VM system on Mac OS (before X) is terrible. From my days doing tech > support for an ISP, I remember once of the first things to try when a > Mac is acting wonky is to *turn off* virtual memory. ---------- Turn off VM, open Rev docs,...CRASH! Ken N. From mazzapaolo at libero.it Tue Feb 25 04:31:01 2003 From: mazzapaolo at libero.it (paolo mazza) Date: Tue Feb 25 04:31:01 2003 Subject: icon standalone application on MacOSX In-Reply-To: Message-ID: <370C4FE8-48A3-11D7-B04E-0003936FFEAC@libero.it> How can I set an icon for a standalone application on MacOSX? Using the application builder of Revolution I can set an icon only for Windows standalones? What about Mac? Ciao, Paolo From tsj at unimelb.edu.au Tue Feb 25 05:38:00 2003 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue Feb 25 05:38:00 2003 Subject: OSX stripey dialogs/sheets In-Reply-To: <90438829-47CA-11D7-968D-003065683ECC@inspiredlogic.com> Message-ID: <9A4EDDA2-48AC-11D7-904E-000393AEC28C@unimelb.edu.au> Ello - I know this has been covered before (more than once) but can anyone reiterate the steps required to get that 'stripey' window background on OSX? TIA Terry... Dr Terry Judd Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA From alrice at arcplanning.com Tue Feb 25 08:56:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Feb 25 08:56:01 2003 Subject: icon standalone application on MacOSX In-Reply-To: <370C4FE8-48A3-11D7-B04E-0003936FFEAC@libero.it> Message-ID: <6BC3CB49-48C8-11D7-8A98-000393529642@arcplanning.com> On Tuesday, February 25, 2003, at 02:26 AM, paolo mazza wrote: > How can I set an icon for a standalone application on MacOSX? > Using the application builder of Revolution I can set an icon only for > Windows standalones? > What about Mac? > Ciao, Paolo You can wait for Rev v2, or in Rev 1.1.1, you can create an application bundle by hand or using Apple Project Builder. Copy your revolution app into the bundle and then adjust the icon and other properties in the app bundle. http://lists.runrev.com/pipermail/use-revolution/2002-November/ 009268.html Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From valetia at mac.com Tue Feb 25 10:28:00 2003 From: valetia at mac.com (valetia at mac.com) Date: Tue Feb 25 10:28:00 2003 Subject: iTunes-type alternate colored lines in scrolling list field In-Reply-To: <9A4EDDA2-48AC-11D7-904E-000393AEC28C@unimelb.edu.au> Message-ID: It seems REALbasic allows for that...how do you do that in Revolution? :-) Valetia From valetia at mac.com Tue Feb 25 10:30:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Tue Feb 25 10:30:01 2003 Subject: icon standalone application on MacOSX In-Reply-To: <370C4FE8-48A3-11D7-B04E-0003936FFEAC@libero.it> Message-ID: > How can I set an icon for a standalone application on MacOSX? > Using the application builder of Revolution I can set an icon only for > Windows standalones? > What about Mac? Try Iconographer: http://www.versiontracker.com/moreinfo.fcgi?id=11842&db=mac Valetia From eijkhout at cs.utk.edu Tue Feb 25 10:47:01 2003 From: eijkhout at cs.utk.edu (Victor Eijkhout) Date: Tue Feb 25 10:47:01 2003 Subject: can't import from file in OSX? Message-ID: At 1:55 -0500 2003/02/22, use-revolution-request at lists.runrev.com wrote: > > get the fifth line of URL >> "file:/Users/guest/Desktop/radmindgui/ps_output" >> put it into field theOutput > >hmm... this should work as far as I see it... maybe there are no five I ran into something like this a while ago. Try "file:/YourHardDrive/Users/blah/blah", where any spaces in the hard drive are rendered as "%20". -- Victor Eijkhout tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F) http://www.cs.utk.edu/~eijkhout/ From janschenkel at yahoo.com Tue Feb 25 11:38:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 25 11:38:01 2003 Subject: iTunes-type alternate colored lines in scrolling list field In-Reply-To: Message-ID: <20030225163410.97806.qmail@web11904.mail.yahoo.com> --- "valetia at mac.com" wrote: > It seems REALbasic allows for that...how do you do > that in Revolution? :-) > > Valetia > Hi Valetia, Here's the way I did it : - create a pattern in your favourite painting app - import it as an image - create a rectangle the size of the field > 'Foo' - set its lineSize to 0 - use the 'Colors' palette to set the backgroundPattern of the rectangle to your imported pattern - group the rectangle > 'Bar' - set the margins of group "Bar" to 0 - set the lockLocation of group "Bar" to true - move the group behind the field - set the field's opaque to false At this point, you have two choices: 1) either you correct the scrolling so that one line at a time is scrolled instead of one pixel at a time. - set the script of the field to : on scrollbarDrag put the scroll of me into tScroll put the effective textHeight of me into tLineHeight if tScroll MOD tLineHeight is not 0 then set the scroll of me to \ ((tScroll DIV tLineHeight) * tLineHeight) end if end scrollbarDrag 2) or a few more steps are needed to make it scroll well: - set the script of the field to : on scrollbarDrag set the scroll of group "Bar" to the scroll of me end scrollbarDrag on InitBkgnd put the rect of graphic "Foo" into tBgRect put the formattedHeight of me into tHeight add (tHeight - item 4 of tRect - item 2 of tRect) \ to item 4 of tRect end InitBkgnd - and use the message box to : set the scroll of grp "Bar" to 1 set the scroll of fld "List" to 1 send "InitBkgnd" to fld "List" You may have to fiddle some positions a bit with respect to the field margins, and you'll have to make sure the list field has a fixed line height. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From yvescoppe at skynet.be Tue Feb 25 11:48:01 2003 From: yvescoppe at skynet.be (yves COPPE) Date: Tue Feb 25 11:48:01 2003 Subject: pathway In-Reply-To: <20030224183611.38198.qmail@web11903.mail.yahoo.com> References: <20030224183611.38198.qmail@web11903.mail.yahoo.com> Message-ID: >Since nobody else jumped on this while I was in >hiatus, I'll pick up the thread here. > >Maybe you recall that when Microsoft released >Windows95, it broke the 8.3-filename limit. New >applications would see the full name (254 char max). >But older applications will show files as in the 8.3 >limit, and you get such funny things as "DATA~001.TXT" >when you're looking for a file named "Data before >changes.txt" > >Something similar is happening here: the classic MacOS >imposed a 32 character limit on files and folders. And >that's why you'll see the funny "#465ED" at the end of >a long folder. >Have you checked if you get the same behaviour in the >PreBeta ? In that case, it could very well be a >limitation of the CarbonLib-API and it was fixed by >the transition to Mach-O executables for MetaCard 2.5 >/ RunRev 2.0 >If not, you'll have to figure out a way to convert >from the real name to the short name. But I have no >ideas for that at the moment. Someone else? > >Hope this helped, > Jan Schenkel. It seems as it's better wwith Rev 2.0 pre beta I caanot test the full script because I can't access the flds names in this pre beta I've done some easy test with the "answer" dlog answer file "Which file" answer it I get the full path without truncated name I'm waiting a full version of rev 2.0 to test it definitively. From janschenkel at yahoo.com Tue Feb 25 11:54:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Feb 25 11:54:00 2003 Subject: iTunes-type alternate colored lines in scrolling list field In-Reply-To: Message-ID: <20030225164958.73305.qmail@web11905.mail.yahoo.com> accidentally hit the 'Send' button before I was finished editing this post --- "valetia at mac.com" wrote: > It seems REALbasic allows for that...how do you do > that in Revolution? :-) > > Valetia > Hi Valetia, There are two ways to go, depending on what you want. 1) if you're okay with 'line-per-line' scrolling of your field, you can simply: - create a pattern in your favourite painting app - import it as an image - use the 'Colors' palette to set the backgroundPattern of the field to your imported pattern - set the script of the field to : on scrollbarDrag put the scroll of me into tScroll put the effective textHeight of me into tLineHeight if (tScroll MOD tLineHeight) is not 0 then set the scroll of me to \ ((tScroll DIV tLineHeight) * tLineHeight) end if end scrollbarDrag 2) if you want pixel-per-pixel' scrolling, things get a bit more complicated, but it is possible ; here's the way I did it : - create a pattern in your favourite painting app - import it as an image - create a rectangle the size of the field > 'Foo' - set its lineSize to 0 - use the 'Colors' palette to set the backgroundPattern of the rectangle to your imported pattern - group the rectangle > 'Bar' - set the margins of group "Bar" to 0 - set the lockLocation of group "Bar" to true - move the group behind the field - set the field's opaque to false Now a few more steps are needed to make it scroll well: - set the script of the field to : on scrollbarDrag set the scroll of group "Bar" to the scroll of me end scrollbarDrag on InitBkgnd put the rect of graphic "Foo" into tBgRect put the formattedHeight of me into tHeight add (tHeight - item 4 of tRect - item 2 of tRect) \ to item 4 of tRect end InitBkgnd - and use the message box to : set the scroll of grp "Bar" to 1 set the scroll of fld "List" to 1 send "InitBkgnd" to fld "List" You may have to fiddle some positions a bit with respect to the field margins, and you'll have to make sure the list field has a fixed line height. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From valetia at mac.com Tue Feb 25 12:14:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Tue Feb 25 12:14:01 2003 Subject: iTunes-type alternate colored lines in scrolling list field In-Reply-To: <20030225164958.73305.qmail@web11905.mail.yahoo.com> Message-ID: > There are two ways to go, depending on what you want. > 1) if you're okay with 'line-per-line' scrolling of > your field, you can simply: Thanks Jan, will try it out! :-) You're really good at things to do with scrolling fields! :D Valetia From benr_mc at cogapp.com Tue Feb 25 13:10:00 2003 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue Feb 25 13:10:00 2003 Subject: Rough day on the Revolution front In-Reply-To: Message-ID: on 23/2/03 9:55 pm, Ken Norris (dialup) wrote > I have a 128mb CF card in the PCMCIA slot as a formatted volume assigned to > Virtual Memory, which gives it 116mb useable VM. I've heard the transfer > rates of those things are pokey. I don't know how this helps (I don't think it does!) but using CompactFlash for VM is horrible. Flash memory is fast to read, but s-l-o-w to write. You might actually do better to use the hard disk for VM (and if necessary move stuff like the Rev docs to Flash if that helps makes space). 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 benr_mc at cogapp.com Tue Feb 25 13:47:00 2003 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue Feb 25 13:47:00 2003 Subject: Combo-box/popup menu in a list field? In-Reply-To: Message-ID: on 21/2/03 12:32 pm, valetia at mac.com wrote > Your method sounds exactly like what I had actually tried to accomplish > (display a popup at a specific location per line). > > However, I did run into a problem (still unsolved) that perhaps you know the > answer to. > > It's also why I had posted an earlier message (to which there have not been > any replies) regarding the strange behavior of clickChunk with list fields. > > Here's what I had posted in that earlier message: > > "When the listBehavior of a field is set to true, it seems the clickChunk > returns the hilitedLine instead...(could this be a bug?) > > "How do you get the "actual" clickChunk then?" > > So a related question would be, with the method you just described, do you > use the clickChunk to determine the location of the click, or something > else? HI Valetia Sorry I've only just read your reply. This list is very active and I often skip chunks altogether.... When I've done this, I've not made use of the clickChunk. I can't swear that I've done it with a field who's listBehaviour is set to true. But to give you an idea, here's a handler from a field where I'm currently doing something like this. It just so happens that in this case my list has three sections to each row, and I'm using tabs to format it; and I only want the menu to appear when the user clicks in the third column. The actual code in this case is: on mouseDown put word 2 of the clickLine into n put the clickH - the left of me into xPix put the tabStops of me into tStops if xPix > item 2 of tStops then setFieldNewNameD n end if end mouseDown ...where 'setFieldNewNameD' happens to be handler in the card script when ends up by using the popup command to popup a menu button. So in this case I am actually using 'click-family functions', which might or might not give the right results if the field listBehaviour was set to true; but I think the real point is that this is doing some pixel level calculations, to work out what bit of data the user is operating on. In another project, I'm pretty certain that I actually created an array (or was it a custom property of the field?) at the time that I format the text to put into the field, precisely so that when the user clicks somewhere on it I'd be able to do a quick calculation to work out what chunks _in my terms_ the user had clicked on. Does that help? I'm not really sure if it's clear - if you're still having trouble (and you may in any case have solved your problem by now) come back to me if you want more explanation. 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 valetia at mac.com Tue Feb 25 14:38:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Tue Feb 25 14:38:01 2003 Subject: Combo-box/popup menu in a list field? In-Reply-To: Message-ID: Hi Ben, > Sorry I've only just read your reply. This list is very active and I often > skip chunks altogether.... No problem at all! :-) > When I've done this, I've not made use of the clickChunk. I can't swear > that I've done it with a field who's listBehaviour is set to true. But to > give you an idea, here's a handler from a field where I'm currently doing > something like this. I've just tested it and yes it does indeed work when the listBehavior is set to true...thanks!! :-) Valetia From tsj at unimelb.edu.au Tue Feb 25 16:58:01 2003 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue Feb 25 16:58:01 2003 Subject: OSX stripey dialogs/sheets solved In-Reply-To: <9A4EDDA2-48AC-11D7-904E-000393AEC28C@unimelb.edu.au> Message-ID: On Tuesday, February 25, 2003, at 09:33 PM, Terry Judd wrote: > > Ello - I know this has been covered before (more than once) but can > anyone reiterate the steps required to get that 'stripey' window > background on OSX? > > TIA > > Terry... Found what I was looking for in a search of the archives. For anyone else that is interested the solution (courtesy of Scott Raney - who should know) is as follows... You need to make sure that the backColor and backPixmap for the card, stack, and all other stacks in the hierarchy (i.e., a mainstack and/or the Home stack) are set to empty. The same rule applies if you want to use the system background color on Win32 systems. Regards, Scott > Greg ******************************************************** Scott Raney raney at metacard.com http://www.metacard.com MetaCard: You know, there's an easier way to do that... > > Dr Terry Judd > Biomedical Multimedia Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > Parkville VIC 3052 > AUSTRALIA > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1561 bytes Desc: not available URL: From erikhans08 at yahoo.com Tue Feb 25 17:33:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Feb 25 17:33:01 2003 Subject: variables and objects In-Reply-To: <20030224185742.41863.qmail@web11903.mail.yahoo.com> Message-ID: <20030225222918.6833.qmail@web20008.mail.yahoo.com> --- Jan Schenkel wrote: > --- "Ivers, Doug E" > wrote: > > Seems that all user-created variables are > character > > strings. Is target also a character string, > or is > > it something more sophisticated (like a > pointer in > > C)? Same question for this card, recent > card, this > > stack, etc. > > > > Are these statements the same in the way they > work > > "behind the scenes"? > > answer the id of this card > > get the long name of this card; > > answer the id of it > All variables are indeed character strings ; > including > 'the target' ; however, the engine recognises > certain > keywords and can grab the data without having > to parse > the content of the variable first ; so in your > example, "the id of this card" will work faster > than > "the id of it" because the engine grabs it > directly. the engine grabs or grabs "this card"? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From kray at sonsothunder.com Tue Feb 25 17:50:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Feb 25 17:50:01 2003 Subject: Always On Top References: <003e01c2dc47$cf1d7c40$6401a8c0@vwildman> Message-ID: <002001c2dd20$0fe8c440$6f00a8c0@mckinley.dom> Vincent, Revolution doesn't naturally do that, but I've got something I'm working on that can help with this... can you email me off-list and let me know how soon you need this capability and I'll see what I can do... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Vincent Wildman" To: Sent: Monday, February 24, 2003 3:00 PM Subject: Always On Top > I am writing a Timer function in a Win 9x environment that needs to be > always on top of any other programs used so that users can monitor their > internet connection. > > Can this be done as I have looked through the documentation and can't find > anything that would help. > > Best regards > > Vincent Wildman > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jhurley at infostations.com Tue Feb 25 18:17:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Tue Feb 25 18:17:01 2003 Subject: I quote, therefore I am In-Reply-To: <200302242332.SAA00453@www.runrev.com> References: <200302242332.SAA00453@www.runrev.com> Message-ID: >Richard Gaskin wrote: > >Here's a lil' gem that's radically simplified a lot of my code: > >function q s > return quote& s "e >end q > > >To call it: > > put "I said, "& q("Let's go!") > >...as opposed to: > > put "I said, "& quote&"Let's go!""e > >A small improvement, but a but more pleasing to the tired eye. :) > I find this nifty as hell. A lil' gem indeed. To take revenge on my struggles with quotes in the past I wrote: on mouseUP put "I quote, therefore I am." into tMessage repeat 8 times put q(tMessage) into tMessage end repeat put tMessage into field 1 end mouseUP function q s return quote& s "e end q And in field 1 I took some perverse satisfaction in finding: """"""""I quote, therefore I am."""""""" Jim From ttasovac at princeton.edu Tue Feb 25 19:12:01 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Tue Feb 25 19:12:01 2003 Subject: highlighted text and quicktime sound files Message-ID: i have a question about the extent to which revolution can communicate with quicktime on both mac and windows. i have a text field and a prerecorded quicktime sound file of the text in the text field. i would like to have the text highlighted sentence by sentence as the sound file is being played. the pedestrian way would be to divide the sound file in many smaller files, one for each sentence, but i wonder if there is another way, in which revolution could tell the quicktime player which portion of the sound file to play as individual sentences get highlighted. what would be the most efficient way to both divide (or mark) the quicktime sound files and make revolution interact with those portions? all best, T. ________________________________ Toma Tasovac Princeton University Department of Comparative Literature 91 Prospect Avenue Princeton, NJ 08544 USA ttasovac at princeton.edu ttasovac at post.harvard.edu From scott at tactilemedia.com Tue Feb 25 19:27:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Feb 25 19:27:01 2003 Subject: highlighted text and quicktime sound files In-Reply-To: Message-ID: Recently, "Toma Tasovac" wrote: > i have a text field and a prerecorded quicktime sound file of the text > in the text field. i would like to have the text highlighted sentence > by sentence as the sound file is being played. the pedestrian way > would be to divide the sound file in many smaller files, one for each > sentence, but i wonder if there is another way, in which revolution > could tell the quicktime player which portion of the sound file to play > as individual sentences get highlighted. > > what would be the most efficient way to both divide (or mark) the > quicktime sound files and make revolution interact with those portions? First, note the specific times that correspond to the speaking of each word in the sound file and store these times (in a property of the field, the player, your stack, or wherever). When each word is clicked, set the currentTime of your player to the corresponding time and start the player. You may be able to use the startTime and endTime properties to limit the playback time of the player, depending on how your player is set up. See the following in the docs: - timeScale - currentTime - playSelection - startTime - endTime Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From janschenkel at yahoo.com Wed Feb 26 00:58:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Feb 26 00:58:01 2003 Subject: variables and objects In-Reply-To: <20030225222918.6833.qmail@web20008.mail.yahoo.com> Message-ID: <20030226055450.6839.qmail@web11901.mail.yahoo.com> --- erik hansen wrote: > --- Jan Schenkel wrote: > > --- "Ivers, Doug E" > > wrote: > > > Seems that all user-created variables are > > character > > > strings. Is target also a character string, > > or is > > > it something more sophisticated (like a > > pointer in > > > C)? Same question for this card, recent > > card, this > > > stack, etc. > > > > > > Are these statements the same in the way they > > work > > > "behind the scenes"? > > > answer the id of this card > > > get the long name of this card; > > > answer the id of it > > > All variables are indeed character strings ; > > including > > 'the target' ; however, the engine recognises > > certain > > keywords and can grab the data without having > > to parse > > the content of the variable first ; so in your > > example, "the id of this card" will work faster > > than > > "the id of it" because the engine grabs it > > directly. > > the engine grabs or grabs "this card"? > Hi Erik, You're right, that was a bit less-than-stellar choice of words upon review. "answer the id of this card" takes the engine a single step to retrieve the ID. "get the long name of this card; answer the id of it" actually takes 5 steps : 1) retrieve the long name of this card 2) stuff it down the special variable 'it' 3) retrieve the content of the special variable 'it' 4) parse that content for an object reference 5) retrieve the id of said object "put the long name of this card into tLongName ; answer the id of tLongName" would have been the slowest variant, because the engine recognises the special variable 'it' and doesn't have to dig through memory references to find out which bit of RAM you're referring to. This sort of information can be used to optimise performance of certain key areas of your program. One example of this is the recent thread on imageData manipulation, where the re-use of local variables instead of reading the imageData again and again, turned an effect from sluggish to smooth. Then again, the point is moot if your program does what it has to do and runs at acceptable speeds on your machine. Hope this cleared a few things up, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From janschenkel at yahoo.com Wed Feb 26 01:05:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Feb 26 01:05:01 2003 Subject: iTunes-type alternate colored lines in scrolling list field In-Reply-To: Message-ID: <20030226060142.87611.qmail@web11905.mail.yahoo.com> --- "valetia at mac.com" wrote: > > There are two ways to go, depending on what you > want. > > 1) if you're okay with 'line-per-line' scrolling > of > > your field, you can simply: > > Thanks Jan, will try it out! :-) You're really good > at things to do with > scrolling fields! :D > > Valetia > Well, I use list field a lot in my stacks. I actually have a few more tricks up my sleeve for those, and I'm going through my test-stacks to clean up code and fix a few issues. The plan is to put them on my little website for you people to reuse :-) I'll keep you posted, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From erikhans08 at yahoo.com Wed Feb 26 02:07:02 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Feb 26 02:07:02 2003 Subject: variables and objects In-Reply-To: <20030226055450.6839.qmail@web11901.mail.yahoo.com> Message-ID: <20030226070319.25024.qmail@web20004.mail.yahoo.com> --- Jan Schenkel wrote: > --- erik hansen wrote: > > --- Jan Schenkel > wrote: > > > --- "Ivers, Doug E" > > > wrote: > > > > Seems that all user-created variables are > > > character > > > > strings. Is target also a character > string, > > > or is > > > > it something more sophisticated (like a > > > pointer in > > > > C)? Same question for this card, recent > > > card, this > > > > stack, etc. > > > > > > > > Are these statements the same in the way > they > > > work > > > > "behind the scenes"? > > > > answer the id of this card > > > > get the long name of this card; > > > > answer the id of it > > > > > All variables are indeed character strings > ; > > > including > > > 'the target' ; however, the engine > recognises > > > certain > > > keywords and can grab the data without > having > > > to parse > > > the content of the variable first ; so in > your > > > example, "the id of this card" will work > faster > > > than > > > "the id of it" because the engine grabs it > > > directly. > > > > the engine grabs or grabs "this card"? > > > > Hi Erik, > > You're right, that was a bit less-than-stellar > choice > of words upon review. > > "answer the id of this card" takes the engine a > single > step to retrieve the ID. > > "get the long name of this card; answer the id > of it" > actually takes 5 steps : > 1) retrieve the long name of this card > 2) stuff it down the special variable 'it' > 3) retrieve the content of the special variable > 'it' > 4) parse that content for an object reference > 5) retrieve the id of said object > > "put the long name of this card into tLongName > ; > answer the id of tLongName" would have been the > slowest variant, because the engine recognises > the > special variable 'it' and doesn't have to dig > through > memory references to find out which bit of RAM > you're > referring to. > > This sort of information can be used to > optimise > performance of certain key areas of your > program. One > example of this is the recent thread on > imageData > manipulation, where the re-use of local > variables > instead of reading the imageData again and > again, > turned an effect from sluggish to smooth. > > Then again, the point is moot if your program > does > what it has to do and runs at acceptable speeds > on > your machine. > > Hope this cleared a few things up, > > Jan Schenkel. > thanks this is good to know. i felt like a little snot as soon as i clicked on the send button. the nice thing about paper and calligraphy pens was that you put the letter in a drawer over night, then decided whether you really wanted to inflict it on the world. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From gcanyon at inspiredlogic.com Wed Feb 26 03:10:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Feb 26 03:10:01 2003 Subject: Rough day on the Revolution front In-Reply-To: Message-ID: <2D050F04-4961-11D7-95A6-003065683ECC@inspiredlogic.com> But with only 48mb of memory, if he doesn't have virtual memory on, he won't get anywhere trying to run the development environment. On Monday, February 24, 2003, at 08:21 AM, Alex Rice wrote: > The VM system on Mac OS (before X) is terrible. From my days doing > tech support for an ISP, I remember once of the first things to try > when a Mac is acting wonky is to *turn off* virtual memory. > regards, Geoff Canyon gcanyon at inspiredlogic.com From michael-kristensen at dsa-net.dk Wed Feb 26 04:34:01 2003 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Wed Feb 26 04:34:01 2003 Subject: OSX stripey dialogs/sheets solved In-Reply-To: <200302260712.CAA23018@www.runrev.com> Message-ID: > > You need to make sure that the backColor and backPixmap for the card, > stack, and all other stacks in the hierarchy (i.e., a mainstack and/or > the Home stack) are set to empty. The same rule applies if you want > to use the system background color on Win32 systems. > Regards, > Scott > Hi there Tried this in a button on the mainstack (the only stack): on mouseUp set the backcolor of this stack to empty set the backPixmap of this stack to empty set the backcolor of this card to empty set the backPixmap of this card to empty end mouseUp Nothing happend What is wrong? OSX 10.2.4 Kind regards Michael Kristensen From curry at pair.com Wed Feb 26 04:55:01 2003 From: curry at pair.com (curry) Date: Wed Feb 26 04:55:01 2003 Subject: replication problems In-Reply-To: <200302260711.CAA22941@www.runrev.com> References: <200302260711.CAA22941@www.runrev.com> Message-ID: As of pre-beta, the Replication feature still doesn't work right when replicating a group--controls are not placed correctly. Thanks, Curry From k_major at os.surf2000.de Wed Feb 26 06:55:03 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Wed Feb 26 06:55:03 2003 Subject: OSX stripey dialogs/sheets solved In-Reply-To: Message-ID: Hi Michael and all, >> You need to make sure that the backColor and backPixmap for the card, >> stack, and all other stacks in the hierarchy (i.e., a mainstack and/or >> the Home stack) are set to empty. The same rule applies if you want >> to use the system background color on Win32 systems. >> Regards, >> Scott > > Hi there > Tried this in a button on the mainstack (the only stack): > on mouseUp > set the backcolor of this stack to empty > set the backPixmap of this stack to empty > set the backcolor of this card to empty > set the backPixmap of this card to empty > end mouseUp > > Nothing happend > What is wrong? > OSX 10.2.4 > > Kind regards > Michael Kristensen looks like the gray-striped OS X background is ONLY available for palette, modal and modeless window-styles. NOT with toplevel... Sorry... You'll have to fake that with a small image of that bg and set the bg-pattern to that image... Regards Klaus Major k_major at os.surf2000.de From k_major at os.surf2000.de Wed Feb 26 06:55:38 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Wed Feb 26 06:55:38 2003 Subject: highlighted text and quicktime sound files In-Reply-To: Message-ID: Hi Toma, (wie geht's ? ;-) > Recently, "Toma Tasovac" wrote: > >> i have a text field and a prerecorded quicktime sound file of the text >> in the text field. i would like to have the text highlighted sentence >> by sentence as the sound file is being played. the pedestrian way >> would be to divide the sound file in many smaller files, one for each >> sentence, but i wonder if there is another way, in which revolution >> could tell the quicktime player which portion of the sound file to >> play >> as individual sentences get highlighted. >> what would be the most efficient way to both divide (or mark) the >> quicktime sound files and make revolution interact with those >> portions? As Scott noticed, the best way may be to let RR do the actions, but you will have to tell RR when and what to do... This might a case for (daa da datdat) "the callbacks". > First, note the specific times that correspond to the speaking of each > word > in the sound file and store these times (in a property of the field, > the > player, your stack, or wherever). When each word is clicked, set the > currentTime of your player to the corresponding time and start the > player. > > You may be able to use the startTime and endTime properties to limit > the > playback time of the player, depending on how your player is set up. > > See the following in the docs: > - timeScale > - currentTime > - playSelection > - startTime > - endTime > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design to get you started with this topic you can take a look at the usercontrib-section of the RR website. Search for "The mistery of the callbacks" stack of me :-) Hope that helps... Regards Klaus Major k_major at os.surf2000.de From benr_mc at cogapp.com Wed Feb 26 09:42:48 2003 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed Feb 26 09:42:48 2003 Subject: newbies: beware script locals In-Reply-To: Message-ID: on 2/21/03 2:09 PM, Ivers, Doug E wrote > I love script locals, those local declarations at the top of your script > outside of all handlers: > > local myLocalVariable > > [...snip...] > > I use them a lot in my top level script. They are great because I don't have > to declare them in each handler and they are "safer" than globals, if you know > what I mean. > > The caution is that whenever you edit the script, the value of the local goes > away. Yep - specifically, when the script is recompiled, the values of the locals are reset to global. I love them too, so I put up with this. I use one of two strategies to deal with this problem: * either make them self healing - eg if the use of the local is to hold a calculated value which takes a bit of work to calculate, and is then more or less a constant, I have a handler to "ensure they're set", which all applicable routines invoke in set up. This takes care of initialisation when the stack opens or whatever; and also heals, with a small time penalty, when I edit the script during development * or, having made sure that the names are unambiguous (eg "myLocalVariable", or using some prefix or suffix convention that suits you) I simply make them global during development. So I have declarations at the top of a script as apparently contradictory as global locOneThing, locAnotherThing It's only one word to change when I think I've finished mucking about. And during development it's also sometimes helpful because you can inspect the value in the message box. 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 mazzapaolo at libero.it Wed Feb 26 11:46:01 2003 From: mazzapaolo at libero.it (paolo mazza) Date: Wed Feb 26 11:46:01 2003 Subject: icon standalone application on MacOSX In-Reply-To: Message-ID: <7839A14A-49A8-11D7-8236-0003936FFEAC@libero.it> Thanks for help. Iconographer is great. It works with files from Revolution. It is nice to know that this command will be included in Rev.2.0 Ciao, Paolo Marted?, 25 Feb 2003, alle 16:26 Europe/Rome, valetia at mac.com ha scritto: >> How can I set an icon for a standalone application on MacOSX? >> Using the application builder of Revolution I can set an icon only for >> Windows standalones? >> What about Mac? > > Try Iconographer: > > http://www.versiontracker.com/moreinfo.fcgi?id=11842&db=mac > > Valetia > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ttasovac at princeton.edu Wed Feb 26 12:14:00 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Wed Feb 26 12:14:00 2003 Subject: highlighted text and quicktime sound files In-Reply-To: Message-ID: <8E0000AB-49AC-11D7-806B-000393D60E0C@princeton.edu> Many thanks, Scott and Klaus. Ich hab das Gef?hl, dass Klaus einen "User Contribution Stack" f?r jede Frage hat, die ich ihm je vorlegen k?nnte!!! :) All best, Toma On Wednesday, February 26, 2003, at 01:24 AM, Scott Rossi wrote: > First, note the specific times that correspond to the speaking of each > word > in the sound file and store these times (in a property of the field, > the > player, your stack, or wherever). When each word is clicked, set the > currentTime of your player to the corresponding time and start the > player. > > You may be able to use the startTime and endTime properties to limit > the > playback time of the player, depending on how your player is set up. > > See the following in the docs: > - timeScale > - currentTime > - playSelection > - startTime > - endTime > ________________________________ Toma Tasovac Princeton University Department of Comparative Literature 91 Prospect Avenue Princeton, NJ 08544 USA ttasovac at princeton.edu ttasovac at post.harvard.edu From k_major at os.surf2000.de Wed Feb 26 12:28:01 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Wed Feb 26 12:28:01 2003 Subject: highlighted text and quicktime sound files In-Reply-To: <8E0000AB-49AC-11D7-806B-000393D60E0C@princeton.edu> Message-ID: <5EE7FF76-49AF-11D7-AE8E-000A27B49A96@os.surf2000.de> Hi Toma, > Many thanks, Scott and Klaus. > > Ich hab das Gef?hl, dass Klaus einen "User Contribution Stack" f?r > jede Frage hat, die ich ihm je vorlegen k?nnte!!! :) For the "not german speaking" folks: Toma has got the feeling that i have a "User Contribution Stack" for every question he might ever ask me ;-) :-D Thanks for your confidence... > All best, > > Toma Regards Klaus Major k_major at os.surf2000.de From wmb at internettrainer.com Wed Feb 26 13:13:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Wed Feb 26 13:13:01 2003 Subject: icon standalone application on MacOSX In-Reply-To: <7839A14A-49A8-11D7-8236-0003936FFEAC@libero.it> Message-ID: <7BDD91E6-49B5-11D7-8584-003065430226@internettrainer.com> On Mittwoch, Februar 26, 2003, at 05:36 Uhr, paolo mazza wrote: > Iconographer is great. It works with files from Revolution. Hello paolo, what does this mean: It works with files from Revolution? What did you do with Iconographer and rev files? regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From pixelbird at interisland.net Wed Feb 26 14:08:11 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Wed Feb 26 14:08:11 2003 Subject: Rough day on the Revolution front In-Reply-To: <200302260711.CAA22901@www.runrev.com> Message-ID: ********** > Subject: Re: Rough day on the Revolution front > From: Ben Rubinstein > > on 23/2/03 9:55 pm, Ken Norris (dialup) wrote > >> I have a 128mb CF card in the PCMCIA slot as a formatted volume assigned to >> Virtual Memory, which gives it 116mb useable VM. I've heard the transfer >> rates of those things are pokey. > > I don't know how this helps (I don't think it does!) but using CompactFlash > for VM is horrible. Flash memory is fast to read, but s-l-o-w to write. > You might actually do better to use the hard disk for VM (and if necessary > move stuff like the Rev docs to Flash if that helps makes space). ---------- The HD is quite full. Still it shows that it can use enough to come up with 96mb total RAM (I think), which apparently isn't enough to run RR. If I open the docs it crashes. With the CF card as RAM it doesn't, i.e., it just slowwwws down. The CF card is all that's standing between an operable system and a total stall. The problems don't get bad until I open the docs. If I moved them to the flash card, I think it might remain the same. OTOH, I'd like to try that, but what will happen if I drag the docs folder out of Rev and put it on the CF card? Best regards, Ken N. From dvk at dvkconsult.com.au Wed Feb 26 16:37:07 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Wed Feb 26 16:37:07 2003 Subject: use-revolution digest, Vol 1 #1154 - 7 msgs In-Reply-To: <200302261701.MAA08307@www.runrev.com> Message-ID: <5FD6E7A6-49D0-11D7-8A38-000393598038@dvkconsult.com.au> > > From: Ben Rubinstein > Date: Thu Feb 27, 2003 00:17:41 Australia/Sydney > To: > Subject: Re: newbies: beware script locals > Reply-To: use-revolution at lists.runrev.com > > > on 2/21/03 2:09 PM, Ivers, Doug E wrote > >> I love script locals, those local declarations at the top of your >> script >> outside of all handlers: >> >> local myLocalVariable >> >> [...snip...] >> >> I use them a lot in my top level script. They are great because I >> don't have >> to declare them in each handler and they are "safer" than globals, if >> you know >> what I mean. >> >> The caution is that whenever you edit the script, the value of the >> local goes >> away. > > Yep - specifically, when the script is recompiled, the values of the > locals > are reset to global. snip > * either make them self healing - eg if the use of the local is to > hold > a calculated value which takes a bit of work to calculate, and is then > more > or less a constant, I have a handler to "ensure they're set", snip > * or, having made sure that the names are unambiguous ... I simply > make them global during development. I personally find this a strange discussion. Firstly, I would rather be warning newbies if local variables did *not* lose their value on recompilation, and secondly, why write code to emulate some features of custom properties when you can use them directly? If you need that millisecond of speed by which access to a local is faster than to a custom prop then use your startup, preopen or open handler to populate the script locals from the custom properties, and save back the values at end, to cater for changes. Through use of custom props, script locals and ordinary variables, I have been able to relegate globals to very rare usage, when you actually want a non-persistent entirely global variable. Rev is quite rich in scoping and persistence options. regards David > > 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 alrice at arcplanning.com Wed Feb 26 16:43:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Feb 26 16:43:00 2003 Subject: icon standalone application on MacOSX In-Reply-To: <7BDD91E6-49B5-11D7-8584-003065430226@internettrainer.com> Message-ID: On Wednesday, February 26, 2003, at 11:09 AM, Wolfgang M. Bereuter wrote: > > On Mittwoch, Februar 26, 2003, at 05:36 Uhr, paolo mazza wrote: > >> Iconographer is great. It works with files from Revolution. > Hello paolo, > what does this mean: It works with files from Revolution? > What did you do with Iconographer and rev files? I think Iconographer can add an icon into the resource fork of a Revolution compiled app. BTW then I think you are still stuck with the get-info material that Rev has put into the compiled app. But at least you have a new icon. The way I was describing is different- to create an actual actual application bundle (a folder ending in .app). I think is what Rev 2.0 will do as well. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From alrice at arcplanning.com Wed Feb 26 16:49:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Feb 26 16:49:01 2003 Subject: T-Shirts competition In-Reply-To: Message-ID: On Monday, February 24, 2003, at 09:19 AM, Heather Williams wrote: > Thank you all for the t-shirt entries. Officially the competition ends > today, but if you've still got an entry you'd like to send in, it's > not too > late for the next few days. We've begun the preliminary screening :-) > Got > some great creative minds on this list. Are you going to share the entries publicly? I would love to see what concepts people created. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From ambassador at fourthworld.com Wed Feb 26 17:19:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Feb 26 17:19:01 2003 Subject: use-revolution digest, Vol 1 #1154 - 7 msgs In-Reply-To: <5FD6E7A6-49D0-11D7-8A38-000393598038@dvkconsult.com.au> Message-ID: David Vaughan wrote: > I personally find this a strange discussion. Firstly, I would rather be > warning newbies if local variables did *not* lose their value on > recompilation, and secondly, why write code to emulate some features of > custom properties when you can use them directly? If you need that > millisecond of speed by which access to a local is faster than to a > custom prop then use your startup, preopen or open handler to populate > the script locals from the custom properties, and save back the values > at end, to cater for changes. Through use of custom props, script > locals and ordinary variables, I have been able to relegate globals to > very rare usage, when you actually want a non-persistent entirely > global variable. Rev is quite rich in scoping and persistence options. Benchmarking the difference between local vars and custom props with RevBnch (downloadable from ), here's the results: SCRIPT 1 put "value" into tMyVar get tMyVar 0.0002 ticks per iteration SCRIPT2 set the uMyProp of this cd to "value" get the uMyProp of this cd 0.0008 ticks per iteration So while using local vars is about 75% faster, the real-world difference in runtime execution is trivial compared to the cost savings in developmewnt time that can be had by binding data to objects. To be honest, the Rev/MC engine is so darn fast that I rarely do this sort of comparative benchmarking anymore, as I often find -- as with this case -- that the runtime differences are negliible. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From jiml at netrin.com Wed Feb 26 17:39:01 2003 From: jiml at netrin.com (Jim Lambert) Date: Wed Feb 26 17:39:01 2003 Subject: highlighted text and quicktime sound files In-Reply-To: <200302261701.MAA08346@www.runrev.com> Message-ID: You might also consider letting QuickTime do the work for you by using movies with text tracks. Very light. Different kinds of scrolls, etc. Jim Lambert From Yennie at aol.com Wed Feb 26 18:17:01 2003 From: Yennie at aol.com (Yennie at aol.com) Date: Wed Feb 26 18:17:01 2003 Subject: Linux Requirements? Message-ID: <3e.2c85deed.2b8ea3ef@aol.com> Hello, I'd like to maintain one machine here to test my Rev projects on Linux. I already have an extra G4 Powerbook which could handle a PPC Linux version. Question is- is it worth working with a PPC Linux, or am I better off getting a cheap x86 machine? For one, the latest pre-release has a Linux Intel distribution available, but not PPC. I can imagine this is right in line with demand, so would relying on PPC builds put me behind the curve? Finally, when it says "Linux Intel", excuse my ignorance, but does that rule out any particular flavors of Linux? What about a x86 machine that's not Intel? TIA, Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: From livfoss at blueyonder.co.uk Wed Feb 26 18:20:06 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Wed Feb 26 18:20:06 2003 Subject: Double-clicking a document in Windows Message-ID: On Mon, 24 Feb 2003 11:21:17 -0800 Richard Gaskin wrote: >[a lot of wise and interesting stuff about windows management in Windows] Thanks, Richard, don't know how you find the time to know all this stuff! I am pondering it all. Meanwhile I think I can construct my app more or less the way I want it for both Mac and Windows, provided I simply forget about the possibility of multiple instances - and hoping the kids never find out! In fact I can see a real problem with multiple instances, which is where an app not designed to cope with such an issue relies on keeping open for writing, a file which has been created for its exclusive use. This means that the second instance would simply fail, as the 'special' file would already be open when the second instantiation took place... however, for me this remains a theoretical possibility at present. Thanks again for your insights Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From ambassador at fourthworld.com Wed Feb 26 18:33:02 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Feb 26 18:33:02 2003 Subject: Linux Requirements? In-Reply-To: <3e.2c85deed.2b8ea3ef@aol.com> Message-ID: Yennie at aol.com wrote: > I'd like to maintain one machine here to test my Rev projects on Linux. I > already have an extra G4 Powerbook which could handle a PPC Linux version. > > Question is- is it worth working with a PPC Linux, or am I better off getting > a cheap x86 machine? For one, the latest pre-release has a Linux Intel > distribution available, but not PPC. I can imagine this is right in line with > demand, so would relying on PPC builds put me behind the curve? > > Finally, when it says "Linux Intel", excuse my ignorance, but does that rule > out any particular flavors of Linux? What about a x86 machine that's not > Intel? I believe it applies for all machines that support the x86 instruction set. I'm not sure than Scott is committed to maintaining the Linux PPC engine going forward (did I read that on the MC list?). But I can toss in my vote for getting a cheap PC: I just upgraded to Red Hat 8, and I really like it at lot. Smooth-as-silk installer, nice UI, great auto-update system. And you'll be testing on the most popular Linux version around. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From erikhans08 at yahoo.com Wed Feb 26 18:37:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Feb 26 18:37:00 2003 Subject: use-revolution digest, Vol 1 #1154 - 7 msgs In-Reply-To: <5FD6E7A6-49D0-11D7-8A38-000393598038@dvkconsult.com.au> Message-ID: <20030226233320.23147.qmail@web20005.mail.yahoo.com> --- David Vaughan wrote: > Through use of custom props, script > locals and ordinary variables, I have been able > to relegate globals to very rare usage, when would you use "ordinary variables" instead of "script locals"? > when you actually want a non-persistent entirely > global variable. Rev is quite rich in scoping > and persistence options. "persistence" as a programming term is a new one for me. how would a global variable non-persist? TIA ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From ambassador at fourthworld.com Wed Feb 26 19:10:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Feb 26 19:10:01 2003 Subject: Double-clicking a document in Windows In-Reply-To: Message-ID: Graham Samuel wrote: > On Mon, 24 Feb 2003 11:21:17 -0800 Richard Gaskin > wrote: > >> [a lot of wise and interesting stuff about windows management in Windows] > > Thanks, Richard, don't know how you find the time to know all this > stuff! That's what I hate about Rev: it lets me do so much that I have to do waaaaaaay too much reading to keep up with it. :) > I am pondering it all. Meanwhile I think I can construct my > app more or less the way I want it for both Mac and Windows, provided > I simply forget about the possibility of multiple instances - and > hoping the kids never find out! > > In fact I can see a real problem with multiple instances, which is > where an app not designed to cope with such an issue relies on > keeping open for writing, a file which has been created for its > exclusive use. This means that the second instance would simply fail, > as the 'special' file would already be open when the second > instantiation took place... however, for me this remains a > theoretical possibility at present. If you keep the file open in the first instance and check for errors when tryin to open it, the second instance will fail and you can put up a dialog suggestng they might already have an instance running. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From jeanne at runrev.com Wed Feb 26 22:03:02 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Wed Feb 26 22:03:02 2003 Subject: Combo-box/popup menu in a list field? In-Reply-To: References: Message-ID: At 3:34 AM -0800 2/21/03, Ben Rubinstein wrote: >Jeanne - I think this is an area which could be better covered in the docs, >specifically the entry in the transcript dictionary for the 'popup' command. >It explains how to popup either a button menu or stack - but doesn't tell >you where the result of the user's selection ends up. I'll take a look at this. (You mean just a mention of the menuPick or mouseDown message being sent to the menu button or stack, right?) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From dvk at dvkconsult.com.au Wed Feb 26 22:30:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Wed Feb 26 22:30:01 2003 Subject: newbies: beware script locals In-Reply-To: <200302270306.WAA21286@www.runrev.com> Message-ID: >> From: erik hansen wrote: > >> Through use of custom props, script >> locals and ordinary variables, I have been able >> to relegate globals to very rare usage, > > when would you use "ordinary variables" instead > of "script locals"? > >> when you actually want a non-persistent > entirely >> global variable. Rev is quite rich in scoping >> and persistence options. > > "persistence" as a programming term is a new one > for me. how would a global variable non-persist? > > TIA > Erik Perhaps I used some casual expression. By "ordinary variables" I meant those whose whose scope was a single handler (declared or first used within it) rather than "script locals" which are declared within a script but outside handlers, thus giving them a script-wide scope and session persistence - they retain their value until the application is closed or the script recompiled. A global variable nominally has script-wide scope but is also available in any other script in which it is also declared, affording it application-wide scope. A global has session persistence only, like a script local, where a custom property persists through a stack close (with save if changed)) and re-open. A custom property can be tied by definition to various objects from a control to a stack, which nominally suggests an intended scope but in practice they can be referenced from anywhere. without any other declaration. Hope this clarifies my meaning. regards David > > > ===== > erik at erikhansen.org http://www.erikhansen.org From valetia at mac.com Wed Feb 26 23:29:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Wed Feb 26 23:29:01 2003 Subject: How to implement something like "Balloon Help"? In-Reply-To: Message-ID: Hey all, Anyone knows how this can be done with Revolution? toolTips doesn't support more than one line of text. Valetia From ambassador at fourthworld.com Thu Feb 27 00:03:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 27 00:03:01 2003 Subject: How to implement something like "Balloon Help"? In-Reply-To: Message-ID: valetia at mac.com wrote: > Anyone knows how this can be done with Revolution? > > toolTips doesn't support more than one line of text. This was a Mac-specific feature that has been phased out with OS X. In OS X, Apple has now copied Microsoft in both design and appearance, opting for a single line of text in a yellow-background popup window. The only difference I can see is the name: MS calls them "tooltips", while the Aqua HIG refers to them as "Help tags": That the new Help tags are more consistent with other operating systems is a welcome thing for us multi-platform developers, making one less OS-specific feature to support, and provides a more consistent user experience across platforms. And there may also be a cognitive benefit: the older Balloon Help guidelines encouraged longer text and suggested putting them on everything, which sounds good but in practice can make it hard to sort through the confusion of balloons to quickly identify non-obvious essentials. Given the depricated status of Baloon Help, I don't think Rev will be supporting it. If your interface could benefit from longer help text, as an alternative you could display your own borderless palette window of any size you want, or consider having a section directly in your window for instructions. Whichever you choose, consider the challenge of needing to hold the mouse steady while reading the entire text. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From kray at sonsothunder.com Thu Feb 27 00:27:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 27 00:27:01 2003 Subject: How to implement something like "Balloon Help"? References: Message-ID: <028501c2de20$486bf6b0$6601a8c0@LightningFlash> > If your interface could benefit from longer help text, as an alternative you > could display your own borderless palette window of any size you want, or > consider having a section directly in your window for instructions. And you can (in Rev 2.0) set the windowShape property to make your palette window *look* like a balloon (if that is what you want). Just chiming in, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From tsj at unimelb.edu.au Thu Feb 27 00:37:00 2003 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu Feb 27 00:37:00 2003 Subject: using keyUp to update a fld's style In-Reply-To: References: Message-ID: Hi all - I'm using a keyUp handler to toggle an editable fld's style between plain and scrolling according to it's contents by comparing the fld's textHeightSum() and height which all works fine except when the return and delete (or backspace) keys are involved. I've tried trapping these separately using the returnKey (or whatever) message with no apparent result. Any clues on how best to proceed? -- ___________________________________________________________________________ Dr Terry Judd Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Email: t.judd at bmu.unimelb.edu.au Phone: 03 9344 0187 Fax: 03 9344 4998 ___________________________________________________________________________ From tsj at unimelb.edu.au Thu Feb 27 00:46:01 2003 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu Feb 27 00:46:01 2003 Subject: using keyUp to update a fld's style In-Reply-To: References: Message-ID: >Hi all - I'm using a keyUp handler to toggle an editable fld's style >between plain and scrolling according to it's contents by comparing >the fld's textHeightSum() and height which all works fine except >when the return and delete (or backspace) keys are involved. I've >tried trapping these separately using the returnKey (or whatever) >message with no apparent result. > >Any clues on how best to proceed? >-- Looks like the returnKey problem can be handled via the returnInField message.. on returnInField put return after me updateStyleStuff end returnIfField ...however the delete keys remain problematical. Terry... >___________________________________________________________________________ >Dr Terry Judd > >Biomedical Multimedia Unit >Faculty of Medicine, Dentistry & Health Sciences >The University of Melbourne >Email: t.judd at bmu.unimelb.edu.au >Phone: 03 9344 0187 >Fax: 03 9344 4998 >___________________________________________________________________________ >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution -- ___________________________________________________________________________ Dr Terry Judd Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Email: t.judd at bmu.unimelb.edu.au Phone: 03 9344 0187 Fax: 03 9344 4998 ___________________________________________________________________________ From janschenkel at yahoo.com Thu Feb 27 00:47:38 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Feb 27 00:47:38 2003 Subject: using keyUp to update a fld's style In-Reply-To: Message-ID: <20030227054241.48010.qmail@web11906.mail.yahoo.com> --- Terry Judd wrote: > Hi all - I'm using a keyUp handler to toggle an > editable fld's style > between plain and scrolling according to it's > contents by comparing > the fld's textHeightSum() and height which all works > fine except when > the return and delete (or backspace) keys are > involved. I've tried > trapping these separately using the returnKey (or > whatever) message > with no apparent result. > > Any clues on how best to proceed? > -- > Dr Terry Judd > Hi Terry, Have a look at the entries for the 'rawKeyDown' and 'rawKeyUp' messages in the Transcript Dictionary. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From jperryl at ecs.fullerton.edu Thu Feb 27 00:54:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu Feb 27 00:54:01 2003 Subject: How to implement something like "Balloon Help"? In-Reply-To: <028501c2de20$486bf6b0$6601a8c0@LightningFlash> Message-ID: Or on mouseEnter display an image that looks like a balloon which hides on mouseLeave.. Anything overtly stupid about this? Judy On Wed, 26 Feb 2003, Ken Ray wrote: > And you can (in Rev 2.0) set the windowShape property to make your palette > window *look* like a balloon (if that is what you want). From jtlespoosta at netscape.net Thu Feb 27 00:59:00 2003 From: jtlespoosta at netscape.net (jtlespoosta at netscape.net) Date: Thu Feb 27 00:59:00 2003 Subject: Today I can only see a palette window - no stack Message-ID: <24687613.1BDAC201.4E5283D8@netscape.net> I have been using Revolution runtime for about one month and have been very pleased to have something like Hypercard on my Windows and Linux systems. This morning though I cannot see any of the stacks when I try to open them. What is visible is only one palette window. The stacks do not come visible when I try to open them with Ctrl-O command. Is there a some sort of user time limit, I have an unregistered version, or what should I do? I am going to order a full version of Revolution in about one month's time, after a trip. Thanks very much for your advice. - Jorma __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ From tsj at unimelb.edu.au Thu Feb 27 01:03:00 2003 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu Feb 27 01:03:00 2003 Subject: using keyUp to update a fld's style In-Reply-To: <20030227054241.48010.qmail@web11906.mail.yahoo.com> References: <20030227054241.48010.qmail@web11906.mail.yahoo.com> Message-ID: >--- Terry Judd wrote: >> Hi all - I'm using a keyUp handler to toggle an >> editable fld's style >> between plain and scrolling according to it's >> contents by comparing >> the fld's textHeightSum() and height which all works >> fine except when >> the return and delete (or backspace) keys are >> involved. I've tried >> trapping these separately using the returnKey (or >> whatever) message >> with no apparent result. >> >> Any clues on how best to proceed? >> -- >> Dr Terry Judd >> > >Hi Terry, > >Have a look at the entries for the 'rawKeyDown' and >'rawKeyUp' messages in the Transcript Dictionary. > >Hope this helped, Indeed it did - thanks Jan! >Jan Schenkel. Perfect!! -- ___________________________________________________________________________ Dr Terry Judd Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Email: t.judd at bmu.unimelb.edu.au Phone: 03 9344 0187 Fax: 03 9344 4998 ___________________________________________________________________________ From janschenkel at yahoo.com Thu Feb 27 01:10:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Feb 27 01:10:01 2003 Subject: How to implement something like "Balloon Help"? In-Reply-To: Message-ID: <20030227060636.62769.qmail@web11905.mail.yahoo.com> Hi Judy, Though there's nothing wrong with it, it does have the minor downside that it can't display over the 'edges' of the window, which might be a limitation as it requires positioning the balloon-image in a way that doesn't coincide with the guideline of balloons whose tip is at a relative position to the mouseLoc. Jan Schenkel. --- Judy Perry wrote: > Or on mouseEnter display an image that looks like a > balloon which hides on > mouseLeave.. > > Anything overtly stupid about this? > > Judy > > On Wed, 26 Feb 2003, Ken Ray wrote: > > > And you can (in Rev 2.0) set the windowShape > property to make your palette > > window *look* like a balloon (if that is what you > want). > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From janschenkel at yahoo.com Thu Feb 27 01:14:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Feb 27 01:14:01 2003 Subject: using keyUp to update a fld's style In-Reply-To: Message-ID: <20030227061047.51379.qmail@web11906.mail.yahoo.com> --- Terry Judd wrote: > >--- Terry Judd wrote: > >> Hi all - I'm using a keyUp handler to toggle an > >> editable fld's style > >> between plain and scrolling according to it's > >> contents by comparing > >> the fld's textHeightSum() and height which all > works > >> fine except when > >> the return and delete (or backspace) keys are > >> involved. I've tried > >> trapping these separately using the returnKey > (or > >> whatever) message > >> with no apparent result. > >> > >> Any clues on how best to proceed? > >> -- > >> Dr Terry Judd > >> > > > >Hi Terry, > > > >Have a look at the entries for the 'rawKeyDown' and > >'rawKeyUp' messages in the Transcript Dictionary. > > > >Hope this helped, > > Indeed it did - thanks Jan! > > >Jan Schenkel. > > Perfect!! > -- > Dr Terry Judd > In this case, I think you can do it as simple as: on rawKeyUp pWhichKey set the vScrollbar of me to \ (the formattedHeight of me > the height of me) pass rawKeyUp end rawKeyUp Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From erikhans08 at yahoo.com Thu Feb 27 02:10:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Thu Feb 27 02:10:01 2003 Subject: newbies: beware script locals In-Reply-To: Message-ID: <20030227070617.94447.qmail@web20005.mail.yahoo.com> --- David Vaughan wrote: > >> From: erik hansen > wrote: > > > >> Through use of custom props, script > >> locals and ordinary variables, I have been > able > >> to relegate globals to very rare usage, > > > > when would you use "ordinary variables" > instead > > of "script locals"? > > > >> when you actually want a non-persistent > > entirely > >> global variable. Rev is quite rich in > scoping > >> and persistence options. > > > > "persistence" as a programming term is a new > one > > for me. how would a global variable > non-persist? > > > > TIA > > > Erik > > Perhaps I used some casual expression. By > "ordinary variables" I meant > those whose whose scope was a single handler > (declared or first used > within it) rather than "script locals" which > are declared within a > script but outside handlers, thus giving them a > script-wide scope and > session persistence - they retain their value > until the application is > closed or the script recompiled. > > A global variable nominally has script-wide > scope but is also available > in any other script in which it is also > declared, affording it > application-wide scope. A global has session > persistence only, like a > script local, where a custom property persists > through a stack close > (with save if changed)) and re-open. A custom > property can be tied by > definition to various objects from a control to > a stack, which > nominally suggests an intended scope but in > practice they can be > referenced from anywhere. without any other > declaration. > > Hope this clarifies my meaning. yes it does. so you always declare the variable whether inside or outside the script? that is what seems to be recommended. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From chipp at chipp.com Thu Feb 27 02:27:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Feb 27 02:27:00 2003 Subject: Today I can only see a palette window - no stack In-Reply-To: <24687613.1BDAC201.4E5283D8@netscape.net> Message-ID: Hi Jorma, type into the message box... set the loc of stack "revMenuBar" to the screenloc that should get you going...sometimes it mysteriously disapears. You can replicate this anomaly by minimizing Rev, then right-clicking on the Rev button in the taskbar and selecting Close. Then launch Rev and you'll see the main stack "revMenubar" missing again. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of > jtlespoosta at netscape.net > Sent: Wednesday, February 26, 2003 11:55 PM > To: use-revolution at lists.runrev.com > Subject: Today I can only see a palette window - no stack > > > I have been using Revolution runtime for about one month and have > been very pleased to have something like Hypercard on my Windows > and Linux systems. > > This morning though I cannot see any of the stacks when I try to > open them. What is visible is only one palette window. The stacks > do not come visible when I try to open them with Ctrl-O command. > > Is there a some sort of user time limit, I have an unregistered version, > or what should I do? I am going to order a full version of > Revolution in about one month's time, after a trip. > > Thanks very much for your advice. > > - Jorma > > __________________________________________________________________ > The NEW Netscape 7.0 browser is now available. Upgrade now! > http://channels.netscape.com/ns/browsers/download.jsp > > Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From heather at runrev.com Thu Feb 27 04:13:10 2003 From: heather at runrev.com (Heather Williams) Date: Thu Feb 27 04:13:10 2003 Subject: T-Shirts competition In-Reply-To: <200302270306.WAA21373@www.runrev.com> Message-ID: >> Thank you all for the t-shirt entries. Officially the competition ends >> today, but if you've still got an entry you'd like to send in, it's >> not too >> late for the next few days. We've begun the preliminary screening :-) >> Got >> some great creative minds on this list. > > Are you going to share the entries publicly? I would love to see what > concepts people created. Certainly. As soon as everyone in the team has had a chance to look and comment, I will be putting a page up for listmembers to vote on. You all get to decide which design makes the t-shirt. Regards, Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution: Software at the Speed of Thought From livfoss at blueyonder.co.uk Thu Feb 27 04:32:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu Feb 27 04:32:01 2003 Subject: Does RR inhibit Mac notifications? Message-ID: It appears to me that under MacOS 9.2.2, when Revolution is at the front (i.e. when I'm doing Revo development), it appears to suppress the classic notification process, where the top right of the menu bar flashes to draw one's attention to an action by a background process - in my case usually an incoming email (Eudora). It is awkward for me to test this exhaustively, but does anyone know if this is a known bug and if so, if it affects other platforms and if it's fixed in 2.0? TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From laya at inrets.fr Thu Feb 27 05:23:00 2003 From: laya at inrets.fr (Olivier Laya) Date: Thu Feb 27 05:23:00 2003 Subject: Does RR inhibit Mac notifications? In-Reply-To: References: Message-ID: >It appears to me that under MacOS 9.2.2, when Revolution is at the >front (i.e. when I'm doing Revo development), it appears to suppress >the classic notification process, where the top right of the menu >bar flashes to draw one's attention to an action by a background >process - in my case usually an incoming email (Eudora). > >It is awkward for me to test this exhaustively, but does anyone know >if this is a known bug and if so, if it affects other platforms and >if it's fixed in 2.0? > >TIA > >Graham >-- >------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France Hi, Same configuration (it seems) for me, but no trouble. -- Olivier Laya Charg? de Recherche Laboratoire de Psychologie de la Conduite (L.P.C.) Institut National de Recherche sur les Transports et leur S?curit? (I.N.R.E.T.S.) 2, Av. du G?n?ral Malleret-Joinville 94114 ARCUEIL Cedex T?l: 01 47 40 73 79 Fax : 01 45 47 56 06 Phone (international): +33 1 47 40 73 79 Web site: http://www.inrets.fr Bienvenue! Welcome! From dvk at dvkconsult.com.au Thu Feb 27 06:00:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Thu Feb 27 06:00:01 2003 Subject: newbies: beware script locals In-Reply-To: <200302270916.EAA29501@www.runrev.com> Message-ID: <6652E947-4A40-11D7-8A38-000393598038@dvkconsult.com.au> On Thursday, Feb 27, 2003, at 20:16 Australia/Sydney, use-revolution-request at lists.runrev.com wrote: >> >> Hope this clarifies my meaning. > > yes it does. so you always declare the variable > whether inside or outside the script? > that is what seems to be recommended. Recommended, probably, but honoured... more in the breach than the observance in my case. However, it is good practice and worth also looking at the explicitVariables property in the TD. cheers David > > ===== > erik at erikhansen.org http://www.erikhansen.org From livfoss at blueyonder.co.uk Thu Feb 27 06:22:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu Feb 27 06:22:01 2003 Subject: QT movies are driving me crazy Message-ID: I've got a couple of tiny QT movies, both of which are masked. When I put them into RR player objects, one of the movies gets masked properly (i.e. the shape of the movie on the screen is the shape of the mask rather than a rectangle) and the other one appears in a white rectangle which blots out the background objects. The only difference I can see between the movies is that the one that doesn't work has two video tracks (both separately masked) and the one that does work has only one video track. AFAICS from the Quicktime Player (5.0.2 for the Mac), the masking is OK outside Revolution. I can't guess what's wrong and I can't think of a way of finding out. I don't have any other tools dedicated to editing or examining QT movies. Any suggestions? TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From ambassador at fourthworld.com Thu Feb 27 06:32:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 27 06:32:01 2003 Subject: QT movies are driving me crazy In-Reply-To: Message-ID: Graham Samuel wrote: > I've got a couple of tiny QT movies, both of which are masked. When I > put them into RR player objects, one of the movies gets masked > properly (i.e. the shape of the movie on the screen is the shape of > the mask rather than a rectangle) and the other one appears in a > white rectangle which blots out the background objects. The only > difference I can see between the movies is that the one that doesn't > work has two video tracks (both separately masked) and the one that > does work has only one video track. AFAICS from the Quicktime Player > (5.0.2 for the Mac), the masking is OK outside Revolution. > > I can't guess what's wrong and I can't think of a way of finding out. > I don't have any other tools dedicated to editing or examining QT > movies. > > Any suggestions? Does the second player have its alwaysBuffer property set to true? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From benr_mc at cogapp.com Thu Feb 27 06:36:02 2003 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu Feb 27 06:36:02 2003 Subject: variables and objects In-Reply-To: <20030226070319.25024.qmail@web20004.mail.yahoo.com> Message-ID: on 2/26/03 7:03 AM, erik hansen wrote > the nice thing about paper and calligraphy pens was that you put the letter in > a drawer over night, then decided whether you really wanted to inflict it on > the world. I write many more emails to this (and other) lists than I ever send. I've actually used ResEdit to remove the command key for 'send now' in my mail client, and move it to 'send later'; and messages to mailing lists I try to train myself to 'save draft', and then look at them again at the end of the day or next morning. 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 livfoss at blueyonder.co.uk Thu Feb 27 07:05:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu Feb 27 07:05:01 2003 Subject: CLUTs Message-ID: A contact of mine has asked if RR can deal with user-addressable CLUTs. I only just understand what this means on the Mac, and don't know if it's a cross-platform concept or not. Can anyone clarify this, and maybe get RR a new customer? Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From wmb at internettrainer.com Thu Feb 27 08:19:05 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Feb 27 08:19:05 2003 Subject: icon standalone application on MacOSX In-Reply-To: Message-ID: <9CBDD76C-4A55-11D7-8E05-003065430226@internettrainer.com> On Mittwoch, Februar 26, 2003, at 10:39 Uhr, Alex Rice wrote: > > On Wednesday, February 26, 2003, at 11:09 AM, Wolfgang M. Bereuter > wrote: > >> >> On Mittwoch, Februar 26, 2003, at 05:36 Uhr, paolo mazza wrote: >> >>> Iconographer is great. It works with files from Revolution. >> Hello paolo, >> what does this mean: It works with files from Revolution? >> What did you do with Iconographer and rev files? > > I think Iconographer can add an icon into the resource fork of a > Revolution compiled app. BTW then I think you are still stuck with the > get-info material that Rev has put into the compiled app. But at least > you have a new icon. Thanks Alex I will have a look at this... > > The way I was describing is different- to create an actual actual > application bundle (a folder ending in .app). I think is what Rev 2.0 > will do as well. I thought until now that 2.0 will do it for the Mac like 1.x does for Win: with the DB (distribution builder). But with a better resolution of course... I m wrong..? regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From Doug_Ivers at lord.com Thu Feb 27 08:35:01 2003 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Thu Feb 27 08:35:01 2003 Subject: groups listed in overview window Message-ID: Rev 1.1.1 on Mac OS 10.2.3 Why don't ALL the groups in a stack show up under the Groups heading of the Application Overview? -- D From Doug_Ivers at lord.com Thu Feb 27 08:40:02 2003 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Thu Feb 27 08:40:02 2003 Subject: menu paradigm of Rev/MC and other goofiness -- like quotes Message-ID: That helps, but look how much easier this is to read and debug: put "I said, 'Let's go!'" -- D > -----Original Message----- > From: Richard Gaskin [mailto:ambassador at fourthworld.com] > Sent: Monday, February 24, 2003 6:27 PM > To: use-revolution at lists.runrev.com > Subject: Re: menu paradigm of Rev/MC and other goofiness > > > Ivers, Doug E wrote: > > > My point is that there are areas of hypertalk that require > more coding and > > are more prone to errors than should be. I hope that the > MC/Rev developers > > are open to discussing these topics and providing > improvements in the > > language. > > > > Menus and nested quotes stick out in my mind. > > Here's a lil' gem that's radically simplified a lot of my code: > > function q s > return quote& s "e > end q > > > To call it: > > put "I said, "& q("Let's go!") > > ...as opposed to: > > put "I said, "& quote&"Let's go!""e > > > A small improvement, but a but more pleasing to the tired eye. :) > > -- > Richard Gaskin From ambassador at fourthworld.com Thu Feb 27 08:48:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 27 08:48:00 2003 Subject: menu paradigm of Rev/MC and other goofiness -- like quotes In-Reply-To: Message-ID: Ivers, Doug E wrote: >> Here's a lil' gem that's radically simplified a lot of my code: >> >> function q s >> return quote& s "e >> end q >> >> To call it: >> >> put "I said, "& q("Let's go!") > That helps, but look how much easier this is to read and debug: > > put "I said, 'Let's go!'" But that would produce non-standard English for a first-level quotation: I said, 'Let's go!' But string display aside, it would be nice to be able to use a single quote for literals. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Thu Feb 27 08:51:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 27 08:51:01 2003 Subject: CLUTs In-Reply-To: Message-ID: Graham Samuel wrote: > A contact of mine has asked if RR can deal with user-addressable > CLUTs. I only just understand what this means on the Mac, and don't > know if it's a cross-platform concept or not. Can anyone clarify > this, and maybe get RR a new customer? See the entry for the colorMap property in the Transcript dictionary. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From benr_mc at cogapp.com Thu Feb 27 09:19:01 2003 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu Feb 27 09:19:01 2003 Subject: newbies: beware script locals In-Reply-To: <6652E947-4A40-11D7-8A38-000393598038@dvkconsult.com.au> Message-ID: on 2/27/03 10:44 AM, David Vaughan wrote > ...and worth also looking at the explicitVariables property in the TD. Which should be an excellent idea, but in my experience it is almost impossible to develop with explicitVariables on in Revolution. I hope that once 2.0 is released, the RunRev team will consider a consolidation period to included making their development environment compatible with this. (If David or anyone else has found a way round this problem, I'd love to hear more.) 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 wmb at internettrainer.com Thu Feb 27 09:43:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Feb 27 09:43:01 2003 Subject: groups listed in overview window In-Reply-To: Message-ID: <5577EC8A-4A61-11D7-87D7-003065430226@internettrainer.com> On Donnerstag, Februar 27, 2003, at 02:30 Uhr, Ivers, Doug E wrote: > Rev 1.1.1 on Mac OS 10.2.3 > > Why don't ALL the groups in a stack show up under the Groups heading > of the Application Overview? Halo Ivers, forget the applov. It will change dramatically to a file browser in 2.0. If you dont have a dead line, imho its not worth in "these" days to struggle with 1.1.1 anymore, - less with the applov... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From alrice at ARCplanning.com Thu Feb 27 10:57:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Feb 27 10:57:01 2003 Subject: icon standalone application on MacOSX In-Reply-To: <9CBDD76C-4A55-11D7-8E05-003065430226@internettrainer.com> Message-ID: <94A211D6-4A6B-11D7-8B68-000393529642@ARCplanning.com> On Thursday, February 27, 2003, at 06:15 AM, Wolfgang M. Bereuter wrote: > > On Mittwoch, Februar 26, 2003, at 10:39 Uhr, Alex Rice wrote: >> >> The way I was describing is different- to create an actual actual >> application bundle (a folder ending in .app). I think is what Rev 2.0 >> will do as well. > I thought until now that 2.0 will do it for the Mac like 1.x does for > Win: with the DB (distribution builder). But with a better resolution > of course... > I m wrong..? You are correct- I meant 2.0 will create an app bundle as the product of the OS X build target in Distribution Builder. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From benr_mc at cogapp.com Thu Feb 27 11:58:01 2003 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu Feb 27 11:58:01 2003 Subject: Combo-box/popup menu in a list field? In-Reply-To: Message-ID: on 2/25/03 7:15 AM, Jeanne A. E. DeVoto wrote > At 3:34 AM -0800 2/21/03, Ben Rubinstein wrote: >> Jeanne - I think this is an area which could be better covered in the docs, >> specifically the entry in the transcript dictionary for the 'popup' command. >> It explains how to popup either a button menu or stack - but doesn't tell >> you where the result of the user's selection ends up. > > I'll take a look at this. (You mean just a mention of the menuPick or > mouseDown message being sent to the menu button or stack, right?) Right. It sounds obvious when you say it. But in the absence of that, there's no reason to think that 'the result' of the popup command won't be something useful; or to know which message will be relevant. You might also discuss what happens to statements following the popup command in the original handler. thanks for list-ening, 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 alrice at ARCplanning.com Thu Feb 27 12:11:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Feb 27 12:11:01 2003 Subject: groups listed in overview window In-Reply-To: Message-ID: On Thursday, February 27, 2003, at 06:30 AM, Ivers, Doug E wrote: > Rev 1.1.1 on Mac OS 10.2.3 > > Why don't ALL the groups in a stack show up under the Groups heading > of the Application Overview? Did you try collapsing and expanding the Groups heading again? Sometimes that helps. Similarly for the Cards heading. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From Yennie at aol.com Thu Feb 27 12:12:01 2003 From: Yennie at aol.com (Yennie at aol.com) Date: Thu Feb 27 12:12:01 2003 Subject: Other platforms Message-ID: <156.1c6e46f5.2b8f9ff8@aol.com> On the note of *NIX platforms from my previous Linux thread, this whole area seems a bit fuzzy. Is there anywhere documented in detail what is supported on the various other UNIX platforms? For example, I may prefer FreeBSD over Linux on x86. I know FreeBSD has a Metacard build, but I don't know if Rev will have one, whether Metacard will have one when the next version comes out, etc. Is there any specific plan in place here, or is it essentially Mac-Win-Linux and everything else only with sufficient demand? Should I even be thinking about a FreeBSD port with RevDB and all included, or is that never gonna happen in lieu of Linux? Regards, Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: From alrice at ARCplanning.com Thu Feb 27 12:42:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Feb 27 12:42:01 2003 Subject: Other platforms In-Reply-To: <156.1c6e46f5.2b8f9ff8@aol.com> Message-ID: <345D9442-4A7A-11D7-8B68-000393529642@ARCplanning.com> On Thursday, February 27, 2003, at 10:08 AM, Yennie at aol.com wrote: > On the note of *NIX platforms from my previous Linux thread, this > whole area seems a bit fuzzy. > Is there anywhere documented in detail what is supported on the > various other UNIX platforms? > > For example, I may prefer FreeBSD over Linux on x86. I know FreeBSD > has a Metacard build, but I don't know if Rev will have one, whether > Metacard will have one when the next version comes out, etc. > > Is there any specific plan in place here, or is it essentially > Mac-Win-Linux and everything else only with sufficient demand? Should > I even be thinking about a FreeBSD port with RevDB and all included, > or is that never gonna happen in lieu of Linux? Did you notice the tooltips on the "Platforms to Distribute on" in the Distribution Builder. They give some hints as to what platform is specifically being supported, e.g. "FreeBSD and BSDI", Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From dsc at swcp.com Thu Feb 27 13:08:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Feb 27 13:08:01 2003 Subject: Linux Requirements? In-Reply-To: <3e.2c85deed.2b8ea3ef@aol.com> Message-ID: On Wednesday, February 26, 2003, at 04:12 PM, Yennie at aol.com wrote: > I'd like to maintain one machine here to test my Rev projects on Linux. You might want to consider running Linux on virtual machines. I evaluated both VMware and Virtual PC to emulate PC class computers. Though I have yet to do so, at the time I thought, "I could set up a Linux system on a virtual machine for tinkering, learning and testing." I went with VPC, though there are attractive features of VMware such as better networking scope and, I think, broader *nix support. I now use VPC on my Mac (you need a powerful computer) and on my Windows PC; both Mac OS's and Windows OS's can be hosts. I have been very happy with that. Connectix has just sold the technology to Microsoft. I'm not sure what the implications are, but I suspect that *nix support will not improve. Dar Scott From dsc at swcp.com Thu Feb 27 13:26:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Feb 27 13:26:00 2003 Subject: menu paradigm of Rev/MC and other goofiness -- like quotes In-Reply-To: Message-ID: <67622F0A-4A80-11D7-99D6-000A9567A3E6@swcp.com> On Thursday, February 27, 2003, at 06:35 AM, Ivers, Doug E wrote: > That helps, but look how much easier this is to read and debug: > > put "I said, 'Let's go!'" I believe there are contexts in which a string literal can have quote marks. I don't know what they all are. Dar Scott From alrice at ARCplanning.com Thu Feb 27 13:40:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Feb 27 13:40:01 2003 Subject: Linux Requirements? In-Reply-To: Message-ID: <6489C134-4A82-11D7-8B68-000393529642@ARCplanning.com> On Thursday, February 27, 2003, at 11:04 AM, Dar Scott wrote: > You might want to consider running Linux on virtual machines. I have to put in a cheer for VMWare. At a former job I used VMWare on a host machine of Linux, with a virtual machine running Windows2000. Worked great. Disk throughput was the main bottleneck because I was running a single-file-disk-image. VMWare has various ways to slice up a disk image to present to the virtual machine. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From smilingeyes at mac.com Thu Feb 27 13:47:01 2003 From: smilingeyes at mac.com (Ray Bennett) Date: Thu Feb 27 13:47:01 2003 Subject: XP and ask/answer file commands. Message-ID: <4BA499FD-4A83-11D7-B99F-0030657E2BD2@mac.com> XP seems to ignore my request to set a default directory where the user will be when I ask them to open a file. OS X / OS 9 both doing just what I'd expect. XP always goes to where it was last. Help? code sample.... put the _workingPath of stack "Fred" & "d_BRK Files/" into thePath put "*.brk" into theFilters if the platform = "Win32" then answer file "Select a .brk file:" with thePath with filter theFilters else -- answer file "Select a .brk file: " with thePath end if the _workingPath property is my application equivalent of the "defaultfolder" and does end in a "/" The dialog box displayed on the XP box is always wherever I was last. Is the code incorrect? Thanks. Ray From kray at sonsothunder.com Thu Feb 27 14:22:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 27 14:22:01 2003 Subject: XP and ask/answer file commands. References: <4BA499FD-4A83-11D7-B99F-0030657E2BD2@mac.com> Message-ID: <002701c2de95$46cba600$6f00a8c0@mckinley.dom> This was something that was not working properly in 1.1.1, I believe. The MC engine for 2.0 includes the fix to that bug. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Ray Bennett" To: Sent: Thursday, February 27, 2003 12:43 PM Subject: XP and ask/answer file commands. > XP seems to ignore my request to set a default directory where the user > will be when I ask them to open a file. OS X / OS 9 both doing just > what I'd expect. XP always goes to where it was last. > > Help? > > code sample.... > > put the _workingPath of stack "Fred" & "d_BRK Files/" into thePath > put "*.brk" into theFilters > > if the platform = "Win32" then > answer file "Select a .brk file:" with thePath with filter > theFilters > else > -- > answer file "Select a .brk file: " with thePath > end if > > > the _workingPath property is my application equivalent of the > "defaultfolder" and does end in a "/" > > The dialog box displayed on the XP box is always wherever I was last. > Is the code incorrect? > > Thanks. > Ray > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Thu Feb 27 14:27:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Feb 27 14:27:01 2003 Subject: Linux Requirements? In-Reply-To: <6489C134-4A82-11D7-8B68-000393529642@ARCplanning.com> Message-ID: On Thursday, February 27, 2003, at 11:36 AM, Alex Rice wrote: > I have to put in a cheer for VMWare. I have to say that VMware was my second choice. (That may sound weird since I only considered the two, but I hope it conveys my feeling.) I like the flexibility for serial I/O and networking in VMWare, but the networking implementation is intrusive. What tipped the balance was that VMWare added some SMB confusion and my OS X 10.1.? was not able to handle SMB from VMWare hosts. For all I know OS X and/or VMWare have improved making this no longer a problem. Dar Scott From livfoss at blueyonder.co.uk Thu Feb 27 14:41:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu Feb 27 14:41:00 2003 Subject: QT movies are driving me crazy Message-ID: On Thu, 27 Feb 2003 03:27:52 -0800 Richard Gaskin wrote: > >Graham Samuel wrote: > >> I've got a couple of tiny QT movies, both of which are masked. When I >> put them into RR player objects, one of the movies gets masked >> properly (i.e. the shape of the movie on the screen is the shape of >> the mask rather than a rectangle) and the other one appears in a >> white rectangle which blots out the background objects. The only >> difference I can see between the movies is that the one that doesn't >> work has two video tracks (both separately masked) and the one that >> does work has only one video track. AFAICS from the Quicktime Player >> (5.0.2 for the Mac), the masking is OK outside Revolution. >> >> I can't guess what's wrong and I can't think of a way of finding out. >> I don't have any other tools dedicated to editing or examining QT >> movies. >> >> Any suggestions? > >Does the second player have its alwaysBuffer property set to true? That was it! The alwaysBuffer has to be set to false! Why in the name of thunder is that? I wanted to set the property to true because I drag the movies around the screen at runtime and wanted this to work smoothly... OTOH I don't want them to run jerkily (they do anyway, on this Mac) and having the property set to false is supposed to improve smoothness according to the Transcript Dictionary (which doesn't mention masking at all). So I can't get the setting right, in fact. QT movie players seem such attractive things until you actually get up close to them... Thanks anyway, Richard -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From livfoss at blueyonder.co.uk Thu Feb 27 14:47:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu Feb 27 14:47:00 2003 Subject: CLUTs Message-ID: On Thu, 27 Feb 2003 05:47:32 -0800 Richard Gaskin wrote: >Graham Samuel wrote: > >> A contact of mine has asked if RR can deal with user-addressable >> CLUTs. I only just understand what this means on the Mac, and don't >> know if it's a cross-platform concept or not. Can anyone clarify >> this, and maybe get RR a new customer? > >See the entry for the colorMap property in the Transcript dictionary. Thanks yet again, colorMap turns out to be what I was looking for. I wish the docs had a more comprehensive search facility - I don't know when (if ever) I would have come across the term colorMap if you hadn't pointed it out. Anyway I can now answer the question that I was asked (in the affirmative). Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From alrice at ARCplanning.com Thu Feb 27 15:21:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Feb 27 15:21:00 2003 Subject: Linux Requirements? In-Reply-To: Message-ID: <79443F2F-4A90-11D7-8B68-000393529642@ARCplanning.com> On Thursday, February 27, 2003, at 12:23 PM, Dar Scott wrote: > I have to say that VMware was my second choice. (That may sound weird > since I only considered the two, but I hope it conveys my feeling.) I > like the flexibility for serial I/O and networking in VMWare, but the > networking implementation is intrusive. I agree, the networking is kinda tricky to get working; and I remember having SMB--Samba problems of some kind as well, running it on Linux. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From kray at sonsothunder.com Thu Feb 27 15:33:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 27 15:33:01 2003 Subject: CLUTs References: Message-ID: <003b01c2de9f$0c7dc2d0$6f00a8c0@mckinley.dom> Graham, If you would rather have a copy of the 1.1.1 docs in TEXT, RTF or PDF format that you can do searches through with Word, Acrobat etc., you can get a copy at my site: http://www.sonsothunder.com/devres/revolution/revolution.htm ... go to the Downloads section. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Graham Samuel" To: "Revolution user discussion" Sent: Thursday, February 27, 2003 1:42 PM Subject: Re: CLUTs > On Thu, 27 Feb 2003 05:47:32 -0800 Richard Gaskin > wrote: > >Graham Samuel wrote: > > > >> A contact of mine has asked if RR can deal with user-addressable > >> CLUTs. I only just understand what this means on the Mac, and don't > >> know if it's a cross-platform concept or not. Can anyone clarify > >> this, and maybe get RR a new customer? > > > >See the entry for the colorMap property in the Transcript dictionary. > > Thanks yet again, colorMap turns out to be what I was looking for. I > wish the docs had a more comprehensive search facility - I don't know > when (if ever) I would have come across the term colorMap if you > hadn't pointed it out. Anyway I can now answer the question that I > was asked (in the affirmative). > > Graham > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Thu Feb 27 15:50:03 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 27 15:50:03 2003 Subject: QT movies are driving me crazy In-Reply-To: Message-ID: Graham Samuel wrote: >> Does the second player have its alwaysBuffer property set to true? > > That was it! The alwaysBuffer has to be set to false! Why in the name > of thunder is that? Everything in computing is a set of tradeoffs. In this case, it's a tradeoff between performance and masking. Masking is a computationally intensive thing to do: QT needs to render each frame into a buffer to mask it before blitting it to the screen. Without the alwaysBuffer, QT seeks to optimize performance by using the card as a projection screen of sorts, blitting directly over whatever may be there. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dvk at dvkconsult.com.au Thu Feb 27 15:58:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Thu Feb 27 15:58:01 2003 Subject: newbies: beware script locals In-Reply-To: <200302271701.MAA10290@www.runrev.com> Message-ID: <0C3F987C-4A94-11D7-8A38-000393598038@dvkconsult.com.au> On Friday, Feb 28, 2003, at 04:01 Australia/Sydney, Ben Rubinstein wrote: > > on 2/27/03 10:44 AM, David Vaughan wrote >> ...and worth also looking at the explicitVariables property in the TD. > > Which should be an excellent idea, but in my experience it is almost > impossible to develop with explicitVariables on in Revolution. I hope > that > once 2.0 is released, the RunRev team will consider a consolidation > period > to included making their development environment compatible with this. > > (If David or anyone else has found a way round this problem, I'd love > to > hear more.) No, I haven't Ben. As the first part of my line said, I usually do not declare handler-local variables so never use the property. regards David > > 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 monte at sweattechnologies.com Thu Feb 27 16:13:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Feb 27 16:13:01 2003 Subject: Type 2 & 3 errors Message-ID: Hi I've had a report of Type 2 and Type 3 errors in an app running on MacOS 9.1. What do these errors mean and what can I do about them? Thanks Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From ambassador at fourthworld.com Thu Feb 27 16:13:17 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 27 16:13:17 2003 Subject: newbies: beware script locals In-Reply-To: <0C3F987C-4A94-11D7-8A38-000393598038@dvkconsult.com.au> Message-ID: On Friday, Feb 28, 2003, at 04:01 Australia/Sydney, Ben Rubinstein wrote: > on 2/27/03 10:44 AM, David Vaughan wrote >> ...and worth also looking at the explicitVariables property in the TD. > > Which should be an excellent idea, but in my experience it is almost > impossible to develop with explicitVariables on in Revolution. I hope > that once 2.0 is released, the RunRev team will consider a consolidation > period to included making their development environment compatible with > this. > > (If David or anyone else has found a way round this problem, I'd love > to hear more.) As I understand it, the only way is for someone to go through the code and declare all the locals. It's a tedious job, but not too difficult, and hopefully they've done this for the v2.0 IDE, or at least plan to. I use explicitVars very rarely, but when I do I find it very useful and since everything running needs to be compliant I'm writing more and more of my tools with explicitVars on to make sure they don't trip anyone up. If you find anything of mine in RevNet or elsewhere that breaks under explicitVars please drop me a note and I'll update it if I haven't already. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Thu Feb 27 16:35:03 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 27 16:35:03 2003 Subject: Type 2 & 3 errors In-Reply-To: Message-ID: Monte Goulding wrote: > I've had a report of Type 2 and Type 3 errors in an app running on MacOS > 9.1. What do these errors mean and what can I do about them? From timothy.hart5 at verizon.net Thu Feb 27 16:37:01 2003 From: timothy.hart5 at verizon.net (Tim Hart) Date: Thu Feb 27 16:37:01 2003 Subject: Stopping a buttons actions Message-ID: <197E27B8-4A9B-11D7-BF52-0003938DD75E@verizon.net> Hello everyone, I have a button which starts a script that takes about two minutes to get through. I am scrolling through pictures with it. My problem is stopping in the middle. How can I stop or pause once the button is hit so I don't have to wait 2 minutes. Thanks a ton. From ambassador at fourthworld.com Thu Feb 27 16:51:03 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 27 16:51:03 2003 Subject: Stopping a buttons actions In-Reply-To: <197E27B8-4A9B-11D7-BF52-0003938DD75E@verizon.net> Message-ID: Tim Hart wrote: > I have a button which starts a script that takes about two minutes to > get through. I am scrolling through pictures with it. My problem is > stopping in the middle. How can I stop or pause once the button is hit > so I don't have to wait 2 minutes. Ctrl-. (Win) or Cmd-. (Mac). -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From timothy.hart5 at verizon.net Thu Feb 27 16:54:01 2003 From: timothy.hart5 at verizon.net (Tim Hart) Date: Thu Feb 27 16:54:01 2003 Subject: Stopping a buttons actions In-Reply-To: Message-ID: <72DC91A0-4A9D-11D7-BF52-0003938DD75E@verizon.net> On Thursday, February 27, 2003, at 04:47 PM, Richard Gaskin wrote: > Ctrl-. (Win) or Cmd-. (Mac). Thanks. Now how do I do that with a button labeled "reset" so the user can do it to. From monte at sweattechnologies.com Thu Feb 27 16:58:05 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Feb 27 16:58:05 2003 Subject: Type 2 & 3 errors In-Reply-To: Message-ID: > > Can you pin down the script that's running when the error is thrown? > Thanks for the info It sounds like it's something I can't do much about. It's been reported by a user so I'll try and get more info about where it's happening in the app. It sounded to me like it is hapenning alot??? Thanks Monte From ambassador at fourthworld.com Thu Feb 27 17:08:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 27 17:08:01 2003 Subject: PAD generator fo Rev/MC? Message-ID: Anyone have a freeware PAD generator for Rev/MC? (see ) Also, how many if you make PAD files for your wares? Would it make sense to add support for viewig PAD info in RevNet? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Thu Feb 27 17:15:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 27 17:15:01 2003 Subject: Stopping a buttons actions In-Reply-To: <72DC91A0-4A9D-11D7-BF52-0003938DD75E@verizon.net> Message-ID: Tim Hart wrote: > > On Thursday, February 27, 2003, at 04:47 PM, Richard Gaskin wrote: > >> Ctrl-. (Win) or Cmd-. (Mac). > > Thanks. Now how do I do that with a button labeled "reset" so the user > can do it to. That's not so easy. I did it once for WebMerge, and maybe there's a simpler way but my method ate a lot of clock cycles. I called a function in my repeat loop that checked the mouseLoc, and if it was over the Cancel button it turned the cursor from watch to hand. Then it checked if the mouse was down, and if so it sent a "mouseUp" to that button. With the overhead of event polling, this dragged my app's performance down dramatically. In a later version I simply removed the button and replaced it with a note for the user to type Ctrl-. to cancel, and commented out the function call: My app was now much faster, and not a single user has ever even noted the change, other than to express their appreciation for the speed increase. Anyone have an efficient way of implementing a Cancel button from within a loop? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Thu Feb 27 17:23:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 27 17:23:01 2003 Subject: Type 2 & 3 errors In-Reply-To: Message-ID: Monte Goulding wrote: >> Can you pin down the script that's running when the error is thrown? >> > Thanks for the info > > It sounds like it's something I can't do much about. It's been reported by a > user so I'll try and get more info about where it's happening in the app. It > sounded to me like it is hapenning alot??? Not in the MC engine, and since we're talking about a standalone (we are, aren't we?), then it seems unlikely that the Rev IDE could be a contributing factor. Determining a recipe for this might be very useful in helping the Rev 2.0 engine make sure this doesn't happen, and may provide us with a way to implement a workaround in the meantime to keep your work running smoothly. Though they may seem chaotic, computers are ultimately deterministic systems, meaning simply that the same actions will produce the same result. Once we can determine the difference between actions that trigger the crash and those that don't, the issue will likely become resolvable. Sometimes it takes a bit of sleuthing, but I've never seen an error that ultimately couldn't be resolved one way or another, whether in script or the engine or both. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From livfoss at blueyonder.co.uk Thu Feb 27 17:39:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu Feb 27 17:39:00 2003 Subject: Searching the documentation (was Re: CLUTs) Message-ID: On Thu, 27 Feb 2003 14:30:14 -0600 "Ken Ray" wrote: > >Graham, > >If you would rather have a copy of the 1.1.1 docs in TEXT, RTF or PDF >format that you can do searches through with Word, Acrobat etc., you can >get a copy at my site: > >http://www.sonsothunder.com/devres/revolution/revolution.htm > >... go to the Downloads section. > >After I wrote > > Thanks yet again, colorMap turns out to be what I was looking for. I >> wish the docs had a more comprehensive search facility - I don't know >> when (if ever) I would have come across the term colorMap if you > > hadn't pointed it out... > > Thank you, and when desperate I daresay I will try a free text search through the RTF or whatever. In this particular case though I would never have found the word 'CLUT' because it's not there. What I really want is a more extended and at the same time accessible structure in the online documentation - like a chapter called 'all about color'. We kind of have this in the 'See Also' pulldowns, but they do involve a large amount of shifting around - for example, there are 14 'See Also's for the colorMap entry, and each and every one has to be investigated just to see if it will shed any light on colour (sorry I'm British) management. Now in fact I also see that there is an article 'about colors and color specifications' (which I suspect doesn't cover each and every property and command relating to colour), but this isn't headlined anywhere. It's a subsection of 'Appearance and Positioning' in the Development Guide, and only a careful reading of the right hand list that comes up when you pick this topic reveals the 'colors' article. In practice I have often found that I can't make the connections without knowing the vocabulary first - so in a way I am just looking for a better tool for scanning the docs, but not an unstructured search except as a last resort. I wouldn't say all this but for the fact that quite a lot of the answers given by those with True Knowledge on the list to the rest of us, are basically of the form 'have you looked at a certain bit of the documentation?' IMHO there must be a reason for this. Just my two pence (UK) or two (Euro) cents. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From scott at tactilemedia.com Thu Feb 27 17:43:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Feb 27 17:43:01 2003 Subject: Stopping a buttons actions In-Reply-To: <197E27B8-4A9B-11D7-BF52-0003938DD75E@verizon.net> Message-ID: Recently, "Tim Hart" wrote: > I have a button which starts a script that takes about two minutes to > get through. I am scrolling through pictures with it. My problem is > stopping in the middle. How can I stop or pause once the button is hit > so I don't have to wait 2 minutes. Depends on what your script is actually doing. If you're running a repeating/looping action, you can simply check a variable/property state at the beginning of your loop. You must be using "send in..." to accomplish this reliably. # TO START YOUR SCROLL ACTION, SEND A # "DOTHESCROLL" MESSAGE TO WHEREVER # YOU PLACE THE FOLLOWING SCRIPT. # IN YOUR CARD/STACK on doTheScroll if not the uAllowScroll of this stack then exit doTheScroll runMyScrollStuff send "doTheScroll" to me in 50 milliseconds end doTheScroll # IN YOUR STOP BUTTON on mouseUp set the uAllowScroll of this stack to false end mouseUp on mouseRelease mouseUp end mouseRelease Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From pixelbird at interisland.net Thu Feb 27 17:44:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Thu Feb 27 17:44:01 2003 Subject: More groups In-Reply-To: <200302241032.FAA12667@www.runrev.com> Message-ID: Hi everyone, I'm not quite sure how to do this: I want to group of buttons which are already made and not in a particular order (as in 1-40). Doing them by hand is wonky and time consuming, Sometimes it misses, or I accidenatally mess up the position or size, too, and have to fix it. So, I want to just make a list of stuff that I want grouped with background behavior, but I'm not sure how to script it. Actually, I'd like to make a little temporary UI to do these types of things. In this case, though, I just need a temporary button with a script to do what I want. Advice from the masters? TIA, Ken N. From scott at tactilemedia.com Thu Feb 27 17:50:03 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Feb 27 17:50:03 2003 Subject: Stopping a buttons actions [UPDATED] In-Reply-To: Message-ID: Recently, "Scott Rossi" wrote: >> I have a button which starts a script that takes about two minutes to >> get through. I am scrolling through pictures with it. My problem is >> stopping in the middle. How can I stop or pause once the button is hit >> so I don't have to wait 2 minutes. > > Depends on what your script is actually doing. If you're running a > repeating/looping action, you can simply check a variable/property state at > the beginning of your loop. You must be using "send in..." to accomplish > this reliably. > > # TO START YOUR SCROLL ACTION, SEND A > # "DOTHESCROLL" MESSAGE TO WHEREVER > # YOU PLACE THE FOLLOWING SCRIPT. Forgot to mention that you need to set the uAllowScroll property of the stack to true before starting the scroll action. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From k_major at os.surf2000.de Thu Feb 27 18:05:00 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Feb 27 18:05:00 2003 Subject: More groups In-Reply-To: Message-ID: <853435E4-4AA7-11D7-B008-000A27B49A96@os.surf2000.de> Hi Ken, > Hi everyone, > > I'm not quite sure how to do this: > > I want to group of buttons which are already made and not in a > particular > order (as in 1-40). Doing them by hand is wonky and time consuming, > Sometimes it misses, or I accidenatally mess up the position or size, > too, > and have to fix it. > > So, I want to just make a list of stuff that I want grouped with > background > behavior, but I'm not sure how to script it. Actually, I'd like to > make a > little temporary UI to do these types of things. In this case, though, > I > just need a temporary button with a script to do what I want. > > Advice from the masters? > > TIA, > Ken N. supposed you have a list (field or var) of elements you want to group like: field 3 field 2 button 2 button 3 ... Then you can script (i have a field here): on mouseUp repeat for each line l in fld 1 put l && "and " after mylist_to_group end repeat delete word -1 of mylist_to_group do "group" && mylist_to_group ## do what you want to -> group -1 ## :-) end mouseUp Tested and works :-) Hope that helps... Regards Klaus Major k_major at os.surf2000.de From ambassador at fourthworld.com Thu Feb 27 18:09:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 27 18:09:01 2003 Subject: Searching the documentation (was Re: CLUTs) In-Reply-To: Message-ID: Graham Samuel wrote: > Thank you, and when desperate I daresay I will try a free text search > through the RTF or whatever. In this particular case though I would > never have found the word 'CLUT' because it's not there. What I > really want is a more extended and at the same time accessible > structure in the online documentation - like a chapter called 'all > about color'. That would be a welcome addition, as would an index including a few more Mac-specific terms like 'CLUT' to help newcomers make the transition from other xTalks, which have largely been for Mac only. But the current index is not so bad: I found colorMap by opening the Transcript Dictionary and typing "color" in the search box -- "colorMap property is the first entry shown when you do that, worth at least a glance to see if it's what you're looking for. Having written the index for the SuperTalk Language Guide, I'm painfully familiar with how difficult it is to arrive at a good index, and by and large the Rev index isn't bad, IMHO. When looking up stuff in Rev's docs, it may be useful to remember that Mac-specific terms like specific resource structures such as 'CLUT' and 'CURS' and 'DLOG' (now obsolete with OS X anyway) will be less likely to be found than their more generic equivalents. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From pixelbird at interisland.net Thu Feb 27 18:26:00 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Thu Feb 27 18:26:00 2003 Subject: More groups In-Reply-To: <200302272310.SAA25774@www.runrev.com> Message-ID: ********** > Date: Fri, 28 Feb 2003 00:02:18 +0100 > Subject: Re: More groups > From: Klaus Major > supposed you have a list (field or var) of elements you want to group > like: > > field 3 > field 2 > button 2 > button 3 > ... > > Then you can script (i have a field here): > > on mouseUp > repeat for each line l in fld 1 > put l && "and " after mylist_to_group > end repeat > delete word -1 of mylist_to_group > do "group" && mylist_to_group > ## do what you want to -> group -1 > ## :-) > end mouseUp > > Tested and works :-) > > Hope that helps... ---------- Thanks Klaus, I wish I could tell what's happening, though. I don't recognize the actions of the syntax. Ken N. From revlists at canelasoftware.com Thu Feb 27 19:19:01 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Thu Feb 27 19:19:01 2003 Subject: Type 2 & 3 errors In-Reply-To: Message-ID: On Thursday, February 27, 2003, at 02:19 PM, Richard Gaskin wrote: >>> Can you pin down the script that's running when the error is thrown? >>> >> Thanks for the info >> >> It sounds like it's something I can't do much about. It's been >> reported by a >> user so I'll try and get more info about where it's happening in the >> app. It >> sounded to me like it is hapenning alot??? > > Not in the MC engine, and since we're talking about a standalone (we > are, > aren't we?), then it seems unlikely that the Rev IDE could be a > contributing > factor. > > Determining a recipe for this might be very useful in helping the Rev > 2.0 > engine make sure this doesn't happen, and may provide us with a way to > implement a workaround in the meantime to keep your work running > smoothly. > > Though they may seem chaotic, computers are ultimately deterministic > systems, meaning simply that the same actions will produce the same > result. > Once we can determine the difference between actions that trigger the > crash > and those that don't, the issue will likely become resolvable. > > Sometimes it takes a bit of sleuthing, but I've never seen an error > that > ultimately couldn't be resolved one way or another, whether in script > or the > engine or both. If your user Monte will do this, have them run macbugs and see if they can get the error. They can then save out the log file. Send it to Scott for review. He always figures this out once he has that file. Best regards, Mark Talluto http://www.canelasoftware.com From raney at metacard.com Thu Feb 27 19:24:01 2003 From: raney at metacard.com (Scott Raney) Date: Thu Feb 27 19:24:01 2003 Subject: Stopping a buttons actions Message-ID: On Thu, 27 Feb 2003 Richard Gaskin wrote: > Anyone have an efficient way of implementing a Cancel button from within a > loop? You can use "wait for messages" to do this: have the "Cancel" button set a variable or property that you check in the loop to know to abort. It's a relatively expensive operation, though, so you may want to only do it every tenth or hundredth time in a very tight loop. You also have to be extremely careful that you don't end up causing a recursion, e.g. by disabling the button that kicks off the processing (use the waitDepth() function during your testing to make sure it never goes above 1). There may be other things that need to be disabled because they somehow interact with the processing and may leave your app in a non-functional state. This is a very powerful feature but is also very dangerous and so should be used sparingly and only when you have the time and motivation to do very robust engineering and testing. Regards, Scott > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge 2.2: Publish any database on any site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc ******************************************************** Scott Raney raney at metacard.com http://www.metacard.com MetaCard: You know, there's an easier way to do that... From monte at sweattechnologies.com Thu Feb 27 19:37:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Feb 27 19:37:01 2003 Subject: Type 2 & 3 errors In-Reply-To: Message-ID: OK that's a good idea. What's macbugs? Monte From ambassador at fourthworld.com Thu Feb 27 19:39:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 27 19:39:01 2003 Subject: Linux, anyone? Message-ID: Are any of you selling commercial Rev- or MC-based apps to the Linux market? I'd be interested in learning about your experiences there. With MC's speed on Linux, it should be able to compete favorably with most ported wares in terms of performance. The OS itself seems to be moving quickly into a suitable desktop alternative in terms of both capabilities and ease of use (Business Week reports that 10% of desktop machines in India are Linux). Since building for Linux takes only a few seconds in Rev or MC, I wonder to what degree our choice of tools is handing us a good opportunity.... -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Thu Feb 27 19:46:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Feb 27 19:46:00 2003 Subject: Type 2 & 3 errors In-Reply-To: Message-ID: Monte Goulding wrote: > OK that's a good idea. What's macbugs? But you may not need to go that deep (although from time to time Scott or Kevin has asked for a stdlog dump to help diagnose errors). Is the crash happening at any consistent point in your app's execution? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From rjb at rz.uni-potsdam.de Thu Feb 27 19:51:01 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Feb 27 19:51:01 2003 Subject: Stopping a buttons actions In-Reply-To: References: Message-ID: >Tim Hart wrote: > >> >> On Thursday, February 27, 2003, at 04:47 PM, Richard Gaskin wrote: >> >>> Ctrl-. (Win) or Cmd-. (Mac). >> >> Thanks. Now how do I do that with a button labeled "reset" so the user >> can do it to. > >That's not so easy. I did it once for WebMerge, and maybe there's a simpler >way but my method ate a lot of clock cycles. > >I called a function in my repeat loop that checked the mouseLoc, and if it >was over the Cancel button it turned the cursor from watch to hand. Then it >checked if the mouse was down, and if so it sent a "mouseUp" to that button. >With the overhead of event polling, this dragged my app's performance down >dramatically. > >In a later version I simply removed the button and replaced it with a note >for the user to type Ctrl-. to cancel, and commented out the function call: >My app was now much faster, and not a single user has ever even noted the >change, other than to express their appreciation for the speed increase. > >Anyone have an efficient way of implementing a Cancel button from within a >loop? Cancelling with cmd-. is routine on the mac, though I don't know about windows. I would just set allowInterruption to false while running the handler (so MC does not hop in with its dialog which is likely to confuse users) and use the interrupt function at reasonable intervals to check for cancellation request. Robert Brenstein From monte at sweattechnologies.com Thu Feb 27 19:55:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Feb 27 19:55:01 2003 Subject: Type 2 & 3 errors In-Reply-To: Message-ID: > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Richard > Gaskin > Sent: Friday, 28 February 2003 11:12 AM > To: use-revolution at lists.runrev.com > Subject: Re: Type 2 & 3 errors > > > Monte Goulding wrote: > > > OK that's a good idea. What's macbugs? > > > > But you may not need to go that deep (although from time to time Scott or > Kevin has asked for a stdlog dump to help diagnose errors). > > Is the crash happening at any consistent point in your app's execution? > I don't know yet. It's just good to know the options for debugging this kind of thing. Thanks Monte From revlists at canelasoftware.com Thu Feb 27 19:56:00 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Thu Feb 27 19:56:00 2003 Subject: Type 2 & 3 errors In-Reply-To: Message-ID: On Thursday, February 27, 2003, at 04:42 PM, Richard Gaskin wrote: > Monte Goulding wrote: > >> OK that's a good idea. What's macbugs? > > Actually, you should have your user run your program with extensions turned off. Have them run it with Virtual mem of too. Then have them run it with VM on. See if you can find a pattern. Once you get it, it may help further to get the macbugs report. Best regards, Mark Talluto http://www.canelasoftware.com From sarahr at genesearch.com.au Thu Feb 27 21:33:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu Feb 27 21:33:01 2003 Subject: More groups In-Reply-To: Message-ID: <7B807C9B-4AC4-11D7-913E-0003937A97B8@genesearch.com.au> Hi Ken, Try stepping through with the Script Debugger. You will see that Klaus' script builds a string from the list of objects in his field, using a repeat for each loop. So mylist_to_group ends up containing: field 3 and field 2 and button 2 and button 3 and As it ends with an extra "and", he deletes the last word (word -1 means last word - you can use either syntax). Then he adds the word "group" to the front of his list and uses "do" to perform the grouping. Hope you don't mind me answering this one Klaus, but we're awake over here in Oz, while I figured you must be still asleep :-) Cheers, Sarah >> supposed you have a list (field or var) of elements you want to group >> like: >> >> field 3 >> field 2 >> button 2 >> button 3 >> ... >> >> Then you can script (i have a field here): >> >> on mouseUp >> repeat for each line l in fld 1 >> put l && "and " after mylist_to_group >> end repeat >> delete word -1 of mylist_to_group >> do "group" && mylist_to_group >> ## do what you want to -> group -1 >> ## :-) >> end mouseUp >> >> Tested and works :-) >> >> Hope that helps... > ---------- > Thanks Klaus, > > I wish I could tell what's happening, though. I don't recognize the > actions > of the syntax. > > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From timothy.hart5 at verizon.net Thu Feb 27 21:52:00 2003 From: timothy.hart5 at verizon.net (Tim Hart) Date: Thu Feb 27 21:52:00 2003 Subject: Another question today. Message-ID: <1A0D9C8E-4AC7-11D7-AFDE-0003938DD75E@verizon.net> Sorry to keep asking question but I just can't figure it out. I have a stack that has a button with the following script in it. The user presses it and then this happens. It puts images into image "1.jpg". I would like to use some of the visual effects, but they don't seem to work when you set the filename. Anyone have any ideas or is it impossible? Thanks a lot in advance. on mouseup set filename of image "1.jpg" to "pics/sue/1.jpg" put "My daddy left home when I was three" into field "text" wait 5 seconds put "And he didn't leave much to Ma and me..." into field "text" wait 5 seconds set filename of image "1.jpg" to "pics/sue/2.jpg" From kray at sonsothunder.com Thu Feb 27 23:25:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 27 23:25:01 2003 Subject: Stopping a buttons actions References: Message-ID: <004e01c2dee0$c67f3060$6601a8c0@LightningFlash> > Tim Hart wrote: > > > I have a button which starts a script that takes about two minutes to > > get through. I am scrolling through pictures with it. My problem is > > stopping in the middle. How can I stop or pause once the button is hit > > so I don't have to wait 2 minutes. > > Ctrl-. (Win) or Cmd-. (Mac). Ctrl-. for Windows? I would have thought that it would have been the Escape key... very few Windows users (if any) would think to use that key combination. Scott, any chance of mapping Escape to the Cmd-. equivalent for Windows in the future? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pixelbird at interisland.net Fri Feb 28 01:05:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Feb 28 01:05:01 2003 Subject: How to add existing buttons to existing group In-Reply-To: <200302272310.SAA25774@www.runrev.com> Message-ID: I tried to put a few _existing_ buttons into an existing group like this (which is how I would've done it in HC): Choose Cut Object from the menu, select the group, Paste. ...didn't work. How should I do it? Ken N. From sarahr at genesearch.com.au Fri Feb 28 01:15:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Fri Feb 28 01:15:01 2003 Subject: How to add existing buttons to existing group In-Reply-To: Message-ID: <55E318F0-4AE3-11D7-B147-0003937A97B8@genesearch.com.au> You're nearly there, you just need one of these two variations on your technique: right-click (control-click) to bring up the contextual menu for the group which will include an item "Paste into group" or click Edit Group, then paste Cheers, Sarah On Friday, February 28, 2003, at 04:06 pm, Ken Norris (dialup) wrote: > I tried to put a few _existing_ buttons into an existing group like > this > (which is how I would've done it in HC): > > Choose Cut Object from the menu, select the group, Paste. > > ...didn't work. > > How should I do it? > > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jeanne at runrev.com Fri Feb 28 01:18:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Fri Feb 28 01:18:01 2003 Subject: Combo-box/popup menu in a list field? In-Reply-To: References: Message-ID: At 8:54 AM -0800 2/27/03, Ben Rubinstein wrote: >> I'll take a look at this. (You mean just a mention of the menuPick or >> mouseDown message being sent to the menu button or stack, right?) > >It sounds obvious when you say it. But in the absence of that, there's no >reason to think that 'the result' of the popup command won't be something >useful; or to know which message will be relevant. Oh, definitely. I didn't mean it was obvious - just wanted to make sure I understood what you meant. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Fri Feb 28 01:18:24 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Fri Feb 28 01:18:24 2003 Subject: Other platforms In-Reply-To: <156.1c6e46f5.2b8f9ff8@aol.com> Message-ID: At 9:08 AM -0800 2/27/03, Yennie at aol.com wrote: >On the note of *NIX platforms from my previous Linux thread, this whole >area seems a bit fuzzy. > Is there anywhere documented in detail what is supported on the various >other UNIX platforms? Take a look at "Supported Platforms Reference". (You can find it under "The System Environment" in the development guide.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From rjb at escapesports.com Fri Feb 28 04:20:54 2003 From: rjb at escapesports.com (Ray Bennett) Date: Fri Feb 28 04:20:54 2003 Subject: XP and ask/answer file commands. In-Reply-To: <002701c2de95$46cba600$6f00a8c0@mckinley.dom> Message-ID: <2AA97CD8-4AA2-11D7-B99F-0030657E2BD2@escapesports.com> Way cool. Backup and build with pre-beta. Thanks, Ken! On Thursday, Feb 27, 2003, at 14:20 America/New_York, Ken Ray wrote: > This was something that was not working properly in 1.1.1, I believe. > The MC engine for 2.0 includes the fix to that bug. > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: "Ray Bennett" > To: > Sent: Thursday, February 27, 2003 12:43 PM > Subject: XP and ask/answer file commands. > > >> XP seems to ignore my request to set a default directory where the > user >> will be when I ask them to open a file. OS X / OS 9 both doing just >> what I'd expect. XP always goes to where it was last. >> >> Help? >> >> code sample.... >> >> put the _workingPath of stack "Fred" & "d_BRK Files/" into thePath >> put "*.brk" into theFilters >> >> if the platform = "Win32" then >> answer file "Select a .brk file:" with thePath with filter >> theFilters >> else >> -- >> answer file "Select a .brk file: " with thePath >> end if >> >> >> the _workingPath property is my application equivalent of the >> "defaultfolder" and does end in a "/" >> >> The dialog box displayed on the XP box is always wherever I was last. >> Is the code incorrect? >> >> Thanks. >> Ray >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From benr_mc at cogapp.com Fri Feb 28 05:44:01 2003 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri Feb 28 05:44:01 2003 Subject: menu paradigm of Rev/MC and other goofiness -- like quotes In-Reply-To: <67622F0A-4A80-11D7-99D6-000A9567A3E6@swcp.com> Message-ID: >> That helps, but look how much easier this is to read and debug: >> >> put "I said, 'Let's go!'" > > I believe there are contexts in which a string literal can have quote > marks. I don't know what they all are. FWIW, my equivalent of Richard's standard "q" script is this, which tends to end up in the mainstack script of many of my projects. function encTQR t --> t replace "?" with tab in t replace "`" with quote in t replace "?" with return in t return t end encTQR Needless to say, I develop on the Mac; not sure how this would play on Windows. In case this hasn't survived email, the three characters are delta (option-J), 'backwards apostrophe' (under the tilde key on most keyboards) and paragraph symbol (option-7). Hence I can say put encTQR("He said `What is this 'Revolution' of which you speak?`") or put encTQR("id?mailing name?sortname?address?") into datafile or put encTQR("?????the title???") into t etc... 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 dvk at dvkconsult.com.au Fri Feb 28 06:01:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Fri Feb 28 06:01:01 2003 Subject: Stopping a button's action In-Reply-To: <200302280922.EAA03253@www.runrev.com> Message-ID: <5B9D6C0A-4B0B-11D7-8A38-000393598038@dvkconsult.com.au> On Friday, Feb 28, 2003, at 20:22 Australia/Sydney, Scott Raney wrote: > On Thu, 27 Feb 2003 Richard Gaskin wrote: > >> Anyone have an efficient way of implementing a Cancel button from >> within a >> loop? > > You can use "wait for messages" to do this: snip Scott, sorry, I don't get this. From the TD it looks as though a "wait for messages" in (or outside) the loop will halt that handler, whereas putting it in the Cancel button handler seems...pointless. What is it you actually have in mind please, or does the doco mis-describe the operation? In any case, should not this be handled by "send in time" as the effective looping device, to allow other messages to intrude on the queue? Of course, that does not work as expected either, as I (and Dar as I recall) wrote in some correspondence a couple of months ago. thanks David > Regards, > Scott > >> -- >> Richard Gaskin >> Fourth World Media Corporation >> Developer of WebMerge 2.2: Publish any database on any site >> ___________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> Tel: 323-225-3717 AIM: FourthWorldInc > > ******************************************************** > Scott Raney raney at metacard.com http://www.metacard.com > MetaCard: You know, there's an easier way to do that... > From ambassador at fourthworld.com Fri Feb 28 06:06:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Feb 28 06:06:01 2003 Subject: menu paradigm of Rev/MC and other goofiness -- like quotes In-Reply-To: Message-ID: Ben Rubinstein wrote: >>> That helps, but look how much easier this is to read and debug: >>> >>> put "I said, 'Let's go!'" >> >> I believe there are contexts in which a string literal can have quote >> marks. I don't know what they all are. > > FWIW, my equivalent of Richard's standard "q" script is this, which tends to > end up in the mainstack script of many of my projects. > > function encTQR t --> t > replace "?" with tab in t > replace "`" with quote in t > replace "?" with return in t > return t > end encTQR > > Needless to say, I develop on the Mac; not sure how this would play on > Windows. In case this hasn't survived email, the three characters are delta > (option-J), 'backwards apostrophe' (under the tilde key on most keyboards) > and paragraph symbol (option-7). > > Hence I can say > put encTQR("He said `What is this 'Revolution' of which you speak?`") > or > put encTQR("id?mailing name?sortname?address?") into datafile > or > put encTQR("?????the title???") into t > etc... You may enjoy the format function also - from the MC 2.4.3 Read Me: A format() function has been added with a syntax compatible with the C printf function. This is most useful for padding strings with spaces, or controlling the format of numbers with more flexibility than is possible with the numberFormat property. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From k_major at os.surf2000.de Fri Feb 28 06:32:01 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Fri Feb 28 06:32:01 2003 Subject: More groups In-Reply-To: <7B807C9B-4AC4-11D7-913E-0003937A97B8@genesearch.com.au> Message-ID: Hi Sarah, > ... > Hope you don't mind me answering this one Klaus, but we're awake over > here in Oz, while I figured you must be still asleep :-) Thanks for acting as a substitute for me while i was asleep :-) > Cheers, > Sarah Have a nice weekend. Best from "down over" (?) :-) Klaus Major k_major at os.surf2000.de From k_major at os.surf2000.de Fri Feb 28 06:33:00 2003 From: k_major at os.surf2000.de (Klaus Major) Date: Fri Feb 28 06:33:00 2003 Subject: Another question today. In-Reply-To: <1A0D9C8E-4AC7-11D7-AFDE-0003938DD75E@verizon.net> Message-ID: Hi Tim, > Sorry to keep asking question but I just can't figure it out. I have > a stack that has a button with the following script in it. The user > presses it and then this happens. It puts images into image "1.jpg". > I would like to use some of the visual effects, but they don't seem to > work when you set the filename. Anyone have any ideas or is it > impossible? Thanks a lot in advance. > > on mouseup > set filename of image "1.jpg" to "pics/sue/1.jpg" > put "My daddy left home when I was three" into field "text" > wait 5 seconds > put "And he didn't leave much to Ma and me..." into field "text" > wait 5 seconds > set filename of image "1.jpg" to "pics/sue/2.jpg" you can lock the screen and unlock it again with a visual effect. ... put "And he didn't leave much to Ma and me..." into field "text" wait 5 seconds lock screen set filename of image "1.jpg" to "pics/sue/2.jpg" unlock screen with visual dissolve very slow ... Hope that helps. Regards Klaus Major k_major at os.surf2000.de From timothy.hart5 at verizon.net Fri Feb 28 07:17:01 2003 From: timothy.hart5 at verizon.net (Tim Hart) Date: Fri Feb 28 07:17:01 2003 Subject: Another question today. In-Reply-To: Message-ID: On Friday, February 28, 2003, at 06:30 AM, Klaus Major wrote: >> > > you can lock the screen and unlock it again with a visual effect. > > > ... > put "And he didn't leave much to Ma and me..." into field "text" > wait 5 seconds > lock screen > set filename of image "1.jpg" to "pics/sue/2.jpg" > unlock screen with visual dissolve very slow > ... > > Hope that helps. > > > Thanks a tons Klaus. > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 475 bytes Desc: not available URL: From bornstein at designeq.com Fri Feb 28 07:22:00 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Fri Feb 28 07:22:00 2003 Subject: Type 2 & 3 errors Message-ID: <200302281217.h1SCHobF000793@ms-smtp-03.nyroc.rr.com> >Though they may seem chaotic, computers are ultimately deterministic >systems, meaning simply that the same actions will produce the same result. >Once we can determine the difference between actions that trigger the crash >and those that don't, the issue will likely become resolvable. Of course, that asssumes reliable functioning of the computer. I remember spending an entire day trying to find out why my friend's Mac kept crashing (of course we suspected extension conflicts). After trying every possible variation and not coming up with a pattern, I suggested that she had a hardware (most likely memory) problem. We took it into the shop, swapped out a bank of bad memory, and voila, no more crashes! Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From gcanyon at inspiredlogic.com Fri Feb 28 10:52:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Feb 28 10:52:01 2003 Subject: More groups In-Reply-To: Message-ID: <053C5314-4B34-11D7-AA16-003065683ECC@inspiredlogic.com> Navigator would let you easily select the objects to be grouped without worrying about positioning, etc. It comes with the 2.0 beta, but also works with 1.1.1: http://www.inspiredlogic.com/navigator On Thursday, February 27, 2003, at 02:44 PM, Ken Norris (dialup) wrote: > Hi everyone, > > I'm not quite sure how to do this: > > I want to group of buttons which are already made and not in a > particular > order (as in 1-40). Doing them by hand is wonky and time consuming, > Sometimes it misses, or I accidenatally mess up the position or size, > too, > and have to fix it. > > So, I want to just make a list of stuff that I want grouped with > background > behavior, but I'm not sure how to script it. Actually, I'd like to > make a > little temporary UI to do these types of things. In this case, though, > I > just need a temporary button with a script to do what I want. > > Advice from the masters? > > TIA, > Ken N. regards, Geoff Canyon gcanyon at inspiredlogic.com From cm_sheffield at yahoo.com Fri Feb 28 11:22:05 2003 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Fri Feb 28 11:22:05 2003 Subject: Revolution vs. MetaCard Message-ID: <20030228161033.54405.qmail@web20420.mail.yahoo.com> My company is currently looking at several development tools to use for developing a reading comprehension program for elementary age students. The program consists of several levels of stories that the student must interact with in different ways. There is also a teacher management portion that the teachers use to administer tests and track student progress throughout the course. A full reporting system is a must. Anyway, I have been seriously looking at Revolution, as I'm sure it would do the job for us, but then I heard mention of MetaCard, which sounds like almost exactly the same thing. So my question is, what's the differency between the two? Is one better than the other? Does someone have something that compares the two? Maybe a white paper or something like that? Is one easier to use than the other? How about database access? I would appreciate any feedback from anyone. Thank you, Chris Sheffield Read Naturally P.S. For a peak at what we're wanting to do, go to www.readnaturally.com. The software is currently done in Macromedia Authorware. __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ From pixelbird at interisland.net Fri Feb 28 12:59:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Feb 28 12:59:01 2003 Subject: More groups In-Reply-To: <200302280922.EAA03336@www.runrev.com> Message-ID: ********** > Date: Fri, 28 Feb 2003 12:29:37 +1000 > Subject: Re: More groups > From: Sarah > Hi Ken, > > Try stepping through with the Script Debugger. You will see that Klaus' > script builds a string from the list of objects in his field, using a > repeat for each loop. So mylist_to_group ends up containing: > field 3 and field 2 and button 2 and button 3 and > As it ends with an extra "and", he deletes the last word (word -1 means > last word - you can use either syntax). > Then he adds the word "group" to the front of his list and uses "do" to ---------- Yes, I just made the stuff visible in a field, and it came clear right away. Thanks much, Ken N. From pixelbird at interisland.net Fri Feb 28 13:15:01 2003 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Feb 28 13:15:01 2003 Subject: How to add existing buttons to existing group In-Reply-To: <200302280922.EAA03336@www.runrev.com> Message-ID: ********** > Date: Fri, 28 Feb 2003 16:10:28 +1000 > Subject: Re: How to add existing buttons to existing group > From: Sarah > > You're nearly there, you just need one of these two variations on your > technique: > > right-click (control-click) to bring up the contextual menu for the > group which will include an item "Paste into group" > or > click Edit Group, then paste ---------- OK, thanks, I got it. Ken N. From miscdas at boxfrog.com Fri Feb 28 13:37:00 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Fri Feb 28 13:37:00 2003 Subject: Stopping a buttons actions In-Reply-To: <004e01c2dee0$c67f3060$6601a8c0@LightningFlash> References: <004e01c2dee0$c67f3060$6601a8c0@LightningFlash> Message-ID: <20030228183532.69098.qmail@www.boxfrog.com> Ken Ray writes: > Ctrl-. for Windows? I would have thought that it would have been the Escape > key... very few Windows users (if any) would think to use that key > combination. Scott, any chance of mapping Escape to the Cmd-. equivalent for > Windows in the future? > > Ken Ray ========= With Win XP Pro, MC 2.4.3, my abort sequence is Ctrlc ESC has no effect Ctrl- has no effect miscdas From marty at vertex.ucls.uchicago.edu Fri Feb 28 13:51:00 2003 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Fri Feb 28 13:51:00 2003 Subject: playing sounds Message-ID: A recent convert from HyperCard asks: How do I mimic HyperCard's play command in Revolution? Specifically, how do I go about making the following HC command work: play "harpsichord" C4q which plays middle C for a quarter note with a harpsichord sound. Do I have to import a sound resource? How do I do that? Are there any built-in sounds? Thanks, - marty -- Marty Billingsley The University of Chicago Laboratory Schools From Roger.E.Eller at sealedair.com Fri Feb 28 13:55:01 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Fri Feb 28 13:55:01 2003 Subject: Stopping a buttons actions Message-ID: > Ken Ray writes: > >> Ctrl-. for Windows? I would have thought that it would have been the Escape >> key... very few Windows users (if any) would think to use that key >> combination. Scott, any chance of mapping Escape to the Cmd-. equivalent for >> Windows in the future? >> >> Ken Ray > ========= > > With Win XP Pro, MC 2.4.3, my abort sequence is Ctrlc > ESC has no effect ********************** > Ctrl- has no effect ********************** > > miscdas miscdas, I believe that is Ctrl(period) instead of Ctrl(dash). Ctrl(period) is the normal cancel sequence on MacOS systems. Roger Eller roger.e.eller at sealedair.com From miscdas at boxfrog.com Fri Feb 28 14:16:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Fri Feb 28 14:16:01 2003 Subject: Stopping a buttons actions In-Reply-To: References: Message-ID: <20030228191507.43634.qmail@www.boxfrog.com> Roger.E.Eller at sealedair.com writes: > >> Ken Ray writes: >> >>> Ctrl-. for Windows? I would have thought that it would have been the > Escape >>> key... very few Windows users (if any) would think to use that key >>> combination. Scott, any chance of mapping Escape to the Cmd-. equivalent > for >>> Windows in the future? >>> >>> Ken Ray >> ========= >> >> With Win XP Pro, MC 2.4.3, my abort sequence is Ctrlc >> ESC has no effect > ********************** >> Ctrl- has no effect > ********************** >> >> miscdas > > miscdas, > > I believe that is Ctrl(period) instead of Ctrl(dash). Ctrl(period) is the > normal cancel sequence on MacOS systems. > > Roger Eller > roger.e.eller at sealedair.com ========== Mr. Eller, Thanks for the info. Perhaps Ctrl-. is the syntax in the Mac world for showing 2 keys pressed simultaneously? If yes, I didn't recognize this because the Windows standard syntax for pressing 2 key simultaneous is the plus symbol. e.g. pressing the control key and c key simultaneously is Ctrl+c Ctrl(period) does indeed work the same as Ctrlc. As a Windoze user, I would never have thought to try such a combination. miscdas From Revinfo1155 at aol.com Fri Feb 28 14:36:00 2003 From: Revinfo1155 at aol.com (Revinfo1155 at aol.com) Date: Fri Feb 28 14:36:00 2003 Subject: Password Protect a stack Message-ID: <66.2f281aef.2b911314@aol.com> I would like to password protect a stack the same way we can in hypercard. Can someone help with the necessary scripts. Jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacque at hyperactivesw.com Fri Feb 28 16:15:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Feb 28 16:15:01 2003 Subject: playing sounds In-Reply-To: References: Message-ID: <3E5FD06F.1060906@hyperactivesw.com> On 2/28/03 12:46 PM, Marty Billingsley wrote: > A recent convert from HyperCard asks: > How do I mimic HyperCard's play command in Revolution? > > Specifically, how do I go about making the following HC command work: > play "harpsichord" C4q > which plays middle C for a quarter note with a harpsichord sound. This isn't supported natively. But hang on -- by tonight or tomorrow I will have a solution for everyone who has been asking for this feature. Stay tuned. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alrice at ARCplanning.com Fri Feb 28 16:32:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Feb 28 16:32:01 2003 Subject: ugh. WinXP background color In-Reply-To: Message-ID: <8ADEAA54-4B63-11D7-84B9-000393529642@ARCplanning.com> On Thursday, January 9, 2003, at 02:36 AM, Chipp Walters wrote: > > http://www.altuit.com/webs/altuit2/RunRev/UsefulScripts.htm > entitled "Fixing XP default background color" > Here is the aforementioned workaround: if word 1 of the systemVersion is "NT" and word 2 of the systemVersion > 5 then put queryRegistry("HKEY_CURRENT_USER\Control Panel\Colors\MenuBar") into tColor if tColor <> "" then put word 1 of tColor,word 2 of tColor,word 3 of tColor into tColor set the backgroundColor of this stack to tColor end if end if I am using this workaround. It works fine in the IDE, but in my standalone it does not. I am getting 236,233,216 from the registry and setting to into the backgroundColor. In the IDE it's a tan color, and in the standalone, as soon as the background color is set, my app goes all *black* (everything that inherits background color, like all controls). I have to do something because my standalone which looks beautiful on Windows 2000 looks poorly on WinXP because all the controls are white, and on a white background that looks really stupid. Any suggestions? Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From alrice at ARCplanning.com Fri Feb 28 17:08:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Feb 28 17:08:01 2003 Subject: ugh. WinXP background color In-Reply-To: <8ADEAA54-4B63-11D7-84B9-000393529642@ARCplanning.com> Message-ID: <87EDE890-4B68-11D7-84B9-000393529642@ARCplanning.com> On Friday, February 28, 2003, at 02:28 PM, Alex Rice wrote: > if word 1 of the systemVersion is "NT" and word 2 of the systemVersion > > 5 then > put queryRegistry("HKEY_CURRENT_USER\Control Panel\Colors\MenuBar") > into tColor > if tColor <> "" then > put word 1 of tColor,word 2 of tColor,word 3 of tColor into tColor > set the backgroundColor of this stack to tColor > end if > end if I just discovered that if I put the above code into preOpenStack instead of startup handler, it works as intended. Bizarre! Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com