Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hoptoad!tim From: tim@hoptoad.uucp (Tim Maroney) Newsgroups: comp.sys.mac.programmer Subject: Re: MacroMaker does strange things to the system... Message-ID: <7611@hoptoad.uucp> Date: 9 Jun 89 20:00:56 GMT References: <789@tekno.chalmers.se> <7459@hoptoad.uucp> <32327@apple.Apple.COM> Reply-To: tim@hoptoad.UUCP (Tim Maroney) Organization: Eclectic Software, San Francisco Lines: 42 In article <7459@hoptoad.uucp> tim@hoptoad.UUCP (Tim Maroney) writes: >It's a well-known fact that Apple's own software is often the >least compatible with system software revisions (and the same goes, I >understand, for high-ranking Apple alumni like Andy Hertzfeld), and it >is a problem. But in this case, it's not really a serious one. In article <32327@apple.Apple.COM> tecot@Apple.COM (Ed Tecot) writes: >And I'd argue that it's not one at all... Journaling was built with macros >in mind (and guided tours, but I digress). It's foolish to assume that you >are the only one using a given service in the Macintosh. Always be prepared >to share. Not quite. Sven's complaint was that the advertised sharing mechanism doesn't work exactly as advertised. It's supposed to work like this: When you set JournalFlag to a positive value, then event recording Control calls will be sent to the driver whose reference number is in JournalRef. However, he was getting events even when JournalFlag is zero, which he deduced to mean (I assume correctly) that MacroMaker was changing the journaling mechanism, not just using it. He does have cause to complain if his deduction is correct. This implies that not only do you have to make sure that JournalFlag is zero before you use the machanism, you have to make sure you don't use JournalRef while JournalFlag is zero. This is not something you would guess from Inside macintosh; the way it reads, you should be able to turn off journaling using JournalFlag only; in fact, you have to set both JournalFlag and JournalRef when MacroMaker is running. However, I pointed out that a simple save/restore strategy on JournalRef ought to eliminate his problem, which is why I feel it's not a serious difficulty. If he makes sure that his driver's reference number is only in JournalRef when he has set JournalFlag to negative or positive, and the rest of the time it's set to whatever it was before he set JournalFlag to non-zero, then he and MacroMaker should be able to happily coexist. Unfortunately, the message may not have reached him -- at least, I haven't heard from him whether this worked or not. That's why I'm repeating it now.... -- Tim Maroney, Mac Software Consultant, sun!hoptoad!tim, tim@toad.com Postal: 424 Tehama, SF CA 94103; Phone: (415) 495-2934 If you vote for clowns, you have no right to complain that only clowns make it to the ballot.