mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2003
Posts: 6
W
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
W
Joined: Aug 2003
Posts: 6
Is there a way to make mirc load a script from outside mirc?

COM, DDE, Command-Line...

I would like to make an installer fr a little script to make it easier for mIRC-beginners...

Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
If mIRC is currently running, it could be done through DDE. /help dde

Joined: Aug 2003
Posts: 6
W
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
W
Joined: Aug 2003
Posts: 6
that would indeed work smile But i just checked the installer i normally use and that doesn't support DDE. Only execue file (command line) and DLL Call. Would a DLL Call be possible in any way?...

Otherwise i'll have to build me a lil installer in VB to execute the DDE smile

Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Well, if you write a DLL that handled DDE communications, then yes you could do that. Otherwise try searching google for a commandline .exe program that lets you send dde commands.

Joined: Dec 2002
Posts: 127
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127
i don't know of any dll's that allow you to send dde commands (although i'm sure they're out there), but a while ago, someone posted something about using perl and dde together. i wrote a very small perl script that now can send dde messages to mirc. if you want the code, i can post it here when i'm on my home machine.


------
deep down, i'm really superficial.
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
And what software allows you to interprit perl?


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Dec 2002
Posts: 127
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127


------
deep down, i'm really superficial.
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
And he is going to bundle Active Perl, a HUGE program, along with his installer? That's not a good idea at all.

Joined: Mar 2003
Posts: 27
Q
Ameglian cow
Offline
Ameglian cow
Q
Joined: Mar 2003
Posts: 27
If mIRC is running and you can somehow get its HWND (window handle), you could use SendMessage.


* Quietust, QMT Productions
P.S. If you don't get this note, let me know and I'll write you another
Joined: Dec 2002
Posts: 127
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127
doh. i didn't read the first post. ignore my last


------
deep down, i'm really superficial.
Joined: Feb 2003
Posts: 309
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Feb 2003
Posts: 309
oooh oooh oohh your talking about something i made albiet indirectly.

DDEcommander comes with IDEmIRC -> mircscripts.org -> I use it to reload files via DDE


Link Copied to Clipboard