leeke@cascade.Stanford.EDU (Steven D. Leeke) (11/27/88)
In response to my question about mac II screen dumps, Capture from Mainstay seems to do a good job - but from the messages I've received it won't include the cursor in a dump. I also wrote the following LSC code fragment to do a dump of the screen programmatically using FKEY 3: /* - */ void screenDump() /* - */ { Handle fkey; fkey = GetResource('FKEY',3); if (fkey != NULL) { CallPascal((*fkey)); }; }; This seems to work well and I've hooked it up to the 'Print Screen' fctn. key on the extended keyboard (f13). Thanks for the help, Steve Leeke leeke@cascade.stanford.edu
brecher@well.UUCP (Steve Brecher) (11/30/88)
In article <1243@cascade.Stanford.EDU>, leeke@cascade.UUCP (Steven D. Leeke) writes: > fkey = GetResource('FKEY',3); > > if (fkey != NULL) { > CallPascal((*fkey)); > }; The FKEY resource should be locked before the call, and unlocked afterwards.