Re: Cut,Copy,Paste menus

2003-02-01 Thread Jeanne A. E. DeVoto
At 11:43 PM -0800 1/31/03, Ron wrote:
>Where should scripts that control the enabling/disabling of menuitems be
>placed? Obviously, the menu's mousedown message is not the place because it
>is not activated until I click in the menubar.

Actually, the best place is a mouseDown handler in the script of the menu
bar group.

Why in the mouseDown handler? Because mouseDown is sent before the menu is
displayed, so it's the best place to put menu changes that need to be done
"just in time".

Why in the group? Because on Mac OS and OS X systems, the menu doesn't get
a mouseDown message, but the group does.

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: create graphic and choose browse issues

2003-02-01 Thread Jeanne A. E. DeVoto
At 5:28 AM -0800 1/31/03, Jim Hurley wrote:
>>   send "choose browse tool" to me in 20 milliseconds
>
>Is there perhaps something  one might do in an openStack script to
>handle the issue throughout the stack?

Unfortunately, I can't think of anything other than a search-and-replace.
(But you should be able to do this fast with the Find dialog.)

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Line tracing-now applescript

2003-02-01 Thread sims

I just hadn't thought of uploading it there.  All I did was find a snippet
off the Web and modified it for the Rev type code, and then compiled it to a
droplet:





While this works great in OS 9 it fails in OS X, providing the "Nothing is
selected" feedback.

Hopoefully one of you AppleScript gurus can explain:  Why would the method
by which I'm obtaining the file list work perfectly in Classic but not in OS
X?


I cannot explain your script but here is one I use to change text files into
BBEdit files (I find BBEdit very handy), I just modified it for Rev.

Works here on 10.2.1 & 9.2

atb

sims
*

on run
	tell application "Finder"
		set theList to selection
		if (count items in theList) = 1 then
			set theList to {}
		end if
	end tell
	MakeAppleAliases(theList)
end run

on open theList
	MakeAppleAliases(theList)
end open

on MakeAppleAliases(theList)
	set NoItemsSelectedFlag to true -- initialize the flag
	tell application "Finder"
		repeat with x in theList
			set NoItemsSelectedFlag to false
			try
set the creator type of x to "Revo"
set the file type of x to "RSTK"
			on error
error "There was an error converting the file."
			end try
		end repeat
	end tell
	if NoItemsSelectedFlag then
		display dialog "You have not selected anything."
	end if
end MakeAppleAliases
--
---
   http://EZPZapps.com [EMAIL PROTECTED]
  Software - Internet Development - Consulting
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Moving graphic trashes visual effects?

2003-02-01 Thread Sannyasin Sivakatirswami

I suspect this is normal...

I put a big landscape into an image in the back ground of a stack and 
set it to move slowly from left to right over 60 seconds... Meanwhile I 
had previously build a "show" on the foreground layers which reveal 
images, reveal text with wipes up, down, to the right etc.

now, if I set the background graphic into motion, while it is moving 
all  the visual effects of the higher layered objects are "trashed" 
some shudder on reveal, wipes don't work at all... etc.

Normal?



Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]

www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Line tracing

2003-02-01 Thread Ken Ray
Richard,

It must be a bug in OS X. If you assign the value to a variable first, and
then get the count, you actually get the right number. For example, if you
select to documents in the Finder and do this:

tell application "Finder"
  get the number of items of the selection
end tell

...you get "0". But if you do this:

tell application "Finder"
  copy the selection to mySel
  get the number of items of mySel
end tell

... you get "2". Go figure...

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

- Original Message -
From: "Richard Gaskin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 01, 2003 4:34 PM
Subject: Re: Line tracing


> erik hansen wrote:
>
> >>> Richard Gaskin has this nifty AppleTalk
> >>> application he wrote to make
> >>> the conversion painlessly. You just have to
> >>> drag the document onto
> >>> the icon and presto, PC to Mac conversion. I
> >>> can send it to you off
> >>> line if you can't find it on his web site--I
> >>> am assuming it that is
> >>> alright with Richard???
> >>
> >> Absolutely, Jim.  Thanks for helping to spread
> >> it around where it can be useful.
> >
> > shouldn't the RunRev people
> > (when they get some time)
> > have "this nifty AppleTalk application"
> > installed on their site?
>
> It wouldn't be their doing -- I'd have to send it to them first. :)
>
> They have a great tools repository at
>
 tions.html> and are quick about posting new submissions.
