Repeat question

2010-05-04 Thread Steve Jones
An area I never mastered with SuperCard and still have trouble with in RR is 
using the repeat control structure...

I want to check every field on a card before it closes to be sure none are 
EMPTY.

I know the structure would be

REPEAT for the number of fields on the card
   if field 1 is empty
  put up an alert
   else
  go to next field
   end if
end repeat

or something similar.

How do I refer to the fields?  Their IDs aren't sequential and there names 
aren't "numbered".

Thanks!

Steve

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Newbie question

2010-05-04 Thread Steve Jones
Aha - that was it.  Didn't even see that option.  No very intuitive.  You have 
to create a GROUP and then assign it to be a BACKGROUND rather than just going 
straight to a background to begin with.  I guess there's more flexibility that 
way.

Thanks!

Steve

On May 4, 2010, at 9:35 AM, Colin Holgate wrote:

> 
> On May 4, 2010, at 10:30 AM, Steve Jones wrote:
> 
>> I see in RR that you put items in GROUPS to have them appear on every card 
>> in a stack as opposed to SC where you put them in the BACKGROUND.  I have a 
>> GROUP of items on a single card in a stack. When the CREATE CARD command is 
>> issued in a handler, a new card is created but the GROUP is not on it.  What 
>> might I be doing wrong?
> 
> Look in the inspector palette for the group, and see if its "Behave like a 
> background" box is checked.
> 
> 
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Newbie question

2010-05-04 Thread Steve Jones
Fairly new to RR here, but have used HyperCard and then SuperCard at the 
amateur level for a while.

I see in RR that you put items in GROUPS to have them appear on every card in a 
stack as opposed to SC where you put them in the BACKGROUND.  I have a GROUP of 
items on a single card in a stack.  When the CREATE CARD command is issued in a 
handler, a new card is created but the GROUP is not on it.  What might I be 
doing wrong?

Thanks!

Steve

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] Copyright Question

2009-08-15 Thread Steve Jones
The short answer is, if you didn't produce it and can't secure the  
rights or prove it is in the public domain, you can't without risking  
a lawsuit at a later date.


Sent from my iPhone

On Aug 15, 2009, at 10:32 PM, Roger Guay  wrote:

I have a great video that I would like to use in promotional  
materials. I can't remember where it came from, it has no copyright  
info on it, and I have diligently searched the web for it's origin  
to no avail. How can I legally use this video?


TIA and cheers,
Roger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Groups

2009-08-15 Thread Steve Jones
I'm a little confused by RR's handling of backgrounds. It seems that  
grouping items makes them go to the background and appear on all cards  
in a stack. But then you can't edit the scripts of the items in that  
group - just the script of that group. Is there any way to have items  
in the background and still get to their scripts?


Steve

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: New user question

2009-08-13 Thread Steve Jones
But if I was typing the name wrong, wouldn't the error appear first at  
line 2?


Steve

Sent from my iPhone

On Aug 13, 2009, at 5:58 PM, Sarah Reichelt   
wrote:


On Fri, Aug 14, 2009 at 8:19 AM, Steve Jones  
wrote:

on mouseUp
  go stack "VoluntTracker Volunteers"
  wait 3 seconds
  beep
  wait 3 seconds
  show stack "VoluntTracker Volunteers"
end mouseUp

I put the beep in to test to be sure it was running.

The error I get is:

button "New Volunteer": execution error at line 6 (Chunk: can't  
find stack),

char 4



I can't see why your script should fail, unless there is a typo in the
name - perhaps an extra space or some invisible character.
But try this:

on mouseUp
  go invisible stack "VoluntTracker Volunteers"
  wait 3 seconds with messages
  show stack "VoluntTracker Volunteers"
end mouseUp


The "wait with messages" allows other things to happen e.g. moving or
resizing windows, so it doesn't seem like your app has frozen.

HTH,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: New user question

2009-08-13 Thread Steve Jones

on mouseUp
   go stack "VoluntTracker Volunteers"
   wait 3 seconds
   beep
   wait 3 seconds
   show stack "VoluntTracker Volunteers"
end mouseUp

I put the beep in to test to be sure it was running.

The error I get is:

button "New Volunteer": execution error at line 6 (Chunk: can't find  
stack), char 4



I've tried combinations of open, show, go, set invisible, and use the  
stack name and the stack ID.


Always the same error.

Steve




On Aug 13, 2009, at 5:10 PM, Richard Gaskin wrote:


Steve Jones wrote:
Hello!  I am new to RR but have used SuperCard for many years an   
amateur and HyperCard before that.  I'm working on my first  
project  and I had a question.  I have a stack with 2 substacks.   
(I love the  idea of substacks, btw).  From the main stack I want  
to open a  substack but keep it invisible,  then later show it.  In  
SuperCard it  would be:

open invisible project projectName
show project projectName (or:  set the invisible of project   
projectName to true)

I seem to be able to use
open invisible stack stackName
at least I don't get an error.  But later in the script when I try  
to  show or set the visible of the stack to true, I get an error  
that the  stack can't be found.

What am I missing?


What do those lines that are throwing errors look like?

--
Richard Gaskin
Fourth World
Revolution training and consulting: http://www.fourthworld.com
Webzine for Rev developers: http://www.revjournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


New user question

2009-08-13 Thread Steve Jones
Hello!  I am new to RR but have used SuperCard for many years an  
amateur and HyperCard before that.  I'm working on my first project  
and I had a question.  I have a stack with 2 substacks.  (I love the  
idea of substacks, btw).  From the main stack I want to open a  
substack but keep it invisible,  then later show it.  In SuperCard it  
would be:



open invisible project projectName
show project projectName (or:  set the invisible of project  
projectName to true)


I seem to be able to use
open invisible stack stackName

at least I don't get an error.  But later in the script when I try to  
show or set the visible of the stack to true, I get an error that the  
stack can't be found.


What am I missing?

Thanks!

Steve

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution