• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Automator and Webkit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Automator and Webkit
      • From: Graham J Lee <email@hidden>
    • Re: Automator and Webkit
      • From: Scott Garner <email@hidden>
References: 
 >Automator and Webkit (From: Scott Garner <email@hidden>)

  • Prev by Date: Re: Dashboard + RSS
  • Next by Date: Re: easy way to refresh branch of NSOutlineView
  • Previous by thread: Automator and Webkit
  • Next by thread: Re: Automator and Webkit
  • Index(es):
    • Date
    • Thread