>
> I just hadn't thought of uploading it there.  All I did was find a snippet
> off the Web and modified it for the Rev type code, and then compiled it to
a
> droplet:
>
> on open theList
> tell application "Finder"
> set selectionLength to number of items of selection
> if selectionLength = 0 then
> say "Nothing is [[emph +]] selected."
> else
> --  first change all the files selected
> set the creator type of every file of selection to "Revo"
> set the file type of every file of selection to "RSTK"
> end if
> end tell
> end open
>
>
> While this works great in OS 9 it fails in OS X, providing the "Nothing is
> selected" feedback.
>
> Hopoefully one of you AppleScript gurus can explain:  Why would the method
> by which I'm obtaining the file list work perfectly in Classic but not in
OS
> X?
>
> --
>  Richard Gaskin
>  Fourth World Media Corporation
>  Developer of WebMerge 2.2: Publish any database on any site
>  ___
>  [EMAIL PROTECTED]   http://www.FourthWorld.com
>  Tel: 323-225-3717   AIM: FourthWorldInc
>
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Change Resolution of JPEG?

2003-02-01 Thread Sannyasin Sivakatirswami
Is it possible to use or manipulate the imageData somehow to change the 
resolution of an image? Or, is importing a snap shot the only option to 
 get from a higher resolution to a lower resolution? I am not talking 
about JPEG Quality here, but going from a 200 DPI image to a 72 DPI 
version for the web or a thumbnail catalog.




Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]

www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pre-Beta for 2.0 for Mac OS

2003-02-01 Thread Alex Rice

On Saturday, February 1, 2003, at 12:37  PM, Kevin Miller wrote:


Again, if you don't consider yourself on the cutting edge, you may 
want to
hold off a bit longer.

Enjoy!

2.0 is shaping up to be a great product.

However, with this 2.0 pre-beta my personal opinion is that there is so 
much bugs and unfinished features that's is not possible for me to do 
any meaningful testing. I'm not really a cutting edge user, so 
hopefully others have ways of testing the IDE (like from the Message 
window)?

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Line tracing

2003-02-01 Thread Richard Gaskin
erik hansen wrote:

>>> Richard Gaskin has this nifty AppleTalk
>>> application he wrote to make
>>> the conversion painlessly. You just have to
>>> drag the document onto
>>> the icon and presto, PC to Mac conversion. I
>>> can send it to you off
>>> line if you can't find it on his web site--I
>>> am assuming it that is
>>> alright with Richard???
>> 
>> Absolutely, Jim.  Thanks for helping to spread
>> it around where it can be useful.
> 
> shouldn't the RunRev people
> (when they get some time)
> have "this nifty AppleTalk application"
> installed on their site?

It wouldn't be their doing -- I'd have to send it to them first. :)

They have a great tools repository at
 and are quick about posting new submissions.

I just hadn't thought of uploading it there.  All I did was find a snippet
off the Web and modified it for the Rev type code, and then compiled it to a
droplet:

on open theList
tell application "Finder"
set selectionLength to number of items of selection
if selectionLength = 0 then
say "Nothing is [[emph +]] selected."
else
--  first change all the files selected
set the creator type of every file of selection to "Revo"
set the file type of every file of selection to "RSTK"
end if
end tell
end open


While this works great in OS 9 it fails in OS X, providing the "Nothing is
selected" feedback.

Hopoefully one of you AppleScript gurus can explain:  Why would the method
by which I'm obtaining the file list work perfectly in Classic but not in OS
X?

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Line tracing

2003-02-01 Thread erik hansen

--- Richard Gaskin <[EMAIL PROTECTED]>
wrote:
> Jim Hurley wrote:
> 
> >> erik hansen  wrote:
> >> 
> >> always read the fine print.
> >> now i can't get it to open.
> >> which app opens this Simpletext doc?
> >> ahhh! RunRev is.
> >> hey, this is fun!
> > 
> > Eric,
> > 
> > I suspect the problem you are having is in
> converting the document
> > from PC to Mac.
> > 
> > Richard Gaskin has this nifty AppleTalk
> application he wrote to make
> > the conversion painlessly. You just have to
> drag the document onto
> > the icon and presto, PC to Mac conversion. I
> can send it to you off
> > line if you can't find it on his web site--I
> am assuming it that is
> > alright with Richard???
> 
> Absolutely, Jim.  Thanks for helping to spread
> it around where it can be useful.

