PDA

View Full Version : Communicating with other programs?



Faisal
20-05-11, 20:22
Is it possible to communicate with other programs in languages such as Java? E.g. I make a Java program to write Hello World in a notepad window. Or I make the application open up "My Computer" and search the C drive (using the search prompt). Is this possible?

DoubleTop
20-05-11, 21:10
think about your question in terms of security and then ask it yourself again :)

Smifis
20-05-11, 21:12
I suppose you could maybe emulate a mouse and keyboard and pretend to be a user....

but the simple answer is not really

Faisal
20-05-11, 21:17
Ahh ok lol, nevermind then.

Dukey
20-05-11, 22:02
Is it possible to communicate with other programs in languages such as Java? E.g. I make a Java program to write Hello World in a notepad window. Or I make the application open up "My Computer" and search the C drive (using the search prompt). Is this possible?

Sounds like you want to be using "macros" as opposed to writing programs :)

check out AutoIt.

Myn
23-05-11, 11:35
I'm not sure I understand your question; you can write a simple Java program to write "Hello World" to a notepad file, but this will only appear when you open the file, it won't type it letter by letter in front of you, if that's what you're asking?