Re: Finding the main stack

2011-07-08 Thread Pete
I see what you mean about the target, confusion on my part. And thanks for the main(), definitely saves on typing. Pete Molly's Revenge http://www.mollysrevenge.com On Thu, Jul 7, 2011 at 10:02 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 7/7/11 10:44 PM, Pete wrote: I'm

Finding the main stack

2011-07-07 Thread Pete
Got a slightly convoluted situation where I need to get hold of the main stack for an application. When the app starts up, I issue a start using command to bring in my library handlers. I have a libraryStack handler which needs to get hold of the value of a custom property in the main stack of

Re: Finding the main stack

2011-07-07 Thread Terry Judd
You could set a custom property in the library stack when it's brought into use. start using stack myLibStack set the cMainstack of stack myLibstack to the short name of me Terry... On 8/07/11 11:12 AM, Pete p...@mollysrevenge.com wrote: Got a slightly convoluted situation where I need to

Re: Finding the main stack

2011-07-07 Thread Jim Ault
Is 'the effective filename of this stack' of any use? or the long id of this stack ? Jim Ault Las Vegas On Jul 7, 2011, at 6:12 PM, Pete wrote: Got a slightly convoluted situation where I need to get hold of the main stack for an application. When the app starts up, I issue a start

Re: Finding the main stack

2011-07-07 Thread Mark Wieder
Pete- Thursday, July 7, 2011, 6:12:32 PM, you wrote: When the app starts up, I issue a start using command to bring in my library handlers. I have a libraryStack handler which needs to get hold of the value of a custom property in the main stack of the handler that issued the start using

Re: Finding the main stack

2011-07-07 Thread Pete
I'm beginning to think the same thing. However the dictionary entry for the target says it resolves to the object that originally received the message and since the start using command came from the preOpenCard handler of a card in the application stack, I took that to mean the card that issued

Re: Finding the main stack

2011-07-07 Thread J. Landman Gay
On 7/7/11 10:44 PM, Pete wrote: I'm beginning to think the same thing. However the dictionary entry for the target says it resolves to the object that originally received the message and since the start using command came from the preOpenCard handler of a card in the application stack, I took