shouldn't the RunRev people 
(when they get some time)
have "this nifty AppleTalk application"
installed on their site?

=
[EMAIL PROTECTED]http://www.erikhansen.org

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Line Tracing

2003-02-01 Thread erik hansen

--- Roger Guay <[EMAIL PROTECTED]> wrote:
> Thanks to all who have responded to this Line
> tracing thing.

it is great that all of the geometry education
interests are in touch with each other. improved
code and less duplication of effort.

=
[EMAIL PROTECTED]http://www.erikhansen.org

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Printing Docs

2003-02-01 Thread Kevin Miller
On 30/1/03 10:12 pm, Howard Bornstein <[EMAIL PROTECTED]> wrote:

> OK, the big push to get lots of new stuff in 2.0 is almost done, but I'll
> guarantee that it will also include a lot of bugs. Next, we'll need to
> get those bugs fixed as soon as possible. It should be the primary
> priority.

Agreed.  Overall, the plan this year is to have a different emphasis and
release frequency from last year.

Kind regards,

Kevin

Kevin Miller <[EMAIL PROTECTED]> 
Runtime Revolution Limited - The Solution for Software Development
Tel: +44 (0) 870 747 1165.  Fax: +44 (0)1639 830 707.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Pre-Beta for 2.0 for Mac OS

2003-02-01 Thread Kevin Miller
Hi,

For those of your who are particularly adventurous (and we recommend this
for more advanced users only at this stage) you can now download a pre-Beta
for Mac OS X (and a partial build for Mac OS 9) of 2.0 from:

http://www.runrev.com/revolution/previews/

Windows and Linux will follow sometime tomorrow - we have the links up but
they don't work until we finish building, and it being Saturday night, some
people have gone home ;-)

Please read all the instructions.  We'll be doing regular updates to this
from now until release, this is the first publicly available snapshot.
Again, if you don't consider yourself on the cutting edge, you may want to
hold off a bit longer.

Enjoy!

Kind regards,

Kevin

Kevin Miller <[EMAIL PROTECTED]> 
Runtime Revolution Limited - The Solution for Software Development
Tel: +44 (0) 870 747 1165.  Fax: +44 (0)1639 830 707.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Line Tracing

2003-02-01 Thread Roger Guay
Thanks to all who have responded to this Line tracing thing.  Here is 
another iteration.

Date: Sat, 1 Feb 2003 04:51:22 -0800
To: [EMAIL PROTECTED]
From: Jim Hurley <[EMAIL PROTECTED]>
Subject: Line tracing



I think I see the problem. It is not a difficulty with refreshing the
screen but the very large sampling times in the  trajectory
equations. If you  change "add 1 to T" to "add .05 to T" you  will
get a much smoother motion.  At least it does on my PowerBook running
OS 8.6


I have no problem with the motion . . . it's very smooth on my new iMac 
and several PC's I use. But you're right about the sampling time being  
a critical consideration.

But I thought you wanted a line drawn in the  wake of the graphic  
motion?

Yes, that's exactly what I am trying to do.  What I am trying to do 
reminds me of an oscilloscpoe where the persistence of the screen 
results in a line/trace from a moving spot on the screen.

I couldn't try your sound effects. They should add a nice touch to
the visual. I have seen discussions on this list of problems with
sound effects timing; that could be a conflict for you. I can't help
you there.


Since you're interested, I've emailed you privately to offer the 
download of my stack along with it's sound files.
I've experienced no timing problems with the sounds on my machines.

You  will find a number of these problems in dynamics illustrated in
the demo on the RR web site on the Education page including  the
projectile motion you are working on as well as planetary motion,
Kepler's 2nd law (planets sweep out equal areas in equal times), the
voyager sling shot effect as it moved around Jupiter and others. The
graphic I use there is the turtle, which I represent with an arrow
icon, which allows me to show heading as well as position. But it is
easily modified to move any one or more RR controls (buttons, fields,
graphics, images, etc.). You have the option of leaving a line in the
turtle's wake or not.


I've briefly looked at your TurtleGraphicsDemo and I'm very impressed.  
I haven't had time to understand the "Turtle" aspect yet, but I will 
have a closer look.  I've been toying with the idea of simulating a 
typical Science Museum Foucault Pendulum, where a beautiful pattern is 
traced in the sand by the pendulum.  I would like to generate those 
patterns by running the equation of motion of the Foucault Pendulum.  I 
think this is not going to be easy because if I recall correctly, this 
is a non-linear differential equation.  But, I'm ignorant enough to 
proceed anyway.

