• 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: Test for valid URL?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Test for valid URL?


  • Subject: Re: Test for valid URL?
  • From: "Mark J. Reed" <email@hidden>
  • Date: Wed, 15 Sep 2010 21:10:56 -0400

On Wed, Sep 15, 2010 at 8:48 PM, Michael Grant <email@hidden> wrote:
> Does AppleScript provide any way of testing whether a string is a
> valid URL before using it as the argument of the "open location"
> command?

What do you mean by a "valid URL"?  How valid does it have to be?  You
can write a syntax check, but that's a low barrier to entry that
doesn't in any way guarantee that it will open as a location...

--
Mark J. Reed <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: Test for valid URL?
      • From: Matt Deatherage <email@hidden>
References: 
 >Test for valid URL? (From: Michael Grant <email@hidden>)

  • Prev by Date: Test for valid URL?
  • Next by Date: Re: Test for valid URL?
  • Previous by thread: Test for valid URL?
  • Next by thread: Re: Test for valid URL?
  • Index(es):
    • Date
    • Thread