mIRC Home    About    Download    Register    News    Help

Print Thread
#127354 12/08/05 06:47 PM
Joined: Aug 2005
Posts: 1
G
Mostly harmless
OP Offline
Mostly harmless
G
Joined: Aug 2005
Posts: 1
Is there a way to enter a message in a active channel through a program or from DOS?

Regards, GB

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
It could possibly be done with Com Objects, look for a tutorial on mIRCScripts.org if you don't know how COM Objects work or maybe the experienced coders here will give you some examples or pointers. smile

-Andy

Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
To communicate to mIRC from your application you can use dde or sendmessage. For information on both, and how to communicate with mIRC, check the help file.

/help dde
/help sendmessage

COM will be of no help for you, since COM is called from within mIRC whilst you want to communicate from an external program to mIRC. No you cannot communicate from DOS to mIRC. It is possible with COM to communicate with DOS, and return information from DOS to mIRC, but that means all code is processed on mIRC's side. That doesnt' seem to be what you're asking. You want to use a command in DOS and want it to appear in mIRC I suppose? That can't be done.

Note that the dde and sendmessage tips are for when you are developing an application, and wish to be able to communicate with mIRC. Obviously you cannot communicate with mIRC with an application that does not support this kind of features.

If you can program, which I assume you can, you can create a DLL, which can act as the intermediary between your application and mIRC, if for some reason dde and sendmessage are not sufficient for you.


Gone.

Link Copied to Clipboard