Thanks, Roger

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: All about plugin

2003-02-01 Thread Steve Wagenseller
Greetings, all. I'm new to the list (re-newed, actually), but I've been 
doing RR (and HyperCard before that for years).

I'm moving some HC stacks to Rev and I'm direly in need of the Unicode 
service of the new version. Is it possible for me to check out how that 
feature works via the 2.0 beta? (I have a professional users license.) 
Thanks for any help and advice.

S.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Line Tracing

2003-02-01 Thread Roger Guay
Have you had a look at the 'move' command? It's at the
heart of the RunRev Animation Manager, and you should
be able to create a smooth movement by setting a
series of points and letting the object travel along
those points with a 'move' statement.

Just a thought,

Jan Schenkel.


Yes Jan, the move command works well but again, it doesn't do what I'm 
trying to do.  I not only want to move a graphic but I want it to trace 
a line behind it.

Thanks, Roger

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: bad factor

2003-02-01 Thread Wolfgang M. Bereuter

On Freitag, Jänner 31, 2003, at 05:54  Uhr, Ken Ray wrote:


Oh, and one other thing - make sure you put quotes around the name of
objects. Revolution is smart enough to interpret things *without* 
quotes,
but if you use quotes you will (a) make things clearer in your 
scripts, and
(b) remove any possible confusion that Rev might encounter. So use 
this:

  set the hilite of btn "Banana" to true

instead of this:

  set the hilite of btn Banana to true

Just my $0.02,

And this tip is not only worth 2 cent, believe me that..;)

regards
Wolfgang M. Bereuter

Learn easy with trainingsmaps©

INTERNETTRAINER Wolfgang M. Bereuter
Edelhofg. 17/11, A-1180 Wien, Austria
...
http://www.internettrainer.com, [EMAIL PROTECTED]
...
Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Revolution Hand book ??

2003-02-01 Thread Alex den Ouden
Hello:  I am an old time hypercard user and recently discovered 
revolution.
Question is there a Revolution Hand Book and do you sell it ?
Thank you.
Alex den Ouden
Bloemendaal 19
Bergen op Zoom
4614CX
Netherlands
http://denouden.tiscaliweb.nl

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] Pantone to RGB

2003-02-01 Thread Roger . E . Eller

Announcing "Pantone to RGB". This stack has been posted to User
Contributions. It was just a little color learning exercise that my
colleague and I threw together one afternoon. We were pleased with the end
result and decided to share it with the nice people of this list.

http://www.runrev.com/revolution/developers/developerdownloads/usercontributions.html

Enjoy.

Roger Eller <[EMAIL PROTECTED]>  and James Cass
<[EMAIL PROTECTED]>



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Line tracing

2003-02-01 Thread Richard Gaskin
Jim Hurley wrote:

>> erik hansen  wrote:
>> 
>> always read the fine print.
>> now i can't get it to open.
>> which app is good to open this Simpletext doc?
>> ahhh! RunRev is.
>> hey, this is fun!
> 
> Eric,
> 
> I suspect the problem you are having is in converting the document
> from PC to Mac.
> 
> Richard Gaskin has this nifty AppleTalk application he wrote to make
> the conversion painlessly. You just have to drag the document onto
> the icon and presto, PC to Mac conversion. I can send it to you off
> line if you can't find it on his web site--I am assuming it that is
> alright with Richard???

Absolutely, Jim.  Thanks for helping to spread it around where it can be
useful.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Line tracing

2003-02-01 Thread Jim Hurley
Roger Guay Wrote:




(snip)


on MouseUp
   global V, Xo, Yo, Theta, T, X
   --put item 1 of the rect of graphic "Yaxis" into  Xo.  Yaxis is a
vertical line and Xo,Yo define the origin of motion
   --put item 4 of the rect of graphic "Yaxis" into  Yo.
   put field "V" into V try a value of about 27 in field "V"
   Put the value of field "Theta" into Theta  try a value of 1.2 
in field "Theta"
   set the loc of graphic "mortor" to Xo,Yo    Graphic "mortor" is a
small red round ball.
   show graphic "mortor"
   put 0 into T
   put xo into x
   put Yo into y
   play "Mortor.aiff"
   repeat while Y <= Yo + 1
 add 1 to T
 put the value of (Xo+V*cos(Theta)*T ) into x
 put the value of (Yo - V*sin(Theta)*T + .5*T^2  ) into Y
 set the loc of graphic "mortor" to X,Y
 wait 1
   end repeat


