Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!oscar.ccm.udel.edu!johnston From: johnston@oscar.ccm.udel.edu (Bill Johnston) Newsgroups: comp.sys.mac.hypercard Subject: Re: scripting question Message-ID: <44885@nigel.ee.udel.edu> Date: 17 Feb 91 18:21:50 GMT References: <1991Feb17.001323.13640@engin.umich.edu> Sender: usenet@ee.udel.edu Lines: 20 Nntp-Posting-Host: oscar.ccm.udel.edu News-Software: VAX/VMS VNEWS 1.3-4 In article <1991Feb17.001323.13640@engin.umich.edu>, lou@bern.csmil.umich.edu (Lou Rosenfeld) writes... >(using HC1.2) > >I would like to create a script which simply >allows me to use the select tool to erase an >area. > choose select tool > drag from 100,100 to 100,200 > ?????? > choose browse tool The missing line is: doMenu "Clear Picture". Please note that "Clear Picture is only available as a menu option when a valid selection has been made; "drag from 100,100 to 100,200" encloses a rectange of zero area, so no selection is made. Something like "drag from 100,100 to 200,200" works fine. -- Bill Johnston (johnston@oscar.ccm.udel.edu) -- 38 Chambers St.; Newark, DE 19711; (302)368-1949