RE: Executable program from perl script

2002-05-07 Thread Sushil Kumar Gupta

No Actually i am trying to send the command to this application through
script only.

-Original Message-
From: Josue Garayua [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 07, 2002 3:45 PM
To: Sisyphus
Cc: [EMAIL PROTECTED]
Subject: Re: Executable program from perl script


What if the input is via cgi using post and get method? It's posible?

J.G.T

- Original Message - 
From: Sisyphus [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, May 07, 2002 12:25 AM
Subject: Re: Executable program from perl script


 
 - Original Message -
 From: Sushil Kumar Gupta [EMAIL PROTECTED]
 To: 'Sisyphus' [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Monday, May 06, 2002 3:39 PM
 Subject: RE: Executable program from perl script
 
 
  Thanks for the reply !
  but how can i give inputs to the exe using the way you have suggested ?
 
 
 How are you supplying input ?
 
 If it's via command line arguments, let's say 'arg1' and 'arg2' then it
 would be worth trying:
 $out = `d:/abacus/bin/acld.exe arg1 arg2`;
 
 If it's via the keyboard, then maybe all you need is:
 system(d:/abacus/bin/acld.exe);
 
 We probably need a little more info about what you want in regard to both
 input and output.
 
 Cheers,
 Rob
 
 ___
 Perl-Win32-Users mailing list
 [EMAIL PROTECTED]
 To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
 

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



msg12981/bin0.bin
Description: application/ms-tnef


RE: Executable program from perl script

2002-05-07 Thread Sushil Kumar Gupta

Thanks for suggesting this 
but seems this is not working .. i tried 
it still send start to the STDOUT and not to the application. 
Actually i want sort of what EXPECT can do , in PERL

Regards,
Sushil

-Original Message-
From: $Bill Luebkert [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 3:23 AM
To: Sushil Kumar Gupta
Cc: '[EMAIL PROTECTED]'
Subject: Re: Executable program from perl script


Sushil Kumar Gupta wrote:

 No it's not the command line argument that we can provide to the
 application. 
 Okay let me give some details about the application.
 
 when i start acld.exe it starts one seperate GUI and then wait for
commands.
 when i say start on the command prompt, it will do something
 when i say stop on the command prompt, it will do something
 when i say version on the command prompt, it will give me the version of
 the application.
 etc etc etc
 
 i hope now my intent is clear.


Then you probably want a pipe:


open PIPE | /path/acld.exe or die ...

print PIPE start\n;


Or similar.

-- 
   ,-/-  __  _  _ $Bill Luebkert   ICQ=14439852
  (_/   /  )// //   DBE Collectibles   Mailto:[EMAIL PROTECTED]
   / ) /--  o // //  http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/__/_/_ Castle of Medieval Myth  Magic
http://www.todbe.com/



msg12982/bin0.bin
Description: application/ms-tnef


GUI automation

2002-05-07 Thread Sushil Kumar Gupta

I plan to automate one GUI based application using perl.
That will include everything like simulating mouse clicks , clicking on sub
menus and fill the items in the text boxes etc etc.. I am totally new to GUI
automation part of perl ..
could any pls help me in telling what all modules are necessary for GUI
automation. Any help with the sample scripts will be highly appreciated.

regards,
sushil




msg13004/bin0.bin
Description: application/ms-tnef


How to install Win32::API ????

2001-12-29 Thread Sushil Kumar Gupta

Hi All,

I have downloaded Win32-API-0.20.zip to install win32::API module on
windows. I did Perl Makefile.PL as the first step to install this module.
but after that what to do ??? do i have to use nmake utility to install it
completely ? or do i need .PPM. Anybody who has installed Win32::API on
windows ( ofcourse successfully ) .. pls let me know .. it's kind of
urgent..
i am using perl5.004.

Regards,
Sushil
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users