Roger,

P.S.

You may want to consider using: sin(Theta*180/pi) so that you can use 
degrees instead of radians in you angle field. Or perhaps write a 
separate function:

function sine ang
  return sin(ang*180/pi)
end sine

And do the same for cosine.

Jim
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Line tracing

2003-02-01 Thread Jim Hurley

 erik hansen  wrote:

always read the fine print.
now i can't get it to open.
which app is good to open this Simpletext doc?
ahhh! RunRev is.
hey, this is fun!


=
[EMAIL PROTECTED]http://www.erikhansen.org



Eric,

I suspect the problem you are having is in converting the document 
from PC to Mac.

Richard Gaskin has this nifty AppleTalk application he wrote to make 
the conversion painlessly. You just have to drag the document onto 
the icon and presto, PC to Mac conversion. I can send it to you off 
line if you can't find it on his web site--I am assuming it that is 
alright with Richard???

If you have anything like ResEdit you can do it manually. You have to 
change the type to RSTK and the creator to Revo

I submitted it as a Mac document but, alas, it was converted to a PC document.

--
Jim Hurley
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Line tracing

2003-02-01 Thread Jim Hurley
Roger Guay Wrote:

Sarah, Jim

What I'm trying to do is trace a line in time as a ball is moved across
the screen.  Near as I can tell, I want the screen to update but not
redraw (if that makes any sense?)  I've done this in ToolBook on the PC
but I much prefer to stay on my Mac.  Here is a description of my stack:

Create a vertical line and label it "Yaxis" and an horizontal line and
Label it  "Xaxis" such that they intersect and define the origin 
somewhere near the lower left corner of your stack.  Create a brightly
colored circle graphic and name it "Ball."  Create 2 fields, one for
Theta so labeled which defines the angle from the horizon that the ball
is being fired, and one for V so labeled which defines the velocity of
the ball when fired.  Create a "Fire" button and insert the following
script:

on MouseUp
   global V, Xo, Yo, Theta, T, X
   --put item 1 of the rect of graphic "Yaxis" into  Xo.  Yaxis is a
vertical line and Xo,Yo define the origin of motion
   --put item 4 of the rect of graphic "Yaxis" into  Yo.
   put field "V" into V try a value of about 27 in field "V"
   Put the value of field "Theta" into Theta  try a value of 1.2 in
field "Theta"
   set the loc of graphic "mortor" to Xo,Yo    Graphic "mortor" is a
small red round ball.
   show graphic "mortor"
   put 0 into T
   put xo into x
   put Yo into y
   play "Mortor.aiff"
   repeat while Y <= Yo + 1
 add 1 to T
 put the value of (Xo+V*cos(Theta)*T ) into x
 put the value of (Yo - V*sin(Theta)*T + .5*T^2  ) into Y
 set the loc of graphic "mortor" to X,Y
 wait 1
   end repeat
	--  the rest of the script results in a silly explosion at the
last location of the mortor ---
   play  "Boom.aiff"
   hide graphic "mortor"
   set the loc of graphic "Burst" to x,Yo
   repeat 35
 show graphic "burst"
 wait 1
 hide graphic "burst"
 wait 1
   end repeat
end MouseUp



Jim has actually provided a solution for me that works well if I insert
"wait .01" in his repeat loops.  I can only assume it has something to
do with processing speed of the computer (I'm using a high end iMac
with OS X.)  Without the "wait" command in the repeat loop, Jim's
scripts are very choppy on my computer.

Finally, as I say, Jim's solution works well but I think it would
nevertheless be more "elegant" to do this as I have in ToolBook where
one is able to stop the screen redraw.

Thanks very much for joining in the fun, Roger


Roger,

I think I see the problem. It is not a difficulty with refreshing the 
screen but the very large sampling times in the  trajectory 
equations. If you  change "add 1 to T" to "add .05 to T" you  will 
get a much smoother motion.  At least it does on my PowerBook running 
OS 8.6

But I thought you wanted a line drawn in the  wake of the graphic  motion?

I couldn't try your sound effects. They should add a nice touch to 
the visual. I have seen discussions on this list of problems with 
sound effects timing; that could be a conflict for you. I can't help 
you there.

