Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!decwrl!world!ralph From: ralph@world.std.com (Ralph Lombreglia) Newsgroups: comp.sys.mac.hypercard Subject: Re: How to dismiss a PICT resource shown with "picture" command? Summary: Make handler generic by using a parameter holder Keywords: picture PICT mouseDownInPicture Message-ID: <1991Apr3.215438.2738@world.std.com> Date: 3 Apr 91 21:54:38 GMT References: <1991Apr3.130652.12996@world.std.com> Organization: The World @ Software Tool & Die Lines: 15 Allan Cecil at apple.com has speedily pointed out that I do not need to know the name of open external PICT windows in order to trap for mouse actions inside them. My mind was on Neptune while I was scripting (but this was the first time that's ever happened!). The way to make the handler generic is (obviously, and thanks again, Allan): on mouseDownInPicture wname --where wname is a parameter holder close window wname end mouseDownInPicture Ralph Lombreglia ---------------- ralph@world.std.com MCI Mail & BIX: rlombreglia