Page 1 of 1

accessing a running instance of TextPad from a java program

Posted: Tue Nov 22, 2005 7:21 pm
by anamaeka
Hi there,

I have a question about running TextPad from within a Java program rather than the other way round (the other way round being the usual topic for this forum...)

I know how to start up an instance of TextPad from a Java program using the Runtime class' exec method. But I'd like to know if it's possible--from a Java program--to open another text file in an already running instance of TextPad. Can that be done? If so, can anyone explain how?

Thanks in advance; any help would be greatly appreciated,