[Use-revolution] Digest use-revolution.v001.n138

use-revolution-errors at www.runrev.com use-revolution-errors at www.runrev.com
Wed Nov 21 17:54:58 EST 2001


-------------- BEGIN use-revolution.v001.n138 --------------

    001 - Shari <gogypsy at bellsouth. - Intersect
    002 - ShaoSean at aol.com          - Re: HTML Text Fields
    003 - John Cuccio <jcuccio at pacb - Rev 1.1 will not boot
    004 - Ian Bridges <inperson at pnc - revolution Memory allocation Mac
    005 - "Josh Dye" <Zzyzx at Relia.N - Re: Rev 1.1 will not boot
    006 - "Josh Dye" <Zzyzx at Relia.N - Re: revolution Memory allocation Mac
    007 - "Ken Ray" <kray at sonsothun - Re: Templates
    008 - "Ken Ray" <kray at sonsothun - Re: HTML Text Fields
    009 - Geoff Canyon <gcanyon at ins - Re: revolution Memory allocation Mac
    010 - "Sjoerd Op 't Land" <sjoe - Re: Customize Rev for automatic email feedback?
    011 - Ben Rubinstein <benr_mc at c - activating Revolution
    012 - andu <undo at cloud9.net>    - Re: revolution Memory allocation Mac
    013 - "Jeanne A. E. DeVoto" <je - Re: setting the result
    014 - "Jeanne A. E. DeVoto" <je - Re: revolution Memory allocation Mac
    015 - Bill Vlahos <bvlahos at jpl. - Standalone from server error

This is the Use Revolution mailing list.  Use it to
discuss and solve "how-to" questions relating to using Revolution.
Please do not send bug reports or feature requests to this list.
To unsubscribe, place the word unsubscribe in the body of an
email and send it to use-revolution-request at lists.runrev.com.


--------------- MESSAGE use-revolution.v001.n138.1 ---------------

From: Shari <gogypsy at bellsouth.net>
Subject: Intersect
Date: Wed, 21 Nov 2001 00:25:55 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
References: <200111160649.BAA32413 at www.runrev.com>
In-Reply-To: <200111160649.BAA32413 at www.runrev.com>

Having one small problem with intersect(cd btn "pickle",cd btn "bread")

I have several buttons named "pickle", and when it checks the 
intersect, it ONLY checks whichever "pickle" button I created first, 
and does not check any of the others.

I scripted around this with a repeat with x = 1 to the number of 
btns, but that really slowed the script down a lot.

Any ideas?

-- 
--Shareware Games for the Mac--
http://www.gypsyware.com
http://www.gypsygames.com



--------------- MESSAGE use-revolution.v001.n138.2 ---------------

From: ShaoSean at aol.com
Subject: Re: HTML Text Fields
Date: Wed, 21 Nov 2001 01:58:12 EST
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

turn off show borders?


--------------- MESSAGE use-revolution.v001.n138.3 ---------------

From: John Cuccio <jcuccio at pacbell.net>
Subject: Rev 1.1 will not boot
Date: Tue, 20 Nov 2001 23:24:54 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

I downloaded the new Rev 1.1 from the web sit (classic). On my PPC Mac os
7.5.5 Rev 1.1 bomb the system with error type 11. This is the same system
that I was running rev 1 on.

The rev screen comes up then error screen comes up. Have to restart system.

The only thing at this time is I do not have Quicktime 3 installed on that
system. Does rev look for this.

Rev 1.1 load fine on my Mac 9.1 system fine. 



--------------- MESSAGE use-revolution.v001.n138.4 ---------------

From: Ian Bridges <inperson at pnc.com.au>
Subject: revolution Memory allocation Mac
Date: Wed, 21 Nov 2001 22:47:05 +1100
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In-Reply-To: <200111210436.XAA08880 at www.runrev.com>

How is it that Revolution can grab more memory than I allocate to it through
the get info box? This contradicts how every mac application I have ever
seen behaves. 

The flip side of this is, if it is possible for Mac applications to
dynamically allocate themselves more Ram as they need it (like Rev seems
to), why don't more do it?

