ee163ahe@sdcc13.UUCP (VICTOR ROMANO) (03/03/85)
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. Victor Romano
huxham@ucbvax.ARPA (Frederick Huxham) (03/05/85)
> > > 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