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

use-revolution-errors at www.runrev.com use-revolution-errors at www.runrev.com
Tue Nov 27 00:55:01 EST 2001


-------------- BEGIN use-revolution.v001.n142 --------------

    001 - shrap at mail.geko.net.au (N - Button colors
    002 - Troy Rollins <troy at rpsyst - Re: I Don't Understand Why This Is
    003 - "Mark MacKenzie (Shaw)" < - Re:  I Don"t Understand Why This Is
    004 - Lee Perham <leep at mac.com> - Dead rev stack
    005 - Retiarius <lists at retiariu - Screen Fade in Rev?
    006 - JacksHyperInfo at aol.com    - Compatibility Question
    007 - "Jeanne A. E. DeVoto" <je - Re: Button colors
    008 - "Jeanne A. E. DeVoto" <je - Re: Requests
    009 - "Jeanne A. E. DeVoto" <je - Re: Dead rev stack
    010 - "Marian Petrides, M.D." < - Re: Compatibility Question
    011 - Ian Bridges <inperson at pnc - Re post - Masking graphics
    012 - Scott Rossi <scott at tactil - Re: Screen Fade in Rev?
    013 - John Cuccio <jcuccio at pacb - Stackfiles Property
    014 - John Cuccio <jcuccio at pacb - Re: Stackfiles Property
    015 - Matt Denton <matt.denton@ - Acrobat again

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.n142.1 ---------------

From: shrap at mail.geko.net.au (Neil Phillips)
Subject: Button colors
Date: Sun, 25 Nov 2001 00:08:53 +1100
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

Hi All,
I can't seem to get the colors to work properly for buttons in Revolution
1.1. The colors work properly in version 1.0. In 1.1 I can set the
foreground color ok but the other colors cannot be set by the Colors and
Patterns palette or by a script. I've tried it out on a blue and white G3
running System 9.04 and a G4 Cube running System 9.1. Both machines have
plenty of ram.

Field colors can be set ok.

Is this a bug or am I missing something?


What works and what doesn't.

Foreground - ok
Background - no good
hilite - no good
top color - no good
shadow - no good
focus - no good

Cheers

Neil




--------------- MESSAGE use-revolution.v001.n142.2 ---------------

From: Troy Rollins <troy at rpsystems.net>
Subject: Re: I Don't Understand Why This Is
Date: Sat, 24 Nov 2001 09:18:28 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In-Reply-To: <200111240549.AAA29475 at www.runrev.com>

Mark MacKenzie (Shaw)  wrote:

> As far as I can see when inspecting the stacks and the cards properties
> there is nothing which would account for this discrepancy in reporting
> behaviour.

Mark,
While not a complete answer - you could try using the keyword constant
"comma" - I have found to have better luck with those when inserting into a
script for display...

The discrepancy... I'm not sure.

-- 
Troy
RPSystems
www.rpsystems.net



--------------- MESSAGE use-revolution.v001.n142.3 ---------------

From: "Mark MacKenzie (Shaw)" <markmac at shaw.ca>
Subject: Re:  I Don"t Understand Why This Is
Date: Sat, 24 Nov 2001 12:58:02 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7BIT

Okay I have solved my own problem but in doing so have uncovered a trait of
Rev's which I have some recollection is shared by HC or SuperCard.

My original problem arose because I was putting the "subStacks" directly
into a scrolling list field and then referencing this field line by line in
a repeat structure to get the cardIDs of a multistack project.

Although the resulting list looked good there is something wrong when you
simply grab the line as a variable and use it as a stack reference.

When I changed the manner of putting the substacks into this field by using
the button script:

on mouseup
  local ListOfStacks
  local NumInStackList
  put empty into field "Open Stacks"
  put the substacks of stack "BookCover" into ListOfStacks
  put the number of lines of ListOfStacks into NumInStackList
  if NumInStackList > 0 then
    repeat until NumInStackList = 0
      put line NumInStackList of ListOfStacks & "," after field "Open
Stacks"
      if NumInStackList > 1 then
        put return after field "Open Stacks"
      end if
      subtract 1 from NumInStackList
    end repeat
  end if
end mouseup

I can now work with the resulting field line by line.  I have also inserted
","s so that selecting the first item of the line is possible.

The secondary problem I refer to above is if the "substacks" function
results in a LIST, why cannot this be simply put into a list field directly.
I think I ran into this in HC or such and solved it similarly now that I
think about it.

Although the resulting list field looks similar when viewed in the runtime
there is obviously a structure difference.  What exactly is the structure of
the list returned by "substacks"?

Regards
Mark MacKenzie
Chief Techno-Mage
Historical Treasures & Ancient Arts
www.digitalheritage.ca
markmac at shaw.ca





--------------- MESSAGE use-revolution.v001.n142.4 ---------------

From: Lee Perham <leep at mac.com>
Subject: Dead rev stack
Date: Sat, 24 Nov 2001 10:46:49 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit


I had a similar problem. Your sub-stack is inheriting attributes from your
main stack. Check your openStack and openCard handlers. Make sure you define
which stack you want the attributes to apply.

Lee Perham



----- Original Message -----
From: "John Cuccio" <jcuccio at pacbell.net>
To: <use-revolution at www.runrev.com>
Sent: Friday, November 23, 2001 1:50 PM
Subject: Dead rev stack


> This week has been a rev night mare.
>
> I have a stack with a substack. When I open the substack I get the unknown
> error messagge.I go to the stack prperties, window open fine. Now press
the
> script tab, the square window show , that has the acutal error, but then
> goes away so I can not see what the error is. Then a messagge commes up,
> witth the stop hand, An unknown error occured. It is possible that a
> property cannot be set to a value you have enteredl. I press the OK
button.
> Same message again I press OK. Then the Stack Properties window is
showing.
> So I go to click the script tab again same thing. It just keep repeating
and
> I can not get any Thing to open.
>
> If I do not open the substack every things works fine. The Sub stack is
> doing something, but I can not fix it.
>
>
> Is there a way to get the scripts out of that stack so that I can load
them
> into a new stack. So I can figure out what is going on.
>
> This stack was writen in rev 1.0 Same problem in rev 1.1 and different Mac
> OS
>



--------------- MESSAGE use-revolution.v001.n142.5 ---------------

From: Retiarius <lists at retiariusenterprises.com>
Subject: Screen Fade in Rev?
Date: Sat, 24 Nov 2001 14:03:16 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

I need the screen to do a nice fade to black.

Is that possible in Rev?

Thanks.

-Dave



--------------- MESSAGE use-revolution.v001.n142.6 ---------------

From: JacksHyperInfo at aol.com
Subject: Compatibility Question
Date: Sat, 24 Nov 2001 16:03:49 EST
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Are stacks that were created on 1.O compatible with 1.1?   What are the best 
ways to get training on Revolution.  Are there any training seminars or 
videos,etc forthcoming?

jack B


--------------- MESSAGE use-revolution.v001.n142.7 ---------------

From: "Jeanne A. E. DeVoto" <jeanne at runrev.com>
Subject: Re: Button colors
Date: Sat, 24 Nov 2001 12:55:24 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
In-Reply-To: <200111241313.IAA01596 at www.runrev.com>

At 5:08 AM -0800 11/24/2001, Neil Phillips wrote:
>I can't seem to get the colors to work properly for buttons in Revolution
>1.1. The colors work properly in version 1.0. In 1.1 I can set the
>foreground color ok but the other colors cannot be set by the Colors and
>Patterns palette or by a script. I've tried it out on a blue and white G3
>running System 9.04 and a G4 Cube running System 9.1. Both machines have
>plenty of ram.
>
>Field colors can be set ok.
>
>Is this a bug or am I missing something?

What's going on is that with the new Appearance Manager support, standard
buttons are now drawn using the Mac OS appearance routines. Those routines
control the button appearance, so the only thing a script can control in
them is the text color.

You can do one of the following:

- Change the lookAndFeel to "Macintosh" instead of "Appearance Manager" (or
choose from the Look and Feel submenu in the View menu).

- Set the button's style to rectangle or roundRect intead of standard.

Doing either or both of these will cause the button to be drawn by
Revolution instead of by the operating system routines, allowing you to
color it.

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




--------------- MESSAGE use-revolution.v001.n142.8 ---------------

From: "Jeanne A. E. DeVoto" <jeanne at runrev.com>
Subject: Re: Requests
Date: Sat, 24 Nov 2001 12:32:34 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
References: <200111221145.GAA31800 at www.runrev.com>
 <200111221145.GAA31800 at www.runrev.com>
In-Reply-To: <200111231825.NAA24569 at www.runrev.com>

At 10:24 AM -0800 11/23/2001, Shari wrote:
>Transcript Dictionary, under "intersect".  It describes intersect as
>it applies to arrays, but not to objects intersecting each other.

I think you're looking at the intersect command. The intersect function is
what describes whether objects overlap. They should be right next to each
other in the Dictionary listing, and in the dictionary itself.

>>There's an option to turn on automatic colorization in the Preferences (in
>>the Script Editor pane).
>
>If you paste the script in, you must manually colorize it.