Ian B



--------------- MESSAGE use-revolution.v001.n138.5 ---------------

From: "Josh Dye" <Zzyzx at Relia.Net>
Subject: Re: Rev 1.1 will not boot
Date: Wed, 21 Nov 2001 07:30:29 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
References: <200111210726.CAA12732 at www.runrev.com>

I would recommend you upgrade your system to OS 8.1. That will solve your
problems...


 - Josh Dye



----- Original Message -----
From: "John Cuccio" <jcuccio at pacbell.net>
To: <use-revolution at www.runrev.com>
Sent: Tuesday, November 20, 2001 11:24 PM
Subject: Rev 1.1 will not boot


> I downloaded the new Rev 1.1 from the web sit (classic). On my PPC Mac os
> 7.5.5 Rev 1.1 bomb the system with error type 11. This is the same system
> that I was running rev 1 on.
>
> The rev screen comes up then error screen comes up. Have to restart
system.
>
> The only thing at this time is I do not have Quicktime 3 installed on that
> system. Does rev look for this.
>
> Rev 1.1 load fine on my Mac 9.1 system fine.
>



--------------- MESSAGE use-revolution.v001.n138.6 ---------------

From: "Josh Dye" <Zzyzx at Relia.Net>
Subject: Re: revolution Memory allocation Mac
Date: Wed, 21 Nov 2001 07:32:04 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
References: <200111211148.GAA14627 at www.runrev.com>

Like I said earlier, Revolution is a Ram Hogger. That's all there is to it.
I don't know why, but it is. Nothing you can do about it. How much ram do
you have installed?


 - Josh Dye



----- Original Message -----
From: "Ian Bridges" <inperson at pnc.com.au>
To: <use-revolution at www.runrev.com>
Sent: Wednesday, November 21, 2001 3:47 AM
Subject: revolution Memory allocation Mac


> How is it that Revolution can grab more memory than I allocate to it
through
> the get info box? This contradicts how every mac application I have ever
> seen behaves.
>
> The flip side of this is, if it is possible for Mac applications to
> dynamically allocate themselves more Ram as they need it (like Rev seems
> to), why don't more do it?
>
> Ian B
>



--------------- MESSAGE use-revolution.v001.n138.7 ---------------

From: "Ken Ray" <kray at sonsothunder.com>
Subject: Re: Templates
Date: Wed, 21 Nov 2001 10:09:07 -0600
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
References: <200111200426.XAA31444 at www.runrev.com> <200111210247.VAA07987 at www.runrev.com>

Shari,

There *is* a "templateCard", but it only allows pre-setting the properties
of a card, not the objects *on* the card. The only time Rev should look like
it's copying the current card is when the current card contains groups. Rev
1.1 has a group property called "backgroundBehavior" that can be turned off.
If you turn off this property for all groups on the current card, the next
time you create a card it will be blank.

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "Shari" <gogypsy at bellsouth.net>
To: <use-revolution at www.runrev.com>
Sent: Tuesday, November 20, 2001 7:41 PM
Subject: Re: Templates


> >You can use the "templateButton" and "templateField". Set the properties
for
> >these templates, and then the next time you create a new button or new
> >field, it will start with a copy of the template, complete with font
> >settings.
>
> Hey is there a templateCard so that I can create a new card that is
> BLANK?  I hate that it copies the current card when I create a new
> card.  My cards rarely have the same object and data on them.
>
> --
> --Shareware Games for the Mac--
> http://www.gypsyware.com
> http://www.gypsygames.com
>
>



--------------- MESSAGE use-revolution.v001.n138.8 ---------------

From: "Ken Ray" <kray at sonsothunder.com>
Subject: Re: HTML Text Fields
Date: Wed, 21 Nov 2001 10:10:50 -0600
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
References: <200111210436.XAA08879 at www.runrev.com>

You need to set the 'opaque' of the field to false, either through script or
the Properties palette.

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "Mark MacKenzie (Shaw)" <markmac at shaw.ca>
To: <use-revolution at www.runrev.com>
Sent: Tuesday, November 20, 2001 10:36 PM
Subject: HTML Text Fields


