Re: Uniqueness of Group IDs

2010-01-16 Thread J. Landman Gay

Len Morgan wrote:

And to keep this line of questioning going, it seems I can't list the 
controls on a card, at least not by using:


put the number of controls of card 1 of stack pStack into 
theNumberOfControls


It works here. Double-check that your stack reference is correct. Or 
just set the defaultstack to the one you're interested in, and drop the 
stack reference entirely from the command. That's usually easier besides.


I thought maybe I'd just "select" the card first, then put the number of 
controls into theNumberOfControls,
but that gives me the error: Can't select an object that isn't open.  So 
it appears I can read the script of a card

that isn't open but I can't select the card.


Cards can't be selected. You can go to them, or refer to them, or get 
their contents in various ways, but they aren't technically either 
objects or controls themselves. They're more like containers. But for 
what you're doing, you don't need to select the card, just refer to it.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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


Re: Uniqueness of Group IDs

2010-01-16 Thread Richard Gaskin

Len Morgan wrote:


Is the group ID unique in a stack or could I have a group 1010 on one
card and group 1010 on a different card that is a completely different
group?  I know group IDs can be repeated in different stacks but I
specifically concerned with group IDs in a single stack.


There is one serial number incrementer in a given atack, and every 
object is assigned the next available ID from that incrementer 
regardless of the object's type.


You'll find that the first card of a new stack is always ID 1002, and 
every object added after that increments from there up.


--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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: Uniqueness of Group IDs

2010-01-16 Thread Mark Wieder
Len-

Saturday, January 16, 2010, 7:34:48 PM, you wrote:

> And to keep this line of questioning going, it seems I can't list the
> controls on a card, at least not by using:

> put the number of controls of card 1 of stack pStack into 
> theNumberOfControls

> I thought maybe I'd just "select" the card first, then put the number of
> controls into theNumberOfControls,
> but that gives me the error: Can't select an object that isn't open.  So
> it appears I can read the script of a card
> that isn't open but I can't select the card.

try

push card
go invisible card "whatever" of stack pStack
do your thang
pop card

...and yes, group ids are unique.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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: Uniqueness of Group IDs

2010-01-16 Thread Len Morgan

On 1/16/2010 9:16 PM, Len Morgan wrote:
Now that Sarah solved my card name problems, I have a question about 
groups on stacks.


I don't want to print out the script of a group more than once if it's 
repeated on several cards.  My question is:


Is the group ID unique in a stack or could I have a group 1010 on one 
card and group 1010 on a different card that is a completely different 
group?  I know group IDs can be repeated in different stacks but I 
specifically concerned with group IDs in a single stack.


Thanks in advance,

len morgan
___
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


And to keep this line of questioning going, it seems I can't list the 
controls on a card, at least not by using:


put the number of controls of card 1 of stack pStack into 
theNumberOfControls


I thought maybe I'd just "select" the card first, then put the number of 
controls into theNumberOfControls,
but that gives me the error: Can't select an object that isn't open.  So 
it appears I can read the script of a card

that isn't open but I can't select the card.

I'm getting really confused.

len
___
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


Uniqueness of Group IDs

2010-01-16 Thread Len Morgan
Now that Sarah solved my card name problems, I have a question about 
groups on stacks.


I don't want to print out the script of a group more than once if it's 
repeated on several cards.  My question is:


Is the group ID unique in a stack or could I have a group 1010 on one 
card and group 1010 on a different card that is a completely different 
group?  I know group IDs can be repeated in different stacks but I 
specifically concerned with group IDs in a single stack.


Thanks in advance,

len morgan
___
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