Re: simulate keystroke

2008-10-26 Thread Terry Judd
Hi Larry - it might not be the ideal way to do it but it seems to work quite reliably here. All I have are two buttons on a stack with an empty button named 'cancel' that has its autohilite set to false and a button named 'run' that has the following script - slightly modified from the previous ver

Re: Run Rev's within() function--Was: Problem with mask

2008-10-26 Thread James Hurley
James Hurley wrote on Sat Oct 25, 2008: Wilhelm, I think the following script, placed in the card of a new stack, gives the clearest idea of what the problem is. As you mouse around the graphic you can see the mouse corrdinates as well as the results of the user-defined within function and Run

Re: simulate keystroke

2008-10-26 Thread Larry Watts
thanks Jacqueline, this is similar to a timer we use in another app. we can pause the timer by clicking on a different button. so tomorrow, i'll have a go at implementing your code here in my new app. Larry P.S. Terry, I tried your idea exactly as you gave it. I put it in a test button, but

Re: Gaussian pseudo-random numbers -- math issues

2008-10-26 Thread Timothy Miller
Thanks very, very much to Michael, Mark and Mark. (I hope I didn't miss anybody.) This is an excellent start. I think I can take it from here. Cheers, Tim Miller On Oct 22, 2008, at 6:46 PM, Mark Smith wrote: Timothy, the only way I could find of doing what you want is called 'the polar

Re: itunes alternating lines

2008-10-26 Thread Jim Sims
On Oct 26, 2008, at 11:11 PM, Jim Lambert wrote: This may be helpful. Put it in a field script then send alternatelines to the field. Of course, it could be easily adapted to accept color parameters, too. Jim Lambert Hey Jim, that one is pretty cool. Thanks. I recently had a client say t

Re: simulate keystroke

2008-10-26 Thread J. Landman Gay
J. Landman Gay wrote: Larry Watts wrote: hi Mark, What I'm really wondering how to do is this: I have a button script running with a lot of repeat statements in it. Depending upon the input, the script will run for 5 minutes to an hour. I want the user to be able to interrupt the script by cl

Re: simulate keystroke

2008-10-26 Thread J. Landman Gay
Larry Watts wrote: hi Mark, What I'm really wondering how to do is this: I have a button script running with a lot of repeat statements in it. Depending upon the input, the script will run for 5 minutes to an hour. I want the user to be able to interrupt the script by clicking on another butt

Re: simulate keystroke

2008-10-26 Thread Terry Judd
Hi Larry - something like this? REPEAT forever IF within(btn "cancel",the mouseLoc) THEN IF the mouse is down THEN set the hilited of btn "cancel" to true wait until the mouse is up exit repeat END IF END IF END repeat Terry... On 27/10/08 10:37 AM,

Re: simulate keystroke

2008-10-26 Thread Larry Watts
hi Mark, What I'm really wondering how to do is this: I have a button script running with a lot of repeat statements in it. Depending upon the input, the script will run for 5 minutes to an hour. I want the user to be able to interrupt the script by clicking on another button on the card. But

Re: Daylight Saving Time

2008-10-26 Thread Sarah Reichelt
On Mon, Oct 27, 2008 at 7:59 AM, Richard Miller <[EMAIL PROTECTED]> wrote: > Is there a simple way to know whether DST is in effect in a particular > location? Would it make sense, for example, to compare "the short time" with > the local time as accessed through some web site? If they're not the s

Re: itunes alternating lines

2008-10-26 Thread Jim Lambert
This may be helpful. Put it in a field script then send alternatelines to the field. Of course, it could be easily adapted to accept color parameters, too. Jim Lambert on alternateLines -- copyright 2006 Jim Lambert -- You're free to use this anywhere as long as the credit line remains.

Daylight Saving Time

2008-10-26 Thread Richard Miller
Is there a simple way to know whether DST is in effect in a particular location? Would it make sense, for example, to compare "the short time" with the local time as accessed through some web site? If they're not the same, assume DST is in effect? If so, any ideas for a web site to access f

Re: simulate keystroke

2008-10-26 Thread Mark Schonewille
Larry, Do you have more info? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum/ Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html

Re: Question: any way to get rid of that silly "want to save, cancel, purge" dialog...

2008-10-26 Thread Sarah Reichelt
> A simple question here. I am fiddling with a software that start using > some library stacks. Sometimes during the software work cycle, it will > issue a start using command trying to put into use a stack that is > already into use, this will prompt me with that Rev IDE dialog: "What > do you wan

simulate keystroke

2008-10-26 Thread Larry Watts
hi, hopefully a simple question: how do I programatically tell Rev to hold the shift key down for x amount of time? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscripti

Re: lineSize not working for paint tools

2008-10-26 Thread Joe Lewis Wilkins
Thanks Klaus, However, the Manual states: "To control the paint tools by script, create an image then choose the paint tool you want to use. Set the appropriate brush, pattern or line size then use the drag command to paint." So that needs to be fixed in the manual. Joe Wilkins On Oct 26

Re: lineSize not working for paint tools

2008-10-26 Thread Klaus Major
Hi Joe, another important info. I've been trying to get the lineSize used with graphics painting graphic <> painting! tools to work. Doing this in the msg box still only draws a 1 pixel line. choose pencil tool set the lineSize to 20 drag from 20,20 to 500,500 TIA, Joe Wilkins Best

Re: lineSize not working for paint tools

2008-10-26 Thread Klaus Major
Hi Joe, I've been trying to get the lineSize used with graphics painting tools to work. Doing this in the msg box still only draws a 1 pixel line. choose pencil tool set the lineSize to 20 drag from 20,20 to 500,500 "linesize" is meant for graphics! You need to set "the brush", see the do

lineSize not working for paint tools

2008-10-26 Thread Joe Lewis Wilkins
I've been trying to get the lineSize used with graphics painting tools to work. Doing this in the msg box still only draws a 1 pixel line. choose pencil tool set the lineSize to 20 drag from 20,20 to 500,500 TIA, Joe Wilkins ___ use-revolution maili

Question: any way to get rid of that silly "want to save, cancel, purge" dialog...

2008-10-26 Thread Andre Garzia
Hello Friends, A simple question here. I am fiddling with a software that start using some library stacks. Sometimes during the software work cycle, it will issue a start using command trying to put into use a stack that is already into use, this will prompt me with that Rev IDE dialog: "What do y

Re: itunes alternating lines

2008-10-26 Thread Eric Chatonet
Bonsoir Trevor, As I said the solution you provide is much more accomplished :-) I just gave this one with two goals: . Provide a very simple solution for less advanced users. . Remind all that any image used as a pattern may be resized (if locked, of course) an this may appear handy in many ca

