Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!sun-barr!lll-winken!iggy.GW.Vitalink.COM!widener!netnews.upenn.edu!vax1.cc.lehigh.edu!cert.sei.cmu.edu!krvw From: fwb@pollux.tmc.edu (Fred Brehm) Newsgroups: comp.virus Subject: Re: HyperCard anti-virus script bad (Mac) Message-ID: <0004.9104231715.AA16173@ubu.cert.sei.cmu.edu> Date: 22 Apr 91 16:45:56 GMT Sender: Virus Discussion List Lines: 31 Approved: krvw@sei.cmu.edu mike@pyrite.SOM.CWRU.Edu (Michael Kerner) writes: >Try to send the set command directly to HC and change the script of a >stack. I have yet to be able to do it. >... try it and then send me your >scripts because all I'm getting are error messages with no results. >Don't send me your ideas, I want working, syntactically correct >scripts. If they work for me I'll withdraw my previous comments. >Until then, please prove me wrong. Using HC 2.0v2, in an empty stack, put the "set catcher" into the stack script, then make a button with: on mouseUp put script of this stack into s put return & "--" && the date && the time after s -- this set should be caught by the set catcher set script of this stack to s put return & "-- Sorry, Mikey." after s -- this command won't be caught. send "set script of this stack to s" to HyperCard answer script of this stack -- just to see it end mouseUp Fred - -- Frederic W. Brehm Siemens Corporate Research Princeton, NJ fwb@demon.siemens.com -or- ...!princeton!siemens!demon!fwb