> Is it possible to display html text in a scrolling field so that the
> background is "invisible" so that the underlying window or card shows
> through with the html text on top?
>
> I have played with everything property I could find, etc. and still have a
> grey background for the html text.
>
> I have gone over the html coding and can find nothing giving a grey
> background.
>
> Regards
> Mark MacKenzie
> Chief Techno-Mage
> Historical Treasures & Ancient Arts
> www.digitalheritage.ca
> markmac at shaw.ca
>
>
>



--------------- MESSAGE use-revolution.v001.n138.9 ---------------

From: Geoff Canyon <gcanyon at inspiredlogic.com>
Subject: Re: revolution Memory allocation Mac
Date: Wed, 21 Nov 2001 08:37:58 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
References: <200111211148.GAA14627 at www.runrev.com>
In-Reply-To: <200111211148.GAA14627 at www.runrev.com>

At 10:47 PM +1100 11/21/01, Ian Bridges wrote:
>How is it that Revolution can grab more memory than I allocate to it through
>the get info box? This contradicts how every mac application I have ever
>seen behaves. 

I just checked -- Eudora and iCab both do this. I believe Internet Explorer does too.

>The flip side of this is, if it is possible for Mac applications to
>dynamically allocate themselves more Ram as they need it (like Rev seems
>to), why don't more do it?

Most applications know fairly well how much memory they'll need. Others have more variable requirements.

You'll find that the development environment takes a lot of memory. Your finished application will likely need much less. I've built standalones that ran happily in 4MB.

regards,

Geoff


--------------- MESSAGE use-revolution.v001.n138.10 ---------------

From: "Sjoerd Op 't Land" <sjoerdoptland at mac.com>
Subject: Re: Customize Rev for automatic email feedback?
Date: Wed, 21 Nov 2001 17:59:59 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In-Reply-To: <200111201754.MAA10243 at www.runrev.com>

Judy Perry wrote/ schreef:

> Hi,
> 
> What I would like to do prior to delivering the door prize is customize
> the recipient's program so that, each time the recipient quits/exits a
> RunRev session, he or she is asked 5 or so brief questions on what was
> attempted, what succeeded, what problems were encountered, and
> suggestions on what would assist this user, and have these responses
> emailed back to me.
Maybe you should do something like this with a plug-in.

There's one drawback: once they get too familiar with RunRev, they'll hack
the plug-in out of their app... food for thought.

> Regards,
> 
> Judy Perry
Regards, / Groeten,
Sjoerd



--------------- MESSAGE use-revolution.v001.n138.11 ---------------

From: Ben Rubinstein <benr_mc at cogapp.com>
Subject: activating Revolution
Date: Wed, 21 Nov 2001 18:05:35 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

I can't activate Revolution (1.0 or 1.1).  From the Script Debugger, I get
the error "Some parameter is missing from activate".  From Revolution itself
(which is what I really want it for, ie to restore Revolution after using
AppleScript to temporarily bring some other app to the front) I get
"execution error".

Anyone got any ideas?

Supplementary question: is there any way to find out the name of the
application (ie the Revolution app in the IDE, or the name of the standalone
app if a standalone) short of using AppleScript to ask the Finder to cycle
through the processes to find the frontmost one?

TIA,
 
  Ben Rubinstein               |  Email: benr_mc at cogapp.com
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com        |  Fax  : +44 (0)1273-728866




--------------- MESSAGE use-revolution.v001.n138.12 ---------------

From: andu <undo at cloud9.net>
Subject: Re: revolution Memory allocation Mac
Date: Wed, 21 Nov 2001 13:05:35 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <200111211148.GAA14627 at www.runrev.com> <200111211638.LAA15608 at www.runrev.com>

Geoff Canyon wrote:
> 
> At 10:47 PM +1100 11/21/01, Ian Bridges wrote:
> >How is it that Revolution can grab more memory than I allocate to it through
> >the get info box? This contradicts how every mac application I have ever
> >seen behaves.
> 
> I just checked -- Eudora and iCab both do this. I believe Internet Explorer does too.

