Re: and people wonder why I curse Microsoft
Re: and people wonder why I curse Microsoft
- Subject: Re: and people wonder why I curse Microsoft
- From: "Arthur J. Knapp" <email@hidden>
- Date: Tue, 08 Oct 2002 11:15:05 -0400
>
Date: Mon, 7 Oct 2002 21:35:08 -0300
>
From: Bill Briggs <email@hidden>
>
Subject: and people wonder why I curse Microsoft
>
So I'm putting some error traps in an IE script to deal with the
>
possibility of a blank window (no URL). Well, some browsers throw an
>
error, some return a "", one even returns "about:blank" (all easy to
>
handle), but not IE.
>
{""//avaraq/\\avaraq/:avaraq/@avaraq//a-aavaraq/?avaraq/?U$&K@UD&K
>
/Ud&K%UQ&K5hU'&K
>
U&KU&Kj8`?H??+Y+Y};%;lines= jk #avaraq/", "Untitled"}
You may need to supply some version information. I get:
tell application "Internet Explorer" --> 5.1, on OS 9.2
GetWindowInfo 1
--
--> {"about:blank?untitled=yes", "Untitled"}
IE is notoriuos for radically different bug-behavior from one version
to the next. Their policy is that for every bug fix, a new bug must be
added. It's some sort of perversion of the law of conservation... ;-)
"Garbage" strings like the one above are often returned when a "null"
character, (ascii 0), is where an application or script isn't expecting
it to be. C strings are terminated by a null, such that a confused app
might simply start reading a memory location until it hits a null, and
then returns that.
P.S. How amusing that the server refuses to transmit 8-bit characters, but
doesn't hesitate to send control characters.
{ Arthur J. Knapp, of <
http://www.STELLARViSIONs.com>
a r t h u r @ s t e l l a r v i s i o n s . c o m
}
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.