Thread Mit Perl tasten simulieren? (26 answers)
Opened by Gast at 2008-07-15 23:41

Gast Gast
 2008-07-16 23:43
#112227 #112227
Bin jetzt mit windows on.
Ich bekomme diese Fehlermeldung?

ein code:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!C:/Perl/bin/perl.exe -w
# $Id: notepad.pl,v 1.1.1.1 2007/10/05 08:30:20 dk Exp $
#
use Win32::GuiTest;

system("start notepad.exe");
sleep 3;
Win32::GuiTest::SendKeys("If you're reading this inside notepad,\n");
Win32::GuiTest::SendKeys("we might consider this test succesful.\n");
Win32::GuiTest::SendKeys("Now I'll send notepad an ALT{+}F4 to close\n");
Win32::GuiTest::SendKeys("it. Please wait.......");
sleep 1;
Win32::GuiTest::SendKeys(".");
sleep 1;
Win32::GuiTest::SendKeys(".");
sleep 1;
Win32::GuiTest::SendKeys(".");
Win32::GuiTest::SendKeys("%{F4}{TAB}{ENTER}");



Fehler?:
Compilation failed in require at C:\......... line 4
Begin failed--compilation aborted at C:\...... line 4

View full thread Mit Perl tasten simulieren?