change name of standalone

Ken Ray kray at sonsothunder.com
Sun Jun 5 12:41:37 EDT 2005


> In the script of the main stack
> 
> on openStack
> if the target is me then set the label of stack "howdy" to field
> "appname" of stack "boabieprefs"
> pass openStack
> end openStack 
> 
> Bear in mind that the openStack message will likely be sent to the main
> stack when any of the sub stacks is opened, hence checking the target.

Actually, if you're putting this code in the stack script you'll need to
say:

  if the owner of the target is me then ...

since the message hits the card and then travels to the stack.

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/





More information about the use-livecode mailing list