codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  focus management?  wraithedge at 14:36 on Friday, May 12, 2006
 

I want to send keys to a non-java windows application that is already running from a seperate java program running parallel to the target application.

So there is a window entitled "BABCS: bobs true value tools". I am in the java program "sayhello". I want to send the individual keys "h" "e" "l" "l" and "o" to the window entitled "BABCS: bobs true value tools".

I understand how to use robot to perform the send key type function.

But how do I target the existing window to whom I wish to send the keys? Is it a focus issue?










CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Re: Please can someone show me how to make a java box pop upand display personal information!
•  Beginners question on building Bento4 SDK
•  Scrolling Images
•  Does anyone know to create or implement a diary into Java??
•  jslider - paint track
•  Re: convert minutes into hours and minutes
•  File handle problem
•  Link Capture, help needed
•  Re: java app auto web update..


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007