Automator and Webkit
Automator and Webkit
- Subject: Automator and Webkit
- From: Scott Garner <email@hidden>
- Date: Mon, 27 Jun 2005 11:23:16 -0500
Okay, first I should say that I'm very new to Cocoa and Objective-C,
so go easy on me.
I'm trying to write an automator action that will create PDFs from
web pages based on a given list of URLs. I've successfully written a
small Cocoa application to do this, but am having trouble adapting it
to automator.
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.
Should this hidden window be in the same nib as everything else or in
a nib of its own? How do I talk to it from runWithInput once it
exists somewhere?
Again, I'm new to all of this, so forgive me if my logic is flawed.
_______________________________________________
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