Results 1 to 3 of 3
  1. #1
    Lynx09 is offline Member
    Join Date
    Mar 2009
    Posts
    8
    Rep Power
    0

    Unhappy How to make virtual keystroke output?

    I want to make a program that uses a thread to time output for keystrokes made by the program. The keystrokes would be able to work in other widows while the program is minimized. I know where to look up the information of threads and eventlisteners. What I dont know and have searched for on the web is making keystroke output from a program. Can anyone help me?

  2. #2
    Singing Boyo is offline Senior Member
    Join Date
    Mar 2009
    Posts
    552
    Rep Power
    6

    Default

    this is the wrong forum for this. Try the New to Java subforum under the General Java forum.(Near the top of the Home page)
    If the above doesn't make sense to you, ignore it, but remember it - might be useful!
    And if you just randomly taught yourself to program, well... you're just like me!

  3. #3
    Lynx09 is offline Member
    Join Date
    Mar 2009
    Posts
    8
    Rep Power
    0

    Default

    Sorry, Im new to this site. I don't know how to change this to another folder. I have the answer though after searching some another site's forum. Java.awt.Robot; It allows you to control your mouse and/or create virtual keystrokes. The method that checks the color of a pixel on the screen seems like it would be very useful keep track of ones health bar in a game. If pixel is not red then action happens that may heal the character.

Similar Threads

  1. Java, output string, getting correct output? HELP!
    By computerboyo in forum New To Java
    Replies: 2
    Last Post: 02-26-2009, 12:44 AM
  2. More than one KeyStroke (Shortcut) for a JMenuItem
    By hannehomuth in forum Advanced Java
    Replies: 0
    Last Post: 07-25-2008, 04:35 PM
  3. how to read single Keystroke without using return
    By oomanamemni in forum New To Java
    Replies: 1
    Last Post: 02-14-2008, 08:21 PM
  4. Replies: 1
    Last Post: 07-29-2007, 11:53 PM
  5. Virtual Machine To Pda
    By Heather in forum Advanced Java
    Replies: 2
    Last Post: 06-30-2007, 04:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •