Topic: Needs enhancement of {Open URL at cursor} command (1 of 11), Read 46 times
Conf: VEDIT Suggestions
From: Peter Rejto
Date: Thursday, April 22, 2004 06:54 PM

Hello,

I would like to have an enhancement to the {Open URL at cursor} menu command. Specifically, I would like to be able to open an .html file on my computer, after typing in its path into a file which is open in Vedit.

If I type in the href of item 1. below, into an .html file and load that file into my Netscape 7.1 then clicking/double clicking on it in Netscape, Netscape opens it. I would appreciate it if Vedit would do the same.

I have tried the following:


Experiments with the
{File, Open(More..), Open URL at cursor}
menu command.

1.:
href="file://C:/Local/Software/webboard..../list.html"

Error message: info.netscape.com could not be found.

2.:
file://C:/Local/Software/webboard..../list.html
Error message: BAD FILENAME: file:\\C

3.:

C:/Local/Software/webboard..../collapse.html
Error message: info.netscape.com could not be found.



Thanks,

-peter.

 


Topic: Re: Needs enhancement of {Open URL at cursor} command (2 of 11), Read 41 times
Conf: VEDIT Suggestions
From: Ted Green
Date: Thursday, April 22, 2004 07:10 PM

At 06:55 PM 4/22/2004, you wrote:
>I would like to have an enhancement to the {Open URL at cursor} menu command. Specifically, I would like to be able to open an .html file on my computer, after typing in its path into a file which is open in Vedit.
>...
>3.:
>
>C:/Local/Software/webboard..../collapse.html
>Error message: info.netscape.com could not be found.

This works for me using IE. Therefore, it is either a problem with the way the OPENCURS.VDM works with Netscape, or with the way Netscape is installed on your computer.

Since we don't use Netscape, I am unable to test this.

Ted.


Ted.
-------------------------------------------------------------------------
Ted Green (ted@...) Greenview Data, Inc.
Web: www.... PO Box 1586, Ann Arbor, MI 48106
Tel: (734) 996-1300 Fax: (734) 996-1308 VEDIT - Text/Data/Binary Editor
-------------------------------------------------------------------------
Spam problems? www.SpamStopsHere.com blocks 99% of spam for businesses.

 


Topic: Needs enhancement of {Open URL at cursor} command (3 of 11), Read 40 times
Conf: VEDIT Suggestions
From: Christian Ziemski
Date: Friday, April 23, 2004 02:17 AM

Peter:

At monday I modified the underlying macro opencurs.vdm to handle several special cases with URLs.
See thread http://webboard..../read?17582,32

Please try it with that new macro, perhaps it helps you too.

http://ziemski.privat.t-online.de/vedit/macros/opencurs.vdm

Christian

 


Topic: Needs enhancement of {Open URL at cursor} command (5 of 11), Read 33 times
Conf: VEDIT Suggestions
From: Peter Rejto
Date: Saturday, April 24, 2004 11:13 AM

On 4/23/2004 2:17:22 AM, Christian Ziemski wrote:
>Peter:
>
>Last monday I modified the
>underlying macro opencurs.vdm
>to handle several special
>cases with URLs.
>See thread
>http://webboard..../read
>?17582,32
>
>Please try it with that new
>macro, perhaps it helps you
>too.


Thanks Christian:

I did download you enhanced macro. I believe that it did help me quite a bit.

Now let me give you a progress report:

{Help, Vedit Website}; OK.
{File, Open More, Preview URL in browser}; OK.


Now the problem:

I opened the downloaded collapse,29.html file in Vedit and did put the cursor on

expand_45.html.

Then I invoked the {File, Open More, Open URL at cursor} menu command. I got back the error message;

www.expand_45.html

not found. In other words, it prepended the www. string to the URL-address.


I understand, this was a relative address. I also experimented with a global address, href=... . I got the same response as before. That is to say, the program prepended the same www. string.

Do you have any feeling where this www. string may come from?

Thanks again and looking forward to hearing from you.

-peter

 


Topic: Re: Needs enhancement of {Open URL at cursor} command (7 of 11), Read 30 times
Conf: VEDIT Suggestions
From: Christian Ziemski
Date: Saturday, April 24, 2004 12:53 PM

Peter:

On Sat, 24 Apr 2004 11:13:00 -0400, you wrote:

>I did download you enhanced macro. I believe that it did help me quite a bit.
>
>Now the problem:
>
>I opened the downloaded collapse,29.html file in Vedit and did put the cursor
>on
>
>expand_45.html.
>
>Then I invoked the {File, Open More, Open URL at cursor} menu command. I got
>back the error message;
>
>www.expand_45.html
>
>not found. In other words, it prepended the www. string to the URL-address.

{File, Open More, Open URL at cursor} tries to open a file *or* URL.

It first checks if there is a file with that path/name existing.
If yes it opens the file "expand_45.html" in the browser.

If the file with that name isn't found, the "URL" is used as an URL
and passed as is to the browser.

