[comp.sys.mac.hypercard] SuperCard question

lb0q+@andrew.cmu.edu (Leslie Burkholder) (09/27/89)

Hi,
I have a question about how to do something in SuperCard. I want to
simulate a user's moving the mouse up to the menu bar and then dragging
it down a menu column until it hits a menu item and then (1) choosing
that menu item and (2) check-marking it. What I don't want is just what
"domenu" would do. I want to see the pointer move to the menu bar, then
menu be pulled down, the pointer move down to the menu item, the menu
item to be checked, and the pointer to disappear or go elsewhere.
LB

taylorj@yvax.byu.edu (09/30/89)

Hmmm, that's a tricky one.  The best solution I can think of is to completely
simulate the whole thing with fields or windows.  I don't think you can get
SuperCard to pull down menus via script control.

The general idea would be to make a button with an icon that looks like the
cursor, move the button to simulate the moving cursor (or alternatively, use
the XCMD that lets you change the location of the real cursor), display a field
or window that looks just like the menu when it's pulled down, highlight some
lines it, etc.

Have fun!


Jim Taylor
Microcomputer Support for Curriculum
Brigham Young University
taylorj@byuvax.bitnet