This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi, Stephen, what does your program structure look like? I'm picturing a stand-alone Java program that you start with "java MyProgram" that is trying to start up and work with IE.
You can open IE (or whatever your default browser is) to a specified URL pretty easily.
Actually that will launch the default application for any file. There are just enough confusing issues that I'd grab some code off the web rather than start from scratch. And it won't run on other platforms.
You can't easily get information back from the browser in this structure with native Java. My team experimented with a Java COM bridge called Jacob and got a lot of good stuff going, but not quite reliably enough for production. Google for "java com bridge" and you'll find many free and commercial products.
I was just reading about Ruby Watir. If you're willing to do parts of your application in Ruby it's way cool. Again Windows only.
So was that the right guess on your architecture? Stand-alone Java and IE?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi