Re: New Math

2003-01-10 Thread Dar Scott

On Friday, January 10, 2003, at 07:44 PM, Judy Perry wrote:


6/7 = 4286


(6/7)*100 = 85.714286

with the usual value of numberFormat.

Note that they both end in 4286.

Could you be using a short field with right justification?  If that is 
the case, maybe the left part of the answer is pushed out of view.

Try rounding after the calculation or setting numberFormat before 
putting the result into the field.

Dar Scott

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


Re: New Math

2003-01-10 Thread Rob Cozens
Second:  I have some funny math going on.  It's the same States Quiz.  I'm
trying to have the stack keep a running track of the number of correct
answers, the number of attempts, and then divide the former by the latter
and multiply by 100 for an accuracy percentage.  For simple math, such as
3 successes out of 4 tries, the correct percentage (75) is given.
However, for other results, it's not:

2/3 = 6667
5/6 = 
6/7 = 4286
7/8 = 87.5
8/9 = 8889
10/11 = 9091

Here's the script:

[snip]




Aside from the fact that there are probably vastly more elegant scripting
solutions, can anyone help tell me what is going on?


Hi Judy,

Here's what I tried (on a card with fields "State", "Tries", "Score", 
& "Average"):

on mouseUp
  set the numberFormat to ".00"
  put (field "Tries")+1 into theTries
  put theTries into field "Tries"
  if field "State" = 7 then
put (field "Score")+1 into theScore
put theScore into field "Score"
  end if
  put (theScore/theTries)*100 into field "Average"
end mouseUp

Here's what I got in field "Average":

2/3 = 66.67
5/6 = 83.33
6/7 = 85.71
7/8 = 87.50
8/9 = 88.89
10/11 = 90.91

One thing I noticed:  After you put theScore into field "Score" you 
send mouseUp to field "Play".  Is it possible this changes the value 
of theScore?

Now to your aside:

You should be able to do what you want to do with one handler in the 
card script or a group script if your state images are grouped.  One 
way to do this would be to name each image [stateName].gif and give 
each image a stateNumber property (eg: set the stateNumber of image 
"Utah.gif" to 7).  Then you could script something like:

on mouseUp
  global theState, theScore, theMClick, theTries, theAverage
  get the stateNumber of the target
  if it is empty then exit mouseUp  -- logic to make sure the target 
is a state image.
  if theMClick = 0 then
answer "Please click on the 'Play' button!"
exit mouseUp
  end if
  add 1 to theTries
  if it = theState then
answer "Correct.  This is the State of"&&(char 1 to -5 of the 
short name of the target)&"."
add 1 to theScore
put 0 into theMClick
put empty into fld "Instructions"
send mouseUp to btn "Play"
  else  answer "No, this is not correct.  Please try again."
  put theTries into fld "Tries"
  put theScore into field "Score"
  put (theScore/theTries)*100 into theAverage
  put theAverage into fld "Average"
end mouseUp

--

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Any MacWorld Attendees On This List

2003-01-10 Thread Jim Lambert
> run inside a browser, there is nothing anywhere near as powerful as
> ShockWave.

So true. Which makes the sweet smell of Death now lingering about Director
so disconcerting - and too familiar. OMO, HyperCard, ...

Jim Lambert

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



Re: New Math

2003-01-10 Thread Dar Scott

On Friday, January 10, 2003, at 07:44 PM, Judy Perry wrote:


 global theState, theScore, theMClick, theTries, theAverage


Anything can be fooling with the numbers since they are globals.

Perhaps there are errors in the script for some other states.  To make 
this easier to maintain, you might consider something like this:

on mouseUp
  clickedState 7  -- where clickedState is defined in the group or the 
card.
end mouseUp

Or better yet, don't define the mouseUp in the state but in the group 
that collects them all.  There refer to the name of the target.  The 
script is maintained in one place and you know all states have the same 
script.

send mouseUp to btn "Play"


What does the "Play" button do?