You  will find a number of these problems in dynamics illustrated in 
the demo on the RR web site on the Education page including  the 
projectile motion you are working on as well as planetary motion, 
Kepler's 2nd law (planets sweep out equal areas in equal times), the 
voyager sling shot effect as it moved around Jupiter and others. The 
graphic I use there is the turtle, which I represent with an arrow 
icon, which allows me to show heading as well as position. But it is 
easily modified to move any one or more RR controls (buttons, fields, 
graphics, images, etc.). You have the option of leaving a line in the 
turtle's wake or not.

Good luck with  your project. The sound  effects are  a nice touch.

Jim
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Setting Pixels - Clarification

2003-02-01 Thread paolo mazza
Ken wrote:

This is something that as you identified is too slow to be done in 
regular
Transcript. You need the help of an external to do the processing of 
the
imageData for you. You might want to check out Chipp Walters' image 
tools
at:

http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm

There's image compositing and convolution matrix utilities there that 
use an
external for speed.


There is an external for Windows (ddl). How can I get en external for 
MAC to speed up the process?

Best regards,

Paolo Mazza

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] - Mac OS X Unix book

2003-02-01 Thread Richard Gaskin
Derek Huby wrote:

> Also, in some obscure way, Revolution can do some useful stuff in this
> world...

And maybe not so obscure.  Given the speed and flexibility of the engine, C
could be relegated for operating systems and only core routines of
applications.  A smart large company could save significant costs by
building something like, say, GoLive by using Rev to handle 90% of the UI
and then hooking into the window content region with an external for
computationally-intensive stuff like GoLive's Layout mode display.

But even just using native Transcript can deliver a significant subset of
applications that are currently built with C at an exponentially greater
cost.

My MetaCard-based WebMerge application has been mistaken for being C++-based
more than once.  Maybe that's not that far out of line, given that in such a
high-level tool your scripts are only a small part of what's going on, with
most of the action taking place in highly-optimized C++ in the engine.

 
> So, I bought a book. I've just received 'Unix for Mac OS X', a 'Visual
> Quickpro Guide' by Matisse Enzer, published by Peachpit press. The contents
> look hopeful, and I'm quite optimistic that in 520 pages time I might
> actually understand some of the things that the Unix experts are writing
> about. Any other Unix-naïve (or is that Unix-innocent ?) OS X users of
> Revolution might consider giving it a look. (I own no shares in the
> publishers!)

Me neither, but I've been impressed with the instructional design of the
Visual Quick Pro series for some years, and have found them a greay way to
get a quick grok.

Didn't know about the "Uix for Mac OS X" book -- thanks for posting that.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: FAQs from this list...

2003-02-01 Thread Richard Gaskin
Dave LeYanna wrote:

