• 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: curl equivalence
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: curl equivalence


  • Subject: Re: curl equivalence
  • From: Martin Orpen <email@hidden>
  • Date: Thu, 27 Oct 2005 22:34:22 +0100
  • Thread-topic: curl equivalence

on 27/10/05 21:32, John R. at email@hidden wrote:

> Is it possible to write an Objective-C handler that can be called
> from Applescript developed on Script Editor? I have not yet used
> Applescript Studio or Xcode, through which I suppose integration with
> Objective-C is easier. Maybe this is an excuse to try it. What I want
> to do should be simple in theory, right? -- load a url and loop "to
> check the response status code"?

You can call obj-c from AppleScript using Automator or by building your own
Xcode app:

<http://www.idea-digital.com/applescript/applescript/obj-c.html>

> Please point me to the documentation on this API  +[NSURLConnection
> sendSynchronousRequest:response:error:], and what the "foundation"
> classes are for Safari.

Try this:

<http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_cl
assic/Classes/NSURL.html#//apple_ref/occ/cl/NSURL>

Looks a bit complicated though.

Lynx is so much easier... :-)

--
Martin Orpen


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: curl equivalence (From: "John R." <email@hidden>)

  • Prev by Date: Re: curl equivalence
  • Next by Date: re: curl...file listings...
  • Previous by thread: Re: curl equivalence
  • Next by thread: Re: curl equivalence
  • Index(es):
    • Date
    • Thread