Re: Test for valid URL?
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