The stupid question is the question not asked | |
PerlMonks |
Win32 Active Windowby esr (Scribe) |
on Dec 06, 2004 at 23:58 UTC ( [id://412785]=perlquestion: print w/replies, xml ) | Need Help?? |
esr has asked for the wisdom of the Perl Monks concerning the following question:
I have a Perl script which is creating/editing both a Word document and an Excel spreadsheet. When I am done with this I want to be sure that the Excel spreadsheet is in front -- i.e. the "active window". I had hoped that the order in which they are made visible and/or maximized would do it but which one appears in front appears to be random. I have been unable to find anything that looks like the function I want in Win32::OLE but I am assuming there is an object there someplace. I can inquire about ActiveWindow but I can't find info on how to set the ActiveWindow. Can someone point me to the thingy I need?
Back to
Seekers of Perl Wisdom
|
|