Shop OBEX P1 Docs P2 Docs Learn Events
Using the debug terminal with a java program — Parallax Forums

Using the debug terminal with a java program

lordericolorderico Posts: 12
edited 2009-02-04 21:36 in BASIC Stamp
Hey,

Does anyone know if there is a way to type in the debug terminal from a java application?· Or else, if there is a way to send the basic stamp information from a java program.· I need the mouse to be in a specific location for the java application to work, so using the Robot class to move the mouse, click, and type is not really an option.· If you have any ideas, please let me know.

Thanks,
Eric scool.gif

Comments

  • SRLMSRLM Posts: 5,045
    edited 2009-02-04 21:36
    You could use the Java program to communicate directly with the COM port. You could probably find information online about this, or you there is a good book 'Building Java Robots' (APress) that uses the BS2 and a PC java to make some neat stuff.

    If you don't want to work with a COM port, you can move a mouse cursor directly by a command where you pass the X,Y coordinates. From what I remember, it was fairly simple (I used it to make a program to turn off the computer), but I don't remember the command. Again, a search online should yield some results. There is a similar function for keyboard use.
Sign In or Register to comment.