Did you mean 'send "mouseUp" to button "Play" in 0'?  This will execute 
right after the state mouseUp is finished.  The above statement from 
the email will execute right in the middle of the state mouseUp.  Will 
executing in the middle be OK?  (Not knowing what "Play" does I'm just 
fishing.)

My best guess is a wayward state script.

Dar Scott


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


Re: New Math

2003-01-10 Thread Scott Rossi
Recently, Judy Perry wrote:

> Apparently,
> if one simply uses a GIF with transparency, the transparent areas do not
> respond to mouse events.  This is my experience.  Am I correct about this?

Yup.  You can use PNG too for 24 bit images.

But in the case of the US states example, think about what you can do with
color: each mouse state (over, down, click, active, disabled) can be
communicated using color and a single draw object.  You could also overlay
draw objects on top of a rendered US image, so that each state hilites
independently.  With 50 (or so) state objects, a little scripting could go a
long way.  Just a thought...

Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: [EMAIL PROTECTED]
Web: www.tactilemedia.com

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



Re: List etiquette and general helpful hints

2003-01-10 Thread erik hansen

--- "Wolfgang M. Bereuter"
<[EMAIL PROTECTED]> wrote:
> 
> On Donnerstag, Jänner 9, 2003, at 09:34  Uhr,
> Troy Rollins wrote:
> 
> > On Thursday, January 9, 2003, at 03:27 PM,
> erik hansen wrote:
> >>
> >> you are right.
> >
> > And YOU are posting in HTML.  ;-)

ich spreche kein HTML.
wass soll ich denn machen?

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

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



New Math

2003-01-10 Thread Judy Perry
First, an update about the irregularly-shaped buttons issue.  Apparently,
if one simply uses a GIF with transparency, the transparent areas do not
respond to mouse events.  This is my experience.  Am I correct about this?

Second:  I have some funny math going on.  It's the same States Quiz.  I'm
trying to have the stack keep a running track of the number of correct
answers, the number of attempts, and then divide the former by the latter
and multiply by 100 for an accuracy percentage.  For simple math, such as
3 successes out of 4 tries, the correct percentage (75) is given.
However, for other results, it's not:

2/3 = 6667
5/6 = 
6/7 = 4286
7/8 = 87.5
8/9 = 8889
10/11 = 9091


Here's the script:


on mouseUp
  global theState, theScore, theMClick, theTries, theAverage
  if theMClick = 0 then
answer "Please click on the 'Play' button!"
exit mouseUp
  end if

  if theState = 7 then
answer "Correct.  This is the State of Utah."
add 1 to theScore
put theScore into field "Score"
put 0 into theMClick
put empty into fld "Instructions"
send mouseUp to btn "Play"
 add 1 to theTries
put theTries into fld "Tries"
put (theScore/theTries)*100 into theAverage
put theAverage into fld "Average"

exit mouseUp
  end if
  if theState b   7 then
   answer "No, this is not correct.  Please try again."
add 1 to theTries
  put theTries into field "Tries"
  put (theScore/theTries)*100 into theAverage
put theAverage into fld "Average"
end if

end mouseUp

Aside from the fact that there are probably vastly more elegant scripting
solutions, can anyone help tell me what is going on?  (The above script is
for one of the target state GIFs.  The rest have similar scripts.  "b" is
the not equals sign).

TIA,

Judy

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



Re: another crash variation

2003-01-10 Thread Rob Cozens
If the user has text in a field selected and presses a button that says
"save this stack," then the stack crashes.  If no text is selected and the
user presses the same button, then the stack does not crash, but saves
itself.  Actually, to be truer to the script of the button, it says,

set cursor to busy
save this stack
go card one

That's it.


There seems to be something more to it, Brad.

I created a two-card stack with a field and a button on card two.  I 
put your three-line script in the button and pasted text from your 
eMail in the field.

The button handler gives me no problem whether or not text in the 
field is selected.

The best way to find out what is happening is to run the script in 
the debugger and press "Step Into" on "go card one"
--

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: use-revolution digest, Vol 1 #1013 - 15 msgs

2003-01-10 Thread Steve Messimer
on 1/10/03 4:40 PM, [EMAIL PROTECTED] at
[EMAIL PROTECTED] wrote:

> What happens if you set the destroyStack to true before closing the stack?
> 
> Also, what is the benefit of having a plug-in listed in the Plugins menu if
> it cannot be run?
Richard,

Yes, this works!

Now as for the reason:

The plugin is intended for use with a particular rev stack and not for use
with any other rev stack.  If the user has the right target stack in memory
then h/s gets access to the tools provided with the plugin.  If the
aforementioned stack isn't in memory the plugin won't launch and access to
the tools is denied.

The reason it is visible in the plug-ins folder is that authorized users may
have a need to invoke its resources under certain circumstances.
Unauthorized users may copy the plugin but it won't work.

Yes, I am being a bit vague.  Sorry. :-)


Thanks for for the tip.

Regards,

Steve

Stephen R. Messimer
Messimer Computing, Inc
208 1st Ave South
Escanaba, MI 49829
www.messimercomputing.com


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



Re: Window whiteout

2003-01-10 Thread Scott Rossi
Recently, "Graham Samuel"  wrote:

> Folks, I am completely foxed by the following problem. I can't find
> anything doing the Google searches or in the Revo documentation. So
> apologies if this is a well-known issue which I have missed.
> 
> I've imported some stacks from SuperCard using the tools provided by
> the Revolution folks (of course these stacks were windows in
> SuperCard). One of these stacks (containing just one card) has been
> successfully imported with all its graphics - that's what I thought
> would happen for all my stacks and cards. However, now if I open any
> other translated stack and show say the first card (doesn't **have**
> to be the first), all I get is a window with the correct title bar
> and an absolutely white interior with no features at all: yet the
> Application Overview shows that there are many graphics and indeed
> some images on the card, and if I click the mouse at random on the
> tabula rasa, the Properties Palette shows that I am clicking on
> various objects.

I haven't used SC import in a long time, but you mention that your stack
contains images.  One thing you might try is deleting any *image* objects in
the Rev stack, save the stack, restart Rev, and then reopen the stack.
Also, make sure the alwaysBuffer of your stack is true.  Let the list know
if the resulting stack is still a problem.

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: textFont -> empty

2003-01-10 Thread Ivers, Doug E
I guess I can do my own workaround for each stack design, but it requires some 
bookkeeping/hassle.  Some of the inheritance elegance is lost.  (As an idealist, 
things like this really chafe me.)

-- D