Where is the shortcut "x_" in Rev 3 to uncomment a scriptline

2008-10-26 Thread Reinhold Venzl-Schubert
Hi! Where is the shortcut "x_" in Rev 3 to uncomment a scriptline. I find it in den editmenu but it do not works with "apple" "shift" "-" Reinhold ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsu

Re: Run Rev's within() function--Was: Problem with mask

2008-10-26 Thread Wilhelm Sanke
James Hurley wrote on Sat Oct 25, 2008: Wilhelm, I think the following script, placed in the card of a new stack, gives the clearest idea of what the problem is. As you mouse around the graphic you can see the mouse corrdinates as well as the results of the user-defined within function a

Re: itunes alternating lines

2008-10-26 Thread Trevor DeVore
On Oct 26, 2008, at 5:48 AM, Eric Chatonet wrote: Trevor's solution is of course very interesting but if you want a straight and easy one, just make a pattern and lock the image. ... on ChangeFieldTextHeight pFld,pHeight,pPatternImage lock screen set the textHeight of pFld to pHeight set t

Re: Error msg that doesn't compute

2008-10-26 Thread Joe Lewis Wilkins
Dah! Geeze, what these eyes of mine overlook, or plain just don't see. Of course, I guess it is the "brain" that is at fault. (smile) Thanks, Mark Joe Wilkins On Oct 26, 2008, at 9:23 AM, Mark Schonewille wrote: mouseH, mouseV ;-) -- Best regards, Mark Schonewille Economy-x-Talk Consulti

Re: Error msg that doesn't compute

2008-10-26 Thread Mark Schonewille
mouseH, mouseV ;-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum/ Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more i

Error msg that doesn't compute

2008-10-26 Thread Joe Lewis Wilkins
Anyone know why this simple handler in 3.0 returns the error msg it does? TIA, Joe Wilkins on mouseDown global gMyX, gMyY put the mouseX into gMyX put the mouseY into gMyY end mouseDown stack "Drafting": compilation error at line 3 (Expression: bad factor), char 8 _

Re: itunes alternating lines

2008-10-26 Thread Richard Gaskin
Eric Chatonet wrote: But setting highlighted lines white is rather easy: on mouseDown lock screen set the textColor of char 1 to -1 of me to empty do "set the textColor of char 1 to -1 of" && the selectedLine && "to white" unlock screen end mouseDown Now turn on the multipleLine

Anyone create a "paint" app using Rev?

2008-10-26 Thread Kurt Kaufman
I'm looking for a standalone "painting" application made with Revolution. Has anyone created such an application, and if so, is it freely available? Thanks, Kurt ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url

Re: itunes alternating lines

2008-10-26 Thread Eric Chatonet
I agree: I would like just controls in Rev (like list fields and other ones) to respect OS behavior. But setting highlighted lines white is rather easy: on mouseDown lock screen set the textColor of char 1 to -1 of me to empty do "set the textColor of char 1 to -1 of" && the selectedLine

Re: itunes alternating lines

2008-10-26 Thread Eric Chatonet
Bonjour Sims, Trevor's solution is of course very interesting but if you want a straight and easy one, just make a pattern and lock the image. Then: on ChangeFieldTextHeight pFld,pHeight,pPatternImage lock screen set the textHeight of pFld to pHeight set the height of pPatternImage to p