>> On Thursday, January 30, 2003, at 09:29  AM, Dave LeYanna wrote:
>>> 
>>> I would be willing to start one if the work won't be a duplication or
>>> help if there are already efforts afoot. I know that there is a lot of
>>> editing involved and am aware of what I'm getting into.
>>> 
>>> Any thoughts?
>> 
>> I think that the RevNet plugin (http://www.fourthworld.com/rev/ is pretty
>> cool and because it has sections for Tips, Links and Stacks, it's kind of
>> like a FAQ-plus!
>> 
>> Alex Rice, Software Developer
>
> VERY nice resource!
> I have only browsed it a little and it looks as though most of the function
> require on-line access to use. I am quite often off-line with my notebook
> (redeeming the time) and would probably like to flag certain things to be
> available locally. I'll play with it some more.
> 
> This resource should be one of the first things "newbees" should be made
> aware of...

Thank you for the kind words about RevNet.

Yes, RevNet is as much a file sharing index for developers as much it is an
information directory, so relying on an Internet connection allows us
real-time updates of contributions.

Another element is simply the joy of a fun "proof of concept", an attempt to
answer this question:  How many hours would it take one person armed with
Revolution to build what takes a small army of engineers several months to
do at AOL?

If AOL-TimeWarner had an eye for return on investment (and with a $99
billion loss perhaps they don't ) they'd jump at the chance to re-build
AOL in Revolution.  They'd have one code base for every platform, a Linux
version, simultaneous rollout for new versions across platforms, and they'd
probably spend less on the complete re-build than they do now on a single
upgrade.

:)

BTW: If you decide to compile an FRQ for Rev drop me a note.  I have some
FAQ-building tools I could pass to you and maybe we could add access to it
into RevNet.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



[OT] - Mac OS X Unix book

2003-02-01 Thread Derek Huby
As a Revolution user on OS X - but with no knowledge of Unix - I've often
been intrigued (perplexed?) by some of the very knowledgeable contributions
to this list that relate to strange Unix things like CGI, faceless
applications and so on. It's become disturbingly clear that here's another
world lurking deep in the innards of this machine - and it's a world where
the normal rules don't apply, and where a strange language is spoken :-)

Also, in some obscure way, Revolution can do some useful stuff in this
world...

So, I bought a book. I've just received 'Unix for Mac OS X', a 'Visual
Quickpro Guide' by Matisse Enzer, published by Peachpit press. The contents
look hopeful, and I'm quite optimistic that in 520 pages time I might
actually understand some of the things that the Unix experts are writing
about. Any other Unix-naïve (or is that Unix-innocent ?) OS X users of
Revolution might consider giving it a look. (I own no shares in the
publishers!)

Have a good weekend,

Derek

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Cut,Copy,Paste menus

2003-02-01 Thread Jan Schenkel
--- Ron <[EMAIL PROTECTED]> wrote:
> Hi Jan
> Thanks for the suggestion. I've included the
> handlers as they were in my
> stacks. As you can see, the menuitems only get
> changed when the menubar is
> clicked in. I'll look into locating some of the
> script in the
> selectionchanged message. What do you think?
> 
> >> Where should scripts that control the
> >> enabling/disabling of menuitems be
> >> placed? Obviously, the menu's mousedown message
> is
> >> not the place because it
> >> is not activated until I click in the menubar.
> >> 
> >> All I'm trying to do is provide standard text
> editor
> >> behavior to the stack.
> >> Things including but not exclusively:
> >> 
> >> cursor in a fld - enable past
> >> selectedtext - enable cut,copy
> 
> > 
> > You could add openField and selectionChanged
> handlers
> > to your mainStack script to this effect.
> > You'll probably also want to trap the rawKeyDown
> > message because no selectionChanged is sent when
> you
> > use the arrowkeys.
> 
> This is what I had in my openfield handler:
> on openfield
>   enable menu 2 --the edit menu
>   if the clipboard is "text" then enable menuitem 4
> of menu 2 --paste
>   else disable menuitem 4 of menu 2
>   put word 2 of the selectedfield into thefld
>   if therefld is not "" then put fld thefld of the
> topstack into thetext
>   if thetext is not "" then  --check if text is in
> the fld
> enable menuitem 6 of menu 2 --sel all
> enable menuitem 8 of menu 2 --find
> enable menuitem 8 of menu 1 --export text
> enable menuitem 11 of menu 1 --print text
>   end if
>   enable menu 4 --format menu
>   pass openfield
> end openfield
> 
> [snip]

Hi Ron,

Glad to see you're making progress. Though some of it
could be simplified by using 'the target' and 'the
selection', it is the way to go for you :-)
Under Windows or any of the Un*xes you could have
moved the 'mouseDown' handler into a 'mouseEnter'
handler ; but as menus are a different animal in
MacOS, that message probably wouldn't be sent (though
I can't check that right now).

Jan Schenkel.

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Minor Demo Update/Notice

2003-02-01 Thread miscdas
Howard Bornstein writes: 

Just enter the following line in your message box: 

 go stack url "http://www.tactilemedia.com/panel.mc";
 

Hmm. Did that and got this message: 

"stack is corrupted, check for ~ backup file" 

???
=
Mr. Bornstein, 

Worked fine for me.
==
Mr. Hurley, 

This is a very nice offerring. Could you modify the Close button so it is 
more easily found? It is very small and the same color as the player. 

miscdas 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Cut,Copy,Paste menus

2003-02-01 Thread Ron
Hi Jan
Thanks for the suggestion. I've included the handlers as they were in my
stacks. As you can see, the menuitems only get changed when the menubar is
clicked in. I'll look into locating some of the script in the
selectionchanged message. What do you think?

>> Where should scripts that control the
>> enabling/disabling of menuitems be
>> placed? Obviously, the menu's mousedown message is
>> not the place because it
>> is not activated until I click in the menubar.
>> 
>> All I'm trying to do is provide standard text editor
>> behavior to the stack.
>> Things including but not exclusively:
>> 
>> cursor in a fld - enable past
>> selectedtext - enable cut,copy

> 
> You could add openField and selectionChanged handlers
> to your mainStack script to this effect.
> You'll probably also want to trap the rawKeyDown
> message because no selectionChanged is sent when you
> use the arrowkeys.

This is what I had in my openfield handler:
on openfield
  enable menu 2 --the edit menu
  if the clipboard is "text" then enable menuitem 4 of menu 2 --paste
  else disable menuitem 4 of menu 2
  put word 2 of the selectedfield into thefld
  if therefld is not "" then put fld thefld of the topstack into thetext
  if thetext is not "" then  --check if text is in the fld
enable menuitem 6 of menu 2 --sel all
enable menuitem 8 of menu 2 --find
enable menuitem 8 of menu 1 --export text
enable menuitem 11 of menu 1 --print text
  end if
  enable menu 4 --format menu
  pass openfield
end openfield

In my menu's mousedown handler I had the following:
-set up menuitems-
  put word 2 of the selectedfield into thefld
  if thefld is not "" then  -The cursor is in a fld
if the clipboard is "text" then enable menuitem 4 of menu 2 --paste
else disable menuitem 4 of menu 2
put fld thefld of the topstack into thetext
put the hold of fld thefld of the topstack into thehold
  end if
  if thetext is not "" then   ---There is some text in the fld---
enable menuitem 6 of menu 2 --sel all
enable menuitem 8 of menu 2 --find
enable menuitem 8 of menu 1 --export text
enable menuitem 11 of menu 1 --print text
  else
disable menuitem 6 of menu 2
disable menuitem 8 of menu 2
disable menuitem 8 of menu 1
disable menuitem 11 of menu 1
  end if
  if thehold <> thetext then
enable menuitem 6 of menu 1
  else
disable menuitem 6 of menu 1
  end if

  if the selectedtext is not "" then  -There is some selected
text
enable menuitem 1 of menu 2 --cut
enable menuitem 2 of menu 2 --copy
  else
disable menuitem 1 of menu 2
disable menuitem 2 of menu 2
  end if

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: OT: FooBar (was Bad Factor)

2003-02-01 Thread Dave LeYanna
I feel so sheepish! I just followed and believed! I never dawned on me that 
the relationship between "fubar" and "foobar" could have started in one 
person's head just because they liked the sound! Now that I think about it 
there is nothing fubarish about foobat except the sound.

While your post may not have advanced the science of xTalk very much, it 
sure reminded me to watch out who/what I submit to as an authority. Those 
darn official looking  and sounding web pages! Just because Google gives 
doesn't mean we must accept.

djl

At 03:06 PM 1/31/03 -0700, you wrote:

On Friday, January 31, 2003, at 02:37 PM, Alex Rice wrote:


Correct, but it's more interesting than that. The metasyntactic "foo" was 
adopted into the "fubar" phase as "foobar". But foo is the real 
interesting character of the bunch. The Jargon File has a lengthy and 
interesting entymology of foo.

They may be related, but I have never seen these associated.  "foobar" is 
an arbitrary symbol.  I have never seen it related to fubar.  I expect 
somebody liked the idea of their being related and associated the two.

I first saw foo and foobar in some lisp code in the 50s.  It seems like I 
have seen early lisp code that used foo without a related foobar.
I'm not sure, but I think I have seen it in a logic paper from the 30's or 
40's, maybe earlier.

My guess is that foobar is not related to fubar.

Dar

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

==
||   Dave LeYanna ||
||   Director IS   ||
||   Right to Life of Michigan||
==

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Cut,Copy,Paste menus

2003-02-01 Thread Jan Schenkel
--- Ron <[EMAIL PROTECTED]> wrote:
> Okay, a little progress. Instead of trying to fix my
> broken stack, I tried
> to break the simple stack using scripts from the
> broken one. It looks like
> I'm sending menumessages to a disabled menu and it
> doesn't respond (duh). So
> my question should be:
> 
> Where should scripts that control the
> enabling/disabling of menuitems be
> placed? Obviously, the menu's mousedown message is
> not the place because it
> is not activated until I click in the menubar.
> 
> All I'm trying to do is provide standard text editor
> behavior to the stack.
> Things including but not exclusively:
> 
> cursor in a fld - enable past
> selectedtext - enable cut,copy
> 
> Thanks
> Ron
> 

Hi Ron,

You could add openField and selectionChanged handlers
to your mainStack script to this effect.
You'll probably also want to trap the rawKeyDown
message because no selectionChanged is sent when you
use the arrowkeys.
If you also have list fields in your app, you might
want to add checks for that so things don't get messy.

Hope this helped,

Jan Schenkel.

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution