This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is window manipulation available in perl?


alan napier wrote:
If you want to use the cygwin perl you will have to download then extract each component of the cpan library modules to their respective directories: \doc \lib ect.

Much easier use the active perl which does all that for you. Just make sure the active perl comes before the cygwin perl in the windows path.

Robert Mecklenburg wrote:

First, please excuse the newbie question.  I don't think this is
off-topic, but my judgement isn't the one that counts. ;-) I've done a
good bit of searching with google, faqs, and posting to
comp.lang.perl.misc, but can't figure this out...

I'm using the most recent cygwin port of perl (revision 5.0 version 6
subversion 1) on windows 2000.  I want to send "alt+f x" to an Outlook
Express window from a perl script.  It seems that ActiveState Perl can
do this with the Win32::Setupsup package, but that the vanilla perl
(or cygwin's perl) cannot do this?

I tried to install the Win32-CtrlGUI-0.22 package from cpan.org but it
requires Win32::Setupsup which is not on cpan.org.  I found this
package on perlring.org but it seems to require ppm.  I found
references to ppm at activestate.com but it appears to be a feature of
ActivePerl rather than of "just perl".

So the question is: "how to I send keystrokes to a Windows window with
cygwin Perl"?

I'm using cygwin tools heavily in this perl script and I'd hate to
have to use ActiveState perl.  Partly because I love cygwin and partly
because the path translation between a non-cygwin perl and cygwin
tools would introduce messiness I'd like to avoid.

Suggestions welcome. Thanks,
Robert Mecklenburg


I don't know why this message shows up now, however Alan Napier posted
his reply to this list, today.  The original question is from 2002:
http://sources.redhat.com/ml/cygwin/2002-02/msg00587.html

I hope this issue is resolved now?


Gerrit -- =^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]