• 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: extract URL from general text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: extract URL from general text


  • Subject: Re: extract URL from general text
  • From: Rainer Standke <email@hidden>
  • Date: Wed, 19 Mar 2008 13:48:08 -0700

Hmm. 'curl -O http://www.apple.com' yields 'curl: Remote file name has no length!' for some reason.

However, I am wondering if curl could help turning an AS alias into a file URL. I have repeatedly looked at the curl man page, but nothing reveals itself to me. Am I barking up the wrong tree?

Thanks,

Rainer


On Mar 19, 2008, at 12:50 , Gary (Lists) wrote:

"Philip Aker" wrote:

On 08-03-19, at 11:15, Rainer Standke wrote:

could you elaborate on the concept of 'curling it', please?

He probably means to use the shell tool 'curl' in a 'do shell script'.
The basic call is :


curl -O http://www.apple.com

Yes, he does.

That's what I meant.

You will get a returned result which you can use to "validate" the URL at
that moment. If you're not connected to the net, then, of course, it may
not be (or may be, if you're pointing to a locahost "http://";, for example,
or a "file://" or other known protocol OYM.)
--
Gary



_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: extract URL from general text
      • From: Doug McNutt <email@hidden>
References: 
 >Re: extract URL from general text (From: "Gary (Lists)" <email@hidden>)

  • Prev by Date: applications launch invisibly in 10.5?
  • Next by Date: Re: extract URL from general text
  • Previous by thread: Re: extract URL from general text
  • Next by thread: Re: extract URL from general text
  • Index(es):
    • Date
    • Thread