Re: Excessive Quoting

2003-08-14 Thread Ken Norris
Rev group,

> Date: Thu, 14 Aug 2003 10:48:10 -0700
> Subject: Excessive Quoting
> From: Dan Shafer <[EMAIL PROTECTED]>

SNIP
> A few moments time taken before
> responding to a post to be sure that everything that our reply carries
> with it is really germane and helpful would save lots of bandwidth and
> tons of reading/scanning time, particularly for those of us who get the
> digest form of the list.
--
Amen! How about making next week 'Be Kind To Digest Readers Week'! Most of
the time it's just not necesssary to leave the entire quoted text of a
previous post when you reply. And the HTML garbage drives us crazy, too. In
this case, I thought the above single sentence bears repeating, but that's
all.

Ken N.

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


Re: Revolution speed sucks?

2003-08-14 Thread Alex Rice
On Saturday, August 9, 2003, at 07:06  PM, Scott Rossi wrote:

The subject line bugs me. People do get protective of their favorite
programming tools you know :-)
A small request: let's not start a "no bashing the tool" movement.
Fine by me, however if someone posts "this tool sucks and is slow", and 
doesn't post any algorithm or benchmarks or any other objective means 
to discuss it, then in my book it's just flame-bait.

I don't want to be policed either.

Me, who uses PHP and Perl often instead of Rev.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Revolution speed sucks?

2003-08-14 Thread miscdas
Richard Gaskin writes: 

Alex Rice wrote: 

On Saturday, August 9, 2003, at 07:06  PM, Scott Rossi wrote: 

The subject line bugs me. People do get protective of their favorite
programming tools you know :-)
A small request: let's not start a "no bashing the tool" movement.
Fine by me, however if someone posts "this tool sucks and is slow", and
doesn't post any algorithm or benchmarks or any other objective means
to discuss it, then in my book it's just flame-bait. 

I don't want to be policed either.
Agreed.  Self-restraint through simple professionalism should be sufficient.
Ah, yes "S H O U L D"...  One of the great words in the language that so 
rarely reflects reality. So please, let's get real.
= 

--
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web 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


RE: Convert frequency to RGB

2003-08-14 Thread Monte Goulding

Hi Jim

If you are interested to offer a transcript translation of this code to be
included in libColor then please email me off list:
[EMAIL PROTECTED]

Ideally if it were to be in libColor I'd like a WavelengthToRGB function and
an RGBToWavelength function.

Incase you don't know libColor is a public color format conversion library
with a number of contributors. It has one main function: libColor_Convert
and can convert colors from a any of a wide range of formats to any of a
wide range of formats.

You can download if from http://www.sweattechnologies.com/rev

Cheers

Monte

PROCEDURE WavelengthToRGB(CONST Wavelength:  Nanometers;
  VAR R,G,B:  BYTE);
  CONST
Gamma=   0.80;
IntensityMax = 255;
  VAR
Blue   :  DOUBLE;
factor :  DOUBLE;
Green  :  DOUBLE;
Red:  DOUBLE;
  FUNCTION Adjust(CONST Color, Factor:  DOUBLE):  INTEGER;
  BEGIN
IF   Color = 0.0
THEN RESULT := 0 // Don't want 0^x = 1 for x <> 0
ELSE RESULT := ROUND(IntensityMax * Power(Color * Factor, Gamma))
  END {Adjust};
BEGIN
  CASE TRUNC(Wavelength) OF
380..439:
  BEGIN
Red   := -(Wavelength - 440) / (440 - 380);
Green := 0.0;
Blue  := 1.0
  END;
440..489:
  BEGIN
Red   := 0.0;
Green := (Wavelength - 440) / (490 - 440);
Blue  := 1.0
  END;
490..509:
  BEGIN
Red   := 0.0;
Green := 1.0;
Blue  := -(Wavelength - 510) / (510 - 490)
  END;
510..579:
  BEGIN
Red   := (Wavelength - 510) / (580 - 510);
Green := 1.0;
Blue  := 0.0
  END;
580..644:
  BEGIN
Red   := 1.0;
Green := -(Wavelength - 645) / (645 - 580);
Blue  := 0.0
  END;
645..780:
  BEGIN
Red   := 1.0;
Green := 0.0;
Blue  := 0.0
  END;
ELSE
  Red   := 0.0;
  Green := 0.0;
  Blue  := 0.0
  END;
  // Let the intensity fall off near the vision limits
  CASE TRUNC(Wavelength) OF
380..419:  factor := 0.3 + 0.7*(Wavelength - 380) / (420 - 380);
420..700:  factor := 1.0;
701..780:  factor := 0.3 + 0.7*(780 - Wavelength) / (780 - 700)
ELSE   factor := 0.0
  END;

  R := Adjust(Red,   Factor);
  G := Adjust(Green, Factor);
  B := Adjust(Blue,  Factor)
END {WavelengthToRGB};

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


Re: hide group - what gives?

2003-08-14 Thread Sarah
Hi Rodney,

It looks a bit as if you have multiple groups. Check the Application 
Browser and make sure that the group you are hiding is actually the 
group that contains the items you want to hide. This could explain your 
selection problems too.

Hiding a group works fine for me i.e. it makes all the components of 
that group disappear. There is one
trap that caught me yesterday: even though the members of the group 
cannot be seen, their "visible" property is still set to true. It is 
the group's visible property that is false. So don't base any other 
scripts on the visible of part of a group :-)

Cheers,
Sarah
[EMAIL PROTECTED]
http://www.troz.net/Rev/
On Monday, August 11, 2003, at 11:18  pm, Rodney Tamblyn wrote:

In Metacard hiding a group makes the group and all it's members 
invisible... but in revolution it just hides the group element itself. 
 Can someone enlighten me why this is and how I can go about getting 
back the desired behavour?

Thanks.

~ Rodney

--
Rodney Tamblyn
44 Melville Street
Dunedin
New Zealand
+64 3 4778606
http://rodney.weblogs.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Centering an object in a window

2003-08-14 Thread Monte Goulding

>
> I'm not sure if this is the proper method but it worked so I thought
> I'd post it.
>
> on centerTheObject
>global theObject
>set the loc of theObject to (item 1 of the localloc of the loc of
> this stack) ,\
>   (item 2 of the localloc of the loc of this stack)
> end centerTheObject
>
> In the script that calls the above, I use:
>
> put myObject into theObject
> -- "myObject" for example being "field m144" (using quotes)
>
> Hope this helps someone.
>

Hey Barry

That seems to work but you can also use the loc of the card to get the same
result.

Over on the improve list there is a discussion on using setProp handlers to
improve the syntax of things like this. To do that you could have a setProp
handler such as:

/**
this wouldn't do quite the same (it would also center grouped objects
relative to the group rather than card)
*/

setProp centered pBoolean
  if pBoolean then
set the loc of the target to the loc of the owner of the target
  end if
end centered

Then you can do the following:

set the centred of me to true

or

set the centred of btn 1 to true

Cheers

Monte

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


Teams

2003-08-14 Thread Troy Rollins
(Resend)

Greetings,

I've been away from working in Rev a while (off working mostly in 
Director, as that is what the clients wanted.)

My company holds one "active" "pro" license and another "dormant." (One 
is paid up on renewals, the other not.)

We have some projects which Rev is suited for coming up. We have also 
been doing some work in RealBasic, where we have 2 pro licenses as 
well. So, team development is very important to us.

RB lured us with a project management feature, which incidentally, does 
not work. But then, the "Project Manager" module is in beta - and as we 
all know, "beta" means "lower your expectations of stability."

I'm curious if anyone on this list actively develops software in teams 
(more than actively coding developer, plus other support people), and 
what techniques you are employing for maintaining a synchronized 
modular team project - ideally through a server.

This functionality is pretty important if you have more than one 
developer on a team.

Anyone doing anything in this way?

(NOTE : The "RBPM" mentioned above works (if it worked) much like 
WebDav, with the ability to log in to a project, check out specific 
items for editing, and maintain synchronization of the latest versions. 
Like CVS but more simple and seamless.)

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Revolution speed sucks?

2003-08-14 Thread Brian Yennie
While the interest in fairnes is appreciated, if you're using fields 
instead
of variables it tilts away from Rev unfairly, as Perl has no rich-text 
field
objects to contend with.
I'm not using fields at all: I'm writing directly to text files. I also 
ran both in the script engine (no GUI at all) and in the GUI 
application with no GUI interaction (script gets compiled and gains a 
speedup).  The scripts don't have any major differences like this that 
I can see: they read and write the same files, use the same loops, etc.

But even if algorithmically identical, one of the factors in choosing 
a tool
is to exploit its unique strengths.  For example, for many tasks simple
chunk expressions are far faster than the more generalized RegEx, but 
chunk
expressions are only found in xTalks (definitely an "unfair" advantage 
of
Rev over even some 3GLs ).
Completely agreed. There are absolutely tasks for which each tool 
shines. If this script was full of "last char of item 4 of line -3 of 
myVariable", the Perl would be virtually unreadable.

I wouldn't even attempt a Perl-based GUI app, and I doubt I'd write a 
complex pattern-matching server-side script in MetaTalk either. Of 
course, both tasks are possible.

In the end, none of this should be considered to be anything 
approaching an exhaustive comparison of the two engines: just a direct 
comparison of a particular task with a particular algorithm. I'd love 
to see more, and I invite others to investigate the scripts in question 
and/or do the same thing with others.

-
Brian Yennie
Chief Technology Officer
QLD Learning, LLC
(904)-997-0212
[EMAIL PROTECTED]
--
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: graphic antialiasing [was Re: Amazing Splash Screen Effect...]

2003-08-14 Thread Richard Gaskin
Dar Scott wrote:

> I thought the feature request form was depreciated.

Hmmm... maybe the "Enhancement" report type option is the way to go.

If the request form has been depricated then a redirect for that URL to
Bugzilla would take less than a minute in GoLive and remove any ambiguity.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web 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: graphic antialiasing [was Re: Amazing Splash Screen Effect...]

2003-08-14 Thread Dar Scott
On Tuesday, August 5, 2003, at 12:38 AM, Alex Rice wrote:

The lack of anti-aliasing means that Rev can't really claim to be a  
multimedia tool and
also is a disadvantage for charting etc in data management and
representation apps.
Well it's still a multimedia tool either way, in my book :-)

However: everyone who requires/desires antialiased (smooth edges, no  
jaggies) Graphic objects and drawing tools, please use the feature  
request form.

http://www.runrev.com/Revolution1/developercentral/ 
featurerequestform.html
There are ways one can code up antialiasing.  My interval-arithmetic  
method will break in future versions, so a feature will be good.

BTW, I thought the feature request form was depreciated.

Dar Scott

 

  Dar Scott Consultinghttp://www.swcp.com/dsc/Programming  
Services
 


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


Re: Teams

2003-08-14 Thread Tuviah Snyder
>Now is it more progress or less progress if my code is half the size it
>was the day before?
Getting OT, but I believe one should penalized from writing smart modular,
OO code. In addition developers should be encouraged to work on their design
first, so it's requires fewer lines of code in the future to modify or
improve the program.

I suppose that's why coders just love traditional languages because it's
takes 400 or so lines of Java to create a damn alias!

The way to get programmers more productive is to get estimates, and set
realistic goals. This way works for both managers and developers. Developers
are then encouraged to use best of breed tools and research ways to get
things done faster and smarter, and are compensated with more free time.
Otherwise they can create a ton of spaghetti, and spend the next few weeks
finding bugs in it.

Tuviah Snyder <[EMAIL PROTECTED]> 
Runtime Revolution Limited - Software at the Speed of Thought

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


RE: Saving changes

2003-08-14 Thread Stephen Quinn Barncard
Because Mac OS (v 7 - 9) is not OS X !!!

 > It's worth noting that even though Mac OS allows an app to write
 for itself,
 Apple recommends storing user data outside of the app in a user folder, so
 the following discussion would also benefit SC users looking to modernize
 their apps:
If OS X is based on UNIX and UNIX can't save to a running app then how is
Apple still supporting this?
Monte
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Teams

2003-08-14 Thread Steve Gehlbach
Troy Rollins wrote:


The file format statement wasn't mine, but I would assume that the 
inference is that the stack metaphor is not modular enough to support a 
control-level current versioning system. I don't know whether or not 
that is true, but it certainly isn't lending itself to it from where I sit.

