Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ucbvax.ARPA Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!huxham From: huxham@ucbvax.ARPA (Frederick Huxham) Newsgroups: net.micro.mac,net.wanted.sources Subject: Re: Batch processing on Mac Message-ID: <5232@ucbvax.ARPA> Date: Mon, 4-Mar-85 20:52:43 EST Article-I.D.: ucbvax.5232 Posted: Mon Mar 4 20:52:43 1985 Date-Received: Tue, 5-Mar-85 03:33:57 EST References: <163@sdcc13.UUCP> Organization: University of California at Berkeley Lines: 21 Xref: watmath net.micro.mac:743 net.wanted.sources:570 > > > Does anyone out there know how to post more than 19 events on > the event queue on the Macintosh? I'm particularly interested > in creating a batch-like processor. Even better: does anyone > know of some sort of batch facility on the Macintosh? Thanks. Using the OS Event Manager you should be able to post 30 events on the queue. First call FlushEvents(eventMask,stopMask:integer) to clear the queue. Then do 30 PostEvent(eventCode:integer; eventMsg:longint): OSErr That should do it. If you wanted more that 30 events, you could probably store them in your own queue and then when space permitted, post them to the event queue. Fred A. Huxham