-Original Message-
From: Jeanne A. E. DeVoto [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 5:15 AM
To: [EMAIL PROTECTED]
Subject: RE: textFont -> empty


At 3:18 PM -0800 1/4/03, Ivers, Doug E wrote:
>> When I set the textFont of a field to empty (so that the
>> owner determines the font face), the textSize is also set to
>> empty.  Conversely, when the textFont is empty and I set the
>> textSize to something, the textFont is no longer empty -- and
>> it doesn't even take on the owners textFont.  Is this fixed
>> in 2.0?  Is there a workaround?

This hasn't changed in 2.0.

What sort of workaround are you looking for? (I.e. "what do you need to do?")

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


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



Window whiteout

2003-01-10 Thread Graham Samuel
Folks, I am completely foxed by the following problem. I can't find 
anything doing the Google searches or in the Revo documentation. So 
apologies if this is a well-known issue which I have missed.

This problem shows up on two different Mac G3s running Revolution 
1.1.1 under MacOS 9.2.2 (my usual development platform). Revo has 
plenty of RAM to work in (currently 72Mb). My monitor is set to 
Millions of Colors (screenDepth 32).

I've imported some stacks from SuperCard using the tools provided by 
the Revolution folks (of course these stacks were windows in 
SuperCard). One of these stacks (containing just one card) has been 
successfully imported with all its graphics - that's what I thought 
would happen for all my stacks and cards. However, now if I open any 
other translated stack and show say the first card (doesn't **have** 
to be the first), all I get is a window with the correct title bar 
and an absolutely white interior with no features at all: yet the 
Application Overview shows that there are many graphics and indeed 
some images on the card, and if I click the mouse at random on the 
tabula rasa, the Properties Palette shows that I am clicking on 
various objects. These objects include really simple things like 
rectangles: they have their visible property set on, they have a 
border, etc etc. I can change all the colours in the Color Palette 
for any of these objects so that not one colour is white, and I can 
force them to the front, but the result is still the same. I can't 
see the difference between the card that worked and the ones that 
don't.

If I use the Revolution tool palette to draw a new rectangle on the 
white page, I can see it, and I can adjust its size, curiously 
slowly; but when I delete it, the grc doesn't actually go away until 
I force a screen refresh by bringing another window to the front and 
then bringing my original window back. I have no idea if this problem 
is related to the (far more serious) first one.

I notice that if I open SuperEdit (the SuperCard editing environment) 
and copy one of these objects to the MacOS clipboard and attempt to 
paste it into a card in Revolution, I get some kind of paint image, 
rather than a field, grc etc. I am not thinking of this as a bug, 
since there can be no automatic right to expect the object to 
transfer unaltered - but the interesting point is that at least I can 
see the pasted object.

I really do not know what to do apart from laboriously reconstructing 
the objects on the various cards, which means that the transfer from 
SuperCard will turn out to be far more onerous than I guessed it 
would be.

Any help would be greatly appreciated

Graham
--
---
 Graham Samuel / The Living Fossil Co. / UK & France
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


another crash variation

2003-01-10 Thread BSpurgeon

I think I may have managed to get the longest crash-free period so far on a
small, simple application I built with Revolution by tweaking it last
Monday or Tuesday to set the Appearance Manager to OS Emulated, as many
discussions here have suggested.  I run the application on OS 9.  But now,
Friday, a new variation on the crash phenomenon has brought about a crash
that happens both on the standalone application and on the stack if opened
under Revolution's programming environment.

Here it is:

If the user has text in a field selected and presses a button that says
"save this stack," then the stack crashes.  If no text is selected and the
user presses the same button, then the stack does not crash, but saves
itself.  Actually, to be truer to the script of the button, it says,

set cursor to busy
save this stack
go card one

That's it.  And the problem is that many users of this stack want to select
text, copy it and then go to card one.  It it is a bit too difficult to
solve the problem by telling users that whatever they do, don't press that
button if text is selected.

Any ideas on what might be causing this crash variation?  Incidentally, it
creates the usual backup stack with a tilda on it and the user has to go
through that business of taking the tilda off and throwing the other dead
stack away.

Anyone else have this problem?

Cheers,
Brad Spurgeon

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



Re: Any MacWorld Attendees On This List

2003-01-10 Thread Judy Perry


On Fri, 10 Jan 2003, Troy Rollins wrote:
> Not to throw water (or petrol) on it , but I do think that there have
> been an application or two made with Director. Also, Director is on
> version 9, RR has yet to deliver version 2. Questioning Macromedia's
> commitment to the product, and comparing it to that of a rather young
> company would seem to be a bit of self delusion.

True, but how long has that rather young, small, company had an OSX-native
version?  For the class I am taking in which Director was required, Mac
users had to buy the product not once but twice within a 16-week period to
get OSX-runnability (buried deep in their tech notes was the
recommendation that the user NOT run it in Classic mode -- big pain.)
And,  even with educational pricing, Director ain't cheap.  Moreover, I'd
wager that Director and Flash have much more in common than areas in which
they functionally differ.  How can this possibly make continued business
sense?

>
> Don't get me wrong, I like RR a lot - but Director is not a tool to look
> down upon. Many people have made entire careers on that tool, and it
> continues to represent a large portion of my company's income. Director
> MX on OSX is really quite a nice tool, and the scripting does not come
> off as an afterthought.

But it was.  Plus I think it's on its second language (I read somewhere
after Video Works became Director, its first scripting language was
BASIC-like).  And as an article in the Communications of the ACM noted,
its scripting language looks like a 'mish-mash of C code with Director's
Lingo."

 And, in the event that an application needs to
