Contents of another window?

Discussion in 'Java' started by Aaron Fude, Aug 2, 2004.

  1. Aaron Fude

    Aaron Fude Guest

    **** Post for FREE via your newsreader at post.usenet.com ****

    Can java read contents of another window? And send keystrokes to it?
    I will be dabbling in computer vision and ai and I want to teach java to
    play games such as pacman.

    Thanks!

    Aaron Fude



    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
    http://www.usenet.com
    Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     
    Aaron Fude, Aug 2, 2004
    #1
    1. Advertisements

  2. Aaron Fude

    Cid Guest

    Not in a "pure java" way unless the 'pacman' is running in the same VM
    or you can modify it. If you can sacrifice platform independance you
    could drop into a native library via JNI and use native os mechanics
    to grab the contents of an arbitrary window.
     
    Cid, Aug 3, 2004
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.