Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Ideas for implementing pShell

by tachyon (Chancellor)
on Apr 03, 2004 at 08:20 UTC ( #342244=note: print w/replies, xml ) Need Help??


in reply to Ideas for implementing pShell

You will be doing it via Win32 API. Although it may seem rather unrelated at first have a look at Win32-Screenshot which provides a whole lot of window handling methods like: WindowFromPoint GetForegroundWindow GetDesktopWindow GetActiveWindow GetWindow FindWindow ShowWindow GetCursorPos SetCursorPos GetClientRect GetWindowRect BringWindowToTop GetWindowText IsVisible GetTopWindow Minimize Restore ScrollWindow. The XS part just calls the native Win32 API calls. As you can see the Perl wrapper code is very simple.

cheers

tachyon

Replies are listed 'Best First'.
Re: Re: Ideas for implementing pShell
by McMahon (Chaplain) on Apr 03, 2004 at 17:01 UTC
    Win32::GUITest might give you some ideas, too. I've only just started using it, but it has a lot of potential.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://342244]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2018-07-21 17:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (449 votes). Check out past polls.

    Notices?