|
-
Dec 12th, 2006, 08:18 PM
#1
Thread Starter
Fanatic Member
Get the Handles of a Java Applet
Hi I was wondering if anyone knew a code to get the handles of a java applet on a webbrowser control and set focus to it. Ex: I am making an experimental program that i want to automatically type. Well see when i make it so it sets focus to the webbrowser it doesnt set focus to the Java Applet so i cant sendkeys to it.
Please note this program is not going to be distrubuted and is only a test.
If a post has been helpful please rate it. 
If your question has been answered, pull down the tread tools and mark it as resolved.
-
Dec 12th, 2006, 08:29 PM
#2
Addicted Member
Re: Get the Handles of a Java Applet
find window (ex) api can come in handy, it gets the window handle and from there you can use sendkeys
(you can also use it to send mouse clicks to make it get focus)
-
Dec 12th, 2006, 09:08 PM
#3
Thread Starter
Fanatic Member
Re: Get the Handles of a Java Applet
If a post has been helpful please rate it. 
If your question has been answered, pull down the tread tools and mark it as resolved.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|