Path: utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!sun-barr!apple!applelink.apple.com!maller From: maller@applelink.apple.com (Steve Maller) Newsgroups: comp.sys.mac.hypercard Subject: Re: Picture XCMD - strange behavior Message-ID: <11295@goofy.Apple.COM> Date: 16 Nov 90 23:03:18 GMT References: <1990Nov15.191900.10802@news.nd.edu> Sender: usenet@Apple.COM Organization: Apple Computer Lines: 19 In article <1990Nov15.191900.10802@news.nd.edu> sherer@oucmail.cc.nd.edu (Michael Sherer) is having trouble with this script after running it multiple times: > on mouseup > Picture "MyPict",file > wait 5 seconds > hide window "MyPict" > end mouseup You should use "close window ...". Hiding a window leaves the window around, but makes it invisible. Therefore we get confused because there quickly becomes multiple windows with the same name. We always choose the first window that matches the name, visible or not... -------------------------------------------------------------------- Steve Maller Disclaimer: Please don't tell anyone Software Commando you saw me here. HyperCard Engineering Team Apple Computer