Sign in to follow this  
Followers 0
jaideept

How to do _IEAttach to a IE window having PDF rendered

2 posts in this topic

hi,

for one of our requirement, we need to navigate a site and after certain pages, it opens the pdf document in new IE window rendered inside it.

I wanted to do something like

$IEObj = _IEAttach ("This is the Title on IE window having PDf rendered")

_IELoadWait ($IEObj)

then i want to print the pdf rendered

_IEAction ($IEObj, "printdefault")

as per the docs in the helpfile for the various modes for _IEAttach... in particular:

Title = (Default) sub-string of main document title

WindowTitle = sub-string of full window title (instead of document title)

The document title is the string inside the HTML <TITLE> tag, it is not the full window title - use WindowTitle for that.

in our case, we can not see source of the IE window having PDF. any suggestion as to how to do _IEAttach would be appreciated.

Thanks,

Jaideep

Share this post


Link to post
Share on other sites



The problem with what you're trying to do is that the PDF rendered in the IE object is its own object. The IE print command is not connected to the PDF renderer. So attempting to send the IE object the print command doesn't work to activate the print function of the PDF renderer.


Spoiler

“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0