Re: Helper Application?

2009-10-03 Thread Bruce Robertson
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

menu item tagging

2009-10-03 Thread ron barber
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: label [ '/' [ accelerator ] [ '|' tag ] ] Note that the tag is optional as is the accelerator however, if

Re: Helper Application?

2009-10-03 Thread Richard Gaskin
Bruce Robertson 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,

Re: Graphic text and border colour

2009-10-03 Thread Richmond Mathewson
Here's a baby way to get a graphic object with a coloured text and a different coloured 'border' (note the single quotes): 1. Make a new Graphic Object. 2. Set its border width to 0 (yes, really), 3. Crack open my plug-in: http://mathewson.110mb.com/FILEZ/XPROPS.rev.zip and set up a Label

Scenario

2009-10-03 Thread Javier Miranda V.
Hi amigos, I would like to describe an scenario. If you can, please outline how it can be resolved using Revolution: I would like co-workers (initially in the LAN), fill a variety of forms, that later can be retrieved, searched, printed etc. I believe that connecting Revolution with a

Re: Scenario

2009-10-03 Thread George C Brackett
One way to do this is to make your stack a standalone client application which you distribute to your co-workers. If the standalone connects to any of the standard databases -- MySQL, PostgreSQL, etc. -- the database will handle the multiple connections for you so that nobody overwrites

Re: Smoothing a curve

2009-10-03 Thread Hugh Senior
Hello Francois, I think we need a RevCoding mathematician! I struggle with elementary mathematics, let alone polynomial tangent functions! /H Le 2 oct. 09 ` 19:15, Hugh Senior a icrit : I am also trying to plot a curved line through coordinate points, so a Bezier curve is not an appropriate

Re: Practical limits on object counts

2009-10-03 Thread Richard Gaskin
Paul Foraker wrote: On Fri, Oct 2, 2009 at 5:44 PM, Richard Gaskin ambassador at fourthworld.com 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

Re: set the textStyle to not bold

2009-10-03 Thread Beat Cornaz
Craig 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

Re: set the textStyle to not bold

2009-10-03 Thread Beat Cornaz
Devin wrote : 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

Re: set the textStyle to not bold

2009-10-03 Thread J. Landman Gay
Beat Cornaz wrote: Your script works as well as Devin's and also has the same 'shortcoming' of not removing the style between words. I haven't tested it, but it seems to me that you don't need to iterate through any chunks at all if you replace the entire htmltext as a whole. Try someothing

Re: set the textStyle to not bold

2009-10-03 Thread Paul Foraker
Beat, The htmlText solution I proposed will also work for boxed text that is also bold and underline: pHere isbox ubsome/b/u/box text/p You can simply replace the box tags with empty, leaving the underline and bold. And, it will handle the spaces between words as well. But, it sounds like

Re: set the textStyle to not bold

2009-10-03 Thread Richard Gaskin
DunbarX 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

Re: Smoothing a curve

2009-10-03 Thread capellan
Hi All, Some time ago, i published this stack that shows two algorithms for smoothing the straight sides of a polygon: http://www.geocities.com/capellan2000/Two_smooth_polygon_algorithm.zip This stack implements two polygon smoothing algorithms: Chaikin and Shemanarev Here is a screenshot:

Re: set the textStyle to not bold

2009-10-03 Thread Beat Cornaz
Jacqueline wrote : Your script works as well as Devin's and also has the same 'shortcoming' of not removing the style between words. I haven't tested it, but it seems to me that you don't need to iterate through any chunks at all if you replace the entire htmltext as a whole. Try

Re: Practical limits on object counts

2009-10-03 Thread Phil Davis
Hi Richard, No time to experiment right now, but I wonder how things would work if you grouped the objects and removed the group (bg) from the card, letting it float in the netherworld of unplaced backgrounds within the stack. Naaahh... I guess you would have to place the group before you

Telnet Shell Help

2009-10-03 Thread RevList
I need to write a very small utility that uses Telnet so that I can connect to a server on port 333 and login with credentials and issue a specified command recognized by the server. I can do this manually as follows from the command line on Windows or Terminal on OS X Telnet 192.168.168.19 333

Re: Practical limits on object counts

2009-10-03 Thread Phil Davis
OK, I lied - I made time to test. I just did this: on mouseUp lock screen lock messages create group test repeat with x = 1 to 12000 create btn (test_ x) in grp test if x mod 100 = 0 then put x end repeat remove grp test from this cd unlock messages unlock screen

Re: Practical limits on object counts

2009-10-03 Thread Wilhelm Sanke
On Sat Oct 3, 2009, Richard Gaskin ambassador at fourthworld.com wrote: Maybe it meant Too many for the IDE to display, since it seems the engine is fine. :) I wonder exactly what their threshold is for too many, and how they arrived at it when they wrote their IDE. The more I played around

Re: Practical limits on object counts

2009-10-03 Thread Richard Gaskin
Phil Davis wrote: on mouseUp lock screen lock messages create group test repeat with x = 1 to 12000 create btn (test_ x) in grp test if x mod 100 = 0 then put x end repeat remove grp test from this cd unlock messages unlock screen beep end mouseUp

Re: Telnet Shell Help

2009-10-03 Thread Mark Smith
Stewart, I think you could do telnet over a socket connection. See open socket, write to socket and friends in the docs. Best, Mark Smith On 3 Oct 2009, at 22:28, RevList wrote: I need to write a very small utility that uses Telnet so that I can connect to a server on port 333 and login

Re: Practical limits on object counts

2009-10-03 Thread Phil Davis
So all your 11 million buttons have to be clickable at any given time? You want it all, don't you? ;-) If you just want to change the hilite of one via script, that takes no time (0.000627 secs on my mini to invert the hilite of btn ). Can you tell us any more about the requirements

Re: Telnet Shell Help

2009-10-03 Thread Phil Davis
Maybe it wouldn't be as hard if you opened telnet with open process for update and interacted with it that way. Then the socket-handling business would be done by the OS. Recently Josh Mellicker showed me how to do that with 'curl' using 'open process for read' and it made it super easy.