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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://342244]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-24 01:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found