News:

The NeXT Computer is now 37 years old!

Main Menu

Programmatically Controlling Programs

Started by tygre, Feb 01, 2026, 10:32 PM

Previous topic - Next topic

tygre

Hi there!

I've been developing AmiModRadio for Amiga computers, to download and play music from the Internet, and I'd like to learn NeXT programming by writing a similar program for my NeXTStation :)

I'm completely new to NeXT programming and it seems that NeXTStep doesn't have something like ARexx so I wonder if there's a way to control another program programmatically? Or maybe to control the mouse to mimic a user clicking here and there?

Cheers!
Tygre
-----------------------------------------
     Scientific Progress Goes Boing!
       http://www.chingu.asia/wiki
-----------------------------------------

marvin

#1
Hi @tygre , please have a look at the freeware Journaler .app from 1994.

Attached are:
Journaler.NIHS.bs.tar.gz from next-ftp.peak.org
Journaler.NI.bs.tar.gz  from Peanuts.

From their Journaler.README  :
QuoteWhat does this program do?

This program records mouse and keystroke events that occur within any application (or applications) you want, allowing you to save these events, and play them back later, thus recreating the exact sequence of events you recorded.
Maybe you can find some inspiration from the included source code.
DON'T PANIC

tygre

-----------------------------------------
     Scientific Progress Goes Boing!
       http://www.chingu.asia/wiki
-----------------------------------------