On 12/15/09 10:21 PM, Mark Swindell wrote:
40,116
98,186
132,118
How would one determine the angle created from three points, such as those
above?
Hi Mark,
I'm using the following handlers. SurfaceTriangle is used to determine if you
compute the outer (180) or inner angle with summit
As usual, I forgot something... Distance is merely this brave old Pythagora:
function Distance a,b
--
-- a,b : points
-- returns distance (real) between a and b
--
return
Mark-
Tuesday, December 15, 2009, 10:21:47 PM, you wrote:
40,116
98,186
132,118
How would one determine the angle created from three points, such as those
above?
If I can assume that (98,186) is the center of the angle, then you can
calculate the angle (actually all three angles) from
Hi Richard,
How ?
Try this 8) :
on rawkeyDown theKey
if (the altKey is down) and (theKey = 65361) and (theKey = 65364)
then -- only if alt key is pressed when using arrow key
put the selectedObjects into objectsList -- keep in memory the
list of objects to resize
get number of
I seem to have the uncanny ability to break anything... the MIDA$
touch. I cannot download the MetaCard IDE successfully.
The message Sorry, but this version of the IDE requires engine
=3.x! appears. My version of Rev is 2.8.1 build 470. Any suggestions?
Ryno.
What about getting the angle from point B to A, then the angle from point B
to C, then getting the difference:
on mouseUp
put cd fld A into pointA
put cd fld B into pointB -- assumed center of angle
put cd fld C into pointC
--
put fGetAngle(pointB, pointA) into angleA
put
By the way again, Mark's method is also correct if you fix the variable names
as shown below.
Normally a triangle with points ABC have their sides named with side b
between A and C so it is opposite angle B...etc.
on mouseUp
put cd fld A into pointA
put cd fld B into pointB -- assumed
Bonjour,
Le 16 déc. 09 à 06:12, Trevor DeVore a écrit :
On Dec 16, 2009, at 12:04 AM, James Hurley wrote:
It's okay, the Data Grid likes to be beta up on once and a while :-)
As long as this is still in Beta, may I make a suggestion?
Sorry, that was supposed to be beat not beta.
:-o))
I really should re-read my mails before sending them :-(
I cannot copy and paste scripts directly into mails (I don't know why) so I
rewrite them... with bugs !
in function calcangle the line
if SurfaceTriangle (a,c,b) then
should be
if SurfaceTriangle(a,c,b) 0 then
... but you corrected it
9 separate
scrolling windows on the desktop !
Kresten
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
Hi Friends,
Did'nt follow all the present thread so don't know if this can help
but in case, here is the general way i would use to process such
tasks :
on mouseUp
set the style of the templateGraphic to polygon
set the opaque of the templateGraphic to true
set the filled of the
Hi,
I have a problem. I need, after edit the value of a cell, update de values
of the rest of cells of the row. I enter one value, check the database and
fill other cells in the row.
It's posible? I have a datagrid_behavior with the CloseFieldEditor where I
can check the database and get the
Reply to myself... :)
SetDataOfIndex the dgIndex of me, Col X, value
Salut,
Josep
--
View this message in context:
http://n4.nabble.com/Datagrid-Edit-a-cell-to-update-the-rest-of-cells-tp965161p965163.html
Sent from the Revolution - User mailing list archive at Nabble.com.
Hi,
On any version of Mac OS X with any version of Revolution from 2.2 up
to and including 4.0, create a new stack, with one square button, e.g.
70x70 pixels (size doesn't matter). Give this button the following
script:
on mouseDown
repeat until the mouse is up with messages
On 16 Dec 2009, at 04:58, Kay C Lan wrote:
The easier way is, to use my bvg docu stack, where you can set text
sizes
in the settings:
http://bjoernke.com/?target=bvgdocu
Does this incorporate the User Contributed Notes? - They're slowly
growing
and important to an occasional
Hi Alex,
We all love tail recursion optimizations!
Thanks for the code!
Cheers
andre
On Tue, Dec 15, 2009 at 10:09 PM, Alex Tweedly a...@tweedly.net wrote:
Andre Garzia wrote:
Hi Folks,
this been answered in many ways already but I thought I'd chime in and try
to answer it in a different
On Dec 15, 2009, at 10:35 PM, Mark Wieder wrote:
Mark-
Tuesday, December 15, 2009, 10:21:47 PM, you wrote:
40,116
98,186
132,118
How would one determine the angle created from three points, such as those
above?
There are three angles. Which one are you interested in?
—
The
Recently, Mark Schonewille wrote:
On any version of Mac OS X with any version of Revolution from 2.2 up
to and including 4.0, create a new stack, with one square button, e.g.
70x70 pixels (size doesn't matter). Give this button the following
script:
on mouseDown
repeat until the
On 16/12/2009 11:48, Ryno Swart wrote:
I seem to have the uncanny ability to break anything... the MIDA$
touch. I cannot download the MetaCard IDE successfully.
The message Sorry, but this version of the IDE requires engine
=3.x! appears. My version of Rev is 2.8.1 build 470. Any suggestions?
Message: 23
Date: Wed, 16 Dec 2009 13:53:00 +0800
From: Kay C Lan lan.kc.macm...@gmail.com
Subject: Re: Saving standalone substacks
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID:
f73a98160912152153r4dfe5149hda04fd3e3fcfa...@mail.gmail.com
Content-Type: text/plain;
---
Message: 15
Date: Tue, 15 Dec 2009 18:52:52 -0800
From: Jim Ault jimaultw...@yahoo.com
Subject: Re: Newbie Data Grid question
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID: d39498b1-d005-477d-9b52-044d9dae6...@yahoo.com
Content-Type: text/plain;
Message: 24
Date: Tue, 15 Dec 2009 22:21:47 -0800
From: Mark Swindell mdswind...@cruzio.com
Subject: Deriving an angle from three points
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID: b3725793-6274-4f53-91d2-3154d31f9...@cruzio.com
Content-Type: text/plain;
On Dec 16, 2009, at 1:21 AM, Mark Swindell wrote:
40,116
98,186
132,118
How would one determine the angle created from three points, such as those
above?
All of the suggested scripts seem quite long. Try putting this script into
three buttons. The script uses the Other Mark's way of
On Dec 16, 2009, at 10:05 AM, Scott Rossi wrote:
Maybe I'm missing something. Over here, using the above on OS X 10.6.2, the
button doesn't hilite, using Rev 4 or Rev 3.5. Tried buttons that are
square and rectangular. No difference.
No problem here either, with a rounded rect button.
On Dec 16, 2009, at 11:01 AM, Colin Holgate wrote:
All of the suggested scripts seem quite long.
Correction, gmc's solution was also using atan2, and was fairly short.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit
Message: 24
Date: Tue, 15 Dec 2009 22:21:47 -0800
From: Mark Swindell mdswind...@cruzio.com
Subject: Deriving an angle from three points
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID: b3725793-6274-4f53-91d2-3154d31f9...@cruzio.com
Content-Type: text/plain;
Nicely done. Limiting the resizing to the left and bottom removes the
ambiguity I was wondering about in terms of which sides gets adjusted.
I think I'll add this to my copy of the MC IDE, and have cc'd the MC
discussion list here in hopes that the crew agrees it would be useful to
add to
Kresten, if you need nine separate scrollable stacks, maybe this is what you
are trying to do. Execute the following in your Rev message box:
go url http://www.tactilemedia.com/download/nine_stacks.rev;
This is a small model of what I think you described. When any stack is
resized, the group
Jacqueline
Thanks for making this such an easy install. I really am most
grateful to the people who've kept this alive. I'd reached the end of
my tether trying to use Rev 3.5 and 4.0 on Linux.
At least the Metacard IDE works about 98% of the way. There are still
some visual defects, but alas
Bernard Devlin wrote:
Jacqueline
Thanks for making this such an easy install. I really am most
grateful to the people who've kept this alive. I'd reached the end of
my tether trying to use Rev 3.5 and 4.0 on Linux.
At least the Metacard IDE works about 98% of the way. There are still
some
James Hurley wrote:
Actually, I had recalled that the splash screen was the way to go.
My question is really quite primitive. When the user quits, or just
wants to save the substacks, what is the action plan, specifically, what
is the code? Save.the substacks name. Is a file path
It's good to see the Metacard IDE mentioned here. While someone
accustomed to Rev might initially be underwhelmed by its simplicity,
that same simplicity can make your programming so much more
productive.
The Rev IDE has its honor points and I do occasionally launch it, but
the MC IDE is
Mark-
Wednesday, December 16, 2009, 6:08:16 AM, you wrote:
The above represents roughly a V shape with the center point the
vertex.
It doesn't. Three points in a plane represents a triangle.
--
-Mark Wieder
mwie...@ahsoftware.net
___
Andre-
Wednesday, December 16, 2009, 5:56:34 AM, you wrote:
Hi Alex,
We all love tail recursion optimizations!
Thanks for the code!
If a recursive routine can be refactored into a repeat forever loop
then it's probably a bad candidate for recursion. But it's hard to
resist recursive
Lost internet today for about 6 hours (stupid self had forgotten
to pay for it); and when I opened any stack in RevStudio the
whole thing froze (PPC Mac).
Now I have internet restored (robbed a bank), all is quite
alright again.
Does this mean that when I go to see Mum and Dad at New Year and
gmccarthy-
Wednesday, December 16, 2009, 2:07:46 AM, you wrote:
By the way again, Mark's method is also correct if you fix the variable names
as shown below.
Normally a triangle with points ABC have their sides named with side b
between A and C so it is opposite angle B...etc.
Quite
Well, of course it's a triangle, but describing it as a V helped explain
which angle was wanted.
On Dec 16, 2009, at 1:25 PM, Mark Wieder mwie...@ahsoftware.net wrote:
It doesn't. Three points in a plane represents a triangle
___
use-revolution
Kresten, if you need nine separate scrollable stacks, maybe this is what you
are trying to do. Execute the following in your Rev message box:
go url http://www.tactilemedia.com/download/nine_stacks.rev;
This is a small model of what I think you described. When any stack is
resized, the group
On 16.12.2009 at 11:51 Uhr +0800 Kay C Lan apparently wrote:
Craig,
one further observation. If the field already contains formatted text, ie
bold or coloured, doing what you are doing would set everything back to
plain text except for word 2 so in most cases (but I accept not all) you'd
want
No it didn't.
On Dec 16, 2009, at 10:44 AM, Colin Holgate wrote:
Well, of course it's a triangle, but describing it as a V helped explain
which angle was wanted.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url
Hi Richmond,
I think this has to do with bug:
http://quality.runrev.com/qacenter/show_bug.cgi?id=8409
Rev makes use of the internet in the Docs and Rev Online. Because your
computer was still connected to your router and your internet was not
functioning at the time this bug may be affecting
On 12/16/09 10:57 AM, Bruce Robertson wrote:
No it didn't.
On Dec 16, 2009, at 10:44 AM, Colin Holgate wrote:
Well, of course it's a triangle, but describing it as a V helped explain
which angle was wanted.
I thought Mark S identified it well when he called it the 'internal
On Dec 16, 2009, at 11:20 AM, J. Landman Gay wrote:
James Hurley wrote:
Actually, I had recalled that the splash screen was the way to go.
My question is really quite primitive. When the user quits, or just
wants to save the substacks, what is the action plan, specifically,
what
is the
Thanks but the example is far from fantastic -- it was quickly put together
to illustrate what I perceived to be the desired arrangement. And since
building it on OS X and looking at it on Windows, I see Rev has managed to
mess up the text, so I added a little fix to keep the textSize in place.
On 16/12/2009 21:24, Mark Talluto wrote:
Hi Richmond,
I think this has to do with bug:
http://quality.runrev.com/qacenter/show_bug.cgi?id=8409
Rev makes use of the internet in the Docs and Rev Online. Because your
computer was still connected to your router and your internet was not
James Hurley wrote:
Actually, I had recalled that the splash screen was the way to go.
My question is really quite primitive. When the user quits, or just
wants to save the substacks, what is the action plan, specifically,
what is the code? Save.the substacks name. Is a file path
Hi All!
I have a little rev project that I will eventually turn into a
webRevProject. I would like to have this little webRevProject project
store a line of text into an on-rev text file. I'm not quite getting
it right...
Here are the three parts that I have:
1. Rev Projects Script
Now that RunRev has passed through its chrysalis stage and
emerged with shiny, new icons, maybe it is time that
Metacard did the same.
I have popped a highly derivative icon here:
http://andregarzia.on-rev.com/richmond/STUFF/MC.png
not as a terribly serious suggestion, more as a way of getting
Devin Asay wrote:
Do you know what the file permissions implications are if a user other
than the one who installed the app is trying to save stacks to the app
bundle?
I think it depends on the OS permissions assigned to the app, but maybe
someone else knows more. Most of the apps in my
This little script is not only useful to resize controls like buttons or
fields, but also for graphics objects like lines, rectangles, etc that as
you know requires more accuracy. Never thought when I wrote this script that
it could be integrated to a biggest project. I'm really honored, thank
zryip theSlug wrote:
Never thought when I wrote this script that
it could be integrated to a biggest project. I'm really honored, thank you.
I don't think you should call yourself a slug any more.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software
I have a little rev project that I will eventually turn into a
webRevProject. I would like to have this little webRevProject project store
a line of text into an on-rev text file. I'm not quite getting it right...
Here are the three parts that I have:
1. Rev Projects Script
put
A http server (like on-rev) needs to always return something. making
that something (as in your case) be html/html seems to be rather
unusual and nondescript, but should work. still you might want to
check the result in your rev stack, to make sure the script on the
server actually works
Okay, I'm back with the end of maybe a full solution.
To enclose a word without its punctuation you have to define also a list of
substitute strings like this :
- the list of possible form
w ,w,,w.,.w,.w.
- the substitute list
boxwbox
,boxwbox,,boxwbox.,.boxwbox,.boxwbox.
With this approach
James Hurley wrote:
Things I didn't know:
1) I thought I would be saving to a substack.
Substacks -- the ones embedded into a main stack -- become part of the
standalone. Executables can't save data to themselves, no matter how
many stacks they are composed of. So yeah, you need separate
Hi Jacqueline,
In fact it's just a story about an anagram around my first name ;) A
nickname that followed me to the track for a long time. 8)
Finally I found it sticks well to the situation. I missed so many trains to
reach you that I'm a bit late! 8)
-Zryip TheSlug- wish you the best ! 8)
Hi all,
Last Monday, i took three hours showing
RevMedia to some teachers.
Besides the interface shock and the unique
need to name each object that you create,
it was the lack of multiple undo that raised
most eyebrows.
If you want experiment, then how could you
recover your work if you lose
Actually, i like the more recent version of the
MetaCard icon, created by Scott Rossi.
Richmond Mathewson-2 wrote:
Now that RunRev has passed through its chrysalis stage and
emerged with shiny, new icons, maybe it is time that
Metacard did the same.
[snip]
--
View this message in
On Wed, Dec 16, 2009 at 6:56 PM, Jacques Hausser jacques.haus...@unil.chwrote:
I really should re-read my mails before sending them :-(
I cannot copy and paste scripts directly into mails (I don't know why) so I
rewrite them... with bugs !
Now that Mark has his solution, this seems to be the
Trevor Devore has a framework and some ideas for the implementation of
multiple undo in his Application Framework
http://www.bluemangolearning.com/revolution/software/libraries/glx-application-framework/
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev
Thanks to all who replied to my question on interrupting a loop
with keyboard input, that was an interesting thread.
The next thing I'm trying to do is take a jpeg of vertical, right
to left Japanese text and move it smoothly across the window at
reading speed for a teleprompter app. I'm
Recently, Tim Selander wrote:
The next thing I'm trying to do is take a jpeg of vertical, right
to left Japanese text and move it smoothly across the window at
reading speed for a teleprompter app. I'm using the move image
command. The result is a little to jerky and stuttery.
Does Rev
Hi all,
Recently i saw a functional web interface
for a desktop application that runs as
a server.
Previously, i have seen the VLC player
interface running in a browser,
(Still think that an external for VLC could be
an excellent alternative to Quicktime)
also WinAmp and iTunes.
How difficult
On Thu, Dec 17, 2009 at 2:20 AM, J. Landman Gay jac...@hyperactivesw.comwrote:
Assuming three stacks in the same folder as your standalone, with the
defaultfolder set to that directory:
on shutdownRequest
repeat for each item i in stack1.rev,stack2.rev,stack3.rev
save stack i
close
Scott,
Thanks - shortening the changes in distance helped a lot. So it
appears Rev doesn't visibly move an image, it jumps it to the
next location.
If I move the image a pixel at a time, but tighten the loop to 2
or 3 milliseconds, things get pretty smooth. Now to test the
reading speed
Kay C Lan wrote:
Because I can never figure out the differences between Windows set ups and
Mac set ups, to lazy to keep track of the defaultFolder or whether I should
be using a specialFolder, and am sure that someone (me most likely) is
inadvertantly going to move a data stack to another
Thanks Sarah and Bj?rnke!
I had a funny feeling about the : colon after URLhowever, I could of
swore I lifted that script from one of the examples, and it had a colon in
there... In any case I removed it and it worked fine :-)
Bj?rnke, as for copying the sentence to the clipboard, is
On Thu, Dec 17, 2009 at 2:49 AM, Robert Brenstein r...@robelko.com wrote:
A tad safer and more general technique is to
put box before word 2 of tHtml
put /box after word 2 of tHtml
As other said, variable have htmltext property, just the content which can
be html, so you need to work with
Recently, Tim Selander wrote:
Thanks - shortening the changes in distance helped a lot. So it
appears Rev doesn't visibly move an image, it jumps it to the
next location.
Well, really any move is a jump to a new location. In the case of Rev's
move command, a move is based on several factors:
On Thu, Dec 17, 2009 at 11:22 AM, J. Landman Gay
jac...@hyperactivesw.comwrote:
Actually, I probably wasn't too clear. All that file path business was
mostly for opening files, not for re-saving them. Once they're open from
disk, the engine already knows the path, so save this stack is all
James,
Thanks for this, but starting the Turtle stack did not allow me to calculate
the angle. I got an error each time at Start Turtle. Is there a trick to
making the library accessible to other stacks?
Mark
On Dec 16, 2009, at 8:08 AM, James Hurley wrote:
Message: 24
Date: Tue, 15
On 12/16/09 8:04 PM, Kay C Lan wrote:
On Thu, Dec 17, 2009 at 2:49 AM, Robert Brensteinr...@robelko.com wrote:
A tad safer and more general technique is to
put box before word 2 of tHtml
put /box after word 2 of tHtml
As other said, variable have htmltext property, just the content
Colin,
Thanks, this appears to be a very succinct solution. Very much appreciated.
Mark
On Dec 16, 2009, at 8:01 AM, Colin Holgate wrote:
On Dec 16, 2009, at 1:21 AM, Mark Swindell wrote:
40,116
98,186
132,118
How would one determine the angle created from three points, such as those
Thank you to all who provided code suggestions and insight into solving this
problem (James, Colin, Mark W. gMc, Pierre, Jacques, Phil).
I'd have taken forever to figure this out without such a helpful (and clever)
bunch of allies.
Mark
On Dec 16, 2009, at 1:57 AM, gmccarthy wrote:
What
Hey, I'd happy to take the credit, but I don't think it was me. My brain
may have lost too many functioning cells, but I only recall creating a
splash screen for MC under Scott Raney and some answer dialog icons for MC
under Richard Gaskin.
I think it's about time Klaus Major changed the splash
Did you look at Animation Engine? Might be overkill for what you need
to do, but he does have some pretty slick smooth moving in there (even
on this old machine)..
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this
Using a Mac 10.6.2 RevPrintField function prints page within application being
design all okay - but not when exported as a standalone application and used on
a PC running Vista. It is only printing a BLANK page then.
My Script is:
On Mouseup
RevShowPrintDialog true, false
RevPrintField the
77 matches
Mail list logo