> run inside a browser, there is nothing anywhere near as powerful as
> ShockWave.

True.
>
> Both Director an RR have a place. In many ways they play in completely
> separate leagues.

Agreed entirely.  But Director's probably a better animation tool and RR's
probably a better application builder.

Judy

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



Re: Any MacWorld Attendees On This List

2003-01-10 Thread Judy Perry
Hi Rob,

Sigh.  Dare I say amen again?

Judy

On Fri, 10 Jan 2003, Rob Cozens wrote:

> however, it leads to some interesting conjecture as to what it would
> have been like to create those same applications in QuickTime
> Interactive (aka HyperCard v3).

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



Re: Any MacWorld Attendees On This List

2003-01-10 Thread Troy Rollins

On Friday, January 10, 2003, at 02:08 PM, Klaus Major wrote:


If you want some real applications, MC/RR is the only choice.


Not to throw water (or petrol) on it , but I do think that there have 
been an application or two made with Director. Also, Director is on 
version 9, RR has yet to deliver version 2. Questioning Macromedia's 
commitment to the product, and comparing it to that of a rather young 
company would seem to be a bit of self delusion.

Don't get me wrong, I like RR a lot - but Director is not a tool to look 
down upon. Many people have made entire careers on that tool, and it 
continues to represent a large portion of my company's income. Director 
MX on OSX is really quite a nice tool, and the scripting does not come 
off as an afterthought. And, in the event that an application needs to 
run inside a browser, there is nothing anywhere near as powerful as 
ShockWave.

Both Director an RR have a place. In many ways they play in completely 
separate leagues. I'd rather not choose which one to keep and which to 
dismiss as "not as good."

--
Troy
RPSystems, LTD
www.rpsystems.net

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


Re: FTP progress bar

2003-01-10 Thread Vikram Singh
The new library provides a hook into the url status with the function
libUrlSetStatusCallback. You dont need to poll for url status (with
urlstatus), it updates itself and sends any message you desire.

You can try this button script:

on mouseUp
 put url "binfile:test.txt" into url "ftp://un:[EMAIL PROTECTED]";
 libUrlSetStatusCallback "urlCallback", (the long id of this button)
end mouseUp

on urlCallback pUrl, pStatus
put pstatus into fld status
..manipulate the thumbposition of the scrollbar...
if "loading" is item 1 of pstatus then set the thumbpos of sb 1 to (item 2
of pstatus/item 3 of pstatus)*(the endvalue of sb 1-startvalue of sb 1)

end urlCallback

Though i havent tested it, it should hopefully work. See the liburl docs
(for new features) in the runrev site for more...

Regards
Vikram


- Original Message -
>
> Does anyone have a script or stack which demonstrates how to show FTP
> progress using a progress bar?
> I am looking for an example in its simplest form. Thanks.
>
> Roger Eller
> [EMAIL PROTECTED]
>

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



Re: Any MacWorld Attendees On This List

2003-01-10 Thread Judy Perry
Amen! Lingo is just plain ugly by comparison.

I suspect you may be right about Macromedia's committment to Director as
well:

(1) Look how long it took them to get out an OSX version.

(2) Look at how much the two product lines of Flash and Director seem to
becoming either redundancy or merging into a single product.

The movie metaphor just doesn't work for me in making what essentially are
applications...


Judy

On Fri, 10 Jan 2003, Bill Lynn wrote:

