[ bacter @ 13.08.2006. 00:39 ] @
Da li iko zna kako mogu poslati nekom programu neku komandu (npr. komandu Enter ili sl.)? Program nisam pisao ja, niti imam source code, no svakih par minuta bih trebao da iz svog programa posaljem naredbu datom programu.

hvala!
[ Boško @ 13.08.2006. 01:03 ] @
Može ovako:
Code:
AppActivate("Untitled - Notepad")
SendKeys.SendWait("Hello world!")
' Send Ctrl S to open the Save As dialog box.
SendKeys.SendWait("^S")
' Send the name of the new file.
SendKeys.SendWait("c:\HelloWorld.txt")
' Send Alt S to save the file.
SendKeys.SendWait("%S")

A možeš i da koristiš API.
Potrebne su ti funkcije FindWindow i SendMessage.
Naći ćeš negde na net-u kako se koriste.