Most of the time the Open URL context menu action works properly: highlight some plain text on a page (which is not a live hyperlink but DOES represent a valid URL), right click and select "Open URL", then the web page corresponding to that URL is opened.
But sometimes the Open URL action misbehaves, which is rather annoying. The symptom is a dialog box:
The first three lines of this ABEP file (Open URL.htm) contain:An error has occurred in the script on this page.
Error: Object doesn't support this property or method.
URL: [points to the location of the ABEP file: OpenURL.htm]
So for some reason it seems to be saying that a script method/property that usually works -- which I presume is either createRange() or createRange().text -- is not supported, and this seems strange to me when it does work most of the time.<script Language=VBScript>
Set objShell = CreateObject("WScript.Shell")
lcSelection = external.menuArguments.document.selection.createRange().text
Folks, any ideas why this happens, fairly regularly, every now and then?