From jperryl at ecs.fullerton.edu Thu Oct 1 00:17:49 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 30 Sep 2009 21:17:49 -0700 (PDT) Subject: {OT] I went for awalk this morning. In-Reply-To: <4AC331B4.30506@gmail.com> References: <4AC315BF.20502@gmail.com> <4AC331B4.30506@gmail.com> Message-ID: One of our dogs would do likewise behind our Power Computing clone... Judy On Wed, 30 Sep 2009, Richmond Mathewson wrote: > [Joking apart; recently my older son found a starving kitten by > the bus-stop, and she is now an extremely well-fed member of > our household, but she seems to think that the best place to go > to the loo is right behind my G4 Mac, so, strangely enough, I > have cleaned behind there 6 six time in as many weeks.] From sarah.reichelt at gmail.com Thu Oct 1 00:39:49 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 1 Oct 2009 14:39:49 +1000 Subject: {OT] I went for awalk this morning. In-Reply-To: References: <4AC315BF.20502@gmail.com> <4AC331B4.30506@gmail.com> Message-ID: I can beat that. At work we had a possum that used to break in every night & use the fax machine for that purpose. The machine stopped working after a while.... Sarah On Thu, Oct 1, 2009 at 2:17 PM, Judy Perry wrote: > One of our dogs would do likewise behind our Power Computing clone... > > Judy > > On Wed, 30 Sep 2009, Richmond Mathewson wrote: > >> [Joking apart; recently my older son found a starving kitten by >> the bus-stop, and she is now an extremely well-fed member of >> our household, but she seems to think that the best place to go >> to the loo is right behind my G4 Mac, so, strangely enough, I >> have cleaned behind there 6 six time in as many weeks.] > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jim at visitrieve.com Thu Oct 1 00:55:22 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Wed, 30 Sep 2009 18:55:22 -1000 Subject: Revolution on 65 Bit Windows In-Reply-To: References: Message-ID: <000c01ca4253$6242e370$26c8aa50$@com> Stewart Lynch wrote: > I don't know if this has been answered before, but I need to know if > you > can run a compiled Revolution application on a 64 bit Windows machine > running either Windows Vista or Windows Server 2008? > > I am out of town and do not have access to my test machines with these > OSs > installed. I cannot say from personal experience but from: http://windowshelp.microsoft.com/Windows/en-US/help/41531554-d5ef-4f2c-8fb9- 149bdc5c8a701033.mspx#EDH Can I run 32-bit programs on a 64-bit computer? Most programs designed for a computer running a 32-bit version of Windows will work on a computer running 64-bit versions of Windows. Notable exceptions are many antivirus programs, and some hardware drivers. Drivers designed for 32-bit versions of Windows do not work on computers running a 64-bit version of Windows. If you're trying to install a printer or other device that only has 32-bit drivers available, it won't work correctly on a 64-bit version of Windows. If you are unsure whether there is a 64-bit driver available for your device, go online to the Windows Vista Compatibility Center. Aloha from Hawaii, Jim Bufalini From richmondmathewson at gmail.com Thu Oct 1 03:13:26 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 01 Oct 2009 10:13:26 +0300 Subject: Revolution on 65 Bit Windows In-Reply-To: <000c01ca4253$6242e370$26c8aa50$@com> References: <000c01ca4253$6242e370$26c8aa50$@com> Message-ID: <4AC45696.4080408@gmail.com> I'm sorry, but this is just impossible to resist: '65 Bit Windows'; as we used to say in Britain; 'Bent as a nine-bob note' :) Cultural Contextualisation: before they ruined our currency by decimalisation a pound consisted of 20 shillings (or BOB) and there was a 10 shilling note (brown as far as I remember). From lan.kc.macmail at gmail.com Thu Oct 1 03:27:10 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 1 Oct 2009 15:27:10 +0800 Subject: {OT] I went for awalk this morning. In-Reply-To: References: <4AC315BF.20502@gmail.com> <4AC331B4.30506@gmail.com> Message-ID: On Thu, Oct 1, 2009 at 12:39 PM, Sarah Reichelt wrote: > I can beat that. At work we had a possum that used to break in every > night & use the fax machine for that purpose. > You sure it wasn't trying to determine that it wasn't simply a facsimile of the North American opossum? From janschenkel at yahoo.com Thu Oct 1 05:29:56 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 1 Oct 2009 02:29:56 -0700 (PDT) Subject: [REQUEST] Blogs about Revolution In-Reply-To: <7c87a2a10909301026t3bab91c0y635a19f371e112f@mail.gmail.com> Message-ID: <792645.21990.qm@web65404.mail.ac4.yahoo.com> Occasionally I add entries advocating Revolution on Jan Schenkel ===== Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) --- On Wed, 9/30/09, Andre Garzia wrote: > From: Andre Garzia > Subject: [REQUEST] Blogs about Revolution > To: "How to use Revolution" , "Improvements to Revolution" > Date: Wednesday, September 30, 2009, 10:26 AM > Hi Folks, > I am collecting blogs about Revolution, my idea is to > quickly create a > "planet" web site like Planet Lisp < http://planet.lisp.org > and Planet > Scheme < http://scheme.dk/planet >. So if you guys and gals > could answer > this email with your blog address, it would be cool. > > Cheers > andre > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at architex.tv Thu Oct 1 05:56:10 2009 From: david at architex.tv (David Bovill) Date: Thu, 1 Oct 2009 10:56:10 +0100 Subject: Smoothing a curve: bezier curves, b-splines and Alejandro's PenTool Script Message-ID: I'm looking for a handler to smooth out rev graphic curves - you fetch the points and you interpolate a vaiable number of in between values. I've lost the script I had to do that, and worse I've forgotten how :) The aim is to create a general handler like" getprop graphic_SmoothedPoints [someParams] > return the bezier/b-spline smoothed out list of points of a rev based > curve > end SmoothedPoints > *Quick Research and Links* I pretty much learnt everything I know about bezier curves from looking at Alejandro's fab work on eps, Adobe Illustrator import, and bezier curves (see below). What I am looking for however is not an editor, but a way to automatically smooth a curve based on a few parameters. I 'think" from looking at the code and online references the bezier curve part interpolates between 2 points based on a couple of vectors. Alejandro's work represent this as a list of 4 points: x1,y1,xa,ya,xb,yb,x2,y2 which I believe equate to the 4 points P1,P2,P3,P4 describd here - http://en.wikipedia.org/wiki/B?zier_curve stores this additional information along side each point in a rev graphic curve: in the format c,C,y,Y,v,V - where I think these values represent "vertex", and "control", and "colineal handles" for each point. At this point I get a little lost - so I'm hoping for some input :) *Splines* It looks to me that to include the information regarding a series of points you need to looks at splines, and maybe an algorithm like De Boor's? I certainly never went that far and got reasonable results with something a lot simpler. Any suggestions? 2006/11/14 Alejandro Tejada > Hi All, > > Download the Stack "New PenTool Script" from: > http://geocities.com/capellan2000/newPentoolScript.zip > From david at vaudevillecourt.tv Thu Oct 1 09:33:51 2009 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 1 Oct 2009 14:33:51 +0100 Subject: Graphic text and border colour Message-ID: Is there a workaround to give the border of a graphic shape a colour which is different to the colour of it's text label? Or is the only way to position a text field over the graphic? From andre at andregarzia.com Thu Oct 1 09:35:44 2009 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 1 Oct 2009 10:35:44 -0300 Subject: {OT] I went for awalk this morning. In-Reply-To: References: <4AC315BF.20502@gmail.com> <4AC331B4.30506@gmail.com> Message-ID: <7c87a2a10910010635j280d2562kdca68eaa8afe350e@mail.gmail.com> ants tried to nest on my iBook... a gang of 4 monkeys tried to steal my guitar amp... I rest my case. Silly tropical country... On Thu, Oct 1, 2009 at 1:39 AM, Sarah Reichelt wrote: > I can beat that. At work we had a possum that used to break in every > night & use the fax machine for that purpose. > The machine stopped working after a while.... > > Sarah > > > > On Thu, Oct 1, 2009 at 2:17 PM, Judy Perry > wrote: > > One of our dogs would do likewise behind our Power Computing clone... > > > > Judy > > > > On Wed, 30 Sep 2009, Richmond Mathewson wrote: > > > >> [Joking apart; recently my older son found a starving kitten by > >> the bus-stop, and she is now an extremely well-fed member of > >> our household, but she seems to think that the best place to go > >> to the loo is right behind my G4 Mac, so, strangely enough, I > >> have cleaned behind there 6 six time in as many weeks.] > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From richmondmathewson at gmail.com Thu Oct 1 10:40:17 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 01 Oct 2009 17:40:17 +0300 Subject: Graphic text and border colour In-Reply-To: References: Message-ID: <4AC4BF51.4020900@gmail.com> David Bovill wrote: > Is there a workaround to give the border of a graphic shape a colour which > is different to the colour of it's text label? Or is the only way to > position a text field over the graphic? > _______________________________________________ > That's bl**dy silly really! Obviously the possibility to have a different coloured border to text is a fairly basic requirement. It appears that borderColor and textColor are both synonyms for fourthColor; by, disingenuously, the Documentation doesn't mention that boiderColor is a synonym for textColor directly. Better get on the "blaster" to the good folks in Edinburgh pronto! From Warren.Kuhl at NorthernTool.com Thu Oct 1 11:00:53 2009 From: Warren.Kuhl at NorthernTool.com (Warren.Kuhl at NorthernTool.com) Date: Thu, 1 Oct 2009 10:00:53 -0500 Subject: AUTO: Warren Kuhl is out of the office. (returning 10/05/2009) Message-ID: I am out of the office until 10/05/2009. If you need an immediate reponse for any EDI issues, please contact EDI Support at 952-808-6626. Note: This is an automated response to your message "use-revolution Digest, Vol 73, Issue 1" sent on 10/1/09 8:33:56. This is the only notification you will receive while this person is away. From richmondmathewson at gmail.com Thu Oct 1 11:04:33 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 01 Oct 2009 18:04:33 +0300 Subject: {OT] I went for awalk this morning. In-Reply-To: <7c87a2a10910010635j280d2562kdca68eaa8afe350e@mail.gmail.com> References: <4AC315BF.20502@gmail.com> <4AC331B4.30506@gmail.com> <7c87a2a10910010635j280d2562kdca68eaa8afe350e@mail.gmail.com> Message-ID: <4AC4C501.8060100@gmail.com> Andre Garzia wrote: > ants tried to nest on my iBook... a gang of 4 monkeys tried to steal my > guitar amp... > I rest my case. Silly tropical country... > > In the UAE I had termites that had lined the inside of a G3 (one of the beige lateral boxes) that had had a G4 processor bunged into it; while I was away in Europe they had chewed their way through 'Recherche de la verite' of Nicholas Malebranche (obviously looking for something) and taken the mulch to build a happy home inside the G3/4. On starting up the computer there was an entertaining pop and a slight smell of singed cardboard. The computer got thrown outside between a cactus and a palm, where, for all I know, the termire colony may still make their home. Interestingly enough, when I opened the machine there were also several dessicated corpses of cockroaches embedded in the 'cardboard' lining: whether they had been there before the termites or got dragged in there as lunch I really couldn't say. I was able to extract the hard disk without doing it any obvious harm and leaving the cockroaches in peace; it (the disk) is currently doing sterling service in my P4 Ubuntu box. I balked at the idea of buying a seconf copy of 'Recherche de la verite' and cheated by buying the Lennon and Olscamp translation: http://www.amazon.co.uk/Malebranche-Elucidations-Cambridge-History-Philosophy/dp/0521589959/ref=sr_1_1?ie=UTF8&s=books&qid=1254409401&sr=8-1 and that served me, on the second read through, to show me just exactly how bad my grasp of French is. From richmondmathewson at gmail.com Thu Oct 1 11:58:15 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 01 Oct 2009 18:58:15 +0300 Subject: Graphic text and border colour In-Reply-To: References: Message-ID: <4AC4D197.4010806@gmail.com> David Bovill wrote: > Is there a workaround to give the border of a graphic shape a colour which > is different to the colour of it's text label? Or is the only way to > position a text field over the graphic? > _______________________________________________ I wrote: "That's bl**dy silly really! Obviously the possibility to have a different coloured border to text is a fairly basic requirement. It appears that borderColor and textColor are both synonyms for fourthColor; by, disingenuously, the Documentation doesn't mention that boiderColor is a synonym for textColor directly. Better get on the "blaster" to the good folks in Edinburgh pronto! " --------------------------------------------------------------------------------------- And, having been downstairs to check the tortoise and bury the vegetable compost in the garden it has occurred to me that the reason why borderColor and textColor have not been separated is for the same reason that the Preference palette does not bring up a place to set the Label and the showName of a Graphic Object: They never conceived of people wanting to use Graphic Objects as fake buttons! So, the WANTS LIST for RR 4.0.1: 1. Separate borderColor from textColor. 2. Sort out the Preferences palette so that LABEL and SHOWNAME are available for ALL objects. [ Hey, here's a thought: Let's add to the WANTS LIST over the next few weeks/months/years so that RunRev get so cheesed-off they go and implement the things. ] From francois.chaplais at mines-paristech.fr Thu Oct 1 12:02:07 2009 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 1 Oct 2009 18:02:07 +0200 Subject: Smoothing a curve: bezier curves, b-splines and Alejandro's PenTool Script In-Reply-To: References: Message-ID: <5ED46FBC-A3DC-4F3E-87D4-A488C6D057CC@mines-paristech.fr> Le 1 oct. 09 ? 11:56, David Bovill a ?crit : > I'm looking for a handler to smooth out rev graphic curves - you > fetch the > points and you interpolate a vaiable number of in between values. > I've lost > the script I had to do that, and worse I've forgotten how :) The > aim is to > create a general handler like" > I cannot answer this problem with a script, but here are the maths behind it 1) you select a vector space of function (polynomials, for instance: polynomials are linear combinations of monomials t^k). These functions are expressed as a linear combination of elementary functions, whose value you can easily compute *at any point* 2) you use a family of *linear* operators which are well defined over this functional space. For instance, instant value, instant differentiations are linear operators which are well defined for polynomials. [average value also, I have used this for some algorithms] 3) you set the generalized *interpolation* problem: for a given set of points, you wish that your linear operators (instant value, derivative, etc...) take some desired values. It turns out that the solution to problem (3) is the solution of *finite dimensional* linear system. Let us consider bezier curves. To simplify, we assume that the vertical coordinate is a function of the horizontal coordinate. The vector space for Bezier curves is the space of polynomials of degree smaller or equal to 3: they are described by 4 parameters. Now, what you specify to the bezier curve is: a) the value and derivative at the left end point b) the value and derivative at the right end point This is a set of 4 linear equations with 4 unknowns. It has the form Ax = b where b is the vector of specifications, x the unknown value of your function parameters (the coefficients of the monomials) and A is a matrix which only depends of the end points. If the distance between the endpoints is constant, A does not depend on the endpoints. A is" easily" computable. The drawing of the Bezier curves boils down to this: 1) you compute the matrix A 2) you invert it 3) the parameters x of the unknown cubic polynomials are given by x =A^(-1)b 4) once your know the cubic polynomial, you can compute its value at any point [the operation is referred as interpolation] HTH Fran?ois P.S I have de Boor's book, it is unreadable. From barryb at libero.it Thu Oct 1 12:23:26 2009 From: barryb at libero.it (barryb at libero.it) Date: Thu, 1 Oct 2009 18:23:26 +0200 (CEST) Subject: problems with disinstalling REV Message-ID: <16577737.3679691254414206609.JavaMail.root@wmail50> Thank you Mark for your rapid and clear suggestions, I will tackle it that way. Also thanks for tacitly correcting my English. ;-[ Barry ---------------------- Wed, 30 Sep 2009 20:04:05 +0200 Mark Schonewille wrote: >You're right, the uninstaller is broken and even if you get it to >work, it won't work properly. Just forget about it. >It is save to remove the software manually in XP. Just move Revolution >to the trash and re-install. You can even manually remove any >shortcuts from the Start menu. This shouldn't cause any problems. The >only component that isn't fully obvious is the Techsmith dll. You >should be able to find this somewhewre in the Windows folder or in a >QuickTime plugins folder, but I don't think there is a reason why one >might want to remove it. >Mark Schonewille From niggemann at uni-wh.de Thu Oct 1 12:43:28 2009 From: niggemann at uni-wh.de (BNig) Date: Thu, 1 Oct 2009 09:43:28 -0700 (PDT) Subject: Q: Can I use only a part of an Image File and do stuff with it ? In-Reply-To: <2C865BFC-580B-4760-8323-393C5C250A0B@id.uzh.ch> References: <2C865BFC-580B-4760-8323-393C5C250A0B@id.uzh.ch> Message-ID: <25701579.post@talk.nabble.com> Rolf, there are already some suggestions to your question which are probably very usable. I just played around with the idea to extract your slices from the imagedata of the original. Here is the code works also if the width the original image is not an even multiple of the width of the slices . It than adds a slice. The sliced image is placed above the original image. please beware of linewrapping ------------------------------------------- on mouseUp put 10 into tNoOfImages -- change the number of 'slices' here put the imagedata of image "myLongImage" into iD put the length of iD into tLengthImageData put the height of img "myLongImage" into tHeight put the width of img "myLongImage" into tWidth put tWidth* 4 into tByteWidth put tWidth div tNoOfImages * 4 into tChunkSizeinBytes put tWidth div tNoOfImages into tNormalImageWidth set the width of the templateimage to tWidth div tNoOfImages set the height of the templateimage to tHeight set the top of the templateimage to the top of image "myLongImage" -tHeight - 20 set the left of the templateimage to the left of image "myLongImage" put 1 into tStartChar put "" into tCollect -- check if width of original is an even multiple of the 'slices', if not -- add an image for the rest of the original image put tWidth mod tNoOfImages into tRest if tRest <> 0 then put true into tHasARest add 1 to tNoOfImages end if lock screen repeat with i = 1 to tNoOfImages repeat with j = tStartChar to tLengthImageData step tByteWidth put char j to j + tChunkSizeInBytes-1 of id after tCollect end repeat create image set the name of last image to "i" & i -- change name of new images here set the imageData of last image to tCollect -- check for additional image in case width is not an even multiple of 'slice' if not (tHasARest and i = (tNoOfImages - 1)) then -- no additional image set the left of the templateImage to the left of the templateImage + tNormalImageWidth else -- additional image (will be last image) of a different width put tRest * 4 into tChunkSizeInBytes -- a little workaround because changing width changes the left put the left of the templateImage into tLeftBeforeChangeOfWidth set the width of the templateimage to tRest set the left of the templateImage to ( tLeftBeforeChangeOfWidth + tNormalImageWidth) end if add tChunkSizeInBytes to tStartChar put empty into tCollect end repeat end mouseUp -------------------------------------- regards Bernd Rolf Kocherhans wrote: > > For instance I have an imported Image file (png) 10 pixels high and > 100 pixels long. > > From pixel 1 to 10 ist Picture_one, from pixel 11 to 20 is Picture > _two etc. > > Can I the display those 2 respectively 10 pictures individually ? > > Cheers > Rolf > -- View this message in context: http://www.nabble.com/Q%3A-Can-I-use-only-a-part-of-an-Image-File-and-do-stuff-with-it---tp25682504p25701579.html Sent from the Revolution - User mailing list archive at Nabble.com. From Ray at LinkIt.Com Thu Oct 1 15:46:18 2009 From: Ray at LinkIt.Com (Ray Horsley) Date: Thu, 1 Oct 2009 12:46:18 -0700 Subject: Altering Script Editor's Keyboard Shortcuts In-Reply-To: <16577737.3679691254414206609.JavaMail.root@wmail50> References: <16577737.3679691254414206609.JavaMail.root@wmail50> Message-ID: <2E4F071E-4D66-40BC-AC90-BAA32CE4DAA8@LinkIt.Com> Anybody know of an easy way to change the keyboard shortcuts in the script editor window? I spend a lot of time stepping through scripts and command-O is kind of awkward (to me anyway). Thanks, Ray Horsley LinkIt! Software From david.bovill at gmail.com Thu Oct 1 14:02:07 2009 From: david.bovill at gmail.com (David Bovill) Date: Thu, 1 Oct 2009 19:02:07 +0100 Subject: Graphic text and border colour In-Reply-To: <4AC4D197.4010806@gmail.com> References: <4AC4D197.4010806@gmail.com> Message-ID: 2009/10/1 Richmond Mathewson > David Bovill wrote: > >> Is there a workaround to give the border of a graphic shape a colour which >> is different to the colour of it's text label? Or is the only way to >> position a text field over the graphic? >> _______________________________________________ >> > > They never conceived of people wanting to use Graphic Objects > as fake buttons! I'm just graphing networks - and the graphs have the ability to have the text formatted independently of the border. It's a bit strange as there are all these other colour options available which - well not even sure what they are really needed for :( From david.bovill at gmail.com Thu Oct 1 14:19:10 2009 From: david.bovill at gmail.com (David Bovill) Date: Thu, 1 Oct 2009 19:19:10 +0100 Subject: Smoothing a curve: bezier curves, b-splines and Alejandro's PenTool Script In-Reply-To: <5ED46FBC-A3DC-4F3E-87D4-A488C6D057CC@mines-paristech.fr> References: <5ED46FBC-A3DC-4F3E-87D4-A488C6D057CC@mines-paristech.fr> Message-ID: Thanks for response - did make me smile! 2009/10/1 Fran?ois Chaplais > > The drawing of the Bezier curves boils down to this: > 1) you compute the matrix A > 2) you invert it > 3) the parameters x of the unknown cubic polynomials are given by x > =A^(-1)b > 4) once your know the cubic polynomial, you can compute its value at any > point [the operation is referred as interpolation] > > HTH > > Fran?ois > > P.S I have de Boor's book, it is unreadable > Maybe someone can suggest a hack :) I'm thinking something along the lines of calculating the bezier curves for each pair of points along the curve: this is the function I have courtesy Alejandro: function graph_BezierLine listOfPoints, zdt > put item 1 of listOfPoints into x1 > put item 2 of listOfPoints into y1 > put item 3 of listOfPoints into xa > put item 4 of listOfPoints into ya > put item 5 of listOfPoints into xb > put item 6 of listOfPoints into yb > put item 7 of listOfPoints into x2 > put item 8 of listOfPoints into y2 > put 0 into v1 > > if zdt is empty then put 32 into zdt > repeat with i = 1 TO zdt -- zdt is a integer number like 32 > put i * 1/zdt into v1 > put 1 - v1 into v2 > put (x1 * (v2 * v2 * v2) + (3 * xa * v1 * v2 * v2) + (3 * xb * v1 * > v1 * v2) + (x2 * (v1 ^ 3))) into x > put (y1 * (v2 * v2 * v2) + (3 * ya * v1 * v2 * v2) + (3 * yb * v1 * > v1 * v2) + (y2 * (v1 ^ 3))) into y > if (x div 1 & "," & y div 1) <> last line of variablezxc then put (x > div 1 & "," & y div 1) & CR after variablezxc > end repeat > > -- if x1,y1 <> first line of variablezxc then put x1,y1 & return before > variablezxc > if x2,y2 <> last line of variablezxc then put x2,y2 & CR after > variablezxc > put x1,y1 & CR before variablezxc > -- put x2,y2 & CR after variablezxc > return variablezxc > end graph_BezierLine > Then doing something like working out the perpendicular to the curve at each point.... hmmmm think it would be a nice little utility handler to have? From niggemann at uni-wh.de Thu Oct 1 14:59:17 2009 From: niggemann at uni-wh.de (BNig) Date: Thu, 1 Oct 2009 11:59:17 -0700 (PDT) Subject: Graphic text and border colour In-Reply-To: References: <4AC4D197.4010806@gmail.com> Message-ID: <25704709.post@talk.nabble.com> David, if you can live with black text than you can change the bordercolor by setting the strokegradient -------------------------- on mouseUp put "0.0,255,0,0" & return & "1,255,0,0" into myRamp -- make it all red set the strokegradient["ramp"] of graphic 1 to myRamp put the loc of graphic 1 into tLoc set the strokegradient["from"] of graphic 1 to tLoc set the strokegradient["to"] of graphic 1 to item 1 of tLoc & "," & the bottom of grc 1 set the strokegradient["via"] of graphic 1 to the left of grc 1 & "," & item 2 of tLoc set the strokegradient["type"] of graphic 1 to "radial" end mouseUp ----------------------- this works with all the graphics, admittedly it is a bit awkward. regards Bernd David Bovill-3 wrote: > > 2009/10/1 Richmond Mathewson > >> David Bovill wrote: >> >>> Is there a workaround to give the border of a graphic shape a colour >>> which >>> is different to the colour of it's text label? Or is the only way to >>> position a text field over the graphic? >>> _______________________________________________ >>> >> >> They never conceived of people wanting to use Graphic Objects >> as fake buttons! > > > I'm just graphing networks - and the graphs have the ability to have the > text formatted independently of the border. It's a bit strange as there > are > all these other colour options available which - well not even sure what > they are really needed for :( > -- View this message in context: http://www.nabble.com/Graphic-text-and-border-colour-tp25699014p25704709.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Thu Oct 1 15:01:03 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 01 Oct 2009 14:01:03 -0500 Subject: problems with disinstalling REV In-Reply-To: <3728363.3586241254332370251.JavaMail.root@wmail18> References: <3728363.3586241254332370251.JavaMail.root@wmail18> Message-ID: <4AC4FC6F.5040205@hyperactivesw.com> barryb at libero.it wrote: > Wait for it....there is NO 'Next' button > only a 'Quit'! This, of course, I will notify to QAC but has anybody an idea of > how I can proceed in the meantime? For the record, to uninstall Revolution manually, move these folders to the recycle bin (or the trash, on Mac): XP: The Revolution program folder in Program Files. The My Revolution Studio folder in My Documents. The "Runtime Revolution" folder in Documents and Settings\\Application Data folder. The "._Revolution_" folder in Documents and Settings\\Local Settings\Application Data Vista: The Revolution program folder in Program Files. The My Revolution Studio folder in Documents. The "Runtime Revolution" folder in Documents and Settings\\AppData\Roaming folder. The "._Revolution_" folder in Documents and Settings\\AppData\Local Mac OS X: The Revolution program folder in Applications. The My Revolution folder in Documents. The Runtime Revolution preferences folder in ~/Library/Preferences/Runtime Revolution There was a ._Revolution folder on OS X as well but I can no longer find it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at yahoo.com Thu Oct 1 15:13:29 2009 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 1 Oct 2009 12:13:29 -0700 (PDT) Subject: Smoothing a curve: bezier curves, b-splines and Alejandro's PenTool Script In-Reply-To: <20091001170005.9D3CC48A9F2@mail.runrev.com> Message-ID: <502580.80175.qm@web111410.mail.gq1.yahoo.com> Hi David, Check these messages threads. Probably there is some useful information here: http://www.rhinocerus.net/forum/lang-postscript/130759-postscript-code-bezier-curve-fitting.html http://lists.runrev.com/pipermail/use-revolution/2006-November/090463.html http://www.nabble.com/A-Postscript-algorithm-for-bezier-curve-fitting-td7531914.html Actually, i was not able to port the postscript code to revtalk, but surely you had the math skills do it. :-) alejandro From richmondmathewson at gmail.com Thu Oct 1 16:25:53 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 01 Oct 2009 23:25:53 +0300 Subject: [OT] Rubber Chicken Message-ID: <4AC51051.7060907@gmail.com> Came across this by accident: http://newserver.runrev.com/home/error From revdev at pdslabs.net Thu Oct 1 16:28:29 2009 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 01 Oct 2009 13:28:29 -0700 Subject: Q: Can I use only a part of an Image File and do stuff with it ? In-Reply-To: <2C865BFC-580B-4760-8323-393C5C250A0B@id.uzh.ch> References: <2C865BFC-580B-4760-8323-393C5C250A0B@id.uzh.ch> Message-ID: <4AC510ED.8060907@pdslabs.net> Hi Rolf, Here's another solution (I needed to unwind before getting back to work). I made a stack, imported an image and made its height 1/10 of its width. Then I created a button and gave it the following script. Click the button and *poof* it works. This only handles 'the imageData' of the image, so screen resolution is the true resolution of the new images. Hope this helps - Phil Davis on mouseUp if (width of img 1) mod 10 <> 0 then answer "Bad image width (not evenly divisible by 10)." exit to top end if put (width of img 1) / 10 into tFramePixelWidth put tFramePixelWidth * 4 into tFrameByteWidth -- 4 bytes per pixel -- split image data into 10 frames put the imageData of img 1 into tImageData repeat with H = 1 to the height of img 1 -- for each line of pixels repeat with W = 1 to 10 -- for each frame segment per line put byte 1 to tFrameByteWidth of tImageData after tData[W] delete byte 1 to tFrameByteWidth of tImageData end repeat end repeat -- create 10 image objects and load them with data put "-50,220,50,320" into tRect repeat with x = 1 to 10 add tFramePixelWidth to item 1 of tRect add tFramePixelWidth to item 3 of tRect set the rect of the templateImage to tRect create image set the imageData of last image to tData[x] end repeat end mouseUp Rolf Kocherhans wrote: > For instance I have an imported Image file (png) 10 pixels high and > 100 pixels long. > > From pixel 1 to 10 ist Picture_one, from pixel 11 to 20 is Picture > _two etc. > > Can I the display those 2 respectively 10 pictures individually ? > > Cheers > Rolf -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From jiml at netrin.com Thu Oct 1 17:23:11 2009 From: jiml at netrin.com (Jim Lambert) Date: Thu, 1 Oct 2009 14:23:11 -0700 Subject: Q: Can I use only a part of an Image File and do stuff with it ? In-Reply-To: References: <20090930160549.0BF8648AE46@mail.runrev.com> Message-ID: And here's the code: http://netrin.on-rev.com/animateimage/animateimage.html Jim Lambert On Sep 30, 2009, at 11:29 AM, Jim Lambert wrote: >> >> Date: Wed, 30 Sep 2009 18:13:05 +0300 >> From: Richmond Mathewson >> Subject: Re: Q: Can I use only a part of an Image File and do stuff >> with it ? >> To: How to use Revolution >> Message-ID: <4AC37581.1020105 at gmail.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Rolf Kocherhans wrote: >>> For instance I have an imported Image file (png) 10 pixels high and >>> 100 pixels long. >>> >>> From pixel 1 to 10 ist Picture_one, from pixel 11 to 20 is Picture >>> _two etc. >>> >>> Can I the display those 2 respectively 10 pictures individually ? >>> >>> Cheers >>> Rolf >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> If you look up 'pixel' in the Documentation you will find that this >> cannot be done. >> >> However, you could chop up your image by importing snapshots of >> parts of it: >> >> on mouseUp >> import snapshot from rectangle 0,0,300,454 of img "iXYZ" >> move the last img to 512, 600 >> delete img "iXYZ" >> end mouseUp > > > You can also > Select the Image > Group it > Crop the group so that it shows only one of your sub images. > In your example, that means you crop the group so that only pixels > 1 thru 10 show. > LOCK the group's size and position > Change the location of the image > In your example, that would mean subtracting 10 from the image's > LEFT. > Each time you do that this would have the effect of stepping > through the 'frames' of your 'movie'. > Do it rapidly and you can make a kind of animation from a single > image. > > > Jim Lambert From revdev at pdslabs.net Thu Oct 1 17:57:12 2009 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 01 Oct 2009 14:57:12 -0700 Subject: Q: Can I use only a part of an Image File and do stuff with it ? In-Reply-To: References: <20090930160549.0BF8648AE46@mail.runrev.com> Message-ID: <4AC525B8.9030807@pdslabs.net> Nice, Jim! I see I misunderstood the goal in my post. Oh well. Phil Davis Jim Lambert wrote: > And here's the code: > > http://netrin.on-rev.com/animateimage/animateimage.html > > Jim Lambert > > > On Sep 30, 2009, at 11:29 AM, Jim Lambert wrote: > >>> >>> Date: Wed, 30 Sep 2009 18:13:05 +0300 >>> From: Richmond Mathewson >>> Subject: Re: Q: Can I use only a part of an Image File and do stuff >>> with it ? >>> To: How to use Revolution >>> Message-ID: <4AC37581.1020105 at gmail.com> >>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >>> >>> Rolf Kocherhans wrote: >>>> For instance I have an imported Image file (png) 10 pixels high and >>>> 100 pixels long. >>>> >>>> From pixel 1 to 10 ist Picture_one, from pixel 11 to 20 is Picture >>>> _two etc. >>>> >>>> Can I the display those 2 respectively 10 pictures individually ? >>>> >>>> Cheers >>>> Rolf >>>> >>> If you look up 'pixel' in the Documentation you will find that this >>> cannot be done. >>> >>> However, you could chop up your image by importing snapshots of >>> parts of it: >>> >>> on mouseUp >>> import snapshot from rectangle 0,0,300,454 of img "iXYZ" >>> move the last img to 512, 600 >>> delete img "iXYZ" >>> end mouseUp >> >> >> You can also >> Select the Image >> Group it >> Crop the group so that it shows only one of your sub images. >> In your example, that means you crop the group so that only >> pixels 1 thru 10 show. >> LOCK the group's size and position >> Change the location of the image >> In your example, that would mean subtracting 10 from the >> image's LEFT. >> Each time you do that this would have the effect of stepping >> through the 'frames' of your 'movie'. >> Do it rapidly and you can make a kind of animation from a >> single image. >> >> >> Jim Lambert -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From david at architex.tv Thu Oct 1 18:56:34 2009 From: david at architex.tv (David Bovill) Date: Thu, 1 Oct 2009 23:56:34 +0100 Subject: Graphic text and border colour In-Reply-To: <25704709.post@talk.nabble.com> References: <4AC4D197.4010806@gmail.com> <25704709.post@talk.nabble.com> Message-ID: Good hack - thanks! 2009/10/1 BNig > > David, > > if you can live with black text than you can change the bordercolor by > setting the strokegradient > -------------------------- > on mouseUp > put "0.0,255,0,0" & return & "1,255,0,0" into myRamp -- make it all red > set the strokegradient["ramp"] of graphic 1 to myRamp > put the loc of graphic 1 into tLoc > set the strokegradient["from"] of graphic 1 to tLoc > set the strokegradient["to"] of graphic 1 to item 1 of tLoc & "," & the > bottom of grc 1 > set the strokegradient["via"] of graphic 1 to the left of grc 1 & "," & > item 2 of tLoc > set the strokegradient["type"] of graphic 1 to "radial" > end mouseUp > ----------------------- > > this works with all the graphics, admittedly it is a bit awkward. > > regards > Bernd > > > David Bovill-3 wrote: > > > > 2009/10/1 Richmond Mathewson > > > >> David Bovill wrote: > >> > >>> Is there a workaround to give the border of a graphic shape a colour > >>> which > >>> is different to the colour of it's text label? Or is the only way to > >>> position a text field over the graphic? > >>> _______________________________________________ > >>> > >> > >> They never conceived of people wanting to use Graphic Objects > >> as fake buttons! > > > > > > I'm just graphing networks - and the graphs have the ability to have the > > text formatted independently of the border. It's a bit strange as there > > are > > all these other colour options available which - well not even sure what > > they are really needed for :( > > > > -- > View this message in context: > http://www.nabble.com/Graphic-text-and-border-colour-tp25699014p25704709.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Thu Oct 1 20:48:16 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 2 Oct 2009 08:48:16 +0800 Subject: [OT] Rubber Chicken In-Reply-To: <4AC51051.7060907@gmail.com> References: <4AC51051.7060907@gmail.com> Message-ID: Ah, if Wylie Coyote had only had a Mac;-) From capellan2000 at yahoo.com Fri Oct 2 07:53:00 2009 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 2 Oct 2009 04:53:00 -0700 (PDT) Subject: Smoothing a curve: bezier curves, b-splines and Alejandro's PenTool Script In-Reply-To: <20091001170005.9D3CC48A9F2@mail.runrev.com> References: <20091001170005.9D3CC48A9F2@mail.runrev.com> Message-ID: <133850.27386.qm@web111413.mail.gq1.yahoo.com> Alejandro Tejada wrote: > Actually, i was not able to port the postscript code to revtalk, > but surely you had the math skills do it. :-) Last line should be: you had the math skills to do it. :-) David, i still hope that, later along the road, RunRev add directly to the engine, svg properties to vector graphics and create functions to transform them. Have a nice day! alejandro From capellan2000 at yahoo.com Fri Oct 2 08:04:58 2009 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 2 Oct 2009 05:04:58 -0700 (PDT) Subject: Looking for a portable Linux version of revMedia 4 In-Reply-To: <20091001170005.9D3CC48A9F2@mail.runrev.com> References: <20091001170005.9D3CC48A9F2@mail.runrev.com> Message-ID: <161021.32807.qm@web111413.mail.gq1.yahoo.com> Hi all, Recently i have been testing revWeb plugin and revMedia 4 in Puppy Linux 4.3 and noticed that, at least in my setup, they do not work at all. Maybe the video card have part of the culprit or the video drivers used in this version of Puppy. Does someone have created a portable version of revMedia 4 that i could copy in a Pendrive and test with different live versions of Linux (running directly from the CD)? Thanks in advance. alejandro From david.bovill at gmail.com Fri Oct 2 08:29:03 2009 From: david.bovill at gmail.com (David Bovill) Date: Fri, 2 Oct 2009 13:29:03 +0100 Subject: Smoothing a curve: bezier curves, b-splines and Alejandro's PenTool Script In-Reply-To: <133850.27386.qm@web111413.mail.gq1.yahoo.com> References: <20091001170005.9D3CC48A9F2@mail.runrev.com> <133850.27386.qm@web111413.mail.gq1.yahoo.com> Message-ID: 2009/10/2 Alejandro Tejada > > Alejandro Tejada wrote: > David, i still hope that, later along the road, > RunRev add directly to the engine, svg properties > to vector graphics and create functions to > transform them. Sure it will come - just not this week :) Still I am thinking it can't be that hard / there must be an easy to knock up hack to: interpolate points along a b-spline guess a reasonable fit b-spine from a series of regular rev based control points I get returned from one data source b-splines that look like this: where spline = (endp)? (startp)? point (triple)+ > and triple = point point point > and endp = "e,%f,%f" > and startp = "s,%f,%f" > If a spline has points p1 p2 p3 ... pn, (n = 1 (mod 3)), the points > correspond to the control points of a B-spline from p1 to pn. If startp is > given, it touches one node of the edge, and the arrowhead goes from p1 to > startp. If startp is not given, p1 touches a node. Similarly for pn and > endp. > How would these triples relate to the work you've done? From bvg at mac.com Fri Oct 2 08:43:38 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 02 Oct 2009 14:43:38 +0200 Subject: [OT] Rubber Chicken In-Reply-To: <4AC51051.7060907@gmail.com> References: <4AC51051.7060907@gmail.com> Message-ID: <1A2775DA-B848-40CB-9FA5-119CDEE5464F@mac.com> all hail the fail chicken! On 1 Oct 2009, at 22:25, Richmond Mathewson wrote: > Came across this by accident: > > http://newserver.runrev.com/home/error -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From jerry.daniels at me.com Fri Oct 2 09:48:31 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Fri, 2 Oct 2009 08:48:31 -0500 Subject: [ANN] tRev Feature Friday will be next Friday Message-ID: <7AC9EBC5-E8F1-482C-90A2-BC59B75D71EC@me.com> Feature Friday addicts, I have been optimizing tRev this week and will continue into next week. Next Friday I'll make a video showing the areas I've been working. Thanks to our user base for their enthusiasm and support! Best, Jerry Daniels Watch tRev - The Movie http://reveditor.com/trev-the-movie From andre at andregarzia.com Fri Oct 2 10:15:26 2009 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 2 Oct 2009 11:15:26 -0300 Subject: [OT] Rubber Chicken In-Reply-To: <1A2775DA-B848-40CB-9FA5-119CDEE5464F@mac.com> References: <4AC51051.7060907@gmail.com> <1A2775DA-B848-40CB-9FA5-119CDEE5464F@mac.com> Message-ID: <7c87a2a10910020715s516b09f3pd9d11b681e2aed5a@mail.gmail.com> lol! hail! hail! 2009/10/2 Bj?rnke von Gierke > all hail the fail chicken! > > On 1 Oct 2009, at 22:25, Richmond Mathewson wrote: > > Came across this by accident: >> >> http://newserver.runrev.com/home/error >> > > > > -- > > official ChatRev page: > http://bjoernke.com?target=chatrev > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Fri Oct 2 12:58:40 2009 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 2 Oct 2009 13:58:40 -0300 Subject: OT: Rio 2016 Message-ID: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> Hi Folks, Just to announce that Rio won de bid for the 2016 Olympic Games. The first ever Olympic Games to be held on south america will be help on my state. So I think I will launch the bid for RioRevLive 2016, you can learn to code and join the Olympic festivities :-P Cheers and Live Your Passion (Rio Olympic Motto) Andre -- http://www.andregarzia.com All We Do Is Code. From revdev at pdslabs.net Fri Oct 2 13:00:32 2009 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 02 Oct 2009 10:00:32 -0700 Subject: OT: Rio 2016 In-Reply-To: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> References: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> Message-ID: <4AC631B0.6050102@pdslabs.net> Congratulations Andre! Andre Garzia wrote: > Hi Folks, > Just to announce that Rio won de bid for the 2016 Olympic Games. The first > ever Olympic Games to be held on south america will be help on my state. > > So I think I will launch the bid for RioRevLive 2016, you can learn to code > and join the Olympic festivities :-P > > Cheers and Live Your Passion (Rio Olympic Motto) > Andre > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From richmondmathewson at gmail.com Fri Oct 2 13:08:52 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 02 Oct 2009 20:08:52 +0300 Subject: OT: Rio 2016 In-Reply-To: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> References: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> Message-ID: <4AC633A4.5020501@gmail.com> Andre Garzia wrote: > Hi Folks, > Just to announce that Rio won de bid for the 2016 Olympic Games. The first > ever Olympic Games to be held on south america will be help on my state. > > So I think I will launch the bid for RioRevLive 2016, you can learn to code > and join the Olympic festivities :-P > > Cheers and Live Your Passion (Rio Olympic Motto) > Andre > > Congratulations! However I do feel the Olympics have lost sight of their original fiat and are now corrupted by commercialism, drug-taking and other nastinesses beyond redemption. Let's redress things by having a "RunRev Coding Games" in Rio at the same time, where either individuals or teams are each given a clean computer (i.e. containing no RunRev code except for a copy of Studio) and a theme for a limited time (say, 12-15 hours) in which to create a program. We could even have a flame carried all the way from Edinburgh fueled by Adobe Flash Cds! From h at FlexibleLearning.com Fri Oct 2 13:15:41 2009 From: h at FlexibleLearning.com (Hugh Senior) Date: Fri, 2 Oct 2009 18:15:41 +0100 Subject: Smoothing a curve: bezier curves, b-splines and Alejandro's PenTool Script In-Reply-To: <20091002170005.7566048AA4E@mail.runrev.com> Message-ID: I am also trying to plot a curved line through coordinate points, so a Bezier curve is not an appropriate route as it intentionally misses the coordinate point. Similarly, with potentially big distances between points, how 'smooth' is 'smooth'? A sharp, angular curve at each point or a more flattened, rounded curve? And this assumes that no curve is possible at all for the first and last points because there is no way of knowing the shape at all. One math guru I spoke to said it's not doable with coordinate data anyway, only statistical data. I hope he is incorrect. /H David Bovill wrote... Maybe someone can suggest a hack :) I'm thinking something along the lines of calculating the bezier curves for each pair of points along the curve: this is the function I have courtesy Alejandro: function graph_BezierLine listOfPoints, zdt > put item 1 of listOfPoints into x1 > put item 2 of listOfPoints into y1 > put item 3 of listOfPoints into xa > put item 4 of listOfPoints into ya > put item 5 of listOfPoints into xb > put item 6 of listOfPoints into yb > put item 7 of listOfPoints into x2 > put item 8 of listOfPoints into y2 > put 0 into v1 > > if zdt is empty then put 32 into zdt > repeat with i = 1 TO zdt -- zdt is a integer number like 32 > put i * 1/zdt into v1 > put 1 - v1 into v2 > put (x1 * (v2 * v2 * v2) + (3 * xa * v1 * v2 * v2) + (3 * xb * v1 * > v1 * v2) + (x2 * (v1 ^ 3))) into x > put (y1 * (v2 * v2 * v2) + (3 * ya * v1 * v2 * v2) + (3 * yb * v1 * > v1 * v2) + (y2 * (v1 ^ 3))) into y > if (x div 1 & "," & y div 1) <> last line of variablezxc then put (x > div 1 & "," & y div 1) & CR after variablezxc > end repeat > > -- if x1,y1 <> first line of variablezxc then put x1,y1 & return before > variablezxc > if x2,y2 <> last line of variablezxc then put x2,y2 & CR after > variablezxc > put x1,y1 & CR before variablezxc > -- put x2,y2 & CR after variablezxc > return variablezxc > end graph_BezierLine From pepetoo at cox.net Fri Oct 2 13:15:57 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 2 Oct 2009 10:15:57 -0700 Subject: OT: Rio 2016 In-Reply-To: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> References: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> Message-ID: <5E685F56-D03F-4391-BC56-F641B4650519@cox.net> Out of curiosity, won't that make the Summer games held in the Winter, since the southern hemisphere is the reverse of where they are normally held? Or was that taken into consideration as you would think it would have been? Otherwise, all those athletes in their shorts are going to freeze their butts off. Joe Wilkins On Oct 2, 2009, at 9:58 AM, Andre Garzia wrote: > Hi Folks, > Just to announce that Rio won de bid for the 2016 Olympic Games. The > first > ever Olympic Games to be held on south america will be help on my > state. > > So I think I will launch the bid for RioRevLive 2016, you can learn > to code > and join the Olympic festivities :-P > > Cheers and Live Your Passion (Rio Olympic Motto) > Andre > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bvg at mac.com Fri Oct 2 13:20:53 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 02 Oct 2009 19:20:53 +0200 Subject: OT: Rio 2016 In-Reply-To: <5E685F56-D03F-4391-BC56-F641B4650519@cox.net> References: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> <5E685F56-D03F-4391-BC56-F641B4650519@cox.net> Message-ID: <41573C52-814E-44B2-AA5E-160D64258B69@mac.com> Brasil is a tropical country. what we in europe call "summer" is their temperature in "winter" (20-30 degrees celsius or so). If they'd do it in their geographical summer (nov-feb), they'd handicap all the european athletes with the 40+ temperatures and 99% humidity... On 2 Oct 2009, at 19:15, Joe Lewis Wilkins wrote: > in the Winter... Otherwise, all those athletes in their shorts are > going to freeze their butts off. From andre at andregarzia.com Fri Oct 2 13:22:12 2009 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 2 Oct 2009 14:22:12 -0300 Subject: OT: Rio 2016 In-Reply-To: <5E685F56-D03F-4391-BC56-F641B4650519@cox.net> References: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> <5E685F56-D03F-4391-BC56-F641B4650519@cox.net> Message-ID: <7c87a2a10910021022n5fb19fbchd0529e3890163424@mail.gmail.com> Our winter will not go below 20 celsius, it is never too cold in Rio. I am all about RunRev Coding Games.... I could organize that, there is a wonderful conference hotel near my place, 5 minutes from the beach of camboinhas, one of the best in my city. for those wanting to see one of our bid videos, checkout the HD version of: http://www.youtube.com/watch?v=Z00jjc-WtZI the song is "cidade maravilhosa" (wonderful city) one of the famous songs about rio, the chorus part goes like wonderful city, with a thousand enchantments, wonderful city, the heart of my Brasil. Yay! I should open a hostel, we will have the Soccer World Cup here in 2014 and the Olympic Games on 2016, good time to invest in something.... From jimaultwins at yahoo.com Fri Oct 2 13:26:31 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 2 Oct 2009 10:26:31 -0700 Subject: OT: Rio 2016 In-Reply-To: <5E685F56-D03F-4391-BC56-F641B4650519@cox.net> References: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> <5E685F56-D03F-4391-BC56-F641B4650519@cox.net> Message-ID: Winter nights can be chilly, with the temperature dropping to around 15? C (around 70 F). Laugh if you live in a cold country, but the fact is that thermal comfort is completely relative. Wind and dampness could make you feel even colder, and the homes do not have a heating system. In other words, near-tropical climate with a low of 70 degrees F and sunny days. ---------- excerpt from a travel post ---------------------- Re: Weather in Rio During May - August Apr 05, 2006, 10:06 PM I lived in Rio for many years and return every summer vacation (here) - winter there. Always go late July - early August. I can assure you that you will have beautiful beach weather and plenty of tanning opportunity during this period. Was there last summer with my daughter from August 1st through August 22nd and we went to the beach everyday - but one! Enjoy your trip. --------- Jim Ault Las Vegas On Oct 2, 2009, at 10:15 AM, Joe Lewis Wilkins wrote: > Out of curiosity, won't that make the Summer games held in the > Winter, since the southern hemisphere is the reverse of where they > are normally held? Or was that taken into consideration as you would > think it would have been? Otherwise, all those athletes in their > shorts are going to freeze their butts off. > > Joe Wilkins > > On Oct 2, 2009, at 9:58 AM, Andre Garzia wrote: > >> Hi Folks, >> Just to announce that Rio won de bid for the 2016 Olympic Games. >> The first >> ever Olympic Games to be held on south america will be help on my >> state. >> >> So I think I will launch the bid for RioRevLive 2016, you can learn >> to code >> and join the Olympic festivities :-P >> >> Cheers and Live Your Passion (Rio Olympic Motto) >> Andre >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution Jim Ault jimaultwins at yahoo.com From jimaultwins at yahoo.com Fri Oct 2 13:31:35 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 2 Oct 2009 10:31:35 -0700 Subject: OT: Rio 2016 In-Reply-To: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> References: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> Message-ID: <42DB217B-AEC8-4803-974F-04546F842EC2@yahoo.com> Very cool news.. congratulations! Maybe everyone will be learning Portuguese It will be great to see the impact on your economy. At least I will have a place to stay that is very cheap, eh? Good news for me... I don't know anyone in Chicago, Madrid, or Tokyo. Jim Ault Las Vegas What happens in Rio, gets broadcast to the world. On Oct 2, 2009, at 9:58 AM, Andre Garzia wrote: > Hi Folks, > Just to announce that Rio won de bid for the 2016 Olympic Games. The > first > ever Olympic Games to be held on south america will be help on my > state. > > So I think I will launch the bid for RioRevLive 2016, you can learn > to code > and join the Olympic festivities :-P > > Cheers and Live Your Passion (Rio Olympic Motto) > Andre From jiml at netrin.com Fri Oct 2 13:31:57 2009 From: jiml at netrin.com (Jim Lambert) Date: Fri, 2 Oct 2009 10:31:57 -0700 Subject: Q: Can I use only a part of an Image File and do stuff with it ? In-Reply-To: References: <20090930160549.0BF8648AE46@mail.runrev.com> Message-ID: <6F6785D4-AA3A-4B67-A027-3D3F9082D8C3@netrin.com> Phil, you actually understood better than I! From corresponding off list with Rolf he did want to chop the image into smaller pieces, so your code is great for that. And my example, although off the mark, is good for folks who want to address just certain parts of am image. That's the beauty of a great list like this. Interesting questions, suggestions, & examples. Jiml > Date: Thu, 01 Oct 2009 14:57:12 -0700 > From: Phil Davis > Subject: Re: Q: Can I use only a part of an Image File and do stuff > with it ? > To: How to use Revolution > Message-ID: <4AC525B8.9030807 at pdslabs.net> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Nice, Jim! I see I misunderstood the goal in my post. Oh well. > > Phil Davis > > > Jim Lambert wrote: >> And here's the code: >> >> http://netrin.on-rev.com/animateimage/animateimage.html >> >> Jim Lambert From andre at andregarzia.com Fri Oct 2 13:31:46 2009 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 2 Oct 2009 14:31:46 -0300 Subject: OT: Rio 2016 In-Reply-To: <41573C52-814E-44B2-AA5E-160D64258B69@mac.com> References: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> <5E685F56-D03F-4391-BC56-F641B4650519@cox.net> <41573C52-814E-44B2-AA5E-160D64258B69@mac.com> Message-ID: <7c87a2a10910021031y54bbf48bl41159f85134f073a@mail.gmail.com> hummmm.... handicaping the european athletes.... interesting thought... on the other hand, Brazilian athletes are often handicaped on the cold environments and that never stopped us, we even have a sled team and we have no snow, so I think the world will be fine. I think they will held it during a mild time, been sometime since I last felt 40+ temperature... 2009/10/2 Bj?rnke von Gierke > Brasil is a tropical country. what we in europe call "summer" is their > temperature in "winter" (20-30 degrees celsius or so). If they'd do it in > their geographical summer (nov-feb), they'd handicap all the european > athletes with the 40+ temperatures and 99% humidity... > > On 2 Oct 2009, at 19:15, Joe Lewis Wilkins wrote: > > in the Winter... Otherwise, all those athletes in their shorts are going >> to freeze their butts off. >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From LunchnMeets at aol.com Fri Oct 2 14:27:52 2009 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Fri, 2 Oct 2009 14:27:52 EDT Subject: Metal Texture in Snow Leopard Message-ID: Hi Rev Addicts, I just upgraded my system software from Tiger to Snow Leopard. The first thing I noticed of course is the different way it renders "Metal Texture." It's much to dark now. Is there a way to lighten it somewhat? Alternatively, how do I set the background color of my stacks? Thanks for all your support in the past and future. Joe in Orlando From B.Cornaz at gmx.net Fri Oct 2 14:26:57 2009 From: B.Cornaz at gmx.net (Beat Cornaz) Date: Fri, 2 Oct 2009 20:26:57 +0200 Subject: set the textStyle to not bold Message-ID: Hi all, I have a field with text with different textStyles. Now I just want to remove the bold (or any other) textStyle from that field. So leaving all the underline, italic. box etc textStyle parts in order. set the textStyle of fld "X" to not bold is accepted by the editor but throws an error at runtime. Probably because not bold equals false and you can't set a textStyle to false I could write a handler which checks the textStyle of every char and removes the bold, but I guess there is a more easy way. Cheers, Beat From acm at armas.com Fri Oct 2 14:38:20 2009 From: acm at armas.com (Mike Markkula) Date: Fri, 02 Oct 2009 11:38:20 -0700 Subject: OT: Rio 2016 In-Reply-To: <7c87a2a10910021022n5fb19fbchd0529e3890163424@mail.gmail.com> Message-ID: Super Great video!!!!! Mike On 10/2/09 10:22 AM, "Andre Garzia" wrote: > Our winter will not go below 20 celsius, it is never too cold in Rio. > I am all about RunRev Coding Games.... I could organize that, there is a > wonderful conference hotel near my place, 5 minutes from the beach of > camboinhas, one of the best in my city. > > for those wanting to see one of our bid videos, checkout the HD version of: > > http://www.youtube.com/watch?v=Z00jjc-WtZI > > the song is "cidade maravilhosa" (wonderful city) one of the famous songs > about rio, the chorus part goes like wonderful city, with a thousand > enchantments, wonderful city, the heart of my Brasil. > > Yay! I should open a hostel, we will have the Soccer World Cup here in 2014 > and the Olympic Games on 2016, good time to invest in something.... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Fri Oct 2 14:42:22 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 2 Oct 2009 20:42:22 +0200 Subject: Metal Texture in Snow Leopard In-Reply-To: References: Message-ID: <6C1A5183-082E-4454-8A4C-177D095C4D17@economy-x-talk.com> Hi Joe, First of all, this is a bug that should be fixed by RunRev Ltd. In my opinion, it is a shame that this problem still persists in Rev 4.0. The following might help. It sets and resets the background colour of the current card of your stack. on suspendStack x set the backColor of this cd to 207,207,207 end suspendStack on resumeStack set the backColor of this cd to 150,150,150 end resumeStack Unfortunately, I haven't created a way to change the colour when a palette is focused yet. Probably, this should be done with a front script. Perhaps a resumeStack handler or something like focusIn. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Submit your software at http://www.quickestpublisher.com On 2 okt 2009, at 20:27, LunchnMeets at aol.com wrote: > Hi Rev Addicts, > > I just upgraded my system software from Tiger to Snow Leopard. The > first > thing I noticed of course is the different way it renders "Metal > Texture." > It's much to dark now. Is there a way to lighten it somewhat? > Alternatively, > how do I set the background color of my stacks? Thanks for all your > support in > the past and future. > > Joe in Orlando > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From devin_asay at byu.edu Fri Oct 2 14:46:26 2009 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 2 Oct 2009 12:46:26 -0600 Subject: set the textStyle to not bold In-Reply-To: References: Message-ID: <1A8585BE-D361-4600-9ABD-EB657180B2BB@byu.edu> On Oct 2, 2009, at 12:26 PM, Beat Cornaz wrote: > Hi all, > > I have a field with text with different textStyles. Now I just want > to remove the bold (or any other) textStyle from that field. So > leaving all the underline, italic. box etc textStyle parts in order. > > set the textStyle of fld "X" to not bold is accepted by the editor > but throws an error at runtime. Probably because not bold equals > false and you can't set a textStyle to false > > I could write a handler which checks the textStyle of every char and > removes the bold, but I guess there is a more easy way. Beat, Try this (not tested): repeat with i = 1 to the number of words in fld "thefield" get the textStyle of word i of fld "thefield" if it contains "bold" then replace "bold" with empty in it replace ",bold" with empty in it replace "bold," with empty in it set the textStyle of word i of fld "thefield" to it end if end repeat Something like this should work. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From francois.chaplais at mines-paristech.fr Fri Oct 2 15:28:12 2009 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Fri, 2 Oct 2009 21:28:12 +0200 Subject: Smoothing a curve: bezier curves, b-splines and Alejandro's PenTool Script In-Reply-To: References: Message-ID: Le 2 oct. 09 ? 19:15, Hugh Senior a ?crit : > > I am also trying to plot a curved line through coordinate points, so a > Bezier curve is not an appropriate route as it intentionally misses > the > coordinate point. Similarly, with potentially big distances between > points, > how 'smooth' is 'smooth'? A sharp, angular curve at each point or a > more > flattened, rounded curve? And this assumes that no curve is > possible at all > for the first and last points because there is no way of knowing > the shape > at all. > > One math guru I spoke to said it's not doable with coordinate data > anyway, > only statistical data. I hope he is incorrect. > IF the Bezier curve is a function y=f(x) of the horizontal pixel number N, the the best you can on screen (or printer fror that matter) do is draw a line (hopefully anti aliased) from each point (x,integer((f(x))) to point (x+1,integer(f(x+1))). f is a polynomial. To manage the general case, you can search for the mathematical (i.e. maybe non integer) points at which the tangent of the curves is vertical. Best regards, Fran?ois From paul.foraker at gmail.com Fri Oct 2 16:55:37 2009 From: paul.foraker at gmail.com (Paul Foraker) Date: Fri, 2 Oct 2009 13:55:37 -0700 Subject: set the textStyle to not bold In-Reply-To: <1A8585BE-D361-4600-9ABD-EB657180B2BB@byu.edu> References: <1A8585BE-D361-4600-9ABD-EB657180B2BB@byu.edu> Message-ID: Riffing on Devin's: repeat with i = 1 to the number of words in fld "thefield" get the textStyle of word i of fld "thefield" if it contains "bold" then replace "bold" with "plain" in it set the textStyle of word i of fld "thefield" to it end if end repeat -- Paul On Fri, Oct 2, 2009 at 11:46 AM, Devin Asay wrote: > > On Oct 2, 2009, at 12:26 PM, Beat Cornaz wrote: > > Hi all, >> >> I have a field with text with different textStyles. Now I just want >> to remove the bold (or any other) textStyle from that field. So >> leaving all the underline, italic. box etc textStyle parts in order. >> >> set the textStyle of fld "X" to not bold is accepted by the editor >> but throws an error at runtime. Probably because not bold equals >> false and you can't set a textStyle to false >> >> I could write a handler which checks the textStyle of every char and >> removes the bold, but I guess there is a more easy way. >> > > Beat, > > Try this (not tested): > > repeat with i = 1 to the number of words in fld "thefield" > get the textStyle of word i of fld "thefield" > if it contains "bold" then > replace "bold" with empty in it > replace ",bold" with empty in it > replace "bold," with empty in it > set the textStyle of word i of fld "thefield" to it > end if > end repeat > > Something like this should work. > > Regards, > > Devin > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From DunbarX at aol.com Fri Oct 2 18:39:59 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 2 Oct 2009 18:39:59 EDT Subject: set the textStyle to not bold Message-ID: The proffered scripts all necessitate that the original text, likely from a field, be manHandled word by word. This is because text in a variable does not retain the textStyle of the source. But don't I remember that there is a way, or a gadget, that holds the style along with the raw text? The only reason it might matter is speed; a lot of getting and setting goes on in the solutions offered. It might be worth it to put massive amounts of text in a variable and process there, returning the new styled text to the field in one put. Seems like I saw this somewhere... Craig Newman From paul.foraker at gmail.com Fri Oct 2 18:57:07 2009 From: paul.foraker at gmail.com (Paul Foraker) Date: Fri, 2 Oct 2009 15:57:07 -0700 Subject: set the textStyle to not bold In-Reply-To: References: Message-ID: This would be a way to follow Craig's suggestion: put the htmlText of fld 1 into temp replace "" with "" in temp replace "" with "" in temp set the htmlText of fld 1 to temp -- Paul On Fri, Oct 2, 2009 at 3:39 PM, wrote: > The proffered scripts all necessitate that the original text, likely from a > field, be manHandled word by word. > > This is because text in a variable does not retain the textStyle of the > source. But don't I remember that there is a way, or a gadget, that holds the > style along with the raw text? The only reason it might matter is speed; a > lot of getting and setting goes on in the solutions offered. It might be worth > it to put massive amounts of text in a variable and process there, > returning the new styled text to the field in one put. > > Seems like I saw this somewhere... > > Craig Newman From sarah.reichelt at gmail.com Fri Oct 2 19:33:59 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 3 Oct 2009 09:33:59 +1000 Subject: OT: Rio 2016 In-Reply-To: <5E685F56-D03F-4391-BC56-F641B4650519@cox.net> References: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> <5E685F56-D03F-4391-BC56-F641B4650519@cox.net> Message-ID: On Sat, Oct 3, 2009 at 3:15 AM, Joe Lewis Wilkins wrote: > Out of curiosity, won't that make the Summer games held in the Winter, since > the southern hemisphere is the reverse of where they are normally held? Or > was that taken into consideration as you would think it would have been? > Otherwise, all those athletes in their shorts are going to freeze their > butts off. The 2000 Olympics were in Sydney, Australia and they were held in September, which is spring in the southern hemisphere while not being too far from summer for the northern athletes. I imagine the Rio games will be held at a similar time during the year. Cheers, Sarah From coiin at verizon.net Fri Oct 2 19:57:14 2009 From: coiin at verizon.net (Colin Holgate) Date: Fri, 02 Oct 2009 19:57:14 -0400 Subject: OT: Rio 2016 In-Reply-To: References: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> <5E685F56-D03F-4391-BC56-F641B4650519@cox.net> Message-ID: <921D2D3D-31EA-4085-89E4-52BF90C8B395@verizon.net> On Oct 2, 2009, at 7:33 PM, Sarah Reichelt wrote: > > > The 2000 Olympics were in Sydney, Australia and they were held in > September, which is spring in the southern hemisphere while not being > too far from summer for the northern athletes. I imagine the Rio games > will be held at a similar time during the year. It might not be though. Rio is over ten degrees closer to the Equator than Sydney is. It's closer than Miami is. I was in the middle east for a while, though I was slightly closer to the Equator than Rio is, still, the coldest it got in the year was still in the 70s. As you can see here, the coldest months in Rio still average 70 degrees: http://www.holiday-weather.com/rio_de_janeiro/averages/ From sims at ezpzapps.com Fri Oct 2 19:57:41 2009 From: sims at ezpzapps.com (Jim Sims) Date: Sat, 3 Oct 2009 01:57:41 +0200 Subject: OT: Rio 2016 In-Reply-To: <7c87a2a10910021022n5fb19fbchd0529e3890163424@mail.gmail.com> References: <7c87a2a10910020958v471f7633jbb194967ea4504b1@mail.gmail.com> <5E685F56-D03F-4391-BC56-F641B4650519@cox.net> <7c87a2a10910021022n5fb19fbchd0529e3890163424@mail.gmail.com> Message-ID: On Oct 2, 2009, at 7:22 PM, Andre Garzia wrote: > Yay! I should open a hostel, we will have the Soccer World Cup here > in 2014 > and the Olympic Games on 2016, good time to invest in something.... Yes! Creative Brasilan Thinking! Maybe put that TV/Film school learning to us, start a new TV channel. Andre's Olympic Village Olympic Cooking with Andre Andre's Olympic Roundup Sports Channel The opportunities are endless. You have a camera I bet. sims From ambassador at fourthworld.com Fri Oct 2 20:44:53 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Oct 2009 17:44:53 -0700 Subject: Practical limits on object counts Message-ID: <4AC69E85.5070608@fourthworld.com> I may have the opportunity to build a UI which has an unusually high number of objects on the card. So to see what can and can't be done, I made a couple tests stacks and threw some objects on them. Lots of objects. Thousands. I found that 5,000 objects render, react to clicks, and save with admirable performance, but boosting that to 10,000 introduces a noticeable lag time on things like responding to clicks. Have any of you worked on stacks with an insane number of objects on a card (>5,000)? What issues did you encounter? I have some strategies for reducing the object count if needed, but at the moment I'm more interested in learning what the practical limits of the engine are with regard to handling large numbers of objects. TIA - -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From paul.foraker at gmail.com Fri Oct 2 22:21:44 2009 From: paul.foraker at gmail.com (Paul Foraker) Date: Fri, 2 Oct 2009 19:21:44 -0700 Subject: Practical limits on object counts In-Reply-To: <4AC69E85.5070608@fourthworld.com> References: <4AC69E85.5070608@fourthworld.com> Message-ID: On Fri, Oct 2, 2009 at 5:44 PM, Richard Gaskin wrote: > Have any of you worked on stacks with an insane number of objects on a card > (>5,000)? > > What issues did you encounter? I have a bead pattern generator that dynamically clones a small graphic to produce 4,634 of them arranged according to dimensions and patterns set by the user. There are also some fields and buttons, bringing the total number of controls to 4,646. It takes about 2 seconds to render on an iMac with the screen locked. When you mouse down on the inspection arrow in the Property Inspector, you get a disabled item: "Too many controls to display [4646]". There aren't too many fields or buttons to display, but it doesn't care. :) -- Paul From bfr at nwlink.com Sat Oct 3 02:31:11 2009 From: bfr at nwlink.com (Bruce Robertson) Date: Fri, 02 Oct 2009 23:31:11 -0700 Subject: "Helper Application"? In-Reply-To: <4ABD9564.3010306@fourthworld.com> Message-ID: > J. Landman Gay wrote: > >> Richard Gaskin wrote: >>> The RevTalk Dictionary entry for the "environment" function lists >>> "helper application" as one of the possible values the function can return: >>> >>> If the environment function returns "helper application", >>> Revolution is running as a helper application, configured >>> by a web browser to display web-based content. >>> >>> That's not the same as the plugin, is it? That entry is from the v3.0 >>> dictionary, long before the plugin was even in development. >>> >>> What does it mean for a Rev standalone to be "configured by a web >>> browser to display web-based content"? >> >> Browsers let you specify what apps to open if they can't display web >> content themselves. So if you click a .rev link on a web page, and you >> have assigned the browser to use Rev to open .rev files, then the >> browser will pass the link off to Revolution and launch it. It's the >> same as assigning .doc files to Word. I didn't know the environment >> would change when that happens though. > > Me neither. > > I've used Rev standalones as helper apps before, but IIRC the app just > gets an odoc event when the browser hands it a stack, and the engine > doesm't bother to notice whether it was handed the stack from a browser > or the Finder. > > I suspect this may be a holdover from the olden MC days when it was > Unix-only. Would be nice if there was a way a standalone could > distinguish how it was launched, though. There's a world of > opportunities still unexploited with helper apps.... Yup. Take this technique, and point the custom URL to your Rev app. I'm doing it with FileMaker. From runrevron at gmail.com Sat Oct 3 02:57:07 2009 From: runrevron at gmail.com (ron barber) Date: Sat, 3 Oct 2009 15:57:07 +0900 Subject: menu item tagging Message-ID: <5825034a0910022357w491960bv5d2bc3bfd5de2fdc@mail.gmail.com> The engine change log list Menu-item tagging as a new feature: ======================= The menu item specification has been extended to allow a tag to be specified. It is now of the form: