• 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
How to deal with Java Script in None-GUI applications?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to deal with Java Script in None-GUI applications?


  • Subject: How to deal with Java Script in None-GUI applications?
  • From: Andrei Tchijov <email@hidden>
  • Date: Mon, 30 Jan 2006 12:05:25 -0500

Hi,
In my application I need to evaluate Java Script ( I need to extract proxy settings from *.PAC file, which amounts to invoking Java Script function defined in the file ). The problem is, that I need to do it in command line tool. There is no GUI, there is no WebView to which I can send windowScriptingObject. Documentation for WebScriptObject class states that it can not be instantiated by itself. Does it mean that I am stack? Is it possible to get WebScriptObject without WebView object? Alternatively, is it possible to instantiate WebView object inside command line tool?


You help will be greatly appreciated.

Andrei Tchijov
Leaping Bytes, LLC
_______________________________________________
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: How to deal with Java Script in None-GUI applications?
      • From: Nicko van Someren <email@hidden>
  • Prev by Date: Re: I think I have found a big bug in NSBrowser
  • Next by Date: Re: Fake NSMenu-like view
  • Previous by thread: Strange Info.plist problem
  • Next by thread: Re: How to deal with Java Script in None-GUI applications?
  • Index(es):
    • Date
    • Thread