Basically, my point was that the binary file is not the best when used 
with CVS, since you cannot track changes with any specificity.  CVS is 
uses the "diff" program, which deals with changes on a text line by text 
line basis, and is quite smart at spotting insertions and deletions. 
CVS stores the final version in the repository file, along with diffs to 
each previous version.  For binary, you have to tell CVS it is binary, 
and it will just store each version verbatim.  With text files, you can 
ask CVS to tell you which lines were changed in the last checkin from 
any previous checkin, which is very useful if you are trying to track 
down a bug.  It is also useful for tracking worker productivity 
(although a small amount of code that works is a lot better than a lot 
of code that doesn't, it is unfortunately a necessary management 
function to track progress in some way or another.)

-Steve

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


RE: Save as Image

2003-08-14 Thread Ken Ray
Dan,

Try this:

http://www.sonsothunder.com/devres/revolution/revolution.htm?_imag007

This works for stacks that are partially off-screen, but hopefully will
work with a fully offscreen stack...

Report back to the list and let us know if this works!

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

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Dan Friedman
> Sent: Tuesday, August 05, 2003 6:32 PM
> To: RunRev Mail List
> Subject: Save as Image
> 
> 
> Has anyone discovered a way to save a stack (or portion of a 
> stack) as an image while the stack is either offscreen or 
> invisible?  If so, I'd sure love to hear how ya did it!
> 
> Thanks,
> Dan
> 
> ___
> 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


GPS systems

2003-08-14 Thread cteno4
Hi,

Has anyone had any experience with getting GPS data from a GPS unit into 
metacard or rev? I'm working on a data collection system for a research 
project and am hoping to grab GPS data from a GPS unit. Noticed that many 
of the GPS systems are now going USB and also have not found any info yet 
on polling the gps unit to spit out data. I've done a lot of serial 
communications with equipment in metacard, but not GPSs yet.

thanks

jeff


Jeffrey H. Reynolds, Ph.D.
6620 Michaels Dr.
Bethesda, MD  20817

301.469.8562

email: [EMAIL PROTECTED]
   [EMAIL PROTECTED]

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


Re: Turtle Graphics

2003-08-14 Thread Roger Guay
Jim,

Thanks for these intriguing  examples and the short tutorial on TG.  
I'll have fun with these for some time.

Roger


Message: 3
Date: Tue, 5 Aug 2003 08:34:20 -0700
To: [EMAIL PROTECTED]
From: Jim Hurley <[EMAIL PROTECTED]>
Subject: Turtle Graphics
Reply-To: [EMAIL PROTECTED]
Greetings all,

I have been working on a optics tutorial. It involves the
manipulation of mirrors, lenses, microscopes, telescopes, focal
points, light rays, fish, bugs, eyes, etc. I have found it useful to
modify the traditional Turtle Graphics so that the language may be
applied to any RR control and not just to the turtle drawing cursor.
This will not be useful to the majority on this list, those whose
primary objective is text manipulation. But for those interested in
educational software or games, you may find TG a useful tool.
Actually there are three flavors, each useful in a different
circumstance. The first is "Control Graphics." The turtle becomes a
metaphor for a  control, any control--button, field, image, graphic.
The Turtle Graphic vocabulary acts on the custom properties assigned
to each control. These properties are:
px, py, pangle,p PenDown, pPoints

They are in order: The x and y Cartesian coordinates (measured
relative to the center of the screen) the heading, the pen state (up
or down--drawing or not) and the graphic points which define the line
drawn by the control if the pen is down.
For example, in the following handler, a hare moves in a circle
chased by a fox. (The hare and fox are buttons with the obvious icon.)
on mouseUp
   startTurtle "hare"
   startTurtle "fox"
   put 0 into theta
   put 5 into dTheta
   repeat until theta > 360

 tell "hare"
 setRA 200,theta -- Set the polar coord. radius and angle
 add dTheta to theta
 put xycor() into theHareLocation
 tell "fox"
 setheading direction(theHareLocation)
 forward 8
   end repeat
end mouseUp
The see some example of "Control Graphics" run this in the msg box:

go url "http://home.infostations.net/jhurley/ControlGraphics.rev";

(Richard: Would this be better: go url
?)
--

The second flavor is "Multiple Turtles" which is useful in programing
graphic lines with different properties (color, line size, etc.) It
only draws; it does not control the controls.
The syntax is somewhat different from Control Graphics. As an
example, the following handler draws a pinwheel with different
colored spokes:
on mouseUP
   put "red,orange,black,green,blue,violet" into colorList
   repeat with i = 1 to 6
 put "Spoke" &i into tName
 startTurtle tName
 set the forecolor of grc tName to item i of colorlist
 set the linesize of grc tName to 8
 setheading i*360/6
 forward 100
 stopturtle tName
   end repeat

end mouseUP

To see some examples run this in the msg box:

go url "http://home.infostations.net/jhurley/MultipleTurtle.rev";

-

And lastly, there is the flavor which is most useful in teaching
science students to program in Transcript. It addresses only the
turtle graphic (the cursor). It draws an image rather than a graphic.
(A graphic slows down dramatically for lengthy draws--the graphic
must repeatedly be redrawn with each additional graphic points since
this is an *evolving* line.) It is based on the assumption that
beginning students are more receptive to graphic output rather than
text. This has the potential for quite sophisticated applications.
After a short while students learn how to program satellite
orbits--the satellite being the turtle (cursor).
For some examples, run this in the msg box:

go url "http://home.infostations.net/jhurley/TurtleGraphics.rev";

All three tools are RR 1.1.1 compatible.

Jim

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


Re: DMOZ

2003-08-14 Thread Geoff Canyon
On Tuesday, August 5, 2003, at 09:28  AM, Richard Gaskin wrote:

Does this imply that there is a more suitable DMOZ category than
?
Perhaps:

?

Both would be better -- do they limit us to one?

regards,

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


Re: Rev. 2.1 andd licence

2003-08-14 Thread Wolfgang M. Bereuter
On Dienstag, Aug 5, 2003, at 13:28 Europe/Vienna, Ludovic Thébault 
wrote:

I want to take an "Express" licence of rev (with the limited time
offer). If Rev 2.1 is not released before 31 august, the update in rev
2.1 would be it possible ?
Interesting question..!
And - what happens if the upgrade price is still secret until 31 
August..?
About 4 weeks we are waiting for the upgrade price now...
Whats so hard to find out 4-5 numbers...?
If you cant find it out post your ideas to the list and you will have 
an answer in 1 or 2 days...
promised..;)

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


Re: Teams

2003-08-14 Thread Troy Rollins
On Tuesday, August 5, 2003, at 01:55  PM, Richard Gaskin wrote:

In all fairness there may benefits to allowing simultaneous 
object-level
development of a given layout that my aging mind simple hasn't 
considered.
If you could describe such a scenario it would be helpful for my
understanding of the task of building such a version control tool.
;-)

Nah. It could be my convoluted view of the programming approach.

Here at our shop, it works like this...

I or another, as a project manager, build out an initial UI, and "dummy 
code" the controls (msgbox "You clicked me!") Basic method calls and 
other expectations of a given control are identified in notes and 
comments.

Then, the team takes over. Graphics people develop graphics and put 
them in place. Coders start wiring things up, making comments for 
others to follow. The whole thing can be reviewed and tested as it 
comes together. Code refinements happen. Suddenly buttons which only 
threw a message window now perform SQL queries and populate fields with 
data... etc. The fonts for those fields, and the field positioning gets 
modified, and so on.

A small team, with excellent communication facilities can assemble 
projects pretty quickly this way - or at least, it works for us!  ;-)

Using libraries and "start using" and such is both more clumsy and a 
step removed from the actual development process. Even CVS, with all of 
its associated bull, comes closer to the team development intent, I 
think.

What I want is "WebDav for applications" - without all the broken 
stuff.  ;-)

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Revolution speed sucks?

2003-08-14 Thread Alex Rice
On Tuesday, August 5, 2003, at 10:26  PM, yoy wrote:

Still, PERLotto is way faster, but I have some trial days left to work 
it
out.
When all the no-nos are corrected, I would wager, the Rev version will 
be faster :-)

Perl, although fast, does not have as sophisticated compilation as Rev. 
I think Perl is still interpreted from start to finish. Correct me if 
I'm wrong anybody

Especially in a tight loop such as your lotto program, after the first 
step of the loop, the Rev app is running compiled code. Perl is running 
interpreted code all to the last step.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: DMOZ

2003-08-14 Thread Edwin Gore
I think that's a much better catergory - Revolution (and the other Xtalks)
are all much more than scripting language.
- Original Message - 
From: "Sarah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 05, 2003 4:08 PM
Subject: Re: DMOZ


> What about:
> 
>
> Sarah
>
>
> On Tuesday, August 5, 2003, at 04:59  pm, Richard Gaskin wrote:
>
> > I'm drafting a request to DMOZ to add a new "xTalk"  (a collective
> > term for
> > Transcript, OpenScript, HyperTalk, SuperTalk, etc.) category to the
> > Open
> > Directory.
> >
> > The question at hand is:  What would be the most appropriate catgory?
> > I was
> > considering:
> >
> > 
> >
> > What do you think?
> >
> > --
> >  Richard Gaskin
> >  Fourth World Media Corporation
> >  Software Design and Development for Mac, Windows, Linux, and the Web
> >  
> >  [EMAIL PROTECTED]http://www.FourthWorld.com
> >  Tel: 323-225-3717AIM: FourthWorldInc   Fax: 323-225-0716
> >
> > ___
> > 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

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


Re: Arrays and custom properties

2003-08-14 Thread Mark Brownell

On Thursday, August 7, 2003, at 10:32  PM, Dar Scott wrote:

I gotta make this quick, so you might have to fix any errors in this.  I need to take a weekend break.


[snip]

Arrays might work well, but I'd encrypt as soon as I create them in Blowfish.

Dar

They are already encrypted. They would just lack the final speed hit. It comes down to how much might be saved by doing it later in a different loop at a different time. This goes to storage as binary verses read from binary. I will need to test different approaches; completing the final process in Blowfish before storage or completing the final process after retrieving from storage.

Have a great weekend break, thanks.

Mark





Re: DMOZ

2003-08-14 Thread Sarah
What about:

Sarah

On Tuesday, August 5, 2003, at 04:59  pm, Richard Gaskin wrote:

I'm drafting a request to DMOZ to add a new "xTalk"  (a collective 
term for
Transcript, OpenScript, HyperTalk, SuperTalk, etc.) category to the 
Open
Directory.

The question at hand is:  What would be the most appropriate catgory?  
I was
considering:



What do you think?

--
 Richard Gaskin
 Fourth World Media Corporation
 Software Design and Development for Mac, Windows, Linux, and the Web
 
 [EMAIL PROTECTED]http://www.FourthWorld.com
 Tel: 323-225-3717AIM: FourthWorldInc   Fax: 323-225-0716
___
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


Re: Revolution speed sucks?

2003-08-14 Thread Geoff Canyon
If the script I'm looking at is the one you're talking about, it's 
parsing through the contents of the field one bit at a time, and 
setting the style of text (text color) bit by bit.

For speed, you need to get the contents of the field, work on that 
(paying special attention to repeat for each) and then set the HTMLtext 
of the field. This will be much faster.

On Tuesday, August 5, 2003, at 06:32  PM, yoy wrote:

I ran my stack "OmniLotto" and generated 5000 random powerball games. 
Then
it ran. It .took over 30 minutes!!!

I saved the 5000 gamelist and ran it through my PERLotto perl script 
out to
"results.txt".

It took only 1 second!!!

What gives? Are my script routines way out of order? It certainly 
seems so!

GEEZ. Day 5 (?)  gonzo.

Andy

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

regards,

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


Re: Amazing Splash Screen Effect...

2003-08-14 Thread Edwin Gore
It's not so much anti-aliasing, as bilinier or bicubic scaling that's
needed. I have an application that grabs images from Amazon Web Services and
resizes them, and right now they look terrible in windows and linux, since
the system resize on these uses nearest neighbor scaling.

- Original Message - 
From: "Monte Goulding" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 05, 2003 5:40 PM
Subject: RE: Amazing Splash Screen Effect...


> > Hang in there.  Antialiasing images is coming to Rev soon!
> >
> Why would one want to use rev to anti-alias an image? It's graphics that
are
> required.
>
> Regards
>
> Monte
>
> ___
> 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


Re: Database management