Aha, I see. I'll put in a feature request.

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




--------------- MESSAGE use-revolution.v001.n142.9 ---------------

From: "Jeanne A. E. DeVoto" <jeanne at runrev.com>
Subject: Re: Dead rev stack
Date: Sat, 24 Nov 2001 12:59:44 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
In-Reply-To: <200111231952.OAA25428 at www.runrev.com>

At 11:50 AM -0800 11/23/2001, John Cuccio wrote:
>I have a stack with a substack. When I open the substack I get the unknow
>error messagge.I go to the stack prperties, window open fine. Now press the
>script tab, the square window show , that has the acutal error, but then
>goes away so I can not see what the error is. Then a messagge commes up,
>witth the stop hand, An unknown error occured. It is possible that a
>property cannot be set to a value you have enteredl. I press the OK button.
>Same message again I press OK. Then the Stack Properties window is showing.
>So I go to click the script tab again same thing. It just keep repeating and
>I can not get any Thing to open.

The first thing I would try here is temporarily turning on Suppress Errors
and Suppress Messages in the Development menu. Then open the substack. If
it opens OK under those circumstances, open its script, and find and
comment out for the moment any openCard, preOpenCard, openStack,
preOpenStack, or openBackground handler. Then close it, turn off the
Suppress options, and open it again.

