[net.micro.mac] Screen->MacPaint DA

al@aurora.UUCP (Al Globus) (06/06/85)

I need a way to get what's on the screen at random times into a
MacPaint document.  One way might be to have a DA that copied the
screen to a file in MacPaint format and then asked for a file
name.  Seems simple enough, has anyone done it?  Can such a DA
be bought or aquired?

Oh, DA = Desk Accessory.  Thanx in advance.

stro@ur-univax.UUCP (06/09/85)

if by random you mean arbitrarily at your choosing, then just use the command-
shift-3 routine to save the screen to disk.  If by random you mean randomly
chosen times determined by the computer, then you need a DA which merely
picks a random time and then makes a call to the system routine which is called
by the command-shift-3 routine.

					- S R at the U of R

jwp@utah-cs.UUCP (John W Peterson) (06/10/85)

No DA needed.  Hitting Command-Shift-3 from most any Mac application generates
a Macpaint file (named "ScreenN", 0 >= N > 10).  See page 70 of the Macintosh
manual...

briand@tekig4.UUCP (Brian Diehm) (06/10/85)

> I need a way to get what's on the screen at random times into a
> MacPaint document.  One way might be to have a DA that copied the
> screen to a file in MacPaint format and then asked for a file
> name.  Seems simple enough, has anyone done it?  Can such a DA
> be bought or aquired?
> 
> Oh, DA = Desk Accessory.  Thanx in advance.

*** REPLACE THIS MESS WITH YOUR LINEAGE ***

Page 72 of the Macintosh manual - the basic introductory one - tells how the
system has this capability built in.  Command-Shift-3 takes a "snapshot" of
the screen and puts it into a document named Screen 0 (or Screen 1, etc. etc.
up to Screen 9).  With Command-Shift 4, you can print the active window
immediately, or if Caps Lock is down, print the entire screen immediately.

These snapshots contain exact screen images, including the mouse cursors and
everything.

-Brian Diehm
Tektronix, Inc.

darin@tmq.UUCP (Darin Adler) (06/11/85)

> I need a way to get what's on the screen at random times into a
> MacPaint document.  One way might be to have a DA that copied the
> screen to a file in MacPaint format and then asked for a file
> name.  Seems simple enough, has anyone done it?  Can such a DA
> be bought or aquired?
> 
> Oh, DA = Desk Accessory.  Thanx in advance.

There is a key sequence which dumps the screen to a Paint document that
is fairly well known.  It is Shift-CMD-3.  This will dump to a file
called "Screen 0" and if that exists, "Screen 1" and so on.  Just for
grins, the code that does this is in the System file in the FKEY 3 resource.

Darin Adler
ihnp4!tmq!darin

egv@aicchi.UUCP (Vann) (06/12/85)

> No DA needed.  Hitting Command-Shift-3 from most any Mac application generates
> a Macpaint file (named "ScreenN", 0 >= N > 10).  See page 70 of the Macintosh
> manual...

One of the things that I BELIEVE to be true about the new version of the
FINDER is that it no longer supports the Command-Shift-3 function (or the
Command-Shift-4 function for that matter).  At least the version that I have
merely called the SysBeep routine and fails to deposit a MacPaint document
on the disk.  I wonder what affect this will have on those who need such a
feature to document books, articles and the like?

-- 
Eric Geoffrey Vann
Analysts International (Chicago Branch)
(312) 882-4673
..!ihnp4!aicchi!egv

darin@tmq.UUCP (Darin Adler) (06/13/85)

> One of the things that I BELIEVE to be true about the new version of the
> FINDER is that it no longer supports the Command-Shift-3 function (or the
> Command-Shift-4 function for that matter).  At least the version that I have
> merely called the SysBeep routine and fails to deposit a MacPaint document
> on the disk.  I wonder what affect this will have on those who need such a
> feature to document books, articles and the like?

This is not a function of the new Finder, but of the new Choose Printer desk
accessory.  If Choose Printer is used to choose an Imagewriter the Command-
Shift-4 function will work as normal.  The Command-Shift-3 function SHOULD
be unaffected.  Maybe I am addressing the wrong problem?  The reason for
the change is that the Command-Shift=4 is NOT implemented for the Imagewriter.

Darin Adler
ihnp4!tmq!darin

jer@peora.UUCP (J. Eric Roskos) (06/13/85)

> Maybe I am addressing the wrong problem?  The reason for the change is that
> the Command-Shift=4 is NOT implemented for the Imagewriter.

Am I reading this right?  Are you saying that in the new versions of the
software, you can't print your screen if you don't have a laser printer?

This is very bad, if true.  I used to use "print screen" to make directory
listings of my diskettes, for example.  "print screen" has many uses.

Oh well, at least we know now how to implement it ourselves...
-- 
Full-Name:  J. Eric Roskos
UUCP:       ..!{decvax,ucbvax,ihnp4}!vax135!petsd!peora!jer
US Mail:    MS 795; Perkin-Elmer SDC;
	    2486 Sand Lake Road, Orlando, FL 32809-7642

	   "Gnyx gb gur fhayvtug, pnyyre..."

egv@aicchi.UUCP (Vann) (06/13/85)

