It sounds to me like you're asking for some client-side behavior after a particular value is entered into a text field in Internet Explorer (or presumably whatever browser the end user chooses). Perl isn't generally used for client-side trickery. For that, you may be looking for Javascript, or some other client-side solution. Perl, as applied to web programming, is generally run on the server side as a CGI program. From the server side, there is not really anything you can do to manipulate text fields in a browser in real-time.
Web applications are usually broken down into two components: the server side programming, and the client side programming. A CGI application, possibly programmed in Perl, can output HTML or just about anything else, including Javascript, which is then executed on the client's browser (client side). But at that point, your question becomes a Javascript question, not Perl.
| [reply] |
| [reply] |
| [reply] |
Hi mld,
A few things, firstly which version of Perl are you using Active State, Strawberry Perl? How did you install Win32::GuiTest, and did you experience any errors/warnings? Could you post some code which reproduces the problem (see Writeup Formatting Tips and How do I post a question effectively? please)?
The error message you have posted here suggests that Win32::GuiTest has not been installed properly, could you post the results of running the following from the command line: perl -e 'print join("\n", @INC);'.
For clarification, could you write a couple of sentences to describe what you are trying to achieve?
Update: Fixed a couple of typos
Thanks
Martin
| [reply] [d/l] |
I really do not understand your question. What do you mean with "calling a key"? What is IE? Internet Explorer? If yes, this is propably the wrong forum.
How do I post a question effectively?
If this is just a problem with english, try asking in your native language.
Alexander
--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
| [reply] |
I always just use the ANY key.
| [reply] |