Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site uw-beaver
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!mhuxv!mhuxh!mhuxi!mhuxm!mhuxj!houxm!vax135!cornell!uw-beaver!info-mac
From: info-mac@uw-beaver
Newsgroups: fa.info-mac
Subject: Screen blanking desk accessory
Message-ID: <808@uw-beaver>
Date: Fri, 8-Feb-85 04:24:30 EST
Article-I.D.: uw-beave.808
Posted: Fri Feb 8 04:24:30 1985
Date-Received: Sat, 9-Feb-85 07:24:57 EST
Sender: daemon@uw-beaver
Organization: U of Washington Computer Science
Lines: 100
From: Steven B. Munson
At last! Someone has written a desk accessory that blanks the
screen and works with MacTerminal on a 128K Mac! This one is so small,
it could just as well go out in the mail; it's smaller than this message
describing it (900 BYTES after conversion)! Here is what its creator
says about it:
[ The hcx source is also archived in sleep3.hcx -jma ]
>From: lsr@apple.UUCP (Larry Rosenstein)
>Newsgroups: net.micro.mac
>Subject: Idle Desk Accessory
>Message-ID: <14891@apple.UUCP>
>Date: Sun, 3-Feb-85 18:43:17 EST
>Date-Received: Thu, 7-Feb-85 03:48:53 EST
>Organization: Macintosh Division, Apple Computer
>Lines: 41
>
>I have posted to net.sources.mac a copy of yet another Idle desk accessory.
>The features of this one are:
>
> o erases the whole screen and randomly moves an icon around
> o runs during the host application's idle time (ie., does not take over
> the whole machine)
> o exits when you press the mouse button (so long as the cursor is not in
> the menu bar) or if another window becomes active (ie., if you are in
> the Finder and insert a disk)
> o if you hold down the Option key you can see what used to be on the
> screen (it does not save the bits, however, so it relys on the
> application being able to respond to update events)
>
>If you examine the driver you will find the charaters ICN# followed by a
>word containing 3. This is the resource type and ID of the icon that it
>flashes on the screen. You can edit these to customize your desk
>accessory. (For example, display a different icon depending on what
>application is running. If you do this you would want to install the
>driver in the application itself, including the Finder.) Both ICON and
>ICN# resource types will work. If the resource does not exist a square is
>moved around instead.
>
>Implementation Note:
>
>The DA creates a window the size of the screen. It copies the window's
>portRect into its visRgn before drawing, so that it can draw on top of the
>menu bar. It saves the old menu bar and clears the menus to ensure that
>the user cannot pull down a menu. When you hold down the option key it
>repaints the menu bar and shrinks the window down to 0-size.
>
>You can distribute this freely, as long the credit (blame) is properly
>attributed. Report comments/bugs to me.
>
>Enjoy.
>
>Larry Rosenstein
>{dual, nsc, voder, ios}!apple!lsr
>lsr@Apple.CSNET
I have installed this and extracted it with DAM. I will send the
DAM document to info-mac-request soon, from whence I assume it will be
put in the info-mac directory at sumex.
Steve Munson
sbm@purdue
(This file must be converted with BinHex.
#????????$0000
***COMPRESSED
***RESOURCE FORK
( 0 -: "6@ #I.RE? !2I-&"V/RP &*FW8*Y*K 4
(&=8J%8F; >+PNH G>)B@ %# K !:0:P 2MD!G'"\+
("\#4.>I'7 !MH!F#B L !1G""\ J3RI-ZDT3OK_3B!L
( >+R@ &$AH !"HWTYU+PIA["1L !Y(:@ 0(&T $AH
(/_PJ*5A2"1?3G4@; >("@ %&$42$!(06$.2$$O 2\L
( >J'.H>$YU!$ %"\#2.? $)GJ&$V'VH"1$-(PTS?
( #A\!(0S(#1$$F'TYU88X@; >("@ F&8(2'H 0JBA
($YUGOP %")/+P"IHB! (M R_ $0?H *"+8(M@B3R\)
("!L !Y(: "2'H %$AZ ! _/ "0J>H[-[\ !1.=0
( " ( !
( -: "6@ #< 00: #X < #( $125E( *
$0 : @ $$(@1)9&QE
***END OF DATA
***CRC:1914