Anyway for my program to read Web page address from Internet Explorer's address bar?
Joined: Jan 04, 2006
Anyway for my program to find a Web page address from Internet Explorer's address bar? I just need the address, not the contents of the page. Also, anyway for me to tell IE to do a Refresh/Reload? [ January 11, 2006: Message edited by: Hank Haroldson ]
Joined: Dec 15, 2005
Is your program a stand alone java program, an applet running in a browser, or a server side web app (servlet or jsp page)?
Stand-alone program.... Also, doesn't have to be IE.. if there is a way to do this with Firefox, that works too. [ January 11, 2006: Message edited by: Hank Haroldson ]
Joined: Sep 06, 2003
You may do it in an indirect way (not a pure Java solution). Taking win 32 OS as an example, you may use exec method of Runtime and invoke a VBScript (or anyother program) and write the IE's address into a file. Then read the content from the file using Java IO.
Hope some one comes up with a much easier solution.