Look at the JavaScript that gets executed when you click on the InfoPath
form in the form Library. See if you can alter it to pass the
information that you need.
Beyond that, I'd have to research it and I don't even have SharePoint
installed on my box right now. But I'll bet it could be done.