[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Self-Demo functions?
- To: Dimitri Simos <dim@lissys.demon.co.uk>
- Subject: Self-Demo functions?
- From: straz@cambridge.apple.com (Steve Strassmann)
- Date: Thu, 5 May 1994 20:21:40 -0400
- Cc: info-mcl
>Date: Thu, 5 May 94 13:11:00 gmt
>From: Dimitri Simos <dim@lissys.demon.co.uk>
>Subject: Self-Demo functions?
>To: info-mcl@cambridge.apple.com
>
>
>Hi everybody,
>
>I am interested in creating a little self-demonstration routine for my
>MCL-based application. This would involve the ability to move the cursor
>around the screen (slowly enough for the viewer to follow it), selecting
>specific menus, menu-items or clicking buttons under programmatic rather than
>under user control, maybe sleeping for a few seconds here and there.
>Ideally I would like to do all this in Lisp, but I am not aware of the
>existence of any appropriate high-level functions (I am
>Inside-Macintosh-phobic).
>Any ideas?
>If this is impossible, maybe someone can suggest some 3rd-party software that
>could do this job.
There's a third-party software package, called Cameraman, which
records and plays back your screen (in software), so you can record
a demo that way.
Rather than trying to grab the real mouse, which is a big pain and
very counter-intuitive for the user, you should create a second
"fake" cursor. Then you can move this anywhere you want. To simulate
clicks and drags is a little tough in many cases, but you can
get a lot of the effects by calling the functions invoked by
those menus and buttons directly, and calling various draw
routines to simulate the look of clicking on them.