Topic: Preview file in browser (1 of 7), Read 62 times
Conf: VEDIT Suggestions
From: Fritz Heberlein
Date: Thursday, March 27, 2003 04:55 PM

I have two questions on the new "preview current file in browser" function:

1. Clicking it always invokes a new instance of the browser. Is there any method to prevent this?

2. The context menu (right click) contains "open file at cursor" and "open URL at cursor".
Would it be possible to add "preview current file in browser" ?


Fritz

 


Topic: Re: Preview file in browser (2 of 7), Read 58 times
Conf: VEDIT Suggestions
From: Ted Green
Date: Thursday, March 27, 2003 05:02 PM

At 04:55 PM 3/27/2003, you wrote:
>I have two questions on the new "preview current file in browser" function:
>1. Clicking it always invokes a new instance of the browser. Is there any method to prevent this?

I will let Christian answer this; it is mostly his macro.

>2. The context menu (right click) contains "open file at cursor" and "open URL at cursor". Would it be possible to add "preview current file in browser" ?

I would rather not since the content menu is already quite large. Also,
since this does not depend on "context", e.g. where the cursor is, it
is not really a context function.

I would suggest creating a hot-key to it.
Also, Pauli Lindgren created some new icons for the toolbar; one
of them is for "Preview current file in browser". I will soon add
them to VEDIT, probably in the next minor 6.10.3.

Ted.

 


Topic: Re: Preview file in browser (6 of 7), Read 57 times
Conf: VEDIT Suggestions
From: Pauli Lindgren
Date: Friday, April 11, 2003 12:15 PM

On 3/27/2003 5:02:46 PM, Ted Green wrote:
>
>>2. The context menu (right click) contains "open file at cursor" and "open URL at cursor". Would it be possible to add "preview current file in browser" ?
>
>I would rather not since the content menu is already quite
>large. Also, since this does not depend on "context",
>e.g. where the cursor is, it is not really a context
>function.

I agree. In fact, most of the items in the context menu are quite redundant, since there are many other ways to do the same functions.

The "Open file at cursor" is practically the only thing I use in the context menu, since there is no other way to do that (except from File/More menu). The function is very useful, it is needed both in programming and in html editing. It would be nice if this function would be moved to the beginning of the context menu.

>
>I would suggest creating a hot-key to it.
>Also, Pauli Lindgren created some new icons for the
>toolbar; one of them is for "Preview
>current file in browser". I will soon add
>them to VEDIT, probably in the next minor 6.10.3.

I think this button has been there since 6.10.1!
However, it isn't there in the toolbar as default, so you will have to customize the toolbar.

Of course, you do not need to click this button every time you have done changes in the html file. Just hit Alt-Tab to switch to the browser, then hit F5 to refresh.

-- Pauli

 


Topic: Re: Preview file in browser (7 of 7), Read 58 times
Conf: VEDIT Suggestions
From: Ted Green
Date: Monday, May 12, 2003 05:49 PM

At 12:16 PM 4/11/2003, you wrote:
>The "Open file at cursor" is practically the only thing I use in the context menu, since there is no other way to do that (except from File/More menu). The function is very useful, it is needed both in programming and in html editing. It would be nice if this function would be moved to the beginning of the context menu.

Pauli:

Since people get used to the position of items in a menu, I would rather not re-arrange the context menu too often. Also, everyone's preferences are different; I personally have never used "Open in browser".

>Of course, you do not need to click this button every time you have done changes in the html file. Just hit Alt-Tab to switch to the browser, then hit F5 to refresh.

Excellent explanation.

Ted.

 


Topic: Re: Preview file in browser (3 of 7), Read 54 times
Conf: VEDIT Suggestions
From: Deleted User
Date: Friday, March 28, 2003 04:28 AM

Fritz:

On Thu, 27 Mar 2003 16:57:42 -0500, you wrote:

>I have two questions on the new "preview current file in browser"
function:
>
>1. Clicking it always invokes a new instance of the browser.
>Is there any method to prevent this?

That doesn't happen here (Opera under Win2000).

The macro simply calls the standard browser configured in the registry
or uses the DOS "start" command, which itself uses the standard file
association for the file to be opened.

You can try it in a DOS box: (e.g.)
"c:\programme\...\netscape.exe testpage.html"
or
"start testpage.html"

Which browser do you use? Which version of Windows?
Does it work correctly out of the DOS box?
What happens if you double-click a html-file in Explorer and then,
after that file has been opened in your browser, double-click another
one?


Christian

 


Topic: Re: Preview file in browser (4 of 7), Read 57 times
Conf: VEDIT Suggestions
From: Fritz Heberlein
Date: Friday, March 28, 2003 06:44 AM

Christian:

> Which browser do you use? Which version of Windows?
> Does it work correctly out of the DOS box?
> What happens if you double-click a html-file in Explorer and then,
> after that file has been opened in your browser, double-click another
> one?

I use here at home Opera (6.01) under Win98.
Both the Dos-Box and the Explorer approach open different instances
of Opera. I understand now that i have rather a configuration problem
than a problem with the macro ...

I will try in the afternoon in the faculty what happens with different
configurations (Win2000 + IE, Winnt + Netscape, Winnt + Opera etc.)

Thanks for your quick response!

Fritz

 


Topic: Re: Preview file in browser (5 of 7), Read 59 times
Conf: VEDIT Suggestions
From: Christian Ziemski
Date: Friday, March 28, 2003 11:32 AM

Fritz:

On Fri, 28 Mar 2003 06:45:48 -0500, you wrote:

>I use here at home Opera (6.01) under Win98.
>...
>I will try in the afternoon in the faculty what happens with different
>configurations (Win2000 + IE, Winnt + Netscape, Winnt + Opera etc.)

I remember vaguely about such problems with Opera generally.
So I checked my file association for .htm files.

It's "D:\Programme\Opera\Opera.exe" %1 /e
And DDE is NOT checked.

Perhaps that helps.


Christian