> > One of the things that I BELIEVE to be true about the new version of the
> > FINDER is that it no longer supports the Command-Shift-3 function (or the
> > Command-Shift-4 function for that matter).  At least the version that I have
> > merely called the SysBeep routine and fails to deposit a MacPaint document
> > on the disk.  I wonder what affect this will have on those who need such a
> > feature to document books, articles and the like?
> 
> This is not a function of the new Finder, but of the new Choose Printer desk
> accessory.  If Choose Printer is used to choose an Imagewriter the Command-
> Shift-4 function will work as normal.  The Command-Shift-3 function SHOULD
> be unaffected.  Maybe I am addressing the wrong problem?  The reason for
> the change is that the Command-Shift=4 is NOT implemented for the Imagewriter.
> 
> Darin Adler
> ihnp4!tmq!darin

As it turns out my problem was a MacTerminal disk that had no room to accept
a MacPaint document.  I tested my other disked and found that they ALL worked
"as advertised".  Sorry for the confusion.

(NOTE:  One thing that puzzled me (and mislead me in my attempt to solve
a rather simple mystery was that the SYSTEM UPGRADE diskette has the same
behavior... I shall have to check to see if it too merely was out of room.)

-- 
Eric Geoffrey Vann
Analysts International (Chicago Branch)
(312) 882-4673
..!ihnp4!aicchi!egv

darin@tmq.UUCP (Darin Adler) (06/16/85)

> > Maybe I am addressing the wrong problem?  The reason for the change is that
> > the Command-Shift=4 is NOT implemented for the Imagewriter.
> 
> Am I reading this right?  Are you saying that in the new versions of the
> software, you can't print your screen if you don't have a laser printer?

SORRY for the typo!!

That sentence SHOULD read:

... Command-Shift-4 is NOT implemented for the LaserWriter

Darin Adler
ihnp4!tmq!darin

roy@nlm-vax.ARPA (Roy Standing) (06/17/85)

> One of the things that I BELIEVE to be true about the new version of the
> FINDER is that it no longer supports the Command-Shift-3 function (or the
> Command-Shift-4 function for that matter).  At least the version that I have
> merely called the SysBeep routine and fails to deposit a MacPaint document
> on the disk.  I wonder what affect this will have on those who need such a
> feature to document books, articles and the like?
> 
> Eric Geoffrey Vann

I just checked this with my 4.1 finder.  Both Command-Shift-3 and
Command-Shift-4 work fine.  Perhaps there are some defective copies
of the new finder out.

Roy A. Standing (roy@nlm-vax)
National Library of Medicine

stro@ur-univax.UUCP (06/17/85)

/***** ur-univax:net.micro.mac / aicchi!egv /  7:35 pm  Jun 12, 1985*/
> No DA needed.  Hitting Command-Shift-3 from most any Mac application generates
> a Macpaint file (named "ScreenN", 0 >= N > 10).  See page 70 of the Macintosh
> manual...

One of the things that I BELIEVE to be true about the new version of the
FINDER is that it no longer supports the Command-Shift-3 function (or the
Command-Shift-4 function for that matter).  At least the version that I have
merely called the SysBeep routine and fails to deposit a MacPaint document
on the disk.  I wonder what affect this will have on those who need such a
feature to document books, articles and the like?

-- 
Eric Geoffrey Vann
Analysts International (Chicago Branch)
(312) 882-4673
..!ihnp4!aicchi!egv
/* ---------- */

stro@ur-univax.UUCP (06/17/85)

>One of the things that I BELIEVE to be true about the new version of the
>FINDER is that it no longer supports the Command-Shift-3 function (or the
>Command-Shift-4 function for that matter).  At least the version that I have
>merely called the SysBeep routine and fails to deposit a MacPaint document
>on the disk.  I wonder what affect this will have on those who need such a
>feature to document books, articles and the like?

I'm not sure, but I believe its the System that puts this routine into the
event manager. Anyway, all versions I've ever seen do support these routines.
However, if your disk is locked, the event manager will call SysBeep 
without putting up any dialog boxes ( ie, re:disk locked ) and, of course,
fail to write anything on the disk.

						    - S R at the U of R

vishniac@wanginst.UUCP (Ephraim Vishniac) (06/21/85)

> >One of the things that I BELIEVE to be true about the new version of the
> >FINDER is that it no longer supports the Command-Shift-3 function (or the
> >Command-Shift-4 function for that matter)....  
> 
> I'm not sure, but I believe its the System that puts this routine into the
> event manager. Anyway, all versions I've ever seen do support these routines.
> However, if your disk is locked, the event manager will call SysBeep 
> without putting up any dialog boxes ( ie, re:disk locked ) and, of course,
> fail to write anything on the disk.

Command-shift-mumble stuff is implemented with FKEY resources.  If it
were true that some future version did not come with your favorite functions
built in, you could just cut out the old FKEY's from the old system file
and paste them into the new one.

As an example of this technique, the QUEAR (quick eject and reset) resource
came in at least two forms: DA (DRVR, actually) and FKEY.  The FKEY was
number 9, so command-shift-9 made your Mac burp.
-- 
Ephraim Vishniac
  [apollo, bbncca, cadmus, decvax, harvard, linus, masscomp]!wanginst!vishniac
  vishniac%Wang-Inst@Csnet-Relay