selObj from a palette stack

Thomas McGrath III mcgrath3 at mac.com
Sun Nov 11 14:19:13 EST 2012


I need a little help figuring out how to keep track of the selObj of one stack from another stack that is set to palette? I know that some of you have done this with 'tool' stacks and this is the first time I am tackling this.

The points that have me are:
If the target stack has a group selected with the pointer tool - how do I both keep the name of it and if it is changed.
If the tool stack has buttons and fields that need to act on the selObj then I need to change the tool to the browse tool but this unselects the group and selectionChanged as well. 
When I switch back to the target stack how do I keep the original group selected after the selection tool is changed back to pointer from browse.

I am assuming that I will need some sort of front script or other.

Any and all help is very appreciated.

Tom


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgrath at comcast.net





More information about the use-livecode mailing list