>
> Granted, but I like Transcript much better than Lingo. Having come from a
> HyperCard background years ago it's refreshing to get back to a scripting
> language that is both powerful and straightforward. In addition, I'm not
> confident in Macromedia's committment to Director. Scuttlebutt has it that
> Director MX may be the last major upgrade version.

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



RE: white "ask" and "answer" dialog box in standalone

2003-01-10 Thread Jerry Daniels
Tekpa,

I have put the following into the startUp handler in the mainstack of my
standalone:

if word 1 of the systemVersion is "NT" and word 2 of the systemVersion > 5
then
  put queryRegistry("HKEY_CURRENT_USER\Control Panel\Colors\MenuBar") into
tColor
  answer tColor
  if tColor <> "" then
put word 1 of tColor,word 2 of tColor,word 3 of tColor into tColor
set the backgroundColor of this stack to tColor
  end if
end if


The answer dialog, when called in the above handler was the requisite color
gray, however, once the mainstack opened, the ask/answer dialogs were once
again white as the driven snow. I have also tried this script without the
answer dialog. Same result.

Whatever am I doing wrong?

Jerry Daniels

-Original Message-
From: Chipp Walters [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, January 09, 2003 3:36 AM
To: [EMAIL PROTECTED]
Subject: RE: white "ask" and "answer" dialog box in standalone

Roland,

Check out the bottom of the page:

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

entitled "Fixing XP default background color"

-Chipp

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Roland Leger
> Sent: Wednesday, January 08, 2003 9:49 PM
> To: [EMAIL PROTECTED]
> Subject: white "ask" and "answer" dialog box in standalone
>
>
> Does somebody knows how to change the dialog box color property, in
> preparation for a standalone application.
> The ask and answer dialog box in my standalone comes out white. I want to
> change them to grey.
>
> [EMAIL PROTECTED]
>
> ___
> 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



putting away plugins

2003-01-10 Thread Steve Messimer
Hi

I am creating an application that uses a plugin. I want to restrict the use
of the plug-in to the application that accompanies it.  Uses by other rev
Stacks would not be allowed. The first part of this (determining under what
conditions the plugin will launch) I know how to do.  The problem I am
having is that if I launch a plug-in I can't abort the launch if certain
conditions aren't met.

I have tried this code in both preOpenStack and openStack handlers located
in the plug-in.

# when certain conditions are met ... do this code
# "thePlugin" here is a stack in the rev plugins folder
close stack "thePlugin"
set the destroyStack of stack "thePlugin" to true
exit to top

This doesn't work. What it does do is remove the stack from the Application
overview window and allow the stack window to be shown.  This is bad form
for lots of reasons I won't get into here.

Ideally what I want is the plugin to abort its launch and not be shown in
either the application overview window or on the desktop. I still want it
visible in the plugins menu.

Anybody have any ideas?

Thanks,

Steve

Stephen R. Messimer
Messimer Computing, Inc
208 1st Ave South
Escanaba, MI 49829
www.messimercomputing.com


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



Re: Any MacWorld Attendees On This List

2003-01-10 Thread Bill Lynn
> What specific features in Rev 2.0 would have made the difference for your
> project's needs?
> With the base cost of Director plus the cost of rewriting everything from
> scratch, such a migration is an expensive option.

Granted, but I like Transcript much better than Lingo. Having come from a
HyperCard background years ago it's refreshing to get back to a scripting
language that is both powerful and straightforward. In addition, I'm not
confident in Macromedia's committment to Director. Scuttlebutt has it that
Director MX may be the last major upgrade version.

So, I'm willing to invest the time (the $ has already been spent) to use Rev
2.0 but every week that passes with no Rev 2.0 makes it more difficult for
me to accomplish what I need to in so short a period of time.


Cheers (or cheese)... Bill Lynn
Simtech Publications
www.hsj.com



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



Re: Arabic, CE and ME versions...

2003-01-10 Thread manuel companys

Le Thursday, 9 Jan 2003, à 03:46 US/Central, [EMAIL PROTECTED] a 
écrit :


- FileMaker takes use of Unicode fonts, but we have to use special
  CE-fonts for countries like Poland or Russia, because of the
  special chars.


Normally you don't need Unicode for WE, CE or Cyrillic unless the 
language is not included in the correspondent ISO font map definition 
(latin 1 for WE for instance) you can also find fonts following other 
ISO definitions evenß though Apple doesn't use this possibility, 
preferring to switch to Unicode; I guess they are right: it would just 
be crazy, for instance, to take care of latin 3 (turkish, rumanian, 
esperanto, maltese) which has had few fonts developed, most of them 
featuring many SCII addresses not respecting the ISO guide lines!.

I do not have a good experience about Windows but I would be surprised 
if there were not a bunch of fonts for lots of  languages out there. 
Defining the keyboard map for an ergonomical input is certainly not so 
user friendly as with mac's resEdit, but it should be possible.
[ .]

I agree that Unicode is certainly the solution for the future, but now, 
I think one should consider that it might be other solutions; at least 
for some program types, concerning certain groups of languages, and for 
 most users outside the United Stattes, that will have to use slow 
modems and old computers for many years.

Manuel

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



A Box Question & A Box Request

2003-01-10 Thread Rob Cozens
The question: Is there a way to set the line width of the box drawn 
around text whose textStyle is box?

The request: It would be nice to be able to specify different 
top/bottom colors for text whose textStyle is threeDBox, so that 
threeDBoxed text will display differently than the field that 
contains it when the field is also set to 3D.
--

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Curious Group-Related Behavior

2003-01-10 Thread Rob Cozens
Hi All,

My mystery of the day:

I'm testing a stack that has (visible) two groups and three individual fields.

If I select either group and start editing it, the last individual 
field remains visible.  If I copy/paste a group into a new stack, 
only the grouped controls are moved; so why does my last field show 
up whenever either group is edited?

FYI, this is in V1.5A7 on Mac OS 9.2.
--

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Revolution 2.0; XML Pull Parser?

2003-01-10 Thread Mark Brownell
Hi,

I have a question about the method used to parse XML with Revolution 2.0.

Many of the XML parsers available for building applications are based on a
push technique that gathers all the information found in a well-formed XML
document and places it in some kind of nested array. The latest efforts in
XML coming from the DBMS crowd of XML users is to go beyond push parsers and
query the XML before populating any database with information that the pull
parser technique might gather. They have moved towards an SQL-XML kind of a
procedure.

I don't have a copy of the Revolution 2.0 alpha. I have know idea what its
capabilities might be. If it could just handle one simple pull parsing
capability then I could build my own SQL-XML parser.

I wish something like this were possible:

Have the pull parser algorithm query any XML element for two other elements
that exist inside the first element. Have that parser include only the
selected items that fit the query into an accessible array.

--
Example code might look like this:

XML is a representation of a database table nested in "", ""
configuration.

put "" into dbtableRow

put "" into infoReference
-- refers to the reference number of each row/transaction in record

put "" into dataToFind
-- refers to what each customer purchased

So with these variables the pull parser could do this:

put the text of field "xml document" into parseThis

put findAll(parseThis, dbtableRow (infoReference, dataToFind)) into
pullParserArray
--

With this kind of function built into the new Revolution 2.0 there would be
a definite advantage over other RAD tools trying to compete with it. Already
this kind of capability is becoming available to the .Net developers and
custom DBMS types that build classes to support it in other languages. I'm
hoping something like this was or will be considered before the full release
of Revolution 2.0.

Thanks for any information on this,
Mark Brownell











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



Re: OT--List etiquette and general helpful hints

2003-01-10 Thread miscdas
[snip]
Jim Hurley writes: 



Bernard Devlin wrote: 
I suspect discussions of cheese and other comestibles may be unlikely to 
cause
much offence. 

Bernard



... I am consoled by the thought that the early bird may get the worm, but 
it is the second mouse who gets the cheese.

Jim Hurley 

--
Jim Hurley
__


"To what fine things dost thou pay homage?" 

"Nought but one, friend--goodly fromage." 

--Dr. Dave's "It's Nearly Philosophy"--
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


OT--List etiquette and general helpful hints

2003-01-10 Thread Jim Hurley
Bernard Devlin wrote:

I would like to suggest that the policy of the list should be that off-topic
posts pushing religious, moral or political views are banned.






I suspect discussions of cheese and other comestibles may be unlikely to cause
much offence.

Bernard


I would like to second  Bernard's remarks.

I realize I am a bit late, and that I prolong the discussion, but I 
am consoled by the thought that the early bird may get the worm, but 
it is the second mouse who gets the cheese.

Jim Hurley

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


Re: List etiquette and general helpful hints

2003-01-10 Thread Heather Williams
Guys! Please! take a look at the last digest that just arrived in my inbox.
More than half of it was Not Discussing Revolution. You've all had your say.
I've listened, laughed at some, torn my hair out at others, and now I'm
saying Subject Closed. If you still have strong feelings on how the list
should be moderated, write to me direct, [EMAIL PROTECTED] Do Not Respond
On The List.
-- 
Heather Williams <[EMAIL PROTECTED]> 
Runtime Revolution Ltd.
Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707
Revolution: The Peaceful Solution

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



Re: Klaus Major's Christmas Tree Problem

2003-01-10 Thread Klaus Major
Hi Richmond,

a happy new year to you :-)


