Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!iggy.GW.Vitalink.COM!widener!netnews.upenn.edu!vax1.cc.lehigh.edu!cert.sei.cmu.edu!krvw From: FXJWK@ALASKA.BITNET (Jo Knox - UAF Academic Computing) Newsgroups: comp.virus Subject: Re: HyperCard anti-virus script bad (Mac) Message-ID: <0004.9104221346.AA13954@ubu.cert.sei.cmu.edu> Date: 19 Apr 91 18:19:09 GMT Sender: Virus Discussion List Lines: 27 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. In other words, the theory > is, of course correct, but it ain't working in practice, and I'm out > of ideas, so please, all ye doubters, 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. Here ya go; I did test before calling you wrong; I have your script included as script for my Home stack, with the addition of an Else/Pass Set for conditions the script doesn't care about (sets other than script). In another stack, I have something which sets the stack script: on mouseUp put -, --just pretend the "-," is a continuation character (option l) "on idle" & return & "show message" & return & "end idle" & return -, into it set the script of this stack to it send "set the script of this stack to it" to HyperCard end mouseUp Your script in the Home stack certainly does catch the first, but not the second.... (in HyperCard 1.2.5...) jo