Hi All, I have an interactive console application that I am trying to automate. I want to send key strokes to an application that I spawn using the system call...
Hi, ... Try system("$Path/myexe.exe -i config.ini >> output.txt"); instead. start creates a new console and that messes up the redirection. Take into account...
You might also try looking at the IPC::Open2 and IPC::Open3 modules. I haven't used them, but they seem to do something similar to what you want. Chris Hilton ...
I'm not sure if GuiTest is the right tool for what I'm trying to do, so forgive me in advance.... I'd like to have a script that manages user input and sends ...
Hello, Using Notepad and WMSetText instead of SendKeys, a crude example follows: Note: If you actually just had to use the SendKeys function itself instead of...
... [...] WMSetText is just what I needed! Thanks so much. (The IsKeyPressed part didn't work so well on my Win98 system, but that's a much more manageable...
HI, I am new to perl and want to use the library win32::GUITEST Here is the program which I am trying to run ...
Rajeev J
jrajeev@...
Apr 22, 2003 7:58 am
177
Here I also tried to install the win32::guitest gettting the module from cpan.org but when I use the command to install Using ppm> install...
Rajeev J
jrajeev@...
Apr 22, 2003 8:23 am
178
Try just ppm install Win32-GuiTest Thanks, jason On Tue, 22 Apr 2003 13:52:46 +0530, Rajeev J wrote ... -- This email from jason blakey - jblakey@... ...
Hi Jason, When I tried that I got the following error message E:\Win32-GuiTest-1.49>ppm install win32-guitest.ppd Error: no suitable installation target found...
Rajeev J
jrajeev@...
Apr 22, 2003 12:06 pm
180
Hi Rajeev, what version/distribution of Perl are you using, and on what kind of machine? Thanks, jason On Tue, 22 Apr 2003 17:35:47 +0530, Rajeev J wrote ... ...
HI Jason, I am using perl ver 5.8.0 build 805 and the operating system is Win xp. Regards, Rajeev...
Rajeev J
jrajeev@...
Apr 22, 2003 12:29 pm
182
Hey Rajeev, I had a similar problem. It seems ppm does not work in perl ver 5.8.0. Simply download the previous version (5.6.1) from Active Perl. Once I ...
This is perl, v5.6.1 built for MSWin32-x86-multi-thread C:\GuiTest\Win32-GuiTest-1.3>"C:\Program Files\Microsoft Visual Studio\vc98\bin\NMAKE.EXE Microsoft (R)...
Looks like you've got visual studio installed, but not setup for command-line compilation. If you type "CL" at the command-line you should get: D:\bin>cl ...
Thanks, Ernesto. Works like a champ. I remember running vcvars32.bat when I installed but I have messed with the path variables since then. Sherman ... From:...
On a completely different topic, what does IsGrayedButton do? Check for the existence of a grayed button on the supplied HWND? Wait until there are no grayed...
HI I have now uninstalled 5.8 and installed 5.6.1 , but now it is saying that 'ppm' is not recognized as an internal or external command, operable program or...
Rajeev J
jrajeev@...
Apr 23, 2003 8:18 am
188
Hey, the problem is solved , i had not installed the ppm component in perl due to which the ppm command was not working and jarrod you were right when you said...
Rajeev J
jrajeev@...
Apr 23, 2003 9:20 am
189
For radio buttons or check boxes, IsGrayedButton determines if the current state is indeterminate ("grayed"). For regular buttons this function does nothing...
I am installing via ppm and am getting this error: Can't find unicode character property definition via main->r or r.pl at unicode/Is/r.pl ilne 0. I can't...
Hi Ernesto, First off, thanks for the reply. I appreciate the help that you offered. I do apologize for my delay in responding but I have been out of town for...
I have a program called 'tee' (a port of the UNIX 'tee' command) which will redirect input to both stdout and a file, use 'myprogram | tee outputfile' will...
I haven't came across this error yet myself, so I'm not sure what exactly could be causing this. If you are using the ActiveState build of Perl, you could try...
I compiled Win32-GuiTest for the latest ActivePerl 5.8.0 using VC6. It works for me. If you would like to test/use it, it is available from the following site:...
HI i have a perl script use Win32::GuiTest qw/MenuSelect/; system "start notepad"; sleep 2; MenuSelect("&File|&Exit"); when i execute this it opens the notepad...
Rajeev J
jrajeev@...
Apr 30, 2003 6:39 am
198
Rajeev Your Menu Path is not right.Not the changes below ... use Win32::GuiTest qw/MenuSelect/; system "start notepad"; sleep 2; MenuSelect('&File|E&xit'); ......