If it works, you now at least have the error narrowed down to something in
one of those handlers. You can remove the comments, line by line, and go
through each bit of the suspect handlers to figure out where the problem
might be.

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




--------------- MESSAGE use-revolution.v001.n142.10 ---------------

From: "Marian Petrides, M.D." <mpetrides at earthlink.net>
Subject: Re: Compatibility Question
Date: Sat, 24 Nov 2001 16:10:52 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353"
Content-Transfer-Encoding: 7bit

Jack.

Rev 1.0 files can be opened in 1.1 and function essentially the same
with a few minor exceptions.

Transcript is essentially a superset of HyperTalk, so a good way to get
started with Rev (after you've read through the dox that come with Rev)
is to buy a book about HyperCard if you can find one.  I particularly
like Danny Goodman's books.

Can't answer the last question.

Marian
On Saturday, November 24, 2001, at 03:03 PM, JacksHyperInfo at aol.com
wrote:

Are stacks that were created on 1.O compatible with 1.1?   What are the
best
ways to get training on Revolution.  Are there any training seminars or
videos,etc forthcoming?

jack B


Marian Petrides, M.D.

mpetrides at earthlink.net
mpetrides at pathology.umsmed.edu



--------------- MESSAGE use-revolution.v001.n142.11 ---------------

From: Ian Bridges <inperson at pnc.com.au>
Subject: Re post - Masking graphics
Date: Sun, 25 Nov 2001 11:49:09 +1100
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

I posted this a while ago with (surprisingly) no response...

> is there a way to clip a picture to a region eg a polygon,
> without assembling an array of masking graphics?

I would like to be able to change the shape of the mask/clip region and the
region of the underlying picture that is displayed with script control

any ideas?

Ian B



--------------- MESSAGE use-revolution.v001.n142.12 ---------------

From: Scott Rossi <scott at tactilemedia.com>
Subject: Re: Screen Fade in Rev?
Date: Sat, 24 Nov 2001 17:35:42 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In-Reply-To: <200111242104.QAA07286 at www.runrev.com>

Recently, Retiarius wrote:

> I need the screen to do a nice fade to black.
> 
> Is that possible in Rev?

There were some old gamma fade externals for MacOS that allow you to fade to
black, but they were not 100% reliable and if your stack crashed while the
monitor was black, you'd have to restart.  Here's one commercial link:

  http://www.royalsoftware.com/descriptions/monitorFade.html

You can also try searching for gamma fade, etc.

As far as Windows goes, I have no clue...

Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: scott at tactilemedia.com
Web: www.tactilemedia.com



--------------- MESSAGE use-revolution.v001.n142.13 ---------------

From: John Cuccio <jcuccio at pacbell.net>
Subject: Stackfiles Property
Date: Sat, 24 Nov 2001 19:11:43 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

What i am trying to do. I have a splash stack, I think that is what it is
called, that will take the user to other stacks. If I put go to stack "stack
X" Rev does not go there because rev does not know anything about this
stack. So I think I need the stackfiles property. I do not want to load the
stacks into memory at this time because the user may not go to that stack. I
plan on having 16 different stacks.

After reading the help file about Stacksfiles Property. This is what I need.
But I do not know how to list multiple stacks. The help file only shows one
stack. If this property can only do one stack. How Can I tell rev about
multiple stacks or give rev a filepath to a stack ex: go to stack
"/hard disk/folder/X.rev".


Thank you



--------------- MESSAGE use-revolution.v001.n142.14 ---------------

From: John Cuccio <jcuccio at pacbell.net>
Subject: Re: Stackfiles Property
Date: Sat, 24 Nov 2001 19:19:47 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
In-Reply-To: <B825A2E5.718%jcuccio at pacbell.net>

on 11/24/01 7:17 PM, John Cuccio at jcuccio at pacbell.net wrote:

> on 11/24/01 7:11 PM, John Cuccio at jcuccio at pacbell.net wrote:
> 
>> What i am trying to do. I have a splash stack, I think that is what it is
>> called, that will take the user to other stacks. If I put go to stack "stack
>> X" Rev does not go there because rev does not know anything about this stack.
>> So I think I need the stackfiles property. I do not want to load the stacks
>> into memory at this time because the user may not go to that stack. I plan on
>> having 16 different stacks.
>> 
>> After reading the help file about Stacksfiles Property. This is what I need.
>> But I do not know how to list multiple stacks. The help file only shows one
>> stack. If this property can only do one stack. How Can I tell rev about
>> multiple stacks or give rev a filepath to a stack ex: go to stack      "/hard
>> disk/folder/X.rev".
>> 
>> 
>> Thank you
 
 I After I posted the first email I figured it out. I have to put each one
into a line of a variable then it will do it.
 
 Solved my own question. 



--------------- MESSAGE use-revolution.v001.n142.15 ---------------

From: Matt Denton <matt.denton at limelight.com.au>
Subject: Acrobat again
Date: Sun, 25 Nov 2001 21:20:15 +1100
MIME-Version: 1.0 (Apple Message framework v475)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 7bit
In-Reply-To: <200111240700.CAA29923 at www.runrev.com>

Hello!

(had a crash, not sure if last msg got through)

I'm trying to find out what version of Acrobat is installed on a Mac or 
PC.  QTime is pretty easy, but what about other apps?  Is there a way to 
find out what apps are installed and version number?

Searched through the extensive list but couldn't find it.  Maybe it is 
buried somewhere...

Many thanks,

M at tt!

PS Rev is one of those packages you just start loving more and more!  
Amazing power in Transcript...



--------------- END use-revolution.v001.n142 ---------------




More information about the use-livecode mailing list