Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!apple!voder!nsc!taux01!cyosta From: cyosta@taux01.UUCP ( Yossie Silverman ) Newsgroups: comp.sys.mac.programmer Subject: Re: Desktop pictures Message-ID: <1920@taux01.UUCP> Date: 20 Jun 89 09:59:45 GMT References: <4676@ucdavis.ucdavis.edu> <7679@hoptoad.uucp> <10298@claris.com> Reply-To: cyosta%taux01@nsc.COM ( Yossie Silverman ) Organization: National Semiconductor (IC) Ltd, Israel Lines: 22 I have modified DeskPict a little to do the following: 1) it no longer cares what number the PICT resource is in the DeskPicture file. 2) if there are more then one PICT resource in the DeskPicture file, one of them will be chosen at random. I did this in order to make it perform similarily to BackDrop. The only difference being that you can't change the screen dynamically. It seems to work just fine on my SE/30. The mod was to patch the code that looks for the resource to jump to a new piece of code that I tacked on to the INIT which does a _Count1Resources, a random on that, and a _Get1IndResource on the result. If there is interest, I will post the 32 byte patch instruction to the net. - Yossie -- Yossie Silverman What did the Caspian sea? National Semiconductor Ltd. (Israel) - Saki UUCP: cyosta%taux01@nsc.COM NSA LSD FBI KGB PCP CIA MOSAD NUCLEAR MI5 SPY ASSASSINATE SDI -- OOCLAY ITAY