2003-08-14 Thread Jan Schenkel
--- Andre Rombauts <[EMAIL PROTECTED]> wrote:
> Thanks again...
> Online means the db is on an external server. I have
> all rights on the
> directory and I put myself the db on the server.
> I have to use ODBC because the database will also be
> accessed through ASP
> pages.
> I mentionned that even no Internet access has
> started when I'm running the
> script. And the Error message doesn't seem to be
> issued by Revolution (Run
> Rev guys can give their opinion?). Thus there seem
> to be a problem between
> Windows and RunRev when executing
> put
>
revOpenDatabase("ODBC","myserver.org","/myserver.org/db/revolution.mdb","","
> ") into myDB
> 
> The problem with Valentina is
> 1) that if there is indeed a driver for remote
> access there is no Standalone
> application for building, managing the db on the Win
> platform - or I am
> wrong;
> 2) I'm not sure it will be possible to convert .ASP
> pages to handle
> Valentina stuff (?)
> 
> André
> 

Hi André,

On the computer where the CGI-script is running you
have to create a DSN first, using the ODBC Setup.
The DSN you create will be of type 'MS Access
something', and point to the .mdb file by means of a
path.
It is the name of this DSN that you must pass as the
third parameter to revOpenDatabase()
--
  put revOpenDatabase("ODBC","",myDSNName,"","") into
myDB
--

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! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Arrays and custom properties

2003-08-14 Thread Steve Gehlbach
Jan Schenkel wrote:

When using custom properties to store data in a stack,
I usually follow this strategy :
- 1 table = 1 custom property set
- each record is broken up into its fields
- 1 field = 1 custom property within the above set
- the key of the custom property is composed of the
primary key and the field name

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

The last sentence may be the most important.  At the risk of asking a 
really dumb question, are you saying that the user data, when entered, 
is saved to the .rev file?  Is this also true for a distribution file? 
Which means that RR is modifying an executable file? I am struggling a 
little with this concept; maybe I have completely missed the point.

-Steve

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


Console mode apps (was Revolution speed sucks?)

2003-08-14 Thread Dar Scott
On Wednesday, August 6, 2003, at 03:32 AM, Pierre Sahores wrote:

Because the answers have to do with the OS the deamon apps are running 
on, what are the platform's operating systems your are developing for 
(MacOSX, Win32, Linux,...) ?
I want it all!  Let's start with Win32 (or a subset) or OS X.

Dar Scott

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


Re: [ANN] searchable use-revolution list archives

2003-08-14 Thread Graham
On Wednesday, August 06, 2003 4:44 PM, "Alex Rice" <[EMAIL PROTECTED]> 
wrote:

> I frequently use google to search this list's archives, but
> unfortunately the google index usually lags a month or so. Here is a
> new web search of the use-revolution list archives:
>
> 
>
> It's a fast, full text search, and the index now is up to date, and new
> messages should appear within a few hours. (I'm not 100% sure about how
> quickly new messages will appear-- will just have to see how well the
> indexing script works in practice)
Just wanted to join the praise of this after using it for the first time. I 
really found the Google thing very difficult in practice, but this is very 
well presented, and very fast.

Thanks

---
Graham Samuel / The Living Fossil Co. / UK & France  

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


Re: [ANN] searchable use-revolution list archives

2003-08-14 Thread Alex Rice
On Wednesday, August 6, 2003, at 10:24  AM, Pierre Sahores wrote:
Wow ! What a config and a provider !!! Is that (monthly) really as 
expensive as i expect (in France, we have to pay around US $ 200 per 
megabit).
Nope, a lot less than that. Hint: it's a shared server, not a 
dedicated/colocated server. :-)

HE.net is great. They recently upgraded all their longtime accounts to 
new high-end hardware, added bandwidth allocations and disk space, and 
did not raise their prices. As you can tell I'm a satisfied customer.

Their pricing is here: http://he.net/about_prod.html

If you sign up, please put [EMAIL PROTECTED] as the referrer and I could 
win a Nintendo or something.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: DLL Absence

2003-08-14 Thread Dar Scott
On Thursday, August 7, 2003, at 12:43 PM, Alex Rice wrote:

re: support- on the contrary I think it would be easier for RR to  
support a common interface instead of having people writing C code who  
wouldn't otherwise want, need, or be capable of learning such a  
low-level language.
Maybe.

It seems that once somebody is writing an external it is easy to say  
you are on your own.

But when somebody says "I did the DLL-call thing to get a list of  
watchamacallits from the system and all I got was garbage" then it is  
hard to tell whether one has set up the call right or whether "pointer  
to unsigned long" is broken or whether the right system call is being  
made.

Dar Scott

 

  Dar Scott Consultinghttp://www.swcp.com/dsc/Programming  
Services
 


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


Missing icon?

2003-08-14 Thread Barry Levine
I use this line of code in the message box: ask question "the 
message"

and I get the same icon as: ask information "the message"

In both cases I get the Information+R icon. Have I lost the "?" icon?

Rev 2.0.1 & Rev 2.0.2 (both in OSX) exhibit this behavior.

Also: In the compiled app, the "R" logo in the box is missing (which 
should be displayed along with the "i" when you issue the "ask 
information..." command. The "i" and the box are there but not the "R". 
(Again, this is in OSX with 2.0.1/2.0.2.)

Barry

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


Re: Revolution speed sucks?

2003-08-14 Thread Alex Rice
On Thursday, August 7, 2003, at 12:29  PM, yoy wrote:
The variable testing makes much sense. If the lotto were a Powerball 
lotto,
I could grab the first 5 items and place them in one variable and put 
the
sixth item into another variable, test the first variable of 5 numbers 
using
for each, and test the bonus variable with a simple if x = y then 
colorize
them as needed and then put them back into the line in the field with 
lock
screen on.

Is this sound logic?
Andy, sorry "lock screen" helps a little, but it seems you are missing 
the big point.

I grabbed the stack from 
 The mouseup 
handler of btn "start" has multiple embedded loops that access fields.

A field is part of the GUI, it is not a proper data structure. The fact 
that a field can be used as a source of value (put fld "number" * pi 
into fld "result") is a convenience, but is not meant to be used as you 
are.

The Perl equivalent of what you are doing would be saving some data to 
disk or over a network instead of just using a $variable. That's 
exaggerated, but you get the idea. This has to be fixed before you will 
have a clear picture of the speed possible with Rev.

Do this instead:

-- not in a loop here
put fld "winners" into theWinners
-- start a loop
repeat for each line in theWinners --note: NOT "each line in fld 
winners"
  -- do not access any buttons or fields in here
  ...
end repeat
-- not in a loop here either
put "whatever" into fld "results"

Now look again at your code is the whole thing within another loop that 
is accessing a field, like:
 "repeat for each line z in fld "gamelist" ?

Here is an experiment: make a stack with 3 buttons and 1 field. Put the 
following 3 scripts into the buttons. Button 2 is fastest (5 ms). 
Button 1 is the slowest (700 ms). Button 3 is faster (50 ms), but still 
off by a factor of 10x.

on mouseup -- of btn 1
  put the milliseconds into tStart
  repeat with x = 1 to 1000
put x * 2 into fld 1 -- bad
  end repeat
  put "elapsed: " & (the milliseconds) - tStart into fld 1
end mouseup
on mouseup -- of btn 2
  put the milliseconds into tStart
  repeat with x = 1 to 1000
put x * 2 into tmp -- not a field
  end repeat
  put "elapsed: " & (the milliseconds) - tStart into fld 1
end mouseup
on mouseup -- of btn 3
  lock screen -- helps a little
  put the milliseconds into tStart
  repeat with x = 1 to 1000
put x * 2 into fld 1 -- bad
  end repeat
  put "elapsed: " & (the milliseconds) - tStart into fld 1
end mouseup
Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Using numbers to access elements in arrays

2003-08-14 Thread Mark Brownell

On Thursday, August 7, 2003, at 08:48  AM, Devin Asay wrote:

What SEEMS to be happening--I'm still trying to pin it down--is that the revExecuteSQL command is grabbing elements from the array in the order in which they were created--traditional array behavior--regardless of the key names (which happen to be numerals) that I assigned to them earlier. So what ends up in the table is in this order:

stuff junk nonsense fluff rubbish

You might try pre-populating the array with empty space elements before loading it. This might preset an order that will be retained.

repeat with i = 1 to 50
put " " into myArray[i]
end repeat



Re: Revolution speed sucks?

2003-08-14 Thread yoy
Sarah,

Thanks for your speed.rev tester. It's very good.

My .rev stack lets a user config a 5 or 6 ball lotto with optional support
for bonus ball.

Usually the lotto will be a straight 6 ball lotto or a 5 ball and 1 bonus
pick. The problem is whether it's a straight 6 ball lotto or a 5 + 1 bonus,
the field will have six numbers per line. Is this is where I should just
grab the first line and do the test. I think my loop was doing this test for
every line of the field.

The variable testing makes much sense. If the lotto were a Powerball lotto,
I could grab the first 5 items and place them in one variable and put the
sixth item into another variable, test the first variable of 5 numbers using
for each, and test the bonus variable with a simple if x = y then colorize
them as needed and then put them back into the line in the field with lock
screen on.

Is this sound logic?

Still, Perl is much faster. I generated another 50,000 games (Powerball) and
with error checking and print OUT and it took only 5 seconds.

The price you pay for a gui?? Maybe I just wrote better perl code than
revolution code. ;-)

Thanks,

Andy

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


Re: use-revolution digest, Vol 1 #1741 - 14 msgs

2003-08-14 Thread Barry Levine
Sarah,

Thanks. Last night I was in class and, when things got boring, I read 
the "What's New" text doc that accompanied the v2.0.1 release (for the 
first time, I'm ashamed to admit). There was mention of dropping the 
last two lines of the File menu (the separator line and 'Quit') in 
order to put the Quit command on the Application menu. I figured that 
probably resulted in OSX ignoring my confirmation dialog which was I 
had written into the menu handler I access through the Menu Builder. 
Searching further, I found the shudownRequest in the documentation. 
That did the trick; I put a handler in the stack script ("on 
shutdownRequest...").

General philosophical complaint (shouted to the heavens): If Rev is 
going to take it upon itself to move menu items based upon the 
platform, should it not -still- use the code I crafted for the menu 
selections? At the very least, it should place comments in the File 
script about this when you tell it to auto-generate the menu handler. 
(Yes, I know I eventually figured it out - and if I had not, you were 
there to lead me out of the swamp - but this is the kind of thing that 
would drive beginners crazy. If we're going to spread the word about 
Rev, Rev needs to help us make the IDE a kinder, gentler environment. 
In this case, it would only take a few lines of comments added to the 
automatically-generated script.)

Bottom line: It works now and I'm pumped!

Regards,
Barry
On Thursday, Aug 7, 2003, at 23:24 America/Denver, Sarah wrote:

How are you handling the quit? If it is in the menu script, it may be
that OS X is bypassing that. I suggest you use a shutdownRequest
handler instead. If you pass it, the app will continue to shut down,
but if the user decides not to quit, just exit the shutdownRequest
handler without passing and the shutdown will be cancelled.
This should work for all OSes, I think.

Cheers,
Sarah
On Friday, August 8, 2003, at 09:01  am, Barry Levine wrote:

I've got my app set to ask for confirmation before I permit the user
to quit using the usual dialog. In the IDE on both platforms, it
performs as expected. In the standalone on Windows, it also works as
expected. In OSX, it simply quits without my intervening dialog. Is
this due to some difference in the way Rev moves the Quit command to
the app menu (rather than the File menu as it is on Windows)?

Barry Jay Levine
"The Mac Guy"
Macintosh Troubleshooting, System Engineering, Training,
AppleShare/OSX Server Setup, System Upgrades and Enhancements,
Custom Programming for Mac/Windows/Linux/Solaris
On-Site service for K20, Business, Consumer

Phone/VoiceMail: 915-581-1105
Fax: 915-581-8167
  eMail: [EMAIL PROTECTED]

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


Re: Revolution speed sucks?

2003-08-14 Thread Alex Rice
On Thursday, August 7, 2003, at 12:29  PM, yoy wrote:

Still, Perl is much faster. I generated another 50,000 games 
(Powerball) and
with error checking and print OUT and it took only 5 seconds.

The price you pay for a gui?? Maybe I just wrote better perl code than
revolution code. ;-)
Andy, look at the subject line of this thread.

I think you owe it to the list to post both the Perl code and the URL 
of the Rev stack, side by side, so we can look at the implementation. 
Probably you are comparing two different.

In my opinion, Perl is NOT faster than Rev. Post your Perl routine! And 
the URL of your Rev stack again. If you really want to get to the 
bottom of this :-)

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Arrays and custom properties