The file "expand_45.html" isn't existing on your disk, I assume?


I think that Netscape is setting the "www." in front of that "URL".

What happens if you type an URL like "..." into Netscape
manually? I bet it's expanded to "www....".


BTW: There seems to be another (internal) problem with OPENCURS.VDM.
I'll try to find and fix it this evening.


Christian

 


Topic: Re: Needs enhancement of {Open URL at cursor} command (8 of 11), Read 34 times
Conf: VEDIT Suggestions
From: Christian Ziemski
Date: Saturday, April 24, 2004 03:50 PM

On Sat, 24 Apr 2004 00:53:00 -0400, I wrote:

>BTW: There seems to be another (internal) problem with OPENCURS.VDM.
>I'll try to find and fix it this evening.

It's fixed now and the new version is uploaded:
http://ziemski.privat.t-online.de/vedit/macros/opencurs.vdm

Christian

 


Topic: Re: Needs enhancement of {Open URL at cursor} command (10 of 11), Read 35 times
Conf: VEDIT Suggestions
From: Peter Rejto
Date: Sunday, April 25, 2004 01:21 PM

On 4/24/2004 3:50:11 PM, Christian Ziemski wrote:
>On Sat, 24 Apr 2004 00:53:00 -0400, I
>wrote:
>
>>BTW: There seems to be another (internal) problem with OPENCURS.VDM.
>>I'll try to find and fix it this evening.
>
>It's fixed now and the new version is
>uploaded:
>http://ziemski.privat.t-online.de/vedit/
>macros/opencurs.vdm

Christian:

Your new macro works just like a charm!



Thanks again,

-peter.

 


Topic: Re: Needs enhancement of {Open URL at cursor} command (11 of 11), Read 26 times
Conf: VEDIT Suggestions
From: Ted Green
Date: Monday, April 26, 2004 11:43 AM

At 01:22 PM 4/25/2004, you wrote:
>From: "Peter Rejto"
>
>Your new macro works just like a charm!

And it will be included in future versions of VEDIT. I am very close to having a new version of 6.12 ready.

Ted.

 


Topic: Needs enhancement of {Open URL at cursor} command (4 of 11), Read 41 times
Conf: VEDIT Suggestions
From: Ian Binnie
Date: Friday, April 23, 2004 02:26 AM

On 4/22/2004 6:54:45 PM, Peter Rejto wrote:
>Hello,
>
>I have tried the following:
>
>
>Experiments with the
>{File, Open(More..), Open URL
>at cursor}
>menu command.
>
>1.:
>href="file://C:/Local/Software
>/webboard..../list.html"
>
>Error message:
>info.netscape.com could not be
>found.
>
>2.:
>file://C:/Local/Software/webbo
>ard..../list.html
>Error message: BAD FILENAME:
>file:\\C
>
>3.:
>
>C:/Local/Software/webboard.ved
>it.com/collapse.html
>Error message:
>info.netscape.com could not be
>found.
>
>
>
>Thanks,
>
>-peter.

Have you tried just:-
C:/Local/Software/webboard..../list.html

This works for me, although the other options do not (in IE6.0)

 


Topic: Needs enhancement of {Open URL at cursor} command (6 of 11), Read 36 times
Conf: VEDIT Suggestions
From: Peter Rejto
Date: Saturday, April 24, 2004 11:21 AM

On 4/23/2004 2:26:25 AM, Ian Binnie wrote:
>On 4/22/2004 6:54:45 PM, Peter Rejto
>wrote:

>>3.:
>>
>>C:/Local/Software/webboard.ved
>>it.com/collapse.html
>>Error message:
>>info.netscape.com could not be
>>found.

>>
>>-peter.
>
>Have you tried just:-
>C:/Local/Software/webboard..../lis
>t.html
>
>This works for me, although the other
>options do not (in IE6.0)

Thanks Ian:

It seems to me that my item 3. with list in place of
collapse gives your question. So, it does not work for me either.

Incidentally, what version of the macro do you use to implement this menu command?

-peter.

 


Topic: Needs enhancement of {Open URL at cursor} command (9 of 11), Read 32 times
Conf: VEDIT Suggestions
From: Ian Binnie
Date: Saturday, April 24, 2004 08:57 PM

On 4/24/2004 11:21:15 AM, Peter Rejto wrote:
>
>Thanks Ian:
>
>It seems to me that my item 3. with list
>in place of
>collapse gives your question. So, it
>does not work for me either.
>
>Incidentally, what version of the macro
>do you use to implement this menu
>command?
>
>-peter.

I am using 10-Feb-2004 (included with VEDIT 6.12 beta).

I know Christian has later versions, but do not actually use this much.

PS I don not normally use IE, but have it set as default browser. It is necessary to access certain Microsoft sites, and is so dumb, that if you don't have it as default it uses the other browser when you use its Favourites.

If I wanted to use opencurs I would customise it to allow me to select browser.