Re: Manipulate Stacks with Duplicate Names?

2005-10-14 Thread Scott Rossi
Recently, Ken Ray  wrote:

 I seem to recall reading on the list long ago that it was somehow possible
 for multiple opened stacks to have duplicate IDs, and (because of this)
 referencing stacks by ID wasn't reliable.  Is this actually the case or have
 I spent years mistakenly avoiding referencing stacks by ID?
 
 Coul you use the windowID? Theoretically they'd have to be in separate
 windows and that would require them to have unique windowIDs...

Good point.  But I think IDs would work fine too, since, if this is right,
no two stacks can have the same ID during the current session.  For my
purposes I only care about referencing stacks during the current runtime
session, not across sessions.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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: Manipulate Stacks with Duplicate Names?

2005-10-13 Thread Scott Rossi
 Is there any way to distinguish between newly created
 (unsaved) stacks that have the same name?

 How about using the stack's ID?

I seem to recall reading on the list long ago that it was somehow possible
for multiple opened stacks to have duplicate IDs, and (because of this)
referencing stacks by ID wasn't reliable.  Is this actually the case or have
I spent years mistakenly avoiding referencing stacks by ID?

Thanks  Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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: Manipulate Stacks with Duplicate Names?

2005-10-13 Thread xbury . cs
not mistakenly because Tuv once told me you just CANT rely on stack ids. 
Actually they change across
sessions (not very smart IMOHO) so i too just avoid them...

The stack path is probably the best reference after the stack's name...

cheers
Xavier

[EMAIL PROTECTED] wrote on 13/10/2005 08:23:39:

  Is there any way to distinguish between newly created
  (unsaved) stacks that have the same name?
 
  How about using the stack's ID?
 
 I seem to recall reading on the list long ago that it was somehow 
possible
 for multiple opened stacks to have duplicate IDs, and (because of this)
 referencing stacks by ID wasn't reliable.  Is this actually the case or 
have
 I spent years mistakenly avoiding referencing stacks by ID?
 
 Thanks  Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, Multimedia  Design
 -
 E: [EMAIL PROTECTED]
 W: http://www.tactilemedia.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



-
Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER
___
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: Manipulate Stacks with Duplicate Names?

2005-10-13 Thread Jeanne A. E. DeVoto

At 11:23 PM -0700 10/12/2005, Scott Rossi wrote:

  Is there any way to distinguish between newly created

 (unsaved) stacks that have the same name?



 How about using the stack's ID?


I seem to recall reading on the list long ago that it was somehow possible
for multiple opened stacks to have duplicate IDs, and (because of this)
referencing stacks by ID wasn't reliable.  Is this actually the case or have
I spent years mistakenly avoiding referencing stacks by ID?


There are some nuances. Newly created stacks start out with ID 1002. 
A stack's ID increments when you create an object, and you can also 
change it manually.


So you'd need to do a little work: set the ID of last stack when 
you create it, or set the ID in the templateStack before creation, 
and make sure to choose the numbers such that there's no overlap 
possibility if you're creating objects in the new stack. But it 
should be workable.

--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.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: Manipulate Stacks with Duplicate Names?

2005-10-13 Thread Ken Ray
On 10/13/05 1:23 AM, Scott Rossi [EMAIL PROTECTED] wrote:

 Is there any way to distinguish between newly created
 (unsaved) stacks that have the same name?
 
 How about using the stack's ID?
 
 I seem to recall reading on the list long ago that it was somehow possible
 for multiple opened stacks to have duplicate IDs, and (because of this)
 referencing stacks by ID wasn't reliable.  Is this actually the case or have
 I spent years mistakenly avoiding referencing stacks by ID?

Coul you use the windowID? Theoretically they'd have to be in separate
windows and that would require them to have unique windowIDs...


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

___
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: Manipulate Stacks with Duplicate Names?

2005-10-12 Thread Jeanne A. E. DeVoto

At 2:49 PM -0700 10/12/2005, Scott Rossi wrote:

Is there any way to distinguish between newly created (unsaved) stacks that

have the same name?

How about using the stack's ID?
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.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: Manipulate Stacks with Duplicate Names?

2005-10-12 Thread MisterX
I forgot about the id but there is also the filename property which doesn't
exist in unsaved stacks...

cheers
Xavier
http://monsieurx.com

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Jeanne A. E. DeVoto
 Sent: Thursday, October 13, 2005 3:14 AM
 To: How to use Revolution
 Subject: Re: Manipulate Stacks with Duplicate Names?
 
 At 2:49 PM -0700 10/12/2005, Scott Rossi wrote:
 Is there any way to distinguish between newly created 
 (unsaved) stacks 
 that
 have the same name?
 
 How about using the stack's ID?
 --
 jeanne a. e. devoto ~ [EMAIL PROTECTED] 
 http://www.jaedworks.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