Help, Please - "Browse the Internet" Broken
Help, Please - "Browse the Internet" Broken
- Subject: Help, Please - "Browse the Internet" Broken
- From: Dan White <email@hidden>
- Date: Sat, 12 May 2001 14:00:11 -0400
- Newsgroups: apple.lists.applescript-users, alt.comp.lang.applescript
- Organization: Society for the Prevention of Paronomastic Defenestration
- Xref: forum.apple.com apple.lists.applescript-users:6849 alt.comp.lang.applescript:1573
Do you know that neat little compiled script called "Browse the
Internet" ? Well, mine is busted and I do not know why. My browser of
choice is Netscape.
What it says when I run it is :
The Helper Application was not found
That kind of address is missing from your Internet preferences, or its
helper application is missing. (Use Internet Config to set helper
applications)
Additionally weird is that if Netscape is already running, running this
script just brings it to the front, so this says to me that SOMEWHERE
it recognizes Netscape as my preferred browser.
I've re-installed EVERYTHING - browsers, control panels, extensions,
you name it. Trashed and re-built all my preferences.
FWIW, here's the source:
on run
openDefaultBrowser()
end run
on openDefaultBrowser()
set OKButton to "OK"
--most error messages should be handled by the OSAX itself:
set generalErrorMessage to "Your Internet software is not configured
correctly. " & ¬
"Please use the Mac OS installer to re-install your Internet
software."
try
«event GURLBROW» with «class errr»
on error errorMessage number errorNumber
if errorNumber = -1708 then
display dialog generalErrorMessage & return & return & ¬
" (Error number: " & errorNumber & ")" buttons [OKButton]
default button OKButton
end if
end try
end openDefaultBrowser
--
------------------------------------------------------------------------
Dan White
------------------------------------------------------------------------
"Sometimes I think the surest sign that intelligent life exists
elsewhere in the universe is that none of it has tried to contact us."
Calvin (Bill Waterson)