2003-08-14 Thread Dar Scott
On Thursday, August 7, 2003, at 11:52 PM, Mark Brownell wrote:

They are already encrypted. They would just lack the final speed hit.  
It comes down to how much might be saved by doing it later in a  
different loop at a different time. This goes to storage as binary  
verses read from binary. I will need to test different approaches;  
completing the final process in Blowfish before storage or completing  
the final process after retrieving from storage.
I have another moment.

I was thinking of combining the loops so you take 8 bytes, convert to  
xL and xH, encrypt/decrypt, convert to 8 bytes and accumulate all in  
one cycle.  There is no array.  (This ignores the end of the string; I  
left that for you.)

That assumes ECB mode, but you can easily adapt it to other modes.


Have a great weekend break, thanks.
Thank you.

Dar Scott

 

  Dar Scott Consultinghttp://www.swcp.com/dsc/Programming  
Services
 


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


Re: Pass A URL to cover all Win bases

2003-08-14 Thread Scott Rossi
> Scott suggests:
> 
> [snip]
>> if "Win" is in platform() then
>>  put tCode into url ("file:" &tLaunchPath)
>>  set the hideConsoleWindows to true
>>  put empty into tTitle
>>  if "NT" is in systemVersion() then ##
>>   set the shellCommand to "cmd.exe"
>>   put quote "e into tTitle
>>  end if
>>  get shell("start" &&tTitle &"e &tURL "e)
>> end if
> [endSnip]
> 
> In order to catch all of Win95/98/2K/XP/NT/ME, I would only modify the
> shellCommand test to read...
> 
> if ("NT" is in the systemVersion) or ("Windows 4.90" is in the systemVersion)
> ##

Just curious why you see a need for this?  In MC the docs say to set the
shellCommand to "cmd.exe" on NT systems, and WindowsME is seen by MC/Rev as
a Windows (not NT) system.  Does cmd.exe work better on ME?

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

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


Re: Pass A URL w/Javascript

2003-08-14 Thread Mark Brownell
On Tuesday, August 12, 2003, at 03:43  PM, Scott Rossi wrote:

Recently, "Mark Brownell"  wrote:

test this if you know how:


onclick="window.open('http://
www.ibm.com','Windowname','menubar,status,scrollbars,resizable,toolbar 
,l
ocation,width=600,height=800');"> Click IBM for new window

That is if you can figure out how to pass all this in a go URL  
handler.
I've been all over the cookbook and docs looking for a way to pick up
the link inside the http://www.ibm.com";>thisLink and pass
it from a mouse click in a text field.
One way to accomplish the above is to write an HTML file to the drive  
and
launch the file.  This is a technique I use as a backup for launching  
a URL
in a non-common browser (such as Earthlink's modified version of IE)  
and is
roughly equivalent to double-clicking an HTML document on the desktop.  
 It's
not elegant, but it works.

The following is a combination of scripts I use on Mac and Win  
platforms.
You could add any HTML/Javascript code to the createHTML function to
accomplish whatever result is desired.

[ in a button script ]
 HERE 

Regards,

Scott Rossi
Scott,

Aren't you clever. I wouldn't have thought of that one. In Director I  
wrote my own HTML parser that handled  links by creating arrays  
of numerical char locations for all hyperlinks in a rendered text  
field. I parsed out all the "http://..."; codes and stored them in  
arrays to be used if a hyperlink was clicked. I'm still hoping I won't  
have to do this in Rev. http://www.someplace.com";> some text  
 makes "some text" render as a hyperlink. I'm still learning how to  
pick that link="http://www.someplace.com"; up and use any stored  
information that relates to each "some text" link clicked. I may be  
wrong at this point but it looks like you need to make the hyperlink  
the full URL, "http...," literally.

Mark

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


Re: Regular expressions - detecting whitespace

2003-08-14 Thread Steve Gehlbach
Jim Witte wrote:
  BTW, if I execute 'put matchText( "this text" , "(g*)")', it returns 
true.  Certainly this is not a string of 'g's..  What am I doing wrong here
In RegExp, "*" matches _zero_ or more of the previous chars. What you 
want here is "(g+)" for one or more g's.  Kind of counter intuitive 
since for ls or dir, the "*" has a slightly different meaning, ie, "ls 
g*" will get all files starting with "g".  Not so in regexp.

Reg exp takes some getting used to.  I learned from Larry Wall's Perl 
book, that seems to be the best reference with examples, and more 
complete than the Rev Docs.

-Steve

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


Re: 3D Field Bevel color wierdness.

2003-08-14 Thread Jeanne A. E. DeVoto
At 4:53 PM -0400 8/14/2003, yoy wrote:
I have a 3d field with 2 pixel border. When I go to the Color & Pattens
inspector and assign the bottom bevel color to orange, it sets the top and
left bevel to orange!?? But... my field has a vertical scrollbar and the top
and bottom arrows and thumb are bevel colored correctly.
I think it's a simple backwards bug. The Top Bevel button colorizes the
bottom and right bevel and the Bottom Bevel button colorizes the top and
left bevel. But they colorize the scrollbars correctly.


It isn't a bug (although the labeling isn't as clear as might be): 
the Top Bevel button sets the topColor property, and the Bottom Bevel 
button sets the bottomColor property. Buttons are outset (they 
visually "stick out" from the screen), so with the light source at 
the top left, the top and left sides are the ones that light is 
hitting. Fields are inset ("pushed in"), so the light coming from the 
top left affects the bottom and right sides.

There's a report on this somewhere in Bugzilla from someone who 
experienced a similar confusion.
--
--
Jeanne DeVoto ~ [EMAIL PROTECTED] ~ http://www.runrev.com/
Runtime Revolution - User-Centric Development Tools
~~~ Check our web site for new Revolution editions & special offers ~~~
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


custom property woes

2003-08-14 Thread Björnke von Gierke
I do not understand this. WHen I refer to a custom property it 
generates an error! for example typing this in the message box:

put the players of this stack

returns:

Script compile error:
Error description: Expression: bad factor
even if the property did not exist it should return just empty but 
never generate an error??
also a similar line in the code of my stack which looks like this:

send "startTurn" to stack (Line 2 of the Players of me)

returns this error when I click apply:

compiling at 12:02:57 AM
TypeExpression: bad factor
Object  Untitled 1
Linesend "startTurn" to stack (Line 2 of the Players of me)
Hint
what the hell is going on?
Mac OS X 10.2.6 rev version 2.0rc2
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Best way to set up an idle timer

2003-08-14 Thread Edwin Gore
Understand that I have not given this even the slightest bit of thought before 
posting, but I think you are going to be better off using "send" to do this.

What you are going to want to do is something like this...

global gGoToSleep

on startup
  send timeout in 5X60 seconds --for a 5 minute time out
  put true into gGoToSleep
end startup

on rawkeydown
  put false into gGoTo Sleep
  pass rawkeydown
end rawkeydown

on mousemove
  put false into gGoTo Sleep
  pass mousemove
end mousemove

on timeout
  if gGoToSleep is true then
-- do go to sleep type stuff
  else
put true into gGoToSleep
  end if
end timout

I think that should be enough to do it...it's hard to do anything with the mouse 
without moving, so I think that's all you need to capture.

Of course, I just made this up to avoid really working, so I didn't bother to check 
syntax or test this. But it should give you some ideas.

You are better off using send, since idle eats up processor time constantly checking. 
If you wanted to have it go to sleep EXACTLY five minutes after activity stopped, you 
would need to do some other complicated and boring things with checking the seconds 
and stuff.

>- --- Original Message --- -
I want to write a routine in my stack that will
>automatically log the 
>user out after X minutes of inactivity, in the same
>way the screen 
>saver will kick in after X minutes. Any mouse or
>keyboard event would 
>reset the timer.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Easier way to do text-movement algorithm?

2003-08-14 Thread Monte Goulding

>Any better ideas than these?
>
Assuming that your starting point is a list of start and end chars for each
section you could simply subtract the number of chars of section A from each
section prior to C then add the number of chars of A - the number of chars
of C to each section after C.

Hope that makes sense. It should be alot faster than a whole heap of
matchchunk calls.

Cheers

Monte

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


Plain text only please!

2003-08-14 Thread Heather Williams
Just a reminder, and information for new list members. Please, if possible,
only post in plain text, turn off your html formatting before posting to the
list. It comes through as garbage for digest listees, wastes bandwith, and
annoys the multitudes. And we don¹t want that do we? If you need help to do
this, search the archives for lots of good information.

Note that I did say "if possible". There are a few circumstances where
members simply can't post in plain text, and we don¹t want to lose your
valuable contributions. But if you can turn off html, please do.

Regards,

Heather

Beating the email backlog with your kind assistance in not sending me
duplicate messages asking where the previous one went... I'm getting there
folks, be right with you...
-- 
Heather Williams ~ [EMAIL PROTECTED] ~ http://www.runrev.com/
Runtime Revolution - User-Centric Development Tools
~~~ Check our web site for new Revolution editions & special offers ~~~

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


Re: RevDB, Linux and PostgreSQL

2003-08-14 Thread Rodney Tamblyn
Hi Pierre,

I've developed the client application on MacOSX and have tested it 
successfully under Windows.  Haven't tested yet under Linux so can't 
help there.  The database is running on a separate machine, AFAIK 
running PG 7.3 - I believe this is running Linux but can confirm this 
if it's of interest ( db was set up by our technical support group).

I agree with you that it would be *fantastic* to be able to use Rev's 
built in database functions from command line applications, especially 
under Linux.  I believe this is on the list of planned features (can 
someone from RR comment on this?). Monte Goulding and I looked into 
this a little when we were collaborating on the development of libCGI 
(a freebie CGI library and getting started guide for development of 
Rev/MC CGI solutions which we will be releasing shortly).  Using psql 
via shell() works fine, but it's not very elegant and can't handle 
binary data (or if it can I don't know how to do this, perhaps you 
could pipe binary data in from a file?).

How is RR's Linux DB support implemented at the moment?  Is it via 
externals as is the case for Windows & Mac?  Perhaps Tuviah can comment 
more here.

I may open source the project I've developed, as it's a student 
exercise rather than a commercial project. May be useful to have a real 
world example stack showing how these things are done.

Regards,

Rodney





On Thursday, August 14, 2003, at 05:12 AM, Pierre Sahores wrote:

Rodney Tamblyn wrote:
Hello everyone,
This is just a followup to let you know the bug which I found in 
Revolution at present that prevents binary data operations with 
PostgreSQL database has been confirmed.  It will be fixed in the 
final release of 2.1 apparently.
In the meantime the workaround which I've discovered, and which works 
quite well, is to base64encode data then put it into a PostgreSQL 
text field (which seem, AFAIK, to be able to hold unlimited data).  
On retrieving the data I do a base64decode to turn it back into 
binary data.  Using this approach I've been able to successfully 
store image data in PostgreSQL text fields.
So the mystery is solved...
~ Rodney
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
Hi Rodney,

Cool tip to know !

Could you, please, let me know, the platform witch host your 
Revolution's PostgeSQL client app, the platform witch host the 
PostgreSQL server ? Are both the client and the server running on the 
same box, on two diffrent boxes ?

Even in using an example app, friendly provided to me by Sadhu, i have 
n't, at the moment, found the way to run a Rev's PostgreSQL client app 
hosted on the Linux platform (no tested on Win32 nor OSX, for yet) :-!

Thanks for any help,

IBTW : My Postgres 7.xx server is fine running and serving in 
production mode MC apps trough shell() bindings to the psql Postgres 
command line client. My problem is to get the right way to replace the 
shell() way by the RevDB lib's one?

--
Bien cordialement, Pierre Sahores
Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

--
Rodney Tamblyn
44 Melville Street
Dunedin
New Zealand
+64 3 4778606
http://rodney.weblogs.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Best way to set up an idle timer

2003-08-14 Thread Dar Scott
On Thursday, August 14, 2003, at 03:46 PM, Devin Asay wrote:

The problem with this approach of course is there is no way to reset 
the startSeconds unless the timeOut handler runs. I don't want to have 
to trap every single mouse and keyboard event to reset startSeconds.
Perhaps you can put a few keyboard and mouse handlers in a single front 
script.  Each of these would call an activity handler and then pass.  
The activity handler would then reset the timer and do what else is 
needed.

