Re: Automator and Webkit
Re: Automator and Webkit
- Subject: Re: Automator and Webkit
- From: Daniel Jalkut <email@hidden>
- Date: Mon, 27 Jun 2005 11:37:40 -0700
On Jun 27, 2005, at 9:23 AM, Scott Garner wrote:
In the stand-alone application I connected a WebView to a custom
subclass of NSObject called PrintController and then in
PrintController.m did the work I needed to do. The problem now is
how to use a WebView in an automator action. My first thought was
to create a hidden window with a WebView on it, but I don't really
know how I'd access it from Automator's runWithInput.
Hi Scott - in case you don't know, there is an automator-dev mailing
list, also offered by Apple.
I'm not sure what the right solution to your problem is. It sounds
like it's not specifically Automator related. Basically, you want to
print web URLs without having to show the web content, right?
As a first step, may I suggest you try to change your Cocoa
application so that it doesn't show the web content? It might be
easier to tackle problems one at a time instead of compounding them.
It seems possible to me that you might be able to create a web view
with no superview, and ask it to load something. Have you tried
printing the web view without bothering with a window, hidden or
otherwise?
Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden