[comp.sys.mac.hypercard] Using the eraser tool in scripts

KPURCELL@LIVERPOOL.AC.UK (09/01/90)

A double click on the erase tool will erase the card picture.

How can I do this directly in a script? I've puzzled over this one for a
couple of weeks and can't figure it out.

Kevin Purcell             | kpurcell@liverpool.ac.uk
Surface Science Centre    |
Liverpool University      | Omit needless words.

jdevoto@Apple.COM (Jeanne A. E. DeVoto) (09/04/90)

In article <90244.155350KPURCELL@LIVERPOOL.AC.UK>
KPURCELL@LIVERPOOL.AC.UK writes:
>A double click on the erase tool will erase the card picture.
>How can I do this directly in a script?

Use the following:

  choose select tool
  doMenu "Select All"
  doMenu "Clear Picture"

Of course, you need to make sure that you're in the appropriate layer
(card or background) first.
-- 
========= jeanne a. e. devoto ========================================
 jdevoto@apple.com     |  You may not distribute this article under a
 jdevoto@well.sf.ca.us |  compilation copyright without my permission.
______________________________________________________________________
 Apple Computer and I are not authorized      |        CI$: 72411,165
 to speak for each other.                     |