Re: Is it possible to code something that reads stuff OUTSIDE the GUI?




<eshedz@xxxxxxxxx> wrote in message
news:1132338090.426526.197990@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Uptil now all I did was coding stuff and make stuff react to mouse
> actions within a window (jframe for example)..
>
> Is it possible to code an app that, let's say, get a word that is under
> the mouse pointer but outside the window -- for example Notepad? (e.g.
> you hover with your mouse a word inside notepad and the system gets
> that word).

See java.awt.Robot

http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Robot.html

- Oliver


.



Relevant Pages

  • Re: Is .NET free?
    ... > You can do what you wish, as the .NET Framework is free. ... > selling what you write. ... > simplifying your coding, as coding in notepad is painful. ...
    (microsoft.public.dotnet.framework)
  • Re: Is .NET free?
    ... > The main reason for picking up a good IDE is simplifying your coding, ... > coding in notepad is painful. ... you tell us that Notepad and .NET is painfull. ...
    (microsoft.public.dotnet.framework)
  • Preset the "Files of Type" in Notepad Open file dialog?
    ... I'm currently learning HTML and XHTML. ... I use notepad ... for coding some simple web pages. ... Everytime I open the File dialog, ...
    (microsoft.public.windowsxp.basics)
  • RE: Cleaning up Code Bloat
    ... "Chuck Humphrey" wrote: ... > Notepad and then recopy it into a page in FrontPage 2003. ... > is that I lose formatting, like itals and bold, when I go to and from ... coding is left whereas Notepad converts that coding to ...
    (microsoft.public.frontpage.client)