mIRC Home    About    Download    Register    News    Help

Print Thread
#100394 12/10/04 04:37 PM
Joined: Dec 2002
Posts: 127
F
feud Offline OP
Vogon poet
OP Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127
i'm having a problem returning mirc information to my perl script using dde. i can send data fine, using:
Code:
 
use Win32::DDE::Client;
$mirc = new Win32::DDE::Client ('mIRC', 'COMMAND');
$mirc->Poke('filler', "/@ARGV");	
 


but, now i want to be able to return it. as i am not very good with perl, any help on returning information from mirc would be helpful.

note: from reading the mirc help file, i know that the second argument when creating the DDE link needs to be EVALUATE, not COMMAND

edit: i am using Win32::DDE::Client for my DDE tunnel

Last edited by feud; 12/10/04 04:57 PM.

------
deep down, i'm really superficial.
#100395 18/10/04 12:10 AM
Joined: Dec 2002
Posts: 9
M
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
M
Joined: Dec 2002
Posts: 9
Code:
 
use Win32::DDE::Client;

$mirc = new Win32::DDE::Client ('mIRC', 'EVALUATE');
print $mirc->Request('...');
 


Abort, Retry, Fail?
www.liek.net
#100396 18/10/04 01:45 AM
Joined: Dec 2002
Posts: 127
F
feud Offline OP
Vogon poet
OP Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127
perfect. thanks a lot


------
deep down, i'm really superficial.

Link Copied to Clipboard