Re: Test for valid URL?
Re: Test for valid URL?
- Subject: Re: Test for valid URL?
- From: "John C. Welch" <email@hidden>
- Date: Thu, 16 Sep 2010 13:31:19 -0400
- Thread-topic: Test for valid URL?
On 9/15/10 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?
Define "validity"? There's a number of ways a URL can be both valid and
useless.
--
"The President is merely the most important among a large number of public
servants. He should be supported or opposed exactly to the degree which is
warranted by his good conduct or bad conduct, his efficiency or inefficiency
in rendering loyal, able, and disinterested service to the Nation as a
whole. Therefore it is absolutely necessary that there should be full
liberty to tell the truth about his acts, and this means that it is exactly
necessary to blame him when he does wrong as to praise him when he does
right. Any other attitude in an American citizen is both base and servile.
To announce that there must be no criticism of the President, or that we are
to stand by the President, right or wrong, is not only unpatriotic and
servile, but is morally treasonable to the American public. Nothing but the
truth should be spoken about him or any one else. But it is even more
important to tell the truth, pleasant or unpleasant, about him than about
any one else."
--Theodore Roosevelt, 26th president of the US
in an editorial in the Kansas City Star, May 7, 1918 (during World War I)
_______________________________________________
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