A smart application should take as much memory as it needs when it needs
it, not as much as the user thinks it needs, the condition being that it
will release all memory it doesn't use.
The reason Rev needs 43MB just to start has to do with all those
colorful goodies it loads into memory. Metacard only needs 14MB to start
but it's not considered as a "user friendly" application; there's a
price for being spoiled.

> 
> >The flip side of this is, if it is possible for Mac applications to
> >dynamically allocate themselves more Ram as they need it (like Rev seems
> >to), why don't more do it?
> 
> Most applications know fairly well how much memory they'll need. Others have more variable requirements.
> 
> You'll find that the development environment takes a lot of memory. Your finished application will likely need much less. I've built standalones that ran happily in 4MB.
> 
> regards,
> 
> Geoff

Andu


--------------- MESSAGE use-revolution.v001.n138.13 ---------------

From: "Jeanne A. E. DeVoto" <jeanne at runrev.com>
Subject: Re: setting the result
Date: Tue, 20 Nov 2001 15:33:21 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
In-Reply-To: <200111191540.KAA22055 at www.runrev.com>

At 7:39 AM -0800 11/19/2001, Ben Rubinstein wrote:
>Can a function set 'the result' separately from the result it returns?

As far as I know, there's no way to do this. (Sorry.)

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!




--------------- MESSAGE use-revolution.v001.n138.14 ---------------

From: "Jeanne A. E. DeVoto" <jeanne at runrev.com>
Subject: Re: revolution Memory allocation Mac
Date: Wed, 21 Nov 2001 12:26:39 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
References: <200111210436.XAA08880 at www.runrev.com>
In-Reply-To: <200111211148.GAA14627 at www.runrev.com>

At 3:47 AM -0800 11/21/2001, Ian Bridges wrote:
>How is it that Revolution can grab more memory than I allocate to it through
>the get info box? This contradicts how every mac application I have ever
>seen behaves.

I quote (from the Troubleshooting section of the docs):

--------
The Mac OS allocates a fixed amount of memory to each application. If an
application requires additional memory, it can make a system call to
request temporary memory for itself, over and above the application's
assigned allocation. This temporary memory appears in the Finder's "About
This Computer" window, and in other utilities that display memory use, as
part of the application's assigned allocation.

On Mac OS systems, Revolution requests temporary memory when necessary
(typically for displaying images and playing movies that require a great
deal of memory, or for opening large stacks).

If for some reason you want to prevent Revolution from requesting temporary
memory, use ResEdit (or another resource editor) to edit the TMEM 128
resource in the Revolution application. Change the content of the resource
from 0101 to 0001 to disable temporary memory. (You will need to increase
Revolution's memory allocation to at least 6M plus the total size of all
the stacks that will be open at once.)

-------

>The flip side of this is, if it is possible for Mac applications to
>dynamically allocate themselves more Ram as they need it (like Rev seems
>to), why don't more do it?

As someone else said, most applications have a pretty good idea how much
memory they'll need and allocate that amount. But quite a few applications
do make use of this mechanism, although it may not be as obvious if you
don't use large files or otherwise require a lot of memory on those apps.

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!




--------------- MESSAGE use-revolution.v001.n138.15 ---------------

From: Bill Vlahos <bvlahos at jpl.nasa.gov>
Subject: Standalone from server error
Date: Wed, 21 Nov 2001 14:53:51 -0800
MIME-Version: 1.0 (Apple Message framework v475)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 7bit

I built a standalone which does a search in a text field and recently 
had a user complain of the following error when the application is run 
from an AFS server under Windows 2000. "I'm running Windows 2k and when 
ever I put a letter in the Search box I get: "The ordinal 6467 could not 
be located in the dynamic link library MFC42.DLL " dialog box." The 
standalone does not use any externals.

If the same user runs the application from his local hard disk 
everything works fine.

On a different computer running the application from a samba server 
everything also works fine.

Does this sound like a path problem?

Any ideas?

Bill Vlahos



--------------- END use-revolution.v001.n138 ---------------




More information about the use-livecode mailing list