Those of us cheap-jacks who are still developing with
unlicensed versions don't have access to the RR2 Alpha
builds.

However we can all glory in Klaus Major's Christmas tree


Fortunately it will last at least until next christmas and will
definitevely not loose its fir needles, promised ! ;-)


(see User Contributions) by opening it in Metacard 2.4.2
using my "Bagic Mutton" (shameless plug) also downloadable
from User Contributions.

Richmond Mathewson


Regards

Klaus Major
[EMAIL PROTECTED]

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



Klaus Major's Christmas Tree Problem

2003-01-10 Thread Mathewson
Those of us cheap-jacks who are still developing with
unlicensed versions don't have access to the RR2 Alpha
builds.

However we can all glory in Klaus Major's Christmas tree
(see User Contributions) by opening it in Metacard 2.4.2
using my "Bagic Mutton" (shameless plug) also downloadable
from User Contributions.

Richmond Mathewson
---
Great Macintosh Products 
 The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi
---
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: reference another stack

2003-01-10 Thread Klaus Major
Hi John,


I have a rev program running on one mac. I will call this the server. 
I have
another program running on another mac, I will call this remote, that 
make
reference calls to a stack on the server.

The remote program I am using the stackfile property to place the name 
of
the stack. Every thing works fine. When I add a card on the server 
mac. If I
call the stack from the remote it does not see the new card. Unless I
restart the program on the remote. I know this has something to do 
with that
rev loads the stack into memory. But why is this happening. If I makes 
calls
from the server mac to the stack it see the updates why doesn't the 
remote
see it. The only difference in my code is the location of the stack.

just a thought:

Did the "server" save the stack after creating the new card ?

I am sure when you "call" this stack, it will be read from the file on 
disk
and not from memory of the "server".

Regards

Klaus Major
[EMAIL PROTECTED]

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


reference another stack

2003-01-10 Thread John Cuccio
I have a rev program running on one mac. I will call this the server. I have
another program running on another mac, I will call this remote, that make
reference calls to a stack on the server.

The remote program I am using the stackfile property to place the name of
the stack. Every thing works fine. When I add a card on the server mac. If I
call the stack from the remote it does not see the new card. Unless I
restart the program on the remote. I know this has something to do with that
rev loads the stack into memory. But why is this happening. If I makes calls
from the server mac to the stack it see the updates why doesn't the remote
see it. The only difference in my code is the location of the stack. 

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