(BTW, since inactivity is not a precise thing, you might create a send 
cycle that executes every couple seconds to check the timer instead of 
using idle.  I also have another method as an example in my _Message 
Machinery Primer_, which I'm going to go work on right now.)

Dar Scott

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


Re: Regular expressions - detecting whitespace

2003-08-14 Thread Dar Scott
On Wednesday, August 13, 2003, at 01:33 PM, Jim Witte wrote:

 What kind of regular expression can I use to detect if a string is 
entirely whitespace (space, tab, or return)?  I tried "^([\s|\t|\n]*)" 
but that didn't work.
Will this work?

"\A\s*\z"

That forces the start and end as part of the pattern.

Dar Scott

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


RE: Easier way to do text-movement algorithm?

2003-08-14 Thread Monte Goulding
> > Assuming that your starting point is a list of start and end chars for
> > each
> > section you could simply subtract the number of chars of section A
> > from each
> > section prior to C then add the number of chars of A - the number of
> > chars
> > of C to each section after C.
>
> Why "- the number of chars of C"?

Because he is replacing section C with section A. The char references of
section A become the first char of section C + the number of chars of A.

I actually like your "store each section in an array element" idea better. I
guess if it's a big file it wouldn't be all that quick but it sure would be
easy. If the sections could be numbered then you could just do a combine to
get your text out.

Cheers

Monte

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


Re: Http proxy

2003-08-14 Thread [EMAIL PROTECTED]
Hi Dave, 

Indeed, no replies... :-((

Not even from Kevin, but I think he is still on leave (and he deserved it)

The URL you mentioned is very interesting, but you are right... To make it
work, you need the location of the pacfile so that¹s no solution
unfortunately.

put hostNameToAddress("WDAP") returns empty though my settings are set to
Automatic detect...

Nope, I guess we have to wait for a respons from our RR friends, unless
anybody else has figuered this one out...

Regards,

Ton Kuypers


> From: Dave Cragg <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Tue, 12 Aug 2003 09:26:56 +0100
> To: <[EMAIL PROTECTED]>
> Subject: Re: Http proxy
> 
> At 11:54 am +0200 6/8/03, [EMAIL PROTECTED] wrote:
>> For some reason leaving the http-proxy empty prevents RR to use the
>> default-settings of explorer on my XP pc.
>> 
>> So I looked into the registry and found the entry containing the
>> proxy-settings:
>> 
>>   put queryRegistry
>>   ("HKEY_CURRENT_User\Software\Microsoft\Windows\
>>   CurrentVersion\Internet Settings\ProxyServer") into vProxy
>> 
>>   set the HTTPProxy to vProxy
>> 
>> This works fine when there actually is a proxy set, but on a second PC I set
>> the lan settings of explorer to "automatically detect settings".
>> Now it doesn't work anymore, vProxy is empty and there is no connection
>> anymore.
>> 
>> Does anyone know how to get the HTTTPproxy to work when "automatically
>> detect settings" is choosen?
>> 
>> Many thanks in advance,
>> 
>> Ton Kuypers
> 
> 
> You didn't get any replies on this. A pity, as I was also hoping
> someone might have an answer.
> 
> I found some information here about how the "Automatically detect
> settings" works, and the difference from the "Use automatic
> configuration script." setting.
> 
> 
> 
> If my interpretation is correct, at the very least, it looks like you
> would have to parse the javascript "FindProxyForURL" function.
> 
> But before that, you'd have to find where the script is located.
> Unfortunately, I don't have a setup that allows me to explore this
> more.
> 
> Just out of interest, when you set "Automatically detect settings",
> is IE able to connect. If so, from Rev, do you get anything returned
> from the following script:
> 
> on mouseUp
>  put hostNameToAddress("WDAP")
> end mouseUp
> 
> 
> Cheers
> Dave
> ___
> 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


RE: Plain text only please!

2003-08-14 Thread Ken Ray
Yeah, they change things for each version. 7.0 could, 8.0 can't...

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

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Mark Wieder
> Sent: Thursday, August 14, 2003 4:33 PM
> To: Ken Ray
> Subject: Re: Plain text only please!
> 
> 
> Hmmm... It can be done in aol 4.0... Take a look at My AOL | 
> Preferences and see if there's something in there. Sorry - 
> that's the limit of my AOL knowledge on this.
> 
> -- 
> -Mark Wieder
> 
> 
> 
> ___
> 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


Best way to set up an idle timer

2003-08-14 Thread Devin Asay
I want to write a routine in my stack that will automatically log the 
user out after X minutes of inactivity, in the same way the screen 
saver will kick in after X minutes. Any mouse or keyboard event would 
reset the timer. I've been playing with the idle handler like this:

global startSeconds

on idle
  if startSeconds is empty then
put the seconds into startSeconds
  end if
  if the seconds - startSeconds > 5 * 60 then timeOut -- for a 5 min. 
timeout
end idle

on timeOut
  answer "time's up!"
  put empty into startSeconds
end timeOut
The problem with this approach of course is there is no way to reset 
the startSeconds unless the timeOut handler runs. I don't want to have 
to trap every single mouse and keyboard event to reset startSeconds.

I know there has to be an easy way to do this. My brain is just not 
grasping it today.

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: drag/drop to reorder text items in a list?

2003-08-14 Thread Wilhelm Sanke
> Has anyone ever used Revolution to do dragging-and-dropping of lines of text
> within a text field?   That is, permitting the user to drag line #15 within a
> text field between line 4 and 5 and having Revolution re-shuffle the list.
>
Try this:

on mouseDown
 put word 2 of the clickLine into cl
 set the textstyle of line cl of me to bold
put item 2 of the mouseLoc into starty
put the effective textHeight of me into th
repeat while the mouse is down
  if item 2 of the mouseLoc - starty > (th/2) then
lock screen
put cr & line cl of me after line cl + 1 of me
delete line cl of me
add 1 to cl
set the textstyle of line cl of me to bold
add th to starty
unlock screen
  else if starty - item 2 of the mouseLoc > (th/2) then
lock screen
put line cl of me & cr before line cl - 1 of me
delete line cl + 1 of me
subtract 1 from cl
set the textstyle of line cl of me to bold
subtract th from starty
unlock screen
  end if
end repeat
set the textstyle of line cl of me to plain
  end if
end mouseDown

Maybe there are simpler solutions.

Regards,

Wilhelm Sanke

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


Re: point math [was: Re: Pass A URL w/Javascript]

2003-08-14 Thread Mark Brownell
On Thursday, August 14, 2003, at 06:14  AM, Robert Brenstein wrote:

I think that once you put a point into a variable, you need to do math 
on it as items since parsing order changes.

add 10 to item 1 of var
add 10 to item 2 of var
Robert
Yep, found this under thread "location math":

get the loc of stack 
subtract 150 from item 1 of it
subtract 120 from item 2 of it
set the loc of palette  to it
and

Other people have pointed out how to script the position of your
palette using "the loc" i.e. the center of the stack. The other
property which you might find useful is "the topLeft".


On Thursday, August 14, 2003, at 06:21  AM, Klaus Major wrote:

 put the loc of this stack into var
## i am not sure if "...of stack me" is valid syntax!!!
add 20 to item 1 of var ## x location
add 30 to item 2 of var  ## y location
set the loc of this stack to var
Regards

Klaus Major
"put the location of stack me" I got it in the docs somewhere but I 
can't re-find its location. It works in the message window.

You get the picture...

me
you :-)
Yep!

me
you

you

me

me
you

you

me
Now we're dancing :-)

Mark

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


Re: Plain text only please!

2003-08-14 Thread Robert Brenstein
Just a reminder, and information for new list members. Please, if possible,
only post in plain text, turn off your html formatting before posting to the
list. It comes through as garbage for digest listees, wastes bandwith, and
annoys the multitudes. And we don't want that do we? If you need help to do
this, search the archives for lots of good information.
Note that I did say "if possible". There are a few circumstances where
members simply can't post in plain text, and we don't want to lose your
valuable contributions. But if you can turn off html, please do.
Regards,

Heather
Some listservers have now NOHTML option on the server side which 
strips all html code from messages. May be Rev can do the same on 
their server?

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


Re: Best way to create thumbnails?

2003-08-14 Thread Edwin Gore



Basically, what you need to do is create a script 
that pops them into a locked image (to force a resize) then exports them into a 
file in whatever format you want. If you want to get superfancy you can also set 
it up so that you keep the aspect ratio of the original graphic in the 
thumbnail.
 
I have done something like this, so if you want 
specific scripting help on how to do it, I would be happy to share the scripting 
I have done.
 

  - Original Message - 
  From: 
  [EMAIL PROTECTED] 
  
  To: [EMAIL PROTECTED] 
  
  Sent: Wednesday, August 13, 2003 8:37 
  PM
  Subject: Best way to create 
  thumbnails?
  I've got an app which I've written (quite rapidly 
  thanks to Revolution), which allows the user to drag-and-drop JPEG images from 
  their hard-drive, and it automatically uploads them to a central repository 
  known only to the app.  This is working great, but I'd like to do one 
  more thing - - - I'd like to see if it's possible for Revolution to create a 
  thumbnail image of each JPEG image that's getting uploaded, and place the 
  thumbnails within another directory on the server.I'm looking for 
  advice as to the best way to accomplish this - - - since I'm just FTPing the 
  images right from the hard-drive to the server, I'm not actually opening and 
  reading the image files.  Should I assume that I need to alter this 
  strategy and have Rev open each image file before it gets uploaded, and take a 
  snapshot of each image and shrink it and save it out as a thumbnail JPEG - - - 
  then FTP both the full-size image as well as the thumbnail image?  
  There's no "create thumbnail from JPEG" command that I've missed in Rev is 
  there? 
  


Re: Plain text only please!

2003-08-14 Thread Mark Wieder
Hmmm... It can be done in aol 4.0... Take a look at My AOL |
Preferences and see if there's something in there. Sorry - that's the
limit of my AOL knowledge on this.

-- 
-Mark Wieder



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


RE: Easier way to do text-movement algorithm?

2003-08-14 Thread Mark Powell
Jim:

Have you considered inserting token characters that can be used as
itemdelimiters?  In a stitching application I am working on now, I am using
a ` character to delimit streams of text into sections to do just the block
manipulation you describe.  I further delimit sections into subsections with
a tab delimiter, and subs into subsubs with comma delimiters.  I prefilter
the stream and substitute legitimate tick marks (and tabs and commas) with
alias strings, which I filter back out on output.   It is kludgey, but it
works well for me.

Mark

-Original Message-
From: Jim Witte [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 9:38 PM
To: [EMAIL PROTECTED]
Subject: Easier way to do text-movement algorithm?


>   I'm making an source code rearrangement application...
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: point math [was: Re: Pass A URL w/Javascript]

2003-08-14 Thread Robert Brenstein
On Tuesday, August 12, 2003, at 06:27  PM, Mark Brownell wrote:

This is definitely not SQML compliant but having your own markup 
language "means never having to say you're sorry."
gees! I must be getting old, it's SGML, Standard Generalized Markup 
Language. Several of my resent posts refer to it as SQML. Anyway I'm 
just embarking on a search of the archives for location of stack 
point math or point addition and subtraction. If I do this in the 
message window "put 10 + 20,30 + 10" I get 30,40. If I "put the loc 
of stack me into var" and try the same math, 10 + var + 10, I get 
error. I'm trying to dock a newly opened stack to an already open 
stack. Any suggestions? I would like to move sub-stacks around with 
the main stack when each sub-stack opens.

me

I think that once you put a point into a variable, you need to do 
math on it as items since parsing order changes.

add 10 to item 1 of var
add 10 to item 2 of var
Robert
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: and moving to the music dancing with the bear

2003-08-14 Thread Mark Brownell
On Thursday, August 14, 2003, at 07:19  AM, Klaus Major wrote:

Now we're dancing :-)
Ok, but who's supposed to lead?
Or are we doing some sort of "free-form-tango"?
:-D
Mark
Not sure this helps ;-)

Regards
Klaus Major
K:P   User is a little kid with a propeller beanie

http://www.scopie.com/asciiart/smileyfaces.asp

I'm sure this helps:

%-)   User has been staring at a green screen for 15 hours straight

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


Re: and moving to the music dancing with the cows?

2003-08-14 Thread Klaus Major
Hi Mark,

...
Now we're dancing :-)
Ok, but who's supposed to lead?
Or are we doing some sort of "free-form-tango"?
:-D
Mark
Not sure this helps ;-)

Regards
Klaus Major
K:P   User is a little kid with a propeller beanie

http://www.scopie.com/asciiart/smileyfaces.asp
Cool, thanks for the link.

I'm sure this helps:

%-)   User has been staring at a green screen for 15 hours straight
LOL :-)

Have nice day...

Regards

Klaus Major
[EMAIL PROTECTED]
www.major-k.de
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: 2.1 release schedule & licensing

2003-08-14 Thread Edwin Gore
Are they going to count 2.1 as a feature release? I hope not, since all the features 
that I can *think of* are mac-specific. Are Windows and *nix users even getting 
anything?

>- --- Original Message --- -
>From: Alex Rice <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Sent: Thu, 14 Aug 2003 10:50:23
>
>Supposing I buy a Studio license on Aug 30th, but
>Rev 2.1 is released 
>on Sept 1. That would be pretty disappointing to
>have my "1 feature 
>release included" be all used up within a few days
>of purchasing a 
>license. So how is the schedule looking?
>
>Alex Rice, Software Developer
>Architectural Research Consultants, Inc.
>http://ARCplanning.com
>
>___
>use-revolution mailing list
>[EMAIL PROTECTED]
>http://lists.runrev.com/mailman/listinfo/use-revolu
>tion
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: custom property woes

2003-08-14 Thread Björnke von Gierke
On Donnerstag, Aug 14, 2003, at 00:32 Europe/Zurich, Scott Rossi wrote:

"players" is probably a reserved word, as in "put the number of 
players of
this stack" so you cannot reference it as a property name.
I'm stupid thank you :)

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


Re: set the decorations of this stack to utility

2003-08-14 Thread Klaus Major
Hi Chipp,

I'm using vers 2.1 on XP
I try:
set the decorations of this stack to utility
the official syntax is:

...
set the decorations of this stack to ("utility")
...
But it only worked on OSX for me.

On my win2000 i got:

"can't set this property!"

...waiting for the beta 3 ;-)

from the msg

and it appears to execute:

set the decorations of this stack to empty

The utility setting should create a palette which floats above all 
other
windows. I've created a standalone with it and it still doesn't work. 
Can
anyone get this to work?

best,

Chipp
Regards

Klaus Major
[EMAIL PROTECTED]
www.major-k.de
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


HyperGASP

2003-08-14 Thread John Tenny
Anyone familiar with HyperGASP. If so, is there anything like it for 
Rev? (It was a programmers support tool for Hypercard).

John

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


Re: Documentation to the rescue

2003-08-14 Thread Barry Levine
Monte,

A-ha! I thought Dan was referring to a path, so I was scrounging around 
in the Rev folder looking for the "Development" folder! Then I thought 
it might be a set of URL links at the RunRev site! I see it now...and, 
yes, I was able to find -lots- more stuff that seemed to be hiding 
behind corners now!

Thanks,
Barry
PS - Also thanks to both you and Ken for the simplified centering 
script snippet. I had been under the (erroneous) impression that the 
loc of the card was the same as the loc of the stack. In this case, I 
simply mis-read the docs that I -had- found.

Barry

On Monday, Aug 11, 2003, at 21:09 America/Denver, 
[EMAIL PROTECTED] wrote:

"Development | Plug-Ins | Search Revolution Documentation"

He's referring to the Search Revolution Documentation plugin. You 
access it
by choosing Plugins > Search Revolution from the Development menu.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


I suffer dementia so I can't use Revolution

2003-08-14 Thread Jim Hurley
I was about to post a question on the formatting of text so that the 
decimal points in my numbers would line up. I planned to do this by 
setting the numberformat to 0.00, and right justifying the text. I 
was searching for a way to pad the line of text with leading spaces 
to force the line against the right margin.

Alas, in searching through the docs for formatted width etc. I came 
upon an old friend, text align, which of course included right align. 
Problem solved. I had used this many times before to center align but 
never right align.

Never mind the issue of "I speak xxx, so I can't use Revolution." How 
about a list for those of us with dementia?

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


Re: Regular expressions - detecting whitespace

2003-08-14 Thread Dar Scott
On Wednesday, August 13, 2003, at 03:56 PM, Steve Gehlbach wrote:

Jim Witte wrote:
  BTW, if I execute 'put matchText( "this text" , "(g*)")', it 
returns true.  Certainly this is not a string of 'g's..  What am I 
doing wrong here
In RegExp, "*" matches _zero_ or more of the previous chars. What you 
want here is "(g+)" for one or more g's.  Kind of counter intuitive 
since for ls or dir, the "*" has a slightly different meaning, ie, "ls 
g*" will get all files starting with "g".  Not so in regexp.
In addition, the regex matches if the pattern is within, not just if it 
spans the string.  For the pattern to match the entire string, \A at 
the start and \z at the end (or the equivalent) are needed.  For 
example, "\Ag*\z" will match a string of zero or more g's.  It will 
match the empty string in the case of zero.

Dar Scott

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


Re: A task for Binary decode?

2003-08-14 Thread Dar Scott
On Tuesday, August 12, 2003, at 10:34 AM, Rodney Tamblyn wrote:

\377\330\377\341\025\342Exif\000\000MM\000*\000\000\000\010\000\014\001 
\017\000\002\000\000\000\006\000\000\000\236\001\020\000\002\000\000\00 
0\023\000\000\000\244\001\022\000\003\000\000\000\001\000\001\000\000\0 
01\022\000\003\000\000\000\001\000\001\000\000\001\032\000\005\000\000\ 
000\001\000\000\000\270\001\033\000\005\000\000\000\001\000\000\000\300 
\001(\000\003\000\000\000\001\000\002\000\000\0011\000\002\000\000\000\ 
016\000\000\000\310\0012\000\002\000\000\000\024\000\000\000\326\001<\0 
00\002\000\000\000\020\000\000\000\352\002\023\000\003\000\000\000\001\ 
000\001\000\000\207i\000\004\000\000\000\001\000\000\000\372\000\000\00 
3\240Canon\000Canon PowerShot  
G3\000\000\000\264\000\000\000\001\000\000\000\264\000\000\000\001\000\ 
000QuickTime 6.1\0002003:08:03 17:56:50\000Mac OS X
This looks suspiciously like something you can give to format()  
directly.  If so, your solution is one line.  Look at format and maybe  
try it and see what happens.

Dar Scott

 

  Dar Scott Consultinghttp://www.swcp.com/dsc/Programming  
Services
 


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


Re: LDAP request

2003-08-14 Thread Brad Allen
At 2:16 PM -0800 1/2/03, Bill Vlahos wrote:
I would like to write an application which queries a LDAP server. If 
anyone has already done this I would appreciate any pointers.
Bill, you posted this about seven months ago. Did you find out 
anything on this front?

I'm trying to get the use of Rev justified at my day job for an 
upcoming project involving LDAP. The ability to connect to LDAP 
services using Rev would make this an easier sell...

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


Bug (and I'll report it if it hasn't been already)

2003-08-14 Thread Barry Levine
From the message box, type "revSetSpeechSpeed" (without a number) and 
hit Enter.

*boom* - Rev quits.

(OSX 10.2.6, Rev 2.0.1)

Barry

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


RE: Documentation to the rescue

2003-08-14 Thread Ken Ray
"Development" menu, "Plugins" menu item, "Search Revolution
Documentation" sub menu item.

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

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Barry Levine
> Sent: Monday, August 11, 2003 10:53 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Documentation to the rescue
> 
> 
> Dan,
> 
> "Development | Plug-Ins | Search Revolution Documentation"
> 
> I haven't a clue to what you are referring.
> 
> Please elucidate.
> 
> Thanks,
> Barry
> 
> On Monday, Aug 11, 2003, at 18:49 America/Denver, Dan wrote:
> 
> > The docs to the rescue!
> >
> > Development | Plug-Ins | Search Revolution Documentation
> > (snip)
> > ~~
> > Dan Shafer, Revolutionary
> >
> 
> ___
> 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


Re: Selecting text in fields - scroll behavior

2003-08-14 Thread Scott Rossi
Recently, "Jim Witte"  wrote:

>  I want to select some text in a field.  I've using
> 
> select char startChar to endChar of fld "fCode"
> 
> where fCode has the List Behavior property set.  It works, but if I
> tell it to select a range that isn't in the current scroll range, it
> scrolls so that the *bottom* of the selection is visible, and I'd like
> the *top* (and the whole thing) is visible.  Is there a way to do this.
> 
>  Or is there a better way to do text hiliting like this.  I only need
> to select whole lines, so I first tried "select line x to x".  This
> works (but only if list behavior is turned on), but I need a way to get
> the line numbers out of matchChunk, which only returns character
> offsets..  So I'm back to selecting characters.

Did you try setting the hilitedLines of the field?  Can you use the
lineOffset function?

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

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


Re: Pass A URL to cover all Win bases

2003-08-14 Thread FlexibleLearning
Scott suggests:

[snip]
> if "Win" is in platform() then
>  put tCode into url ("file:" &tLaunchPath)
>  set the hideConsoleWindows to true
>  put empty into tTitle
>  if "NT" is in systemVersion() then ##
>   set the shellCommand to "cmd.exe"
>   put quote "e into tTitle
>  end if
>  get shell("start" &&tTitle &"e &tURL "e)
> end if
[endSnip]

In order to catch all of Win95/98/2K/XP/NT/ME, I would only modify the shellCommand test to read...

  if ("NT" is in the systemVersion) or ("Windows 4.90" is in the systemVersion) ##


Also, if you get the default browser to launch direct without using a temp file, Scott's excellent original post back in May 2002 to the mc list and for which I shall hate him forever ;)...

on launchBrowser theURL
   set the hideConsoleWindows to true
   put empty into theTitle
   if ("NT" is in the systemVersion) or ("Windows 4.90" is in the systemVersion) then
 set the shellCommand to "cmd.exe"
 put quote & quote into theTitle
   end if
   get shell("start" && theTitle && theURL)
end launchBrowser

it may be useful to add a simple error trap in case the URL is already displayed with

if the result is not empty then
  answer "Please click the REFRESH buton in your browser."
end if

/H


RE: For true beginners

2003-08-14 Thread erik hansen

this sounds naive and simplistic, but couldn't
a HC-ish RunRev shell be created with a 
simplified instruction set,
just as RunRev is a shell for MC?
charge something extra and keep everybody happy?

of course Ken's learning stacks approach is
better. make your own simplified instruction set.

there is a lot of helpful info at various
websites. check out the RunRev fanzine for
some links. the authors personal names are
given along with the URL.

some were missed but in the fullness of time...

Erik


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

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Pass A URL w/Javascript

2003-08-14 Thread Monte Goulding
>  Cat & Dog  
>  mtmlsound link
> mtmlimage link 
> mtmlvideo link
>
> This is definitely not SQML compliant but having your own markup
> language "means never having to say you're sorry."
>
> This just saved me from having to write the algorithm from hell. I
> might just go out and take a day off for this. Yippee!
>
Hey mark

You don't need the http bit at the start of the linkText.

I'd also suggest using = to separate name, value pairs and & to separate
items as with a CGI url. Then you can just:

put urlDecode(pLink) into tLink
split tLink by "&" and "="
if tLink[type] = "video" then
  set the fileName of player x to tLink[linkauto]
end if

Cheers

Monte

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


Re: A Newbie Question on best practices with revolution 2.

2003-08-14 Thread Dar Scott
On Wednesday, August 13, 2003, at 12:11 PM, Andre Garzia wrote:

I Want To Know the Revolution way if you folks understand me.
Revolution is so rich, there might be lots of effective styles.

I like to keep all handlers fast when I can and I try to make them 
short.  Others might emphasize other things.

I have used stack libraries, but now copy script libraries to my main 
stack script.

I hardly use menus, but I know some build them first and make them the 
center of the application.

I hardly use the debugger, geometry manager or animation manager and 
probably suffer because of it.

It's just that I think I am doing things the hard way (not that is 
hard to do, but it might there be a easier way).
That is my problem, too.  When working in a group, especially one in 
which experienced people are moving in and out, someone will look over 
your shoulder and say, "Why are you doing that the hard way?"  In my 
case, I'm the only Revolutionary around.

Partly because of that, I hangout at this list.  I try to be frank and 
clear about the silly things I do.  Often, someone will show me a 
better way.  I try to advise where I think I can and often someone will 
respond with a better way.  There could be some assumption I'm making 
that others don't see and they may make an assumption that, of course, 
everybody knows this, so I am probably still doing things the hard way. 
 It is my hope that when it does become obvious that I'm doing 
something silly, some folks will point it out.

Revolution is so rich, I will always be learning.

Dar Scott

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


RE: Windows Version Numbers

2003-08-14 Thread Ken Ray
Scott,

Just curious... what version numbers did they return, and for what OSes?

Ken

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Scott Rossi
> Sent: Wednesday, August 13, 2003 6:13 AM
> To: Revolution List; Metacard List
> Subject: Windows Version Numbers
> 
> 
> I thought the following might prove helpful for folks doing 
> version detection on Windows...
> 
> Determining the current Windows version in Rev/MC may require 
> a slight change on the scripting side.  I've been doing a 
> project with a client that used a script similar to the 
> following to detect the current system version:
> 
> switch the systemVersion
>   case "Windows 4.0"
> put "Windows 95" into tVersion
> break
>   case "Windows 4.10"
> put "Windows 98" into tVersion
> break
>   case "Windows 4.90"
> put "Windows ME" into tVersion
> break
>   case "NT 4.0"
> put "Windows NT" into tVersion
> break
>   case "NT 5.0"
> put "Windows 2000" into tVersion
> break
>   case "NT 5.1"
> put "Windows XP" into tVersion
> end switch
> 
> After some testing, the client found that my project failed 
> on some variations of Windows 98 and Windows ME (the client 
> has a fairly extensive QA department).  Apparently these 
> Windows variations return systemVersions other than 4.10 and 
> 4.90. The way I seemed to have solved the problem was to 
> compare number *ranges* in the systemVersion, instead of exact values:
> 
> put word 2 of the systemVersion into V
> if word 1 of the systemVersion = "Windows" then
>   switch
> case V>=4 and V<4.1
>   put "Windows 95" into tVersion
>   break
> case V>=4.1 and V<4.9
>   put "Windows 98" into tVersion
>   break
> case V>=4.9
>   put "Windows ME" into tVersion
>   end switch
> else
>   switch
> case V>=4 and V<5
>   put "Windows NT" into tVersion
>   break
> case V>=5 and V<5.1
>   put "Windows 2000" into tVersion
>   break
> case V>=5.1
>   put "Windows XP" into tVersion
>   end switch
> end if
> 
> Hope this saves folks some debugging time.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
> -
> E: [EMAIL PROTECTED]
> W: http://www.tactilemedia.com
> 
> ___
> 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


Re: centering script

2003-08-14 Thread FlexibleLearning
Barry writes:

PS - Also thanks to both you and Ken for the simplified centering 
script snippet. I had been under the (erroneous) impression that the 
loc of the card was the same as the loc of the stack. In this case, I 
simply mis-read the docs that I -had- found.

And you can easily get the card or stack equivalent using localLoc and globalLoc functions, but you have probably discovered this by now!

/H


Re: revSpeech & revVideo - the "All Other" Inclusions

2003-08-14 Thread Alex Rice
On Monday, August 11, 2003, at 03:39  PM, Barry Levine wrote:

I just built a Distribution that included the "All Other" choice; I 
needed the Speech library. After building the app, I also ended up 
with two bundles: revspeech.bundle and revvideograbber.bundle. I would 
imagine that I can simply toss the video bundle as my app does nothing 
with this. However, I'd like not to have this "extra" item floating 
around that the user will, eventually, toss (thinking that it is not 
needed).

So the question is: Can I place the contents of this bundle into the 
main app's package and, if so, how? I know how to open the pkg 
contents; what I'm asking is which files go where? I tried putting the 
files from the bundles into the same places (Contents, MacOS, 
Resources) but the app then had no speech capability.

Any advice is appreciated.
Barry, there are a couple of ways you can do this by setting the 
externals property, to point to the location of the revspeech.bundle. 
See the recent thread:

	Re: Externals [was: How to place revVideograbber bundle inside of the 
app bundle? ]

Or search the archive for app bundle.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I speak French, so I think that I can't use Revolution,aaaaargh.

2003-08-14 Thread François Cuneo
Bonjour Pierre,
Le problème, c'est que lorsqu'on débute, on ne peut pas donner beaucoup!
J'ai une licence complète, ne t'inquiète pas:-)
Je crois avoir vu que le bug est corrigé et tout sera rentré dans l'ordre
dans une prochaine version!
Il s'agit bien d'un problème de conversion UTF8, héhé, j'avais raison!
Amicalement
François

-- 
François Cuneo
Site Web dédié au Macintosh http://www.cuk.ch
E-mail: [EMAIL PROTECTED]

> De : Pierre Sahores <[EMAIL PROTECTED]>
> Société : Pierre Sahores
> Répondre à : [EMAIL PROTECTED]
> Date : Fri, 08 Aug 2003 23:15:42 +0200
> À : [EMAIL PROTECTED]
> Objet : Re: I speak French, so I think that I can't use Revolution, argh.
> 
> Bonjour François,
> 
> J'ai, moi-aussi, lu et apprécié l'article de première classe que tu as
> consacré à Revolution 2.0.1. Ne te décourage pas pour ces quelques
> retards à tes demandes d'explications. Les listes Revolution et Metacard
> sont en pleine ébulition, ces derniers temps et beaucoup de ceux qui,
> comme moi, auraient, habituellement, trouvé le temps de te répondre
> rapidement ne l'ont, simplement, pas fait parce que l'attention des
> "listiers" se focalise actuellement sur les conséquences, heureusement,
> de plus en plus prévisibles et rassurantes, du rachat de Metacard par
> Revolution.
> 
> Pour les questions précises sur l'usage des caractères accentués dans
> les noms de fichiers, je ne sais pas répondre et je le regrette mais
> interroge, de ma part, Scott Raney. Je sais qu'il saura prendre le temps
> de t'expliquer quoi faire et, aussi, pourquoi le faire, et qu'en
> d'autres termes, il saura te rassurer sur le sérieux du Team RR/MC en
> matière de support aux utilisateurs. Je n'ai jamais eu, pour ma part, à
> attendre plus de six heures, une demande d'information directement
> adressée au support utilisateur de Metacard. Revolution traverse
> actuellement une "petite crise de croissance" mais je peux t'assurer,
> connaissant les travaux, l'expérience et la notoriété "xtalkienne" de la
> plupart des équipiers du team RunTime Revolution, Kevin, Scott, Tuviah,
> Jeanne,...et de leurs proches partenaires, tels, parmi d'autres, Richard
> Gaskin, Chipp Walters ou Jacqueline Landman Gay, que le nombre de
> neurones au centimêtre-carré tend à croitre considérablement dès que
> l'on s'approche de près de la communauté des développeurs RR/MC.
> 
> Prends le temps de t'habituer aux codes, à l'étiquette, qui préside aux
> échanges sur la liste RR/MC. "In fine", une seule loi gouverne, entre
> nous, toutes les autres : plus tu aides les autres par des réponses
> utiles et ciblées et plus les autres se montreront prompts à répondre à
> tes propres demandes..., tout celà n'étant rien de moins que la marque
> de l'élégances et du respect mutuel qui préside aux relations qui se
> tissent, au fil du temps, entre les colistiers, toujours heureux de
> pouvoir proposer et échanger les solutions qui nous permettent de coder
> mieux et plus vite les solutions les plus adéquates.
> 
> Considère toi comme l'un de ces joueurs d'échecs tout fraichement
> débarqué dans un club où tout le monde serait classé au-delà de 2000
> ELO, toi, y compris, mais où personne ne te connaitrait encore.
> 
> Prends le temps, y compris, d'acquérir une licence de base de Revolution
> pour le tester sérieusement (je me souviens n'avoir rien su faire
> d'interessant avec le starter-kit, avant de prendre ma première licence)
> et je prends le pari que tu me remercieras, avant longtemps :-)
> 
> Bien chaleureusement, Pierre
> 
>> Le Vendredi, 8 aoû 2003, à 12:15 Europe/Zurich,
>> [EMAIL PROTECTED] a écrit :
>> 
>>> 
>>> 
>>> Message: 7
>>> Date: Fri, 08 Aug 2003 09:24:51 +0200
>>> Subject: I speak French, so I think that I can't use Revolution,
>>> argh.
>>> From: Fran=?ISO-8859-1?B?5w==?=ois Cuneo <[EMAIL PROTECTED]>
>>> To: <[EMAIL PROTECTED]>
>>> Reply-To: [EMAIL PROTECTED]
>>> 
>>> Hello everybody,
>>> 
>>> I'm sorry, but I have asked a lot of questions this last days and I
>>> have no
>>> answer (just one from Yves) about something that maybe prohibs me to use
>>> Revolution.
>>> 
>>> Why?
>>> 
>>> Because I think that's it is impossible to use what all people who speaks
>>> French does: use our char in File's names!
>>> 
>>> If you save a file like
>>> 
>>> Save this stack as "Révolution.rev"
>>> 
>>> I obtain the first time that seems to be e good file.
>>> 
>>> But When I open and I save again the file I obtain R–©volution.rev~ that
>>> prohibs Revolution to save correctly the stack.
>>> 
>>> So I have asked how to correct that.
>>> 
>>> The answser from Yves (save as Whatever.rev and rename it to
>>> Révolution.rev
>>> works only if I don't open the stack another time in the same session
>>> (the
>>> files stays im memory, so it's impossible to open it again)
>>> 
>>> I have asked about UTF8 conversion of the files names (I'm sure that
>>> here is
>>> the problem, I had exactly the same with RealBasic, and it was corrected
>>> with a conversion) b

Regular expressions - detecting whitespace

2003-08-14 Thread Jim Witte
Hi,

  Probably been answered before, I don't have time to download a 63MB 
archive over a phone line..

  What kind of regular expression can I use to detect if a string is 
entirely whitespace (space, tab, or return)?  I tried "^([\s|\t|\n]*)" 
but that didn't work.

  BTW, if I execute 'put matchText( "this text" , "(g*)")', it returns 
true.  Certainly this is not a string of 'g's..  What am I doing wrong 
here

Jim

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


Re: Losing track of time

2003-08-14 Thread Dar Scott
On Monday, August 11, 2003, at 01:16 PM, Howard Bornstein wrote:

The send is based on the date and time.  Though you specify it as a
delta, you are really creating a message that is readied for execution
at a time.
Now you've got me confused. I thought the send parameter was a value in
seconds, not a date & time. Obviously seconds can be converted, but 
it's
the lowest common denominator (other than ticks).
The form of the date/time is seconds.

So doesn't it just set
up an internal timer and "ring back" after so many seconds have 
elapsed?
No.  (Virtually not and my guess would be really not.)  Even then, it 
doesn't matter.


Another is to calculate the delay in the send based on the time.
Calculate the seconds of the date/time you want the chime,
chimeSeconds.
Isn't that exactly what I'm doing (minus the calculation) when I say
"send 'reminder' to me in 3600 seconds"?
That is 3600 seconds from when the send executes (by the clock).

If there are any delays between the needed time and the actual 
execution of the send, then this delay is in all subsequent sends and 
can accumulate with this method.  If chime every hour for a week, these 
delays can add up.

You can minimize this if you send before touching any GUI or media.  Do 
it at the very top if you can.


Ok, let's start all over. Tell me where I'm wrong in my thinking.

You use send with a parameter of seconds. It goes off into Metacard
engine-land and probably sets up an OS timer. It then sits there fat,
dumb, and ugly (assuming you're doing nothing else, as in my case) 
until
the time elapses. Then it comes back to your app and says "It's Soup!".
It just counts seconds, right? Baring other system delays and blocking
operations, it should come back to you in the number of seconds you 
asked
for.
I don't think it does that.  Even if it did, you still have problems.  
All events and ready queued messages are executed in order, of queued 
time, so other messages can cause delays.  The system can cause delays 
in the execution of a message.  The system clock (time and date) can be 
adjusted.  There can also be delays in the handler before the actual 
send.

All I'm trying to do is to see if the obvserved delay is due to other
system resources being used or if a blocking command (possibly "play" 
for
example) is happening or something else I haven't thought of.
Fortunately, I'm not trying to use this to navigate a space ship, so
little delays aren't really a problem. I'm just curious.
You can time candidate blocking commands.  The action of a visual 
effect seems a candidate, if you are using that.

I misunderstood; I thought you were trying to avoid the accumulated 
error.

There are a few other possibilities of causes of problems (especially 
on Mac OS), but I can't think of anything that would cause a 5 second 
delay each cycle.  You might want to see if the Mac clock is keeping up.

Dar Scott



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


Re: DLL Absence

2003-08-14 Thread Alex Rice
On Thursday, August 7, 2003, at 12:59  PM, Dar Scott wrote:
But when somebody says "I did the DLL-call thing to get a list of 
watchamacallits from the system and all I got was garbage" then it is 
hard to tell whether one has set up the call right or whether "pointer 
to unsigned long" is broken or whether the right system call is being 
made.
True. But the success rate would be a lot higher, possibly leading to 
less support effort overall. Just a guess.

Regardless, we should implement Rev externals as a SWIG target! See 
 Another job for our army of expert C 
programmers, with spare time, who are lurking on this list. :-)

"SWIG is a software development tool that connects programs written in 
C and C++ with a variety of high-level programming languages. SWIG is 
primarily used with common scripting languages such as Perl, Python, 
Tcl/Tk, and Ruby, however the list of supported languages also includes 
non-scripting languages such as Java, OCAML, and C#. Also several 
interpreted and compiled Scheme implementations (Guile, MzScheme, 
Chicken) are supported. SWIG is most commonly used to create high-level 
interpreted programming environments, user interfaces, and as a tool 
for testing and prototyping C/C++ software. SWIG can also export its 
parse tree in the form of XML and Lisp s-expressions. SWIG may be 
freely used, distributed, and modified for commercial and noncommercial 
use."

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pass A URL w/Javascript

2003-08-14 Thread Mark Brownell
On Tuesday, August 12, 2003, at 05:55  PM, Scott Rossi wrote:

Recently, Mark Brownell wrote:

I'll bet I can pass all kinds of stuff inside the URL and parse it up
for my own custom needs. I'll test for white space or empty space in
the URL first just to see if it will break it. Otherwise I can use a
delimiter to pass unbroken strings of chars. This is a cool feature.
Keep in mind, if you ever have a problem with spaces or other "special"
characters in a URL, you can use the urlEncode/Decode functions to 
make the
problem characters more serer-friendly.

Regards,

Scott Rossi
Scott,

Rev just passed this with flying colors:

 Cat & Dog  
 mtmlsound link
mtmlimage link 
mtmlvideo link

This is definitely not SQML compliant but having your own markup 
language "means never having to say you're sorry."

This just saved me from having to write the algorithm from hell. I 
might just go out and take a day off for this. Yippee!

Mark

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


Re: Shifted field text- what to do?

2003-08-14 Thread Jeanne A. E. DeVoto
At 3:11PM -0700 8/9/03, Ken Ray wrote:
>I have this problem that the field is smaller than the text that is in
>it. When I tab into the field, the text is highlighted, but pushed off
>to the left. For example, a field that says "United States" in it, but
>unselected shows "United S" would end up showing "d States" when it was
>highlighted. When you tab out of the field, it *leaves* it that way.
>
>So I'm trying to do one or both of the following:
>
>1) Keep the text from shifting to the left when it gets highlighted as
>the cursor enters the field
>
>2) Keep the text from remaining shifted when I tab out of the field (or
>alternately, be able to restore the text to its original state when it
>tabs out


(I'm assuming the field has its dontWrap set to true.)

Try this:

on closeField
  set the hScroll of the target to zero
end closeField

on exitField
  closeField
end exitField

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - Software at the Speed of Thought
http://www.runrev.com/


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


Re: Pass A URL w/Javascript

2003-08-14 Thread Scott Rossi
On 8/13/03 10:26 PM, "Chipp Walters" <[EMAIL PROTECTED]> wrote:

> Hey Scott, do you know how to launch a NEW instance of the browser...instead
> of using the same one?

The irony of this question is, a few years ago we used to ask, how do we
*prevent* URLs from opening in multiple browser windows?

I'll look into this, but someone else might know (remember)...

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

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


Re: Convert frequency to RGB

2003-08-14 Thread Joel Rees
> If you can read C, look at this:
> 
> http://www.fourmilab.ch/documents/specrend/specrend.c
> 
> It has black body sources, wavelength to xyz (CIE), xyz constrained to 
> rgb and maybe others.  The xyz to rgb uses a method I mentioned and is 
> described here:
> 
> http://www.fourmilab.ch/documents/specrend/

Wow. Neat stuff. I thought someone would have done this. I'm going to
stash this somewhere and hope I don't lose it.

-- 
Joel Rees, programmer, Systems Group
Altech Corporation (Alpsgiken), Osaka, Japan
http://www.alpsgiken.co.jp

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


Re: Losing track of time

2003-08-14 Thread Scott Rossi
Recently, "Dar Scott"  wrote:

>> I still think you will all find that maintaining a built-in timer with
>> tight
>> accuracy is too much work.  Just poll the current time and base your
>> calculations on that.
> 
> For several reasons, I think you are right in this case.  However,
> there are cases when accurate timing is needed.

Right, but the original post referenced an hourly chime.

If you need accurate timing across a span of a few seconds, or maybe even
minutes, I would expect a custom timer will work fine.  Change that span to
hours or days and you'll be better off pointing an infrequent time
comparison script at the current time.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

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


Re: QT players and audio (OS X dist.)

2003-08-14 Thread Jeanne A. E. DeVoto
At 5:23 AM -0700 8/10/03, Kurt Kaufman wrote:
>Thanks for your reply, Jeanne.  I did notice the problem mentioned in
>the release notes, but I am using QuickTime 6. The proposed workaround
>is not effective in this case. I would doubt this is an Apple/QuickTime
>issue, since ***the controller updates normally when the stack is run
>in the Revolution editing environment ***;  this is only a problem with
>distributions built for OS X.  -Something about the way the
>distribution communicates with QT vs. Revolution itself.

OK. I have not seen this problem, but if you have a reproducible case it
should definitely be filed in Bugzilla.

You asked about existing callback-related reports earlier - this doesn't
seem to be related. (A callback in a QT movie is a message that's sent
automatically when the movie reaches a certain point - see the callbacks
property in the Transcript dictionary - and isn't related to the way the
controller's displayed.)

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - Software at the Speed of Thought
http://www.runrev.com/


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


Re: Regular expressions - detecting whitespace

2003-08-14 Thread Alex Rice
On Wednesday, August 13, 2003, at 01:33  PM, Jim Witte wrote:

  Probably been answered before, I don't have time to download a 63MB 
archive over a phone line..
Are you referring to the list archive? There are two ways to search the 
list archive without downloading it:



Hope this helps,

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Regular expressions - detecting whitespace

2003-08-14 Thread Gordon Tillman
Hi Jim,

  What kind of regular expression can I use to detect if a string is 
entirely whitespace (space, tab, or return)?  I tried "^([\s|\t|\n]*)" 
but that didn't work.
Try this:

answer matchtext( your_field_reference, "^[\s\t\n]+$" )

--gordy

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


Re: Marketing Rev in Other Worlds (was Re: Script Limits andsolid IDE evolution!)

2003-08-14 Thread Robert Brenstein
This discussion of the need for the RunRev folks to market not just 
the product but the underlying xtalk/xcard paradigm to the world of 
Windows in particular raises for me another issue that I think 
prevents the product from achieving the kind of brilliant "Aha!" 
success it richly deserves. I refer to the out-of-the-box experience.

When I showed my wife HyperCard a few months before it was released, 
her reaction was, "I get it. Get out of the way and let me play." 
Her response to Revolution when it opened was, "What's this? Another 
programming thing?"

Professional programmers are going to be very slow to switch to 
Revolution or to any xThing for that matter. It's hard enough to get 
a programmer to change languages even when confronted with a 
demonstrably superior alternative (I know; I spent a few years 
trying to do that with Smalltalk). The real sweet spot market for 
Revolution, as it was for HyperCard and the other xCard products, is 
what I have long been referring to as the Inventive User (IU). IUs 
are people who:

Good points. My reading on the recent changes and glimpes of planned 
changes is that Rev is indeed moving in that direction. However, so 
far, the strength of MetaCard were the professional developers (in a 
loose definition of those) and some of the changes along the way (for 
example, the forthcoming removal of dynamic script setting in 
standalones -- the original topic of this thread) may alienate at 
least some of them. What I am afraid of is that on the long term Rev 
will become just another Hypercard. For sure more powerful and with 
more features but not a tool competing seriously for commercial and 
semi-commercial development. Of course, it does not have to be that 
way and we can only hope the that Rev team ways their options 
carefully and do not focus solely on making a quick buck on short 
term.

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


Re: Marketing Rev in Other Worlds (was Re: Script Limits and solidIDE evolution!)

2003-08-14 Thread Pierre Sahores
Robert Brenstein wrote:
This discussion of the need for the RunRev folks to market not just 
the product but the underlying xtalk/xcard paradigm to the world of 
Windows in particular raises for me another issue that I think 
prevents the product from achieving the kind of brilliant "Aha!" 
success it richly deserves. I refer to the out-of-the-box experience.

When I showed my wife HyperCard a few months before it was released, 
her reaction was, "I get it. Get out of the way and let me play." Her 
response to Revolution when it opened was, "What's this? Another 
programming thing?"

Professional programmers are going to be very slow to switch to 
Revolution or to any xThing for that matter. It's hard enough to get a 
programmer to change languages even when confronted with a 
demonstrably superior alternative (I know; I spent a few years trying 
to do that with Smalltalk). The real sweet spot market for Revolution, 
as it was for HyperCard and the other xCard products, is what I have 
long been referring to as the Inventive User (IU). IUs are people who:

Good points. My reading on the recent changes and glimpes of planned 
changes is that Rev is indeed moving in that direction. However, so far, 
the strength of MetaCard were the professional developers (in a loose 
definition of those) and some of the changes along the way (for example, 
the forthcoming removal of dynamic script setting in standalones -- the 
original topic of this thread) may alienate at least some of them. What 
I am afraid of is that on the long term Rev will become just another 
Hypercard. For sure more powerful and with more features but not a tool 
competing seriously for commercial and semi-commercial development. Of 
course, it does not have to be that way and we can only hope the that 
Rev team ways their options carefully and do not focus solely on making 
a quick buck on short term.

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

To the end, if i have to add an "Entreprise License" fees to the price 
the end-user client will have to pay to get a fine deployement of the 
product he purchased me (aka: without any restrictions about the dynamic 
programming options), this will never be so expensive that it could 
compromise the business On the other hand, if this can help RunTime 
to get usefull incomes from his professional-grade developers, i think 
it will be good for all...

Flaming reactions ?

--
Bien cordialement, Pierre Sahores
Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


How does a stack file get to be 'Recent'?

2003-08-14 Thread Graham
I know this is trivial, but I'm puzzled. I've been working on a stack for a 
couple of days, amount to several hours' work. I've saved it many times, 
I've quit RunRev (2.0.1, Window XP Home Edition) and restarted it and 
messed around all over the place but the stack's file still doesn't appear 
in the 'Open Recent File' list in the IDE's File menu. Does anyone know 
what triggers a stack to get into the list - it sure isn't a 
straightforward 'Save'.

Graham

---
Graham Samuel / The Living Fossil Co. / UK & France  

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


Re: Tools palette

2003-08-14 Thread Yves COPPE
Le lundi, 11 aoû 2003, à 12:21 Europe/Brussels, Phil Jimmieson a écrit :

Sarah <[EMAIL PROTECTED]> wrote:
Has anyone else had the problem of the Tools palette disappearing and 
not coming back? Sometimes, it just disappears. It is still ticked in 
the Tools menu and de-selecting/selecting it there does no good. 
Command-T doesn't help either - the only solution is to shut down 
Revolution and start it again.
Hi Sarah,
I've seen it too, with 2.01 on OSX 10.2.6.



I too on Mac OS X 10.2.6 with Rv 2.0.2



Greetings.

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


Admin Detection

2003-08-14 Thread Scott Rossi
Has anyone come up with a way to determine the user privileges of the
current user without writing a file to the drive?

I'm trying to detect whether or not the current Windows user has Admin
rights.  If the only way to determine this is to attempt to create a file,
what is the best path to use?

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

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


Re: point math [was: Re: Pass A URL w/Javascript]

2003-08-14 Thread Mark Brownell
On Thursday, August 14, 2003, at 06:47  AM, Mark Brownell wrote:

The other
property which you might find useful is "the topLeft".
This does what I need:

set the topLeft of this stack to 10, 92

me (-:

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


Re: How to update?!

2003-08-14 Thread Sarah
Open up your Revolution application folder.
revLibrary.rev goes in components/global environment
revDistributionBuilder.rev goes in components/tools
In both cases, you will be replacing an existing file. If not, you're 
in the wrong place :-)

Cheers,
Sarah
On Thursday, August 14, 2003, at 06:53  am, Andre Garzia wrote:

Hi Folks,

i downloaded a couple updates from rev page...

revLibrary.rev
revDistributionBuilder...
but i don't know how to install thoose things...

Andre Alves Garzia  2003  BRAZIL
http://www.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


  1   2   3   4   >